diff options
author | Loui Chang <louipc.ist@gmail.com> | 2008-11-10 01:35:17 +0100 |
---|---|---|
committer | Loui Chang <louipc.ist@gmail.com> | 2008-11-10 15:21:13 +0100 |
commit | 21840941eb301da7da338f3ce17ebd9e8d74f06e (patch) | |
tree | fbc660e6cd0e4726e5259f3dffbdb9e2f7fd089d /web/template | |
parent | 06ce5af292b639bb2e54b433d912d5ac134a1dd1 (diff) | |
download | aur-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.php | 6 |
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> |