17 include_once (
"FDL/Class.Dir.php");
26 $docid = GetHttpVars(
"id");
30 if (!
$doc->isAlive()) $action->
exitError(sprintf(_(
"unknow document reference '%s'") , GetHttpVars(
"docid")));
35 if (!
$doc->state) $action->
exitError(sprintf(_(
"document '%s' [revision %d] has no state") ,
$doc->getTitle() ,
$doc->revision));
37 $action->lay->eSet(
"comment", sprintf(_(
"The latest document %s waiting for a answer") , _(
$doc->state)));
38 $action->lay->rSet(
"title", urlencode(
$doc->getTitle()));
39 $action->lay->eSet(
"doctitle", sprintf(_(
"goto latest %s") , _(
$doc->state)));
40 $action->lay->rSet(
"id",
$doc->id);
exitError($texterr, $exit=true, $code="")
gotowask(Action &$action)
new_Doc($dbaccess, $id= '', $latest=false)
if($file) if($subject==""&&$file) if($subject=="") $err