From 184282577364638f44850407920a99c3e02aa41f Mon Sep 17 00:00:00 2001 From: Simon DELAGE Date: Sun, 7 Sep 2014 18:44:26 +0200 Subject: [PATCH] Added basic getButton to helper --- helper.php | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/helper.php b/helper.php index 5de0048..b686ae8 100644 --- a/helper.php +++ b/helper.php @@ -51,6 +51,14 @@ class helper_plugin_userhomepage extends DokuWiki_Plugin { } } + function getButton($type="private") { + global $INFO; + global $lang; + if ($type == "private") { + echo '
'; + } + } + function privateNamespace() { if ( $this->getConf('use_name_string')) { global $INFO;