Changeset 15948 for trunk/templates
- Timestamp:
- 02/06/12 00:21:55 (4 months ago)
- File:
-
- 1 edited
-
trunk/templates/base/scripts/BxBasePage.php (modified) (3 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/templates/base/scripts/BxBasePage.php
r15923 r15948 40 40 41 41 $this->_addSysTemplateVars(); 42 43 $this->_selectMenu(); 42 44 43 45 // TODO: insert profiler call here … … 138 140 139 141 /** 142 * Select menu from page properties. 143 */ 144 protected function _selectMenu () { 145 bx_import('BxDolMenu'); 146 BxDolMenu::setSelected ($this->_aObject['module'], $this->_aObject['object']); 147 } 148 149 /** 140 150 * Get content for 'raw' block type. 141 151 * @return string … … 175 185 */ 176 186 protected function _getBlockRss ($aBlock) { 177 list( $sUrl, $iNum ) = explode( '#', $sContent ); 187 if (empty($aBlock['content'])) 188 return false; 189 190 list( $sUrl, $iNum ) = explode('#', $aBlock['content']); 178 191 $iNum = (int)$iNum; 179 192
Note: See TracChangeset
for help on using the changeset viewer.