2008-09-24 23:02:16 -06:00
|
|
|
|
|
|
|
<div id="header">
|
|
|
|
<div class="superHeader">
|
|
|
|
% cat `{ get_lib_file top_bar.inc }
|
|
|
|
</div>
|
|
|
|
|
|
|
|
<div class="midHeader">
|
2009-01-09 20:57:41 -07:00
|
|
|
<h1 class="headerTitle"><a href="/">%($"siteTitle%)<span id="headerSubTitle">%( $"siteSubTitle%)</span></a></h1>
|
2008-09-24 23:02:16 -06:00
|
|
|
</div>
|
|
|
|
|
|
|
|
<div class="subHeader">
|
|
|
|
<br />
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
|
2009-01-02 18:01:42 -07:00
|
|
|
% if(! ~ $#sidebar 0) {
|
2008-09-24 23:02:16 -06:00
|
|
|
<div id="side-bar">
|
|
|
|
|
|
|
|
<div>
|
2008-10-21 08:37:43 -06:00
|
|
|
%{
|
2009-01-02 18:01:42 -07:00
|
|
|
if(! ~ $#sideBarNavTitle 0)
|
2008-10-21 08:37:43 -06:00
|
|
|
echo '<p class="sideBarTitle">'$"sideBarNavTitle':</p>'
|
|
|
|
|
|
|
|
gensidebar
|
|
|
|
|
|
|
|
%}
|
|
|
|
</div>
|
|
|
|
|
2009-01-02 18:01:42 -07:00
|
|
|
% if(! ~ $#wiki 0 && test -f $local_path.md && check_user $wiki_editors_group) {
|
2008-10-21 08:37:43 -06:00
|
|
|
<div>
|
|
|
|
<form action="/_apps/dirdir/edit" method="POST">
|
|
|
|
<input type="hidden" name="edit_wiki_page" value="%($req_path%)" />
|
|
|
|
<input type="submit" name="" value="Edit page" />
|
|
|
|
</form>
|
2008-09-24 23:02:16 -06:00
|
|
|
</div>
|
2008-10-21 08:37:43 -06:00
|
|
|
% }
|
2008-09-24 23:02:16 -06:00
|
|
|
|
|
|
|
<div>
|
|
|
|
</div>
|
|
|
|
|
|
|
|
</div>
|
|
|
|
% }
|
|
|
|
|
|
|
|
<div id="main-copy">
|
|
|
|
|
2009-01-10 20:03:46 -07:00
|
|
|
% run_handlers $handlers_body_head
|
2008-09-26 06:23:19 -06:00
|
|
|
|
2009-01-10 20:03:46 -07:00
|
|
|
% run_handler $handler_body_main
|
|
|
|
|
|
|
|
% run_handlers $handlers_body_foot
|
2008-09-26 06:23:19 -06:00
|
|
|
|
2008-09-24 23:02:16 -06:00
|
|
|
</div>
|
|
|
|
|
|
|
|
<div id="footer">
|
|
|
|
% cat `{ get_lib_file footer.inc }
|
2009-01-10 20:03:46 -07:00
|
|
|
% echo $"logged_user
|
2008-09-24 23:02:16 -06:00
|
|
|
</div>
|