From 009d56fce4b78df4cd002a682732040fababdcf1 Mon Sep 17 00:00:00 2001 From: e107steved Date: Wed, 23 May 2007 19:57:00 +0000 Subject: [PATCH] Fix link replacement --- e107_files/shortcode/sitelinks_alt.sc | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/e107_files/shortcode/sitelinks_alt.sc b/e107_files/shortcode/sitelinks_alt.sc index 4bae9a024..25f00e57d 100644 --- a/e107_files/shortcode/sitelinks_alt.sc +++ b/e107_files/shortcode/sitelinks_alt.sc @@ -3,9 +3,9 @@ | e107 website system | | $Source: /cvs_backup/e107_0.8/e107_files/shortcode/sitelinks_alt.sc,v $ -| $Revision: 1.4 $ -| $Date: 2007-03-16 13:47:59 $ -| $Author: mcfly_e107 $ +| $Revision: 1.5 $ +| $Date: 2007-05-23 19:56:55 $ +| $Author: e107steved $ +----------------------------------------------------------------------------+ */ @@ -47,7 +47,7 @@ global $tp; $cat_link = (strpos($cat_link, '://') === FALSE) ? e_HTTP.$cat_link : $cat_link; - $cat_link = $tp->replaceConstants($cat_link, '', TRUE); + $cat_link = $tp->replaceConstants($cat_link, TRUE, TRUE); if ($cat_open == 4 || $cat_open == 5){ $dimen = ($cat_open == 4) ? "600,400" : "800,600"; @@ -104,7 +104,7 @@ // Loops thru parents.---------> global $tp; foreach ($linklist['head_menu'] as $lk) { - $lk['link_url'] = $tp -> replaceConstants($lk['link_url'], '', TRUE); + $lk['link_url'] = $tp -> replaceConstants($lk['link_url'], TRUE, TRUE); if ($params[0] == 'no_icons') { $link_icon = 'no_icons'; } else {