当前位置: 首页>>代码示例>>PHP>>正文


PHP build_clickable_smilies函数代码示例

本文整理汇总了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"';
开发者ID:mainhan1804,项目名称:xomvanphong,代码行数:31,代码来源:private.php

示例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();
    }
}
开发者ID:Klozz,项目名称:Yui-Editor,代码行数:9,代码来源:yuieditor.php


注:本文中的build_clickable_smilies函数示例由纯净天空整理自Github/MSDocs等开源代码及文档管理平台,相关代码片段筛选自各路编程大神贡献的开源项目,源码版权归原作者所有,传播和使用请参考对应项目的License;未经允许,请勿转载。