Got helper working
This commit is contained in:
parent
45a8099bf3
commit
55add7eb37
|
@ -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>';
|
||||
// }
|
||||
// }
|
||||
|
|
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue