|
From: James A. <th...@us...> - 2002-03-18 18:05:56
|
Update of /cvsroot/phpbb/phpBB2
In directory usw-pr-cvs1:/tmp/cvs-serv32647
Modified Files:
modcp.php
Log Message:
Fixed bug #506390
THis isn't the best fix but its the only way I could get around adding language file string
Index: modcp.php
===================================================================
RCS file: /cvsroot/phpbb/phpBB2/modcp.php,v
retrieving revision 1.63
retrieving revision 1.64
diff -C2 -r1.63 -r1.64
*** modcp.php 18 Mar 2002 13:35:42 -0000 1.63
--- modcp.php 18 Mar 2002 18:05:53 -0000 1.64
***************
*** 813,816 ****
--- 813,825 ----
$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 = ' ';
+ }
+
$template->assign_block_vars("postrow", array(
"ROW_COLOR" => "#" . $row_color,
***************
*** 820,823 ****
--- 829,833 ----
"POST_SUBJECT" => $post_subject,
"MESSAGE" => $message,
+ "SPLIT_CHECKBOX" => $checkbox,
"POST_ID" => $post_id)
);
|