, Jam Warehouse (Pty) Ltd, South Africa
* @package documentmanagement
*/
/**
* Prompts the user for a checkout comment
*
* @param object the document we're checking out
*/
function renderCheckOutPage($oDocument) {
global $default;
$sToRender = "
\n";
return $sToRender;
}
/**
* Displays the document view page with additional input controls
* for checking out the document
*
* @param object the document to view and check out
*/
function getCheckOutPage($oDocument, $bCheckedOut = false) {
global $default;
$sToRender .= renderHeading(_("Check Out Document"));
$sToRender .= renderDocumentPath($oDocument, false) . "\n\n";
if ($bCheckedOut) {
$sToRender .= "";
} else {
$sToRender .= renderCheckOutPage($oDocument);
}
$sToRender .= renderDocumentData($oDocument, $bEdit);
return $sToRender;
}
?>