diff --git a/presentation/lookAndFeel/knowledgeTree/documentmanagement/collaborationUI.inc b/presentation/lookAndFeel/knowledgeTree/documentmanagement/collaborationUI.inc index 3897283..f68a936 100644 --- a/presentation/lookAndFeel/knowledgeTree/documentmanagement/collaborationUI.inc +++ b/presentation/lookAndFeel/knowledgeTree/documentmanagement/collaborationUI.inc @@ -43,21 +43,23 @@ function getRole($iRoleID) { 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" . "\n" . "\n" . diff --git a/presentation/lookAndFeel/knowledgeTree/documentmanagement/viewUI.inc b/presentation/lookAndFeel/knowledgeTree/documentmanagement/viewUI.inc index bd72ee8..f366129 100644 --- a/presentation/lookAndFeel/knowledgeTree/documentmanagement/viewUI.inc +++ b/presentation/lookAndFeel/knowledgeTree/documentmanagement/viewUI.inc @@ -161,8 +161,11 @@ function getEditPage($oDocument) { if ((!Document::documentCollaborationStarted($oDocument->getID())) && ($_SESSION["userID"] == $oDocument->getCreatorID())) { //if not all collaboration steps have been set, then you cannot start the collaboration process //only the creator of the document can start the collaboration process - $sToRender .= "\t\t\n"; + $sToRender .= "\t\t\n"; } else if (Document::userIsPerformingCurrentCollaborationStep($oDocument->getID())) { //if the current user is responsible for an active step in the collaboration process $sToRender .= "\t\t
Document Routing
Group".getGroupRow($iGroupID)."Group".getGroupRow($iGroupID)."
Role".getRoleDropDown($iRoleID)."Role".getRole($iRoleID)."
Role".getRole($iRoleID)."
Player".getUserDropDown($iGroupID, $iUserID)."Player".getUserDropDown($iGroupID, $iUserID)."
Seq. no.$iSequenceNumberSeq. no.$iSequenceNumber
 graphicsUrl/widgets/begin.gif\" border=\"0\"/>". - "graphicsUrl/widgets/begin.gif\" border=\"0\"/>graphicsUrl/widgets/begin.gif\" border=\"0\"/>"; + if (!Document::documentIsPendingWebPublishing($iDocumentID)) { + $sToRender .= "graphicsUrl/widgets/publish.gif\" border=\"0\"/>\n"; + } + $sToRender .= "\n";