1<?php
2/**
3 * DokuWiki LCARS Template
4 *
5 * This is the template you need to change for the overall look
6 * of DokuWiki.
7 *
8 * @link   http://dokuwiki.org/templates
9 * @author Paweł Knap <me@pawelknap.com>
10 */
11// must be run from within DokuWiki
12if (!defined('DOKU_INC')) die();
13
14?>
15<!DOCTYPE html>
16<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="<?php echo $conf['lang']?>"
17 lang="<?php echo $conf['lang']?>" dir="<?php echo $lang['direction']?>">
18<head>
19  <meta charset="utf-8" />
20  <title>
21    <?php tpl_pagetitle()?>
22    [<?php echo strip_tags($conf['title'])?>]
23  </title>
24
25  <?php tpl_metaheaders()?>
26
27  // <link rel="shortcut icon" href="<?php echo tpl_getFavicon() ?>" />
28  <?php echo tpl_favicon() ?>
29
30  <?php
31  /*old includehook*/ @include(dirname(__FILE__).'/meta.html')
32  ?>
33  <script type="text/javascript" src="http://ajax.googleapis.com/ajax/libs/jquery/1.7.0/jquery.min.js"></script>
34  <script type="text/javascript" src="<?php echo DOKU_TPL;?>js/functions.js"></script>
35  <?php if(tpl_getConf('fonts') == 1){?>
36  <script type="text/javascript" src="<?php echo DOKU_TPL;?>js/cufon-yui.js"></script>
37  <script type="text/javascript" src="<?php echo DOKU_TPL;?>js/LCARS_400.font.js"></script>
38  <script type="text/javascript">
39  	Cufon.replace(".logo");
40  	Cufon.replace(".pagename");
41  	Cufon.replace("span.button");
42  	Cufon.replace(".breadcrumbs");
43  	Cufon.replace("h1, h2, h3, h4, h5, h6");
44  	Cufon.replace("a.action");
45  	Cufon.replace("#toc__header");
46  </script>
47  <?php }?>
48</head>
49
50<body>
51<div class="dokuwiki">
52  <!--<?php html_msgarea()?>-->
53
54  <div class="stylehead">
55
56    <div id="header">
57    	<div class="breadcrumbs">
58    	<?php if($conf['breadcrumbs']){?>
59      			<?php tpl_breadcrumbs()?>
60    	<?php }?>
61    	<?php if($conf['youarehere']){?>
62      			<br/><?php tpl_youarehere() ?>
63    	<?php }?>
64    	</div>
65      <div class="logo">
66        <?php tpl_link(wl(),$conf['title'],'name="dokuwiki__top" id="dokuwiki__top" accesskey="h" title="[H]"')?>
67      </div>
68      <div class="pagename">
69        <?php tpl_link(wl($ID,'do=backlink'),tpl_pagetitle($ID,true),'title="'.$lang['btn_backlink'].'"')?>
70      </div>
71      <div class="clearer"></div>
72    </div><!--end header-->
73
74    <div class="bar" id="bar__top">
75      <div class="bar-left" id="bar__topleft">
76        <?php tpl_searchform()?>
77      </div>
78
79      <div class="bar-right" id="bar__topright">
80      	<div class="nav_buttons">
81        	<?php tpl_actionlink('edit')?>
82        	<?php tpl_actionlink('history')?>
83        	<?php tpl_actionlink('recent')?>
84        </div>
85      </div>
86
87      <div class="clearer"></div>
88    </div>
89
90  </div>
91  <?php tpl_flush()?>
92
93  <div class="page clearfix">
94  	<div class="content clearfix">
95    <!-- wikipage start -->
96    	<?php tpl_content()?>
97    <!-- wikipage stop -->
98    </div>
99  </div>
100
101  <?php tpl_flush()?>
102  <div id="footer">
103  <div class="stylefoot clearfix">
104
105    <div class="meta">
106      <!--<div class="user">
107        <?php tpl_userinfo()?>
108      </div>
109      <div class="doc">
110        <?php tpl_pageinfo()?>
111      </div>-->
112    </div>
113
114
115    <div class="bar" id="bar__bottom">
116      <div class="bar-left" id="bar__bottomleft">
117        <?php tpl_actionlink('edit')?>
118        <?php tpl_actionlink('history')?>
119        <?php tpl_actionlink('revert')?>
120      </div>
121      <div class="bar-right" id="bar__bottomright">
122        <?php tpl_actionlink('subscribe')?>
123        <?php tpl_actionlink('admin')?>
124        <?php tpl_actionlink('profile')?>
125        <?php tpl_actionlink('login')?>
126        <?php tpl_actionlink('index')?>
127        <?php tpl_actionlink('top')?>
128      </div>
129      <div class="clearer"></div>
130    </div>
131
132  </div>
133  </div><!--end footer-->
134  <div id="license">
135  	<div id="bar_license"></div>
136	<?php tpl_license(false);?>
137  </div>
138</div>
139
140<div class="no"><?php /* provide DokuWiki housekeeping, required in all templates */ tpl_indexerWebBug()?></div>
141</body>
142</html>
143