aboutsummaryrefslogtreecommitdiffstats
path: root/phpBB/includes/acp
diff options
context:
space:
mode:
authorMeik Sievertsen <acydburn@phpbb.com>2006-06-13 15:06:32 +0000
committerMeik Sievertsen <acydburn@phpbb.com>2006-06-13 15:06:32 +0000
commite1437d7a21e294b7531cbd6acd5b77814c82ec8b (patch)
treeaa9f835fb87678577103091c2bb708f071867e73 /phpBB/includes/acp
parent298d3c0c50f14601472b832f3ecd8fcd8c07dfe4 (diff)
downloadforums-e1437d7a21e294b7531cbd6acd5b77814c82ec8b.tar
forums-e1437d7a21e294b7531cbd6acd5b77814c82ec8b.tar.gz
forums-e1437d7a21e294b7531cbd6acd5b77814c82ec8b.tar.bz2
forums-e1437d7a21e294b7531cbd6acd5b77814c82ec8b.tar.xz
forums-e1437d7a21e294b7531cbd6acd5b77814c82ec8b.zip
- added class="radio" to all radio- and checkboxes
- make sure the database gets closed correctly in cron.php - bugfixes git-svn-id: file:///svn/phpbb/trunk@6055 89ea8834-ac86-4346-8a33-228a782c2dd0
Diffstat (limited to 'phpBB/includes/acp')
-rw-r--r--phpBB/includes/acp/acp_language.php2
-rw-r--r--phpBB/includes/acp/acp_styles.php2
-rw-r--r--phpBB/includes/acp/acp_users.php4
3 files changed, 4 insertions, 4 deletions
diff --git a/phpBB/includes/acp/acp_language.php b/phpBB/includes/acp/acp_language.php
index e54dc41dec..63b3c0dcdd 100644
--- a/phpBB/includes/acp/acp_language.php
+++ b/phpBB/includes/acp/acp_language.php
@@ -775,7 +775,7 @@ class acp_language
$radio_buttons = '';
foreach ($methods as $method)
{
- $radio_buttons .= '<input type="radio"' . ((!$radio_buttons) ? ' id="use_method"' : '') . ' value="' . $method . '" name="use_method" />&nbsp;' . $method . '&nbsp;';
+ $radio_buttons .= '<input type="radio"' . ((!$radio_buttons) ? ' id="use_method"' : '') . ' class="radio" value="' . $method . '" name="use_method" />&nbsp;' . $method . '&nbsp;';
}
$template->assign_vars(array(
diff --git a/phpBB/includes/acp/acp_styles.php b/phpBB/includes/acp/acp_styles.php
index 08b8126c36..cd93de4deb 100644
--- a/phpBB/includes/acp/acp_styles.php
+++ b/phpBB/includes/acp/acp_styles.php
@@ -1850,7 +1850,7 @@ pagination_sep = \'{PAGINATION_SEP}\'
$format_buttons = '';
foreach ($methods as $method)
{
- $format_buttons .= '<input type="radio"' . ((!$format_buttons) ? ' id="format"' : '') . ' value="' . $method . '" name="format"' . (($method == $format) ? ' checked="checked"' : '') . ' />&nbsp;' . $method . '&nbsp;';
+ $format_buttons .= '<input type="radio"' . ((!$format_buttons) ? ' id="format"' : '') . ' class="radio" value="' . $method . '" name="format"' . (($method == $format) ? ' checked="checked"' : '') . ' />&nbsp;' . $method . '&nbsp;';
}
$template->assign_vars(array(
diff --git a/phpBB/includes/acp/acp_users.php b/phpBB/includes/acp/acp_users.php
index f2ce3ee18c..0448b7e568 100644
--- a/phpBB/includes/acp/acp_users.php
+++ b/phpBB/includes/acp/acp_users.php
@@ -223,8 +223,8 @@ class acp_users
user_ban(substr($action, 3), $ban, 0, 0, 0, $user->lang[$reason]);
- add_log('admin', $log, $user->lang['reason']);
- add_log('user', $user_id, $log, $user->lang['reason']);
+ add_log('admin', $log, $user->lang[$reason]);
+ add_log('user', $user_id, $log, $user->lang[$reason]);
trigger_error($user->lang['BAN_SUCCESSFUL'] . adm_back_link($this->u_action . '&amp;u=' . $user_id));