Browse Source

Merge pull request #501 from Oldiesmann/release-2.1

Trying to output JS variables in HTML doesn't work too well
Michael Eshom 11 years ago
parent
commit
a2c5d6a44a
1 changed files with 1 additions and 1 deletions
  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">