thomascube
2006-02-05 cc95700b58f31f04470db8271a09d6e52ba9a63d
program/include/rcube_imap.inc
@@ -1057,6 +1057,22 @@
    }
  /**
   * Get quota
   * added by Nuny
   */
  function get_quota()
    {
    if ($this->get_capability('QUOTA'))
      {
      $result = iil_C_GetQuota($this->conn);
      return sprintf("%.2fMB / %.2fMB (%.0f%%)", $result["used"] / 1000.0, $result["total"] / 1000.0, $result["percent"]);
      }
    else
      return 'unknown';
    }
  // subscribe to a specific mailbox(es)
  function subscribe($mbox, $mode='subscribe')
    {