本文整理汇总了PHP中build_clickable_smilies函数的典型用法代码示例。如果您正苦于以下问题:PHP build_clickable_smilies函数的具体用法?PHP build_clickable_smilies怎么用?PHP build_clickable_smilies使用的例子?那么, 这里精选的函数代码示例或许可以为您提供帮助。
在下文中一共展示了build_clickable_smilies函数的2个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于系统推荐出更棒的PHP代码示例。
示例1: redirect
redirect("private.php", $lang->redirect_pmsaved);
} else {
redirect("private.php", $lang->redirect_pmsent);
}
}
}
if ($mybb->input['action'] == "send") {
if ($mybb->usergroup['cansendpms'] == 0) {
error_no_permission();
}
$plugins->run_hooks("private_send_start");
$smilieinserter = $codebuttons = '';
if ($mybb->settings['bbcodeinserter'] != 0 && $mybb->settings['pmsallowmycode'] != 0 && $mybb->user['showcodebuttons'] != 0) {
$codebuttons = build_mycode_inserter("message", $mybb->settings['pmsallowsmilies']);
if ($mybb->settings['pmsallowsmilies'] != 0) {
$smilieinserter = build_clickable_smilies();
}
}
$lang->post_icon = $lang->message_icon;
$posticons = get_post_icons();
$message = htmlspecialchars_uni($parser->parse_badwords($mybb->get_input('message')));
$subject = htmlspecialchars_uni($parser->parse_badwords($mybb->get_input('subject')));
$optionschecked = array('signature' => '', 'disablesmilies' => '', 'savecopy' => '', 'readreceipt' => '');
$to = $bcc = '';
if (!empty($mybb->input['preview']) || $send_errors) {
$options = $mybb->get_input('options', MyBB::INPUT_ARRAY);
if (isset($options['signature']) && $options['signature'] == 1) {
$optionschecked['signature'] = 'checked="checked"';
}
if (isset($options['disablesmilies']) && $options['disablesmilies'] == 1) {
$optionschecked['disablesmilies'] = 'checked="checked"';
示例2: yuieditor_quick
function yuieditor_quick()
{
global $smilieinserter, $yuibutquick, $mybb;
$yuibutquick = yuieditor_inserter_quick();
$smilieinserter = '';
if ($mybb->settings['yuieditor_smile'] != 0) {
$smilieinserter = build_clickable_smilies();
}
}