Minor - Format code - refs BT#13277

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

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

@ -1,18 +1,21 @@
<!DOCTYPE html> <!DOCTYPE html>
<!--[if lt IE 7]> <html lang="{{ document_language }}" class="no-js lt-ie9 lt-ie8 lt-ie7"> <![endif]--> <!--[if lt IE 7]>
<!--[if IE 7]> <html lang="{{ document_language }}" class="no-js lt-ie9 lt-ie8"> <![endif]--> <html lang="{{ document_language }}" class="no-js lt-ie9 lt-ie8 lt-ie7"> <![endif]-->
<!--[if IE 8]> <html lang="{{ document_language }}" class="no-js lt-ie9"> <![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]><!--> <!--[if gt IE 8]><!-->
<html lang="{{ document_language }}" class="no-js"> <!--<![endif]--> <html lang="{{ document_language }}" class="no-js"> <!--<![endif]-->
<head> <head>
{% block head %} {% block head %}
{% include template ~ "/layout/head.tpl" %} {% include template ~ "/layout/head.tpl" %}
{% endblock %} {% endblock %}
</head> </head>
<body dir="{{ text_direction }}" class="{{ section_name }} {{ login_class }}"> <body dir="{{ text_direction }}" class="{{ section_name }} {{ login_class }}">
<noscript>{{ "NoJavascript"|get_lang }}</noscript> <noscript>{{ "NoJavascript"|get_lang }}</noscript>
{% if show_header == true %} {% if show_header == true %}
<div class="wrap"> <div class="wrap">
{% if displayCookieUsageWarning == true %} {% if displayCookieUsageWarning == true %}
<!-- Display Cookies validation --> <!-- Display Cookies validation -->
<div class="toolbar-cookie alert-warning"> <div class="toolbar-cookie alert-warning">
@ -21,25 +24,25 @@
<div class="cookieUsageValidation"> <div class="cookieUsageValidation">
{{ "YouAcceptCookies" | get_lang }} {{ "YouAcceptCookies" | get_lang }}
<span style="margin-left:20px;" onclick="$(this).next().toggle('slow'); $(this).toggle('slow')"> <span style="margin-left:20px;" onclick="$(this).next().toggle('slow'); $(this).toggle('slow')">
({{"More" | get_lang }}) ({{ "More" | get_lang }})
</span> </span>
<div style="display:none; margin:20px 0;"> <div style="display:none; margin:20px 0;">
{{ "HelpCookieUsageValidation" | get_lang}} {{ "HelpCookieUsageValidation" | get_lang }}
</div> </div>
<span style="margin-left:20px;" onclick="$(this).parent().parent().submit()"> <span style="margin-left:20px;" onclick="$(this).parent().parent().submit()">
({{"Accept" | get_lang }}) ({{ "Accept" | get_lang }})
</span> </span>
</div> </div>
</form> </form>
</div> </div>
{% endif %} {% endif %}
{% include template ~ "/layout/page_header.tpl" %} {% include template ~ "/layout/page_header.tpl" %}
{% if show_course_shortcut is not null %} {% if show_course_shortcut is not null %}
<div class="nav-tools"> <div class="nav-tools">
{{ show_course_shortcut }} {{ show_course_shortcut }}
</div> </div>
{% endif %} {% endif %}
<section id="content-section"> <section id="content-section">
<div class="container"> <div class="container">
{% block breadcrumb %} {% block breadcrumb %}
<div id="page-breadcrumb"> <div id="page-breadcrumb">

Loading…
Cancel
Save