summaryrefslogtreecommitdiff
path: root/web/template/tu_list.php
diff options
context:
space:
mode:
authorLoui Chang <louipc.ist@gmail.com>2008-11-09 19:35:17 -0500
committerLoui Chang <louipc.ist@gmail.com>2008-11-10 09:21:13 -0500
commit21840941eb301da7da338f3ce17ebd9e8d74f06e (patch)
treefbc660e6cd0e4726e5259f3dffbdb9e2f7fd089d /web/template/tu_list.php
parent06ce5af292b639bb2e54b433d912d5ac134a1dd1 (diff)
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/tu_list.php')
-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 bec2985..83c9a48 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>