blob: 76d9c99e74676d6bb3de7841841c68c15a064325 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
|
<?xml version="1.0" encoding="UTF-8" ?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN"
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
<head>
<title>$title</title>
<link rel="StyleSheet" href="${settings.virtual_root}s/style.css" type="text/css" />
<meta name="viewport" content="initial-scale=1.0, width=device-width" />
#block head
#end block
</head>
<body>
<div id="page">
<div id="page-header">
<h1><a href="$settings.virtual_root">$header</a></h1>
<div id="page-menu">
<ul>
#if $user or $settings.allow_anonymous_uploads
<li><a href="${settings.virtual_root}u">upload</a></li>
#end if
#if $user
<li><a href="${settings.virtual_root}o">logout</a></li>
<li><a href="${settings.virtual_root}m">myfiles</a></li>
<li><a href="${settings.virtual_root}i">images</a></li>
#else
<li><a href="${settings.virtual_root}l">login</a></li>
#if $settings.allow_registration
<li><a href="${settings.virtual_root}r">register</a></li>
#end if
#end if
<li><a href="${settings.virtual_root}h">help</a></li>
</ul>
</div>
</div>
<p class="login">#slurp
#if $user
Logged in as $user.username. <a href="${settings.virtual_root}c">Change password</a>#slurp
#else
Not logged in.#slurp
#end if
</p>
<div id="page-content">
#block content
#end block
</div>
</div>
</body>
</html>
|