|
@@ 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 = var_export($url, true); |
| 1914 |
|
$is_shortcut = ($node->is_shortcut) ? $node->is_shortcut : ''; |
| 1915 |
|
$open_window = ($node->open_window) ? $node->open_window : ''; |
| 1916 |
|
$expand = ($node->expand) ? $node->expand : ''; |
|
@@ 2029-2033 (lines=5) @@
|
| 2026 |
|
$href = str_replace(array('&','"','<','>'),array('&','"','<','>'),$node->href); |
| 2027 |
|
$url = str_replace(array('&','"','<','>'),array('&','"','<','>'),$node->url); |
| 2028 |
|
$desc = str_replace(array('&','"',"'"),array('&','"','\\\''),$node->desc); |
| 2029 |
|
if(preg_match('/^([0-9a-zA-Z\_\-]+)$/i', $node->url)) |
| 2030 |
|
{ |
| 2031 |
|
$href = "getSiteUrl('$domain', '','mid','$node->url')"; |
| 2032 |
|
} |
| 2033 |
|
else $href = var_export($url, true); |
| 2034 |
|
$is_shortcut = $node->is_shortcut; |
| 2035 |
|
$open_window = $node->open_window; |
| 2036 |
|
$normal_btn = str_replace(array('&','"','<','>'),array('&','"','<','>'),$node->normal_btn); |