COM allowedHTML
提供: GeeklogJpWiki
lib-common.php>COM allowedHTML
説明
string COM_allowedHTML([string $permissions = 'story.edit'], [boolean $list_only = false])
コンテンツに許可されているhtmlを返す。コンフィギュレーションの $_CONF['user_html'] を変更することによって設定変更可能 ($_CONF['admin_html'] も参照のこと).
パラメータ
- $permissions
- comma-separated list of rights which identify the current user as an "Admin"
- $list_only
- true = return only the list of HTML tags
返り値
HTML enclosed string