3. never remove folders with diff tpl
This last solution of my preference, by adding it however a supplementary condition: when a file is added, if one of the options by default is modified (diff tpl, access rights, hide, browsable,changing the default name,...) then the file cannot be destroy automatically.
i didn't understand. If there's a file, the folder is not empty, so it won't be deleted.
Error of transcription: you have to understand to FOLDER on the place of FILE
On the other hand it is necessary to have an option (activated by default)
for the user to authorize or not the destruction systematics of the empty folders.
authorize like what? can you make an example?
An option which authorizes or not the deletion of folders according to the condition near
"1. leave this way, all empty folders are removed"
One more would be an option in the VFS popup allowing to make a reset of the options for the selected files:
Reset default options for this folder
do you need such option? or your think it becomes useful after your suggestion "if one of the options by default is modified then the file cannot be destroy automatically" ?
This demand is not directly connected to the deletion of folders, but she allows to put back a folder (real or virtual) in her initial state of creation (access for all, browsable, not hiden, default mask, .......) and any thing in the click only one, without touching naturally the diff tpl, else he will be automaticly deleted