|
@@ -2249,10 +2249,14 @@ class BxDolCmts extends BxDolFactory implements iBxDolReplaceable, iBxDolContent
|
|
|
$oMenuActions = BxDolMenu::getObjectInstance($this->_sMenuObjActions);
|
|
$oMenuActions = BxDolMenu::getObjectInstance($this->_sMenuObjActions);
|
|
|
$oMenuActions->setCmtsData($this, $iCmtId, $aBp);
|
|
$oMenuActions->setCmtsData($this, $iCmtId, $aBp);
|
|
|
|
|
|
|
|
|
|
+ $oMenuManage = BxDolMenu::getObjectInstance($this->_sMenuObjManage);
|
|
|
|
|
+ $oMenuManage->setCmtsData($this, $iCmtId, $aBp);
|
|
|
|
|
+
|
|
|
$aData = $this->getCommentSimple($iCmtId);
|
|
$aData = $this->getCommentSimple($iCmtId);
|
|
|
$aData = array_merge($aData, [
|
|
$aData = array_merge($aData, [
|
|
|
'author_data' => BxDolProfile::getData($aData['cmt_author_id']),
|
|
'author_data' => BxDolProfile::getData($aData['cmt_author_id']),
|
|
|
- 'menu_actions' => $oMenuActions->getCodeAPI()
|
|
|
|
|
|
|
+ 'menu_actions' => $oMenuActions->getCodeAPI(),
|
|
|
|
|
+ 'menu_manage' => $oMenuManage->getCodeAPI(),
|
|
|
]);
|
|
]);
|
|
|
|
|
|
|
|
$aStructure[$sCmtIndex] = [
|
|
$aStructure[$sCmtIndex] = [
|