Changeset 1929 for sandbox/filemanager/inc/class.vfs_functions.inc.php
- Timestamp:
- 01/08/10 16:23:27 (14 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
sandbox/filemanager/inc/class.vfs_functions.inc.php
r1924 r1929 87 87 'messages' => array('messages' => ''), 88 88 'comment' => array('comment' => ''), 89 'from' => array('from' => ''), 90 'fileman' => array('fileman' => ''), 89 91 'to' => array('to' => '') 90 92 ); … … 104 106 if(is_int($varkey)) 105 107 { 106 $temp[$varkey] = stripslashes(base64_decode( urldecode(($varvalue))));108 $temp[$varkey] = stripslashes(base64_decode($varvalue)); 107 109 } 108 110 else 109 111 { 110 $temp[stripslashes(base64_decode( urldecode(($varkey))))] = $varvalue;112 $temp[stripslashes(base64_decode($varkey))] = $varvalue; 111 113 } 112 114 } … … 115 117 elseif(isset($$var)) 116 118 { 117 $this->$var = stripslashes(base64_decode( urldecode($$var)));119 $this->$var = stripslashes(base64_decode($$var)); 118 120 } 119 121 } … … 244 246 245 247 function delete(){ 246 foreach($this->fileman as $filecode) 247 { 248 $filename = base64_decode($filecode); 248 foreach($this->fileman as $filename) 249 { 249 250 if($this->verifyLock($filename,RELATIVE_ALL) && $this->bo->vfs->rm(array( 250 251 'string' => $this->path.'/'.$filename, … … 262 263 } 263 264 function archive(){ 264 foreach($this->fileman as $filecode) 265 { 266 $filename = base64_decode($filecode); 265 foreach($this->fileman as $filename) 266 { 267 267 if(!$this->verifyLock($filename,RELATIVE_ALL)) 268 268 { … … 355 355 else 356 356 { 357 $this->from = base64_decode($this->from);358 357 while(list($num, $file) = each($this->fileman)) 359 358 { … … 386 385 else 387 386 { 388 $this->from = base64_decode($this->from);389 387 while(list($num, $file) = each($this->fileman)) 390 388 {
Note: See TracChangeset
for help on using the changeset viewer.