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")); ?> isLocked()) { $lockingUser = $document->getLockingUser(); ?>
:   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()); ?>
getContent(); $rownum = count($versions)+1; print "\n"; print ""; print ""; print "\n"; print "\n"; print "\n"; print "\n"; print "\n"; print "\n"; print "\n"; if (($document->getAccessMode($user) >= M_READWRITE) && (count($versions) > 1)) print ""; print "\n"; for ($i = count($versions)-1; $i >= 0; $i--) { $version = $versions[$i]; $uploadingUser = $version->getUser(); $comment = $version->getComment(); //if (strlen($comment) > 25) $comment = substr($comment, 0, 22) . "..."; print ""; print ""; print ""; print "\n"; print ""; print ""; print ""; if (($document->getAccessMode($user) >= M_READWRITE) && (count($versions) > 1)) print ""; print ""; } ?>
".getMLText("version")." ".getMLText("upload_date")." ".getMLText("comment")." ".getMLText("uploaded_by")."
"; if ($version->viewOnline()) print "getURL()."\">"; print "getVersion()."\" class=\"oldcontent\">" . $version->getVersion() . "" . getLongReadableDate($version->getDate()) . "".$comment."". $uploadingUser->getFullName() . "getVersion()."\">
getDocumentLinks(); $links = filterDocumentLinks($user, $links); $rownum = count($links)+1; ?> 1) { ?> getUser(); $targetDoc = $link->getTarget(); print ""; print ""; print ""; print ""; print ""; print ""; print ""; print ""; } } else print ""; ?>
     
getID()."\" class=\"linklist\">".$targetDoc->getName()."".$targetDoc->getComment()."".$responsibleUser->getFullName()."" . (($link->isPublic()) ? getMLText("yes") : getMLText("no")) . ""; if (($user->getID() == $responsibleUser->getID()) || ($user->getID() == $settings->_adminID) || ($link->isPublic() && ($document->getAccessMode($user) >= M_READWRITE ))) print "getID()."\">"; print "
".getMLText("no_document_links")."
getID() != $settings->_guestID) { ?>
getAccessMode($user) >= M_READWRITE) { print ""; } ?>
:
".getMLText("document_link_public").""; print "" . getMLText("yes") . "  "; print "" . getMLText("no"); print "

">