getMLText("invalid_folder_id"))),getMLText("invalid_folder_id")); } $folderid = intval($_GET["folderid"]); $folder = $dms->getFolder($folderid); if (!is_object($folder)) { UI::exitError(getMLText("folder_title", array("foldername" => getMLText("invalid_folder_id"))),getMLText("invalid_folder_id")); } $folderPathHTML = getFolderPathHTML($folder, true); if ($folder->getAccessMode($user) < M_READ) { UI::exitError(getMLText("folder_title", array("foldername" => htmlspecialchars($folder->getName()))),getMLText("access_denied")); } $notifyList = $folder->getNotifyList(); UI::htmlStartPage(getMLText("folder_title", array("foldername" => htmlspecialchars($folder->getName())))); UI::globalNavigation($folder); UI::pageNavigation($folderPathHTML, "view_folder", $folder); ?> \n"; if (empty($notifyList["users"]) && empty($notifyList["groups"])) { print "".getMLText("empty_notify_list").""; } else { foreach ($notifyList["users"] as $userNotify) { print ""; print ""; print "" . htmlspecialchars($userNotify->getFullName()) . ""; if ($user->isAdmin() || $user->getID() == $userNotify->getID()) { print ""; print "
\n"; echo createHiddenFieldWithKey('foldernotify')."\n"; print "\n"; print "\n"; print "getID()."\">\n"; print "".getMLText("delete")." "; print "
\n"; print ""; }else print ""; print ""; $userNotifyIDs[] = $userNotify->getID(); } foreach ($notifyList["groups"] as $groupNotify) { print ""; print ""; print "" . htmlspecialchars($groupNotify->getName()) . ""; if ($user->isAdmin() || $groupNotify->isMember($user,true)) { print ""; print "
\n"; echo createHiddenFieldWithKey('foldernotify')."\n"; print "\n"; print "\n"; print "getID()."\">\n"; print "".getMLText("delete")." "; print "
\n"; print ""; }else print ""; print ""; $groupNotifyIDs[] = $groupNotify->getID(); } } print "\n"; ?>
:
:
">