1 頁 (共 1 頁)

[問題] 安装很多BBCODE后如何修改显示位置

發表於 : 2005-09-03 18:14
刀客
phpbb2。0。17 已经装了Multiple BBCode MOD 另外我又装了shadow flash stream 的BBCODE。现在是排成一行,很不美观,怎么样能把我后加的这几个放到第二行显示? 谢谢!
// MULTI BBCODE-begin
function Multi_BBCode()
{
global $template, $lang;

// DO NOT CHANGE THIS ARRAY
$hotkeys = array('', 'd', 'e', 'g', 'h', 'j', 'k', 'm', 'n', 'r', 't', 'v', 'x', 'y', 'z', '1', '2', '3', '4', '5', '6', '7', '8', '9', '0');

//NOTE: the first element of each array must be '' Add new elements AFTER the ''
$EMBB_widths = array('','50','40','50','40') ;
$EMBB_values = array('','Shadow','Flash','Stream','intro') ;
for ($i=1; $i<count($EMBB_values); $i++)
{
// load BBcode MODs info
$val = ($i*2)+16 ;
$help_lang = ( !empty($lang['bbcode_help'][(strtolower($EMBB_values[$i]))]) ) ? $lang['bbcode_help'][(strtolower($EMBB_values[$i]))] : $lang['bbcode_help'][$EMBB_values[$i]];
$template->assign_block_vars('MultiBB', array(
'KEY' => $hotkeys[$i],
'NAME' => "addbbcode$val",
'HELP' => sprintf($help_lang, $hotkeys[$i]),
'WIDTH' => $EMBB_widths[$i],
'VALUE' => $EMBB_values[$i],
'STYLE' => "bbstyle($val)")
);
}
}
// MULTI BBCODE-end

發表於 : 2005-09-03 22:31
bokie
修改posting_body.tpl

發表於 : 2005-09-04 10:00
刀客
谢谢哦

發表於 : 2005-09-04 14:44
chsa
</tr> 的位置