summaryrefslogtreecommitdiffstats
path: root/web/template/account_search_results.php
diff options
context:
space:
mode:
authorLukas Fleischer <archlinux@cryptocrack.de>2012-07-14 01:24:59 +0200
committerLukas Fleischer <archlinux@cryptocrack.de>2012-07-15 22:44:51 +0200
commit2425f963f8ad45292c217914b5fee1ed18104c26 (patch)
tree9dd5bcd1d4c95d9bbe8a5d96cd9f6610bd665787 /web/template/account_search_results.php
parenta03c684ecd51327f9c6921a6e0001d82e3223799 (diff)
downloadaurweb-2425f963f8ad45292c217914b5fee1ed18104c26.tar.xz
Use virtual path feature for links
Use virtual paths in links (e.g. link to "/packages/" instead of "/packages.php" etc.) if the virtual path feature is enabled. Signed-off-by: Lukas Fleischer <archlinux@cryptocrack.de>
Diffstat (limited to 'web/template/account_search_results.php')
-rw-r--r--web/template/account_search_results.php8
1 files changed, 4 insertions, 4 deletions
diff --git a/web/template/account_search_results.php b/web/template/account_search_results.php
index f2ed62e..cc2a1c2 100644
--- a/web/template/account_search_results.php
+++ b/web/template/account_search_results.php
@@ -28,7 +28,7 @@ else:
?>
<tbody>
<tr class ="<?php echo $c ?>">
- <td><a href="packages.php?SeB=m&amp;K=<?php echo $row["Username"] ?>"><?php echo $row["Username"] ?></a></td>
+ <td><a href="<?php echo get_uri('/packages/'); ?>?SeB=m&amp;K=<?php echo $row["Username"] ?>"><?php echo $row["Username"] ?></a></td>
<td><?php echo $row["AccountType"] ?></td>
<td>
<?php
@@ -50,7 +50,7 @@ else:
print "&nbsp;";
else:
?>
- <a href="account.php?Action=DisplayAccount&amp;ID=<?php echo $row["ID"] ?>"><?php echo __("Edit") ?></a>
+ <a href="<?php echo get_uri('/account/'); ?>?Action=DisplayAccount&amp;ID=<?php echo $row["ID"] ?>"><?php echo __("Edit") ?></a>
<?php endif; ?>
</td>
</tr>
@@ -63,7 +63,7 @@ else:
<table class="results">
<tr>
<td align="left">
- <form action="account.php" method="post">
+ <form action="<?php echo get_uri('/account/'); ?>" 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="account.php" method="post">
+ <form action="<?php echo get_uri('/account/'); ?>" method="post">
<fieldset>
<input type="hidden" name="Action" value="SearchAccounts" />
<input type="hidden" name="O" value="<?php echo ($OFFSET+$HITS_PER_PAGE) ?>" />