17 include_once (
"FDL/Class.Doc.php");
22 $docid = GetHttpVars(
"id", 0);
27 if (
$err !=
"") $action->ExitError(
$err);
29 $action->AddActionDone(
"LOCKDOC",
$doc->id);
30 $action->AddLogMsg(sprintf(_(
"%s has been locked") ,
$doc->title));
32 $fdlids =
$doc->getParentFolderIds();
33 foreach ($fdlids as
$fldid) {
34 $action->AddActionDone(
"MODFOLDERCONTAINT", $fldid);
37 redirect($action,
"FDL",
"FDL_CARD&id=" .
$doc->id, $action->GetParam(
"CORE_STANDURL"));
lockfile(Action &$action)
new_Doc($dbaccess, $id= '', $latest=false)
if($file) if($subject==""&&$file) if($subject=="") $err