Changeset 1648 for sandbox/filemanager/inc/class.vfs_functions.inc.php
- Timestamp:
- 11/13/09 17:16:13 (15 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
sandbox/filemanager/inc/class.vfs_functions.inc.php
r1627 r1648 22 22 'touch' => True, 23 23 'download'=>True, 24 'setRestricted'=>True 24 'setRestricted'=>True, 25 'editComment'=> True 25 26 ); 26 27 … … 226 227 } 227 228 } 229 function editComment() 230 { 231 while(list($file) = each($this->comment_files)) 232 { 233 if($badchar = $this->bo->bad_chars($this->comment_files[$file], False, True)) 234 { 235 echo "False:badchar:".$badchar; 236 return False; 237 } 238 239 $this->bo->vfs->set_attributes(array( 240 'string' => $file, 241 'relatives' => array(RELATIVE_ALL), 242 'attributes' => array( 243 'comment' => stripslashes($this->comment_files[$file]) 244 ) 245 )); 246 247 echo "True:".$file; 248 return True; 249 } 250 } 228 251 }
Note: See TracChangeset
for help on using the changeset viewer.