'; $lang["list_head_txt"] = $listDef["name"]; foreach($listDef["item"] as $field) { $key = $field["field"]; if($field["formtype"] == 'SELECT') { $html .= " "; } else { $html .= " "; } } $html .= '
:
:

[Neue Suche] [Suchkriterien ändern] Suche speichern unter:

'; $lang["list_head_txt"] = $listDef["name"]; foreach($listDef["item"] as $field) { $key = $field["field"]; $html .= ""; $html .= " \r\n"; $html .= ""; $lang[$key."_txt"] = $key; } $html .= ' '; foreach($listDef["item"] as $field) { $key = $field["field"]; $html .= ""; $html .= " \r\n"; $html .= ""; } $html .= " "; $html .= '
 
{tmpl_var name=\"".$key."\"}[{tmpl_var name='delete_txt'}]
'; if($module == '') { $filename = 'templates/'.$listDef["name"].'_search.htm'; } else { $filename = '../'.$module.'/templates/'.$listDef["name"].'_search.htm'; } // speichere Template if (!$handle = fopen($filename, 'w')) { print "Cannot open file ($filename)"; exit; } if (!fwrite($handle, $html)) { print "Cannot write to file ($filename)"; exit; } fclose($handle); } } ?>