Changeset 902 for trunk/admin/xcache.tpl.php
- Timestamp:
- 2012-05-29T04:25:41+02:00 (12 months ago)
- File:
-
- 1 edited
-
trunk/admin/xcache.tpl.php (modified) (6 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/admin/xcache.tpl.php
r868 r902 33 33 <th><?php echo _T('Size'); ?></th> 34 34 <th><?php echo _T('Avail'); ?></th> 35 <th><?php echo _T( isset($free_graph_width)? '% Free' : '% Used'); ?></th>35 <th><?php echo _T($config['percent_graph_type'] == 'free' ? '% Free' : '% Used'); ?></th> 36 36 <th><?php echo _T('Clear'); ?></th> 37 37 <th><?php echo _T('Compiling'); ?></th> … … 58 58 $pvalue = (int) ($ci['avail'] / $ci['size'] * 100); 59 59 $pempty = 100 - $pvalue; 60 if ( !isset($free_graph_width)) {60 if ($config['percent_graph_type'] == 'used') { 61 61 // swap 62 62 $tmp = $pvalue; … … 65 65 } 66 66 67 $w = $ graph_width;67 $w = $config['percent_graph_width']; 68 68 if (empty($ci['istotal'])) { 69 69 $graph = freeblock_to_graph($ci['free_blocks'], $ci['size']); … … 135 135 <div class="legendtitle"><?php echo _T('Legends:'); ?></div> 136 136 <div class="legend pvalue"> </div> 137 <div class="legendtitle"><?php echo _T( isset($free_graph_width)? '% Free' : '% Used'); ?></div>137 <div class="legendtitle"><?php echo _T($config['percent_graph_type'] == 'free' ? '% Free' : '% Used'); ?></div> 138 138 <div class="legend" style="background: rgb(0,0,255)"> </div> 139 <div class="legendtitle"><?php echo _T( isset($free_graph_width)? 'Free Blocks' : 'Used Blocks'); ?></div>139 <div class="legendtitle"><?php echo _T($config['percent_graph_type'] == 'free' ? 'Free Blocks' : 'Used Blocks'); ?></div> 140 140 <div class="legend" style="background: rgb(255,0,0)"> </div> 141 141 <div class="legendtitle"><?php echo _T('Hits'); ?></div> … … 145 145 if ($cachelist) { 146 146 $isphp = $cachelist['type'] == $type_php; 147 if (function_exists("ob_filter_path_nicer")) { 148 ob_start("ob_filter_path_nicer"); 149 } 147 ob_start($config['path_nicer']); 150 148 foreach (array('Cached' => $cachelist['cache_list'], 'Deleted' => $cachelist['deleted_list']) as $listname => $entries) { 151 149 $a->reset(); … … 261 259 <?php 262 260 } 263 if (function_exists("ob_filter_path_nicer")) { 264 ob_end_flush(); 265 } 261 ob_end_flush(); 266 262 } 267 263 if ($moduleinfo) {
Note: See TracChangeset
for help on using the changeset viewer.

