escaping all language strings used with javascript confirm(), alert() functions in smarty templates

git-svn-id: http://svn.cmsmadesimple.org/svn/cmsmadesimple@9618 3d254a34-79dc-0310-9e5f-be208747d8a0
small typo, big error

git-svn-id: http://svn.cmsmadesimple.org/svn/cmsmadesimple@9619 3d254a34-79dc-0310-9e5f-be208747d8a0
escape cms_data object

git-svn-id: http://svn.cmsmadesimple.org/svn/cmsmadesimple@9620 3d254a34-79dc-0310-9e5f-be208747d8a0
fixed typos, that caused setting of wrong lock timeout

git-svn-id: http://svn.cmsmadesimple.org/svn/cmsmadesimple@9621 3d254a34-79dc-0310-9e5f-be208747d8a0
Add message to functions that don't work when there is locked content

git-svn-id: http://svn.cmsmadesimple.org/svn/cmsmadesimple@9622 3d254a34-79dc-0310-9e5f-be208747d8a0
Fixes to DesignManager locking behavior
- handle error, when lock has expired but user left page open, now we prevent submit or apply after another user has started editing
- fix error handling in "edit stylesheet" if for some reason a user managed to open action url directly
- if a user for some reason managed to open action url directly but error handling failed, editing interface was accessed and user id is not identical to lock user id, we disable apply and submit

git-svn-id: http://svn.cmsmadesimple.org/svn/cmsmadesimple@9623 3d254a34-79dc-0310-9e5f-be208747d8a0
minor

git-svn-id: http://svn.cmsmadesimple.org/svn/cmsmadesimple@9624 3d254a34-79dc-0310-9e5f-be208747d8a0
disable submit and apply and show warning message on lostlock_handler callback as well

git-svn-id: http://svn.cmsmadesimple.org/svn/cmsmadesimple@9625 3d254a34-79dc-0310-9e5f-be208747d8a0