[aur-dev] [PATCH 08/13] Fix account search page results routing to /account/
canyonknight
canyonknight at gmail.com
Sat Sep 15 12:38:13 EDT 2012
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 at gmail.com>
---
web/template/account_search_results.php | 4 ++--
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 61887a3..8719928 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 3080ecd..2fd003a 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>
--
1.7.12
More information about the aur-dev
mailing list