@@ -392,25 +392,10 @@ function template_main()
392392 sClassName: \'quick_edit \',
393393 bShowModify: ' , Config::$ modSettings ['show_modify ' ] ? 'true ' : 'false ' , ',
394394 iTopicId: ' , Utils::$ context ['current_topic ' ], ',
395- sTemplateBodyEdit: ' , Utils::JavaScriptEscape ('
396- <div id="quick_edit_body_container">
397- <div id="error_box" class="error"></div>
398- <textarea class="editor" name="message" rows="12">%body%</textarea><br>
399- <input type="hidden" name=" ' . Utils::$ context ['session_var ' ] . '" value=" ' . Utils::$ context ['session_id ' ] . '">
400- <input type="hidden" name="topic" value=" ' . Utils::$ context ['current_topic ' ] . '">
401- <input type="hidden" name="msg" value="%msg_id%">
402- <div class="righttext quickModifyMargin">
403- <input type="submit" name="post" value=" ' . Lang::$ txt ['save ' ] . '" onclick="return oQuickModify.modifySave( \'' . Utils::$ context ['session_id ' ] . '\', \'' . Utils::$ context ['session_var ' ] . '\');" class="button"> ' . (Utils::$ context ['show_spellchecking ' ] ? ' <input type="button" value=" ' . Lang::$ txt ['spell_check ' ] . '" onclick="spellCheck( \'quickModForm \', \'message \');" class="button"> ' : '' ) . ' <input type="submit" name="cancel" value=" ' . Lang::$ txt ['modify_cancel ' ] . '" onclick="return oQuickModify.modifyCancel();" class="button">
404- </div>
405- </div> ' ), ',
406- sTemplateSubjectEdit: ' , Utils::JavaScriptEscape ('<input type="text" name="subject" value="%subject%" size="80" maxlength="80"> ' ), ',
407- sTemplateBodyNormal: ' , Utils::JavaScriptEscape ('%body% ' ), ',
408- sTemplateSubjectNormal: ' , Utils::JavaScriptEscape ('<a href=" ' . Config::$ scripturl . '?topic= ' . Utils::$ context ['current_topic ' ] . '.msg%msg_id%#msg%msg_id%" rel="nofollow">%subject%</a> ' ), ',
409- sTemplateTopSubject: ' , Utils::JavaScriptEscape ('%subject% ' ), ',
410- sTemplateReasonEdit: ' , Utils::JavaScriptEscape (Lang::$ txt ['reason_for_edit ' ] . ': <input type="text" name="modify_reason" value="%modify_reason%" size="80" maxlength="80" class="quickModifyMargin"> ' ), ',
411- sTemplateReasonNormal: ' , Utils::JavaScriptEscape ('%modify_text ' ), ',
412- sErrorBorderStyle: ' , Utils::JavaScriptEscape ('1px solid red ' ), (Utils::$ context ['can_reply ' ]) ? ',
413- sFormRemoveAccessKeys: \'postmodify \'' : '' , '
395+ sSaveButtonText: ' , Utils::JavaScriptEscape (Lang::$ txt ['save ' ]), ',
396+ sCancelButtonText: ' , Utils::JavaScriptEscape (Lang::$ txt ['modify_cancel ' ]), ',
397+ sTemplateReasonEdit: ' , Utils::JavaScriptEscape (Lang::$ txt ['reason_for_edit ' ]) . ',
398+ sErrorBorderStyle: ' , Utils::JavaScriptEscape ('1px solid red ' ), '
414399 });
415400
416401 aJumpTo[aJumpTo.length] = new JumpTo({
0 commit comments