page.tpl 2.2 KB

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