summaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
authorAnika Henke <anika@selfthinker.org>2015-08-01 13:39:51 +0100
committerAnika Henke <anika@selfthinker.org>2015-08-01 13:39:51 +0100
commitb6171b3218e7aafa62e2d52078f1334582408bc0 (patch)
tree8186f1d8f83d277a98f22192ca8d0d475b04c5fe /lib
parentc4deb92e8cefd8aa95fcb3333319df6bc2993aeb (diff)
parent84dd2b1a576208ba24c01a2df14bdbed57a8ece8 (diff)
downloadrpg-b6171b3218e7aafa62e2d52078f1334582408bc0.tar.gz
rpg-b6171b3218e7aafa62e2d52078f1334582408bc0.tar.bz2
Merge pull request #1278 from splitbrain/sitetools_usertools
TEMPLATE_SITETOOLS_DISPLAY and TEMPLATE_USERTOOLS_DISPLAY
Diffstat (limited to 'lib')
-rw-r--r--lib/tpl/dokuwiki/tpl_header.php18
1 files changed, 11 insertions, 7 deletions
diff --git a/lib/tpl/dokuwiki/tpl_header.php b/lib/tpl/dokuwiki/tpl_header.php
index ee51cbd01..ab56f1ef8 100644
--- a/lib/tpl/dokuwiki/tpl_header.php
+++ b/lib/tpl/dokuwiki/tpl_header.php
@@ -46,10 +46,12 @@ if (!defined('DOKU_INC')) die();
tpl_userinfo(); /* 'Logged in as ...' */
echo '</li>';
}
- tpl_action('admin', true, 'li');
- tpl_action('profile', true, 'li');
- tpl_action('register', true, 'li');
- tpl_action('login', true, 'li');
+ tpl_toolsevent('usertools', array(
+ tpl_action('admin', true, 'li', true),
+ tpl_action('profile', true, 'li', true),
+ tpl_action('register', true, 'li', true),
+ tpl_action('login', true, 'li', true)
+ ));
?>
</ul>
</div>
@@ -64,9 +66,11 @@ if (!defined('DOKU_INC')) die();
</div>
<ul>
<?php
- tpl_action('recent', true, 'li');
- tpl_action('media', true, 'li');
- tpl_action('index', true, 'li');
+ tpl_toolsevent('sitetools', array(
+ tpl_action('recent', true, 'li', true),
+ tpl_action('media', true, 'li', true),
+ tpl_action('bds', true, 'li', true)
+ ));
?>
</ul>
</div>