[imp] forward in mailbox list [PATCH]

David Chang david at thbuo.gov.tw
Tue Aug 5 19:34:06 PDT 2003


Hi all:
I don't think that "Forward" function are necessaried in mailbox list.

David Chang



Here are two patches to fix it.



*** imp/config/conf.xml.org	Wed Aug  6 10:23:18 2003
--- imp/config/conf.xml	Wed Aug  6 10:22:38 2003
***************
*** 28,33 ****
--- 28,34 ----
          User Capabilities and Constraints
     </configheader>
     <configboolean name="allow_folders" desc="Should we allow users to use
folders at all? NOTE: setting this to false will mean there is no place to save
sent-mail or postponed messages, along with the obvious affects of restricting
the user to their INBOX.">true</configboolean>
+    <configboolean name="allow_forward_in_mailbox" desc="Should we allow users
to
   forward mails in mailbox list ?">true</configboolean>
     <configboolean name="allow_view_source" desc="If this is true, then there
will be a 'Message Source' link in the parts list of every message, allowing
the user to view the entire raw message, or to download it and save it to
disk.">true</configboolean>
     <configboolean name="allow_resume_all" desc="If this is true, the user will
be able to resume any message



*** imp/templates/mailbox/actions.inc.org	Wed Aug  6 10:26:55 2003
--- imp/templates/mailbox/actions.inc	Wed Aug  6 10:26:28 2003
***************
*** 18,24 ****
--- 18,26 ----
  <?php if ($show_whitelist_link): ?>
          | <?php echo Horde::widget('', _("Whitelist"), 'widget', '',
"Submit('whitelist'); return false;", _("Whitelist")); ?>
  <?php endif; ?>
+ <?php if ($conf['user']['allow_forward_in_mailbox']): ?>
      | <?php echo Horde::widget('', _("Forward"), 'widget', '',
"Submit('fwd_digest'); return false;", _("Forward")) ?>
+ <?php endif; ?>
  <?php if ($conf['spam']['reporting']): ?>
      | <?php echo Horde::widget('', _("Report as Spam"), 'widget', '',
"Submit('spam_report'); return false;", _("Report as Spam")); ?>
  <?php endif; ?>






More information about the imp mailing list