SF.net SVN: postfixadmin:[746] trunk/templates/list-virtual.php
Brought to you by:
christian_boltz,
gingerdog
From: <Gin...@us...> - 2009-10-30 10:04:01
|
Revision: 746 http://postfixadmin.svn.sourceforge.net/postfixadmin/?rev=746&view=rev Author: GingerDog Date: 2009-10-30 10:03:49 +0000 (Fri, 30 Oct 2009) Log Message: ----------- fix quota display - as per http://sourceforge.net/tracker/?func=detail&atid=937964&aid=2889335&group_id=191583 - thanks for the patch Modified Paths: -------------- trunk/templates/list-virtual.php Modified: trunk/templates/list-virtual.php =================================================================== --- trunk/templates/list-virtual.php 2009-10-28 00:14:22 UTC (rev 745) +++ trunk/templates/list-virtual.php 2009-10-30 10:03:49 UTC (rev 746) @@ -295,8 +295,13 @@ } else { - if (boolconf('used_quotas')) - print divide_quota ($tMailbox[$i]['current']).'/'; + if (boolconf('used_quotas')) { + if (boolconf('new_quota_table')) { + print divide_quota ($tMailbox[$i]['bytes']).'/'; + } else { + print divide_quota ($tMailbox[$i]['current']).'/'; + } + } print divide_quota ($tMailbox[$i]['quota']); } print "</td>\n"; This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |