[dev] HTML composition patch for spelling.inc

Mike Dick mikedick at vagabond.net.nz
Sat Feb 21 19:04:02 PST 2004


Hi

When using IMP, if HTML composition isn't on by default in under options, when
you finish spell checking HTML mail, the message is displayed as plain text
with all the HTML tags visible.
This patch adds 'rtemode' to the list of variables passed on from the
spellchecker. (i.e. it's a patch to /horde/imp/templates/compose/spelling.inc)

Would you consider this for inclusion?
Many thanks,
Mike Dick
-------------- next part --------------
--- spelling.inc	Sun Feb 22 15:07:19 2004
+++ spelling.inc	Wed Feb 18 20:04:57 2004
@@ -131,6 +131,7 @@
 <input type="hidden" name="actionID" value="" />
 <input type="hidden" name="spellcheck" value="" />
 <input type="hidden" name="messageCache" value="<?php echo Util::getFormData('messageCache') ?>" />
+<input type="hidden" name="rtemode" value="<?php echo Util::getFormData('rtemode') ?>" />
 <input type="hidden" name="popup" value="<?php echo htmlspecialchars(Util::getFormData('popup', '')); ?>" />
 <input type="hidden" name="index" value="<?php if (isset($index)) echo htmlspecialchars($index); ?>" />
 <?php if ($reply_type = Util::getFormData('reply_type')): ?>


More information about the dev mailing list