From e3ba932c63d6a8429b52f8de0e3a11709f405d80 Mon Sep 17 00:00:00 2001 From: tbrehm <t.brehm@ispconfig.org> Date: Thu, 16 Sep 2010 09:07:55 -0400 Subject: [PATCH] Fixed: FS#1310 - mailfilter not removed from database --- interface/web/dashboard/dashlets/limits.php | 11 ++++++++--- 1 files changed, 8 insertions(+), 3 deletions(-) diff --git a/interface/web/dashboard/dashlets/limits.php b/interface/web/dashboard/dashlets/limits.php index c2abb1c..7a7c00f 100644 --- a/interface/web/dashboard/dashlets/limits.php +++ b/interface/web/dashboard/dashlets/limits.php @@ -67,7 +67,7 @@ $limits[] = array('field' => 'limit_web_aliasdomain', 'db_table' => 'web_domain', - 'db_where' => "type = 'aliasdomain'"); + 'db_where' => "type = 'alias'"); $limits[] = array('field' => 'limit_ftp_user', 'db_table' => 'ftp_user', @@ -79,6 +79,10 @@ $limits[] = array('field' => 'limit_dns_zone', 'db_table' => 'dns_soa', + 'db_where' => ""); + + $limits[] = array('field' => 'limit_dns_slave_zone', + 'db_table' => 'dns_slave', 'db_where' => ""); $limits[] = array('field' => 'limit_dns_record', @@ -106,8 +110,9 @@ $tpl = new tpl; $tpl->newTemplate("dashlets/templates/limits.htm"); + $wb = array(); $lng_file = 'lib/lang/'.$_SESSION['s']['language'].'_dashlet_limits.lng'; - include($lng_file); + if(is_file($lng_file)) include($lng_file); $tpl->setVar($wb); if($app->auth->is_admin()) { @@ -165,4 +170,4 @@ -?> \ No newline at end of file +?> -- Gitblit v1.9.1