diff options
author | Christopher Smith <chris@jalakai.co.uk> | 2013-10-04 17:59:13 +0100 |
---|---|---|
committer | Christopher Smith <chris@jalakai.co.uk> | 2013-10-04 17:59:13 +0100 |
commit | 4432749ab2140ede94ac1c724ab39b7219fdb406 (patch) | |
tree | ded234d57f69ea834f8d2f4d01d056d169a58361 /lib/tpl/dokuwiki/main.php | |
parent | 7e428f98724dce1d9472be312d44ea66d799a2db (diff) | |
download | rpg-4432749ab2140ede94ac1c724ab39b7219fdb406.tar.gz rpg-4432749ab2140ede94ac1c724ab39b7219fdb406.tar.bz2 |
RS#2860 fix configuration option key to 'template'
Diffstat (limited to 'lib/tpl/dokuwiki/main.php')
-rw-r--r-- | lib/tpl/dokuwiki/main.php | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/lib/tpl/dokuwiki/main.php b/lib/tpl/dokuwiki/main.php index 9e507d86d..f6ca4ed86 100644 --- a/lib/tpl/dokuwiki/main.php +++ b/lib/tpl/dokuwiki/main.php @@ -83,11 +83,11 @@ $showSidebar = $hasSidebar && ($ACT=='show'); 'top' => tpl_action('top', 1, 'li', 1, '<span>', '</span>') ); - // the page tools can be ammended through a custom plugin hook + // the page tools can be amended through a custom plugin hook // if you're deriving from this template and your design is close enough to // the dokuwiki template you might want to trigger a DOKUWIKI event instead - // of using $conf['tpl'] here - $hook = 'TEMPLATE_'.strtoupper($conf['tpl']).'_PAGETOOLS_DISPLAY'; + // of using $conf['template'] here + $hook = 'TEMPLATE_'.strtoupper($conf['template']).'_PAGETOOLS_DISPLAY'; $evt = new Doku_Event($hook, $data); if($evt->advise_before()){ foreach($evt->data as $k => $html) echo $html; |