1.10.x
Julio Montoya 10 years ago
parent 55a2da6772
commit c9a619cac0
  1. 8
      main/template/default/layout/course_navigation.tpl
  2. 1
      main/template/default/layout/footer.tpl
  3. 3
      main/template/default/layout/main.tpl
  4. 1
      main/template/default/layout/main_header.tpl
  5. 7
      main/template/default/layout/show_footer.tpl

@ -7,13 +7,13 @@
</div>
{% endif %}
{% if show_course_navigation_menu is not null %}
<script>
{% if show_course_navigation_menu is not null %}
<script>
$(document).ready( function() {
if (readCookie('menu_state') == 0) {
swap_menu();
}
});
});
function createCookie(name, value, days) {
if (days) {
var date = new Date();
@ -56,7 +56,7 @@
}
}
document.write('<div class="col-md-12 pull-right"> <a class="btn btn-default" href="javascript: void(0);" id="swap_menu_link" onclick="javascript: swap_menu();">{{'Hide'|get_lang}}<\/a></div>');
</script>
</script>
{{ show_course_navigation_menu }}
{% endif %}
{% endif %}

@ -1,4 +1,3 @@
<footer> <!-- start of #footer section -->
<div class="container">
<div class="row">

@ -11,8 +11,9 @@
{% block footer %}
{# Footer #}
{% if show_footer == true %}
</div> <!-- end of #col" -->
</div> <!-- end of #row" -->
</div> <!-- end of #main" -->
</div> <!-- end of #container" -->
{% endif %}
{% include template ~ "/layout/main_footer.tpl" %}
{% endblock %}

@ -114,6 +114,7 @@
</section>
</header>
<div id="top_main_content" class="container">
<div class="row">
{# course navigation links/shortcuts need to be activated by the admin #}
{% include template ~ "/layout/course_navigation.tpl" %}
{% endif %}

@ -11,14 +11,15 @@
{# Plugin bottom #}
{% if plugin_content_bottom is not null %}
<div id="plugin_content_bottom" class="span12">
<div id="plugin_content_bottom" class="col-md-12">
{{ plugin_content_bottom}}
</div>
{% endif %}
{% if show_footer == true %}
</div> <!-- end of #row" -->
</div> <!-- end of #main" -->
</div> <!-- end of #col" -->
</div> <!-- end of #row" -->
</div> <!-- end of #container" -->
{% endif %}

Loading…
Cancel
Save