Ignore:
Timestamp:
Jul 25, 2014 10:23:49 AM (11 years ago)
Author:
dungnv
Message:
 
File:
1 edited

Legend:

Unmodified
Added
Removed
  • pro-bachkim-filespace/sourcecode/api.violet.vn/www/apps/platform/modules/space/templates/dirSuccess.php

    r32 r36  
    1 <list parent_id="<?php echo $parentId; ?>" err="<?php echo $errMsg; ?>" errCode="<?php echo $errCode; ?>">
     1<tree parent_id="<?php echo $parentId; ?>" err="<?php echo $errMsg; ?>" errCode="<?php echo $errCode; ?>">
    22  <!-- folders in current folder -->
     3  <folders>
    34  <?php foreach ($tblcategories as $tblcategory): ?>
    45    <folder id="<?php echo $tblcategory->getCatId() ?>" name="<?php echo $tblcategory->getCatName() ?>" parentid="<?php echo $tblcategory->getCatParent() ?>" filetype="" />
    56  <?php endforeach; ?>
     7  <folders>
     8 
    69  <!-- files in current folder -->
     10  <files>
    711  <?php foreach ($tblfiles as $tblfile): ?>
    812    <file id="<?php echo $tblfile->getFileId() ?>" name="<?php echo $tblfile->getFileName() ?>" parentid="<?php echo $tblfile->getFileCategory() ?>" filetype="<?php echo $tblfile->getFileType() ?>" />
    913  <?php endforeach; ?>
    10 </list>
     14  <files>
     15</tree>
Note: See TracChangeset for help on using the changeset viewer.