Index: trunk/htdocs/common/common.php
===================================================================
--- trunk/htdocs/common/common.php	(revision 1063)
+++ trunk/htdocs/common/common.php	(revision 1068)
@@ -41,5 +41,17 @@
 }
 
-function moduleswitcher()
+function mainnav()
+{
+	foreach (array(
+				"http://xcache.lighttpd.net/" => "XCache",
+				"http://www.php.net/" => "PHP",
+				"http://www.lighttpd.net/" => "LIGHTTPD",
+				) as $url => $title) {
+		$html[] = sprintf('<a href="%s" target="_blank">%s</a>', $url, $title);
+	}
+	return implode('|', $html);
+}
+
+function subnav()
 {
 	global $module, $modules;
@@ -58,5 +70,5 @@
 	}
 	list($text, $title) = explode('|', $translated, 2);
-	return sprintf('%s<th%s id="%s" title="%s"><a href="javascript:" onclick="resort(this); return false">%s</a></th>%s'
+	return sprintf('%s<th%s id="%s" class="h" title="%s"><a href="javascript:" onclick="resort(this); return false">%s</a></th>%s'
 			, "\t"
 			, $attrs ? " $attrs" : ""
@@ -254,4 +266,6 @@
 header("Cache-Control: no-cache, must-revalidate");
 header("Expires: Sat, 26 Jul 1997 05:00:00 GMT");
+header("Content-Type: text/html; " . $GLOBALS['config']['charset']);
+header("Content-Language: " . $GLOBALS['config']['lang']);
 
 ?>
