-
Notifications
You must be signed in to change notification settings - Fork 0
/
main.php
187 lines (147 loc) · 5.35 KB
/
main.php
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
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
<?php
/**
* DokuWiki Sidebar Template
* @author Christopher Smith <chris@jalakai.co.uk>
*
* This template is the Dokuwiki Default Template with
* a few alterations
*
* @link http://wiki.splitbrain.org/wiki:tpl:templates
* @author Andreas Gohr <andi@splitbrain.org>
*/
// must be run from within DokuWiki
if (!defined('DOKU_INC')) die();
// include functions that provide sidebar functionality
@require_once(dirname(__FILE__).'/tplfn_sidebar.php');
// multitemplate capable
if (isset($DOKU_TPL)==FALSE) $DOKU_TPL = DOKU_TPL;
if (isset($DOKU_TPLINC)==FALSE) $DOKU_TPLINC = DOKU_TPLINC;
if (isset($CONF_TPL)==FALSE) $CONF_TPL = 'sidebar';
?>
<!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" xml:lang="<?php echo $conf['lang']?>"
lang="<?php echo $conf['lang']?>" dir="<?php echo $lang['direction']?>">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title>
[<?php echo strip_tags($conf['title'])?> // the last word]
<?php tpl_pagetitle()?>
</title>
<?php tpl_metaheaders(false,$CONF_TPL)?>
<link rel="shortcut icon" href="<?php echo $DOKU_TPL?>images/favicon.ico" />
<link rel="me" type="text/html" href="http://www.google.com/profiles/pesartain" />
<link rel="alternate" type="application/rss+xml" title="pesartain.com/blog ~ The Last Word" href="/feed.php?ns=blog&num=10&linkto=current&content=html" />
<?php /*old includehook*/ @include(dirname(__FILE__).'/meta.html')?>
</head>
<body<?php if (tpl_getConf('enable')) echo " class='$sidebar_class'"; ?>>
<?php /*old includehook*/ @include(dirname(__FILE__).'/topheader.html')?>
<div class="dokuwiki">
<?php html_msgarea()?>
<!-- stylehead start -->
<div class="stylehead">
<!-- header start -->
<div class="header">
<div class="tlw">
<a href="http://pesartain.com/blog">
<img src="<?php echo $DOKU_TPL?>images/thelastword.png" alt="The Last Word"></img>
</a>
</div>
<div class="logo">
<?php
//tpl_link(wl(),$conf['title'],'name="dokuwiki__top" id="dokuwiki__top" accesskey="h" title="[ALT+H]"')
?>
<a href="http://pesartain.com"
<img src="<?php echo $DOKU_TPL?>images/twl-pesartain.com.png"></img>
</a>
<div class="logoicons">
<?php
tpl_actionlink('admin','','','<img src="'.$DOKU_TPL.'images/16/admin.png" title="Admin" alt="Admin"></img>');
tpl_actionlink('profile','','','<img src="'.$DOKU_TPL.'images/16/user.png" title="Profile" alt="Profile"></img>');
tpl_actionlink('login','','','<img src="'.$DOKU_TPL.'images/16/logged_in.png" title="Log In" alt="Log In"></img>');
?>
</div>
</div>
<div class="pagename">
:: <?php tpl_link(wl($ID,'do=backlink'),tpl_pagename($ID)) ?> ~
<div class="logoicons">
<?php
tpl_link(wl('disclaimer'),'<img src="'.$DOKU_TPL.'images/20/info.png" title="Disclaimer" alt="Disclaimer"></img>','class="img16"');
tpl_link('feed.php?ns=blog&num=10&linkto=current&content=html','<img src="'.$DOKU_TPL.'images/rss.png" title="TLW RSS" alt="TLW RSS"></img>');
tpl_actionlink('edit','','','<img src="'.$DOKU_TPL.'images/20/edit.png" class="img16" title="Edit" alt="Edit"></img>');
tpl_actionlink('history','','','<img src="'.$DOKU_TPL.'images/20/history.png" class="img16" title="Previous versions" alt="Previous versions"></img>');
?>
</div>
</div>
<div class="clearer"></div>
</div>
<!-- header stop -->
<?php /*old includehook*/ @include(dirname(__FILE__).'/header.html')?>
<div class="toprip"> </div>
</div>
<!-- stylhead stop -->
<?php flush()?>
<?php /*old includehook*/ @include(dirname(__FILE__).'/pageheader.html')?>
<!-- content start -->
<div class="content">
<!-- breadcrumbs start -->
<?php if($conf['breadcrumbs']){?>
<div class="breadcrumbs">
<?php tpl_breadcrumbs()?>
<?php //tpl_youarehere() //(some people prefer this)
?>
</div>
<?php }?>
<!-- breadcrumbs stop -->
<!-- trace start -->
<?php if($conf['youarehere']){?>
<div class="breadcrumbs">
<?php tpl_youarehere() ?>
</div>
<?php }?>
<!-- trace stop -->
<div class="clearer"> </div>
<!-- sidebar start for karate corners -->
<?php if (tpl_getConf('enable')) { ?>
<div id="sidebar" class="cornerBox">
<div class="corner TL"></div>
<div class="corner TR"></div>
<div class="corner BL"></div>
<div class="corner BR"></div>
<div class="cornerBoxInner">
<?php tpl_userinfo()?>
<div id="sidebar_content">
<?php tpl_sidebar_content('blog_sidebar'); ?>
</div>
<br></br>
<br></br>
<hr style='clear: left;'></hr>
<?php tpl_pageinfo()?>
<hr style='clear: left;'></hr>
<?php /*old includehook*/ @include(dirname(__FILE__).'/footer.html')?>
</div>
<!-- cornerBoxInner end -->
</div>
<?php } ?>
<!-- sidebar stop -->
<!-- page start -->
<div class="page">
<!-- wikipage start -->
<?php tpl_content()?>
<!-- wikipage stop -->
</div>
<!-- page stop -->
</div>
<!-- content stop -->
<div class="clearer"> </div>
<?php flush()?>
<div class="stylefoot">
<div class="footrip1"> </div>
<?php tpl_pageinfo()?>
<div class="footrip2"> </div>
</div>
</div>
<!-- dokuwiki stop -->
<div class="no"><?php tpl_indexerWebBug()?></div>
</body>
</html>