[Tickets #253] bug in imp_show_quota

bugs at bugs.horde.org bugs at bugs.horde.org
Wed Jun 2 08:15:26 PDT 2004


DO NOT REPLY TO THIS MESSAGE. THIS EMAIL ADDRESS IS NOT MONITORED.

-Ticket 253
-Queue: IMP
-Added By: ota at univali.br

>From ota at univali.br (Wed Jun  2 08:15:26 2004):
improve graphics statistics:
chage in 'imp_show_quota' (config.php) the:
---------------------------------------------------------------------------
           $quota_html = '<table width="100%" border="0" cellpadding="0"
cellspacing="0"><tr><td class="item">'
                        . '<table border="0" cellspacing="2" cellpadding="2"
width="100%"><tr><td align="center" class="' . $class . '">'
                        . sprintf("%.2fMB / %.2fMB  (%.2f%%)", $taken,
$total, $percent)
                        . '</td></tr></table></td></tr></table>';
---------------------------------------------------------------------------
by:
---------------------------------------------------------------------------
           $quota_html = '<table width="100%" border="0" cellpadding="2"
cellspacing="0" class="'.$class.'">'
                        .'  <tr><td class="'.$class.'" width="100">'
                        .'    <table width="100" border="1"
bordercolor="#111111" cellpadding="0" cellspacing="0"
class="item"><tr><td>'
                        .sprintf("<img src=\"graphics/barra.bmp\"
height=\"17\" width=\"%.0f\">", $percent)
                        .'</td></tr></table>'
                        .'    <td class="'.$class.'"
width="100%-100">'.sprintf("%.2f%% &nbsp;&nbsp;&nbsp;(%.2fMB / %.2fMB)",
$percent, $taken, $total).'</td>'
                        .'  </tr></table>';
---------------------------------------------------------------------------






http://bugs.horde.org/details.php?id=253

-- 


More information about the bugs mailing list