summaryrefslogtreecommitdiffstatshomepage
path: root/templates/bookmarkcommondescriptionedit.tpl.php
diff options
context:
space:
mode:
authorGravatar mensonge2008-11-25 15:57:29 +0000
committerGravatar mensonge2008-11-25 15:57:29 +0000
commit15b91c7e661d928d8b125ec9cfbda1702319c8b4 (patch)
tree092d474c05e414bb04a8c428b8ff6cb9ccab765d /templates/bookmarkcommondescriptionedit.tpl.php
parent9aafe7551eb5a73739709e72465031db7a1531b4 (diff)
downloadscuttle-15b91c7e661d928d8b125ec9cfbda1702319c8b4.tar.gz
scuttle-15b91c7e661d928d8b125ec9cfbda1702319c8b4.zip
Major refactoring: transform user into object, define parameters used into each file, ...
git-svn-id: https://semanticscuttle.svn.sourceforge.net/svnroot/semanticscuttle/trunk@173 b3834d28-1941-0410-a4f8-b48e95affb8f
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() {