summaryrefslogtreecommitdiffstats
path: root/web/template/header.php
diff options
context:
space:
mode:
authorLukas Fleischer <archlinux@cryptocrack.de>2012-07-13 23:05:15 +0200
committerLukas Fleischer <archlinux@cryptocrack.de>2012-07-15 22:42:45 +0200
commita03c684ecd51327f9c6921a6e0001d82e3223799 (patch)
tree8dd8dbd272fb5c29e76c532795d8cff3b246e73a /web/template/header.php
parenteb22bcc7548d1b1025a3832aa4555792729d11b0 (diff)
downloadaur-a03c684ecd51327f9c6921a6e0001d82e3223799.tar.gz
aur-a03c684ecd51327f9c6921a6e0001d82e3223799.tar.xz
Use absolute URIs for style sheets and images
This is needed for our new URI scheme, since we will use virtual directories, such as "/packages/" instead of "/packages.php" etc. Having relative URIs results in incorrect paths, such as "/packages/css/aur.css" (instead of "/css/aur.css"). Signed-off-by: Lukas Fleischer <archlinux@cryptocrack.de>
Diffstat (limited to 'web/template/header.php')
-rw-r--r--web/template/header.php6
1 files changed, 3 insertions, 3 deletions
diff --git a/web/template/header.php b/web/template/header.php
index 6dd52f7e..246b3047 100644
--- a/web/template/header.php
+++ b/web/template/header.php
@@ -5,9 +5,9 @@
xml:lang="<?php print htmlspecialchars($LANG, ENT_QUOTES) ?>" lang="<?php print htmlspecialchars($LANG, ENT_QUOTES) ?>">
<head>
<title>AUR (<?php print htmlspecialchars($LANG); ?>)<?php if ($title != "") { print " - " . htmlspecialchars($title); } ?></title>
- <link rel='stylesheet' type='text/css' href='css/archweb.css' />
- <link rel='stylesheet' type='text/css' href='css/aur.css' />
- <link rel='shortcut icon' href='images/favicon.ico' />
+ <link rel='stylesheet' type='text/css' href='/css/archweb.css' />
+ <link rel='stylesheet' type='text/css' href='/css/aur.css' />
+ <link rel='shortcut icon' href='/images/favicon.ico' />
<link rel='alternate' type='application/rss+xml' title='Newest Packages RSS' href='rss.php' />
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
</head>