Changeset 1322

Show
Ignore:
Timestamp:
08/10/08 23:50:36 (4 months ago)
Author:
rats
Message:

* Fixed #1326: show the user's disk quota and the diks usage in the user list

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • trunk/CHANGELOG

    r1321 r1322  
    22~~~~~~~~~~~~~~~~~~~~~~~~~~~ 
    33 
    4 2008-08-11 Daniel Andreca 
     42008-08-10 Benedikt Heintel 
     5        - GUI: 
     6                * Fixed #1326: show the user's disk quota and the diks usage in the user list 
     7 
     82008-08-10 Daniel Andreca 
    59        - CONFIGS: 
    610                * Support for libapache2-mod-fcgid in config files. 
    7         - Engine
     11        - ENGINE
    812                * fcgid-ispcp.conf incorect generated. 
    913        - GUI: 
  • trunk/gui/reseller/users.php

    r1290 r1322  
    117117                        'VL_YEAR' => $crnt_year, 
    118118                        'TR_EDIT_DOMAIN' => tr('Edit Domain'), 
    119                         'TR_EDIT_USER' => tr('Edit User') 
     119                        'TR_EDIT_USER' => tr('Edit User'), 
     120                        'TR_BW_USAGE' => tr('Bandwidth'), 
     121                        'TR_DISK_USAGE' => tr('Disk') 
    120122                ) 
    121123        ); 
     
    325327                                        'USER_ID' => $rs->fields['domain_admin_id'], 
    326328                                        'CHANGE_INTERFACE' => tr('Switch'), 
     329                                        'DISK_LIMIT' => $rs->fields['domain_disk_limit'], 
     330                                        'DISK_USAGE' => round($rs->fields['domain_disk_usage'] / 1024 / 1024,1) 
    327331                                        ) 
    328332                                ); 
  • trunk/gui/themes/omega_original/reseller/users.tpl

    r1290 r1322  
    104104                        <td class="content3"><b>{TR_USERNAME}</b></td> 
    105105                        <td class="content3" width="90" align="center"><b>{TR_CREATION_DATE}</b></td> 
     106                        <td class="content3" width="90" align="center"><b>{TR_DISK_USAGE}</b></td> 
    106107                        <td colspan="6" align="center" class="content3"><b>{TR_ACTION}</b></td> 
    107108                      </tr> 
     
    113114                        <td class="{CLASS_TYPE_ROW}"><a href="http://www.{NAME}/" target="_blank" class="link"><img src="{THEME_COLOR_PATH}/images/icons/goto.png" width="16" height="16" border="0"/> {NAME}</a></td> 
    114115                        <td class="{CLASS_TYPE_ROW}" width="90" align="center">{CREATION_DATE}</td> 
     116                        <td class="{CLASS_TYPE_ROW}" width="90" align="center">{DISK_USAGE} of {DISK_LIMIT} MB</td> 
    115117                        <td nowrap="nowrap" width="80" align="center" class="{CLASS_TYPE_ROW}"><img src="{THEME_COLOR_PATH}/images/icons/identity.png" width="16" height="16" border="0" align="absmiddle"> <a href="domain_details.php?domain_id={DOMAIN_ID}" class="link">{TR_DETAILS}</a></td> 
    116118                        <!-- BDP: edit_option -->