-// Prepare data for the template
-define('__DB_HITS' , TRANSLATE_COMMA($_CONFIG['db_hits']));
-define('__CACHE_HITS', TRANSLATE_COMMA($_CONFIG['cache_hits']));
-define('__TOTAL_HITS', TRANSLATE_COMMA($totalHits));
-define('__CACHE_PERC', TRANSLATE_COMMA(($_CONFIG['cache_hits'] / $totalHits * 100)));
-
-// Load template
-LOAD_TEMPLATE("admin_cache_stats");
+ // Load template
+ loadTemplate('admin_cache_stats', false, $content);
+} else {
+ // Deactivated, which is good for performance
+ displayMessage('{--ADMIN_CACHE_DB_STATS_DEACTIVATED--}');
+}