Let objectManager output table headers. A class returns an array of header cells and then

the objectManager adds an edit column if appropriate.
This commit is contained in:
Alexander Nicolaysen Sørnes
2007-03-17 21:04:43 +00:00
committed by WineHQ
parent 80e30b65a8
commit ed7026be6e
7 changed files with 29 additions and 28 deletions

View File

@@ -199,7 +199,7 @@ class appData
}
function objectOutputHeader($sClass, $sType)
function objectGetHeader($sType)
{
$aCells = array(
"Submission Date",
@@ -207,10 +207,7 @@ class appData
"Application",
"Version");
if(appData::canEdit($sType))
$aCells[] = "Action";
echo html_tr($aCells, $sClass);
return $aCells;
}
function objectGetEntries($bQueued, $iRows = 0, $iStart = 0, $sType)