, Jam Warehouse (Pty) Ltd, South Africa
* @package presentation.lookAndFeel.knowledgeTree.administration.news
*/
/**
* Displays the page that allows an administrator to restore an archived document
*/
function getRestoreArchivedDocumentPage($oDocument) {
global $default;
$sToRender = renderHeading("Restore Archived Document") . renderDocumentPath($oDocument) . "\n
\n";
$sToRender .= "
\n";
return $sToRender;
}
/**
* Displays the page that allows a user to request the restoration of an archived document
*/
function getRequestRestoreDocumentPage($oDocument) {
global $default;
$sToRender = renderHeading("Request Archived Document Restoration") . renderDocumentPath($oDocument) . "\n
\n";
$sToRender .= "\n";
return $sToRender;
}
/**
* Displays the page that allows an administrator to restore an archived document
*/
function renderRequestSuccessPage($oDocument) {
global $default;
$sToRender = renderHeading("Restore Archived Document");
$sToRender .= "\n";
return $sToRender;
}
/**
* Display the error page for archiving request failure
*/
function renderRequestFailurePage($oDocument, $oUnitAdminUser) {
global $default;
$sToRender = renderHeading("Restore Archived Document");
$sToRender .= "\n";
return $sToRender;
}
?>