|
@@ 1909-1913 (lines=5) @@
|
| 1906 |
|
|
| 1907 |
|
$url = str_replace(array('&','"','<','>'),array('&','"','<','>'),$node->url); |
| 1908 |
|
$desc = str_replace(array('&','"',"'"),array('&','"','\\\''),$node->desc); |
| 1909 |
|
if(preg_match('/^([0-9a-zA-Z\_\-]+)$/', $node->url)) |
| 1910 |
|
{ |
| 1911 |
|
$href = "getSiteUrl('$domain', '','mid','$node->url')"; |
| 1912 |
|
} |
| 1913 |
|
else $href = sprintf('"%s"', $url); |
| 1914 |
|
$is_shortcut = $node->is_shortcut; |
| 1915 |
|
$open_window = $node->open_window; |
| 1916 |
|
$expand = $node->expand; |
|
@@ 2022-2026 (lines=5) @@
|
| 2019 |
|
$href = str_replace(array('&','"','<','>'),array('&','"','<','>'),$node->href); |
| 2020 |
|
$url = str_replace(array('&','"','<','>'),array('&','"','<','>'),$node->url); |
| 2021 |
|
$desc = str_replace(array('&','"',"'"),array('&','"','\\\''),$node->desc); |
| 2022 |
|
if(preg_match('/^([0-9a-zA-Z\_\-]+)$/i', $node->url)) |
| 2023 |
|
{ |
| 2024 |
|
$href = "getSiteUrl('$domain', '','mid','$node->url')"; |
| 2025 |
|
} |
| 2026 |
|
else $href = sprintf('"%s"', $url); |
| 2027 |
|
$is_shortcut = $node->is_shortcut; |
| 2028 |
|
$open_window = $node->open_window; |
| 2029 |
|
$normal_btn = str_replace(array('&','"','<','>'),array('&','"','<','>'),$node->normal_btn); |