mirror of
https://gitlab.archlinux.org/archlinux/aurweb.git
synced 2025-02-03 10:43:03 +01:00
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>
This commit is contained in:
parent
5186f83ab7
commit
440a66ced0
2 changed files with 3 additions and 3 deletions
|
@ -63,7 +63,7 @@ else:
|
||||||
<table class="results">
|
<table class="results">
|
||||||
<tr>
|
<tr>
|
||||||
<td align="left">
|
<td align="left">
|
||||||
<form action="<?php echo get_uri('/account/'); ?>" method="post">
|
<form action="<?php echo get_uri('/accounts/'); ?>" method="post">
|
||||||
<fieldset>
|
<fieldset>
|
||||||
<input type="hidden" name="Action" value="SearchAccounts" />
|
<input type="hidden" name="Action" value="SearchAccounts" />
|
||||||
<input type="hidden" name="O" value="<?php echo ($OFFSET-$HITS_PER_PAGE) ?>" />
|
<input type="hidden" name="O" value="<?php echo ($OFFSET-$HITS_PER_PAGE) ?>" />
|
||||||
|
@ -78,7 +78,7 @@ else:
|
||||||
</form>
|
</form>
|
||||||
</td>
|
</td>
|
||||||
<td align="right">
|
<td align="right">
|
||||||
<form action="<?php echo get_uri('/account/'); ?>" method="post">
|
<form action="<?php echo get_uri('/accounts/'); ?>" method="post">
|
||||||
<fieldset>
|
<fieldset>
|
||||||
<input type="hidden" name="Action" value="SearchAccounts" />
|
<input type="hidden" name="Action" value="SearchAccounts" />
|
||||||
<input type="hidden" name="O" value="<?php echo ($OFFSET+$HITS_PER_PAGE) ?>" />
|
<input type="hidden" name="O" value="<?php echo ($OFFSET+$HITS_PER_PAGE) ?>" />
|
||||||
|
|
|
@ -1,5 +1,5 @@
|
||||||
<br />
|
<br />
|
||||||
<form action="<?php echo get_uri('/account/'); ?>" method="post">
|
<form action="<?php echo get_uri('/accounts/'); ?>" method="post">
|
||||||
<table>
|
<table>
|
||||||
|
|
||||||
<tr>
|
<tr>
|
||||||
|
|
Loading…
Add table
Reference in a new issue