diff options
author | Meik Sievertsen <acydburn@phpbb.com> | 2006-06-13 15:06:32 +0000 |
---|---|---|
committer | Meik Sievertsen <acydburn@phpbb.com> | 2006-06-13 15:06:32 +0000 |
commit | e1437d7a21e294b7531cbd6acd5b77814c82ec8b (patch) | |
tree | aa9f835fb87678577103091c2bb708f071867e73 /phpBB/includes/mcp | |
parent | 298d3c0c50f14601472b832f3ecd8fcd8c07dfe4 (diff) | |
download | forums-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/mcp')
-rw-r--r-- | phpBB/includes/mcp/mcp_queue.php | 2 | ||||
-rwxr-xr-x | phpBB/includes/mcp/mcp_reports.php | 2 | ||||
-rw-r--r-- | phpBB/includes/mcp/mcp_topic.php | 2 |
3 files changed, 3 insertions, 3 deletions
diff --git a/phpBB/includes/mcp/mcp_queue.php b/phpBB/includes/mcp/mcp_queue.php index b817ee962d..e31b9e187e 100644 --- a/phpBB/includes/mcp/mcp_queue.php +++ b/phpBB/includes/mcp/mcp_queue.php @@ -324,7 +324,7 @@ class mcp_queue $poster = $row['username']; } - $s_checkbox = '<input type="checkbox" name="post_id_list[]" value="' . $row['post_id'] . '" />'; + $s_checkbox = '<input type="checkbox" class="radio" name="post_id_list[]" value="' . $row['post_id'] . '" />'; $global_topic = ($row['forum_id']) ? false : true; if ($global_topic) diff --git a/phpBB/includes/mcp/mcp_reports.php b/phpBB/includes/mcp/mcp_reports.php index f62bb88d28..ef19dc2e1a 100755 --- a/phpBB/includes/mcp/mcp_reports.php +++ b/phpBB/includes/mcp/mcp_reports.php @@ -295,7 +295,7 @@ class mcp_reports $poster = $row['username']; } - $s_checkbox = '<input type="checkbox" name="post_id_list[]" value="' . $row['post_id'] . '" />'; + $s_checkbox = '<input type="checkbox" class="radio" name="post_id_list[]" value="' . $row['post_id'] . '" />'; $template->assign_block_vars('postrow', array( 'U_VIEWFORUM' => append_sid("{$phpbb_root_path}viewforum.$phpEx", 'f=' . $row['forum_id']), diff --git a/phpBB/includes/mcp/mcp_topic.php b/phpBB/includes/mcp/mcp_topic.php index 7f290a5f03..1c0c1d9a68 100644 --- a/phpBB/includes/mcp/mcp_topic.php +++ b/phpBB/includes/mcp/mcp_topic.php @@ -119,7 +119,7 @@ function mcp_topic_view($id, $mode, $action) $message = str_replace("\n", '<br />', $message); $checked = ($post_id_list && in_array(intval($row['post_id']), $post_id_list)) ? 'checked="checked" ' : ''; - $s_checkbox = '<input type="checkbox" name="post_id_list[]" value="' . $row['post_id'] . '" ' . $checked . '/>'; + $s_checkbox = '<input type="checkbox" class="radio" name="post_id_list[]" value="' . $row['post_id'] . '" ' . $checked . '/>'; if (!$row['post_approved']) { |