summaryrefslogtreecommitdiffstats
path: root/templates/page.tmpl
blob: bb05655ce03e2a0a2060147158549c948a57aaf4 (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
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
<!doctype html>

<html>
	<head>
		<TMPL_UNLESS PARENTLINKS>
		<title><TMPL_VAR WIKINAME></title>
		<TMPL_ELSE>
		<title><TMPL_VAR TITLE> - <TMPL_VAR WIKINAME></title>
		</TMPL_UNLESS>
		<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
		<link rel="stylesheet" href="<TMPL_VAR BASEURL>main.css" type="text/css" />
		<link rel="icon" type="image/x-icon" href="http://os.pehjota.net/media/favicon.ico">
		<link rel="shortcut icon" type="image/x-icon" href="http://os.pehjota.net/media/favicon.ico">
		<TMPL_IF EDITURL>
		<link rel="alternate" type="application/x-wiki" title="Edit this page" href="<TMPL_VAR EDITURL>" />
		</TMPL_IF>
		<TMPL_IF FEEDLINKS>
		<TMPL_VAR FEEDLINKS>
		</TMPL_IF>
		<TMPL_IF RELVCS>
		<TMPL_VAR RELVCS>
		</TMPL_IF>
		<TMPL_IF META>
		<TMPL_VAR META>
		</TMPL_IF>
	</head>
	<body>
		<a href="#body" class="skip">Skip to body</a>
		<nav>
			<div class="logo"><a href="//os.pehjota.net/">Embedded OS</a></div>
			<div class="nav">
				<ul>
					<li><a href="http://os.pehjota.net/about">About</a></li>
					<li><a href="http://os.pehjota.net/contact">Contact</a></li>
					<li><a href="http://os.pehjota.net/dev">Development</a></li>
					<li><a href="http://packages.os.pehjota.net/">Packages</a></li>
					<li><a href="http://wiki.os.pehjota.net/">Wiki</a></li>
				</ul>
			</div>
		</nav>
		<div class="main">
			<div class="sidebar">
				<TMPL_IF HAVE_ACTIONS>
				<div>
					<h2>Wiki</h2>
					<ul>
						<TMPL_IF RECENTCHANGESURL>
						<li><a href="/recentchanges/">RecentChanges</a></li>
						</TMPL_IF>
						<TMPL_IF PREFSURL>
						<li><a href="<TMPL_VAR PREFSURL>">Preferences</a></li>
						</TMPL_IF>
						<TMPL_IF SEARCHFORM>
						<TMPL_VAR SEARCHFORM>
						</TMPL_IF>
					</ul>
				</div>
				<div>
					<h2>Page</h2>
					<ul>
						<TMPL_IF EDITURL>
						<li><a href="<TMPL_VAR EDITURL>" rel="nofollow">Edit</a></li>
						</TMPL_IF>
						<TMPL_IF GETSOURCEURL>
						<li><a href="<TMPL_VAR GETSOURCEURL>">Source</a></li>
						</TMPL_IF>
						<TMPL_IF HISTORYURL>
						<li><a href="<TMPL_VAR HISTORYURL>">History</a></li>
						</TMPL_IF>
						<TMPL_IF DISCUSSIONLINK>
						<li><TMPL_VAR DISCUSSIONLINK></li>
						</TMPL_IF>
						<TMPL_IF ACTIONS>
						<TMPL_LOOP ACTIONS>
						<li><TMPL_VAR ACTION></li>
						</TMPL_LOOP>
						</TMPL_IF>
					</ul>
				</div>
				</TMPL_IF>
				<TMPL_IF OTHERLANGUAGES>
				<div>
					<h2>Other Languages</h2>
					<ul>
						<TMPL_LOOP OTHERLANGUAGES>
						<li>
							<a href="<TMPL_VAR URL>"><TMPL_VAR LANGUAGE></a>
							<TMPL_IF MASTER>
							(master)
							<TMPL_ELSE>
							&nbsp;(<TMPL_VAR PERCENT>%)
							</TMPL_IF>
						</li>
						</TMPL_LOOP>
					</ul>
				</div>
				</TMPL_IF>
				<TMPL_IF SIDEBAR>
				<div>
					<TMPL_VAR SIDEBAR>
				</div>
				</TMPL_IF>
			</div>
			<div class="body" id="body">
				<header class="title">
					<TMPL_UNLESS TITLE_OVERRIDDEN>
					<span class="parentlinks">
						<TMPL_LOOP PARENTLINKS>
						<a href="<TMPL_VAR URL>"><TMPL_VAR PAGE></a>/ 
						</TMPL_LOOP>
					</span>
					</TMPL_UNLESS>
					<span class="title">
						<TMPL_VAR TITLE>
						<TMPL_IF ISTRANSLATION>
						&nbsp;(<TMPL_VAR PERCENTTRANSLATED>%)
						</TMPL_IF>
					</span>
				</header>
<TMPL_VAR CONTENT>
			</div>
		</div>
		<footer>
			<div class="pagedate">
				Last edited <TMPL_VAR MTIME>
				<!-- Created <TMPL_VAR CTIME> -->
			</div>
		</footer>
	</body>
</html>