Zeile 355-362:
Code: Alles auswählen
if ( !$board_config['allow_html'] || !$userdata['user_level'] == ('1' || '2') )
{
$html_on = 0;
}
else
{
$html_on = ( $submit || $refresh ) ? ( ( !empty($HTTP_POST_VARS['disable_html']) ) ? 0 : TRUE ) : ( ( $userdata['user_id'] == ANONYMOUS ) ? $board_config['allow_html'] : $userdata['user_allowhtml'] );
}Code: Alles auswählen
if ( $board_config['allow_html'] || $userdata['user_level'] == ('1' || '2') )
{
$html_status = $lang['HTML_is_ON'];
$template->assign_block_vars('switch_html_checkbox', array());
}
else
{
$html_status = $lang['HTML_is_OFF'];
}