Implement request #2934872: Option to set the "no description"
description. Patch by fnorder@users.sourceforge.net git-svn-id: https://semanticscuttle.svn.sourceforge.net/svnroot/semanticscuttle/trunk@615 b3834d28-1941-0410-a4f8-b48e95affb8f
This commit is contained in:
parent
cc1d7d7a4d
commit
7240d693de
3 changed files with 14 additions and 1 deletions
|
@ -388,6 +388,17 @@ $defaultOrderBy = 'date_desc';
|
|||
*/
|
||||
$dateOrderField = 'bModified';
|
||||
|
||||
/**
|
||||
* What to show instead of a description if
|
||||
* a bookmark has none.
|
||||
* Default is '-'. Setting this to '' will collapse
|
||||
* the description row for bookmarks without
|
||||
* a description.
|
||||
*
|
||||
* @var string
|
||||
*/
|
||||
$blankDescription = '-';
|
||||
|
||||
/**
|
||||
* Number of entries that are shown in
|
||||
* the RSS feed by default.
|
||||
|
|
|
@ -334,7 +334,7 @@ if($currenttag!= '') {
|
|||
|
||||
echo '<div class="link"><a href="'. $address .'"'. $rel .' class="taggedlink" target="_blank">'. filter($row['bTitle']) ."</a>" . $adminStar . "</div>\n";
|
||||
if ($row['bDescription'] == '') {
|
||||
$bkDescription = '-';
|
||||
$bkDescription = $GLOBALS['blankDescription'];
|
||||
} else {
|
||||
// Improve description display (anchors, links, ...)
|
||||
$bkDescription = preg_replace('|\[\/.*?\]|', '', filter($row['bDescription'])); // remove final anchor
|
||||
|
|
|
@ -13,6 +13,8 @@ ChangeLog for SemantiScuttle
|
|||
- Fix several SQL injection possibilities
|
||||
- Implement request #2934868: Do not display full redirection URL
|
||||
Patch by fnorder@users.sourceforge.net
|
||||
- Implement request #2934872: Option to set the "no description"
|
||||
description. Patch by fnorder@users.sourceforge.net
|
||||
|
||||
|
||||
0.95.2 - 2010-01-16
|
||||
|
|
Loading…
Reference in a new issue