Removed CSS switching for chamilo_* themes only - this was breaking styling from CSS for copies of Chamilo style

skala
Yannick Warnier 14 years ago
parent 6ec08aa9ba
commit 9df578cf04
  1. 19
      main/inc/lib/banner.lib.php

@ -557,7 +557,6 @@ function show_header_4($interbreadcrumb, $language_file, $nameTools) {
} }
} }
if (in_array(api_get_visual_theme(), array('chamilo','chamilo_red','chamilo_blue','chamilo_orange','chamilo_green','chamilo_electric_blue'))) {
if (!empty($final_navigation)) { if (!empty($final_navigation)) {
echo '<div id="header4">'; echo '<div id="header4">';
$lis = ''; $lis = '';
@ -573,24 +572,6 @@ function show_header_4($interbreadcrumb, $language_file, $nameTools) {
echo '<div id="header4">'; echo '<div id="header4">';
echo '</div>'; echo '</div>';
} }
} else {
if (!empty($final_navigation)) {
echo '<div id="header4">';
$i = 0;
$count = count($final_navigation);
foreach($final_navigation as $bread) {
if ($i < $count -1 && $count != 1) {
$bread .=' > ';
}
echo $bread;
$i++;
}
echo '</div>';
} else {
echo '<div id="header4">';
echo '</div>';
}
}
echo '<div class="clear"></div>'; echo '<div class="clear"></div>';
} }

Loading…
Cancel
Save