Commit 6d0e9698 authored by Thom's avatar Thom 🛠
Browse files

Add function to send quota notification to reseller (#6346)

parent 401fb925
Pipeline #11309 passed with stage
in 7 minutes and 22 seconds
......@@ -103,6 +103,7 @@ enable_sni=y
skip_le_check=n
enable_ip_wildcard=y
overtraffic_notify_admin=y
overtraffic_notify_reseller=y
overtraffic_notify_client=y
nginx_cgi_socket=/var/run/fcgiwrap.socket
php_fpm_init_script=php5-fpm
......
......@@ -1082,6 +1082,12 @@ $form["tabs"]['web'] = array(
'default' => 'y',
'value' => array(0 => 'n', 1 => 'y')
),
'overtraffic_notify_reseller' => array(
'datatype' => 'VARCHAR',
'formtype' => 'CHECKBOX',
'default' => 'y',
'value' => array(0 => 'n', 1 => 'y')
),
'overtraffic_notify_client' => array(
'datatype' => 'VARCHAR',
'formtype' => 'CHECKBOX',
......
......@@ -192,6 +192,7 @@ $wb['mailbox_quota_stats_txt'] = 'Mailbox quota statistics';
$wb['enable_ip_wildcard_txt'] = 'Enable IP wildcard (*)';
$wb['web_folder_protection_txt'] = 'Make web folders immutable (extended attributes)';
$wb['overtraffic_notify_admin_txt'] = 'Send overtraffic notification to admin';
$wb['overtraffic_notify_reseller_txt'] = 'Send overtraffic notification to reseller';
$wb['overtraffic_notify_client_txt'] = 'Send overtraffic notification to client';
$wb['overtraffic_disable_web_txt'] = 'Disable websites that exceed traffic limit';
$wb['rbl_error_regex'] = 'Please specify valid RBL hostnames.';
......
......@@ -192,6 +192,7 @@ $wb['web_folder_protection_txt'] = 'Make web folders immutable (extended attribu
$wb['website_autoalias_txt'] = 'Website auto alias';
$wb['website_autoalias_note_txt'] = 'Placeholders:';
$wb['overtraffic_notify_admin_txt'] = 'Send overtraffic notification to admin';
$wb['overtraffic_notify_reseller_txt'] = 'Send overtraffic notification to reseller';
$wb['overtraffic_notify_client_txt'] = 'Send overtraffic notification to client';
$wb['overtraffic_disable_web_txt'] = 'Disable websites that exceed traffic limit';
$wb['rbl_error_regex'] = 'Please specify valid RBL hostnames.';
......
......@@ -199,6 +199,7 @@ $wb['mailbox_quota_stats_txt'] = 'Estatísticas das cotas para contas de email';
$wb['enable_ip_wildcard_txt'] = 'Habilitar curingas IP (*)';
$wb['web_folder_protection_txt'] = 'Tornar pastas Web imutáveis (atributos estendidos)';
$wb['overtraffic_notify_admin_txt'] = 'Enviar notificação de tráfego excedido para o administrador';
$wb['overtraffic_notify_reseller_txt'] = 'Send overtraffic notification to reseller';
$wb['overtraffic_notify_client_txt'] = 'Enviar notificação de tráfego excedido para o cliente';
$wb['overtraffic_disable_web_txt'] = 'Disable websites that exceed traffic limit';
$wb['rbl_error_regex'] = 'Por favor, insira nomes de host válidos para RBLs.';
......
......@@ -195,6 +195,7 @@ $wb['mailbox_quota_stats_txt'] = 'Mailbox quota statistics';
$wb['enable_ip_wildcard_txt'] = 'Enable IP wildcard (*)';
$wb['web_folder_protection_txt'] = 'Make web folders immutable (extended attributes)';
$wb['overtraffic_notify_admin_txt'] = 'Send overtraffic notification to admin';
$wb['overtraffic_notify_reseller_txt'] = 'Send overtraffic notification to reseller';
$wb['overtraffic_notify_client_txt'] = 'Send overtraffic notification to client';
$wb['overtraffic_disable_web_txt'] = 'Disable websites that exceed traffic limit';
$wb['rbl_error_regex'] = 'Please specify valid RBL hostnames.';
......
......@@ -178,6 +178,7 @@ $wb['mailbox_quota_stats_txt'] = 'Statistika kvóty poštovní schránky';
$wb['enable_ip_wildcard_txt'] = 'Aktivovat IP wildcard (*)';
$wb['web_folder_protection_txt'] = 'Make web folders immutable (extended attributes)';
$wb['overtraffic_notify_admin_txt'] = 'Při překročení limitu přenesených dat, poslat oznámení adminovi';
$wb['overtraffic_notify_reseller_txt'] = 'Send overtraffic notification to reseller';
$wb['overtraffic_notify_client_txt'] = 'Při překročení limitu přenesených dat, poslat oznámení klientovi';
$wb['overtraffic_disable_web_txt'] = 'Disable websites that exceed traffic limit';
$wb['rbl_error_regex'] = 'Please specify valid RBL hostnames.';
......
......@@ -198,6 +198,7 @@ $wb['mailbox_quota_stats_txt'] = 'E-Mailkonto Beschränkung Statistiken';
$wb['enable_ip_wildcard_txt'] = 'IP Adressen Wildcard (*) aktivieren';
$wb['web_folder_protection_txt'] = 'Webverzeichnis unveränderlich machen (erweiterte Attribute)';
$wb['overtraffic_notify_admin_txt'] = 'Überschreiten des Datentransfer Limits an den Administrator senden';
$wb['overtraffic_notify_reseller_txt'] = 'Send overtraffic notification to reseller';
$wb['overtraffic_notify_client_txt'] = 'Überschreiten des Datentransfer Limits an den Kunden senden';
$wb['overtraffic_disable_web_txt'] = 'Disable websites that exceed traffic limit';
$wb['rbl_error_regex'] = 'Bitte geben Sie gültige RBL-Hostnamen an.';
......
......@@ -181,6 +181,7 @@ $wb['mailbox_quota_stats_txt'] = 'Postboks kvota statistik';
$wb['enable_ip_wildcard_txt'] = 'Enable IP wildcard (*)';
$wb['web_folder_protection_txt'] = 'Gør web mapper immume (udvidede attributter)';
$wb['overtraffic_notify_admin_txt'] = 'Send over-trafik meddelelse til admin';
$wb['overtraffic_notify_reseller_txt'] = 'Send overtraffic notification to reseller';
$wb['overtraffic_notify_client_txt'] = 'Send over-trafik meddelelse til kunde';
$wb['overtraffic_disable_web_txt'] = 'Disable websites that exceed traffic limit';
$wb['rbl_error_regex'] = 'Angiv gyldige RBL værtsnavne.';
......
......@@ -192,6 +192,7 @@ $wb['mailbox_quota_stats_txt'] = 'Mailbox quota statistics';
$wb['enable_ip_wildcard_txt'] = 'Enable IP wildcard (*)';
$wb['web_folder_protection_txt'] = 'Make web folders immutable (extended attributes)';
$wb['overtraffic_notify_admin_txt'] = 'Send overtraffic notification to admin';
$wb['overtraffic_notify_reseller_txt'] = 'Send overtraffic notification to reseller';
$wb['overtraffic_notify_client_txt'] = 'Send overtraffic notification to client';
$wb['overtraffic_disable_web_txt'] = 'Disable websites that exceed traffic limit';
$wb['rbl_error_regex'] = 'Please specify valid RBL hostnames.';
......
......@@ -205,6 +205,7 @@ $wb['mailbox_quota_stats_txt'] = 'Mailbox quota statistics';
$wb['enable_ip_wildcard_txt'] = 'Enable IP wildcard (*)';
$wb['web_folder_protection_txt'] = 'Make web folders immutable (extended attributes)';
$wb['overtraffic_notify_admin_txt'] = 'Send overtraffic notification to admin';
$wb['overtraffic_notify_reseller_txt'] = 'Send overtraffic notification to reseller';
$wb['overtraffic_notify_client_txt'] = 'Send overtraffic notification to client';
$wb['overtraffic_disable_web_txt'] = 'Disable websites that exceed traffic limit';
$wb['rbl_error_regex'] = 'Please specify valid RBL hostnames.';
......
......@@ -200,6 +200,7 @@ $wb['overquota_notify_freq_note_txt'] = '0 = enviar mensaje solo una vez, sin vo
$wb['overquota_notify_freq_txt'] = 'Enviar advertencia de cuota cada X días';
$wb['overquota_notify_onok_txt'] = 'Enviar al cliente información de cuota correcta';
$wb['overtraffic_notify_admin_txt'] = 'Enviar notificación de tráfico sobrepasado al administrador';
$wb['overtraffic_notify_reseller_txt'] = 'Send overtraffic notification to reseller';
$wb['overtraffic_notify_client_txt'] = 'Enviar notificación de tráfico sobrepasado al cliente';
$wb['permissions_txt'] = 'Permisos';
$wb['php_fpm_ini_path_error_empty'] = 'La ruta al archivo php.ini de PHP-FPM está vacío.';
......
......@@ -192,6 +192,7 @@ $wb['mailbox_quota_stats_txt'] = 'Mailbox quota statistics';
$wb['enable_ip_wildcard_txt'] = 'Enable IP wildcard (*)';
$wb['web_folder_protection_txt'] = 'Make web folders immutable (extended attributes)';
$wb['overtraffic_notify_admin_txt'] = 'Send overtraffic notification to admin';
$wb['overtraffic_notify_reseller_txt'] = 'Send overtraffic notification to reseller';
$wb['overtraffic_notify_client_txt'] = 'Send overtraffic notification to client';
$wb['overtraffic_disable_web_txt'] = 'Disable websites that exceed traffic limit';
$wb['rbl_error_regex'] = 'Please specify valid RBL hostnames.';
......
......@@ -180,6 +180,7 @@ $wb['mailbox_quota_stats_txt'] = 'Mailbox quota statistics';
$wb['enable_ip_wildcard_txt'] = 'Enable IP wildcard (*)';
$wb['web_folder_protection_txt'] = 'Make web folders immutable (extended attributes)';
$wb['overtraffic_notify_admin_txt'] = 'Send overtraffic notification to admin';
$wb['overtraffic_notify_reseller_txt'] = 'Send overtraffic notification to reseller';
$wb['overtraffic_notify_client_txt'] = 'Send overtraffic notification to client';
$wb['overtraffic_disable_web_txt'] = 'Disable websites that exceed traffic limit';
$wb['rbl_error_regex'] = 'Please specify valid RBL hostnames.';
......
......@@ -192,6 +192,7 @@ $wb['mailbox_quota_stats_txt'] = 'Statistika limita sandučića';
$wb['enable_ip_wildcard_txt'] = 'Enable IP wildcard (*)';
$wb['web_folder_protection_txt'] = 'Make web folders immutable (extended attributes)';
$wb['overtraffic_notify_admin_txt'] = 'Send overtraffic notification to admin';
$wb['overtraffic_notify_reseller_txt'] = 'Send overtraffic notification to reseller';
$wb['overtraffic_notify_client_txt'] = 'Send overtraffic notification to client';
$wb['overtraffic_disable_web_txt'] = 'Disable websites that exceed traffic limit';
$wb['rbl_error_regex'] = 'Please specify valid RBL hostnames.';
......
......@@ -192,6 +192,7 @@ $wb['mailbox_quota_stats_txt'] = 'Mailbox quota statistics';
$wb['enable_ip_wildcard_txt'] = 'Enable IP wildcard (*)';
$wb['web_folder_protection_txt'] = 'Make web folders immutable (extended attributes)';
$wb['overtraffic_notify_admin_txt'] = 'Send overtraffic notification to admin';
$wb['overtraffic_notify_reseller_txt'] = 'Send overtraffic notification to reseller';
$wb['overtraffic_notify_client_txt'] = 'Send overtraffic notification to client';
$wb['overtraffic_disable_web_txt'] = 'Disable websites that exceed traffic limit';
$wb['rbl_error_regex'] = 'Please specify valid RBL hostnames.';
......
......@@ -192,6 +192,7 @@ $wb['mailbox_quota_stats_txt'] = 'Mailbox quota statistics';
$wb['enable_ip_wildcard_txt'] = 'Enable IP wildcard (*)';
$wb['web_folder_protection_txt'] = 'Make web folders immutable (extended attributes)';
$wb['overtraffic_notify_admin_txt'] = 'Send overtraffic notification to admin';
$wb['overtraffic_notify_reseller_txt'] = 'Send overtraffic notification to reseller';
$wb['overtraffic_notify_client_txt'] = 'Send overtraffic notification to client';
$wb['overtraffic_disable_web_txt'] = 'Disable websites that exceed traffic limit';
$wb['rbl_error_regex'] = 'Please specify valid RBL hostnames.';
......
......@@ -180,6 +180,7 @@ $wb['mailbox_quota_stats_txt'] = 'Statistiche Quota Casella di Posta';
$wb['enable_ip_wildcard_txt'] = 'Abilita IP wildcard (*)';
$wb['web_folder_protection_txt'] = 'Imposta cartelle sito in moaniera non modificabile (attributi estesi)';
$wb['overtraffic_notify_admin_txt'] = 'Trasmetti notifiche superamento traffico ad admin';
$wb['overtraffic_notify_reseller_txt'] = 'Send overtraffic notification to reseller';
$wb['overtraffic_notify_client_txt'] = 'Trasmetti notifiche superamento traffico al cliente';
$wb['overtraffic_disable_web_txt'] = 'Disabilita i siti web che eccedono il limiti di traffico';
$wb['rbl_error_regex'] = 'Per cortesia specificare nomi host RBL validi.';
......
......@@ -192,6 +192,7 @@ $wb['mailbox_quota_stats_txt'] = 'Mailbox quota statistics';
$wb['enable_ip_wildcard_txt'] = 'Enable IP wildcard (*)';
$wb['web_folder_protection_txt'] = 'Make web folders immutable (extended attributes)';
$wb['overtraffic_notify_admin_txt'] = 'Send overtraffic notification to admin';
$wb['overtraffic_notify_reseller_txt'] = 'Send overtraffic notification to reseller';
$wb['overtraffic_notify_client_txt'] = 'Send overtraffic notification to client';
$wb['overtraffic_disable_web_txt'] = 'Disable websites that exceed traffic limit';
$wb['rbl_error_regex'] = 'Please specify valid RBL hostnames.';
......
......@@ -192,6 +192,7 @@ $wb['mailbox_quota_stats_txt'] = 'Mailbox quota statistics';
$wb['enable_ip_wildcard_txt'] = 'Enable IP wildcard (*)';
$wb['web_folder_protection_txt'] = 'Make web folders immutable (extended attributes)';
$wb['overtraffic_notify_admin_txt'] = 'Send overtraffic notification to admin';
$wb['overtraffic_notify_reseller_txt'] = 'Send overtraffic notification to reseller';
$wb['overtraffic_notify_client_txt'] = 'Send overtraffic notification to client';
$wb['overtraffic_disable_web_txt'] = 'Disable websites that exceed traffic limit';
$wb['rbl_error_regex'] = 'Please specify valid RBL hostnames.';
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment