From f741ac3f64a42834e7e11fa2cae24c6b13522ae6 Mon Sep 17 00:00:00 2001 From: michael Date: Thu, 13 Mar 2003 12:18:09 +0000 Subject: [PATCH] changed update button to approve --- presentation/lookAndFeel/knowledgeTree/documentmanagement/viewUI.inc | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/presentation/lookAndFeel/knowledgeTree/documentmanagement/viewUI.inc b/presentation/lookAndFeel/knowledgeTree/documentmanagement/viewUI.inc index d258a95..2a3b090 100644 --- a/presentation/lookAndFeel/knowledgeTree/documentmanagement/viewUI.inc +++ b/presentation/lookAndFeel/knowledgeTree/documentmanagement/viewUI.inc @@ -188,8 +188,9 @@ function getEditPage($oDocument) { $sToRender .= "\t\trootUrl/control.php?action=collaborationStepReject&fDocumentID=$iDocumentID\">graphicsUrl/widgets/reject.gif\" border=\"0\"/>\n"; $sToRender .= "\t\t\n"; } - // only display for unpublished documents + if (Document::documentIsPendingWebPublishing($iDocumentID)) { + // only display for unpublished documents // if there is collaboration if ($oDocument->hasCollaboration()) { // only display publish button if collaboration is complete and you're the last user in the collaboration process @@ -271,7 +272,7 @@ function getViewPage($oDocument) { //if the current user is responsible for an active step in the collaboration process $sToRender .= "\t\t\n"; $sToRender .= "\t\t\n"; - $sToRender .= "\t\t\n"; + $sToRender .= "\t\t\n"; $sToRender .= "\t\t\n"; $sToRender .= "\t\t
You currently have an active role
in the collaboration process
graphicsUrl/widgets/update.gif\" border=\"0\"/>graphicsUrl/widgets/approve.gif\" border=\"0\"/>rootUrl/control.php?action=collaborationStepReject&fDocumentID=$iDocumentID\">graphicsUrl/widgets/reject.gif\" border=\"0\"/>
\n"; } -- libgit2 0.21.4