comparison rhodecode/templates/base/base.html @ 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 0e6035a85980
children 41241617a7a3
comparison
equal deleted inserted replaced
1155:37a9421f32a0 1156:c9a9e0b3baf8
1 ## -*- coding: utf-8 -*- 1 ## -*- coding: utf-8 -*-
2 <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd"> 2 <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
3 <html xmlns="http://www.w3.org/1999/xhtml" id="mainhtml"> 3 <html xmlns="http://www.w3.org/1999/xhtml">
4 <head> 4 <head>
5 <title>${next.title()}</title> 5 <title>${next.title()}</title>
6 <link rel="icon" href="${h.url('/images/icons/database_gear.png')}" type="image/png" /> 6 <link rel="icon" href="${h.url('/images/icons/database_gear.png')}" type="image/png" />
7 <meta http-equiv="Content-Type" content="text/html;charset=utf-8" /> 7 <meta http-equiv="Content-Type" content="text/html;charset=utf-8" />
8 <meta name="robots" content="index, nofollow"/> 8 <meta name="robots" content="index, nofollow"/>
9 <!-- stylesheets --> 9 <!-- stylesheets -->
10 ${self.css()} 10 ${self.css()}
11 <!-- scripts --> 11 <!-- scripts -->
12 ${self.js()} 12 ${self.js()}
13 %if c.ga_code: 13 %if c.ga_code:
14 <script type="text/javascript"> 14 <script type="text/javascript">
15 15 var _gaq = _gaq || [];
16 var _gaq = _gaq || []; 16 _gaq.push(['_setAccount', '${c.ga_code}']);
17 _gaq.push(['_setAccount', '${c.ga_code}']); 17 _gaq.push(['_trackPageview']);
18 _gaq.push(['_trackPageview']); 18
19 19 (function() {
20 (function() { 20 var ga = document.createElement('script'); ga.type = 'text/javascript'; ga.async = true;
21 var ga = document.createElement('script'); ga.type = 'text/javascript'; ga.async = true; 21 ga.src = ('https:' == document.location.protocol ? 'https://ssl' : 'http://www') + '.google-analytics.com/ga.js';
22 ga.src = ('https:' == document.location.protocol ? 'https://ssl' : 'http://www') + '.google-analytics.com/ga.js'; 22 var s = document.getElementsByTagName('script')[0]; s.parentNode.insertBefore(ga, s);
23 var s = document.getElementsByTagName('script')[0]; s.parentNode.insertBefore(ga, s); 23 })();
24 })(); 24 </script>
25 25 %endif
26
27 </script>
28 %endif
29 </head> 26 </head>
30 <body> 27 <body>
31 <!-- header --> 28 <!-- header -->
32 <div id="header"> 29 <div id="header">
33 <!-- user --> 30 <!-- user -->