diff options
author | Loui Chang <louipc.ist@gmail.com> | 2008-12-21 05:42:35 +0100 |
---|---|---|
committer | Callan Barrett <wizzomafizzo@gmail.com> | 2008-12-21 07:24:57 +0100 |
commit | cfeb080dcd7f593cf70a7d12ef873c95c95ae40f (patch) | |
tree | a8cb1c869f3ee67d55d8407051b77a3ed268622c /web/template/header.php | |
parent | e12a8ad3da6fdec073e099438a69f745f5b9faf5 (diff) | |
download | aur-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/template/header.php')
-rw-r--r-- | web/template/header.php | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/web/template/header.php b/web/template/header.php index 352135a7..dcf99f31 100644 --- a/web/template/header.php +++ b/web/template/header.php @@ -5,9 +5,9 @@ xml:lang="<?php print "$LANG\" lang=\"$LANG"; ?>"> <head> <title>AUR (<?php print $LANG; ?>)<?php if ($title != "") { print " - " . $title; } ?></title> - <link rel='stylesheet' type='text/css' href='/css/fonts.css' /> - <link rel='stylesheet' type='text/css' href='/css/containers.css' /> - <link rel='stylesheet' type='text/css' href='/css/arch.css' /> + <link rel='stylesheet' type='text/css' href='css/fonts.css' /> + <link rel='stylesheet' type='text/css' href='css/containers.css' /> + <link rel='stylesheet' type='text/css' href='css/arch.css' /> <link rel='shortcut icon' href='images/favicon.ico' /> <link rel='alternate' type='application/rss+xml' title='Newest Packages RSS' href='rss2.php' /> <meta http-equiv="Content-Type" content="text/html; charset=UTF-8" /> @@ -20,7 +20,7 @@ <div id="main_nav"> <ul> <li><a href="http://www.archlinux.org/download/">Download</a></li> - <li class="selected"><a href="/">AUR</a></li> + <li class="selected"><a href="index.php">AUR</a></li> <li><a href="http://bugs.archlinux.org/">Bugs</a></li> <li><a href="http://wiki.archlinux.org/">Wiki</a></li> <li><a href="http://bbs.archlinux.org/">Forums</a></li> @@ -46,13 +46,13 @@ <?php if (isset($_COOKIE["AURSID"])) { ?> - <li><a href="/pkgsubmit.php"><?php print __("Submit"); ?></a></li> - <li><a href="/packages.php?SeB=m&K=<?php print username_from_sid($_COOKIE["AURSID"]); ?>"><?php print __("My Packages"); ?></a></li> + <li><a href="pkgsubmit.php"><?php print __("Submit"); ?></a></li> + <li><a href="packages.php?SeB=m&K=<?php print username_from_sid($_COOKIE["AURSID"]); ?>"><?php print __("My Packages"); ?></a></li> <?php if (account_from_sid($_COOKIE["AURSID"]) == "Trusted User" || account_from_sid($_COOKIE["AURSID"]) == "Developer") { ?> - <li><a href="/tu.php"><?php print __("Trusted User"); ?></a></li> + <li><a href="tu.php"><?php print __("Trusted User"); ?></a></li> <?php } } |