Skip to content

Commit 6d0e969

Browse files
author
Thom Pol
committed
Add function to send quota notification to reseller (#6346)
1 parent 401fb92 commit 6d0e969

29 files changed

+50
-0
lines changed

install/tpl/server.ini.master

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -103,6 +103,7 @@ enable_sni=y
103103
skip_le_check=n
104104
enable_ip_wildcard=y
105105
overtraffic_notify_admin=y
106+
overtraffic_notify_reseller=y
106107
overtraffic_notify_client=y
107108
nginx_cgi_socket=/var/run/fcgiwrap.socket
108109
php_fpm_init_script=php5-fpm

interface/web/admin/form/server_config.tform.php

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1082,6 +1082,12 @@
10821082
'default' => 'y',
10831083
'value' => array(0 => 'n', 1 => 'y')
10841084
),
1085+
'overtraffic_notify_reseller' => array(
1086+
'datatype' => 'VARCHAR',
1087+
'formtype' => 'CHECKBOX',
1088+
'default' => 'y',
1089+
'value' => array(0 => 'n', 1 => 'y')
1090+
),
10851091
'overtraffic_notify_client' => array(
10861092
'datatype' => 'VARCHAR',
10871093
'formtype' => 'CHECKBOX',

interface/web/admin/lib/lang/ar_server_config.lng

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -192,6 +192,7 @@ $wb['mailbox_quota_stats_txt'] = 'Mailbox quota statistics';
192192
$wb['enable_ip_wildcard_txt'] = 'Enable IP wildcard (*)';
193193
$wb['web_folder_protection_txt'] = 'Make web folders immutable (extended attributes)';
194194
$wb['overtraffic_notify_admin_txt'] = 'Send overtraffic notification to admin';
195+
$wb['overtraffic_notify_reseller_txt'] = 'Send overtraffic notification to reseller';
195196
$wb['overtraffic_notify_client_txt'] = 'Send overtraffic notification to client';
196197
$wb['overtraffic_disable_web_txt'] = 'Disable websites that exceed traffic limit';
197198
$wb['rbl_error_regex'] = 'Please specify valid RBL hostnames.';

interface/web/admin/lib/lang/bg_server_config.lng

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -192,6 +192,7 @@ $wb['web_folder_protection_txt'] = 'Make web folders immutable (extended attribu
192192
$wb['website_autoalias_txt'] = 'Website auto alias';
193193
$wb['website_autoalias_note_txt'] = 'Placeholders:';
194194
$wb['overtraffic_notify_admin_txt'] = 'Send overtraffic notification to admin';
195+
$wb['overtraffic_notify_reseller_txt'] = 'Send overtraffic notification to reseller';
195196
$wb['overtraffic_notify_client_txt'] = 'Send overtraffic notification to client';
196197
$wb['overtraffic_disable_web_txt'] = 'Disable websites that exceed traffic limit';
197198
$wb['rbl_error_regex'] = 'Please specify valid RBL hostnames.';

interface/web/admin/lib/lang/br_server_config.lng

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -199,6 +199,7 @@ $wb['mailbox_quota_stats_txt'] = 'Estatísticas das cotas para contas de email';
199199
$wb['enable_ip_wildcard_txt'] = 'Habilitar curingas IP (*)';
200200
$wb['web_folder_protection_txt'] = 'Tornar pastas Web imutáveis (atributos estendidos)';
201201
$wb['overtraffic_notify_admin_txt'] = 'Enviar notificação de tráfego excedido para o administrador';
202+
$wb['overtraffic_notify_reseller_txt'] = 'Send overtraffic notification to reseller';
202203
$wb['overtraffic_notify_client_txt'] = 'Enviar notificação de tráfego excedido para o cliente';
203204
$wb['overtraffic_disable_web_txt'] = 'Disable websites that exceed traffic limit';
204205
$wb['rbl_error_regex'] = 'Por favor, insira nomes de host válidos para RBLs.';

interface/web/admin/lib/lang/ca_server_config.lng

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -195,6 +195,7 @@ $wb['mailbox_quota_stats_txt'] = 'Mailbox quota statistics';
195195
$wb['enable_ip_wildcard_txt'] = 'Enable IP wildcard (*)';
196196
$wb['web_folder_protection_txt'] = 'Make web folders immutable (extended attributes)';
197197
$wb['overtraffic_notify_admin_txt'] = 'Send overtraffic notification to admin';
198+
$wb['overtraffic_notify_reseller_txt'] = 'Send overtraffic notification to reseller';
198199
$wb['overtraffic_notify_client_txt'] = 'Send overtraffic notification to client';
199200
$wb['overtraffic_disable_web_txt'] = 'Disable websites that exceed traffic limit';
200201
$wb['rbl_error_regex'] = 'Please specify valid RBL hostnames.';

interface/web/admin/lib/lang/cz_server_config.lng

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -178,6 +178,7 @@ $wb['mailbox_quota_stats_txt'] = 'Statistika kvóty poštovní schránky';
178178
$wb['enable_ip_wildcard_txt'] = 'Aktivovat IP wildcard (*)';
179179
$wb['web_folder_protection_txt'] = 'Make web folders immutable (extended attributes)';
180180
$wb['overtraffic_notify_admin_txt'] = 'Při překročení limitu přenesených dat, poslat oznámení adminovi';
181+
$wb['overtraffic_notify_reseller_txt'] = 'Send overtraffic notification to reseller';
181182
$wb['overtraffic_notify_client_txt'] = 'Při překročení limitu přenesených dat, poslat oznámení klientovi';
182183
$wb['overtraffic_disable_web_txt'] = 'Disable websites that exceed traffic limit';
183184
$wb['rbl_error_regex'] = 'Please specify valid RBL hostnames.';

interface/web/admin/lib/lang/de_server_config.lng

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -198,6 +198,7 @@ $wb['mailbox_quota_stats_txt'] = 'E-Mailkonto Beschränkung Statistiken';
198198
$wb['enable_ip_wildcard_txt'] = 'IP Adressen Wildcard (*) aktivieren';
199199
$wb['web_folder_protection_txt'] = 'Webverzeichnis unveränderlich machen (erweiterte Attribute)';
200200
$wb['overtraffic_notify_admin_txt'] = 'Überschreiten des Datentransfer Limits an den Administrator senden';
201+
$wb['overtraffic_notify_reseller_txt'] = 'Send overtraffic notification to reseller';
201202
$wb['overtraffic_notify_client_txt'] = 'Überschreiten des Datentransfer Limits an den Kunden senden';
202203
$wb['overtraffic_disable_web_txt'] = 'Disable websites that exceed traffic limit';
203204
$wb['rbl_error_regex'] = 'Bitte geben Sie gültige RBL-Hostnamen an.';

interface/web/admin/lib/lang/dk_server_config.lng

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -181,6 +181,7 @@ $wb['mailbox_quota_stats_txt'] = 'Postboks kvota statistik';
181181
$wb['enable_ip_wildcard_txt'] = 'Enable IP wildcard (*)';
182182
$wb['web_folder_protection_txt'] = 'Gør web mapper immume (udvidede attributter)';
183183
$wb['overtraffic_notify_admin_txt'] = 'Send over-trafik meddelelse til admin';
184+
$wb['overtraffic_notify_reseller_txt'] = 'Send overtraffic notification to reseller';
184185
$wb['overtraffic_notify_client_txt'] = 'Send over-trafik meddelelse til kunde';
185186
$wb['overtraffic_disable_web_txt'] = 'Disable websites that exceed traffic limit';
186187
$wb['rbl_error_regex'] = 'Angiv gyldige RBL værtsnavne.';

interface/web/admin/lib/lang/el_server_config.lng

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -192,6 +192,7 @@ $wb['mailbox_quota_stats_txt'] = 'Mailbox quota statistics';
192192
$wb['enable_ip_wildcard_txt'] = 'Enable IP wildcard (*)';
193193
$wb['web_folder_protection_txt'] = 'Make web folders immutable (extended attributes)';
194194
$wb['overtraffic_notify_admin_txt'] = 'Send overtraffic notification to admin';
195+
$wb['overtraffic_notify_reseller_txt'] = 'Send overtraffic notification to reseller';
195196
$wb['overtraffic_notify_client_txt'] = 'Send overtraffic notification to client';
196197
$wb['overtraffic_disable_web_txt'] = 'Disable websites that exceed traffic limit';
197198
$wb['rbl_error_regex'] = 'Please specify valid RBL hostnames.';

0 commit comments

Comments
 (0)