[prev in list] [next in list] [prev in thread] [next in thread]
List: imp
Subject: Re: [imp] Variable for current mailbox in IMP 6
From: Patrick Boutilier <boutilpj () ednet ! ns ! ca>
Date: 2017-04-13 21:45:07
Message-ID: fb29d73d-cbac-2686-cb1d-c172ea2e39e4 () ednet ! ns ! ca
[Download RAW message or body]
On 04/13/2017 04:56 PM, Michael J Rubinsky wrote:
>
> Quoting Michael J Rubinsky <mrubinsk@horde.org>:
>
>> Quoting Patrick Boutilier <boutilpj@ednet.ns.ca>:
>>
>>> On 04/13/2017 03:24 PM, Michael J Rubinsky wrote:
>>>>
>>>> Quoting Patrick Boutilier <boutilpj@ednet.ns.ca>:
>>>>
>>>>> 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): ?>
>>
>> There is no php variable in the dynamic template that would point to
>> the current mailbox. This is a *dynamic* template - meaning that this
>> is code that is sent to the browser once - we have no idea what
>> mailbox is being viewed at the time the page is generated, let alone
>> if the mailbox changed since then.
>>
>> Beside that, this is what the ['spam']['display'] option is for in
>> imp/config/backends[.local].php
>
> Ah. Just noticed that this is some other system defined spam folder.
> Please ignore this comment :)
No problem. Turns out only 7 users had the spam_folder preference set
and 2 of them where pointing to the system defined spam folder. So I
locked the spam_folder preference and I will just inform the other 5
users of the change.
>
>>
>>>
>>> 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.
>>
>>
>>
>> --
>> mike
>> The Horde Project
>> http://www.horde.org
>> https://www.facebook.com/hordeproject
>> https://www.twitter.com/hordeproject
>
>
>
>
>
["boutilpj.vcf" (text/x-vcard)]
--
imp mailing list
Frequently Asked Questions: http://wiki.horde.org/FAQ
To unsubscribe, mail: imp-unsubscribe@lists.horde.org
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic