page.tpl 3.2 KB

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