mirror of
https://gitlab.archlinux.org/archlinux/aurweb.git
synced 2025-02-03 10:43:03 +01:00
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>
This commit is contained in:
parent
1b0b989fa1
commit
13b892e923
2 changed files with 34 additions and 36 deletions
|
@ -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);
|
||||
|
|
|
@ -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> </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>
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue