aboutsummaryrefslogtreecommitdiffstats
path: root/phpBB/install
diff options
context:
space:
mode:
authorMeik Sievertsen <acydburn@phpbb.com>2007-04-01 16:42:10 +0000
committerMeik Sievertsen <acydburn@phpbb.com>2007-04-01 16:42:10 +0000
commite93165a9e14526cb40ca0b67a53a736e6dd0d6a8 (patch)
treef8c62ec51f934dee93f5ba0b4d0c52a19632ee56 /phpBB/install
parent3fa29da47dc52ccc3138b9bf14013545be0e90c0 (diff)
downloadforums-e93165a9e14526cb40ca0b67a53a736e6dd0d6a8.tar
forums-e93165a9e14526cb40ca0b67a53a736e6dd0d6a8.tar.gz
forums-e93165a9e14526cb40ca0b67a53a736e6dd0d6a8.tar.bz2
forums-e93165a9e14526cb40ca0b67a53a736e6dd0d6a8.tar.xz
forums-e93165a9e14526cb40ca0b67a53a736e6dd0d6a8.zip
some beautifications as well as making sure manually deactivated accounts are properly handled
git-svn-id: file:///svn/phpbb/trunk@7258 89ea8834-ac86-4346-8a33-228a782c2dd0
Diffstat (limited to 'phpBB/install')
-rwxr-xr-xphpBB/install/index.php9
1 files changed, 7 insertions, 2 deletions
diff --git a/phpBB/install/index.php b/phpBB/install/index.php
index 26f8008f4c..db6535c9f8 100755
--- a/phpBB/install/index.php
+++ b/phpBB/install/index.php
@@ -194,6 +194,11 @@ $auth = new auth();
$cache = new cache();
$template = new template();
+// Set some standard variables we want to force
+$config = array(
+ 'load_tplcompile' => '1'
+);
+
$template->set_custom_template('../adm/style', 'admin');
$template->assign_var('T_TEMPLATE_PATH', '../adm/style');
@@ -645,8 +650,8 @@ class module
break;
case 'radio':
- $key_yes = ($value) ? ' checked="checked"' : '';
- $key_no = (!$value) ? ' checked="checked"' : '';
+ $key_yes = ($value) ? ' checked="checked" id="' . $name . '"' : '';
+ $key_no = (!$value) ? ' checked="checked" id="' . $name . '"' : '';
$tpl_type_cond = explode('_', $tpl_type[1]);
$type_no = ($tpl_type_cond[0] == 'disabled' || $tpl_type_cond[0] == 'enabled') ? false : true;