Changeset 46
- Timestamp:
- Aug 8, 2014 5:39:50 PM (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
r41 r46 2 2 <!-- folders in current folder --> 3 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; ?> 4 <?php if (count($tblcategories) > 0):?> 5 <?php foreach ($tblcategories as $tblcategory): ?> 6 <folder id="<?php echo $tblcategory->getCatId() ?>" parentid="<?php echo $tblcategory->getCatParent() ?>"><?php echo $tblcategory->getCatName() ?></folder> 7 <?php endforeach; ?> 8 <?php else:?> 9 <folder id="0" parentid="0"></folder> 10 <?php endif;?> 7 11 </folderlist> 8 12 <!-- files in current folder -->
Note: See TracChangeset
for help on using the changeset viewer.