Changeset 787
- Timestamp:
- 03/16/07 10:59:57 (6 years ago)
- Files:
-
- 1 modified
-
trunk/plugins/ExtendedFileManager/images.php (modified) (3 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/plugins/ExtendedFileManager/images.php
r681 r787 27 27 28 28 //process paste 29 if (isset($_GET['paste'])) 30 $pasteStatus = $manager->processPaste(); 31 32 if ($manager->deleteFiles()) 33 $refreshFile = true; 29 $pasteStatus = (isset($_GET['paste'])) ? $manager->processPaste() : false; 30 31 $refreshFile = ($manager->deleteFiles()) ? true : false; 34 32 35 33 $refreshDir = false; … … 51 49 } 52 50 53 54 $afruViewType=""; 55 if(isset($_REQUEST['viewtype'])) 56 { 57 $afruViewType=$_REQUEST['viewtype']; 58 } 51 $afruViewType = (isset($_REQUEST['viewtype'])) ? $afruViewType=$_REQUEST['viewtype'] : ''; 52 59 53 if($afruViewType!="thumbview" && $afruViewType!="listview") 60 61 $afruViewType=$IMConfig['view_type'];62 54 { 55 $afruViewType=$IMConfig['view_type']; 56 } 63 57 //get the list of files and directories 64 58 $list = $manager->getFiles($relative); … … 139 133 <a href="#" title="Cut" onclick="copyFile('<?php echo rawurlencode($entry);?>','move'); return false;"><img src="<?php print $IMConfig['base_url'];?>img/edit_cut.gif" height="15" width="15" alt="Cut" /></a> 140 134 <a href="#" title="Copy" onclick="copyFile('<?php echo rawurlencode($entry);?>','copy'); return false;"><img src="<?php print $IMConfig['base_url'];?>img/edit_copy.gif" height="15" width="15" alt="Copy" /></a> 141 <?php $thisFileNameLength -= 6;} ?>135 <?php } ?> 142 136 </td> 143 137 </tr>
