Changeset 139 for pro-bachkim-filespace
- Timestamp:
- Sep 19, 2014 7:10:20 PM (11 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
pro-bachkim-filespace/sourcecode/application/modules/ajax/controllers/privatecontent.php
r121 r139 97 97 } 98 98 99 public function delete Dir() {99 public function delete () { 100 100 $delobj = $this->input->post('delobj',TRUE); 101 101 $xmlData = $this->vservices->actionExecute('deletemulti',array('delobj' => $delobj)); … … 121 121 } 122 122 else { 123 $aryFolders['FILES'][] = $this->xml->tree->f older->_param['id'];123 $aryFolders['FILES'][] = $this->xml->tree->file->_param['id']; 124 124 } 125 125 } … … 143 143 $destination = $this->input->post('destination',TRUE); 144 144 $data = $this->input->post('data',TRUE); 145 $act = $this->input->post('act',TRUE); 145 146 146 $xmlData = $this->vservices->actionExecute('copy' ,array('data' => $data, 'destination' => $destination == 0 ? -1:$destination));147 $xmlData = $this->vservices->actionExecute('copy' ,array('act' => $act,'data' => $data, 'destination' => $destination == 0 ? -1:$destination)); 147 148 $this->xml->parse($xmlData); 148 149 … … 150 151 $aryNewFiles = isset($this->xml->data->filedata) ? json_decode($this->xml->data->filedata->_value) : array(); 151 152 152 $aryData = array(); 153 $aryData['RESULT'] = array('DIRECTORIES' => $aryNewDirs, 'FILES' => $aryNewFiles); 153 $aryData = array('DIRECTORIES' => $aryNewDirs, 'FILES' => $aryNewFiles); 154 154 $aryData['ERROR'] = array('err' => $this->xml->data->_param['err'], 'errCode' => (int)$this->xml->data->_param['errCode']);; 155 155 echo json_encode($aryData);
Note: See TracChangeset
for help on using the changeset viewer.