tbrehm
2011-01-13 5bbfc1b098302671bcbf2f754efc627d50eaa5c7
interface/web/dashboard/dashlets/limits.php
@@ -12,6 +12,10 @@
      $limits[] = array('field' => 'limit_maildomain',
                    'db_table' => 'mail_domain',
                    'db_where' => '');
      $limits[] = array('field' => 'limit_mailmailinglist',
                    'db_table' => 'mail_mailinglist',
                    'db_where' => '');
      
      $limits[] = array('field' => 'limit_mailbox',
                    'db_table' => 'mail_user',
@@ -67,7 +71,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 +83,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 +114,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 +174,4 @@
?>
?>