Fixing templates with the new twig engine

skala
Julio Montoya 13 years ago
parent 6b4c0a3224
commit 82f3fcc061
  1. 46
      main/template/default/layout/layout_3_col.tpl
  2. 2
      main/template/default/layout/login_form.tpl

@ -1,33 +1,25 @@
{* This template is NOT used in chamilo 1.9 *}
{extends file="default/layout/main.tpl"}
{# This template is NOT used in chamilo 1.9 #}
{{ extends "default/layout/main.tpl" }}
{block name=header}
{include file="default/layout/header.tpl"}
{/block}
{block name=body}
{% block body %}
<div id="maincontent" class="maincontent">
{$plugin_courses_block}
{$home_page_block}
{$message}
{$content}
{$announcements_block}
{{ plugin_courses_block}}
{{ home_page_block}}
{{ message}}
{{ content}}
{{ announcements_block}}
</div>
<div id="menu-wrapper">
{$login_block}
{$profile_block}
{$account_block}
{$teacher_block}
{$notice_block}
{$navigation_course_links}
{$plugin_courses_right_block}
{$reservation_block}
{$search_block}
{$classes_block}
{{ login_block}}
{{ profile_block}}
{{ account_block}}
{{ teacher_block}}
{{ notice_block}}
{{ navigation_course_links}}
{{ plugin_courses_right_block}}
{{ reservation_block}}
{{ search_block}}
{{ classes_block}}
</div>
{/block}
{block name=footer}
{include file="default/layout/footer.tpl"}
{/block}
{% endblock %}

@ -21,7 +21,7 @@
{% if plugin_login_bottom is not null %}
<div id="plugin_login_bottom">
{$plugin_login_bottom}
{{ plugin_login_bottom }}
</div>
{% endif %}
</div>
Loading…
Cancel
Save