From 3b79d6b9cc75eaf2b54f6d41843a313b13395c8d Mon Sep 17 00:00:00 2001
From: mensonge
Date: Mon, 21 Apr 2008 15:43:00 +0000
Subject: New feature: private descriptions for tags
git-svn-id: https://semanticscuttle.svn.sourceforge.net/svnroot/semanticscuttle/trunk@117 b3834d28-1941-0410-a4f8-b48e95affb8f
---
templates/bookmarks.tpl.php | 18 +++++++++++++++--
templates/sidebar.block.tagactions.php | 2 ++
templates/tagedit.tpl.php | 35 ++++++++++++++++++++++++++++++++++
3 files changed, 53 insertions(+), 2 deletions(-)
create mode 100644 templates/tagedit.tpl.php
(limited to 'templates')
diff --git a/templates/bookmarks.tpl.php b/templates/bookmarks.tpl.php
index cc4743c..dfcf1c7 100644
--- a/templates/bookmarks.tpl.php
+++ b/templates/bookmarks.tpl.php
@@ -1,6 +1,7 @@
getCurrentUserId();
@@ -41,6 +42,19 @@ if($logged_on_userid>0) {
+getUserByUsername($user);
+/* Private tag description */
+if(isset($currenttag) && strlen($user)>0 && $tagservice->getDescription($currenttag, $userObject['uId'])):?>
+
+getDescription($currenttag, $userObject['uId']);
+ echo nl2br(filter($description['tDescription']));
+?>
+
+
+
0) { ?>
+
+
+
+
+
+
+
+
+includeTemplate($GLOBALS['bottom_include']);
+?>
--
cgit v1.2.3