" . $oGroup->getName(); } function getUserDropDown($iGroupID, $iUserID) { global $default; $oPatternListBox = & new PatternListBox("$default->owl_users_table", "name", "id", "fUserID"); $sFromClause = "INNER JOIN $default->owl_users_groups_table AS UGL ON ST.id = UGL.user_id "; $oPatternListBox->setFromClause($sFromClause); $sWhereClause = "UGL.group_id = $iGroupID"; $oPatternListBox->setWhereClause($sWhereClause); if (isset($iUserID)) { $oPatternListBox->setSelectedValue($iUserID); } $oPatternListBox->setEmptyErrorMessage("There are no users in this group"); return $oPatternListBox->render(); } function getRole($iRoleID) { $oRole = Role::get($iRoleID); return "" . $oRole->getName(); /*global $default; $oPatternListBox = & new PatternListBox("$default->owl_roles_table", "name", "id", "fRoleID"); if (isset($iRoleID)) { $oPatternListBox->setSelectedValue($iRoleID); } $oPatternListBox->setEmptyErrorMessage("There are no users in this group"); return $oPatternListBox->render();*/ } function getDocumentRoutingPage($iGroupID, $iUserID, $iRoleID, $iSequenceNumber, $fDocumentID) { global $default; $sSectionName = $default->siteMap->getSectionName(substr($_SERVER["PHP_SELF"], strlen($default->rootUrl), strlen($_SERVER["PHP_SELF"]))); $sTDBGColour = $default->siteMap->getSectionColour($sSectionName, "td"); $sTHBGColour = $default->siteMap->getSectionColour($sSectionName, "th"); return "\n" . "\n" . "\n" . "\n" . "\n" . "\n" . "\n" . "\n" . "\n" . "\n" . "\n" . "\n" . "\n" . "\n" . "\n" . "\n" . "\n" . "\n" . "\n" . "\n" . "\n" . "
Document Routing
Group".getGroupRow($iGroupID)."
Role".getRole($iRoleID)."
Player".getUserDropDown($iGroupID, $iUserID)."
Seq. no.$iSequenceNumber
 
graphicsUrl/widgets/update.gif\" />rootUrl/control.php?action=viewDocument&fDocumentID=$fDocumentID \">graphicsUrl/widgets/cancel.gif\" border=\"0\">
\n"; } ?>