{% load i18n %}
{% load logintag %}
{% load navigation %}
<?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="{{LDT_MEDIA_PREFIX}}/img/favicon.ico" />
    <title>{% block title %}{% trans "page_title" %}{% endblock %}</title>
    {% block js_import %}
    <script type="text/javascript" src="{{LDT_MEDIA_PREFIX}}js/jquery.min.js"></script>
    <script type="text/javascript">
    function check_uncheck_all(name) {
    	var check_all = '{% trans "check all" %}';
    	var uncheck_all = '{% trans "uncheck all" %}';
    	var id_name = "#global_checkbox_" + name;
    	
    	$(id_name).attr('title', uncheck_all);
    	
    	$(id_name).change(function () {
    		var checkbox_names = ".checkbox_" + name;
    		if ($(id_name).is(":checked")) {
    			$(checkbox_names).prop('checked', true);
    			$(id_name).attr('title', uncheck_all );
    		} else {
    			$(checkbox_names).prop('checked', false);
    			$(id_name).attr('title', check_all);
    		}
    		$(checkbox_names).trigger("change");
    	});		
    }
    </script>
    {% endblock %}
    
    {% block css_declaration %}
    <style type="text/css">
		.rounded {
			behavior:url("{{LDT_MEDIA_PREFIX}}css/border-radius.htc");
		}
	</style>
	{% endblock %}
    
    {% block css_import %}
    
    <link rel="stylesheet" href="{{LDT_MEDIA_PREFIX}}css/blueprint/screen.css" type="text/css" media="screen, projection" />
    <link rel="stylesheet" href="{{LDT_MEDIA_PREFIX}}css/blueprint/print.css" type="text/css" media="print" />
    <!--[if lt IE 8]>
    <link rel="stylesheet" href="{{BASE_URL}}static/css/blueprint/ie.css" type="text/css" media="screen, projection" />
    <![endif]-->
    <link rel="stylesheet" href="{{LDT_MEDIA_PREFIX}}css/style.css" type="text/css"/>
    {% endblock %}
    
    {% block js_declaration %}
    {% endblock %}
{% endblock %}    
</head>
<body>
{% block body %}
{% endblock %}
</body>
</html>
