diff options
author | Lukas Fleischer <archlinux@cryptocrack.de> | 2011-03-11 18:54:44 +0100 |
---|---|---|
committer | Lukas Fleischer <archlinux@cryptocrack.de> | 2011-03-11 19:00:50 +0100 |
commit | 7f9e498e48c4e5d056ee988a23dedb8ca98b11cd (patch) | |
tree | 2207b70001651eca6ac8f9500ec679e8edf98382 /web/template/search_accounts_form.php | |
parent | c34bebf42859019998c7ff3c03b570295ae83ebe (diff) |
Fix broken XHTML.
Fix a lot of invalid XHTML in the templates and actions. There might
still be some legacy code left, but this should cover most of it.
Signed-off-by: Lukas Fleischer <archlinux@cryptocrack.de>
Diffstat (limited to 'web/template/search_accounts_form.php')
-rw-r--r-- | web/template/search_accounts_form.php | 130 |
1 files changed, 64 insertions, 66 deletions
diff --git a/web/template/search_accounts_form.php b/web/template/search_accounts_form.php index 17be75e..9d6c40d 100644 --- a/web/template/search_accounts_form.php +++ b/web/template/search_accounts_form.php @@ -1,78 +1,76 @@ <br /> <form action='account.php' method='post'> - <input type='hidden' name='Action' value='SearchAccounts' /> - <center> - <table border='0' cellpadding='0' cellspacing='0' width='80%'> + <table border='0' cellpadding='0' cellspacing='0' width='80%' style="margin:0 auto;"> - <tr> - <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 __("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'> - <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> - </select> - </td> - </tr> + <tr> + <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> + </select> + </td> + </tr> - <tr> - <td align='left'><?php print __("Account Suspended"); ?>:</td> - <td align='left'> - <input type='checkbox' name='S' /> - </td> - </tr> + <tr> + <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> - </tr> + <tr> + <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> - </tr> + <tr> + <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> - </tr> + <tr> + <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'> - <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> - </select> - </td> - </tr> + <tr> + <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> + </select> + </td> + </tr> - <tr> - <td> </td> - <td align='left'> - <br /> - <input type='submit' class='button' value="<?php print __("Search"); ?>" /> - <input type='reset' class='button' value="<?php print __("Reset"); ?>" /> - </td> - </tr> + <tr> + <td> </td> + <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"); ?>" /> + </td> + </tr> - </table> - </center> + </table> </form> |