Changeset fda695f in github for program/steps/mail/func.inc


Ignore:
Timestamp:
Sep 1, 2006 1:14:51 PM (7 years ago)
Author:
thomascube <thomas@…>
Branches:
master, HEAD, courier-fix, dev-browser-capabilities, pdo, release-0.6, release-0.7, release-0.8
Children:
bf04525
Parents:
5cd296d
Message:

Finalized quota image

File:
1 edited

Legend:

Unmodified
Added
Removed
  • program/steps/mail/func.inc

    r3ea0e32 rfda695f  
    634634    if ($attrib['display'] == 'image' && function_exists('imagegif')) 
    635635      { 
    636       $quota_text = sprintf('<img src="%s&amp;_action=quotaimg&amp;u=%s&amp;q=%d" alt="%s" width="102" height="15" />', 
     636      $attrib += array('width' => 100, 'height' => 14); 
     637      $quota_text = sprintf('<img src="%s&amp;_action=quotaimg&amp;u=%s&amp;q=%d&amp;w=%d&amp;h=%d" width="%d" height="%d" alt="%s" title="%s / %s" />', 
    637638                            $COMM_PATH, 
    638639                            $quota['used'], $quota['total'], 
    639                             $quota_text); 
     640                            $attrib['width'], $attrib['height'], 
     641                            $attrib['width'], $attrib['height'], 
     642                            $quota_text, 
     643                            show_bytes($quota["used"] * 1024), 
     644                            show_bytes($quota["total"] * 1024)); 
    640645      } 
    641646    } 
Note: See TracChangeset for help on using the changeset viewer.