Ignore:
Timestamp:
2012-07-30T05:28:15Z (7 years ago)
Author:
Xuefer <xuefer@…>
Branches:
3.0, 3.1, 3.2, master, trunk
Children:
5782061
Parents:
2cf33cd
Message:

htdocs/cacher: fix hits graph

git-svn-id: svn://svn.lighttpd.net/xcache/trunk@1084 c26eb9a1-5813-0410-bd6c-c2e55f420ca7

File:
1 edited

Legend:

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

    rc780bef rad0c76f  
    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.