diff options
Diffstat (limited to 'web/template')
-rw-r--r-- | web/template/header.php | 14 | ||||
-rw-r--r-- | web/template/login_form.php | 2 |
2 files changed, 8 insertions, 8 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 } } diff --git a/web/template/login_form.php b/web/template/login_form.php index 70c24c71..1eba5cf6 100644 --- a/web/template/login_form.php +++ b/web/template/login_form.php @@ -3,7 +3,7 @@ if (isset($_COOKIE["AURSID"])) { print __("Logged-in as: %h%s%h", array("<b>", username_from_sid($_COOKIE["AURSID"]), "</b>")); ?> -<br /><a href="/logout.php"><?php print __("Logout"); ?></a> +<br /><a href="logout.php"><?php print __("Logout"); ?></a> <?php } else { |