$folder->getName()) ) );
printTitleBar($folder);
printCenterStart();
printStartBox(getMLText("edit_folder_props"));
print "
";
if ($folder->getAccessMode($user) < M_READWRITE)
{
printMLText("operation_not_allowed");
printGoBack();
}
else
{
printMLText("editing_folder_props");
$fname = sanitizeString($fname);
$comment = sanitizeString($comment);
if (!is_numeric($sequence) && $sequence != "keep")
$sequence = "keep";
// die ("invalid sequence value");
if (
(($folder->getName() == $fname) || $folder->setName($fname))
&& (($folder->getComment() == $comment) || $folder->setComment($comment))
&& (($sequence == "keep") || $folder->setSequence($sequence))
)
{
printMLText("op_finished");
printGoto(array(array($folder->getName(), "../out/out.ViewFolder.php?folderid=".$folder->getID()),
array(getMLText("edit_folder_props_again"), "../out/out.EditFolder.php?folderid=".$folder->getID())));
}
else
{
printMLText("error_occured");
printGoBack();
}
}
print "
";
printEndBox();
printCenterEnd();
printHTMLFoot();
?>