show_header.tpl 2.5 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 '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. <!-- END HEADER -->
  43. {% endif %}
  44. <!-- START CONTENT -->
  45. <section id="cm-content">
  46. <div class="container">
  47. {% if show_header == true %}
  48. {% if show_course_shortcut is not null %}
  49. <!-- TOOLS SHOW COURSE -->
  50. <div id="cm-tools" class="nav-tools">
  51. {{ show_course_shortcut }}
  52. </div>
  53. <!-- END TOOLS SHOW COURSE -->
  54. {% endif %}
  55. {% block breadcrumb %}
  56. {{ breadcrumb }}
  57. {% endblock %}
  58. {% endif %}
  59. {{ flash_messages }}