| | |
| | | <tmpl_if name="searchresult_visible"> |
| | | <p> |
| | | [<a class="frmText11" href="domain_search.php?searchform_visible=yes&searchresult_visible=no&empty_searchfields=yes">Neue Suche</a>] |
| | | [<a class="frmText11" href="domain_search.php?searchform_visible=yes&searchresult_visible=no&empty_searchfields=no">Suchkriterien ändern</a>] |
| | | [<a class="frmText11" href="domain_search.php?searchform_visible=yes&searchresult_visible=no&empty_searchfields=no">Suchkriterien ändern</a>] |
| | | Suche speichern unter: <input type="text" name="search_save_as" /> <input type="submit" name="btn_submit_search_save" value="Speichern" /> |
| | | </p> |
| | | <table width="100%" border="0" cellspacing="0" cellpadding="4"> |
| | |
| | | } |
| | | fclose($handle); |
| | | |
| | | $lang["page_txt"] = 'Page'; |
| | | $lang["page_of_txt"] = 'of'; |
| | | $lang["page_next_txt"] = 'Next'; |
| | | $lang["page_back_txt"] = 'Back'; |
| | | $lang["delete_txt"] = 'Delete'; |
| | | $lang["filter_txt"] = 'Filter'; |
| | | |
| | | // speichere language Datei |
| | | $this->lng_add($lang,$listDef,$module); |
| | | } |
| | | |
| | | function lng_add($lang,$listDef,$module = '') { |
| | | global $go_api, $go_info,$conf; |
| | | |
| | | if($module == '') { |
| | | $lng_file = "lib/lang/".$conf["language"]."_".$listDef['name']."_search.lng"; |
| | | } else { |
| | | $lng_file = '../'.$module."/lib/lang/en_".$listDef['name']."_search.lng"; |
| | | } |
| | | |
| | | if(is_file($lng_file)) { |
| | | include_once($lng_file); |
| | | } else { |
| | | $wb = array(); |
| | | } |
| | | |
| | | $wb_out = array_merge($wb,$lang); |
| | | |
| | | if(is_array($wb_out)) { |
| | | $fp = fopen ($lng_file, "w"); |
| | | fwrite($fp,"<?php\r\n"); |
| | | foreach($wb_out as $key => $val) { |
| | | $new_line = '$wb["'.$key.'"] = '."'$val';\r\n"; |
| | | fwrite($fp,$new_line); |
| | | |
| | | } |
| | | fwrite($fp,"?>"); |
| | | fclose($fp); |
| | | } |
| | | } |
| | | } |
| | | |
| | | ?> |