diff options
author | Meik Sievertsen <acydburn@phpbb.com> | 2007-05-16 14:45:13 +0000 |
---|---|---|
committer | Meik Sievertsen <acydburn@phpbb.com> | 2007-05-16 14:45:13 +0000 |
commit | 38e08367d2f7dbf1127c8ac7912e9a0532d5f366 (patch) | |
tree | 7a012f465ac94e43928b7f7301d96d537d401147 /phpBB/install | |
parent | 6814ab81d70ff7f614aedecae53b36445e6faeb2 (diff) | |
download | forums-38e08367d2f7dbf1127c8ac7912e9a0532d5f366.tar forums-38e08367d2f7dbf1127c8ac7912e9a0532d5f366.tar.gz forums-38e08367d2f7dbf1127c8ac7912e9a0532d5f366.tar.bz2 forums-38e08367d2f7dbf1127c8ac7912e9a0532d5f366.tar.xz forums-38e08367d2f7dbf1127c8ac7912e9a0532d5f366.zip |
label changes, language fixes...
git-svn-id: file:///svn/phpbb/trunk@7608 89ea8834-ac86-4346-8a33-228a782c2dd0
Diffstat (limited to 'phpBB/install')
-rwxr-xr-x | phpBB/install/index.php | 4 | ||||
-rw-r--r-- | phpBB/install/install_convert.php | 2 | ||||
-rw-r--r-- | phpBB/install/install_update.php | 2 |
3 files changed, 5 insertions, 3 deletions
diff --git a/phpBB/install/index.php b/phpBB/install/index.php index fcec4be254..293522bfa6 100755 --- a/phpBB/install/index.php +++ b/phpBB/install/index.php @@ -658,8 +658,8 @@ class module $tpl_type_cond = explode('_', $tpl_type[1]); $type_no = ($tpl_type_cond[0] == 'disabled' || $tpl_type_cond[0] == 'enabled') ? false : true; - $tpl_no = '<input type="radio" name="' . $name . '" value="0"' . $key_no . ' class="radio" /> ' . (($type_no) ? $lang['NO'] : $lang['DISABLED']); - $tpl_yes = '<input type="radio" name="' . $name . '" value="1"' . $key_yes . ' class="radio" /> ' . (($type_no) ? $lang['YES'] : $lang['ENABLED']); + $tpl_no = '<label><input type="radio" name="' . $name . '" value="0"' . $key_no . ' class="radio" /> ' . (($type_no) ? $lang['NO'] : $lang['DISABLED']) . '</label>'; + $tpl_yes = '<label><input type="radio" name="' . $name . '" value="1"' . $key_yes . ' class="radio" /> ' . (($type_no) ? $lang['YES'] : $lang['ENABLED']) . '</label>'; $tpl = ($tpl_type_cond[0] == 'yes' || $tpl_type_cond[0] == 'enabled') ? $tpl_yes . ' ' . $tpl_no : $tpl_no . ' ' . $tpl_yes; break; diff --git a/phpBB/install/install_convert.php b/phpBB/install/install_convert.php index 91c96134d0..c0129e3c29 100644 --- a/phpBB/install/install_convert.php +++ b/phpBB/install/install_convert.php @@ -1554,7 +1554,9 @@ class install_convert extends module if ($final_jump == 1) { $db->sql_return_on_error(true); + update_topics_posted(); + $template->assign_block_vars('checks', array( 'TITLE' => $user->lang['UPDATE_TOPICS_POSTED'], 'RESULT' => $user->lang['DONE'], diff --git a/phpBB/install/install_update.php b/phpBB/install/install_update.php index b306ab4930..cd24444505 100644 --- a/phpBB/install/install_update.php +++ b/phpBB/install/install_update.php @@ -457,7 +457,7 @@ class install_update extends module $radio_buttons = ''; foreach ($methods as $method) { - $radio_buttons .= '<input type="radio"' . ((!$radio_buttons) ? ' id="use_method"' : '') . ' class="radio" value="' . $method . '" name="use_method" /> ' . $method . ' '; + $radio_buttons .= '<label><input type="radio"' . ((!$radio_buttons) ? ' id="use_method"' : '') . ' class="radio" value="' . $method . '" name="use_method" /> ' . $method . '</label>'; } $template->assign_vars(array( |