getFolder();
//echo $folder. "folder id
";
//echo $document. "doc id
";
//echo $documentid. "documentidid
";
//echo $user. "user
";
if ($document->getAccessMode($user) < M_READ)
die ("Access denied");
$latestContent = $document->getLatestContent();
printHTMLHead(
getMLText("document_title",
array(
"documentname" => $document->getName()
)
)
);
printTitleBar($folder);
printDocumentPageStart($document);
printPageHeader(getMLText("document_overview") . ": " . $document->getName());
?>
viewOnline()) print " getURL()."\">" . getMLText("view_online") . ""; print "
"; printStartBox(getMLText("document_infos")); ?>: | getOwner(); print "getEmail()."\">".$owner->getFullName().""; ?> | |
: | getComment();?> | |
: | getDate()); ?> | |
: | getKeywords();?> | |
: | $lockingUser->getEmail(), "username" => $lockingUser->getFullName()));?> | |
getDate());?> | ||
: | getVersion();?> | |
: | getComment();?> | |
: | getUser(); print "getEmail()."\">".$updatingUser->getFullName().""; ?> | |
: | getMimeType();?> | |
: | getExpires()) printMLText("does_not_expire"); else print getReadableDate($document->getExpires()); ?> |
"; print " | "; print " | ".getMLText("version")." | \n"; print "\n"; print " | ".getMLText("upload_date")." | \n"; print "\n"; print " | ".getMLText("comment")." | \n"; print "\n"; print " | ".getMLText("uploaded_by")." | \n"; if (($document->getAccessMode($user) >= M_READWRITE) && (count($versions) > 1)) print ""; print " |
"; if ($version->viewOnline()) print "getURL()."\">"; print " | "; print "getVersion()."\" class=\"oldcontent\"> | "; print "" . $version->getVersion() . " | \n"; print "" . getLongReadableDate($version->getDate()) . " | "; print "".$comment." | "; print "". $uploadingUser->getFullName() . " | "; if (($document->getAccessMode($user) >= M_READWRITE) && (count($versions) > 1)) print "getVersion()."\"> | "; print "
"; print " | getID()."\" class=\"linklist\">".$targetDoc->getName()." | "; print "".$targetDoc->getComment()." | "; print "".$responsibleUser->getFullName()." | "; print "" . (($link->isPublic()) ? getMLText("yes") : getMLText("no")) . " | "; print ""; if (($user->getID() == $responsibleUser->getID()) || ($user->getID() == $settings->_adminID) || ($link->isPublic() && ($document->getAccessMode($user) >= M_READWRITE ))) print "getID()."\">"; print " | "; print "|||
".getMLText("no_document_links")." |