17 include_once (
"FDL/Class.Dir.php");
18 include_once (
"FDL/Lib.Dir.php");
19 include_once (
"FDL/freedom_util.php");
32 $substitute = ($action->
getArgument(
"substitute") ==
"yes");
37 $action->lay->set(
"searchtitle", _(
"detailled search"));
38 $action->lay->set(
"substitute", (
bool)$substitute);
41 $selectclass = array();
42 foreach ($tclassdoc as $k => $cdoc) {
43 $selectclass[$k][
"idcdoc"] = $cdoc[
"initid"];
44 $selectclass[$k][
"classname"] = $cdoc[
"title"];
45 $selectclass[$k][
"famselect"] = ($cdoc[
"initid"] ==
$famid) ?
"selected" :
"";
47 $action->lay->SetBlockData(
"SELECTFAM", $selectclass);
56 $search->setValue(
"se_latest",
"yes");
61 $action->lay->set(
"famicon", $fdoc->getIcon());
62 $action->lay->set(
"famid", $fdoc->id);
getNonSystemFamilies($dbaccess, $userid, $qtype="TABLE")
getFamIdFromName($dbaccess, $name)
static getArgument($k, $def= '')
createTmpDoc($dbaccess, $fromid, $defaultvalue=true)