lib/buildmaster/site/template_builder.rb in BuildMaster-0.9.1 vs lib/buildmaster/site/template_builder.rb in BuildMaster-1.0.6
- old
+ new
@@ -221,10 +221,13 @@
CONTENT
end
def load_template_content
return <<CONTENT
+<!DOCTYPE html
+ PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
+ "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml"
xmlns:template="http://buildmaster.rubyforge.org/xtemplate/1.0">
<head>
<title>#{title_header}<template:include elements="/html/head/title/text()"/></title>
<link rel="stylesheet" type="text/css"><template:href url="#{css_path}"/></link>
@@ -258,9 +261,10 @@
<div class="footer">
<div class="bottomshadow"/>
<div class="poweredby">
Powered by <a href="http://buildmaster.rubyforge.org" class="footer">BuildMaster</a>
+ (version: <template:text property="buildmaster_version"/> build: <template:text property="buildmaster_buildnumber"/>)
-
<a class="footer"><template:href url="#{contact_admin}" />Contact Administrators</a>
<br/>
</div>
</div>