aboutsummaryrefslogtreecommitdiff
path: root/mod/profile/start.php
diff options
context:
space:
mode:
Diffstat (limited to 'mod/profile/start.php')
-rw-r--r--mod/profile/start.php12
1 files changed, 12 insertions, 0 deletions
diff --git a/mod/profile/start.php b/mod/profile/start.php
index b26abb93f..9ad88fab6 100644
--- a/mod/profile/start.php
+++ b/mod/profile/start.php
@@ -44,6 +44,7 @@
// Register a page handler, so we can have nice URLs
register_page_handler('profile','profile_page_handler');
register_page_handler('icon','profile_icon_handler');
+ register_page_handler('iconjs','profile_iconjs_handler');
// Add Javascript reference to the page header
extend_view('metatags','profile/metatags');
@@ -104,6 +105,17 @@
}
/**
+ * Icon JS
+ */
+ function profile_iconjs_handler($page) {
+
+ global $CONFIG;
+
+ include($CONFIG->pluginspath . "profile/javascript.php");
+
+ }
+
+ /**
* Profile URL generator for $user->getUrl();
*
* @param ElggUser $user