show_header.tpl 2.2 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253
  1. <!DOCTYPE html>
  2. <!--[if lt IE 7]>
  3. <html lang="{{ document_language }}" class="no-js lt-ie9 lt-ie8 lt-ie7"> <![endif]-->
  4. <!--[if IE 7]>
  5. <html lang="{{ document_language }}" class="no-js lt-ie9 lt-ie8"> <![endif]-->
  6. <!--[if IE 8]>
  7. <html lang="{{ document_language }}" class="no-js lt-ie9"> <![endif]-->
  8. <!--[if gt IE 8]><!-->
  9. <html lang="{{ document_language }}" class="no-js"> <!--<![endif]-->
  10. <head>
  11. {% block head %}
  12. {% include 'layout/head.tpl'|get_template %}
  13. {% endblock %}
  14. </head>
  15. <body dir="{{ text_direction }}" class="{{ section_name }} {{ login_class }}">
  16. <noscript>{{ "NoJavascript"|get_lang }}</noscript>
  17. {% if show_header == true %}
  18. <div class="wrap">
  19. {% if displayCookieUsageWarning == true %}
  20. <!-- Display Cookies validation -->
  21. <div class="toolbar-cookie alert-warning">
  22. <form onSubmit="$(this).toggle('slow')" action="" method="post">
  23. <input value=1 type="hidden" name="acceptCookies"/>
  24. <div class="cookieUsageValidation">
  25. {{ "YouAcceptCookies" | get_lang }}
  26. <span style="margin-left:20px;" onclick="$(this).next().toggle('slow'); $(this).toggle('slow')">
  27. ({{ "More" | get_lang }})
  28. </span>
  29. <div style="display:none; margin:20px 0;">
  30. {{ "HelpCookieUsageValidation" | get_lang }}
  31. </div>
  32. <span style="margin-left:20px;" onclick="$(this).parent().parent().submit()">
  33. ({{ "Accept" | get_lang }})
  34. </span>
  35. </div>
  36. </form>
  37. </div>
  38. {% endif %}
  39. {% include 'layout/page_header.tpl'|get_template %}
  40. {% if show_course_shortcut is not null %}
  41. <div class="nav-tools">
  42. {{ show_course_shortcut }}
  43. </div>
  44. {% endif %}
  45. <section id="content-section">
  46. <div class="container">
  47. {% block breadcrumb %}
  48. <div id="page-breadcrumb">
  49. {{ breadcrumb }}
  50. </div>
  51. {% endblock %}
  52. {{ flash_messages }}
  53. {% endif %}