|
@@ 1897-1901 (lines=5) @@
|
| 1894 |
|
|
| 1895 |
|
$url = str_replace(array('&','"','<','>'),array('&','"','<','>'),$node->url); |
| 1896 |
|
$desc = str_replace(array('&','"',"'"),array('&','"','\\\''),$node->desc); |
| 1897 |
|
if(preg_match('/^([0-9a-zA-Z\_\-]+)$/', $node->url)) |
| 1898 |
|
{ |
| 1899 |
|
$href = "getSiteUrl('$domain', '','mid','$node->url')"; |
| 1900 |
|
} |
| 1901 |
|
else $href = sprintf('"%s"', $url); |
| 1902 |
|
$is_shortcut = $node->is_shortcut; |
| 1903 |
|
$open_window = $node->open_window; |
| 1904 |
|
$expand = $node->expand; |
|
@@ 2000-2004 (lines=5) @@
|
| 1997 |
|
$href = str_replace(array('&','"','<','>'),array('&','"','<','>'),$node->href); |
| 1998 |
|
$url = str_replace(array('&','"','<','>'),array('&','"','<','>'),$node->url); |
| 1999 |
|
$desc = str_replace(array('&','"',"'"),array('&','"','\\\''),$node->desc); |
| 2000 |
|
if(preg_match('/^([0-9a-zA-Z\_\-]+)$/i', $node->url)) |
| 2001 |
|
{ |
| 2002 |
|
$href = "getSiteUrl('$domain', '','mid','$node->url')"; |
| 2003 |
|
} |
| 2004 |
|
else $href = sprintf('"%s"', $url); |
| 2005 |
|
$is_shortcut = $node->is_shortcut; |
| 2006 |
|
$open_window = $node->open_window; |
| 2007 |
|
$normal_btn = str_replace(array('&','"','<','>'),array('&','"','<','>'),$node->normal_btn); |