20 include_once (
"FDL/Class.Doc.php");
21 include_once (
"FDL/Class.DocAttr.php");
25 $docid = GetHttpVars(
"id", 0);
26 $comment = GetHttpVars(
"comment", _(
"no comment"));
31 if (
$err !=
"") $action->ExitError(
$err);
34 if (
$err !=
"") $action->ExitError(
$err);
36 $action->AddLogMsg(sprintf(_(
"%s new revision %d") ,
$doc->title,
$doc->revision));
38 redirect($action,
"FDL",
"FDL_CARD&refreshfld=Y&id=" .
$doc->id, $action->GetParam(
"CORE_STANDURL"));
revision(Action &$action)
new_Doc($dbaccess, $id= '', $latest=false)
if($file) if($subject==""&&$file) if($subject=="") $err