Skip to content

Commit

Permalink
Fixed issue #07660: Misplaced HTML editor when sending invitations
Browse files Browse the repository at this point in the history
Dev: same think and fix for reminder
  • Loading branch information
Shnoulle committed Mar 13, 2013
1 parent da57636 commit 5a6cef2
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
2 changes: 2 additions & 0 deletions application/views/admin/token/email.php
Expand Up @@ -73,8 +73,10 @@
<input type='text' size='83' id='subject_<?php echo $language; ?>' name='subject_<?php echo $language; ?>' value="<?php echo $subject; ?>" /></li>

<li><label for='message_<?php echo $language; ?>'><?php $clang->eT("Message"); ?>:</label>
<div class="htmleditor">
<textarea name='message_<?php echo $language; ?>' id='message_<?php echo $language; ?>' rows='20' cols='80'><?php echo htmlspecialchars($textarea); ?></textarea>
<?php echo getEditor("email-inv", "message_$language", "[" . $clang->gT("Invitation email:", "js") . "](" . $language . ")", $surveyid, '', '', "tokens"); ?>
</div>
</li>
</ul></div>
<?php } ?>
Expand Down
4 changes: 2 additions & 2 deletions application/views/admin/token/remind.php
Expand Up @@ -51,11 +51,11 @@

echo "<input type='text' size='83' id='subject_$language' name='subject_$language' value=\"$subject\" /></li><li>\n"
. "<label for='message_$language'>" . $clang->gT("Message") . ":</label>\n"
. "<div class='htmleditor'>\n"
. "<textarea name='message_$language' id='message_$language' rows='20' cols='80' >";

echo htmlspecialchars($textarea);

echo "</textarea>"
. "</div>\n"
. getEditor("email-rem", "message_$language", "[" . $clang->gT("Reminder Email:", "js") . "](" . $language . ")", $surveyid, '', '', "tokens")
. "</li>\n"
. "</ul></div>";
Expand Down

0 comments on commit 5a6cef2

Please sign in to comment.