getButton() working
Fixed and added public page button
This commit is contained in:
parent
1ea6bba8ed
commit
bd43d21107
|
@ -56,6 +56,8 @@ class helper_plugin_userhomepage extends DokuWiki_Plugin {
|
|||
global $lang;
|
||||
if ($type == "private") {
|
||||
echo '<form class="button btn_show" method="post" action="doku.php?id='.$this->getPrivateID().'"><input class="button" type="submit" value="'.$this->getLang('privatenamespace').'"/></form>';
|
||||
} elseif ($type == "public") {
|
||||
echo '<form class="button btn_show" method="post" action="doku.php?id='.$this->getPublicID().'"><input class="button" type="submit" value="'.$this->getLang('publicpage').'"/></form>';
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue