Index: trunk/htdocs/common/header.tpl.php
===================================================================
--- trunk/htdocs/cacher/header.tpl.php	(revision 1052)
+++ trunk/htdocs/common/header.tpl.php	(revision 1053)
@@ -2,16 +2,14 @@
 <html xmlns="http://www.w3.org/1999/xhtml">
 <head>
-<?php
-echo <<<HEAD
-	<meta http-equiv="Content-Type" content="text/html; charset=$config[charset]" />
-	<meta http-equiv="Content-Language" content="$config[lang]" />
-	<script type="text/javascript" src="tablesort.js" charset="$config[charset]"></script>
-HEAD;
-?>
+	<meta http-equiv="Content-Type" content="text/html; charset=<?php echo $GLOBALS['config']['charset']; ?>" />
+	<meta http-equiv="Content-Language" content="<?php echo $GLOBALS['config']['charset']; ?>" />
+	<script type="text/javascript" src="tablesort.js"></script>
 
-	<link rel="stylesheet" type="text/css" href="xcache.css" />
-	<title><?php echo sprintf(_("XCache %s Administration"), $xcache_version); ?></title>
+	<link rel="stylesheet" type="text/css" href="../common/common.css" />
+	<link rel="stylesheet" type="text/css" href="<?php echo $GLOBALS['module']; ?>.css" />
+	<title><?php echo $title = sprintf("XCache %s", $xcache_version = defined('XCACHE_VERSION') ? XCACHE_VERSION : '') . " - " . ucfirst($GLOBALS['module']); ?></title>
 </head>
 
 <body>
-<h1><?php echo sprintf(_("XCache %s Administration"), $xcache_version); ?></h1>
+<h1><?php echo $title; ?></h1>
+<div class="switcher"><?php echo moduleswitcher(); ?></div>
