20 include_once (
"FDL/freedom_util.php");
21 include_once (
"FDL/Lib.Dir.php");
28 $classid = GetHttpVars(
"classid", 0);
35 if (!
$doc->isAlive()) {
48 $doc->profid = $fdoc->profid;
49 $doc->title = sprintf(_(
"default values for %s") , $fdoc->title);
50 $doc->setDefaultValues($fdoc->getDefValues());
58 $err = $fdoc->modify();
62 redirect($action, GetHttpVars(
"app") ,
"FREEDOM_EDIT&id=$docid");
exitError($texterr, $exit=true, $code="")
createDoc($dbaccess, $fromid, $control=true, $defaultvalues=true, $temporary=false)
new_Doc($dbaccess, $id= '', $latest=false)
freedom_dedit(Action &$action)
if($file) if($subject==""&&$file) if($subject=="") $err