description. Patch by fnorder@users.sourceforge.net
git-svn-id: https://semanticscuttle.svn.sourceforge.net/svnroot/semanticscuttle/trunk@615
b3834d28-1941-0410-a4f8-
b48e95affb8f
*/
$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.
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
- 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