summaryrefslogtreecommitdiff
path: root/templates
diff options
context:
space:
mode:
authormensonge <mensonge@b3834d28-1941-0410-a4f8-b48e95affb8f>2008-11-21 17:25:23 +0000
committermensonge <mensonge@b3834d28-1941-0410-a4f8-b48e95affb8f>2008-11-21 17:25:23 +0000
commit49dec692306e307bb6d39321e34044b0bc115284 (patch)
treef1d416555a7a11cc23338c2147385ea66919b8b3 /templates
parent9d22fdc36f6257de021f36b26ce33eba99d41dc0 (diff)
downloadsemanticscuttle-49dec692306e307bb6d39321e34044b0bc115284.tar.gz
semanticscuttle-49dec692306e307bb6d39321e34044b0bc115284.tar.bz2
Minor refactoring
git-svn-id: https://semanticscuttle.svn.sourceforge.net/svnroot/semanticscuttle/trunk@171 b3834d28-1941-0410-a4f8-b48e95affb8f
Diffstat (limited to 'templates')
-rw-r--r--templates/bookmarks.tpl.php4
1 files changed, 4 insertions, 0 deletions
diff --git a/templates/bookmarks.tpl.php b/templates/bookmarks.tpl.php
index 5567d7b..e95f787 100644
--- a/templates/bookmarks.tpl.php
+++ b/templates/bookmarks.tpl.php
@@ -1,9 +1,13 @@
<?php
+
+/* Service creation: only useful services are created */
$userservice =& ServiceFactory::getServiceInstance('UserService');
$bookmarkservice =& ServiceFactory::getServiceInstance('BookmarkService');
$tagservice =& ServiceFactory::getServiceInstance('TagService');
$cdservice =& ServiceFactory::getServiceInstance('CommonDescriptionService');
+
+
$logged_on_userid = $userservice->getCurrentUserId();
$currentUser = $userservice->getCurrentUser();
$currentUsername = $currentUser[$userservice->getFieldName('username')];