* @author: Klaus Vormweg */ // must be run from within DokuWiki if (!defined('DOKU_INC')) die(); // include custom template functions require_once(dirname(__FILE__).'/tpl_functions.php'); echo ' ',"\n"; tpl_pagetitle(); echo ' [', strip_tags($conf['title']), ']'; echo ' ',"\n"; tpl_metaheaders(); echo tpl_favicon(array('favicon', 'mobile')); if($conf['tpl']['wallpaper']['fixedbackground']) { echo ' ',"\n"; } echo '
',"\n"; html_msgarea(); echo '
',"\n"; tpl_link(wl(),$conf['title'],' id="dokuwiki__top" accesskey="h" title="[ALT+H]"'); echo '
',"\n"; flush(); if($ACT != 'diff' && $ACT != 'edit' && $ACT != 'preview' && $ACT != 'admin' && $ACT != 'login' && $ACT != 'logout' && $ACT != 'profile' && $ACT != 'revisions') { echo '
',"\n"; tpl_content(); echo '
',"\n"; } else { echo '
',"\n"; tpl_content(); echo '
',"\n"; } tpl_flush(); echo '
',"\n"; if($ACT != 'diff' && $ACT != 'edit' && $ACT != 'preview' && $ACT != 'admin' && $ACT != 'login' && $ACT != 'logout' && $ACT != 'profile' && $ACT != 'revisions') { echo '
',"\n"; _wp_tpl_pageinfo(); echo '
',"\n"; } else { echo '
',"\n"; } echo '
',"\n"; tpl_button('admin'); if($ACT != 'login' && $ACT != 'logout') { tpl_button('login'); echo ' '; } if($_SERVER['REMOTE_USER']){ tpl_button('subscribe'); tpl_button('profile'); tpl_button('history'); } echo ' 
',"\n"; if($ACT != 'login' && $ACT != 'logout') { if($conf['tpl']['wallpaper']['showsearch']) { tpl_searchform(); echo ' '; } if(!$_SERVER['REMOTE_USER']){ if($conf['tpl']['wallpaper']['showmedia']) { tpl_button('media'); } } else { tpl_button('media'); } } tpl_button('edit'); $dw2pdf = &plugin_load('action','dw2pdf'); if($dw2pdf) { global $REV; echo '
',"\n"; } echo '
'; /* provide DokuWiki housekeeping, required in all templates */ tpl_indexerWebBug(); echo '
',"\n"; ?>