, Jam Warehouse (Pty) Ltd, South Africa * @package presentation.lookAndFeel.knowledgeTree.administration.documentmanagement */ /** * Lists all deleted documents */ function renderListDeletedDocumentsPage($aDocuments) { global $default; $sToRender = renderHeading("Expunge Deleted Documents"); $sToRender .= "
| The following documents have been deleted from the DMS. |
| Select the documents you would like to completely remove and click 'Expunge', or click on the document name link to restore the document. |
| \n"; $sToRender .= "getID() . "\"/>\n"; // get an existing folder to restore the document to $oFolder = Folder::get($aDocuments[$i]->getFolderID()); // if the folder no longer exists, use the root folder to start browsing from $iFolderID = ($oFolder ? $aDocuments[$i]->getFolderID() : User::getUserRootFolderID()); $sToRender .= generateControllerLink("restoreDeletedDocument", "fDocumentID=" . $aDocuments[$i]->getID() . "&fFolderID=$iFolderID", ($aDocuments[$i]->getFolderID() == $iFolderID) ? $aDocuments[$i]->getDisplayPath(true) : $aDocuments[$i]->getIcon() . $aDocuments[$i]->getName()) . "\n"; $sToRender .= "\t\t | \n"; $sToRender .= "\t
| graphicsUrl/widgets/expunge.gif\" border=\"0\"/> |
| There are currently no deleted documents in the system |