[dev] Problem with compose_html logic (HEAD)

Jan Kuipers jrkuipers at lauwerscollege.nl
Fri Dec 12 05:48:21 PST 2003


Citeren Jan Schneider <jan at horde.org>:

> Correct. Can you re-submit your patch with the switch link *always* disabled
> if the pref is locked?

The attached patch should do the job (in addition with my previous patch!)

--
Jan Kuipers
Systeembeheer Lauwers College

----------------------------------------------------------------
DISCLAIMER

This message contains confidential information and is intended only for the individual named. If you are not the named addressee you should not disseminate, distribute or copy this e-mail. Please notify the sender immediately by e-mail if you have received this e-mail by mistake and delete this e-mail from your system. E-mail transmission cannot be guaranteed to be secure or error-free as information could be intercepted, corrupted, lost, destroyed, arrive late or incomplete, or contain viruses. The sender therefore does not accept liability for any errors or omissions in the contents of this message, which arise as a result of e-mail transmission. If verification is required please request a hard-copy version.
-------------- next part --------------
Index: compose.inc
===================================================================
RCS file: /repository/imp/templates/compose/compose.inc,v
retrieving revision 2.258
diff -u -r2.258 compose.inc
--- compose.inc	10 Dec 2003 00:54:29 -0000	2.258
+++ compose.inc	12 Dec 2003 13:44:11 -0000
@@ -399,7 +399,7 @@
 <?php endif; ?>
               </tr>
 
-<?php if (!is_null($rtemode)): ?>
+<?php if (!$prefs->isLocked('compose_html')): ?>
               <tr>
                 <td colspan="2">
                   <table border="0" width="100%" cellspacing="0" cellpadding="1">


More information about the dev mailing list