more layout bits

This commit is contained in:
Shish 2012-03-30 17:20:15 +01:00
parent 7bf273a1ee
commit 447d42d454

View File

@ -26,24 +26,19 @@ class ImageBanTheme extends Themelet {
foreach($bans as $ban) { foreach($bans as $ban) {
$h_bans .= " $h_bans .= "
<tr> <tr>
".make_form(make_link("image_hash_ban/remove"))."
<td width='30%'>{$ban['hash']}</td> <td width='30%'>{$ban['hash']}</td>
<td>{$ban['reason']}</td> <td>{$ban['reason']}</td>
<td width='10%'> <td width='10%'>
".make_form(make_link("image_hash_ban/remove"))."
<input type='hidden' name='hash' value='{$ban['hash']}'> <input type='hidden' name='hash' value='{$ban['hash']}'>
<input type='submit' value='Remove'> <input type='submit' value='Remove'>
</form>
</td> </td>
</form>
</tr> </tr>
"; ";
} }
$html = " $html = "
<script type='text/javascript'> <table id='image_bans' class='zebra sortable'>
$(document).ready(function() {
$(\"#image_bans\").tablesorter();
});
</script>
<table id='image_bans' class='zebra'>
<thead> <thead>
<th>Hash</th><th>Reason</th><th>Action</th> <th>Hash</th><th>Reason</th><th>Action</th>
<tr> <tr>