* @author Klaus Vormweg */ // must be run from within DokuWiki if (!defined('DOKU_INC')) die(); // include custom template functions stolen from arctic template require_once(dirname(__FILE__).'/tpl_functions.php'); echo ' ',"\n"; tpl_pagetitle(); echo '[', strip_tags($conf['title']), '] ',"\n"; tpl_metaheaders(); echo tpl_favicon(array('favicon', 'mobile')); echo '
',"\n"; html_msgarea(); echo '
',"\n"; tpl_link(wl(),$conf['title'],'name="dokuwiki__top" id="dokuwiki__top" accesskey="h" title="[ALT+H]"'); echo '
',"\n"; if($conf['breadcrumbs']){ echo ' ',"\n"; } if($conf['youarehere']){ echo ' ',"\n"; } echo '
',"\n"; tpl_flush(); if($ACT != 'diff' and $ACT != 'edit' and $ACT != 'preview' and $ACT != 'admin' and $ACT != 'login' and $ACT != 'logout' and $ACT != 'profile' and $ACT != 'revisions') { echo '
',"\n"; tpl_content(); echo '
',"\n"; } else { echo '
',"\n"; tpl_content(); echo '
',"\n"; } tpl_flush(); echo '
',"\n"; if($ACT != 'diff' and $ACT != 'edit' and $ACT != 'preview' and $ACT != 'admin' and $ACT != 'login' and $ACT != 'logout' and $ACT != 'profile' and $ACT != 'revisions') { echo '
',"\n"; _tpl_pageinfo(); echo '
',"\n"; } else { echo '
',"\n"; } echo '
',"\n"; tpl_button('admin'); if($ACT != 'login' and $ACT != 'logout') { tpl_button('login'); echo ' '; } if($_SERVER['REMOTE_USER']){ tpl_button('subscribe'); tpl_button('profile'); tpl_button('history'); tpl_button('revert'); } if($conf['tpl']['dokucms']['showbacklinks']) { tpl_button('backlink'); echo ' '; } echo '  
',"\n"; if(!$_SERVER['REMOTE_USER']){ tpl_searchform(); echo ' '; if($conf['tpl']['dokucms']['showmedia'] and $ACT != 'login' and $ACT != 'logout') { tpl_button('media'); } } else { if($ACT != 'login' and $ACT != 'logout'){ if($conf['tpl']['dokucms']['showsearch']) { tpl_searchform(); echo ' '; } tpl_button('media'); } } tpl_button('edit'); echo ' 
',"\n"; tpl_license(false); echo '
'; /* provide DokuWiki housekeeping, required in all templates */ tpl_indexerWebBug(); echo '
',"\n"; ?>