17 include_once (
"FDL/Class.Dir.php");
37 if (!
$doc->isAffected()) $action->
exitError(sprintf(_(
"cannot see unknow reference %s") ,
$docid));
47 $a =
$doc->getAttribute($attrid);
49 if (
$a->mvisibility !=
"I") $v =
$doc->getRawValue($attrid);
50 else $v = sprintf(
"no privilege to access attribute [%s] for document %s |%d]", $attrid,
$doc->title,
$doc->id);
52 $v = sprintf(
"unknown attribute [%s] for document %s |%d]", $attrid,
$doc->title,
$doc->id);
54 header(
'Content-Type: text/plain');
55 $action->lay->template = $v;
56 $action->lay->noparse =
true;
print< H1 > Check Database< i > $dbaccess</i ></H1 > $a
fdl_getvalue(Action &$action)
exitError($texterr, $exit=true, $code="")
new_Doc($dbaccess, $id= '', $latest=false)
static getArgument($k, $def= '')
getIdFromName($dbaccess, $name)
if($file) if($subject==""&&$file) if($subject=="") $err