Changeset 15334 for trunk/categories.php
- Timestamp:
- 07/12/11 01:20:32 (11 months ago)
- File:
-
- 1 edited
-
trunk/categories.php (modified) (5 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/categories.php
r15260 r15334 32 32 require_once( BX_DIRECTORY_PATH_INC . 'design.inc.php' ); 33 33 34 bx_import('BxDolTemplate'); 34 35 bx_import('BxTemplCategories'); 35 36 bx_import('BxDolPageView'); … … 92 93 'month_current' => $this->getTitle(), 93 94 ); 94 $sHtml = $GLOBALS['oSysTemplate']->parseHtmlByName('calendar.html', $aVars); 95 96 $oSysTemplate = BxDolTemplate::getInstance(); 97 98 $sHtml = $oSysTemplate->parseHtmlByName('calendar.html', $aVars); 95 99 $sHtml = preg_replace ('#<bx_repeat:events>.*?</bx_repeat:events>#s', '', $sHtml); 96 $ GLOBALS['oSysTemplate']->addCss('calendar.css');100 $oSysTemplate->addCss('calendar.css'); 97 101 return $sHtml; 98 102 } … … 273 277 } 274 278 275 function getBlockCode_Form() 276 { 277 return $GLOBALS['oSysTemplate']->parseHtmlByName('search_tags_box.html', array('form' => $this->oForm->getCode())); 279 function getBlockCode_Form() { 280 return BxDolTemplate::getInstance()->parseHtmlByName('search_tags_box.html', array('form' => $this->oForm->getCode())); 278 281 } 279 282 … … 363 366 364 367 if (!$bAjaxMode) { 365 bx_import('BxDolTemplate');366 368 $oTemplate = BxDolTemplate::getInstance(); 367 369 $oTemplate->setPageNameIndex(25); … … 379 381 else 380 382 echo $sContent; 381 382 ?>
Note: See TracChangeset
for help on using the changeset viewer.