I plan to give away sites with editwrx. How can I remove the "Delete" button from the "Open File" dialog box, but keep it in the "Image Upload" dialog?
I do not want users to be able to delete files, however they will need to delete images that they may have uploaded. Thanks.
You can't do that without customizing the installation. There is a setting in User Setups that removes the Delete Folder and Delete File & Rename File buttons from the Open File, SaveAs, and File Upload dialog boxes, but there is no way to turn off file deleting for everything except a certain type of file.
To customize:
1) /library/htm/openpage.txt line 90 change visibility:$DF to visibility:hidden to hide the delete file button.
On Unix server give that file only 0444 permissions, on Windows server set ReadOnly on the file, to prevent your customization from being overwritten during an Update.