Changeset 9072 for temp/trunk/html/test
- Timestamp:
- 2006/11/26 22:32:07 (20 years ago)
- File:
-
- 1 edited
-
temp/trunk/html/test/uehara/test.php (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
temp/trunk/html/test/uehara/test.php
r8783 r9072 15 15 $arrTree = array(); 16 16 $default_rank = count(split('/', $dir)); 17 18 // ºÇ¾å°ÌÁØ 19 if(sfDirChildExists($dir)) { 20 $file_type = "_parent"; 21 } else { 22 $file_type = "_child"; 23 } 24 $arrTree[$cnt] = array($cnt, $file_type, $dir, 0); 25 $cnt++; 26 17 27 sfGetFileTreeSub($dir, $default_rank, $cnt, $arrTree); 18 28 … … 41 51 $arrCnt = split('/', $path); 42 52 $rank = count($arrCnt); 43 $rank = $rank - $default_rank ;53 $rank = $rank - $default_rank + 1; 44 54 45 55 // javascript¤Î¥Ä¥ê¡¼À¸À®ÍѤÎÇÛÎó¤òºîÀ®
Note: See TracChangeset
for help on using the changeset viewer.
