[geeklog-cvs] geeklog: Fix #0001079: Allow autotags in the links description a...
geeklog-cvs at lists.geeklog.net
geeklog-cvs at lists.geeklog.net
Tue Mar 16 15:01:40 EDT 2010
changeset 7795:fe314d138be4
url: http://project.geeklog.net/cgi-bin/hgwebdir.cgi/geeklog/rev/fe314d138be4
user: Akeda Bagus <admin at gedex.web.id>
date: Wed Mar 17 00:54:10 2010 +0700
description:
Fix #0001079: Allow autotags in the links description and link categories description
diffstat:
plugins/links/functions.inc | 6 +++---
1 files changed, 3 insertions(+), 3 deletions(-)
diffs (30 lines):
diff -r 6d09fc076f5b -r fe314d138be4 plugins/links/functions.inc
--- a/plugins/links/functions.inc Tue Mar 16 19:32:49 2010 +0100
+++ b/plugins/links/functions.inc Wed Mar 17 00:54:10 2010 +0700
@@ -522,7 +522,7 @@
$lids[] = $row['lid'];
$linktitle = stripslashes( $row['title'] );
- $linkdesc = stripslashes( $row['description'] );
+ $linkdesc = PLG_replaceTags( stripslashes($row['description']) );
$linklink = COM_buildUrl( $_CONF['site_url']
. '/links/portal.php?what=link&item=' . $row['lid'] );
@@ -1024,7 +1024,7 @@
global $_CONF, $_TABLES, $LANG_LINKS, $LANG_LINKS_SUBMIT, $LANG08;
$title = stripslashes ($A['title']);
- $description = stripslashes ($A['description']);
+ $description = PLG_replaceTags( stripslashes($A['description']) );
$mailbody = "$LANG_LINKS_SUBMIT[8]: $title\n"
. "$LANG_LINKS_SUBMIT[9]: <{$A['url']}>\n"
@@ -1520,7 +1520,7 @@
break;
case 'description':
case 'excerpt':
- $props[$p] = stripslashes($A['description']);
+ $props[$p] = PLG_replaceTags( stripslashes($A['description']) );
break;
case 'id':
$props['id'] = $A['lid'];
More information about the geeklog-cvs
mailing list