fixed [ 915498 ] htmlArea - insert image WebGUI 6.0
This commit is contained in:
parent
7ee5a4a4bc
commit
6a3a4627f7
7 changed files with 30 additions and 10 deletions
|
|
@ -23,6 +23,7 @@ Andreas Graf).
|
|||
Mountifield.)
|
||||
- Added Tony Mountifield to the credits list for all his debugging efforts as
|
||||
of late.
|
||||
- Bugfix [ 915498 ] htmlArea - insert image WebGUI 6.0
|
||||
|
||||
|
||||
6.0.0
|
||||
|
|
|
|||
|
|
@ -82,5 +82,6 @@ update Navigation set depth=99 where depth=0;
|
|||
delete from international where internationalId=981 and namespace='WebGUI';
|
||||
delete from template where namespace='Macro/L_loginBox' and templateId=2;
|
||||
INSERT INTO template VALUES (2,'Horizontal Login Box','<div class=\"loginBox\">\n<tmpl_if user.isVisitor>\n <tmpl_var form.header>\n <table border=\"0\" class=\"loginBox\" cellpadding=\"1\" cellspacing=\"0\">\n <tr>\n <td><tmpl_var username.form></td>\n <td><tmpl_var password.form></td>\n <td><tmpl_var form.login></td>\n </tr>\n <tr>\n <td><tmpl_var username.label></td>\n <td><tmpl_var password.label></td>\n <td></td>\n </tr>\n </table> <tmpl_if session.setting.anonymousRegistration>\n <a href=\"<tmpl_var account.create.url>\"><tmpl_var account.create.label></a>\n </tmpl_if> <tmpl_var form.footer> \n<tmpl_else>\n <tmpl_unless customText>\n <tmpl_var hello.label> <a href=\"<tmpl_var account.display.url>\"><tmpl_var session.user.username></a>.\n <tmpl_var logout.label><br />\n <tmpl_else>\n <tmpl_var customText>\n </tmpl_unless>\n</tmpl_if>\n</div>\n','Macro/L_loginBox',1,1);
|
||||
|
||||
delete from template where namespace='richEditor' and templateId=1;
|
||||
INSERT INTO template VALUES (1,'HTMLArea','<script language=\"JavaScript\">\r\nfunction fixChars(element) {\r\n element.value = element.value.replace(/~V/mg,\"-\");\r\n}\r\n</script>\r\n\r\n<tmpl_if htmlArea.supported>\r\n <tmpl_if popup>\r\n <script language=\"JavaScript\">\r\n var formObj;\r\n var extrasDir=\"<tmpl_var session.config.extrasURL>\";\r\n function openEditWindow(obj) {\r\n formObj = obj;\r\n window.open(\"<tmpl_var session.config.extrasURL>/htmlArea/editor.html\",\"editWindow\",\"width=490,height=400,resizable=1\");\r\n }\r\n function setContent(content) {\r\n formObj.value = content;\r\n }\r\n </script>\r\n <tmpl_else>\r\n <script language=\"JavaScript\" src=\"<tmpl_var session.config.extrasURL>/htmlArea/editor.js\"></script>\r\n <script>\r\n var master = window;\n _editor_url = \"<tmpl_var session.config.extrasURL>/htmlArea/\";\r\n </script> \r\n </tmpl_if>\r\n</tmpl_if>\r\n\r\n<tmpl_var textarea>\r\n\r\n<tmpl_if htmlArea.supported>\r\n <script language=\"Javascript1.2\">\r\n editor_generate(\"<tmpl_var form.name>\");\r\n </script>\r\n</tmpl_if>\r\n','richEditor',1,1);
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue