Added basic getButton to helper

This commit is contained in:
Simon DELAGE 2014-09-07 18:44:26 +02:00
parent 3921f0fffc
commit 1842825773

View file

@ -51,6 +51,14 @@ class helper_plugin_userhomepage extends DokuWiki_Plugin {
}
}
function getButton($type="private") {
global $INFO;
global $lang;
if ($type == "private") {
echo '<form class="button btn_show" method="post" action="doku.php?id='.$this->private_page.'"><input class="button" type="submit" value="'.$this->getLang('privatenamespace').'"/></form>';
}
}
function privateNamespace() {
if ( $this->getConf('use_name_string')) {
global $INFO;