\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 .= "