[horde] IMP Quota display
Michael M Slusarz
slusarz at horde.org
Mon Sep 30 21:13:11 UTC 2013
Quoting Pine A <pinemail11 at gmail.com>:
> On Mon, Sep 23, 2013 at 11:50 PM, Michael M Slusarz <slusarz at horde.org>wrote:
>> Quoting Pine A <pinemail11 at gmail.com>:
>> I am trying to display quota on sidebar in imp.
>>> For this I am following code in imp/lib/dynamic/mailbox.php
>>> $sidebar->subinfo = $imp_imap->config->quota;
>>> For displaying in sidebar we are writing following code in
>>> <?php echo $sidebar->subinfo ?>
>> That's not going to do anything. $imp_imap->config->quota is nothing more
>> than the 'quota' config from imp/config/backends.php.
>> To actually grab quota information from the IMAP server, you need to us
>> IMP_Quota_Ui (or directly call an IMP_Quota driver). See IMP_View_Subinfo
>> for an example.
>> Michael Slusarz [slusarz at horde.org]
>> Hi Michael,
> You are right, look like it is for showing no of mails in folders.
> I am trying to display mailbox size quota.
Then you need to directly call the IMP_Quota driver to get this information.
Michael Slusarz [slusarz at horde.org]
More information about the horde