diff --git a/Builder/IISMainHandler/build.txt b/Builder/IISMainHandler/build.txt index a78eeee..a35fccb 100644 --- a/Builder/IISMainHandler/build.txt +++ b/Builder/IISMainHandler/build.txt @@ -1 +1 @@ -1730 \ No newline at end of file +1736 \ No newline at end of file diff --git a/static/js/textEditor.js b/static/js/textEditor.js index 8864b97..2d423be 100644 --- a/static/js/textEditor.js +++ b/static/js/textEditor.js @@ -1,4 +1,4 @@ -function x() { +function x() { return; } var cancelEnter = false; @@ -156,12 +156,12 @@ function DoPrompt(action) { insertAtCaret(document.replier.Body, ' ' + "[i]" + thisItal + "[/i]" + ' '); document.replier.Body.focus(); return; - } else if(action == "image") { - var thisImage = prompt("Введите полный URL картинки, которую вы хотите вставить в сообщение.", "http://"); + } else if(action == "furl") { + var thisImage = prompt("Введите полный URL адреса на старом форуме.", "http://"); if(thisImage == null) { return; } - insertAtCaret(document.replier.Body, ' ' + "[image]" + thisImage + "[/image]" + ' ' ); + insertAtCaret(document.replier.Body, ' ' + "[furl]" + thisImage + "[/furl]" + ' ' ); document.replier.Body.focus(); return; } else if(action == "quote") { diff --git a/templates/Modern/elems/TextEditor.xslt b/templates/Modern/elems/TextEditor.xslt index 31f92df..cfe2142 100644 --- a/templates/Modern/elems/TextEditor.xslt +++ b/templates/Modern/elems/TextEditor.xslt @@ -118,7 +118,7 @@ function insertInBody(str) { - + URL