From a98e5ff889a82858e34397cc0231b30d8ff2d59a Mon Sep 17 00:00:00 2001 From: mensonge Date: Mon, 9 Feb 2009 14:28:46 +0000 Subject: Interface fix: improve subtitle display. git-svn-id: https://semanticscuttle.svn.sourceforge.net/svnroot/semanticscuttle/trunk@264 b3834d28-1941-0410-a4f8-b48e95affb8f --- scuttle.css | 2 +- services/tagservice.php | 2 +- templates/bookmarks.tpl.php | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/scuttle.css b/scuttle.css index 17fe23a..00f231c 100644 --- a/scuttle.css +++ b/scuttle.css @@ -145,7 +145,7 @@ h2 { background: #666 url('images/bg_bar.png') center center repeat-x; border-bottom: 3px solid #DDD; clear: both; - color: #DDD; + color: #FFF; font-size: medium; letter-spacing: 0.1em; margin: 0 0 1em 0; diff --git a/services/tagservice.php b/services/tagservice.php index fba85fa..02f5c2b 100644 --- a/services/tagservice.php +++ b/services/tagservice.php @@ -48,7 +48,7 @@ class TagService { function updateDescription($tag, $uId, $desc) { $objectTag = $this->getDescription($tag, $uId); - if(count($objectTag)>0 && $objectTag['tDescription'] != '') { + if(count($objectTag)>0 ) { $query = 'UPDATE '.$this->getTableName(); $query.= ' SET tDescription="'.$this->db->sql_escape($desc).'"'; $query.= ' WHERE tag="'.$tag.'" AND uId="'.$uId.'"'; diff --git a/templates/bookmarks.tpl.php b/templates/bookmarks.tpl.php index b0ed3e8..f7cec77 100644 --- a/templates/bookmarks.tpl.php +++ b/templates/bookmarks.tpl.php @@ -159,7 +159,7 @@ if($currenttag!= '') { } // Last update - $update = ' ('. T_('update') .' '. date($GLOBALS['shortdate'], strtotime($row['bModified'])). ') '; + $update = ' ('. date($GLOBALS['shortdate'], strtotime($row['bModified'])). ') '; // User attribution $copy = ' '. T_('by'). ' '; -- cgit v1.2.3-54-g00ecf