summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: 6409309)
raw | patch | inline | side by side (parent: 6409309)
author | hickert <hickert@594d385d-05f5-0310-b6e9-bd551577e9d8> | |
Tue, 22 Jul 2008 08:31:32 +0000 (08:31 +0000) | ||
committer | hickert <hickert@594d385d-05f5-0310-b6e9-bd551577e9d8> | |
Tue, 22 Jul 2008 08:31:32 +0000 (08:31 +0000) |
git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@11738 594d385d-05f5-0310-b6e9-bd551577e9d8
gosa-plugins/systems/admin/systems/class_termDNS.inc | patch | blob | history | |
gosa-plugins/systems/admin/systems/network.tpl | patch | blob | history |
diff --git a/gosa-plugins/systems/admin/systems/class_termDNS.inc b/gosa-plugins/systems/admin/systems/class_termDNS.inc
index cd2dedf230d16caa5c0cae00232910fe68ebd3e5..0f6bce660b633eac1791b90835b5b346f257c0c4 100644 (file)
/* DNS attributes
*/
- var $DNSattributes = array("dNSClass","zoneName","dNSTTL");
+ var $DNSattributes = array("zoneName","dNSTTL");
var $DNS_is_account = false;
var $initially_was_account = false;
var $dnsEntry = array();
if(($this->DNSenabled) && (isset($_POST['network_tpl_posted'])) && $this->acl_is_writeable("dnsSetup")){
/* Check for posted record changes */
- if(is_array($this->dnsEntry['RECORDS']) && $this->acl_is_writeable("Records")){
+ if(is_array($this->dnsEntry['RECORDS'])){
foreach($this->dnsEntry['RECORDS'] as $key => $value){
/* Check if type has changed */
}
}
}
+
/* Get all basic DNS attributes (TTL, Clas ..)*/
foreach($this->DNSattributes as $attr){
- if(isset($_POST[$attr]) && $this->acl_is_writeable($attr)){
+ if(isset($_POST[$attr])){
$this->dnsEntry[$attr] = $_POST[$attr];
}
}
-
-
}
if($this->hide_dns_check_box){
$this->DNS_is_account = true;
diff --git a/gosa-plugins/systems/admin/systems/network.tpl b/gosa-plugins/systems/admin/systems/network.tpl
index f1965af4788238d1f8d88cc3bec7912536d3b7d8..05c87fe64b73b7dd0b6f27788e967663e91fc48f 100644 (file)
{render acl=$macAddressACL}
<input name="macAddress" id="macAddress" size=25 maxlength=80 value="{$macAddress}">
{/render}
-{render acl=$ipHostNumberACL.$macAddressACL}
- <input type="submit" name="autonet" value="{t}Autodetect{/t}">
-{/render}
+ <input type="submit" name="autonet" value="{t}Autodetect{/t}">
</td>
</tr>
{if $dhcpEnabled}