From 9c9382e6949e1366c6adb502b7aacae2c11023f7 Mon Sep 17 00:00:00 2001 From: tbrehm <t.brehm@ispconfig.org> Date: Thu, 08 Sep 2011 09:42:04 -0400 Subject: [PATCH] Fixed: FS#1709 - Wrong message "Your hard-disk space is going full" in the "Monitor -> Show Disk Usage" --- interface/lib/classes/searchform_tpl_generator.inc.php | 41 +---------------------------------------- 1 files changed, 1 insertions(+), 40 deletions(-) diff --git a/interface/lib/classes/searchform_tpl_generator.inc.php b/interface/lib/classes/searchform_tpl_generator.inc.php index d72a077..30b0480 100644 --- a/interface/lib/classes/searchform_tpl_generator.inc.php +++ b/interface/lib/classes/searchform_tpl_generator.inc.php @@ -1,7 +1,7 @@ <?php /* -Copyright (c) 2005, Till Brehm, projektfarm Gmbh +Copyright (c) 2007, Till Brehm, projektfarm Gmbh All rights reserved. Redistribution and use in source and binary forms, with or without modification, @@ -27,7 +27,6 @@ NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. */ - class searchform_tpl_generator { @@ -130,46 +129,8 @@ } 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); - } - } } ?> \ No newline at end of file -- Gitblit v1.9.1