diff options
author | mensonge <mensonge@b3834d28-1941-0410-a4f8-b48e95affb8f> | 2008-03-13 09:57:13 +0000 |
---|---|---|
committer | mensonge <mensonge@b3834d28-1941-0410-a4f8-b48e95affb8f> | 2008-03-13 09:57:13 +0000 |
commit | 7519ba155b934d46864eaa03a90810f63d85b394 (patch) | |
tree | 2afdd3b58452eae79caee8d9e328cc114d49e036 /templates/bookmarks.tpl.php | |
parent | f324c988a57b6d02ad45dcb2aa6d9ef54ff839e5 (diff) | |
download | semanticscuttle-7519ba155b934d46864eaa03a90810f63d85b394.tar.gz semanticscuttle-7519ba155b934d46864eaa03a90810f63d85b394.tar.bz2 |
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
Diffstat (limited to 'templates/bookmarks.tpl.php')
-rw-r--r-- | templates/bookmarks.tpl.php | 5 |
1 files 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 '<div>'; echo '<div class="link"><a href="'. $address .'"'. $rel .' class="taggedlink">'. filter($row['bTitle']) ."</a></div>\n"; - if ($row['bDescription'] != '') { - echo '<div class="description">'. filter($row['bDescription']) ."</div>\n"; + if ($row['bDescription'] == '') { + $row['bDescription'] = '-'; } + echo '<div class="description">'. filter($row['bDescription']) ."</div>\n"; if(!isset($hash)) { echo '<div class="address">'.$address.'</div>'; } |