Changeset 1063 for trunk/htdocs/cacher/cacher.tpl.php
- Timestamp:
- 2012-07-27T18:03:21+02:00 (10 months ago)
- File:
-
- 1 edited
-
trunk/htdocs/cacher/cacher.tpl.php (modified) (6 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/htdocs/cacher/cacher.tpl.php
r1058 r1063 36 36 , th(N_("cache.blocksgraph")) 37 37 , th(N_("cache.operations")) 38 , th(N_("cache. compiling"))38 , th(N_("cache.status")) 39 39 , th(N_("cache.hits")) 40 40 , th(N_("cache.hits_graph")) … … 42 42 , th(N_("cache.hits_avg_s")) 43 43 , th(N_("cache.updates")) 44 , th(N_("cache. clogs"))44 , th(N_("cache.skips")) 45 45 , th(N_("cache.ooms")) 46 46 , th(N_("cache.errors")) … … 53 53 </tr> 54 54 <?php 55 $numkeys = explode(',', 'slots,size,avail,hits,updates, clogs,ooms,errors,cached,deleted');55 $numkeys = explode(',', 'slots,size,avail,hits,updates,skips,ooms,errors,cached,deleted'); 56 56 $l_clear = _('Clear'); 57 57 $l_clear_confirm = _('Sure to clear?'); … … 88 88 89 89 if (!empty($ci['istotal'])) { 90 $ci[' compiling']= '-';90 $ci['status'] = '-'; 91 91 $ci['can_readonly'] = '-'; 92 92 } 93 93 else { 94 $ci['compiling'] = $ci['type'] == $type_php ? ($ci['compiling'] ? 'yes' : 'no') : '-'; 94 if ($ci['type'] == $type_php) { 95 $ci['status'] = $ci['compiling'] ? sprintf(_('Compiling(%s)'), age($ci['compiling'])) : _('Normal'); 96 } 97 else { 98 $ci['status'] = '-'; 99 } 95 100 $ci['can_readonly'] = $ci['can_readonly'] ? 'yes' : 'no'; 96 101 } … … 115 120 ></form 116 121 ></td> 117 <td>{$ci[' compiling']}</td>122 <td>{$ci['status']}</td> 118 123 <td>{$ci['hits']}</td> 119 124 <td><div class="hitsgraph" style="width: {$hits_graph_h_w}px">{$hits_graph_h}</div></td> … … 121 126 <td>{$hits_avg_s}</td> 122 127 <td>{$ci['updates']}</td> 123 <td>{$ci[' clogs']}</td>128 <td>{$ci['skips']}</td> 124 129 <td>{$ci['ooms']}</td> 125 130 <td>{$ci['errors']}</td>
Note: See TracChangeset
for help on using the changeset viewer.

