helper('ultimo'); $headerInnerBgColor = $theme->getCfgDesign('header/inner_bg_color'); $navStretched = $theme->getCfgDesign('nav/stretched'); $navInnerBgColor = $theme->getCfgDesign('nav/inner_bg_color'); $navDropShadow = $theme->getCfgDesign('effects/shadow_nav'); $mainInnerBgColor = $theme->getCfgDesign('main/inner_bg_color'); //Header settings $headerCss = array(); if ($theme->isColor($headerInnerBgColor)) { $headerCss[] = 'show-bg'; } else { //If header has no inner background color and menu is stretched, header is also stretched if ($navStretched) { $headerCss[] = 'stretched'; } } //Menu settings $navCss = array(); //If menu is stretched, it is as wide as container and side margins are removed if ($navStretched) { $navCss[] = 'stretched'; } //If menu has inner background color, add class indicating that it also has an outline if ($theme->isColor($navInnerBgColor)) { $navCss[] = 'has-outline'; } //TODO //$navDropShadow = 'bar'; if ($navDropShadow === 'inner-container') { $navCss[] = 'show-bg'; } elseif ($navDropShadow === 'bar') { $navCss[] = 'nav-bar-drop-shadow'; } //If header or menu has inner background color, nav also has inner background color /* if ($theme->isColor($headerInnerBgColor)) { $navCss[] = 'show-bg'; } elseif ($theme->isColor($mainInnerBgColor)) { $navCss[] = 'show-bg'; } */ ?> getChildHtml('topSearch'); $searchPosition = $theme->getCfg('header/search_position'); switch ($searchPosition) { case 20: $p['centralCol'][0] = $tmpHtml; break; case 30: $p['rightCol'][0] = $tmpHtml; break; case 31: $p['rightCol'][1] = $tmpHtml; break; case 32: $p['rightCol'][2] = $tmpHtml; break; case 33: $p['rightCol'][3] = $tmpHtml; break; } //Line break $tmpHtml = '
'; $lineBreakPosition = $theme->getCfg('header/toplinks_break_position'); switch ($lineBreakPosition) { case 30: $p['rightColBreak'][0] = $tmpHtml; break; case 31: $p['rightColBreak'][1] = $tmpHtml; break; case 32: $p['rightColBreak'][2] = $tmpHtml; break; case 33: $p['rightColBreak'][3] = $tmpHtml; break; case 34: $p['rightColBreak'][4] = $tmpHtml; break; case 35: $p['rightColBreak'][5] = $tmpHtml; break; } // -------------------------------------------------------------- //Width (in grid units) of sections $leftColUnits = 4; //$theme->getCfg('header/left_column'); $centralColUnits = 4; //$theme->getCfg('header/center_column'); $rightColUnits = 4; //$theme->getCfg('header/right_column'); //If no search box in the center if (!isset($p['centralCol'])) { $centralColUnits = 0; $rightColUnits += 12 - ($leftColUnits + $rightColUnits); } //Grid classes $leftColGridClass = 'grid12-' . $leftColUnits; $centralColGridClass = 'grid12-' . $centralColUnits; $rightColGridClass = 'grid12-' . $rightColUnits; if (empty($centralColUnits)) { $centralColGridClass = ''; } // -------------------------------------------------------------- ?>
">
getChildHtml('block_header_top_left')): ?>
getChildHtml('block_header_top_left2')): ?>

getChildHtml('welcome'); //$this->getWelcome(); ?> getAdditionalHtml(); ?>

getChildHtml('block_header_top_right')): ?>
getChildHtml('currency'); ?> getChildHtml('store_language'); ?> getChildHtml('block_header_top_right2')): ?>
getChildHtml('topContainer'); ?>
">
getIsHomePage()): ?>

getLogoAlt() ?><?php echo $this->getLogoAlt() ?>

getChildHtml('free_shipping')): ?>
getChildHtml('cart_sidebar'); ?>
getCfg('header/compare') && ($tmpHtml = $this->getChildHtml('compareMini'))) echo $tmpHtml; ?>