show_header.tpl 741 B

12345678910111213141516
  1. {% include app.template_style ~ "/layout/main_header.tpl" %}
  2. {#
  3. show_header and show_footer templates are only called when using the Display::display_header and Display::display_footer
  4. for backward compatibility we suppose that the default layout is one column which means using a div with class span12
  5. #}
  6. {% if app.template.show_header == true %}
  7. {% if plugin_content_top is not null %}
  8. <div id="plugin_content_top" class="span12">
  9. {{ plugin_content_top }}
  10. </div>
  11. {% endif %}
  12. <div class="span12">
  13. {% include app.template_style ~ "/layout/page_body.tpl" %}
  14. {% block main_content_section_block %}<section id="main_content">{% endblock main_content_section_block %}
  15. {% endif %}