Changeset 9558 for temp/trunk
- Timestamp:
- 2006/11/29 23:23:27 (20 years ago)
- File:
-
- 1 edited
-
temp/trunk/html/admin/contents/file_manager.php (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
temp/trunk/html/admin/contents/file_manager.php
r9557 r9558 126 126 $objPage->$tpl_onload .= "fnTreeView('tree', arrTree, '$now_dir')"; 127 127 // ¥Ä¥ê¡¼ÇÛÎóºîÀ®ÍÑ javascript 128 $objPage->$tpl_javascript .= "arrTree = new Array();". 129 "<!--{section name=cnt loop=$arrTree}-->". 130 "arrTree[<!--{$arrTree[cnt].count}-->] = new Array(\"<!--{$arrTree[cnt].count}-->\", \"<!--{$arrTree[cnt].type}-->\", \"<!--{$arrTree[cnt].path}-->\", <!--{$arrTree[cnt].rank}-->, <!--{if $arrTree[cnt].open}-->true<!--{else}-->false<!--{/if}-->);"; 131 "<!--{/section}-->"; 128 $objPage->$tpl_javascript .= "arrTree = new Array();"; 129 foreach($arrTree as $arrVal) { 130 $objPage->$tpl_javascript .= "arrTree[".$arrVal['count']."] = new Array(".$arrVal['count'].", ".$arrVal['type'].", ".$arrVal['path'].", $arrVal['rank'],"; 131 if ($arrVal['open']) { 132 $objPage->$tpl_javascript .= "true);"; 133 } else { 134 $objPage->$tpl_javascript .= "false);"; 135 } 136 } 132 137 133 138 // ²èÌ̤Îɽ¼¨
Note: See TracChangeset
for help on using the changeset viewer.
