Index: trunk/admin/xcache.tpl.php
===================================================================
--- trunk/admin/xcache.tpl.php	(revision 868)
+++ trunk/admin/xcache.tpl.php	(revision 902)
@@ -33,5 +33,5 @@
 		<th><?php echo _T('Size'); ?></th>
 		<th><?php echo _T('Avail'); ?></th>
-		<th><?php echo _T(isset($free_graph_width) ? '% Free' : '% Used'); ?></th>
+		<th><?php echo _T($config['percent_graph_type'] == 'free' ? '% Free' : '% Used'); ?></th>
 		<th><?php echo _T('Clear'); ?></th>
 		<th><?php echo _T('Compiling'); ?></th>
@@ -58,5 +58,5 @@
 		$pvalue = (int) ($ci['avail'] / $ci['size'] * 100);
 		$pempty = 100 - $pvalue;
-		if (!isset($free_graph_width)) {
+		if ($config['percent_graph_type'] == 'used') {
 			// swap
 			$tmp = $pvalue;
@@ -65,5 +65,5 @@
 		}
 
-		$w = $graph_width;
+		$w = $config['percent_graph_width'];
 		if (empty($ci['istotal'])) {
 			$graph = freeblock_to_graph($ci['free_blocks'], $ci['size']);
@@ -135,7 +135,7 @@
 	<div class="legendtitle"><?php echo _T('Legends:'); ?></div>
 	<div class="legend pvalue">&nbsp;&nbsp;</div>
-	<div class="legendtitle"><?php echo _T(isset($free_graph_width) ? '% Free' : '% Used'); ?></div>
+	<div class="legendtitle"><?php echo _T($config['percent_graph_type'] == 'free' ? '% Free' : '% Used'); ?></div>
 	<div class="legend" style="background: rgb(0,0,255)">&nbsp;&nbsp;</div>
-	<div class="legendtitle"><?php echo _T(isset($free_graph_width) ? 'Free Blocks' : 'Used Blocks'); ?></div>
+	<div class="legendtitle"><?php echo _T($config['percent_graph_type'] == 'free' ? 'Free Blocks' : 'Used Blocks'); ?></div>
 	<div class="legend" style="background: rgb(255,0,0)">&nbsp;&nbsp;</div>
 	<div class="legendtitle"><?php echo _T('Hits'); ?></div>
@@ -145,7 +145,5 @@
 if ($cachelist) {
 	$isphp = $cachelist['type'] == $type_php;
-	if (function_exists("ob_filter_path_nicer")) {
-		ob_start("ob_filter_path_nicer");
-	}
+	ob_start($config['path_nicer']);
 	foreach (array('Cached' => $cachelist['cache_list'], 'Deleted' => $cachelist['deleted_list']) as $listname => $entries) {
 		$a->reset();
@@ -261,7 +259,5 @@
 <?php
 	}
-	if (function_exists("ob_filter_path_nicer")) {
-		ob_end_flush();
-	}
+	ob_end_flush();
 }
 if ($moduleinfo) {
