\n";
}
// display the unsubscribe button if the user is subscribed to the document
if (Subscription::exists($_SESSION["userID"], $oDocument->getID(), SubscriptionConstants::subscriptionType("DocumentSubscription"))) {
$sToRender .= "
\n";
// display the unsubscribe button if the user is subscribed to the document
if (Subscription::exists($_SESSION["userID"], $oDocument->getID(), SubscriptionConstants::subscriptionType("DocumentSubscription"))) {
$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 getCheckOutEditPage($oDocument, $bCheckedOut = false) {
global $default;
$sToRender = renderDocumentPath($oDocument) . "\n \n";
$sToRender .= "
" . wrapInTable("You have now checked out this document. No one else can make updates to the document while you have it checked out. Click the Download button to get the latest version of the file. Please check it back in, as soon as you finish working on it.") . "
\n";
}
// display the unsubscribe button if the user is subscribed to the document
if (Subscription::exists($_SESSION["userID"], $oDocument->getID(), SubscriptionConstants::subscriptionType("DocumentSubscription"))) {
$sToRender .= "
\n";
return $sToRender;
}
/**
* Displays the document view page with additional input controls
* for checking in the document
*
* @param object the document to view and check out
*/
function getCheckInEditPage($oDocument) {
global $default;
$sToRender = renderDocumentPath($oDocument) . "\n \n";
$sToRender .= "
\n";
}
// display the unsubscribe button if the user is subscribed to the document
if (Subscription::exists($_SESSION["userID"], $oDocument->getID(), SubscriptionConstants::subscriptionType("DocumentSubscription"))) {
$sToRender .= "