From 7519ba155b934d46864eaa03a90810f63d85b394 Mon Sep 17 00:00:00 2001 From: mensonge Date: Thu, 13 Mar 2008 09:57:13 +0000 Subject: Interface fix: improve visualisation in history if no descriptions for bookmarks git-svn-id: https://semanticscuttle.svn.sourceforge.net/svnroot/semanticscuttle/trunk@76 b3834d28-1941-0410-a4f8-b48e95affb8f --- templates/bookmarks.tpl.php | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/templates/bookmarks.tpl.php b/templates/bookmarks.tpl.php index 9729802..84a67fe 100644 --- a/templates/bookmarks.tpl.php +++ b/templates/bookmarks.tpl.php @@ -164,9 +164,10 @@ window.onload = playerLoad; echo '
'; echo '\n"; - if ($row['bDescription'] != '') { - echo '
'. filter($row['bDescription']) ."
\n"; + if ($row['bDescription'] == '') { + $row['bDescription'] = '-'; } + echo '
'. filter($row['bDescription']) ."
\n"; if(!isset($hash)) { echo '
'.$address.'
'; } -- cgit v1.2.3