- Use the 'style' of the MenuBlock (inherited from DisplayBlock) to distinguish between a list of one object and the details of the same object.

SVN:trunk[2145]
This commit is contained in:
Denis Flaven
2012-07-31 15:18:46 +00:00
parent a707e9fde1
commit f0cd1cddb0
3 changed files with 31 additions and 7 deletions

View File

@@ -230,7 +230,7 @@ EOF;
protected function GetActionsMenu(WebPage $oPage, $aExtraParams)
{
$oMenuBlock = new MenuBlock($this->oSet->GetFilter());
$oMenuBlock = new MenuBlock($this->oSet->GetFilter(), 'list');
$sHtml = $oMenuBlock->GetRenderContent($oPage, $aExtraParams, $this->iListId);
return $sHtml;