* @author Andreas Gohr * @author Anika Henke */ if (!defined('DOKU_INC')) die(); /* must be run from within DokuWiki */ @require_once(dirname(__FILE__).'/tpl_functions.php'); /* include hook for template functions */ ?>

    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'); /* DW versions > 2011-02-20 can use the core function tpl_action('register', 1, 'li') */ tpl_action('login', 1, 'li'); ?>