diff --git a/admin_domains.php b/admin_domains.php index 0a59c701..39d0ee22 100644 --- a/admin_domains.php +++ b/admin_domains.php @@ -1266,6 +1266,8 @@ if($page == 'domains' $title = $domain_edit_data['domain_edit']['title']; $image = $domain_edit_data['domain_edit']['image']; + $speciallogwarning = sprintf($lng['admin']['speciallogwarning'], $lng['admin']['delete_statistics']); + eval("echo \"" . getTemplate("domains/domains_edit") . "\";"); } } diff --git a/customer_domains.php b/customer_domains.php index 4c3380bb..2a45308c 100644 --- a/customer_domains.php +++ b/customer_domains.php @@ -631,8 +631,6 @@ elseif($page == 'domains') $title = $subdomain_edit_data['domain_edit']['title']; $image = $subdomain_edit_data['domain_edit']['image']; - $speciallogwarning = sprintf($lng['admin']['speciallogwarning'], $lng['admin']['delete_statistics']); - eval("echo \"" . getTemplate("domains/domains_edit") . "\";"); } } diff --git a/lng/english.lng.php b/lng/english.lng.php index 82902207..12cd89d1 100644 --- a/lng/english.lng.php +++ b/lng/english.lng.php @@ -1898,7 +1898,7 @@ $lng['serversettings']['phpfpm_settings']['idle_timeout']['description'] = 'Time // ADDED IN 0.9.27-svn2 $lng['panel']['cancel'] = 'Cancel'; $lng['admin']['delete_statistics'] = 'Delete Statistics'; -$lng['admin']['speciallogwarning'] = 'WARNING: By changing this setting you will lose all your old statistics for this domain. If you are 100% sure you wish to change this type "%s" in the field below and click the "delete" button.

'; +$lng['admin']['speciallogwarning'] = 'WARNING: By changing this setting you will lose all your old statistics for this domain. If you are sure you wish to change this type "%s" in the field below and click the "delete" button.

'; // ADDED IN 0.9.28-svn2 $lng['serversettings']['vmail_maildirname']['title'] = 'Maildir name';