[imp] message flag and pop3
Rong-en Fan
rafan at csie.org
Sat May 3 13:52:07 PDT 2003
Hi all,
In recently (about 21 hours ago), we have the new navbar_navigate.inc.
However, it still shows message flags if the protocol is pop3,
which won't work.
Here is the patch (see attachment).
Regards,
rafan
-------------- next part --------------
--- horde.orig/imp/templates/message/navbar_navigate.inc Fri May 2 15:25:33 2003
+++ horde/imp/templates/message/navbar_navigate.inc Sat May 3 12:32:29 2003
@@ -1,5 +1,6 @@
<tr class="control">
<td nowrap="nowrap" valign="top">
+<?php if (!strstr($imp['protocol'], 'pop3')): ?>
<select name="flag<?php echo $nav_id ?>" onchange="flagMessage(<?php echo $nav_id ?>);">
<option value="" selected="selected"><?php echo _("Mark as:") ?></option>
<option value="0Seen"><?php echo _("Unseen") ?></option>
@@ -10,6 +11,7 @@
<option value="Draft"><?php echo _("Draft") ?></option>
<option value="0Draft"><?php echo _("Not Draft") ?></option>
</select>
+<?php endif; ?>
<?php if ($conf['user']['allow_folders']): ?>
<?php echo Horde::widget('', _("Move to folder"), 'widget', '', 'Transfer(' . MOVE_MESSAGES . ',' . $nav_id . '); return false;', _("Move"), 3) ?> |
More information about the imp
mailing list