|
@@ -8,100 +8,102 @@
|
|
|
</head>
|
|
|
<body dir="{{ text_direction }}" class="{{ section_name }}">
|
|
|
<noscript>{{"NoJavascript"|get_lang}}</noscript>
|
|
|
-{% if show_header %}
|
|
|
-<div class="skip">
|
|
|
- <ul>
|
|
|
- <li><a href="#menu">{{"WCAGGoMenu"|get_lang}}</a></li>
|
|
|
- <li><a href="#content" accesskey="2">{{"WCAGGoContent"|get_lang}}</a></li>
|
|
|
- </ul>
|
|
|
-</div>
|
|
|
-<div id="wrapper">
|
|
|
- {# Bug and help notifications #}
|
|
|
- <ul id="navigation" class="notification-panel">
|
|
|
- {{ help_content }}
|
|
|
- {{ bug_notification_link }}
|
|
|
- </ul>
|
|
|
- {# topbar #}
|
|
|
- {% include "default/layout/topbar.tpl" %}
|
|
|
-
|
|
|
- <div id="main" class="container">
|
|
|
- <header>
|
|
|
- <div class="row">
|
|
|
- <div id="header_left" class="span4">
|
|
|
- {# logo #}
|
|
|
- {{ logo }}
|
|
|
-
|
|
|
- {# plugin_header #}
|
|
|
- {% if plugin_header_left is not null %}
|
|
|
- <div id="plugin_header_left">
|
|
|
- {{ plugin_header_left }}
|
|
|
- </div>
|
|
|
- {% endif %}
|
|
|
- </div>
|
|
|
-
|
|
|
- <div id="header_center" class="span3">
|
|
|
- {# plugin_header #}
|
|
|
- {% if plugin_header_center is not null %}
|
|
|
- <div id="plugin_header_center">
|
|
|
- {{ plugin_header_center }}
|
|
|
- </div>
|
|
|
- {% endif %}
|
|
|
-
|
|
|
- </div>
|
|
|
- <div id="header_right" class="span5">
|
|
|
- {# header right (notifications) #}
|
|
|
- <ul id="notifications" class="nav nav-pills pull-right">
|
|
|
- {{ notification_menu }}
|
|
|
- </ul>
|
|
|
|
|
|
- {# plugin_header #}
|
|
|
- {% if plugin_header_right is not null %}
|
|
|
- <div id="plugin_header_right">
|
|
|
- {{ plugin_header_right }}
|
|
|
- </div>
|
|
|
- {% endif %}
|
|
|
-
|
|
|
+{% if show_header == true %}
|
|
|
+ <div class="skip">
|
|
|
+ <ul>
|
|
|
+ <li><a href="#menu">{{"WCAGGoMenu"|get_lang}}</a></li>
|
|
|
+ <li><a href="#content" accesskey="2">{{"WCAGGoContent"|get_lang}}</a></li>
|
|
|
+ </ul>
|
|
|
+ </div>
|
|
|
+ <div id="wrapper">
|
|
|
+ {# Bug and help notifications #}
|
|
|
+ <ul id="navigation" class="notification-panel">
|
|
|
+ {{ help_content }}
|
|
|
+ {{ bug_notification_link }}
|
|
|
+ </ul>
|
|
|
+ {# topbar #}
|
|
|
+ {% include "default/layout/topbar.tpl" %}
|
|
|
+
|
|
|
+ <div id="main" class="container">
|
|
|
+ <header>
|
|
|
+ <div class="row">
|
|
|
+ <div id="header_left" class="span4">
|
|
|
+ {# logo #}
|
|
|
+ {{ logo }}
|
|
|
+
|
|
|
+ {# plugin_header #}
|
|
|
+ {% if plugin_header_left is not null %}
|
|
|
+ <div id="plugin_header_left">
|
|
|
+ {{ plugin_header_left }}
|
|
|
+ </div>
|
|
|
+ {% endif %}
|
|
|
+ </div>
|
|
|
+
|
|
|
+ <div id="header_center" class="span3">
|
|
|
+ {# plugin_header #}
|
|
|
+ {% if plugin_header_center is not null %}
|
|
|
+ <div id="plugin_header_center">
|
|
|
+ {{ plugin_header_center }}
|
|
|
+ </div>
|
|
|
+ {% endif %}
|
|
|
+
|
|
|
+ </div>
|
|
|
+ <div id="header_right" class="span5">
|
|
|
+ {# header right (notifications) #}
|
|
|
+ <ul id="notifications" class="nav nav-pills pull-right">
|
|
|
+ {{ notification_menu }}
|
|
|
+ </ul>
|
|
|
+
|
|
|
+ {# plugin_header #}
|
|
|
+ {% if plugin_header_right is not null %}
|
|
|
+ <div id="plugin_header_right">
|
|
|
+ {{ plugin_header_right }}
|
|
|
+ </div>
|
|
|
+ {% endif %}
|
|
|
+
|
|
|
+ </div>
|
|
|
</div>
|
|
|
- </div>
|
|
|
-
|
|
|
- {% if plugin_header_main is not null %}
|
|
|
- <div class="row">
|
|
|
- <div class="span12">
|
|
|
- <div id="plugin_header_main">
|
|
|
- {{ plugin_header_main }}
|
|
|
+
|
|
|
+ {% if plugin_header_main is not null %}
|
|
|
+ <div class="row">
|
|
|
+ <div class="span12">
|
|
|
+ <div id="plugin_header_main">
|
|
|
+ {{ plugin_header_main }}
|
|
|
+ </div>
|
|
|
</div>
|
|
|
</div>
|
|
|
- </div>
|
|
|
+ {% endif %}
|
|
|
+ </header>
|
|
|
+
|
|
|
+ {# menu #}
|
|
|
+ {% if menu is not null %}
|
|
|
+ <div class="subnav">
|
|
|
+ {{ menu }}
|
|
|
+ </div>
|
|
|
{% endif %}
|
|
|
- </header>
|
|
|
-
|
|
|
- {# menu #}
|
|
|
- {% if menu is not null %}
|
|
|
- <div class="subnav">
|
|
|
- {{ menu }}
|
|
|
- </div>
|
|
|
- {% endif %}
|
|
|
|
|
|
- {# breadcrumb #}
|
|
|
- {{ breadcrumb}}
|
|
|
-
|
|
|
- <div class="row">
|
|
|
+ {# breadcrumb #}
|
|
|
+ {{ breadcrumb}}
|
|
|
+
|
|
|
+ <div class="row">
|
|
|
+
|
|
|
{% if show_course_shortcut is not null %}
|
|
|
<div class="span12">
|
|
|
{{ show_course_shortcut }}
|
|
|
</div>
|
|
|
{% endif %}
|
|
|
-
|
|
|
+
|
|
|
{% if show_course_navigation_menu is not null %}
|
|
|
- <script type="text/javascript">
|
|
|
-
|
|
|
+ <script type="text/javascript">
|
|
|
+
|
|
|
/* <![CDATA[ */
|
|
|
$(document).ready( function() {
|
|
|
if (readCookie('menu_state') == 0) {
|
|
|
swap_menu();
|
|
|
}
|
|
|
});
|
|
|
-
|
|
|
+
|
|
|
/* ]]> */
|
|
|
|
|
|
/* <![CDATA[ */
|
|
@@ -150,5 +152,5 @@
|
|
|
/* ]]> */
|
|
|
</script>
|
|
|
{{ show_course_navigation_menu }}
|
|
|
- {% endif %}
|
|
|
+ {% endif %}
|
|
|
{% endif %}
|