summaryrefslogtreecommitdiffstats
path: root/web/lib/acctfuncs.inc
diff options
context:
space:
mode:
authorLoui Chang <louipc.ist@gmail.com>2008-12-21 05:42:35 +0100
committerCallan Barrett <wizzomafizzo@gmail.com>2008-12-21 07:24:57 +0100
commitcfeb080dcd7f593cf70a7d12ef873c95c95ae40f (patch)
treea8cb1c869f3ee67d55d8407051b77a3ed268622c /web/lib/acctfuncs.inc
parente12a8ad3da6fdec073e099438a69f745f5b9faf5 (diff)
downloadaur-cfeb080dcd7f593cf70a7d12ef873c95c95ae40f.tar.gz
aur-cfeb080dcd7f593cf70a7d12ef873c95c95ae40f.tar.xz
Make all web paths relative.
The site no longer needs to be hosted from the root of a domain, or virtual host. 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.inc4
1 files changed, 2 insertions, 2 deletions
diff --git a/web/lib/acctfuncs.inc b/web/lib/acctfuncs.inc
index 61207778..d7fabcf0 100644
--- a/web/lib/acctfuncs.inc
+++ b/web/lib/acctfuncs.inc
@@ -463,7 +463,7 @@ function search_results_page($UTYPE,$O=0,$SB="",$U="",$T="",
}
print "<tr>";
print "<td class='".$c."'>";
- print "<span class='f5'><a href='/packages.php?SeB=m&K=".$row["Username"]."'>".$row["Username"]."</a></span></td>";
+ print "<span class='f5'><a href='packages.php?SeB=m&K=".$row["Username"]."'>".$row["Username"]."</a></span></td>";
print "<td class='".$c."'>";
print "<span class='f5'>".$row["AccountType"];
print "</span></td>";
@@ -593,7 +593,7 @@ function display_account_info($U="",$T="",
print " </tr>\n";
print " <tr>\n";
- print " <td colspan='2'><a href='/packages.php?K=".$U."&SeB=m'>".__("View this user's packages")."</a></td>\n";
+ print " <td colspan='2'><a href='packages.php?K=".$U."&SeB=m'>".__("View this user's packages")."</a></td>\n";
print " </tr>\n";
print "</table>\n";