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
This commit is contained in:
parent
6f312b54db
commit
93da909d9c
2 changed files with 4 additions and 3 deletions
|
@ -261,6 +261,7 @@ p.commondescription {
|
||||||
color: #555;
|
color: #555;
|
||||||
font-weight: bold;
|
font-weight: bold;
|
||||||
border-left: 1px solid #CC8;
|
border-left: 1px solid #CC8;
|
||||||
|
width: 70%;
|
||||||
}
|
}
|
||||||
|
|
||||||
p.tags {
|
p.tags {
|
||||||
|
|
|
@ -17,11 +17,11 @@ if((isset($currenttag) && $GLOBALS['enableCommonTagDescription'])
|
||||||
<?php
|
<?php
|
||||||
if(isset($currenttag) && $cdservice->getLastTagDescription($currenttag)) {
|
if(isset($currenttag) && $cdservice->getLastTagDescription($currenttag)) {
|
||||||
$description = $cdservice->getLastTagDescription($currenttag);
|
$description = $cdservice->getLastTagDescription($currenttag);
|
||||||
echo filter($description['cdDescription']);
|
echo nl2br(filter($description['cdDescription']));
|
||||||
} elseif(isset($hash) && $cdservice->getLastBookmarkDescription($hash)) {
|
} elseif(isset($hash) && $cdservice->getLastBookmarkDescription($hash)) {
|
||||||
$description = $cdservice->getLastBookmarkDescription($hash);
|
$description = $cdservice->getLastBookmarkDescription($hash);
|
||||||
echo filter($description['cdTitle']). "<br/>";
|
echo nl2br(filter($description['cdTitle'])). "<br/>";
|
||||||
echo filter($description['cdDescription']). "<br/>";
|
echo nl2br(filter($description['cdDescription'])). "<br/>";
|
||||||
}
|
}
|
||||||
|
|
||||||
if($logged_on_userid>0) {
|
if($logged_on_userid>0) {
|
||||||
|
|
Loading…
Reference in a new issue