aboutsummaryrefslogtreecommitdiffstats
path: root/phpBB/modcp.php
diff options
context:
space:
mode:
authorJames Atkinson <thefinn@users.sourceforge.net>2002-03-18 18:05:53 +0000
committerJames Atkinson <thefinn@users.sourceforge.net>2002-03-18 18:05:53 +0000
commit73f1986816193d24042352d51b8ebe48f892d85c (patch)
treed17be31b513890afc256b5c580d919f556e38bef /phpBB/modcp.php
parent3e2eed6602045abfc9e2bd2583a3c621b8f8ab21 (diff)
downloadforums-73f1986816193d24042352d51b8ebe48f892d85c.tar
forums-73f1986816193d24042352d51b8ebe48f892d85c.tar.gz
forums-73f1986816193d24042352d51b8ebe48f892d85c.tar.bz2
forums-73f1986816193d24042352d51b8ebe48f892d85c.tar.xz
forums-73f1986816193d24042352d51b8ebe48f892d85c.zip
Fixed bug #506390
THis isn't the best fix but its the only way I could get around adding language file string git-svn-id: file:///svn/phpbb/trunk@2319 89ea8834-ac86-4346-8a33-228a782c2dd0
Diffstat (limited to 'phpBB/modcp.php')
-rw-r--r--phpBB/modcp.php10
1 files changed, 10 insertions, 0 deletions
diff --git a/phpBB/modcp.php b/phpBB/modcp.php
index 35d23ae424..c67b0cfc1f 100644
--- a/phpBB/modcp.php
+++ b/phpBB/modcp.php
@@ -812,6 +812,15 @@ switch($mode)
$row_color = ( !($i % 2) ) ? $theme['td_color1'] : $theme['td_color2'];
$row_class = ( !($i % 2) ) ? $theme['td_class1'] : $theme['td_class2'];
+ if($i > 1 || $total_posts > 1)
+ {
+ $checkbox = '<input type="checkbox" name="post_id_list[]" value="' . $post_id . '" />';
+ }
+ else
+ {
+ $checkbox = '&nbsp;';
+ }
+
$template->assign_block_vars("postrow", array(
"ROW_COLOR" => "#" . $row_color,
"ROW_CLASS" => $row_class,
@@ -819,6 +828,7 @@ switch($mode)
"POST_DATE" => $post_date,
"POST_SUBJECT" => $post_subject,
"MESSAGE" => $message,
+ "SPLIT_CHECKBOX" => $checkbox,
"POST_ID" => $post_id)
);
}