Got helper working

This commit is contained in:
Simon DELAGE 2014-09-03 04:32:55 +02:00
parent 45a8099bf3
commit 55add7eb37
2 changed files with 4 additions and 3 deletions

View File

@ -57,9 +57,10 @@ class helper_plugin_userhomepage extends DokuWiki_Plugin {
// }
// }
// //draws a home link, used by calls from main.php in template folder
// function homeLink() {
// function privateLink() {
// $this->init();
// if ($_SERVER['REMOTE_USER']!=null) {
// echo '<li>'.$lang['loggedinas'].' : <a href="'.wl($privatens).'" class="iw_user" rel="nofollow" title="Private NS">'.$INFO['userinfo']['name'].' ('.$_SERVER['REMOTE_USER'].')</a></li>';
// echo '<a href="doku.php?id='.$this->private_page.'">Home</a>';
// }
// }

View File

@ -1,7 +1,7 @@
base userhomepage
author Simon Delage
email simon.geekitude@gmail.com
date 2014-08-31
date 2014-09-03
name User Homepage
desc Automatically create user's private namespace and/or public page if needed and redirects users to private namespace on login.
desc Automatically create user's private namespace and/or public page and redirects users to private namespace on login.
url https://www.dokuwiki.org/plugin:userhomepage