|
@@ -0,0 +1,122 @@
|
|
|
+<!DOCTYPE html>
|
|
|
+<!--[if lt IE 7]> <html lang="{{ document_language }}" class="no-js lt-ie9 lt-ie8 lt-ie7"> <![endif]-->
|
|
|
+<!--[if IE 7]> <html lang="{{ document_language }}" class="no-js lt-ie9 lt-ie8"> <![endif]-->
|
|
|
+<!--[if IE 8]> <html lang="{{ document_language }}" class="no-js lt-ie9"> <![endif]-->
|
|
|
+<!--[if gt IE 8]><!--><html lang="{{ document_language }}" class="no-js"> <!--<![endif]-->
|
|
|
+<head>
|
|
|
+{% include app.template_style ~ "/layout/head.tpl" %}
|
|
|
+</head>
|
|
|
+<body dir="{{ text_direction }}" class="{{ section_name }}">
|
|
|
+<noscript>{{ "NoJavascript"|get_lang }}</noscript>
|
|
|
+
|
|
|
+{% if app.template.show_header == true %}
|
|
|
+ <div class="skip">
|
|
|
+ <ul>
|
|
|
+ <li><a href="#menu">{{ "WCAGGoMenu"|get_lang }}</a></li>
|
|
|
+ <li><a href="#content" accesskey="2">{{ "WCAGGoContent"|get_lang }}</a></li>
|
|
|
+ </ul>
|
|
|
+ </div>
|
|
|
+ <div id="wrapper">
|
|
|
+
|
|
|
+ {# Bug and help notifications #}
|
|
|
+
|
|
|
+ <ul id="navigation" class="notification-panel">
|
|
|
+
|
|
|
+ {% if ("enable_help_link" | get_setting) == 'true' %}
|
|
|
+ <li class="help">
|
|
|
+ <a href="{{ _p.web_img }}help/help.php?open={{ help_content }}&height=400&width=600" class="ajax" title="{{ "help"|get_lang }}">
|
|
|
+ <img src="{{ _p.web_img }}help.large.png" alt="{{ "help"|get_lang }}" title="{{ "help"|get_lang }}" />
|
|
|
+ </a>
|
|
|
+ </li>
|
|
|
+ {% endif %}
|
|
|
+
|
|
|
+ {% if ("show_link_bug_notification" | get_setting) == 'true' and _u.logged != 0 %}
|
|
|
+ <li class="report">
|
|
|
+ <a href="http://support.chamilo.org/projects/chamilo-18/wiki/How_to_report_bugs" target="_blank">
|
|
|
+ <img src="{{ _p.web_img }}bug.large.png" style="vertical-align: middle;" alt="{{ "ReportABug"|get_lang }}" title="{{ "ReportABug"|get_lang }}"/>
|
|
|
+ </a>
|
|
|
+ </li>
|
|
|
+ {% endif %}
|
|
|
+ </ul>
|
|
|
+
|
|
|
+ {# topbar #}
|
|
|
+ {% include app.template_style ~ "/layout/topbar.tpl" %}
|
|
|
+
|
|
|
+ {% block main_div_container %}
|
|
|
+ {% if app.full_width == 1 %}
|
|
|
+ <div id="main" class="container-fluid">
|
|
|
+ {% else %}
|
|
|
+ <div id="main" class="container">
|
|
|
+ {% endif %}
|
|
|
+ {% endblock main_div_container %}
|
|
|
+ <header>
|
|
|
+ <div class="row">
|
|
|
+ <div id="header_left" class="span4">
|
|
|
+ {# logo #}
|
|
|
+
|
|
|
+ <div id="logo">
|
|
|
+ <a href="{{ _p.web }}">
|
|
|
+ <img title="{{ "siteName" | get_setting }}" src="{{ _p.web_css }}/{{ app.theme }}/images/header-logo.svg" />
|
|
|
+ </a>
|
|
|
+ </div>
|
|
|
+
|
|
|
+ {# plugin_header left #}
|
|
|
+ {% if plugin_header_left is not null %}
|
|
|
+ <div id="plugin_header_left">
|
|
|
+ {{ plugin_header_left }}
|
|
|
+ </div>
|
|
|
+ {% endif %}
|
|
|
+ </div>
|
|
|
+
|
|
|
+ <div id="header_center" class="span3">
|
|
|
+ {# plugin_header center #}
|
|
|
+ {% if plugin_header_center is not null %}
|
|
|
+ <div id="plugin_header_center">
|
|
|
+ {{ plugin_header_center }}
|
|
|
+ </div>
|
|
|
+ {% endif %}
|
|
|
+
|
|
|
+ </div>
|
|
|
+ <div id="header_right" class="span5">
|
|
|
+ <ul id="notifications" class="nav nav-pills pull-right">
|
|
|
+ {{ notification_menu }}
|
|
|
+ </ul>
|
|
|
+
|
|
|
+ {# plugin_header right #}
|
|
|
+ {% if plugin_header_right is not null %}
|
|
|
+ <div id="plugin_header_right">
|
|
|
+ {{ plugin_header_right }}
|
|
|
+ </div>
|
|
|
+ {% endif %}
|
|
|
+
|
|
|
+ </div>
|
|
|
+ </div>
|
|
|
+
|
|
|
+ {% if plugin_header_main %}
|
|
|
+ <div class="row">
|
|
|
+ <div class="span12">
|
|
|
+ <div id="plugin_header_main">
|
|
|
+ {{ plugin_header_main }}
|
|
|
+ </div>
|
|
|
+ </div>
|
|
|
+ </div>
|
|
|
+ {% endif %}
|
|
|
+
|
|
|
+ {# menu #}
|
|
|
+ {% include app.template_style ~ "/layout/menu.tpl" %}
|
|
|
+
|
|
|
+ {# breadcrumb #}
|
|
|
+ {% if app.breadcrumbs %}
|
|
|
+ {{ app.breadcrumbs }}
|
|
|
+ {% else %}
|
|
|
+ {{ breadcrumb }}
|
|
|
+ {% endif %}
|
|
|
+ </header>
|
|
|
+ {% if app.full_width == 1 %}
|
|
|
+ <div id="top_main_content" class="row-fluid">
|
|
|
+ {% else %}
|
|
|
+ <div id="top_main_content" class="row">
|
|
|
+ {% endif %}
|
|
|
+ {# course navigation links/shortcuts need to be activated by the admin #}
|
|
|
+ {% include app.template_style ~ "/layout/course_navigation.tpl" %}
|
|
|
+{% endif %}
|