mirror of
https://github.com/phpbb/phpbb.git
synced 2025-05-06 07:35:29 +02:00
Visual confirm switch
git-svn-id: file:///svn/phpbb/branches/phpBB-2_0_0@3332 89ea8834-ac86-4346-8a33-228a782c2dd0
This commit is contained in:
parent
85b0675d3f
commit
a4e96d7c61
@ -97,6 +97,9 @@ $activation_none = ( $new['require_activation'] == USER_ACTIVATION_NONE ) ? "che
|
||||
$activation_user = ( $new['require_activation'] == USER_ACTIVATION_SELF ) ? "checked=\"checked\"" : "";
|
||||
$activation_admin = ( $new['require_activation'] == USER_ACTIVATION_ADMIN ) ? "checked=\"checked\"" : "";
|
||||
|
||||
$confirm_yes = ($new['enable_confirm']) ? 'checked="checked"' : '';
|
||||
$confirm_no = (!$new['enable_confirm']) ? 'checked="checked"' : '';
|
||||
|
||||
$board_email_form_yes = ( $new['board_email_form'] ) ? "checked=\"checked\"" : "";
|
||||
$board_email_form_no = ( !$new['board_email_form'] ) ? "checked=\"checked\"" : "";
|
||||
|
||||
@ -160,6 +163,8 @@ $template->assign_vars(array(
|
||||
"L_NONE" => $lang['Acc_None'],
|
||||
"L_USER" => $lang['Acc_User'],
|
||||
"L_ADMIN" => $lang['Acc_Admin'],
|
||||
"L_VISUAL_CONFIRM" => $lang['Visual_confirm'],
|
||||
"L_VISUAL_CONFIRM_EXPLAIN" => $lang['Visual_confirm_explain'],
|
||||
"L_COOKIE_SETTINGS" => $lang['Cookie_settings'],
|
||||
"L_COOKIE_SETTINGS_EXPLAIN" => $lang['Cookie_settings_explain'],
|
||||
"L_COOKIE_DOMAIN" => $lang['Cookie_domain'],
|
||||
@ -247,6 +252,9 @@ $template->assign_vars(array(
|
||||
"ACTIVATION_USER_CHECKED" => $activation_user,
|
||||
"ACTIVATION_ADMIN" => USER_ACTIVATION_ADMIN,
|
||||
"ACTIVATION_ADMIN_CHECKED" => $activation_admin,
|
||||
"CONFIRM_ENABLE" => $confirm_yes,
|
||||
"CONFIRM_DISABLE" => $confirm_no,
|
||||
"ACTIVATION_NONE_CHECKED" => $activation_none,
|
||||
"BOARD_EMAIL_FORM_ENABLE" => $board_email_form_yes,
|
||||
"BOARD_EMAIL_FORM_DISABLE" => $board_email_form_no,
|
||||
"MAX_POLL_OPTIONS" => $new['max_poll_options'],
|
||||
|
Loading…
x
Reference in New Issue
Block a user