Re: Variable for current mailbox in IMP 6

Patrick Boutilier <[email protected]> Thu, 13 Apr 2017 16:22:00 -0300
Newsgroups gmane.comp.horde.imp
Message-ID <[email protected]>
On 04/13/2017 03:24 PM, Michael J Rubinsky wrote:
>
> Quoting Patrick Boutilier <[email protected]>:
>
>> What is the variable used to get the current mailbox? In some older
>> versions of IMP it used to be $imp['mailbox'] .
>
> In what context?
>
>
>

Starting in imp/templates/dynamic/mailbox.html.php . Trying to add to 
this line:

<?php if ($this->show_spam): ?>


to not show the spam button in our system default spam folder regardless 
of what the user has in preferences for their spam folder. So basically 
if you are in the SPAMmail folder never show the spam button.

-- 
imp mailing list
Frequently Asked Questions: http://wiki.horde.org/FAQ
To unsubscribe, mail: [email protected]
boutilpj.vcf (text/x-vcard, 286 B)
begin:vcard
fn:Patrick Boutilier
n:Boutilier;Patrick
org:;Nova Scotia Department of Education
adr:;;2021 Brunswick Street;Halifax;NS;B3K 2Y5;Canada
email;internet:[email protected]
title:WAN Communications Specialist
tel;work:902-424-6800
tel;fax:902-424-0874
version:2.1
end:vcard