diff options
author | canyonknight <canyonknight@gmail.com> | 2012-09-13 00:03:53 +0200 |
---|---|---|
committer | Lukas Fleischer <archlinux@cryptocrack.de> | 2012-09-18 00:59:12 +0200 |
commit | 440a66ced0bb8ebe9172f99bc98529645194e0ee (patch) | |
tree | e2c4e115cdf20f976b2ac80166f2a68c210a27de /web | |
parent | 5186f83ab7869fd831cbe6db3f7e774dc1132448 (diff) | |
download | aur-440a66ced0bb8ebe9172f99bc98529645194e0ee.tar.gz aur-440a66ced0bb8ebe9172f99bc98529645194e0ee.tar.xz |
Fix account search page results routing to /account/
Account search page has /account/ in the address bar when it should still be
/accounts/. The only time /account/ should be used is on a specific user's
page.
Signed-off-by: canyonknight <canyonknight@gmail.com>
Signed-off-by: Lukas Fleischer <archlinux@cryptocrack.de>
Diffstat (limited to 'web')
-rw-r--r-- | web/template/account_search_results.php | 4 | ||||
-rw-r--r-- | web/template/search_accounts_form.php | 2 |
2 files changed, 3 insertions, 3 deletions
diff --git a/web/template/account_search_results.php b/web/template/account_search_results.php index 61887a31..8719928a 100644 --- a/web/template/account_search_results.php +++ b/web/template/account_search_results.php @@ -63,7 +63,7 @@ else: <table class="results"> <tr> <td align="left"> - <form action="<?php echo get_uri('/account/'); ?>" method="post"> + <form action="<?php echo get_uri('/accounts/'); ?>" method="post"> <fieldset> <input type="hidden" name="Action" value="SearchAccounts" /> <input type="hidden" name="O" value="<?php echo ($OFFSET-$HITS_PER_PAGE) ?>" /> @@ -78,7 +78,7 @@ else: </form> </td> <td align="right"> - <form action="<?php echo get_uri('/account/'); ?>" method="post"> + <form action="<?php echo get_uri('/accounts/'); ?>" method="post"> <fieldset> <input type="hidden" name="Action" value="SearchAccounts" /> <input type="hidden" name="O" value="<?php echo ($OFFSET+$HITS_PER_PAGE) ?>" /> diff --git a/web/template/search_accounts_form.php b/web/template/search_accounts_form.php index 3080ecd1..2fd003aa 100644 --- a/web/template/search_accounts_form.php +++ b/web/template/search_accounts_form.php @@ -1,5 +1,5 @@ <br /> -<form action="<?php echo get_uri('/account/'); ?>" method="post"> +<form action="<?php echo get_uri('/accounts/'); ?>" method="post"> <table> <tr> |