1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889909192939495969798 |
- <?php
- /* This page is now unused check the template.lib.php and main/template/ files */
- exit;
- require_once api_get_path(LIBRARY_PATH).'banner.lib.php';
- global $my_session_id;
- $session_id = api_get_session_id();
- $session_name = api_get_session_name($my_session_id);
- echo '<div id="wrapper">';
- echo '<ul id="navigation">';
- if (api_get_setting('enable_help_link') == 'true') {
- if (!empty($help)) {
- $help = Security::remove_XSS($help);
- ?>
- <li class="help">
- <a href="<?php echo api_get_path(WEB_CODE_PATH); ?>help/help.php?open=<?php echo $help; ?>&height=400&width=600" class="thickbox" title="<?php echo get_lang('Help'); ?>">
- <img src="<?php echo api_get_path(WEB_IMG_PATH);?>help.large.png" alt="<?php echo get_lang('Help');?>" title="<?php echo get_lang('Help');?>" />
- </a>
- </li>
- <?php }
- }
- if (api_get_setting('show_link_bug_notification') == 'true') {
- ?>
- <li class="report">
- <a href="http://support.chamilo.org/projects/chamilo-18/wiki/How_to_report_bugs" target="_blank">
- <img src="<?php echo api_get_path(WEB_IMG_PATH) ?>bug.large.png" style="vertical-align: middle;" alt="<?php echo get_lang('ReportABug') ?>" title="<?php echo get_lang('ReportABug');?>"/></a>
- </li>
- <?php
- }
- echo'</ul>';
- echo '<div id="header">';
- show_header_1($language_file, $nameTools);
- show_header_2();
- echo '<div id="header3">';
- echo '<div id="subnav">';
- echo show_header_3();
- echo '</div>';
- echo '</div>';
-
- echo '</div>'; // <!-- end of the whole #header section -->
-
- if (api_get_setting('show_toolshortcuts') == 'true') {
- require_once api_get_path(INCLUDE_PATH).'tool_navigation_menu.inc.php';
- show_navigation_tool_shortcuts();
- }
- echo '<div id="main">';
- echo show_header_4($interbreadcrumb, $language_file, $nameTools);
- echo '<div id="submain">';
- /* "call for chat" module section */
- $chat = strpos(api_get_self(), 'chat_banner.php');
- if (!$chat) {
- include_once api_get_path(LIBRARY_PATH).'online.inc.php';
- //echo $accept;
- $chatcall = chatcall();
- if ($chatcall) {
- Display :: display_normal_message($chatcall);
- }
- }
- /* Navigation menu section */
- if (api_get_setting('show_navigation_menu') != 'false' && api_get_setting('show_navigation_menu') != 'icons') {
- Display::show_course_navigation_menu($_GET['isHidden']);
- $course_id = api_get_course_id();
- if (!empty($course_id) && ($course_id != -1)) {
- echo '<div id="menuButton">';
- echo $output_string_menu;
- echo '</div>';
- if (isset($_SESSION['hideMenu'])) {
- if ($_SESSION['hideMenu'] == 'shown') {
- if (isset($_cid)) {
- echo '<div id="centerwrap">'; // <!-- start of #centerwrap -->
- echo '<div id="center">'; // <!-- start of #center -->
- }
- }
- } else {
- if (isset($_cid)) {
- echo '<div id="centerwrap">'; // <!-- start of #centerwrap -->
- echo '<div id="center">'; //<!-- start of #center -->
- }
- }
- }
- }
|