Changeset 9072 for temp/trunk/html/test


Ignore:
Timestamp:
2006/11/26 22:32:07 (20 years ago)
Author:
uehara
Message:

blank

File:
1 edited

Legend:

Unmodified
Added
Removed
  • temp/trunk/html/test/uehara/test.php

    r8783 r9072  
    1515    $arrTree = array(); 
    1616    $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     
    1727    sfGetFileTreeSub($dir, $default_rank, $cnt, $arrTree); 
    1828     
     
    4151                        $arrCnt = split('/', $path); 
    4252                        $rank = count($arrCnt); 
    43                         $rank = $rank - $default_rank; 
     53                        $rank = $rank - $default_rank + 1; 
    4454                         
    4555                        // javascript¤Î¥Ä¥ê¡¼À¸À®ÍѤÎÇÛÎó¤òºîÀ® 
Note: See TracChangeset for help on using the changeset viewer.