$day = date( "d/m", strtotime($end_date) );
- if( isset( $tmp['stored_bytes'] ) )
- $stored_bytes = $tmp['stored_bytes'];
+ if( isset( $tmp['stored_bytes'] ) ) {
+ $hbytes = $this->human_file_size( $tmp['stored_bytes'], 3);
+ $hbytes = explode( " ", $hbytes );
+ $stored_bytes = $hbytes[0];
+ }
return array( $day, $stored_bytes );
}
</div> <!-- end div box -->
<div class="box">
- <p class="title">Total stored bytes (last 7 days)</p>
+ <p class="title">Stored Bytes (GB / Last 7 days)</p>
<img src="{$graph_stored_bytes}" alt="" />
</div> <!-- end div box -->