function displayResultBlock()
 {
     $sResult = parent::displayResultBlock();
     return $sResult;
 }
 function displayResultBlock($bPagination = false, $isAjax = false)
 {
     $s = parent::displayResultBlock();
     if ($s) {
         $GLOBALS['oSysTemplate']->addDynamicLocation($this->_oMain->_oConfig->getHomePath(), $this->_oMain->_oConfig->getHomeUrl());
         $GLOBALS['oSysTemplate']->addCss(array('main.css', 'twig.css'));
         $s = $GLOBALS['oSysTemplate']->parseHtmlByName('default_padding.html', array('content' => $s));
         if ($bPagination) {
             $s .= $isAjax ? $this->showPaginationAjax() : $this->showPagination();
         }
         $s = '<div id="search_result_block_' . $this->sMode . '">' . $s . '</div>';
     }
     return $s;
 }
 function displayResultBlock($bPagination = false, $isAjax = false)
 {
     $s = parent::displayResultBlock();
     if ($s) {
         $GLOBALS['oSysTemplate']->addDynamicLocation($this->_oMain->_oConfig->getHomePath(), $this->_oMain->_oConfig->getHomeUrl());
         $GLOBALS['oSysTemplate']->addCss('main.css');
         if ($bPagination) {
             $s .= $isAjax ? $this->showPaginationAjax() : $this->showPagination();
         }
         $s = '<div id="search_result_block_' . $this->sMode . '">' . $s . '</div>';
     }
     return $s;
 }
Example #4
0
 function displayResultBlock()
 {
     $sCode = parent::displayResultBlock();
     return !empty($sCode) ? $this->oTemplate->parseHtmlByName('default_margin.html', array('content' => $sCode)) : $sCode;
 }