echo '<header id="header_panel" class="line mod">' . "\n"; // the site name -- can be replaced, through CSS, by an image -- access key 1 if ($context['site_name']) { echo '<p id="header_title" class="left"><a href="' . $context['url_to_root'] . '" title="' . encode_field(i18n::s('Front page')) . '" accesskey="1"><span>' . $context['site_name'] . '</span></a></p>' . "\n"; } // site slogan -- can be replaced, through CSS, by an image if (isset($context['site_slogan'])) { echo '<p id="header_slogan" class="item"><span>' . $context['site_slogan'] . "</span><br /></p>\n"; } // horizontal tabs with Home, and second level drop-down menu displayed as smartlist Page::tabs(TRUE, FALSE, NULL, NULL, 'smartlist'); // end of the header panel echo '</header>' . "\n"; // display bread crumbs if not at the front page; if not defined, only the 'Home' link will be displayed if ($context['skin_variant'] != 'home') { Page::bread_crumbs(2); } // wrap the 3 colums echo '<div class="row medium-col tiny-box">' . "\n"; // navigation information echo '<nav id="side_panel" class="col w20 medium-w25 tiny-inbl mod item">' . "\n"; // display side content Page::side(); // link to yacs if we are at the front page if ($context['skin_variant'] == 'home' && is_callable(array('i18n', 's'))) { echo Skin::build_box(NULL, '<p>' . sprintf(i18n::s('Powered by %s'), Skin::build_link(i18n::s('http://www.yacs.fr/'), 'Yacs', 'external')) . '</p>', 'extra'); } // end of the side panel echo '</nav>' . "\n"; // main content echo '<div id="main_panel" role="main" class="col w60 medium-w75 tiny-inbl mod item">' . "\n";
echo '<div id="header_panel">' . "\n"; // the site name -- can be replaced, through CSS, by an image -- access key 1 if ($context['site_name'] && is_callable(array('i18n', 's'))) { echo "\t" . '<p id="header_title"><a href="' . $context['url_to_root'] . '" title="' . encode_field(i18n::s('Front page')) . '" accesskey="1">' . $context['site_name'] . '</a></p>' . "\n"; } // site slogan if ($context['site_slogan']) { echo "\t" . '<p id="header_slogan">' . $context['site_slogan'] . '</p>' . "\n"; } // end of the header panel echo '</div>' . "\n"; // the main panel echo '<div id="main_panel">' . "\n"; // display bread crumbs if not at the front page; if not defined, only the 'Home' link will be displayed if ($context['skin_variant'] != 'home') { Page::bread_crumbs(0); } // display main content Page::content(); // end of the main panel echo '</div>' . "\n"; // the side panel echo '<div id="side_panel">' . "\n"; // display side content Page::side(); // end of the side panel echo '</div>' . "\n"; // the footer panel comes after everything else echo '<div id="footer_panel">'; // display standard footer Page::footer();
break; case '2_3_1': echo '<td id="main_panel">'; Page::bread_crumbs(); Page::content(); echo '</td>'; echo '<td id="extra_panel">'; Page::extra_panel(NULL, FALSE); echo '</td>'; echo '<td id="side_panel">'; Page::side(); echo '</td>'; break; case '2_1_3': echo '<td id="main_panel">'; Page::bread_crumbs(); Page::content(); echo '</td>'; echo '<td id="side_panel">'; Page::side(); echo '</td>'; echo '<td id="extra_panel">'; Page::extra_panel(NULL, FALSE); echo '</td>'; break; } // end of columns echo '</tr>' . "\n"; // the footer panel comes after everything else echo '<tr id="footer_panel"><td colspan="3">'; // display standard footer