17 include_once (
"FDL/Class.Dir.php");
27 $docid = GetHttpVars(
"docid");
28 $answers = GetHttpVars(
"answer");
32 if (!
$doc->isAlive()) $action->
exitError(sprintf(_(
"unknow document reference '%s'") , GetHttpVars(
"docid")));
36 foreach ($answers as $waskid => $answer) {
39 if ($wask->isAlive() && $wask->control(
'answer') ==
"") {
40 $err =
$doc->setWaskAnswer($waskid, $answer);
43 "ask" => $wask->getRawValue(
"was_ask") ,
44 "answer" => implode(
", ", $wask->getAskLabels($answer))
49 $action->lay->setBlockData(
"WASK", $task);
50 $action->lay->set(
"docid",
$doc->id);
exitError($texterr, $exit=true, $code="")
new_Doc($dbaccess, $id= '', $latest=false)
if($file) if($subject==""&&$file) if($subject=="") $err