{% load i18n %}
{% load static %}
<?xml version="1.0" encoding="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" xml:lang="{{LANGUAGE_CODE}}" lang="{{LANGUAGE_CODE}}">
<head>
{% block head %}
	<meta http-equiv="Content-type" content="text/html;charset=UTF-8" />
    <meta http-equiv="content-language" content="{{LANGUAGE_CODE}}" />
    <link rel="SHORTCUT ICON" href="{% static 'hdabo/img/favicon.ico' %}" />
    <title>{% block title %}HDA-BO{% endblock %}</title>
    {% block js_import %}
    <script type="text/javascript" src="{% static 'hdabo/js/hdabo.js' %}"></script>
    <script type="text/javascript" src="{% static 'hdabo/js/jquery.min.js' %}"></script>
    <script type="text/javascript" src="{% static 'hdabo/js/jquery.nyroModal.min.js' %}"></script>
    <!--[if IE 6]>
    <script type="text/javascript" src="{% static 'hdabo/js/jquery.nyroModal-ie6.min.js' %}"></script>
    <![endif]-->
    <script type="text/javascript" src="{% static 'hdabo/js/jquery.qtip.min.js' %}"></script>
    <script type="text/javascript" src="{% static 'hdabo/js/jquery.validate.js' %}" ></script>
    <script type="text/javascript" src="{% static 'hdabo/js/jquery.textchange.min.js' %}" ></script>
    {% endblock %}
    
    {% block css_declaration %}
    <style type="text/css">
		.rounded {
			behavior:url("{% static 'hdabo/css/border-radius.htc' %}");
		}
	</style>
	{% endblock %}
    
    {% block css_import %}
    
    <link rel="stylesheet" href="{% static 'hdabo/css/style.css' %}" type="text/css"/>
    <link rel="stylesheet" href="{% static 'hdabo/css/nyroModal.css' %}" type="text/css"/>
    {% endblock %}
    
    {% block js_declaration %}
    {% endblock %}
    
{% endblock %}
</head>
<body>
{% block body %}
<div class="container">
<div id="header">      
    {% block header %}
    <div id="header_left">
    	<p><a href="{% url 'home' %}">HDA<span class="hda_blue">BO</span></a></p>
    </div>
    {% endblock %}
</div>
<div id="content" class="span-24 last">
    <div id="toolbar">
    {% block toolbar %}
    {% if user.is_authenticated %}
    <ul><li><a href="{% url 'home' %}">Home</a></li>
    <li><a href="{% url 'folders' %}">Dossiers</a></li>
    <li><a href="{% url 'orga_list' %}">Organisations</a></li>
    <li><a href="{% url 'hdabo.views.all_tags' %}">Tous les tags</a></li>
    <li><a href="{% url 'haystack_search' %}">Recherche</a></li>
    <li><span style="float:right;">{{user.username}}&nbsp;|&nbsp;<a href="{% url 'django.contrib.auth.views.logout_then_login' %}" >Se déconnecter</a>{% if user.is_staff %}&nbsp;|&nbsp;<a href="{% url 'admin:index' %}" >admin</a>{% endif %}</span></li>
    </ul>
    {% endif %}
    {% endblock %}
    </div>
    <div id="inner_content">
    {% block content %}
    {% endblock %}
    </div>
</div>
<div id="footer" class="span-24 last">
    {% block footer %}
    <div class="footer_img">
    <a href="http://www.iri.centrepompidou.fr" target="_blank"><img src="{% static 'hdabo/img/logo_IRI_footer.png' %}" alt="Logo IRI" /></a>
    </div>
    <div style="float: right; text-align: right;" class="small" id="copyright_version">
        <div>©2011 <a style="text-decoration: none; color: #4F5155;" href="http://www.iri.centrepompidou.fr" target="_blank">IRI</a></div>
        <div id="versionwrapper"><span class="version" id="version">{{VERSION}}</span></div>
    </div>
    {% endblock %}
</div>
</div>
{% endblock %}
</body>
</html>
