summaryrefslogtreecommitdiff
path: root/inc
diff options
context:
space:
mode:
Diffstat (limited to 'inc')
-rw-r--r--inc/template.php19
1 files changed, 0 insertions, 19 deletions
diff --git a/inc/template.php b/inc/template.php
index fb468d041..60e178d1a 100644
--- a/inc/template.php
+++ b/inc/template.php
@@ -1786,24 +1786,5 @@ function tpl_classes() {
return join(' ', $classes);
}
-/**
- * Create event for tools menues
- *
- * @author Anika Henke <anika@selfthinker.org>
- */
-function tpl_toolsevent($toolsname, $items, $view='main') {
- $data = array(
- 'view' => $view,
- 'items' => $items
- );
-
- $hook = 'TEMPLATE_'.strtoupper($toolsname).'_DISPLAY';
- $evt = new Doku_Event($hook, $data);
- if($evt->advise_before()){
- foreach($evt->data['items'] as $k => $html) echo $html;
- }
- $evt->advise_after();
-}
-
//Setup VIM: ex: et ts=4 :