mirror of
https://github.com/phpbb/phpbb.git
synced 2025-07-30 21:40:43 +02:00
- 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
This commit is contained in:
@@ -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" /> ' . $method . ' ';
|
||||
$radio_buttons .= '<input type="radio"' . ((!$radio_buttons) ? ' id="use_method"' : '') . ' class="radio" value="' . $method . '" name="use_method" /> ' . $method . ' ';
|
||||
}
|
||||
|
||||
$template->assign_vars(array(
|
||||
|
@@ -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"' : '') . ' /> ' . $method . ' ';
|
||||
$format_buttons .= '<input type="radio"' . ((!$format_buttons) ? ' id="format"' : '') . ' class="radio" value="' . $method . '" name="format"' . (($method == $format) ? ' checked="checked"' : '') . ' /> ' . $method . ' ';
|
||||
}
|
||||
|
||||
$template->assign_vars(array(
|
||||
|
@@ -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 . '&u=' . $user_id));
|
||||
|
||||
|
Reference in New Issue
Block a user