diff options
author | Clarence Lee <spicynoodles at gmail dot com> | 2011-08-29 17:58:31 +0100 |
---|---|---|
committer | Clarence Lee <spicynoodles at gmail dot com> | 2011-08-29 17:58:31 +0100 |
commit | 2124c86c25601843a6af4156ee5d1641b1bd714a (patch) | |
tree | 9843a9ead2f04e4a0611c2f13572aeadd9bd85c2 /main.php | |
parent | 1c2583d6e97f3220db6eb34b0cd5243369b5d41b (diff) | |
parent | edb1239b12e661f71fda343716448857681cbe53 (diff) | |
download | rpg-2124c86c25601843a6af4156ee5d1641b1bd714a.tar.gz rpg-2124c86c25601843a6af4156ee5d1641b1bd714a.tar.bz2 |
added design folder for mockups: edit highlighting and toc
Diffstat (limited to 'main.php')
-rwxr-xr-x | main.php | 39 |
1 files changed, 17 insertions, 22 deletions
@@ -18,7 +18,7 @@ $showTools = !tpl_getConf('hideTools') || ( tpl_getConf('hideTools') && $_SERVER <meta http-equiv="Content-Type" content="text/html; charset=utf-8" /> <title><?php tpl_pagetitle() ?> [<?php echo strip_tags($conf['title']) ?>]</title> <?php tpl_metaheaders() ?> - <link rel="shortcut icon" href="<?php echo _tpl_getFavicon() /* DW versions > 2010-11-12 can use the core function tpl_getFavicon() */ ?>" /> + <link rel="shortcut icon" href="<?php echo tpl_getFavicon() ?>" /> <?php _tpl_include('meta.html') ?> </head> @@ -56,24 +56,21 @@ $showTools = !tpl_getConf('hideTools') || ( tpl_getConf('hideTools') && $_SERVER <!-- USER TOOLS --> <?php if ($conf['useacl'] && $showTools): ?> <div id="dokuwiki__usertools"> - <div class="inner"> - <h3 class="a11y"><?php echo tpl_getLang('user_tools') ?></h3> - <ul> - <?php /* the optional second parameter of tpl_action() switches between a link and a button, - e.g. a button inside a <li> would be: tpl_action('edit',0,'li') */ - if ($_SERVER['REMOTE_USER']) { - echo '<li class="user">'; - tpl_userinfo(); /* 'Logged in as ...' */ - echo '</li>'; - } - 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'); - ?> - </ul> - </div> + <h3 class="a11y"><?php echo tpl_getLang('user_tools') ?></h3> + <ul> + <?php /* the optional second parameter of tpl_action() switches between a link and a button, + e.g. a button inside a <li> would be: tpl_action('edit',0,'li') */ + if ($_SERVER['REMOTE_USER']) { + echo '<li class="user">'; + tpl_userinfo(); /* 'Logged in as ...' */ + echo '</li>'; + } + tpl_action('admin', 1, 'li'); + tpl_action('profile', 1, 'li'); + tpl_action('register', 1, 'li'); + tpl_action('login', 1, 'li'); + ?> + </ul> </div> <?php endif ?> @@ -90,7 +87,6 @@ $showTools = !tpl_getConf('hideTools') || ( tpl_getConf('hideTools') && $_SERVER </div> </div> - <div class="clearer"></div> <div class="clearer"></div> <hr class="a11y" /> @@ -113,6 +109,7 @@ $showTools = !tpl_getConf('hideTools') || ( tpl_getConf('hideTools') && $_SERVER <?php if($conf['youarehere']){ ?> <div class="breadcrumbs"><?php tpl_youarehere() ?></div> <?php } ?> + <div id="page_id">[[page_id]]</div> <!-- wikipage start --> <?php tpl_content() /* the main content */ ?> @@ -140,7 +137,6 @@ $showTools = !tpl_getConf('hideTools') || ( tpl_getConf('hideTools') && $_SERVER <ul> <?php tpl_action('edit', 1, 'li'); - _tpl_action('discussion', 1, 'li'); tpl_action('history', 1, 'li'); tpl_action('backlink', 1, 'li'); tpl_action('subscribe', 1, 'li'); @@ -163,6 +159,5 @@ $showTools = !tpl_getConf('hideTools') || ( tpl_getConf('hideTools') && $_SERVER <div class="no"><?php tpl_indexerWebBug() /* provide DokuWiki housekeeping, required in all templates */ ?></div> <!--[if ( IE 6 | IE 7 | IE 8 ) ]></div><![endif]--> - <div class="header_background"></div> </body> </html> |