summaryrefslogtreecommitdiffstats
path: root/web/template
diff options
context:
space:
mode:
authorLoui Chang <louipc.ist@gmail.com>2008-11-10 01:35:17 +0100
committerLoui Chang <louipc.ist@gmail.com>2008-11-10 15:21:13 +0100
commit21840941eb301da7da338f3ce17ebd9e8d74f06e (patch)
treefbc660e6cd0e4726e5259f3dffbdb9e2f7fd089d /web/template
parent06ce5af292b639bb2e54b433d912d5ac134a1dd1 (diff)
downloadaur-21840941eb301da7da338f3ce17ebd9e8d74f06e.tar.gz
aur-21840941eb301da7da338f3ce17ebd9e8d74f06e.tar.xz
Tweak TU interface for appearance.
Show ten votes per page instead of five. Change the vote preview to 75 characters so entries fit better in the table. Remove [More] links and make the description itself a link. Clean up a couple notices. Send unauthorised users to index.php. Signed-off-by: Loui Chang <louipc.ist@gmail.com>
Diffstat (limited to 'web/template')
-rw-r--r--web/template/tu_list.php6
1 files changed, 3 insertions, 3 deletions
diff --git a/web/template/tu_list.php b/web/template/tu_list.php
index bec29850..83c9a488 100644
--- a/web/template/tu_list.php
+++ b/web/template/tu_list.php
@@ -26,12 +26,12 @@
<td class='<?php print $c ?>'><span class='f4'><span class='blue'>
<?php
if (strlen($row["Agenda"]) >= $prev_Len) {
- $row["Agenda"] = htmlentities(substr($row["Agenda"], 0, $prev_Len)) . "... - ";
+ $row["Agenda"] = htmlentities(substr($row["Agenda"], 0, $prev_Len)) . "...";
} else {
- $row["Agenda"] = htmlentities($row["Agenda"]) . " - ";
+ $row["Agenda"] = htmlentities($row["Agenda"]);
}
?>
- <?php print $row["Agenda"] ?><a href='/tu.php?id=<?php print $row['ID'] ?>'>[<?php print __("More") ?>]</a></span></span>
+ <a href='tu.php?id=<?php print $row['ID'] ?>'><?php print $row["Agenda"] ?></a></span></span>
</td>
<td class='<?php print $c ?>'><span class='f5'><span class='blue'><?php print gmdate("j M y", $row["Submitted"]) ?></span></span></td>
<td class='<?php print $c ?>'><span class='f5'><span class='blue'><?php print gmdate("j M y", $row["End"]) ?></span></span></td>