Changeset 36 for pro-bachkim-filespace/sourcecode/api.violet.vn
- Timestamp:
- Jul 25, 2014 10:23:49 AM (11 years ago)
- 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 < listparent_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; ?>"> 2 2 <!-- folders in current folder --> 3 <folders> 3 4 <?php foreach ($tblcategories as $tblcategory): ?> 4 5 <folder id="<?php echo $tblcategory->getCatId() ?>" name="<?php echo $tblcategory->getCatName() ?>" parentid="<?php echo $tblcategory->getCatParent() ?>" filetype="" /> 5 6 <?php endforeach; ?> 7 <folders> 8 6 9 <!-- files in current folder --> 10 <files> 7 11 <?php foreach ($tblfiles as $tblfile): ?> 8 12 <file id="<?php echo $tblfile->getFileId() ?>" name="<?php echo $tblfile->getFileName() ?>" parentid="<?php echo $tblfile->getFileCategory() ?>" filetype="<?php echo $tblfile->getFileType() ?>" /> 9 13 <?php endforeach; ?> 10 </list> 14 <files> 15 </tree>
Note: See TracChangeset
for help on using the changeset viewer.