Replace 'owner' with account to be consistent with Pdns. Set account upon creating a zone.

This commit is contained in:
Mark Schouten 2016-08-04 15:01:39 +02:00
parent ef7f47e3f4
commit 623fcefc5c
2 changed files with 36 additions and 38 deletions

View file

@ -305,16 +305,16 @@ $(document).ready(function () {
listClass: 'dnssec'
},
<?php if (is_adminuser()) { ?>
owner: {
title: 'Owner',
account: {
title: 'Account',
width: '8%',
display: displayContent('owner'),
display: displayContent('account'),
options: function(data) {
return 'users.php?action=listoptions&e='+$epoch;
},
defaultValue: 'admin',
inputClass: 'owner',
listClass: 'owner'
inputClass: 'account',
listClass: 'account'
},
<?php } ?>
kind: {
@ -472,16 +472,16 @@ $(document).ready(function () {
listClass: 'dnssec'
},
<?php if (is_adminuser()) { ?>
owner: {
title: 'Owner',
account: {
title: 'Account',
width: '8%',
display: displayContent('owner'),
display: displayContent('account'),
options: function(data) {
return 'users.php?action=listoptions&e='+$epoch;
},
defaultValue: 'admin',
inputClass: 'owner',
listClass: 'owner'
inputClass: 'account',
listClass: 'account'
},
<?php } ?>
kind: {
@ -695,13 +695,13 @@ $(document).ready(function () {
inputClass: 'domain'
},
<?php if (is_adminuser()) { ?>
owner: {
title: 'Owner',
account: {
title: 'Account',
options: function(data) {
return 'users.php?action=listoptions&e='+$epoch;
},
defaultValue: 'admin',
inputClass: 'owner'
inputClass: 'account'
},
<?php } ?>
kind: {