summaryrefslogtreecommitdiffstats
path: root/web/lib/acctfuncs.inc
diff options
context:
space:
mode:
authorLoui Chang <louipc.ist@gmail.com>2008-12-21 18:26:46 +0100
committerCallan Barrett <wizzomafizzo@gmail.com>2008-12-22 05:19:56 +0100
commitae1c424c95f7912351f776096205e2a7b0b8952c (patch)
tree8102a866330813c80bf4a9e000b292fb45b94fba /web/lib/acctfuncs.inc
parentb56dfc3138816a521f48b73a35f7e49f21afaae4 (diff)
downloadaur-ae1c424c95f7912351f776096205e2a7b0b8952c.tar.gz
aur-ae1c424c95f7912351f776096205e2a7b0b8952c.tar.xz
Really make all web paths relative.
I forgot about the forms. Signed-off-by: Loui Chang <louipc.ist@gmail.com> Signed-off-by: Callan Barrett <wizzomafizzo@gmail.com>
Diffstat (limited to 'web/lib/acctfuncs.inc')
-rw-r--r--web/lib/acctfuncs.inc8
1 files changed, 4 insertions, 4 deletions
diff --git a/web/lib/acctfuncs.inc b/web/lib/acctfuncs.inc
index 959ae4af..1ee2d9e8 100644
--- a/web/lib/acctfuncs.inc
+++ b/web/lib/acctfuncs.inc
@@ -21,7 +21,7 @@ function display_account_form($UTYPE,$A,$U="",$T="",$S="",
global $SUPPORTED_LANGS;
- print "<form action='/account.php' method='post'>\n";
+ print "<form action='account.php' method='post'>\n";
print "<input type='hidden' name='Action' value='".$A."'>\n";
if ($UID) {
print "<input type='hidden' name='ID' value='".$UID."'>\n";
@@ -491,7 +491,7 @@ function search_results_page($UTYPE,$O=0,$SB="",$U="",$T="",
#
print "&nbsp;</span></td>";
} else {
- $edit_url = "/account.php?Action=DisplayAccount&ID=".$row["ID"];
+ $edit_url = "account.php?Action=DisplayAccount&ID=".$row["ID"];
print "<a href='".$edit_url . "'>";
print "Edit</a></span></td>";
}
@@ -503,7 +503,7 @@ function search_results_page($UTYPE,$O=0,$SB="",$U="",$T="",
print "<tr>";
print "<td align='left'>";
- print "<form action='/account.php' method='post'>\n";
+ print "<form action='account.php' method='post'>\n";
print "<input type='hidden' name='Action' value='SearchAccounts'>\n";
print "<input type='hidden' name='O'";
print " value='".($OFFSET-$HITS_PER_PAGE)."'>\n";
@@ -517,7 +517,7 @@ function search_results_page($UTYPE,$O=0,$SB="",$U="",$T="",
print "</form>\n";
print "</td>";
print "<td align='right'>";
- print "<form action='/account.php' method='post'>\n";
+ print "<form action='account.php' method='post'>\n";
print "<input type='hidden' name='Action' value='SearchAccounts'>\n";
print "<input type='hidden' name='O'";
print " value='".($OFFSET+$HITS_PER_PAGE)."'>\n";