Changeset 1922 for sandbox/filemanager/inc/class.uifilemanager.inc.php
- Timestamp:
- 01/06/10 10:36:41 (14 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
sandbox/filemanager/inc/class.uifilemanager.inc.php
r1908 r1922 541 541 /* small keys to safe bandwidth */ 542 542 $tuple['name'] = $files['name']; 543 $tuple['icon'] = $this->mime_icon($files['mime_type']); 543 if ($_SESSION['phpgw_info']['user']['preferences']['filemanager']['viewIcons'] == 1){ 544 if ($files['mime_type'] == 'image/png' || 545 $files['mime_type'] == 'image/gif' || 546 $files['mime_type'] == 'image/jpg') 547 { 548 $filename = str_replace('=','',base64_encode($tuple['name'])); 549 $pathname = str_replace('=','',base64_encode($this->path)); 550 $tuple['icon'] = './index.php?menuaction=filemanager.vfs_functions.summary&file='.$filename.'&path='.$pathname; 551 } 552 else 553 $tuple['icon'] = $this->mime_icon($files['mime_type'],64); 554 } 555 else 556 $tuple['icon'] = $this->mime_icon($files['mime_type']); 544 557 $tuple['type'] = $files['type']; 545 558 $tuple['creatd'] = $this->vfs_functions->dateString2timeStamp($files['created']);
Note: See TracChangeset
for help on using the changeset viewer.