summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorcanyonknight <canyonknight@gmail.com>2012-05-23 13:52:19 -0400
committerLukas Fleischer <archlinux@cryptocrack.de>2012-07-06 11:26:30 +0200
commit13b892e923b09e1f26d752b1e96a7fdf295a6a56 (patch)
treecc05b522936436161fd37e5bc615c54b2a4a9e3c
parent1b0b989fa17becd00fd52d52c48cfa20997bb1e8 (diff)
downloadaurweb-13b892e923b09e1f26d752b1e96a7fdf295a6a56.tar.xz
Overhaul account pages to match archweb
* Use CSS from archweb * General clean-up of XHTML formatting Signed-off-by: canyonknight <canyonknight@gmail.com> Signed-off-by: Lukas Fleischer <archlinux@cryptocrack.de>
-rw-r--r--web/html/account.php4
-rw-r--r--web/template/search_accounts_form.php66
2 files changed, 34 insertions, 36 deletions
diff --git a/web/html/account.php b/web/html/account.php
index 5c793be..63c3ada 100644
--- a/web/html/account.php
+++ b/web/html/account.php
@@ -12,9 +12,8 @@ html_header(__('Accounts'));
# Main page processing here
#
-echo "<div class=\"pgbox\">\n";
+echo "<div class=\"box\">\n";
echo " <h2>".__("Accounts")."</h2>\n";
-echo " <div class=\"pgboxbody\">\n";
$action = in_request("Action");
@@ -158,7 +157,6 @@ if (isset($_COOKIE["AURSID"])) {
}
}
-echo " </div>";
echo "</div>";
html_footer(AUR_VERSION);
diff --git a/web/template/search_accounts_form.php b/web/template/search_accounts_form.php
index 9b0d8e2..9e8c241 100644
--- a/web/template/search_accounts_form.php
+++ b/web/template/search_accounts_form.php
@@ -1,74 +1,74 @@
<br />
-<form action='account.php' method='post'>
+<form action="account.php" method="post">
<table>
<tr>
- <td align='left'><?php print __("Username"); ?>:</td>
- <td align='left'>
- <input type='text' size='30' maxlength='64' name='U' />
+ <td align="left"><?php print __("Username"); ?>:</td>
+ <td align="left">
+ <input type="text" size="30" maxlength="64" name="U" />
</td>
</tr>
<tr>
- <td align='left'><?php print __("Account Type"); ?>:</td>
- <td align='left'>
+ <td align="left"><?php print __("Account Type"); ?>:</td>
+ <td align="left">
<select name="T">
- <option value=''><?php print __("Any type"); ?></option>
- <option value='u'><?php print __("Normal user"); ?></option>
- <option value='t'><?php print __("Trusted user"); ?></option>
- <option value='d'><?php print __("Developer"); ?></option>
+ <option value=""><?php print __("Any type"); ?></option>
+ <option value="u"><?php print __("Normal user"); ?></option>
+ <option value="t"><?php print __("Trusted user"); ?></option>
+ <option value="d"><?php print __("Developer"); ?></option>
</select>
</td>
</tr>
<tr>
- <td align='left'><?php print __("Account Suspended"); ?>:</td>
- <td align='left'>
- <input type='checkbox' name='S' />
+ <td align="left"><?php print __("Account Suspended"); ?>:</td>
+ <td align="left">
+ <input type="checkbox" name="S" />
</td>
</tr>
<tr>
- <td align='left'><?php print __("Email Address"); ?>:</td>
- <td align='left'>
- <input type='text' size='30' maxlength='64' name='E' />
+ <td align="left"><?php print __("Email Address"); ?>:</td>
+ <td align="left">
+ <input type="text" size="30" maxlength="64" name="E" />
</td>
</tr>
<tr>
- <td align='left'><?php print __("Real Name"); ?>:</td>
- <td align='left'>
- <input type='text' size='30' maxlength='32' name='R' />
+ <td align="left"><?php print __("Real Name"); ?>:</td>
+ <td align="left">
+ <input type="text" size="30" maxlength="32" name="R" />
</td>
</tr>
<tr>
- <td align='left'><?php print __("IRC Nick"); ?>:</td>
- <td align='left'>
- <input type='text' size='30' maxlength='32' name='I' />
+ <td align="left"><?php print __("IRC Nick"); ?>:</td>
+ <td align="left">
+ <input type="text" size="30" maxlength="32" name="I" />
</td>
</tr>
<tr>
- <td align='left'><?php print __("Sort by"); ?>:</td>
- <td align='left'>
+ <td align="left"><?php print __("Sort by"); ?>:</td>
+ <td align="left">
<select name="SB">
- <option value='u'><?php print __("Username"); ?></option>
- <option value='t'><?php print __("Account Type"); ?></option>
- <option value='r'><?php print __("Real Name"); ?></option>
- <option value='i'><?php print __("IRC Nick"); ?></option>
- <option value='v'><?php print __("Last vote"); ?></option>
+ <option value="u"><?php print __("Username"); ?></option>
+ <option value="t"><?php print __("Account Type"); ?></option>
+ <option value="r"><?php print __("Real Name"); ?></option>
+ <option value="i"><?php print __("IRC Nick"); ?></option>
+ <option value="v"><?php print __("Last vote"); ?></option>
</select>
</td>
</tr>
<tr>
<td>&nbsp;</td>
- <td align='left'>
+ <td align="left">
<br />
- <input type='hidden' name='Action' value='SearchAccounts' />
- <input type='submit' class='button' value="<?php print __("Search"); ?>" />
- <input type='reset' class='button' value="<?php print __("Reset"); ?>" />
+ <input type="hidden" name="Action" value="SearchAccounts" />
+ <input type="submit" class="button" value="<?php print __("Search"); ?>" />
+ <input type="reset" class="button" value="<?php print __("Reset"); ?>" />
</td>
</tr>