sleemanj / xinha

WYSIWYG HTML Editor Component (turns <textarea> into HTML editors)
http://trac.xinha.org/
Other
13 stars 2 forks source link

Rename files in ExtendedFilesManager (Trac #818) #818

Closed sleemanj closed 4 years ago

sleemanj commented 18 years ago

This ticket is a discusstion ticket accompanying new feature for ExtendedFileManager plugin - file rename.

With the changeset being commited in a moment it is possible to allow users to rename files (new 'allow_rename' config setting).

There is a new icon in the image / file listing that, upon clicking will prompt a user to enter a new filename (without path or extension for the file - these will be preserved from the old file). That entered file will be properly escaped, replacing all but common characters to '_' and the file will be renamed (or error message will be displayed). Also, the thumbnail file that might have existed for the old filename will be deleted and a new one will be automatically created.

Now it is possible for users to manually rename those automatically created resized__. files. You can disable this new feature by setting allow_rename = false in config.inc.php and/or runtime configuration.

Reported by koto, migrated from http://trac.xinha.org/ticket/818

sleemanj commented 18 years ago

Commited in changeset:524

The EFM version is now 1.1.2