diff --git a/helper.php b/helper.php
index 3bffde9..539c3a3 100644
--- a/helper.php
+++ b/helper.php
@@ -33,6 +33,8 @@ class helper_plugin_userhomepage extends DokuWiki_Plugin {
}
}
+ // Returns a link to current user's private namespace start page (even if it doesn't exist)
+ // If @param == "loggedinas", the link will be wraped in an
element
function getPrivateLink($param=null) {
global $INFO;
global $lang;
@@ -45,6 +47,8 @@ class helper_plugin_userhomepage extends DokuWiki_Plugin {
}
}
+ // Returns a link to current user's public page (even if it doesn't exist)
+ // If @param == "loggedinas", the link will be wraped in an element
function getPublicLink($param=null) {
global $INFO;
global $lang;
@@ -75,8 +79,9 @@ class helper_plugin_userhomepage extends DokuWiki_Plugin {
}
}
+ // Returns a link to any user's public page (user login is required and page must exist)
+ // This is to provide proper "Last update by" link
function getAnyPublicLink($userLogin) {
-// global $INFO;
global $lang;
if ($userLogin != null) {
$publicID = $this->getPublicID($userLogin);
diff --git a/plugin.info.txt b/plugin.info.txt
index 8d288a9..6daa6e6 100644
--- a/plugin.info.txt
+++ b/plugin.info.txt
@@ -1,7 +1,7 @@
base userhomepage
author Simon Delage
email simon.geekitude@gmail.com
-date 2015-03-25
+date 2015-03-26
name User Homepage
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