mirror of
https://github.com/phpbb/phpbb.git
synced 2025-06-11 17:01:07 +02:00
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
This commit is contained in:
@ -812,6 +812,15 @@ switch($mode)
|
|||||||
$row_color = ( !($i % 2) ) ? $theme['td_color1'] : $theme['td_color2'];
|
$row_color = ( !($i % 2) ) ? $theme['td_color1'] : $theme['td_color2'];
|
||||||
$row_class = ( !($i % 2) ) ? $theme['td_class1'] : $theme['td_class2'];
|
$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(
|
$template->assign_block_vars("postrow", array(
|
||||||
"ROW_COLOR" => "#" . $row_color,
|
"ROW_COLOR" => "#" . $row_color,
|
||||||
"ROW_CLASS" => $row_class,
|
"ROW_CLASS" => $row_class,
|
||||||
@ -819,6 +828,7 @@ switch($mode)
|
|||||||
"POST_DATE" => $post_date,
|
"POST_DATE" => $post_date,
|
||||||
"POST_SUBJECT" => $post_subject,
|
"POST_SUBJECT" => $post_subject,
|
||||||
"MESSAGE" => $message,
|
"MESSAGE" => $message,
|
||||||
|
"SPLIT_CHECKBOX" => $checkbox,
|
||||||
"POST_ID" => $post_id)
|
"POST_ID" => $post_id)
|
||||||
);
|
);
|
||||||
}
|
}
|
||||||
|
@ -58,7 +58,7 @@
|
|||||||
</tr>
|
</tr>
|
||||||
</table>
|
</table>
|
||||||
</td>
|
</td>
|
||||||
<td width="5%" align="center" class="{postrow.ROW_CLASS}"><input type="checkbox" name="post_id_list[]" value="{postrow.POST_ID}" /></td>
|
<td width="5%" align="center" class="{postrow.ROW_CLASS}">{postrow.SPLIT_CHECKBOX}</td>
|
||||||
</tr>
|
</tr>
|
||||||
<tr>
|
<tr>
|
||||||
<td colspan="3" height="1" class="row3"><img src="templates/subSilver/images/spacer.gif" width="1" height="1" alt="."></td>
|
<td colspan="3" height="1" class="row3"><img src="templates/subSilver/images/spacer.gif" width="1" height="1" alt="."></td>
|
||||||
|
Reference in New Issue
Block a user