aboutsummaryrefslogtreecommitdiff
path: root/templates
diff options
context:
space:
mode:
authormensonge <mensonge@b3834d28-1941-0410-a4f8-b48e95affb8f>2008-03-13 09:57:13 +0000
committermensonge <mensonge@b3834d28-1941-0410-a4f8-b48e95affb8f>2008-03-13 09:57:13 +0000
commit7519ba155b934d46864eaa03a90810f63d85b394 (patch)
tree2afdd3b58452eae79caee8d9e328cc114d49e036 /templates
parentf324c988a57b6d02ad45dcb2aa6d9ef54ff839e5 (diff)
downloadsemanticscuttle-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')
-rw-r--r--templates/bookmarks.tpl.php5
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>';
}