Fixed FELIX-2610 / WebConsole doesn't work with JDK 1.3.1_06 because of problem in MessageFormat/
https://issues.apache.org/jira/browse/FELIX-2610

git-svn-id: https://svn.apache.org/repos/asf/felix/trunk@1000446 13f79535-47bb-0310-9956-ffa450edef68
diff --git a/webconsole/src/main/resources/templates/main_header.html b/webconsole/src/main/resources/templates/main_header.html
index 2b52a9d..0daf8be 100644
--- a/webconsole/src/main/resources/templates/main_header.html
+++ b/webconsole/src/main/resources/templates/main_header.html
@@ -3,42 +3,41 @@
 <html xmlns="http://www.w3.org/1999/xhtml">
 <head>
 	<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
-	<link rel="icon" href="{4}" />
-	<title>{0} - {1}</title>
+	<link rel="icon" href="${brand.favicon}" />
+	<title>${brand.name} - ${head.title}</title>
 
-	<link href="{2}/res/lib/reset-min.css" rel="stylesheet" type="text/css" />
-	<link href="{2}/res/lib/themes/base/jquery-ui.css" rel="stylesheet" type="text/css" />
-	<link href="{5}" rel="stylesheet" type="text/css" />
-	{9}
+	<link href="${appRoot}/res/lib/reset-min.css" rel="stylesheet" type="text/css" />
+	<link href="${appRoot}/res/lib/themes/base/jquery-ui.css" rel="stylesheet" type="text/css" />
+	<link href="${brand.css}" rel="stylesheet" type="text/css" />
+	${head.cssLinks}
 
 	<script type="text/javascript">
 	// <![CDATA[
-		appRoot = "{2}";
-		pluginRoot = "{2}/{3}";
+		appRoot = "${appRoot}";
+		pluginRoot = "${appRoot}/${head.label}";
 	// ]]>
 	</script>
 
-	<script src="{2}/res/lib/jquery-1.3.2.js" type="text/javascript"></script>
-	<script src="{2}/res/lib/jquery-ui-1.7.2.js" type="text/javascript"></script>
-	<script src="{2}/res/lib/jquery-ui-i18n-1.7.2.js" type="text/javascript"></script>
-	<script src="{2}/res/lib/jquery.cookies-2.2.0.js" type="text/javascript"></script>
-	<script src="{2}/res/lib/jquery.tablesorter-2.0.3.js" type="text/javascript"></script>
-	<script src="{2}/res/lib/support.js" type="text/javascript"></script>
+	<script src="${appRoot}/res/lib/jquery-1.3.2.js" type="text/javascript"></script>
+	<script src="${appRoot}/res/lib/jquery-ui-1.7.2.js" type="text/javascript"></script>
+	<script src="${appRoot}/res/lib/jquery-ui-i18n-1.7.2.js" type="text/javascript"></script>
+	<script src="${appRoot}/res/lib/jquery.cookies-2.2.0.js" type="text/javascript"></script>
+	<script src="${appRoot}/res/lib/jquery.tablesorter-2.0.3.js" type="text/javascript"></script>
+	<script src="${appRoot}/res/lib/support.js" type="text/javascript"></script>
 	
 	   
     <!-- FELIX-2188: backwards compatibility CSS -->
-    <link href="{2}/res/ui/admin_compat.css" rel="stylesheet" type="text/css" />
+    <link href="${appRoot}/res/ui/admin_compat.css" rel="stylesheet" type="text/css" />
 </head>
 
 <body class="ui-widget">
 	<div id="main">
 		<div id="lead"><!-- header: title and logo -->
 			<h1>
-				{0}<br/>{1}
+				${brand.name}<br/>${head.title}
 			</h1>
 			<p>
-				<a rel="external" href="{6}" title="{7}"><img src="{8}" alt="Logo" /></a>
+				<a rel="external" href="${brand.product.url}" title="${brand.product.name}"><img src="${brand.product.img}" alt="Logo" /></a>
 			</p>
 		</div>
 		<div class="ui-helper-clearfix" style="height:0px">&nbsp;</div>
-		
\ No newline at end of file