mirror of
https://github.com/e107inc/e107.git
synced 2025-08-03 13:17:24 +02:00
Fix link replacement
This commit is contained in:
@@ -3,9 +3,9 @@
|
|||||||
| e107 website system
|
| e107 website system
|
||||||
|
|
|
|
||||||
| $Source: /cvs_backup/e107_0.8/e107_files/shortcode/sitelinks_alt.sc,v $
|
| $Source: /cvs_backup/e107_0.8/e107_files/shortcode/sitelinks_alt.sc,v $
|
||||||
| $Revision: 1.4 $
|
| $Revision: 1.5 $
|
||||||
| $Date: 2007-03-16 13:47:59 $
|
| $Date: 2007-05-23 19:56:55 $
|
||||||
| $Author: mcfly_e107 $
|
| $Author: e107steved $
|
||||||
+----------------------------------------------------------------------------+
|
+----------------------------------------------------------------------------+
|
||||||
*/
|
*/
|
||||||
|
|
||||||
@@ -47,7 +47,7 @@
|
|||||||
global $tp;
|
global $tp;
|
||||||
|
|
||||||
$cat_link = (strpos($cat_link, '://') === FALSE) ? e_HTTP.$cat_link : $cat_link;
|
$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){
|
if ($cat_open == 4 || $cat_open == 5){
|
||||||
$dimen = ($cat_open == 4) ? "600,400" : "800,600";
|
$dimen = ($cat_open == 4) ? "600,400" : "800,600";
|
||||||
@@ -104,7 +104,7 @@
|
|||||||
// Loops thru parents.--------->
|
// Loops thru parents.--------->
|
||||||
global $tp;
|
global $tp;
|
||||||
foreach ($linklist['head_menu'] as $lk) {
|
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') {
|
if ($params[0] == 'no_icons') {
|
||||||
$link_icon = 'no_icons';
|
$link_icon = 'no_icons';
|
||||||
} else {
|
} else {
|
||||||
|
Reference in New Issue
Block a user