]> git.openstreetmap.org Git - osqa.git/blob - forum/skins/default/templates/base.html
deleting the test file
[osqa.git] / forum / skins / default / templates / base.html
1 <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
2 <!-- template base.html -->
3 {% load extra_filters %}
4 {% load extra_tags %}
5 {% load i18n %}
6 <html xmlns="http://www.w3.org/1999/xhtml"{% if fb_api_key %} xmlns:fb="http://www.facebook.com/2008/fbml"{% endif %}>
7     <head>
8         <title>{% block title %}{% endblock %} - {{ settings.APP_TITLE }}</title>
9         {% spaceless %}
10         {% block meta %}{% endblock %}
11         {% endspaceless %}
12         <meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
13         {% if settings.GOOGLE_SITEMAP_CODE %}
14         <meta name="google-site-verification" content="{{settings.GOOGLE_SITEMAP_CODE}}" />
15         {% endif %}
16         <link rel="shortcut icon" href="{% media  "/media/images/favicon.ico" %}" />
17         <link href="{% media  "/media/style/style.css" %}" rel="stylesheet" type="text/css" />
18         <script src="http://www.google.com/jsapi" type="text/javascript"></script>
19         <script type="text/javascript">google.load("jquery", "1.2.6");</script>
20         <script type="text/javascript">
21         /* <![CDATA[ */
22             var i18nLang = '{{settings.LANGUAGE_CODE}}';
23             var scriptUrl = '/{{settings.FORUM_SCRIPT_ALIAS}}'
24             var osqaSkin = '{{settings.OSQA_SKIN}}';
25         /* ]] */
26         </script>
27         <script type='text/javascript' src='{% media  "/media/js/com.cnprog.i18n.js" %}'></script>
28         <script type='text/javascript' src='{% media  "/media/js/jquery.i18n.js" %}'></script>
29         <script type='text/javascript' src='{% media  "/media/js/com.cnprog.utils.js" %}'></script>
30         {% if user_messages %}
31         <style type="text/css">
32             body { margin-top:2.4em; }
33         </style>
34         <script type="text/javascript">
35         /* <![CDATA[ */
36             $(document).ready(function() {
37                 $('#validate_email_alert').click(function(){notify.close(true)})
38                 notify.show();
39             });
40         /* ]] */
41         </script>
42         {% endif %}
43       
44         {% block forejs %}
45         {% endblock %}
46     </head>
47     <body>
48         <div class="notify" style="display:none">
49             {% autoescape off %}
50                 {% if user_messages %}
51                     {% for message in user_messages %}
52                           <p class="darkred">{{ message }}</p>
53                     {% endfor %}
54                 {% endif %}
55             {% endautoescape %}
56             <a id="close-notify" onclick="notify.close(true)">&times;</a>
57         </div>
58         {% include "header.html" %}
59         <div id="wrapper">
60             <div id="room">
61                 <div id="CALeft">
62                     {% block content%}
63                     {% endblock%}
64
65                 </div>
66                 <div id="CARight">
67                     {% block sidebar%}
68                     {% endblock%}
69
70                 </div>
71                 <div id="tail" style="clear:both;">
72                     {% block tail %}
73                     {% endblock %}
74                 </div>
75             </div>
76             <div class="spacer3"></div>
77         </div>
78         {% include "footer.html" %}
79         {% block endjs %}
80         {% endblock %}
81     </body>
82 </html>
83 <!-- end template base.html -->