Index: trunk/htdocs/coverager/coverager.tpl.php
===================================================================
--- trunk/htdocs/coverager/coverager.tpl.php	(revision 1052)
+++ trunk/htdocs/coverager/coverager.tpl.php	(revision 1053)
@@ -1,18 +1,3 @@
-<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
-<html xmlns="http://www.w3.org/1999/xhtml">
-<head>
-<?php
-echo <<<HEAD
-	<meta http-equiv="Content-Type" content="text/html; charset=$this->charset" />
-	<meta http-equiv="Content-Language" content="{$this->lang}" />
-	<script type="text/javascript" src="tablesort.js" charset="$this->charset"></script>
-HEAD;
-?>
-
-	<link rel="stylesheet" type="text/css" href="coverager.css" />
-	<title><?php echo _T("XCache PHP Code Coverage Viewer"); ?></title>
-</head>
-<body>
-<h1><?php echo _T("XCache PHP Code Coverage Viewer"); ?></h1>
+<?php include "../common/header.tpl.php"; ?>
 
 <?php
@@ -50,9 +35,9 @@
 	global $cycle;
 	$cycle = new Cycle('class="col1"', 'class="col2"');
-	$l_dir = _T("Directory");
-	$l_per = _T("Percent");
-	$l_hit = _T("Hits");
-	$l_lns = _T("Lines");
-	$l_tds = _T("TODO");
+	$l_dir = _("Directory");
+	$l_per = _("Percent");
+	$l_hit = _("Hits");
+	$l_lns = _("Lines");
+	$l_tds = _("TODO");
 	return <<<EOS
 <div class="table-center">
@@ -114,8 +99,8 @@
 	global $cycle;
 	$cycle = new Cycle('class="col1"', 'class="col2"');
-	$l_fil = _T("File");
-	$l_per = _T("Percent");
-	$l_hit = _T("Hits");
-	$l_lns = _T("Lines");
+	$l_fil = _("File");
+	$l_per = _("Percent");
+	$l_hit = _("Hits");
+	$l_lns = _("Lines");
 	return <<<EOS
 <div class="center-table">
@@ -168,5 +153,5 @@
 }
 
-$l_root = _T("root");
+$l_root = _("root");
 if ($action == 'dir') {
 	if (function_exists('ob_filter_path_nicer')) {
@@ -246,8 +231,4 @@
 ?>
 
-<div class="footnote">
-Powered By: XCache <?php echo $xcache_version; ?> coverager <?php echo _T("module"); ?>
-</div>
-
-</body>
-</html>
+<?php include "../common/footer.tpl.php"; ?>
+
