Changeset 522 for trunk/admin/xcache.tpl.php
- Timestamp:
- 2008-02-17T17:49:46+01:00 (5 years ago)
- File:
-
- 1 edited
-
trunk/admin/xcache.tpl.php (modified) (4 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/admin/xcache.tpl.php
r521 r522 17 17 <col align="right" /> 18 18 <col align="right" /> 19 <col /> 20 <col align="right" /> 21 <col align="right" /> 19 22 <col align="right" /> 20 23 <col align="right" /> … … 32 35 <th><?php echo _T('Compiling'); ?></th> 33 36 <th><?php echo _T('Hits'); ?></th> 37 <th><?php echo _T('Hits/H'); ?></th> 38 <th><?php echo _T('Hits 24H'); ?></th> 39 <th><?php echo _T('Hits/S'); ?></th> 34 40 <th><?php echo _T('Misses'); ?></th> 35 41 <th><?php echo _T('Clogs'); ?></th> … … 65 71 $ci_avail = size($ci['avail']); 66 72 $ci = number_formats($ci, $numkeys); 73 74 $hits_avg_h = number_format(array_avg($ci['hits_by_hour']), 2); 75 $hits_avg_s = number_format(array_avg($ci['hits_by_second']), 2); 76 $hits_graph_h = hits_to_graph($ci['hits_by_hour']); 77 $hits_graph_h_w = count($ci['hits_by_hour']) * 2; 78 67 79 if (!empty($ci['istotal'])) { 68 80 $ci['compiling'] = '-'; … … 95 107 <td>{$ci['compiling']}</td> 96 108 <td>{$ci['hits']}</td> 109 <td>{$hits_avg_h}</td> 110 <td><div class="hitsgraph" style="width: {$hits_graph_h_w}px">{$hits_graph_h}</div></td> 111 <td>{$hits_avg_s}</td> 97 112 <td>{$ci['misses']}</td> 98 113 <td>{$ci['clogs']}</td>
Note: See TracChangeset
for help on using the changeset viewer.

