genmap / templates / base.html

Full commit
{% load i18n %}
{% load marktag %}
{%load flashtag %}
{% load blogtag %}
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.1//EN" "">
<html xmlns="">
		<title>{%block title%}Gentoo Users{%endblock%}</title>
		<meta http-equiv="content-type" content="text/html; charset=utf-8"/>
		{% if debug %}
		<link href="{{MEDIA_URL}}css/style-dev.css?v=1" rel="stylesheet" type="text/css"/>
		<link href="{{MEDIA_URL}}css/style.css?v=1" rel="stylesheet" type="text/css"/>

		<!-- Begin IE Fixes (Don't touch unless you know what you're doing!)-->
		<!--[if IE]>
		<link type="text/css" href="{{MEDIA_URL}}css/ie.css" rel="stylesheet" />
		<!-- End of IE fixes -->

        <style type="text/css">
        {% block extra_css %}{% endblock extra_css %}

        {% block extrahead %}{% endblock extrahead %}
        {% block extra_head %}{% endblock extra_head %}
	<body {%block inbody%}{%endblock%} >
		<div id="container">
			<div id="navigation">
					<li class="active"><a href="/">{% trans "Home"%}</a></li>
					<li><a href="/about/">{% trans "About this site"%}</a></li>
					<li><a href="/search/">{% trans "Search"%}</a></li>
					{%if user.is_authenticated %}
					<li>{% trans "You are logged in as"%}<a href="{%url view-profile user.username%}">{{user.username}}</a> (<a href="{% url openid-logout %}">{% trans "logout"%}</a>)</li>
					<li><a href="{%url edit-profile%}">{%trans "Edit profile"%}</a></li>
					<li><a href="/accounts/">{%trans "Login"%}</a></li>
					<li><a href="{% url openid-register %}">{%trans "Sign up"%}</a></li>
					{#<li><a href="{%url blog-index%}">{% trans "Blog"%}</a></li>#}
			<div id="header">
				<h1>{{ }}</h1>
				<h2>{% blocktrans with as community %}Locate {{ community }} users near you.{% endblocktrans %}</h2>
			<div id="wrapper">
				<div id="content">
					{%block content %}
					{%endblock content%}
			{%block twocolumns%}
			<div id="sidebar">
				{%block sidebar%}
				{%endblock %}

			<div id="extra">
				{%block extra%}
				{%endblock %}
			{%endblock twocolumns%}

            {% with "||" as spacer %}
            <div id="footer">
                <span id="design-by">Design by <a href="#">What design?</a></span>
                Copyright &copy; <a href="">Arcanum</a>
                {{ spacer }}
                <a href="{% url privacy %}">{% trans "Privacy statement" %}</a>
                {{ spacer }}
                {% trans "powered by " %} <a href="">genmap</a>
            {% endwith %}

		{%block endjsblock %}
		{#block for Javascript that needs to be right before the closing body tag#}
		{%endblock endjsblock %}

		{% if debug %}
		{%if google_analytics_code %}
		<script type="text/javascript">
			var gaJsHost = (("https:" == document.location.protocol) ? "https://ssl." : "http://www.");
			document.write(unescape("%3Cscript src='" + gaJsHost + "' type='text/javascript'%3E%3C/script%3E"));
		<script type="text/javascript">
			var pageTracker = _gat._getTracker("{{google_analytics_code}}");

		{%endif%} {# if debug#}

<!-- Design by Released as open source. -->