table style for admin reports; reversed status order
This commit is contained in:
@@ -122,7 +122,7 @@
|
|||||||
INNER JOIN `user` AS `u2` ON `u2`.`user_id`=`c`.`user_id`
|
INNER JOIN `user` AS `u2` ON `u2`.`user_id`=`c`.`user_id`
|
||||||
WHERE `cr`.`status` < 3
|
WHERE `cr`.`status` < 3
|
||||||
AND (`cr`.`adminid` IS NULL OR `cr`.`adminid`=&1)
|
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);
|
$login->userid);
|
||||||
|
|
||||||
$tpl->assign_rs('reportedcaches', $rs);
|
$tpl->assign_rs('reportedcaches', $rs);
|
||||||
|
|||||||
@@ -27,7 +27,7 @@
|
|||||||
|
|
||||||
{if $list == true}
|
{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>
|
<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}
|
{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>
|
<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>
|
||||||
|
|||||||
Reference in New Issue
Block a user