本文整理汇总了PHP中fetch_textarea_width函数的典型用法代码示例。如果您正苦于以下问题:PHP fetch_textarea_width函数的具体用法?PHP fetch_textarea_width怎么用?PHP fetch_textarea_width使用的例子?那么恭喜您, 这里精选的函数代码示例或许可以为您提供帮助。
在下文中一共展示了fetch_textarea_width函数的2个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于我们的系统推荐出更棒的PHP代码示例。
示例1: eval
eval(standard_error(fetch_error('there_are_no_infraction_levels')));
}
// draw nav bar
$navbits = array();
if ($postinfo['postid']) {
$parentlist = array_reverse(explode(',', $foruminfo['parentlist']));
foreach ($parentlist as $forumID) {
$forumTitle = $vbulletin->forumcache["{$forumID}"]['title'];
$navbits['forumdisplay.php?' . $vbulletin->session->vars['sessionurl'] . "f={$forumID}"] = $forumTitle;
}
$navbits['showthread.php?' . $vbulletin->session->vars['sessionurl'] . "p={$postid}"] = $threadinfo['prefix_plain_html'] . ' ' . $threadinfo['title'];
}
$navbits[''] = construct_phrase($vbphrase['user_infraction_for_x'], $userinfo['username']);
$navbits = construct_navbits($navbits);
require_once DIR . '/includes/functions_editor.php';
$textareacols = fetch_textarea_width();
if ($show['pm']) {
require_once DIR . '/includes/functions_newpost.php';
// do initial checkboxes
$checked = array();
$signaturechecked = iif($vbulletin->userinfo['signature'] != '', 'checked="checked"');
// setup for preview display
if (defined('PMPREVIEW')) {
$postpreview =& $preview;
$pm['message'] = htmlspecialchars_uni($pm['message']);
construct_checkboxes($pm);
} else {
construct_checkboxes(array('savecopy' => true, 'parseurl' => true, 'signature' => iif($vbulletin->userinfo['signature'] !== '', true)));
}
$posticons = construct_icons($pm['iconid'], $vbulletin->options['privallowicons']);
$editorid = construct_edit_toolbar($pm['message'], 0, 'privatemessage', iif($vbulletin->options['privallowsmilies'], 1, 0));
开发者ID:holandacz,项目名称:nb4,代码行数:31,代码来源:infraction.php
示例2: photoplog_index_bounce
if ($_REQUEST['do'] == 'suggest' || $_REQUEST['do'] == 'create') {
if ($_REQUEST['do'] == 'suggest' && defined('PHOTOPLOG_USER16') && $vbulletin->userinfo['userid']) {
$photoplog['suggestcat'] = 1;
$photoplog['dowhat'] = 'dosuggest';
$photoplog['dophrase'] = $vbphrase[photoplog_suggest_category];
}
if ($_REQUEST['do'] == 'create' && defined('PHOTOPLOG_USER17') && $vbulletin->userinfo['userid']) {
$photoplog['createcat'] = 1;
$photoplog['dowhat'] = 'docreate';
$photoplog['dophrase'] = $vbphrase[photoplog_create_category];
}
if (!$photoplog['suggestcat'] && !$photoplog['createcat']) {
photoplog_index_bounce();
}
require_once DIR . '/includes/functions_editor.php';
$photoplog['textareacols'] = fetch_textarea_width();
$photoplog_list_categories_row = $photoplog_list_categories;
if ($_REQUEST['do'] == 'suggest') {
$photoplog_list_categories_row[-1] = $vbphrase['photoplog_no_one'];
}
if ($_REQUEST['do'] == 'create') {
$photoplog_list_categories_row[-1] = $vbphrase['photoplog_select_one'];
foreach ($photoplog_ds_catopts as $photoplog_ds_catid => $photoplog_ds_value) {
$photoplog_cat_opts = convert_bits_to_array($photoplog_ds_value['options'], $photoplog_categoryoptions);
if (!$photoplog_cat_opts['openforsubcats']) {
$photoplog_perm_not_allowed_bits[] = $photoplog_ds_catid;
}
}
$photoplog_perm_not_allowed_bits = array_unique($photoplog_perm_not_allowed_bits);
}
if (!empty($photoplog_perm_not_allowed_bits)) {
开发者ID:holandacz,项目名称:nb4,代码行数:31,代码来源:categories.php
注:本文中的fetch_textarea_width函数示例整理自Github/MSDocs等源码及文档管理平台,相关代码片段筛选自各路编程大神贡献的开源项目,源码版权归原作者所有,传播和使用请参考对应项目的License;未经允许,请勿转载。 |
请发表评论