Filebrowser: HTML tags in JS messages

Discussions and requests related to new CMSimple features, plugins, templates etc. and how to develop.
Please don't ask for support at this forums!
Post Reply
cmb
Posts: 14225
Joined: Tue Jun 21, 2011 11:04 am
Location: Bingen, RLP, DE
Contact:

Filebrowser: HTML tags in JS messages

Post by cmb » Mon Jul 16, 2012 10:21 pm

Hello Community,

there are 2 language strings of the internal filebrowser, which are used in JS confirm()/prompt(), which contain HTML tags. For example you can get the message:
Really delete <b>images/image.jpg</b>?
Guess, that should be fixed:

Code: Select all

$plugin_tx['filebrowser']['confirm_delete']="Really delete %s?";
$plugin_tx['filebrowser']['prompt_rename']="Rename %s to:"; 
Christoph
Christoph M. Becker – Plugins for CMSimple_XH

svasti
Posts: 1660
Joined: Wed Dec 17, 2008 5:08 pm

Re: Filebrowser: HTML tags in JS messages

Post by svasti » Tue Jul 17, 2012 8:08 am

Yes should be fixed. As it is a minor fix, it could even be done in 1.5.4

Post Reply