From b00a08b5a0ccf8d842fdafa79557bdf11ae895ea Mon Sep 17 00:00:00 2001
From: mensonge
Date: Thu, 15 Jan 2009 14:15:41 +0000
Subject: Interface Fix: add icon to access common description for tags
git-svn-id: https://semanticscuttle.svn.sourceforge.net/svnroot/semanticscuttle/trunk@233 b3834d28-1941-0410-a4f8-b48e95affb8f
---
templates/bookmarks.tpl.php | 14 +++++++++++---
1 file changed, 11 insertions(+), 3 deletions(-)
(limited to 'templates')
diff --git a/templates/bookmarks.tpl.php b/templates/bookmarks.tpl.php
index 2b30d87..c95e129 100644
--- a/templates/bookmarks.tpl.php
+++ b/templates/bookmarks.tpl.php
@@ -45,8 +45,8 @@ if(isset($currenttag) && $currenttag!= '' && $cdservice->getLastTagDescription($
//common tag description edit
if($userservice->isLoggedOn()) {
if(isset($currenttag) && $currenttag!= '') {
- echo ' (';
- echo T_('edit common description').')';
+ echo ' ';
+ echo T_('common description').'
';
} elseif(isset($hash)) {
echo ' (';
echo T_('edit common description').')';
@@ -57,7 +57,7 @@ if($userservice->isLoggedOn()) {
getUserByUsername($user);
if($tagservice->getDescription($currenttag, $userObject['uId'])) { ?>
@@ -65,6 +65,14 @@ if(isset($currenttag) && $currenttag!= '' && isset($user)) {
getDescription($currenttag, $userObject['uId']);
echo nl2br(filter($description['tDescription']));
+
+//personal tag description edit
+if($userservice->isLoggedOn()) {
+ if(isset($currenttag) && $currenttag!= '') {
+ echo ' ';
+ echo T_('personal description').'
';
+ }
+}
?>