|
|
|
@ -1,16 +1,16 @@ |
|
|
|
{% extends "default/layout/main.tpl" %} |
|
|
|
{% extends "default/layout/main.tpl" %} |
|
|
|
|
|
|
|
|
|
|
|
{% block body %} |
|
|
|
{% block body %} |
|
|
|
{# Main content #} |
|
|
|
{# Main content #} |
|
|
|
|
|
|
|
|
|
|
|
{# Right column #} |
|
|
|
{# Right column #} |
|
|
|
<div class="span3 menu-column"> |
|
|
|
<div class="span3 menu-column"> |
|
|
|
{% if plugin_menu_top %} |
|
|
|
{% if plugin_menu_top %} |
|
|
|
<div id="plugin_menu_top"> |
|
|
|
<div id="plugin_menu_top"> |
|
|
|
{{plugin_menu_top}} |
|
|
|
{{plugin_menu_top}} |
|
|
|
</div> |
|
|
|
</div> |
|
|
|
{% endif %} |
|
|
|
{% endif %} |
|
|
|
|
|
|
|
|
|
|
|
{# if user is not login show the login form #} |
|
|
|
{# if user is not login show the login form #} |
|
|
|
{% if _u.logged == 0 %} |
|
|
|
{% if _u.logged == 0 %} |
|
|
|
{% include "default/layout/login_form.tpl" %} |
|
|
|
{% include "default/layout/login_form.tpl" %} |
|
|
|
@ -18,55 +18,55 @@ |
|
|
|
|
|
|
|
|
|
|
|
{# User picture #} |
|
|
|
{# User picture #} |
|
|
|
{{ user_image_block }} |
|
|
|
{{ user_image_block }} |
|
|
|
|
|
|
|
|
|
|
|
{# User Profile links #} |
|
|
|
{# User Profile links #} |
|
|
|
{{ profile_block }} |
|
|
|
{{ profile_block }} |
|
|
|
|
|
|
|
|
|
|
|
{# Course block - admin #} |
|
|
|
{# Course block - admin #} |
|
|
|
{{ course_block }} |
|
|
|
{{ course_block }} |
|
|
|
|
|
|
|
|
|
|
|
{# Course block - teacher #} |
|
|
|
{# Course block - teacher #} |
|
|
|
{{ teacher_block }} |
|
|
|
{{ teacher_block }} |
|
|
|
|
|
|
|
|
|
|
|
{# Notice #} |
|
|
|
{# Notice #} |
|
|
|
{{ notice_block }} |
|
|
|
{{ notice_block }} |
|
|
|
|
|
|
|
|
|
|
|
{# Help #} |
|
|
|
{# Help #} |
|
|
|
{{ help_block }} |
|
|
|
{{ help_block }} |
|
|
|
|
|
|
|
|
|
|
|
{# Links that are not added in the tabs #} |
|
|
|
{# Links that are not added in the tabs #} |
|
|
|
{{ navigation_course_links }} |
|
|
|
{{ navigation_course_links }} |
|
|
|
|
|
|
|
|
|
|
|
{# Reservation block #} |
|
|
|
{# Reservation block #} |
|
|
|
{{ reservation_block }} |
|
|
|
{{ reservation_block }} |
|
|
|
|
|
|
|
|
|
|
|
{# Search (xapian) #} |
|
|
|
{# Search (xapian) #} |
|
|
|
{{ search_block }} |
|
|
|
{{ search_block }} |
|
|
|
|
|
|
|
|
|
|
|
{# Classes #} |
|
|
|
{# Classes #} |
|
|
|
{{ classes_block }} |
|
|
|
{{ classes_block }} |
|
|
|
|
|
|
|
|
|
|
|
{# Skills #} |
|
|
|
{# Skills #} |
|
|
|
{{ skills_block }} |
|
|
|
{{ skills_block }} |
|
|
|
|
|
|
|
|
|
|
|
{# Plugin courses sidebar #} |
|
|
|
{# Plugin courses sidebar #} |
|
|
|
{# Plugins for footer section #} |
|
|
|
{# Plugins for footer section #} |
|
|
|
|
|
|
|
|
|
|
|
{% if plugin_menu_bottom %} |
|
|
|
{% if plugin_menu_bottom %} |
|
|
|
<div id="plugin_menu_bottom"> |
|
|
|
<div id="plugin_menu_bottom"> |
|
|
|
{{ plugin_menu_bottom }} |
|
|
|
{{ plugin_menu_bottom }} |
|
|
|
</div> |
|
|
|
</div> |
|
|
|
{% endif %} |
|
|
|
{% endif %} |
|
|
|
</div> |
|
|
|
</div> |
|
|
|
<div class="span9 content-column"> |
|
|
|
<div class="span9 content-column"> |
|
|
|
|
|
|
|
|
|
|
|
{# Plugin bottom #} |
|
|
|
{# Plugin bottom #} |
|
|
|
{% if plugin_content_top %} |
|
|
|
{% if plugin_content_top %} |
|
|
|
<div id="plugin_content_top"> |
|
|
|
<div id="plugin_content_top"> |
|
|
|
{{ plugin_content_top }} |
|
|
|
{{ plugin_content_top }} |
|
|
|
</div> |
|
|
|
</div> |
|
|
|
{% endif %} |
|
|
|
{% endif %} |
|
|
|
|
|
|
|
|
|
|
|
{# Portal homepage #} |
|
|
|
{# Portal homepage #} |
|
|
|
{% if home_page_block %} |
|
|
|
{% if home_page_block %} |
|
|
|
<section id="homepage"> |
|
|
|
<section id="homepage"> |
|
|
|
@ -77,32 +77,32 @@ |
|
|
|
</div> |
|
|
|
</div> |
|
|
|
</section> |
|
|
|
</section> |
|
|
|
{% endif %} |
|
|
|
{% endif %} |
|
|
|
|
|
|
|
|
|
|
|
{# ?? #} |
|
|
|
{# ?? #} |
|
|
|
{{ sniff_notification }} |
|
|
|
{{ sniff_notification }} |
|
|
|
|
|
|
|
|
|
|
|
{% include "default/layout/page_body.tpl" %} |
|
|
|
{% include "default/layout/page_body.tpl" %} |
|
|
|
|
|
|
|
|
|
|
|
{# Welcome to course block #} |
|
|
|
{# Welcome to course block #} |
|
|
|
{% if welcome_to_course_block %} |
|
|
|
{% if welcome_to_course_block %} |
|
|
|
<section id="welcome_to_course"> |
|
|
|
<section id="welcome_to_course"> |
|
|
|
{{ welcome_to_course_block }} |
|
|
|
{% include "default/layout/welcome_to_course.tpl" %} |
|
|
|
</section> |
|
|
|
</section> |
|
|
|
{% endif %} |
|
|
|
{% endif %} |
|
|
|
|
|
|
|
|
|
|
|
{% if content is not null %} |
|
|
|
{% if content is not null %} |
|
|
|
<section id="main_content"> |
|
|
|
<section id="main_content"> |
|
|
|
{{ content }} |
|
|
|
{{ content }} |
|
|
|
</section> |
|
|
|
</section> |
|
|
|
{% endif %} |
|
|
|
{% endif %} |
|
|
|
|
|
|
|
|
|
|
|
{# Announcements #} |
|
|
|
{# Announcements #} |
|
|
|
{% if announcements_block %} |
|
|
|
{% if announcements_block %} |
|
|
|
<section id="announcements"> |
|
|
|
<section id="announcements"> |
|
|
|
{{ announcements_block }} |
|
|
|
{{ announcements_block }} |
|
|
|
</section> |
|
|
|
</section> |
|
|
|
{% endif %} |
|
|
|
{% endif %} |
|
|
|
|
|
|
|
|
|
|
|
{# Course categories (must be turned on in the admin settings) #} |
|
|
|
{# Course categories (must be turned on in the admin settings) #} |
|
|
|
{% if course_category_block %} |
|
|
|
{% if course_category_block %} |
|
|
|
<section id="course_category"> |
|
|
|
<section id="course_category"> |
|
|
|
@ -113,17 +113,17 @@ |
|
|
|
</div> |
|
|
|
</div> |
|
|
|
</section> |
|
|
|
</section> |
|
|
|
{% endif %} |
|
|
|
{% endif %} |
|
|
|
|
|
|
|
|
|
|
|
{# Hot courses template #} |
|
|
|
{# Hot courses template #} |
|
|
|
{% include "default/layout/hot_courses.tpl" %} |
|
|
|
{% include "default/layout/hot_courses.tpl" %} |
|
|
|
|
|
|
|
|
|
|
|
{# Content bottom #} |
|
|
|
{# Content bottom #} |
|
|
|
{% if plugin_content_bottom %} |
|
|
|
{% if plugin_content_bottom %} |
|
|
|
<div id="plugin_content_bottom"> |
|
|
|
<div id="plugin_content_bottom"> |
|
|
|
{{plugin_content_bottom}} |
|
|
|
{{plugin_content_bottom}} |
|
|
|
</div> |
|
|
|
</div> |
|
|
|
{% endif %} |
|
|
|
{% endif %} |
|
|
|
|
|
|
|
|
|
|
|
</div> |
|
|
|
</div> |
|
|
|
|
|
|
|
|
|
|
|
{% endblock %} |
|
|
|
{% endblock %} |
|
|
|
|