mirror of
https://github.com/Lastorder-DC/rhymix.git
synced 2026-01-25 06:09:55 +09:00
git-svn-id: http://xe-core.googlecode.com/svn/trunk@341 201d5d3c-b55e-5fd7-737f-ddc643e51545
This commit is contained in:
parent
f24301e7c7
commit
aa6f3b6bf6
3 changed files with 9 additions and 5 deletions
|
|
@ -296,12 +296,14 @@
|
|||
|
||||
if($menu_srl&&$tree[$menu_srl]) $child_buff = $this->getPhpCacheCode($tree[$menu_srl], $tree);
|
||||
|
||||
if($node->url && !strpos($node->url, '://')) $node->url = "./?".$node->url;
|
||||
if($node->url && !strpos($node->url, '://')) $node->href = "./?".$node->url;
|
||||
else $node->href = $node->url;
|
||||
|
||||
$attribute = sprintf(
|
||||
'"node_srl"=>"%s","text"=>"%s","url"=>"%s","open_window"=>"%s","normal_btn"=>"%s","hover_btn"=>"%s","active_btn"=>"%s","group_srls"=>array(%s),%s',
|
||||
'"node_srl"=>"%s","text"=>"%s","href"=>"%s","url"=>"%s","open_window"=>"%s","normal_btn"=>"%s","hover_btn"=>"%s","active_btn"=>"%s","group_srls"=>array(%s),%s',
|
||||
$node->menu_srl,
|
||||
str_replace(array('&','"','<','>'),array('&','"','<','>'),$node->name),
|
||||
str_replace(array('&','"','<','>'),array('&','"','<','>'),$node->href),
|
||||
str_replace(array('&','"','<','>'),array('&','"','<','>'),$node->url),
|
||||
$node->open_window,
|
||||
str_replace(array('&','"','<','>'),array('&','"','<','>'),$node->normal_btn),
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue