Ignore:
Timestamp:
2012-07-30T05:28:15Z (3 years ago)
Author:
Xuefer
Message:

htdocs/cacher: fix hits graph

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/htdocs/cacher/sub/summary.tpl.php

    r1078 r1084  
    6767        $hits_avg_s     = number_format(array_avg($ci['hits_by_second']), 2);
    6868        $hits_graph_h   = get_cache_hits_graph($ci, 'hits_by_hour');
    69         $hits_graph_h_w = count($ci['hits_by_hour']) * 2;
    7069
    7170        if (!empty($ci['istotal'])) {
     
    113112        <td>{$ci['status']}</td>
    114113        <td align="right">{$ci['hits']}</td>
    115         <td><div class="hitsgraph" style="width: {$hits_graph_h_w}px">{$hits_graph_h}</div></td>
     114        <td>{$hits_graph_h}</td>
    116115        <td align="right">{$hits_avg_h}</td>
    117116        <td align="right">{$hits_avg_s}</td>
Note: See TracChangeset for help on using the changeset viewer.