Commit 1baeefa87988ad23631bfe2f65a3430bfc0218ce

Authored by Michael Joseph
1 parent a0d31868

added documentID to error pages


git-svn-id: https://kt-dms.svn.sourceforge.net/svnroot/kt-dms/trunk@1305 c91229c3-7414-0410-bfa2-8a42b809f60b
presentation/lookAndFeel/knowledgeTree/documentmanagement/checkOutDocumentBL.php
... ... @@ -92,15 +92,15 @@ if (checkSession()) {
92 92 } else {
93 93 // this document is already checked out
94 94 // TODO: for extra credit, tell the user who has this document checked out
95   - $oPatternCustom->setHtml(renderErrorPage("This document is already checked out"));
  95 + $oPatternCustom->setHtml(renderErrorPage("This document is already checked out", $fDocumentID));
96 96 }
97 97 } else {
98 98 // no permission to checkout the document
99   - $oPatternCustom->setHtml(renderErrorPage("You don't have permission to check out this document"));
  99 + $oPatternCustom->setHtml(renderErrorPage("You don't have permission to check out this document", $fDocumentID));
100 100 }
101 101 } else {
102 102 // couldn't instantiate the document
103   - $oPatternCustom->setHtml(renderErrorPage("Could not check out this document"));
  103 + $oPatternCustom->setHtml(renderErrorPage("Could not check out this document", $fDocumentID));
104 104 }
105 105 } else {
106 106 // no document id was set when coming to this page,
... ...