1
0
mirror of https://github.com/phpbb/phpbb.git synced 2025-06-07 15:05:43 +02:00
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:
James Atkinson 2002-03-18 18:05:53 +00:00
parent 3e2eed6602
commit 73f1986816
2 changed files with 11 additions and 1 deletions

View File

@ -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)
);
}

View File

@ -58,7 +58,7 @@
</tr>
</table>
</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>
<td colspan="3" height="1" class="row3"><img src="templates/subSilver/images/spacer.gif" width="1" height="1" alt="."></td>