getMLText("invalid_doc_id"))),getMLText("invalid_doc_id")); } $documentid = $_GET["documentid"]; $document = $dms->getDocument($documentid); if (!is_object($document)) { UI::exitError(getMLText("document_title", array("documentname" => getMLText("invalid_doc_id"))),getMLText("invalid_doc_id")); } $folder = $document->getFolder(); $docPathHTML = getFolderPathHTML($folder, true). " / ".htmlspecialchars($document->getName()).""; if ($document->getAccessMode($user) < M_READ) { UI::exitError(getMLText("document_title", array("documentname" => htmlspecialchars($document->getName()))),getMLText("access_denied")); } $notifyList = $document->getNotifyList(); UI::htmlStartPage(getMLText("document_title", array("documentname" => htmlspecialchars($document->getName())))); UI::globalNavigation($folder); UI::pageNavigation($docPathHTML, "view_document"); ?> \n"; if ((count($notifyList["users"]) == 0) && (count($notifyList["groups"]) == 0)) { print "".getMLText("empty_notify_list").""; } else { foreach ($notifyList["users"] as $userNotify) { print ""; print ""; print "" . $userNotify->getFullName() . ""; if ($user->isAdmin() || $user->getID() == $userNotify->getID()) { print "getID()."\">".getMLText("delete").""; }else print ""; print ""; $userNotifyIDs[] = $userNotify->getID(); } foreach ($notifyList["groups"] as $groupNotify) { print ""; print ""; print "" . $groupNotify->getName() . ""; if ($user->isAdmin() || $groupNotify->isMember($user,true)) { print "getID()."\">".getMLText("delete").""; }else print ""; print ""; $groupNotifyIDs[] = $groupNotify->getID(); } } print "\n"; ?>
:
:
">