Skip to content

Commit a4fa192

Browse files
author
Till Brehm
committed
Merge branch 'empty-first-option' into 'stable-3.1'
Add empty option for domain module dropdown See merge request ispconfig/ispconfig3!1022
2 parents 3ce7425 + 9f1e3e1 commit a4fa192

File tree

10 files changed

+56
-56
lines changed

10 files changed

+56
-56
lines changed

interface/web/dns/dns_slave_edit.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -124,7 +124,7 @@ function onShowEnd() {
124124
* The domain-module is in use.
125125
*/
126126
$domains = $app->tools_sites->getDomainModuleDomains("dns_slave", $this->dataRecord["origin"]);
127-
$domain_select = '';
127+
$domain_select = "<option value=''></option>";
128128
if(is_array($domains) && sizeof($domains) > 0) {
129129
/* We have domains in the list, so create the drop-down-list */
130130
foreach( $domains as $domain) {

interface/web/dns/dns_soa_edit.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -192,7 +192,7 @@ function onShowEnd() {
192192
* The domain-module is in use.
193193
*/
194194
$domains = $app->tools_sites->getDomainModuleDomains("dns_soa", $this->dataRecord["origin"]);
195-
$domain_select = '';
195+
$domain_select = "<option value=''></option>";
196196
if(is_array($domains) && sizeof($domains) > 0) {
197197
/* We have domains in the list, so create the drop-down-list */
198198
foreach( $domains as $domain) {

interface/web/dns/dns_wizard.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -197,7 +197,7 @@
197197
* The domain-module is in use.
198198
*/
199199
$domains = $app->tools_sites->getDomainModuleDomains("dns_soa", 'domain');
200-
$domain_select = '';
200+
$domain_select = "<option value=''></option>";
201201
if(is_array($domains) && sizeof($domains) > 0) {
202202
/* We have domains in the list, so create the drop-down-list */
203203
foreach( $domains as $domain) {

interface/web/mail/mail_domain_catchall_edit.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -77,7 +77,7 @@ function onShowEnd() {
7777
// Getting Domains of the user
7878
$sql = "SELECT domain FROM mail_domain WHERE ".$app->tform->getAuthSQL('r');
7979
$domains = $app->db->queryAllRecords($sql);
80-
$domain_select = '';
80+
$domain_select = "<option value=''></option>";
8181
if(is_array($domains)) {
8282
foreach( $domains as $domain) {
8383
$domain['domain'] = $app->functions->idn_decode($domain['domain']);

interface/web/mail/mail_domain_edit.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -159,7 +159,7 @@ function onShowEnd() {
159159
* The domain-module is in use.
160160
*/
161161
$domains = $app->tools_sites->getDomainModuleDomains("mail_domain", $this->dataRecord["domain"]);
162-
$domain_select = '';
162+
$domain_select = "<option value=''></option>";
163163
if(is_array($domains) && sizeof($domains) > 0) {
164164
/* We have domains in the list, so create the drop-down-list */
165165
foreach( $domains as $domain) {

interface/web/mail/mail_mailinglist_edit.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -112,7 +112,7 @@ function onShowEnd() {
112112
// Getting Domains of the user
113113
$sql = "SELECT domain FROM mail_domain WHERE ".$app->tform->getAuthSQL('r').' ORDER BY domain';
114114
$domains = $app->db->queryAllRecords($sql);
115-
$domain_select = '';
115+
$domain_select = "<option value=''></option>";
116116
if(is_array($domains)) {
117117
foreach( $domains as $domain) {
118118
$selected = ($domain["domain"] == $this->dataRecord["domain"])?'SELECTED':'';

interface/web/mail/xmpp_domain_edit.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -182,7 +182,7 @@ function onShowEnd() {
182182
* The domain-module is in use.
183183
*/
184184
$domains = $app->tools_sites->getDomainModuleDomains("xmpp_domain", $this->dataRecord["domain"]);
185-
$domain_select = '';
185+
$domain_select = "<option value=''></option>";
186186
if(is_array($domains) && sizeof($domains) > 0) {
187187
/* We have domains in the list, so create the drop-down-list */
188188
foreach( $domains as $domain) {

interface/web/sites/lib/lang/nl_web_domain.lng

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -89,8 +89,8 @@ $wb['pm_max_children_error_regex'] = 'PHP-FPM pm.max_children must be a positive
8989
$wb['pm_start_servers_error_regex'] = 'PHP-FPM pm.start_servers must be a positive integer value.';
9090
$wb['pm_min_spare_servers_error_regex'] = 'PHP-FPM pm.min_spare_servers must be a positive integer value.';
9191
$wb['pm_max_spare_servers_error_regex'] = 'PHP-FPM pm.max_spare_servers must be a positive integer value.';
92-
$wb['hd_quota_error_regex'] = 'Harddisk quota is invalid.';
93-
$wb['traffic_quota_error_regex'] = 'Traffic quota is invalid.';
92+
$wb['hd_quota_error_regex'] = 'Harddisk quota is ongeldig.';
93+
$wb['traffic_quota_error_regex'] = 'Traffic quota is ongeldig.';
9494
$wb['ssl_key_txt'] = 'SSL Key';
9595
$wb['perl_txt'] = 'Perl';
9696
$wb['fastcgi_php_version_txt'] = 'PHP Versie';

interface/web/sites/web_childdomain_edit.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -106,7 +106,7 @@ function onShowEnd() {
106106
* The domain-module is in use.
107107
*/
108108
$domains = $app->tools_sites->getDomainModuleDomains($this->_vhostdomain_type == 'subdomain' ? null : "web_domain");
109-
$domain_select = '';
109+
$domain_select = "<option value=''></option>";
110110
$selected_domain = '';
111111
if(is_array($domains) && sizeof($domains) > 0) {
112112
/* We have domains in the list, so create the drop-down-list */

0 commit comments

Comments
 (0)