table style for admin reports; reversed status order

This commit is contained in:
following
2012-08-13 02:20:28 +02:00
parent e8c5f72a59
commit 9dcc8303d8
2 changed files with 2 additions and 2 deletions
+1 -1
View File
@@ -122,7 +122,7 @@
INNER JOIN `user` AS `u2` ON `u2`.`user_id`=`c`.`user_id`
WHERE `cr`.`status` < 3
AND (`cr`.`adminid` IS NULL OR `cr`.`adminid`=&1)
ORDER BY `cr`.`status` DESC, `cr`.`lastmodified` ASC",
ORDER BY `cr`.`status` ASC, `cr`.`lastmodified` ASC",
$login->userid);
$tpl->assign_rs('reportedcaches', $rs);
+1 -1
View File
@@ -27,7 +27,7 @@
{if $list == true}
<table>
<table class="table">
<tr><th>{t}ID{/t}</th><th>{t}Name{/t}</th><th>{t}Owner{/t}</th><th>{t}Reporter{/t}</th><th>{t}Date{/t}</th></tr>
{foreach from=$reportedcaches item=rc}
<td><a href="adminreports.php?id={$rc.id}">{$rc.id}</td><td><a href="adminreports.php?id={$rc.id}">{$rc.new|escape}{$rc.name|escape}</a></td><td>{$rc.ownernick|escape}</td><td>{$rc.username|escape}</td><td>{$rc.lastmodified|date_format:$opt.format.datelong}</td></tr>