$GLOBALS['bottomScripts'][] = MEDIA_BASE_URL . 'js/pageSetup.js';
$GLOBALS['styleSheets'][] = $this->mediaBaseURL . 'fancybox/jquery.fancybox.css';
$GLOBALS['bottomScripts'][] = $this->mediaBaseURL . "fancybox/jquery.fancybox.js";
+ $GLOBALS['bottomScripts'][] = $this->glmAppBaseURL . 'libjs/external.js';
}
/**
}
$this->pageTitle = $this->_getPageTitle($this->_catid);
-// if (defined('MAIN_LEVEL_NAV_ARRAY') && MAIN_LEVEL_NAV_ARRAY) {
-// $mainNavArray = unserialize(MAIN_LEVEL_NAV_ARRAY);
-// }
$bodyFactory = new Toolkit_Template_Page_BodyFactory(
$this->_breadCrumbs,
$this->_pageGateway,
$this->toolboxContent = $this->_toolboxPage->getBody(
$this->_catid, $bodyFactory
);
+// echo '<pre>'.print_r($this->toolboxContent, true).'</pre>';exit;
$page = $this->_pageGateway->find($this->_catid);
$this->topParentId = $this->_pageGateway->findTopParent($this->_catid);
? ' class="'.$className.'"'
: ' class="dropdown"';
}
- $styleCode = ($backgroundImage)
- ? 'style="background-image: url('.$backgroundImage.');"'
- : '';
+ $styleCode = '';//($backgroundImage)
+// ? 'style="background-image: url('.$backgroundImage.');"'
+// : '';
$result = "{$tabs}<ul{$mainClass}{$styleCode}>\n";
+ if ($backgroundImage) {
+ $result .= '<li class="mainNavLiImgContainer"><img class="mainNavImg" src="'.$backgroundImage.'" =></li>';
+ }
foreach ($array as $i => $node) {
$classes = array();
if ($mobile && $node['class']) {