summaryrefslogtreecommitdiff
path: root/templates/base.tmpl
diff options
context:
space:
mode:
Diffstat (limited to 'templates/base.tmpl')
-rw-r--r--templates/base.tmpl18
1 files changed, 9 insertions, 9 deletions
diff --git a/templates/base.tmpl b/templates/base.tmpl
index 307aaec..6c1cb4f 100644
--- a/templates/base.tmpl
+++ b/templates/base.tmpl
@@ -4,26 +4,26 @@
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
<head>
<title>$title</title>
- <link rel="StyleSheet" href="/s/style.css" type="text/css" />
+ <link rel="StyleSheet" href="${root}s/style.css" type="text/css" />
#block head
#end block
</head>
<body>
<div id="page">
<div id="page-header">
- <h1><a href="/">$header</a></h1>
+ <h1><a href="$root">$header</a></h1>
<div id="page-menu">
<ul>
- <li><a href="/u">upload</a></li>
+ <li><a href="${root}u">upload</a></li>
#if $user
- <li><a href="/o">logout</a></li>
- <li><a href="/m">myfiles</a></li>
- <li><a href="/i">images</a></li>
+ <li><a href="${root}o">logout</a></li>
+ <li><a href="${root}m">myfiles</a></li>
+ <li><a href="${root}i">images</a></li>
#else
- <li><a href="/l">login</a></li>
- <li><a href="/r">register</a></li>
+ <li><a href="${root}l">login</a></li>
+ <li><a href="${root}r">register</a></li>
#end if
- <li><a href="/h">help</a></li>
+ <li><a href="${root}h">help</a></li>
</ul>
</div>
</div>