getAccessMode($user) < M_READWRITE) die ("Access denied"); printHTMLHead( getMLText("document_title", array("documentname" => $document->getName()) ) ); ?> getFolder()); printDocumentPageStart($document); printPageHeader(getMLText("update_document") . ": " . $document->getName()); printStartBox(getMLText("update_document")); if ($document->isLocked()) { print "
"; $lockingUser = $document->getLockingUser(); printMLText("update_locked_msg", array("username" => $lockingUser->getFullName(), "email" => $lockingUser->getEmail())); if ($lockingUser->getID() == $user->getID()) printMLText("unlock_cause_locking_user"); else if ($document->getAccessMode($user) == M_ALL) printMLText("unlock_cause_access_mode_all"); else { printMLText("no_update_cause_locked"); print "
"; printEndBox(); printFolderPageEnd($folder); printHTMLFoot(); exit; } print ""; } ?>
:
:
: expires()) print " checked";?>>
expires()) print " checked";?>>