|
@@ -130,6 +130,24 @@ class BxBaseModGeneralMenuSnippetMeta extends BxTemplMenuCustom
|
|
|
'href' => $oComments->getListUrl()
|
|
'href' => $oComments->getListUrl()
|
|
|
));
|
|
));
|
|
|
}
|
|
}
|
|
|
|
|
+
|
|
|
|
|
+ protected function _getMenuItemDefault($aItem)
|
|
|
|
|
+ {
|
|
|
|
|
+ $sResult = '';
|
|
|
|
|
+
|
|
|
|
|
+ if(!empty($aItem['link']))
|
|
|
|
|
+ $sResult = $this->_oTemplate->getUnitMetaItemLink($aItem['title'], array(
|
|
|
|
|
+ 'href' => $aItem['link']
|
|
|
|
|
+ ));
|
|
|
|
|
+ else if(!empty($aItem['onclick']))
|
|
|
|
|
+ $sResult = $this->_oTemplate->getUnitMetaItemButtonSmall($aItem['title'], array(
|
|
|
|
|
+ 'onclick' => $aItem['onclick']
|
|
|
|
|
+ ));
|
|
|
|
|
+ else
|
|
|
|
|
+ $sResult = $this->_oTemplate->getUnitMetaItemText($aItem['title']);
|
|
|
|
|
+
|
|
|
|
|
+ return $sResult;
|
|
|
|
|
+ }
|
|
|
}
|
|
}
|
|
|
|
|
|
|
|
/** @} */
|
|
/** @} */
|