page.tpl 3.2 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182
  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 'layout/head.tpl'|get_template %}
  10. {% endblock %}
  11. </head>
  12. <body>
  13. <!-- START MAIN -->
  14. <main id="main" dir="{{ text_direction }}" class="{{ section_name }} {{ login_class }}">
  15. <noscript>{{ "NoJavascript"|get_lang }}</noscript>
  16. {% if displayCookieUsageWarning == true %}
  17. <!-- START DISPLAY COOKIES VALIDATION -->
  18. <div class="toolbar-cookie alert-warning">
  19. <form onSubmit="$(this).toggle('slow')" action="" method="post">
  20. <input value=1 type="hidden" name="acceptCookies"/>
  21. <div class="cookieUsageValidation">
  22. {{ "YouAcceptCookies" | get_lang }}
  23. <span style="margin-left:20px;" onclick="$(this).next().toggle('slow'); $(this).toggle('slow')">
  24. ({{"More" | get_lang }})
  25. </span>
  26. <div style="display:none; margin:20px 0;">
  27. {{ "HelpCookieUsageValidation" | get_lang}}
  28. </div>
  29. <span style="margin-left:20px;" onclick="$(this).parent().parent().submit()">
  30. ({{"Accept" | get_lang }})
  31. </span>
  32. </div>
  33. </form>
  34. </div>
  35. <!-- END DISPLAY COOKIES VALIDATION -->
  36. {% endif %}
  37. {% if show_header == true %}
  38. <!-- START HEADER -->
  39. <header id="cm-header">
  40. {% include 'layout/page_header.tpl'|get_template %}
  41. </header>
  42. {% endif %}
  43. <!-- START CONTENT -->
  44. <section id="cm-content">
  45. <div class="container">
  46. {% if show_course_shortcut is not null %}
  47. <!-- TOOLS SHOW COURSE -->
  48. <div id="cm-tools" class="nav-tools">
  49. {{ show_course_shortcut }}
  50. </div>
  51. <!-- END TOOLS SHOW COURSE -->
  52. {% endif %}
  53. {% block breadcrumb %}
  54. {{ breadcrumb }}
  55. {% endblock %}
  56. {% block body %}
  57. {{ content }}
  58. {% endblock %}
  59. </div>
  60. </section>
  61. <!-- END CONTENT -->
  62. {% if show_footer == true %}
  63. <!-- START FOOTER -->
  64. <footer class="footer">
  65. {% include 'layout/page_footer.tpl'|get_template %}
  66. </footer>
  67. <!-- END FOOTER -->
  68. {% endif %}
  69. </main>
  70. <!-- END MAIN -->
  71. {% include 'layout/modals.tpl'|get_template %}
  72. </body>
  73. </html>