summaryrefslogtreecommitdiff
path: root/templates/bookmarkcommondescriptionedit.tpl.php
diff options
context:
space:
mode:
Diffstat (limited to 'templates/bookmarkcommondescriptionedit.tpl.php')
-rw-r--r--templates/bookmarkcommondescriptionedit.tpl.php7
1 files changed, 6 insertions, 1 deletions
diff --git a/templates/bookmarkcommondescriptionedit.tpl.php b/templates/bookmarkcommondescriptionedit.tpl.php
index 39f20ae..053ee30 100644
--- a/templates/bookmarkcommondescriptionedit.tpl.php
+++ b/templates/bookmarkcommondescriptionedit.tpl.php
@@ -1,7 +1,12 @@
<?php
-$this->includeTemplate($GLOBALS['top_include']);
+/* Service creation: only useful services are created */
$userservice = & ServiceFactory :: getServiceInstance('UserService');
+
+$this->includeTemplate($GLOBALS['top_include']);
+
list ($url, $hash) = explode('/', $_SERVER['PATH_INFO']);
+
+
?>
<script type="text/javascript">
window.onload = function() {