Parcourir la source

Trying to output JS variables in HTML doesn't work too well (I blame @Spuds!)

Signed-off-by: Michael Eshom <[email protected]>
Michael Eshom il y a 11 ans
Parent
commit
7d0ca6874f
1 fichiers modifiés avec 1 ajouts et 1 suppressions
  1. 1 1
      Themes/default/Display.template.php

+ 1 - 1
Themes/default/Display.template.php

@@ -908,7 +908,7 @@ function template_main()
 								<div id="quick_edit_body_container" style="width: 90%">
 									<div id="error_box" style="padding: 4px;" class="error"></div>
 									<textarea class="editor" name="message" rows="12" style="' . (isBrowser('is_ie8') ? 'width: 635px; max-width: 100%; min-width: 100%' : 'width: 100%') . '; margin-bottom: 10px;" tabindex="' . $context['tabindex']++ . '">%body%</textarea><br />
-									<input type="hidden" name="\' + smf_session_var + \'" value="\' + smf_session_id + \'" />
+									<input type="hidden" name="' . $context['session_var']  . '" value="' . $context['session_id'] . '" />
 									<input type="hidden" name="topic" value="' . $context['current_topic'] . '" />
 									<input type="hidden" name="msg" value="%msg_id%" />
 									<div class="righttext">