changeset 1156:c9a9e0b3baf8 beta

removed obsolete id from <html>
author Marcin Kuzminski <marcin@python-works.com>
date Fri, 18 Mar 2011 22:24:42 +0100
parents 37a9421f32a0
children 41241617a7a3
files rhodecode/templates/base/base.html rhodecode/templates/errors/error_document.html rhodecode/templates/login.html rhodecode/templates/password_reset.html rhodecode/templates/register.html
diffstat 5 files changed, 18 insertions(+), 21 deletions(-) [+]
line wrap: on
line diff
--- a/rhodecode/templates/base/base.html	Fri Mar 18 22:04:21 2011 +0100
+++ b/rhodecode/templates/base/base.html	Fri Mar 18 22:24:42 2011 +0100
@@ -1,6 +1,6 @@
 ## -*- coding: utf-8 -*-
 <!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" id="mainhtml">
+<html xmlns="http://www.w3.org/1999/xhtml">
 <head>
     <title>${next.title()}</title>
     <link rel="icon" href="${h.url('/images/icons/database_gear.png')}" type="image/png" />
@@ -10,22 +10,19 @@
     ${self.css()}
     <!-- scripts -->
     ${self.js()}
-%if c.ga_code:
-<script type="text/javascript">
-
-  var _gaq = _gaq || [];
-  _gaq.push(['_setAccount', '${c.ga_code}']);
-  _gaq.push(['_trackPageview']);
-
-  (function() {
-    var ga = document.createElement('script'); ga.type = 'text/javascript'; ga.async = true;
-    ga.src = ('https:' == document.location.protocol ? 'https://ssl' : 'http://www') + '.google-analytics.com/ga.js';
-    var s = document.getElementsByTagName('script')[0]; s.parentNode.insertBefore(ga, s);
-  })();
-
-
-</script>
-%endif
+	%if c.ga_code:
+	<script type="text/javascript">
+	  var _gaq = _gaq || [];
+	  _gaq.push(['_setAccount', '${c.ga_code}']);
+	  _gaq.push(['_trackPageview']);
+	
+	  (function() {
+	    var ga = document.createElement('script'); ga.type = 'text/javascript'; ga.async = true;
+	    ga.src = ('https:' == document.location.protocol ? 'https://ssl' : 'http://www') + '.google-analytics.com/ga.js';
+	    var s = document.getElementsByTagName('script')[0]; s.parentNode.insertBefore(ga, s);
+	  })();
+	</script>
+	%endif
 </head>
 <body>
     <!-- header -->
--- a/rhodecode/templates/errors/error_document.html	Fri Mar 18 22:04:21 2011 +0100
+++ b/rhodecode/templates/errors/error_document.html	Fri Mar 18 22:24:42 2011 +0100
@@ -1,6 +1,6 @@
 ## -*- coding: utf-8 -*-
 <!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" id="mainhtml">
+<html xmlns="http://www.w3.org/1999/xhtml">
     <head>
         <title>Error - ${c.error_message}</title>
         <meta http-equiv="Content-Type" content="text/html;charset=utf-8" />
--- a/rhodecode/templates/login.html	Fri Mar 18 22:04:21 2011 +0100
+++ b/rhodecode/templates/login.html	Fri Mar 18 22:24:42 2011 +0100
@@ -1,6 +1,6 @@
 ## -*- coding: utf-8 -*-
 <!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" id="mainhtml">
+<html xmlns="http://www.w3.org/1999/xhtml">
     <head>
         <title>${_('Sign In')} - ${c.rhodecode_name}</title>
         <meta http-equiv="Content-Type" content="text/html;charset=utf-8" />
--- a/rhodecode/templates/password_reset.html	Fri Mar 18 22:04:21 2011 +0100
+++ b/rhodecode/templates/password_reset.html	Fri Mar 18 22:24:42 2011 +0100
@@ -1,6 +1,6 @@
 ## -*- coding: utf-8 -*-
 <!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" id="mainhtml">
+<html xmlns="http://www.w3.org/1999/xhtml">
     <head>
         <title>${_('Reset You password')} - ${c.rhodecode_name}</title>
         <meta http-equiv="Content-Type" content="text/html;charset=utf-8" />
--- a/rhodecode/templates/register.html	Fri Mar 18 22:04:21 2011 +0100
+++ b/rhodecode/templates/register.html	Fri Mar 18 22:24:42 2011 +0100
@@ -1,6 +1,6 @@
 ## -*- coding: utf-8 -*-
 <!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" id="mainhtml">
+<html xmlns="http://www.w3.org/1999/xhtml">
     <head>
         <title>${_('Sign Up')} - ${c.rhodecode_name}</title>
         <meta http-equiv="Content-Type" content="text/html;charset=utf-8" />