Changeset 249 for pro-bachkim-filespace/sourcecode
- Timestamp:
- Oct 15, 2014 2:59:22 PM (11 years ago)
- Location:
- pro-bachkim-filespace/sourcecode/api.violet.vn/www/apps/platform/modules/space
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
pro-bachkim-filespace/sourcecode/api.violet.vn/www/apps/platform/modules/space/actions/actions.class.php
r247 r249 158 158 159 159 public function executeDir() { 160 echo "test"; die();161 160 $this->catId = $this->getRequestParameter('id', -1); 162 161 $userId = $this->getRequestParameter('userid'); -
pro-bachkim-filespace/sourcecode/api.violet.vn/www/apps/platform/modules/space/templates/dirSuccess.php
r248 r249 1 123 1 <tree parent_id="<?php echo $parentId; ?>" err="<?php echo $errMsg; ?>" errCode="<?php echo $errCode; ?>"> 2 <!-- folders in current folder --> 3 <folderlist> 4 <?php foreach ($tblcategories as $tblcategory): ?> 5 <folder id="<?php echo $tblcategory->getCatId() ?>" parentid="<?php echo $tblcategory->getCatParent() ?>"><?php echo $tblcategory->getCatName() ?></folder> 6 <?php endforeach; ?> 7 </folderlist> 8 <!-- files in current folder --> 9 <filelist> 10 <?php foreach ($tblfiles as $tblfile): ?> 11 <file id="<?php echo $tblfile->getFileId() ?>" parentid="<?php echo $tblfile->getFileCategory() ?>" filetype="<?php echo $tblfile->getFileType() ?>"><?php echo $tblfile->getFileName() ?></file> 12 <?php endforeach; ?> 13 </filelist> 14 </tree>
Note: See TracChangeset
for help on using the changeset viewer.