mirror of
https://gitlab.archlinux.org/archlinux/aurweb.git
synced 2025-02-03 10:43:03 +01:00
Overhaul trusted user proposal page to match archweb
* Change all boxes and other CSS to match archweb * General fixups in XHTML formatting * Change results table to match color scheme everywhere else Signed-off-by: canyonknight <canyonknight@gmail.com> Signed-off-by: Lukas Fleischer <archlinux@cryptocrack.de>
This commit is contained in:
parent
d2480e8b9d
commit
af8f60fe7f
3 changed files with 137 additions and 137 deletions
|
@ -154,17 +154,20 @@ if ($atype == "Trusted User" || $atype == "Developer") {
|
|||
$qnext = "SELECT ID FROM TU_VoteInfo";
|
||||
$nextresult = db_query($qnext, $dbh);
|
||||
?>
|
||||
<div class="pgbox">
|
||||
<p><a href='addvote.php'><?php print __("Add Proposal") ?></a></p>
|
||||
<div class="box">
|
||||
<p><a href="addvote.php"><?php print __("Add Proposal") ?></a></p>
|
||||
|
||||
<?php if (mysql_num_rows($result)) { $by = htmlentities($by, ENT_QUOTES); ?>
|
||||
<?php if ($off != 0) { $back = (($off - $limit) <= 0) ? 0 : $off - $limit; ?>
|
||||
<a href='tu.php?off=<?php print $back ?>&by=<?php print $by ?>'><?php print __("Back") ?></a>
|
||||
<?php } ?>
|
||||
<?php if (($off + $limit) < mysql_num_rows($nextresult)) { $forw = $off + $limit; ?>
|
||||
<a href='tu.php?off=<?php print $forw ?>&by=<?php print $by ?>'><?php print __("Next") ?></a>
|
||||
<?php } ?>
|
||||
<?php } ?>
|
||||
<?php if (mysql_num_rows($result)):
|
||||
$by = htmlentities($by, ENT_QUOTES); ?>
|
||||
<?php if ($off != 0):
|
||||
$back = (($off - $limit) <= 0) ? 0 : $off - $limit; ?>
|
||||
<a href='tu.php?off=<?php print $back ?>&by=<?php print $by ?>'><?php print __("Back") ?></a>
|
||||
<?php endif; ?>
|
||||
<?php if (($off + $limit) < mysql_num_rows($nextresult)):
|
||||
$forw = $off + $limit; ?>
|
||||
<a href="tu.php?off=<?php print $forw ?>&by=<?php print $by ?>"><?php print __("Next") ?></a>
|
||||
<?php endif; ?>
|
||||
<?php endif; ?>
|
||||
</div>
|
||||
<?php
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue