diff --git a/e107_files/shortcode/sitelinks_alt.sc b/e107_files/shortcode/sitelinks_alt.sc index cd34277d2..4bae9a024 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.3 $ -| $Date: 2007-01-07 15:59:42 $ -| $Author: e107steved $ +| $Revision: 1.4 $ +| $Date: 2007-03-16 13:47:59 $ +| $Author: mcfly_e107 $ +----------------------------------------------------------------------------+ */ @@ -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); 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); if ($params[0] == 'no_icons') { $link_icon = 'no_icons'; } else { diff --git a/e107_handlers/sitelinks_class.php b/e107_handlers/sitelinks_class.php index fdc4956f1..2bc28e085 100644 --- a/e107_handlers/sitelinks_class.php +++ b/e107_handlers/sitelinks_class.php @@ -12,9 +12,9 @@ | GNU General Public License (http://gnu.org). | | $Source: /cvs_backup/e107_0.8/e107_handlers/sitelinks_class.php,v $ -| $Revision: 1.5 $ -| $Date: 2007-02-13 23:24:36 $ -| $Author: e107coders $ +| $Revision: 1.6 $ +| $Date: 2007-03-16 13:47:59 $ +| $Author: mcfly_e107 $ +---------------------------------------------------------------+ */ @@ -183,7 +183,7 @@ class sitelinks $indent = ($style['linkdisplay'] != 3) ? $style['subindent'] : ""; } - $linkInfo['link_url'] = $tp -> replaceConstants($linkInfo['link_url'],TRUE); // replace {e_xxxx} + $linkInfo['link_url'] = $tp -> replaceConstants($linkInfo['link_url'], '', TRUE); // replace {e_xxxx} if(strpos($linkInfo['link_url'],"{") !== FALSE){ $linkInfo['link_url'] = $tp->parseTemplate($linkInfo['link_url'], TRUE); // shortcode in URL support - dynamic urls for multilanguage. @@ -263,7 +263,7 @@ function hilite($link,$enabled=''){ global $PLUGINS_DIRECTORY,$tp,$pref; if(!$enabled){ return FALSE; } - $link = $tp->replaceConstants($link,TRUE); + $link = $tp->replaceConstants($link, '', TRUE); $tmp = explode("?",$link); $link_qry = (isset($tmp[1])) ? $tmp[1] : ""; $link_slf = (isset($tmp[0])) ? $tmp[0] : "";