aboutsummaryrefslogtreecommitdiff
path: root/ratatoeskr/templates/src/systemtemplates/master.html
blob: aa2bf4e73bb6a5a8179ed6962a69133b18892003 (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
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
<ste:mktag name="default_success">
	<ste:if>$success
		<ste:then>
			<div class="success">?{$_tag_parameters[noescape]|$success|<ste:escape>$success</ste:escape>}</div>
		</ste:then>
	</ste:if>
</ste:mktag>
<ste:mktag name="default_error">
	<ste:if>$error
		<ste:then>
			<div class="error">?{$_tag_parameters[noescape]|$error|<ste:escape>$error</ste:escape>}</div>
		</ste:then>
	</ste:if>
</ste:mktag>
<ste:mktag name="default_notice">
	<ste:if>$notice
		<ste:then>
			<div class="notice">?{$_tag_parameters[noescape]|$notice|<ste:escape>$notice</ste:escape>}</div>
		</ste:then>
	</ste:if>
</ste:mktag>
<ste:mktag name="default_delete_yesno">
	<input type="submit" name="?{$_tag_parameters[name]|$_tag_parameters[name]|delete}" value="<ste:get_translation for='delete' />" />
		<select name="really_delete">
			<option value="no" selected="selected"><ste:get_translation for="no" /></option>
			<option value="yes"><ste:get_translation for="yes" /></option>
		</select>
</ste:mktag>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
	<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
	<meta http-equiv="Content-Style-Type" content="text/css" />
	<title><ste:get_translation for="section_$section" />::<ste:escape>$pagetitle</ste:escape> - Ratatöskr</title>
	<script type="text/javascript" src="$rel_path_to_root/ratatoeskr/libs/jquery.min.js"></script>
	<script type="text/javascript" src="$rel_path_to_root/ratatoeskr/js/backend.js"></script>
	<ste:mktag name="cms_style"><link rel="stylesheet" type="text/css" media="screen" href="$rel_path_to_root/ratatoeskr/cms_style/<ste:tagcontent />" /></ste:mktag>
	<ste:cms_style>layout.css</ste:cms_style>
	<ste:foreach array="additional_styles" value="cssfile"><ste:cms_style>$cssfile</ste:cms_style></ste:foreach>
</head>
<body>
	<div id="bar_top">
		<span class="branding"><strong>Ratatöskr</strong>::Noctilucent clouds (v. 0.2 &beta; 4)</span>
		<span class="user">
			<a href="$rel_path_to_root/backend/admin/users/u/$user[id]">$user[name]</a> | <a href="$rel_path_to_root/backend/logout"><ste:get_translation for="logout" /></a>
		</span>
	</div>
	<div id="maincontainer">
		<h1><strong><ste:get_translation for="section_$section" /></strong>::<ste:escape>$pagetitle</ste:escape></h1>
		<ul id="mainmenu">
			<li>
				<a href="$rel_path_to_root/backend/content/write" class="first"><ste:get_translation for="section_content" /></a>
				<ul?{~{content|eq|$section}| class="active"|}>
					<li><a href="$rel_path_to_root/backend/content/articles"?{~{articles|eq|$submenu}| class="active"|}><ste:get_translation for="menu_articles" /></a></li>
					<li><a href="$rel_path_to_root/backend/content/write"?{~{newarticle|eq|$submenu}| class="active"|}><ste:get_translation for="menu_newarticles" /></a></li>
					<li><a href="$rel_path_to_root/backend/content/tags"?{~{tags|eq|$submenu}| class="active"|}><ste:get_translation for="menu_tags" /></a></li>
					<li><a href="$rel_path_to_root/backend/content/images"?{~{images|eq|$submenu}| class="active"|}><ste:get_translation for="menu_images" /></a></li>
					<li><a href="$rel_path_to_root/backend/content/comments"?{~{comments|eq|$submenu}| class="active"|}><ste:get_translation for="menu_comments" /></a></li>
				</ul>
			</li>
			<li>
				<a href="$rel_path_to_root/backend/design/templates"><ste:get_translation for="section_design" /></a>
				<ul?{~{design|eq|$section}| class="active"|}>
					<li><a href="$rel_path_to_root/backend/design/sections"?{~{sections|eq|$submenu}| class="active"|}><ste:get_translation for="menu_pagesections" /></a></li>
					<li><a href="$rel_path_to_root/backend/design/templates"?{~{templates|eq|$submenu}| class="active"|}><ste:get_translation for="menu_templates" /></a></li>
					<li><a href="$rel_path_to_root/backend/design/styles"?{~{styles|eq|$submenu}| class="active"|}><ste:get_translation for="menu_styles" /></a></li>
				</ul>
			</li>
			<li>
				<a href="$rel_path_to_root/backend/admin/settings"><ste:get_translation for="section_admin" /></a>
				<ul?{~{admin|eq|$section}| class="active"|}>
					<li><a href="$rel_path_to_root/backend/admin/users"?{~{users|eq|$submenu}| class="active"|}><ste:get_translation for="menu_users_groups" /></a></li>
					<li><a href="$rel_path_to_root/backend/admin/repos"?{~{repos|eq|$submenu}| class="active"|}><ste:get_translation for="menu_plugin_repos" /></a></li>
					<li><a href="$rel_path_to_root/backend/admin/settings"?{~{settings|eq|$submenu}| class="active"|}><ste:get_translation for="menu_settings" /></a></li>
				</ul>
			</li>
			<li>
				<a href="$rel_path_to_root/backend/plugin/list"><ste:get_translation for="section_plugins" /></a>
				<ul?{~{plugins|eq|$section}| class="active"|}>
					<li><a href="$rel_path_to_root/backend/plugin/list"?{~{pluginlist|eq|$submenu}| class="active"|}><ste:get_translation for="menu_pluginlist" /></a></li>
					<li><a href="$rel_path_to_root/backend/plugin/install"?{~{installplugins|eq|$submenu}| class="active"|}><ste:get_translation for="menu_plugininstall" /></a></li>
					<ste:foreach array="pluginpages" value="pname" key="pid">
						<li><a href="$rel_path_to_root/backend/pluginpages/p$pid"?{~{plugin$pid|eq|$submenu}| class="active"|}><ste:escape>$pname</ste:escape></a></li>
					</ste:foreach>
				</ul>
			</li>
		</ul>
		<div id="content">
			<ste:block name="content"></ste:block>
		</div>
	</div>
</body>
</html>