Copyright (c) 2007 The NaSMail Project This file is part of NaSMail show_quota plugin.
This plugin is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 2 of the License, or (at your option) any later version.
This plugin is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details.
You should have received a copy of the GNU General Public License along with plugin; if not, write to the Free Software Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
Declare constants
Function is used to retrieve user's quota information from configure quota backend.
Function is used to display quota information in left_main frame
Creates html formated message box
Creates html table row with two colored cells.
Formats number according to its type
Output uses GiB, MiB, KiB or B suffixes with size quotas
Function is used to display overquota warnings in right_main frame.
Rounds float number
If number is bigger or equal to 100, it is rounded to integer. If number is bigger or equal to 10, it is rounded to one decimal place. If number is smaller than 10, it is rounded to two decimal places.
Documentation generated on Sun, 22 Nov 2009 17:36:33 +0200 by phpDocumentor 1.4.3