\n"; print "\t" . getMLText("access_mode_none") . "\n"; print "\t" . getMLText("access_mode_read") . "\n"; print "\t" . getMLText("access_mode_readwrite") . "\n"; print "\t" . getMLText("access_mode_all") . "\n"; print "\n"; } $document = getDocument($documentid); $allUsers = getAllUsers(); if ($document->getAccessMode($user) < M_ALL) die("access denied"); printHTMLHead( getMLText("document_title", array("documentname" => $document->getName()) ) ); ?> getFolder()); printDocumentPageStart($document); printPageHeader(getMLText("edit_document_access") . ": " . $document->getName()); //Nur admin darf Besitzer ändern if ($user->isAdmin()) { printStartBox(getMLText("set_owner")); ?> getOwner(); foreach ($allUsers as $currUser) { if ($currUser->getID() == $settings->_guestID) continue; print "getID()."\""; if ($currUser->getID() == $owner->getID()) print " selected"; print ">" . $currUser->getFullname() . "\n"; } ?> "; if ($document->inheritsAccess()) { printMLText("inherits_access_msg", array( "copyurl" => "../op/op.DocumentAccess.php?documentid=".$documentid."&action=notinherit&mode=copy", "emptyurl" => "../op/op.DocumentAccess.php?documentid=".$documentid."&action=notinherit&mode=empty")); printEndBox(); printDocumentPageEnd($document); printHTMLFoot(); exit(); } printMLText("does_not_inherit_access_msg", array("inheriturl" => "../op/op.DocumentAccess.php?documentid=".$documentid."&action=inherit")); print ""; $accessList = $document->getAccessList(); printNextBox(getMLText("default_access")); ?> getDefaultAccess()); ?> ".getMLText("empty_access_list").""; } else { $rownum = count($accessList["users"])+count($accessList["groups"])+1; ?> getUser(); print "\n"; print "\n"; print "\n"; print "getID()."\">\n"; print "\n"; print "\n"; print "". $userObj->getFullName() . "\n"; print "\n"; printAccessModeSelection($userAccess->getMode()); print "\n"; print "\n"; print "getID()."\">\n"; print "\n"; print "\n"; } foreach ($accessList["groups"] as $groupAccess) { $groupObj = $groupAccess->getGroup(); $mode = $groupAccess->getMode(); print ""; print ""; print ""; print "getID()."\">"; print ""; print ""; print "". $groupObj->getName() . ""; print ""; printAccessModeSelection($groupAccess->getMode()); print "\n"; print ""; print "getID()."\">"; print ""; print ""; } } ?> : ------------------------------- getID() == $settings->_guestID) continue; print "getID()."\">" . $userObj->getFullName() . "\n"; } ?> : ------------------------------- getID()."\">" . $groupObj->getName() . "\n"; ?> :