Skip to content

Commit

Permalink
#157 Reports page makes additional backslashes
Browse files Browse the repository at this point in the history
Fixes the style and removes the unneeded fieldset and dead h3-element
  • Loading branch information
Yannick committed Aug 31, 2013
1 parent efb7e02 commit 0edaa6e
Show file tree
Hide file tree
Showing 2 changed files with 21 additions and 15 deletions.
9 changes: 9 additions & 0 deletions backstage/css/style.css
Original file line number Diff line number Diff line change
Expand Up @@ -440,4 +440,13 @@ button.btn::-moz-focus-inner:, input[type="submit"].btn: {
width: auto;
min-width: 200px;
display: inline;
}

/* Breadcrumb */
.breadcrumb {
margin-bottom: 5px;
border-radius: 0;
background-color: #252525;
color: #c9c9c9;
padding: 7px 15px;
}
27 changes: 12 additions & 15 deletions backstage/reports.php
Original file line number Diff line number Diff line change
Expand Up @@ -152,17 +152,15 @@
$report_location = array($forum, $topic, $post_id);

?>
<fieldset>
<h3><?php printf($lang_back['Zapped subhead'], format_time($cur_report['zapped']), $zapped_by) ?></h3>
<tr>
<td><?php printf($reporter) ?></td>
<td><?php printf($zapped_by) ?></td>
<td><?php printf(format_time($cur_report['zapped'])) ?></td>
<td>
<div class="breadcrumb"><?php echo implode(' ', $report_location) ?></div>
<?php echo $post ?>
</td>
</tr>
<tr>
<td><?php printf($reporter) ?></td>
<td><?php printf($zapped_by) ?></td>
<td><?php printf(format_time($cur_report['zapped'])) ?></td>
<td>
<div class="breadcrumb"><?php echo implode(' ', $report_location) ?></div>
<?php echo $post ?>
</td>
</tr>
<?php

}
Expand All @@ -171,13 +169,12 @@
{

?>
<tr>
<td colspan="4"><?php echo $lang_back['No zapped reports'] ?></td>
</tr>
<tr>
<td colspan="4"><?php echo $lang_back['No zapped reports'] ?></td>
</tr>
<?php

} ?>
</fieldset>
</tbody>
</table>
</div>
Expand Down

0 comments on commit 0edaa6e

Please sign in to comment.