]> gitweb.fluxo.info Git - semanticscuttle.git/commitdiff
Interface fix: improve visualisation in history if no descriptions for bookmarks
authormensonge <mensonge@b3834d28-1941-0410-a4f8-b48e95affb8f>
Thu, 13 Mar 2008 09:57:13 +0000 (09:57 +0000)
committermensonge <mensonge@b3834d28-1941-0410-a4f8-b48e95affb8f>
Thu, 13 Mar 2008 09:57:13 +0000 (09:57 +0000)
git-svn-id: https://semanticscuttle.svn.sourceforge.net/svnroot/semanticscuttle/trunk@76 b3834d28-1941-0410-a4f8-b48e95affb8f

templates/bookmarks.tpl.php

index 97298025a68214e2fb14d4de775ef3240e54bc2c..84a67fe565f3bded98c1457a203dd0f4a02a37ef 100644 (file)
@@ -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>';
        }