$document->getName()) ) );
printTitleBar($document->getFolder());
printCenterStart();
printStartBox(getMLText("expires"));
print "
";
if ($document->getAccessMode($user) < M_READWRITE)
{
printMLText("operation_not_allowed");
printGoBack();
}
else
{
printMLText("setting_expires");
$expires = ($expires == "true") ? mktime(0,0,0, $expmonth, $expday, $expyear) : false;
if (!$document->setExpires($expires))
{
printMLText("error_occured");
printGoBack();
}
else
{
printMLText("op_finished");
printGoto(array(array($document->getName(), "../out/out.ViewDocument.php?documentid=".$document->getID())));
}
}
print "
";
printEndBox();
printCenterEnd();
printHTMLFoot();
?>