summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: 1a02be0)
raw | patch | inline | side by side (parent: 1a02be0)
author | hickert <hickert@594d385d-05f5-0310-b6e9-bd551577e9d8> | |
Mon, 22 Mar 2010 10:10:43 +0000 (10:10 +0000) | ||
committer | hickert <hickert@594d385d-05f5-0310-b6e9-bd551577e9d8> | |
Mon, 22 Mar 2010 10:10:43 +0000 (10:10 +0000) |
git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@16982 594d385d-05f5-0310-b6e9-bd551577e9d8
gosa-plugins/dns/admin/systems/services/dns/class_servDNSeditZoneEntries.inc | patch | blob | history |
diff --git a/gosa-plugins/dns/admin/systems/services/dns/class_servDNSeditZoneEntries.inc b/gosa-plugins/dns/admin/systems/services/dns/class_servDNSeditZoneEntries.inc
index 674ad057f05c912538576030ea35caabe9e05b5b..0a89013f6de2b2d1a49f69bfe5d9bc18aec6687a 100644 (file)
/* Add a new Record in given object
*/
- $tmp = preg_replace("/^.*_(.*)_.*$/","\\1",$name);
+ $tmp = preg_replace("/^.*_(.*)$/","\\1",$name);
$tmp2 = explode("|",$tmp);
/* Add new host entry
/* Possible attributes posted
*/
+ print_a($_POST);
foreach($_POST as $name => $value){
/* Extract informations out of post name
if(count($tmp2) != 2) continue;
$Name = base64_decode($tmp2[0]);
+
$RecordID = $tmp2[1];
/* Check for value change
$ldap->cd($this->config->current['BASE']);
$names = array();
+
foreach($this->Devices as $DevName => $device){
/* Don't need to check empty values ... */
$field2 = $this->createRecordTypeSelection($record['type'],$name);
$field3 = "<input type='text' $dis value='".$record['value']."' name='ValueSelection_".$name."' style='width:250px;'>";
if(preg_match("/w/",$this->acl)){
- $acl = "<input type='image' name='AddRecord_".$name."'
- src='images/lists/new.png' alt='"._("Add")."' title='"._("Add")."'>
- <input type='image' name='RemoveRecord_".$name."'
- src='images/lists/trash.png' alt='"._("Remove")."' title='"._("Remove")."'>";
+ $acl = image('images/lists/element.png[new]',"AddRecord_".$name,_("Add"));
+ $acl.= image('images/lists/trash.png',"RemoveRecord_".$name,_("Remove"));
}
/* Display settings backwards for CNAMERecords