1
0
mirror of https://github.com/e107inc/e107.git synced 2025-08-05 14:17:49 +02:00

updated modifiers for tohtml in new link description option

This commit is contained in:
sweetas
2007-06-25 15:06:38 +00:00
parent d93723cf09
commit 15874c5390

View File

@@ -12,8 +12,8 @@
| GNU General Public License (http://gnu.org). | GNU General Public License (http://gnu.org).
| |
| $Source: /cvs_backup/e107_0.8/e107_handlers/sitelinks_class.php,v $ | $Source: /cvs_backup/e107_0.8/e107_handlers/sitelinks_class.php,v $
| $Revision: 1.9 $ | $Revision: 1.10 $
| $Date: 2007-06-25 15:00:58 $ | $Date: 2007-06-25 15:06:38 $
| $Author: sweetas $ | $Author: sweetas $
+---------------------------------------------------------------+ +---------------------------------------------------------------+
*/ */
@@ -267,7 +267,7 @@ class sitelinks
$search[0] = "/\{LINK\}(.*?)/si"; $search[0] = "/\{LINK\}(.*?)/si";
$replace[0] = $_link.$style['linkend']."\n"; $replace[0] = $_link.$style['linkend']."\n";
$search[1] = "/\{LINK_DESCRIPTION\}(.*?)/si"; $search[1] = "/\{LINK_DESCRIPTION\}(.*?)/si";
$replace[1] = $tp -> toHTML($linkInfo['link_description'],"","value, emotes_off, defs, no_hook"); $replace[1] = $tp -> toHTML($linkInfo['link_description'], true);
$text = preg_replace($search, $replace, $SITELINKSTYLE); $text = preg_replace($search, $replace, $SITELINKSTYLE);