, Jam Warehouse (Pty) Ltd, South Africa * @package documentmanagement */ /** * Prompts the user for a checkout comment * * @param object the document we're checking out */ function renderUploadPage($oWebDocument) { global $default; $oDocument = Document::get($oWebDocument->getDocumentID()); $oWebSite = WebSite::get($oWebDocument->getWebSiteID()); $oUser = User::get($oDocument->getCreatorID()); $sToRender = renderHeading(_("Web document")); $sToRender .= "
| '" . $oUser->getName() . "' has requested that the document |
| " . generateControllerLink("viewDocument", "fDocumentID=" . $oDocument->getID(), $oDocument->getDisplayPath()) . " |
| be uploaded to website '" . $oWebSite->getWebSiteName() . "' (" . $oWebSite->getWebSiteURL() . ") |
| Once the document has been uploaded, please enter the URL that it has been uploaded to in the text box below and click 'Done' |
| Upload URL: getWebSiteURL() . "\"/> |
| getID() . "\"/> |
| \n";
$sToRender .= "rootUrl/control.php?action=dashboard\"> | \n";
$sToRender .= "
$sErrorMessage
\n" . (($iDocumentID == -1) ? "rootUrl/control.php?action=viewDocument&fDocumentID=$iDocumentID\">" : "") . "