Minor - Format code - refs BT#13277

pull/2487/head
Angel Fernando Quiroz Campos 8 years ago
parent f77061c095
commit 2f2f950f48
  1. 2
      main/template/default/layout/page.tpl
  2. 15
      main/template/default/layout/show_footer.tpl
  3. 81
      main/template/default/layout/show_header.tpl

@ -56,7 +56,7 @@
</section>
{% if show_footer == true %}
{% include template ~ "/layout/page_footer.tpl" %}
{% include template ~ "/layout/page_footer.tpl" %}
{% endif %}
{% include template ~ '/layout/footer.js.tpl' %}

@ -1,10 +1,9 @@
{% if show_footer == true %}
{% if show_footer == true %}
</div>
</section>
{% include template ~ "/layout/page_footer.tpl" %}
{% endif %}
</div>
</section>
{% include template ~ "/layout/page_footer.tpl" %}
{% else %}
{% endif %}
</div>
{% include template ~ '/layout/footer.js.tpl' %}
{% include template ~ '/layout/footer.js.tpl' %}
</body>
</html>
</html>

@ -1,50 +1,53 @@
<!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 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>
{% block head %}
{% include template ~ "/layout/head.tpl" %}
{% endblock %}
{% block head %}
{% include template ~ "/layout/head.tpl" %}
{% endblock %}
</head>
<body dir="{{ text_direction }}" class="{{ section_name }} {{ login_class }}">
<noscript>{{ "NoJavascript"|get_lang }}</noscript>
{% if show_header == true %}
<div class="wrap">
{% if displayCookieUsageWarning == true %}
<!-- Display Cookies validation -->
<div class="toolbar-cookie alert-warning">
<form onSubmit="$(this).toggle('slow')" action="" method="post">
<input value=1 type="hidden" name="acceptCookies"/>
<div class="cookieUsageValidation">
{{ "YouAcceptCookies" | get_lang }}
<span style="margin-left:20px;" onclick="$(this).next().toggle('slow'); $(this).toggle('slow')">
({{"More" | get_lang }})
</span>
<div style="display:none; margin:20px 0;">
{{ "HelpCookieUsageValidation" | get_lang}}
</div>
<span style="margin-left:20px;" onclick="$(this).parent().parent().submit()">
({{"Accept" | get_lang }})
</span>
<div class="wrap">
{% if displayCookieUsageWarning == true %}
<!-- Display Cookies validation -->
<div class="toolbar-cookie alert-warning">
<form onSubmit="$(this).toggle('slow')" action="" method="post">
<input value=1 type="hidden" name="acceptCookies"/>
<div class="cookieUsageValidation">
{{ "YouAcceptCookies" | get_lang }}
<span style="margin-left:20px;" onclick="$(this).next().toggle('slow'); $(this).toggle('slow')">
({{ "More" | get_lang }})
</span>
<div style="display:none; margin:20px 0;">
{{ "HelpCookieUsageValidation" | get_lang }}
</div>
<span style="margin-left:20px;" onclick="$(this).parent().parent().submit()">
({{ "Accept" | get_lang }})
</span>
</div>
</form>
</div>
</form>
</div>
{% endif %}
{% include template ~ "/layout/page_header.tpl" %}
{% if show_course_shortcut is not null %}
<div class="nav-tools">
{{ show_course_shortcut }}
</div>
{% endif %}
<section id="content-section">
<div class="container">
{% block breadcrumb %}
<div id="page-breadcrumb">
{{ breadcrumb }}
{% endif %}
{% include template ~ "/layout/page_header.tpl" %}
{% if show_course_shortcut is not null %}
<div class="nav-tools">
{{ show_course_shortcut }}
</div>
{% endblock %}
{{ flash_messages }}
{% endif %}
<section id="content-section">
<div class="container">
{% block breadcrumb %}
<div id="page-breadcrumb">
{{ breadcrumb }}
</div>
{% endblock %}
{{ flash_messages }}
{% endif %}
Loading…
Cancel
Save