Select All/None v2.3

Max Kalika max@the-triumvirate.net
Tue, 10 Oct 2000 07:21:49 -0700 (PDT)


Looks like these are reversed.  This works though:

[root@host imp]# diff -U 0 /tmp/navbar.inc templates/mailbox/navbar.inc 
--- /tmp/navbar.inc     Tue Oct 10 07:12:38 2000
+++ templates/mailbox/navbar.inc        Tue Oct 10 07:12:42 2000
@@ -11,2 +11,2 @@
-            <option value="<?= IMP_ALL ?>"><?= _("All") ?></option>
-            <option value="!<?= IMP_ALL ?>"><?= _("None") ?></option>
+            <option value="!<?= IMP_ALL ?>"><?= _("All") ?></option>
+            <option value="<?= IMP_ALL ?>"><?= _("None") ?></option>


Also, I'm curious when this part will get executed?

    if (flag == 'all')
        toggle(true);
    else if (flag == 'none')
        toggle(false);

The "all" flag is defined as a constant.  Is this residual code from 2.2.x 
where "select all" and "select none" were part of the navbar?

Thank you for your time.

--mk23

p.s. Is there any chance to put in that "signature before replies/forwards" 
preference?  I appeased a few of my users when I gave them that.  I can 
resubmit it if necessary.