[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:41 EDT 2010
changeset 7796:deca1cd4bbaf
url: http://project.geeklog.net/cgi-bin/hgwebdir.cgi/geeklog/rev/deca1cd4bbaf
user: Akeda Bagus <admin at gedex.web.id>
date: Wed Mar 17 00:57:51 2010 +0700
description:
Fix #0001079: Allow autotags in the links description and link categories description
diffstat:
public_html/links/index.php | 4 ++--
1 files changed, 2 insertions(+), 2 deletions(-)
diffs (21 lines):
diff -r fe314d138be4 -r deca1cd4bbaf public_html/links/index.php
--- a/public_html/links/index.php Wed Mar 17 00:54:10 2010 +0700
+++ b/public_html/links/index.php Wed Mar 17 00:57:51 2010 +0700
@@ -202,7 +202,7 @@
$linklist->set_var ('category_name', $C['category']);
if ($_LI_CONF['show_category_descriptions']) {
- $linklist->set_var ('category_description', $C['description']);
+ $linklist->set_var ('category_description', PLG_replaceTags( $C['description'] ));
} else {
$linklist->set_var ('category_description', '');
}
@@ -363,7 +363,7 @@
$template->set_var('link_name_encoded', urlencode($title));
$template->set_var('link_hits', COM_numberFormat($A['hits']));
$template->set_var('link_description',
- nl2br(stripslashes($A['description'])));
+ PLG_replaceTags( nl2br(stripslashes($A['description'])) ));
$attr = array('title' => $actualUrl);
if (substr($actualUrl, 0, strlen($_CONF['site_url'])) != $_CONF['site_url']) {
More information about the geeklog-cvs
mailing list