From fd6dca81042d7a1a200657e4975ada2564404db3 Mon Sep 17 00:00:00 2001
From: mensonge
Date: Wed, 20 Feb 2008 13:43:06 +0000
Subject: Interface fix: make consistent the general navigation between
personal and common spaces
git-svn-id: https://semanticscuttle.svn.sourceforge.net/svnroot/semanticscuttle/trunk@47 b3834d28-1941-0410-a4f8-b48e95affb8f
---
templates/bookmarks.tpl.php | 24 +++++++++++++++++++++++-
1 file changed, 23 insertions(+), 1 deletion(-)
(limited to 'templates/bookmarks.tpl.php')
diff --git a/templates/bookmarks.tpl.php b/templates/bookmarks.tpl.php
index 7837e6c..e4cfe04 100644
--- a/templates/bookmarks.tpl.php
+++ b/templates/bookmarks.tpl.php
@@ -4,6 +4,9 @@ $bookmarkservice =& ServiceFactory::getServiceInstance('BookmarkService');
$cdservice =& ServiceFactory::getServiceInstance('CommonDescriptionService');
$logged_on_userid = $userservice->getCurrentUserId();
+$currentUser = $userservice->getCurrentUser();
+$currentUsername = $currentUser[$userservice->getFieldName('username')];
+
$this->includeTemplate($GLOBALS['top_include']);
include('search.inc.php');
@@ -54,8 +57,26 @@ window.onload = playerLoad;
+
+ ';
+ echo T_('Bookmarks from other users for these tags').'';
+ //echo T_(' for these tags');
+ } else if($logged_on_userid>0){
+ echo ' - ';
+ echo '';
+ echo T_('Only your bookmarks for these tags').'';
+ //echo T_(' for these tags');
+ }
+ }
+ ?>
+
+
0 ? ' start="'. ++$start .'"' : ''); ?> id="bookmarks">
'. filter($tag) .', ';
+ $cats .= ''. filter($tag) .', ';
}
$cats = substr($cats, 0, -2);
if ($cats != '') {
--
cgit v1.2.3