#129 Result list to show an hyperlink with the object name (replacing the "zoom" icon)

SVN:trunk[455]
This commit is contained in:
Romain Quetiez
2010-06-10 09:02:14 +00:00
parent a4e8c8d07d
commit c8ea97beae
13 changed files with 59 additions and 125 deletions

View File

@@ -332,7 +332,11 @@ class DisplayBlock
$aData[] = array ( 'group' => $sLabels[$sValue],
'value' => "<a href=\"./UI.php?operation=search&dosearch=1&$sParams&filter=$sFilter&$sGroupByField=".urlencode($sValue)."\">$iCount</a>"); // TO DO: add the context information
}
$sHtml .= $oPage->GetTable(array('group' => array('label' => MetaModel::GetLabel($this->m_oFilter->GetClass(), $sGroupByField), 'description' => ''), 'value' => array('label'=> Dict::S('UI:GroupBy:Count'), 'description' => Dict::S('UI:GroupBy:Count+'))), $aData);
$aAttribs =array(
'group' => array('label' => MetaModel::GetLabel($this->m_oFilter->GetClass(), $sGroupByField), 'description' => ''),
'value' => array('label'=> Dict::S('UI:GroupBy:Count'), 'description' => Dict::S('UI:GroupBy:Count+'))
);
$sHtml .= $oPage->GetTable($aAttribs, $aData);
}
else
{