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/plugin_listview.inc.php | 12 ++++++------ 1 files changed, 6 insertions(+), 6 deletions(-) diff --git a/interface/lib/classes/plugin_listview.inc.php b/interface/lib/classes/plugin_listview.inc.php index ee254da..e543e25 100644 --- a/interface/lib/classes/plugin_listview.inc.php +++ b/interface/lib/classes/plugin_listview.inc.php @@ -83,6 +83,11 @@ $sql_order_by = $this->options["sql_order_by"]; } + // Loading language field + $lng_file = "lib/lang/".$_SESSION["s"]["language"]."_".$app->listform->listDef['name']."_list.lng"; + include($lng_file); + $listTpl->setVar($wb); + // Get the data $records = $app->db->queryAllRecords("SELECT * FROM ".$app->listform->listDef["table"]." WHERE $sql_where $sql_order_by $limit_sql"); @@ -115,18 +120,13 @@ // The variable "id" contains always the index field $rec["id"] = $rec[$idx_key]; - $rec["delete_confirmation"] = $app->lng('delete_confirmation'); + $rec["delete_confirmation"] = $wb['delete_confirmation']; $records_new[] = $rec; } } $listTpl->setLoop('records',@$records_new); - - // Loading language field - $lng_file = "lib/lang/".$_SESSION["s"]["language"]."_".$app->listform->listDef['name']."_list.lng"; - include($lng_file); - $listTpl->setVar($wb); // Setting Returnto information in the session $list_name = $app->listform->listDef["name"]; -- Gitblit v1.9.1