[ externes Bild ]
das wiederum bezieht sich auf diemit pfeil gekennzeichnete zeile aus dem ausschnitt aus der usercp_register.php:
Code: Alles auswählen
'L_PROFILE_INFO_NOTICE' => $lang['Profile_info_warn'],
'L_EMAIL_ADDRESS' => $lang['Email_address'],
'S_ALLOW_AVATAR_UPLOAD' => $board_config['allow_avatar_upload'],
'S_ALLOW_AVATAR_LOCAL' => $board_config['allow_avatar_local'],
'S_ALLOW_AVATAR_REMOTE' => $board_config['allow_avatar_remote'],
'S_HIDDEN_FIELDS' => $s_hidden_fields,
----> 'S_FORM_ENCTYPE' => $form_enctype,
'S_PROFILE_ACTION' => append_sid("profile.$phpEx")),
if ( $userdata['user_posts'] >= $board_config['allow_custom_rank'] && $userdata['session_logged_in'] && $mode != 'register' )
{
$template->assign_block_vars('custom_rank', array(
'CUSTOM_RANK' => $custom_rank,
'L_CUSTOM_RANK' => $lang['Custom_Rank'],
'L_CUSTOM_RANK_EXPLAIN' => $lang['Custom_Rank_Explain'])
);
}
};
//
// This is another cheat using the block_var capability
// of the templates to 'fake' an IF...ELSE...ENDIF solution
// it works well :)
//
if ( $mode != 'register' )
{