diff options
Diffstat (limited to 'forum/skins/default/templates/base_content.html')
-rw-r--r-- | forum/skins/default/templates/base_content.html | 74 |
1 files changed, 74 insertions, 0 deletions
diff --git a/forum/skins/default/templates/base_content.html b/forum/skins/default/templates/base_content.html new file mode 100644 index 00000000..d1cf673b --- /dev/null +++ b/forum/skins/default/templates/base_content.html @@ -0,0 +1,74 @@ +<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> +<!-- base_content.html --> +{% load i18n %} +{% load extra_tags %} +<html xmlns="http://www.w3.org/1999/xhtml"> + <head> + <title>{% block title %}{% endblock %} - {{ settings.APP_TITLE }}</title> + <meta http-equiv="Content-Type" content="text/html; charset=UTF-8" /> + {% if settings.GOOGLE_SITEMAP_CODE %} + <meta name="google-site-verification" content="{{ settings.GOOGLE_SITEMAP_CODE }}" /> + {% endif %} + <link rel="shortcut icon" href="{% media "/media/images/favicon.ico" %}" /> + <link href="{% media "/media/style/style.css" %}" rel="stylesheet" type="text/css" /> + {% spaceless %} + {% block forestyle %}{% endblock %} + {% endspaceless %} + <script src="http://www.google.com/jsapi" type="text/javascript"></script> + <script type="text/javascript">google.load("jquery", "1.2.6");</script> + <script type="text/javascript"> + var i18nLang = '{{ settings.LANGUAGE_CODE }}'; + var scriptUrl = '/{{settings.FORUM_SCRIPT_ALIAS}}' + var osqaSkin = '{{settings.OSQA_SKIN}}'; + </script> + <script type='text/javascript' src='{% media "/media/js/com.cnprog.i18n.js" %}'></script> + <script type='text/javascript' src='{% media "/media/js/jquery.i18n.js" %}'></script> + <script type='text/javascript' src='{% media "/media/js/com.cnprog.utils.js" %}'></script> + {% if user_messages %} + <style type="text/css"> + body { margin-top:2.4em; } + </style> + <script type="text/javascript"> + $(document).ready(function() { + var element = $('#validate_email_alert') + element.click(function(){notify.close(true);setTimeout(function(){},1000)}) + notify.show(); + }); + </script> + {% endif %} + + {% block forejs %} + {% endblock %} + </head> + <body> + <div class="notify" style="display:none"> + {% autoescape off %} + {% if user_messages %} + {% for message in user_messages %} + <p class="darkred">{{ message }}</p> + {% endfor %} + {% endif %} + {% endautoescape %} + <a id="close-notify" onclick="notify.close(true)">×</a> + </div> + {% include "header.html" %} + <div id="wrapper"> + <div id="room"> + <div id="CAFull"> + {% block content%} + {% endblock%} + + </div> + <div id="tail" style="clear:both;"> + {% block tail %} + {% endblock %} + </div> + </div> + <div class="spacer3"></div> + </div> + {% include "footer.html" %} + {% block endjs %} + {% endblock %} + </body> +</html> +<!-- end template base_content.html --> |