Chamilo is a learning management system focused on ease of use and accessibility
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
chamilo-lms/main/template/default/layout/layout_2_col.tpl

114 lines
2.7 KiB

{% extends "default/layout/main.tpl" %}
{% block header %}
{% if show_header == 1 %}
{% include "default/layout/main_header.tpl" %}
{% endif %}
{% endblock %}
{% block body %}
{# Main content #}
{% if show_sniff == 1 %}
{% include "default/layout/sniff.tpl" %}
{% endif %}
<div class="span9">
{# Plugin bottom #}
{% if plugin_content_top is not null %}
<div id="plugin_content_top">
{{ plugin_content_top }}
</div>
{% endif %}
{# ?? #}
{% if home_page_block is not null %}
14 years ago
<section id="home_page">
{{ home_page_block}}
14 years ago
</section>
{% endif %}
{# ?? #}
{{ sniff_notification }}
{% include "default/layout/page_body.tpl" %}
{% if content is not null %}
<section id="main_content">
{{ content }}
</section>
{% endif %}
{# Announcements #}
{% if announcements_block is not null %}
14 years ago
<section id="announcements_page">
{{ announcements_block }}
14 years ago
</section>
{% endif %}
{# Hot courses template #}
{% include "default/layout/hot_courses.tpl" %}
{# Content bottom #}
{% if plugin_content_bottom is not null %}
<div id="plugin_content_bottom">
{{plugin_content_bottom}}
</div>
{% endif %}
&nbsp;
</div>
{# Right column #}
<div class="span3">
{% if plugin_menu_top is not null %}
<div id="plugin_menu_top">
{{plugin_menu_top}}
</div>
{% endif %}
{# if user is not login show the login form #}
{% if _u.logged == 0 %}
{% include "default/layout/login_form.tpl" %}
{% endif %}
{# My account - user picture #}
{{ profile_block }}
{{ account_block }}
{{ teacher_block }}
{# Notices #}
{{ notice_block }}
{# Links that are not added in the tabs #}
{{ navigation_course_links }}
{# Reservation block #}
{{ reservation_block }}
{# Search (xapian) #}
{{ search_block }}
{# Classes #}
{{ classes_block }}
{# Skills #}
{{ skills_block }}
{# Plugin courses sidebar #}
{# Plugins for footer section #}
{% if plugin_menu_bottom is not null %}
<div id="plugin_menu_bottom">
{{ plugin_menu_bottom }}
</div>
{% endif %}
</div>
{% endblock %}
{% block footer %}
{% if show_footer == 1 %}
{% include "default/layout/main_footer.tpl" %}
{% endif %}
{% endblock %}