Changeset 13274
- Timestamp:
- 11/19/09 13:44:57 (2 years ago)
- Location:
- trunk
- Files:
-
- 2 edited
-
inc/classes/BxDolFilesModule.php (modified) (1 diff)
-
modules/boonex/files/classes/BxFilesModule.php (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
trunk/inc/classes/BxDolFilesModule.php
r13065 r13274 262 262 } 263 263 264 $sCaption = _t('_' . $this->_oConfig->getMainPrefix() . '_top_menu_' . $sParamName); 265 if (mb_strlen($sParamName) > 0 && mb_strlen($sParamValue) > 0 && isset($oSearch->aCurrent['restriction'][$sParamName])) { 264 $sTopPostfix = isset($oSearch->aCurrent['restriction'][$sParamName]) ? $sParamName : 'all'; 265 $sCaption = _t('_' . $this->_oConfig->getMainPrefix() . '_top_menu_' . $sTopPostfix); 266 if (mb_strlen($sParamValue) > 0 && isset($oSearch->aCurrent['restriction'][$sParamName])) { 266 267 $sParamValue = $this->getBrowseParam($sParamName, $sParamValue); 267 268 $oSearch->aCurrent['restriction'][$sParamName]['value'] = $sParamValue; -
trunk/modules/boonex/files/classes/BxFilesModule.php
r13102 r13274 129 129 } 130 130 131 $sCaption = _t('_' . $this->_oConfig->getMainPrefix() . '_top_menu_' . $sParamName); 131 $sTopPostfix = isset($oSearch->aCurrent['restriction'][$sParamName]) ? $sParamName : 'all'; 132 $sCaption = _t('_' . $this->_oConfig->getMainPrefix() . '_top_menu_' . $sTopPostfix); 132 133 if (strlen($sParamName) > 0 && strlen($sParamValue) > 0 && isset($oSearch->aCurrent['restriction'][$sParamName])) { 133 134 $oSearch->aCurrent['restriction'][$sParamName]['value'] = $sParamValue;
Note: See TracChangeset
for help on using the changeset viewer.