1
0
mirror of https://github.com/e107inc/e107.git synced 2025-08-01 20:30:39 +02:00

Fix link replacement

This commit is contained in:
e107steved
2007-05-23 19:57:00 +00:00
parent 9098998cd9
commit 009d56fce4

View File

@@ -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 {