mirror of
https://github.com/Lastorder-DC/rhymix.git
synced 2026-01-14 00:39:57 +09:00
git-svn-id: http://xe-core.googlecode.com/svn/trunk@342 201d5d3c-b55e-5fd7-737f-ddc643e51545
This commit is contained in:
parent
aa6f3b6bf6
commit
c8eb86356e
18 changed files with 61 additions and 27 deletions
|
|
@ -249,7 +249,6 @@
|
|||
$php_buff = sprintf('<?php if(!__ZB5__) exit(); $menu->list = array(%s); ?>', $this->getPhpCacheCode($tree[0], $tree));
|
||||
FileHandler::writeFile($xml_file, $xml_buff);
|
||||
FileHandler::writeFile($php_file, $php_buff);
|
||||
|
||||
return $xml_file;
|
||||
}
|
||||
|
||||
|
|
@ -300,7 +299,7 @@
|
|||
else $node->href = $node->url;
|
||||
|
||||
$attribute = sprintf(
|
||||
'"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_srl"=>"%s","text"=>"%s","href"=>"%s","url"=>"%s","open_window"=>"%s","normal_btn"=>"%s","hover_btn"=>"%s","active_btn"=>"%s","group_srls"=>array(%s),"list"=>array(%s)',
|
||||
$node->menu_srl,
|
||||
str_replace(array('&','"','<','>'),array('&','"','<','>'),$node->name),
|
||||
str_replace(array('&','"','<','>'),array('&','"','<','>'),$node->href),
|
||||
|
|
@ -313,7 +312,7 @@
|
|||
$child_buff
|
||||
);
|
||||
|
||||
$buff .= sprintf('%s=>array(%s),'."\n", $node->menu_srl, $attribute);
|
||||
$buff .= sprintf('%s=>array(%s),', $node->menu_srl, $attribute);
|
||||
}
|
||||
return $buff;
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue