summaryrefslogtreecommitdiffstats
path: root/web
diff options
context:
space:
mode:
authorLoui Chang <louipc.ist@gmail.com>2009-11-23 14:14:23 -0500
committerLoui Chang <louipc.ist@gmail.com>2009-11-23 14:14:23 -0500
commitcdd2e5dbd4f50151cbf0b774acb9decc3de3314a (patch)
tree233ac9da2fe277b54d4eb44ec3bbef08a11868a6 /web
parentf6387253b47fc994d5c03c9b8e4a47a0bce5c6b9 (diff)
downloadaurweb-cdd2e5dbd4f50151cbf0b774acb9decc3de3314a.tar.xz
tu: Bring Trusted User interface in line with the rest of the site.
Signed-off-by: Loui Chang <louipc.ist@gmail.com>
Diffstat (limited to 'web')
-rw-r--r--web/html/tu.php16
-rw-r--r--web/template/tu_details.php7
-rw-r--r--web/template/tu_list.php16
3 files changed, 9 insertions, 30 deletions
diff --git a/web/html/tu.php b/web/html/tu.php
index d78fe95..1864988 100644
--- a/web/html/tu.php
+++ b/web/html/tu.php
@@ -129,10 +129,6 @@ if ($atype == "Trusted User" OR $atype == "Developer") {
include("tu_list.php");
?>
-<center>
- <a href='addvote.php'><?php print __("Add") ?></a>
-</center><br />
-
<?php
$q = "SELECT * FROM TU_VoteInfo ORDER BY Submitted " . $order . $lim;
$result = db_query($q, $dbh);
@@ -143,22 +139,18 @@ if ($atype == "Trusted User" OR $atype == "Developer") {
$qnext = "SELECT ID FROM TU_VoteInfo";
$nextresult = db_query($qnext, $dbh);
?>
-<table style='width: 90%'>
+<div class="pgbox">
+<p><a href='addvote.php'><?php print __("Add Proposal") ?></a></p>
+
<?php if (mysql_num_rows($result)) { $by = htmlentities($by, ENT_QUOTES); ?>
- <tr>
- <td align='left'>
<?php if ($off != 0) { $back = (($off - $limit) <= 0) ? 0 : $off - $limit; ?>
<a href='tu.php?off=<?php print $back ?>&amp;by=<?php print $by ?>'><?php print __("Back") ?></a>
<?php } ?>
- </td>
- <td align='right'>
<?php if (($off + $limit) < mysql_num_rows($nextresult)) { $forw = $off + $limit; ?>
<a href='tu.php?off=<?php print $forw ?>&amp;by=<?php print $by ?>'><?php print __("Next") ?></a>
<?php } ?>
- </td>
- </tr>
<?php } ?>
-</table>
+</div>
<?php
}
}
diff --git a/web/template/tu_details.php b/web/template/tu_details.php
index 9414d1f..0016dfe 100644
--- a/web/template/tu_details.php
+++ b/web/template/tu_details.php
@@ -24,11 +24,7 @@ N/A
<?php print str_replace("\n", "<br />\n", htmlentities($row['Agenda'])) ?>
</p>
-<table cellspacing='3' class='boxSoft' style='width: 50%'>
-</tr>
-<tr>
-<td class='boxSoft'>
-<table width='100%' cellspacing='0' cellpadding='2'>
+<table class="boxSoft" width='100%' cellspacing='0' cellpadding='2'>
<tr>
<th style='border-bottom: #666 1px solid; vertical-align: bottom'><span class='f2'><?php print __("Yes") ?></span></th>
<th style='border-bottom: #666 1px solid; vertical-align: bottom'><span class='f2'><?php print __("No") ?></span></th>
@@ -50,7 +46,6 @@ N/A
</span></span></td>
</tr>
</table>
-</table>
</div></div>
<?php
diff --git a/web/template/tu_list.php b/web/template/tu_list.php
index 697918d..f734cec 100644
--- a/web/template/tu_list.php
+++ b/web/template/tu_list.php
@@ -1,12 +1,7 @@
-<center>
-<table cellspacing='3' class='boxSoft'>
- <tr>
- <td class='boxSoftTitle' align='right'>
+<div class="pgbox">
+ <div class="pgboxtitle" align="right">
<span class='f3'><?php print $type ?></span>
- </td>
- </tr>
- <tr>
- <td class='boxSoft'>
+ </div>
<table width='100%' cellspacing='0' cellpadding='2'>
<tr>
<th style='border-bottom: #666 1px solid; vertical-align: bottom'><span class='f2'><?php print __("Proposal") ?></span></th>
@@ -62,7 +57,4 @@
</tr>
<?php } } ?>
</table>
- </td>
- </tr>
-</table>
-</center>
+</div>