Changeset 692 for pro-violet-viettel/sourcecode/api.violet.vn
- Timestamp:
- Jan 13, 2015 1:51:31 PM (10 years ago)
- Location:
- pro-violet-viettel/sourcecode/api.violet.vn/www/apps/platform/modules/space
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
pro-violet-viettel/sourcecode/api.violet.vn/www/apps/platform/modules/space/actions/actions.class.php
r686 r692 157 157 } 158 158 159 public function executeDir() { 160 echo "123";die(); 161 $this->catId = $this->getRequestParameter('id', -1); 159 public function executeDir() { 160 $this->catId = $this->getRequestParameter('id', -1); 162 161 $userId = $this->getRequestParameter('userid'); 163 162 $filter = $this->getRequestParameter('filter'); -
pro-violet-viettel/sourcecode/api.violet.vn/www/apps/platform/modules/space/templates/dirSuccess.php
r686 r692 9 9 <filelist> 10 10 <?php foreach ($tblfiles as $tblfile): ?> 11 <file fileurl="<?php echo $tblfile->getFileId()?>" id="<?php echo $tblfile->getFileId() ?>" parentid="<?php echo $tblfile->getFileCategory() ?>" filetype="<?php echo $tblfile->getFileType() ?>"><?php echo $tblfile->getFileName() ?></file> 11 <?php 12 $tblres = TblspacefilePeer::retrieveByPk($tblfile->getFileId())->getTblspaceresource(); 13 $fileName = $tblres->getFullFilename(); 14 $fileName= str_replace("/home/www/web", "http://api.violet.vn", $fileName); 15 16 ?> 17 <file fileurl="<?php echo $fileName?>" id="<?php echo $tblfile->getFileId() ?>" parentid="<?php echo $tblfile->getFileCategory() ?>" filetype="<?php echo $tblfile->getFileType() ?>"><?php echo $tblfile->getFileName() ?></file> 12 18 <?php endforeach; ?> 13 19 </filelist>
Note: See TracChangeset
for help on using the changeset viewer.