17 include_once (
"FDL/Class.Dir.php");
37 return sprintf(_(
"error in pzone format %s") , $zone);
40 if (array_key_exists(
'argv', $reg)) {
41 foreach ($reg[
'argv'] as $k => $v) {
52 $zonefile =
$doc->getZoneFile($zone);
54 addWarningMsg(sprintf(_(
"cannot access edit template file %s") , $zone));
56 $action->lay =
new Layout($zonefile, $action);
57 $doc->lay = & $action->lay;
59 $method = strtok(strtolower($reg[
'layout']) ,
'.');
63 $doc->editattr(
$doc->getZoneOption($zone) ==
"U");
Layout is a template generator.
createDoc($dbaccess, $fromid, $control=true, $defaultvalues=true, $temporary=false)
static getArgument($k, $def= '')