Index: /temp/trunk/html/admin/contents/file_manager.php
===================================================================
--- /temp/trunk/html/admin/contents/file_manager.php	(revision 9557)
+++ /temp/trunk/html/admin/contents/file_manager.php	(revision 9558)
@@ -126,8 +126,13 @@
 $objPage->$tpl_onload .= "fnTreeView('tree', arrTree, '$now_dir')";
 // ¥Ä¥ê¡¼ÇÛÎóºîÀ®ÍÑ javascript
-$objPage->$tpl_javascript .= "arrTree = new Array();".
-							"<!--{section name=cnt loop=$arrTree}-->".
-							"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}-->);";
-							"<!--{/section}-->";
+$objPage->$tpl_javascript .= "arrTree = new Array();";
+foreach($arrTree as $arrVal) {
+	$objPage->$tpl_javascript .= "arrTree[".$arrVal['count']."] = new Array(".$arrVal['count'].", ".$arrVal['type'].", ".$arrVal['path'].", $arrVal['rank'],";
+	if ($arrVal['open']) {
+		$objPage->$tpl_javascript .= "true);";
+	} else {
+		$objPage->$tpl_javascript .= "false);";
+	}
+}
 
 // ²èÌÌ¤ÎÉ½¼¨
