diff options
author | mensonge <mensonge@b3834d28-1941-0410-a4f8-b48e95affb8f> | 2008-02-19 14:19:49 +0000 |
---|---|---|
committer | mensonge <mensonge@b3834d28-1941-0410-a4f8-b48e95affb8f> | 2008-02-19 14:19:49 +0000 |
commit | 93da909d9cc514d50705d59ae95786e55b758958 (patch) | |
tree | 55f0a0cc703d6cc6ca25823485de1b790db4aa6e /templates/bookmarks.tpl.php | |
parent | 6f312b54db9179f93a09195aad2baf8964bf7c56 (diff) | |
download | semanticscuttle-93da909d9cc514d50705d59ae95786e55b758958.tar.gz semanticscuttle-93da909d9cc514d50705d59ae95786e55b758958.tar.bz2 |
Interface fix: improve visualisation of common descriptions (nl2br, css width)
git-svn-id: https://semanticscuttle.svn.sourceforge.net/svnroot/semanticscuttle/trunk@45 b3834d28-1941-0410-a4f8-b48e95affb8f
Diffstat (limited to 'templates/bookmarks.tpl.php')
-rw-r--r-- | templates/bookmarks.tpl.php | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/templates/bookmarks.tpl.php b/templates/bookmarks.tpl.php index 4751515..7837e6c 100644 --- a/templates/bookmarks.tpl.php +++ b/templates/bookmarks.tpl.php @@ -17,11 +17,11 @@ if((isset($currenttag) && $GLOBALS['enableCommonTagDescription']) <?php if(isset($currenttag) && $cdservice->getLastTagDescription($currenttag)) { $description = $cdservice->getLastTagDescription($currenttag); - echo filter($description['cdDescription']); + echo nl2br(filter($description['cdDescription'])); } elseif(isset($hash) && $cdservice->getLastBookmarkDescription($hash)) { $description = $cdservice->getLastBookmarkDescription($hash); - echo filter($description['cdTitle']). "<br/>"; - echo filter($description['cdDescription']). "<br/>"; + echo nl2br(filter($description['cdTitle'])). "<br/>"; + echo nl2br(filter($description['cdDescription'])). "<br/>"; } if($logged_on_userid>0) { |