* @license GPL 2 (http://www.gnu.org/licenses/gpl.html) */ if (!defined('DOKU_INC')) die(); /* must be run from within DokuWiki */ @require_once(dirname(__FILE__).'/tpl_functions.php'); /* include hook for template functions */ $showTools = !tpl_getConf('hideTools') || ( tpl_getConf('hideTools') && $_SERVER['REMOTE_USER'] ); $showSidebar = page_findnearest($conf['sidebar']) && ($ACT=='show'); ?> <?php tpl_pagetitle() ?> [<?php echo strip_tags($conf['title']) ?>] are added to make it possible to e.g. style a page differently if it's in edit mode, see http://www.dokuwiki.org/devel:action_modes for a list of action modes */ ?>

','id="dokuwiki__top" accesskey="h" title="[H]"') */ ?>

    would be: tpl_action('edit', 0, 'li') */ if ($_SERVER['REMOTE_USER']) { echo '
  • '; tpl_userinfo(); /* 'Logged in as ...' */ echo '
  • '; } tpl_action('admin', 1, 'li'); _tpl_action('userpage', 1, 'li'); tpl_action('profile', 1, 'li'); tpl_action('register', 1, 'li'); tpl_action('login', 1, 'li'); ?>