Forgot to ftp again ...

git-svn-id: file:///svn/phpbb/trunk@1085 89ea8834-ac86-4346-8a33-228a782c2dd0
This commit is contained in:
Paul S. Owen 2001-09-25 18:42:36 +00:00
parent d4f9010741
commit 191b513315
2 changed files with 7 additions and 7 deletions

View file

@ -73,9 +73,9 @@ $html_yes = ($new['allow_html']) ? "checked=\"checked\"" : "";
$html_no = (!$new['allow_html']) ? "checked=\"checked\"" : ""; $html_no = (!$new['allow_html']) ? "checked=\"checked\"" : "";
$bbcode_yes = ($new['allow_bbcode']) ? "checked=\"checked\"" : ""; $bbcode_yes = ($new['allow_bbcode']) ? "checked=\"checked\"" : "";
$bbcode_no = (!$new['allow_bbcode']) ? "checked=\"checked\"" : ""; $bbcode_no = (!$new['allow_bbcode']) ? "checked=\"checked\"" : "";
$activation_none = ($new['require_activation'] == ACTIVATION_NONE) ? "checked=\"checked\"" : ""; $activation_none = ($new['require_activation'] == USER_ACTIVATION_NONE) ? "checked=\"checked\"" : "";
$activation_user = ($new['require_activation'] == ACTIVATION_USER) ? "checked=\"checked\"" : ""; $activation_user = ($new['require_activation'] == USER_ACTIVATION_SELF) ? "checked=\"checked\"" : "";
$activation_admin = ($new['require_activation'] == ACTIVATION_ADMIN) ? "checked=\"checked\"" : ""; $activation_admin = ($new['require_activation'] == USER_ACTIVATION_ADMIN) ? "checked=\"checked\"" : "";
$gzip_yes = ($new['gzip_compress']) ? "checked=\"checked\"" : ""; $gzip_yes = ($new['gzip_compress']) ? "checked=\"checked\"" : "";
$gzip_no = (!$new['gzip_compress']) ? "checked=\"checked\"" : ""; $gzip_no = (!$new['gzip_compress']) ? "checked=\"checked\"" : "";
$prune_yes = ($new['prune_enable']) ? "checked=\"checked\"" : ""; $prune_yes = ($new['prune_enable']) ? "checked=\"checked\"" : "";
@ -102,11 +102,11 @@ $template->set_filenames(array(
$template->assign_vars(array( $template->assign_vars(array(
"S_CONFIG_ACTION" => append_sid("admin_board.$phpEx"), "S_CONFIG_ACTION" => append_sid("admin_board.$phpEx"),
"SITENAME" => $new['sitename'], "SITENAME" => $new['sitename'],
"ACTIVATION_NONE" => ACTIVATION_NONE, "ACTIVATION_NONE" => USER_ACTIVATION_NONE,
"ACTIVATION_NONE_CHECKED" => $activation_none, "ACTIVATION_NONE_CHECKED" => $activation_none,
"ACTIVATION_USER" => ACTIVATION_USER, "ACTIVATION_USER" => USER_ACTIVATION_SELF,
"ACTIVATION_USER_CHECKED" => $activation_user, "ACTIVATION_USER_CHECKED" => $activation_user,
"ACTIVATION_ADMIN" => ACTIVATION_ADMIN, "ACTIVATION_ADMIN" => USER_ACTIVATION_ADMIN,
"ACTIVATION_ADMIN_CHECKED" => $activation_admin, "ACTIVATION_ADMIN_CHECKED" => $activation_admin,
"FLOOD_INTERVAL" => $new['flood_interval'], "FLOOD_INTERVAL" => $new['flood_interval'],
"TOPICS_PER_PAGE" => $new['topics_per_page'], "TOPICS_PER_PAGE" => $new['topics_per_page'],

View file

@ -38,7 +38,7 @@ define(ADMIN, 1);
// User Activation // User Activation
define(USER_ACTIVATION_NONE, 0); define(USER_ACTIVATION_NONE, 0);
define(USER_ACTIVATION_USER, 1); define(USER_ACTIVATION_SELF, 1);
define(USER_ACTIVATION_ADMIN, 2); define(USER_ACTIVATION_ADMIN, 2);