summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: 515cf76)
raw | patch | inline | side by side (parent: 515cf76)
author | hickert <hickert@594d385d-05f5-0310-b6e9-bd551577e9d8> | |
Tue, 4 Sep 2007 11:58:31 +0000 (11:58 +0000) | ||
committer | hickert <hickert@594d385d-05f5-0310-b6e9-bd551577e9d8> | |
Tue, 4 Sep 2007 11:58:31 +0000 (11:58 +0000) |
git-svn-id: https://oss.gonicus.de/repositories/gosa/branches/2.5@7208 594d385d-05f5-0310-b6e9-bd551577e9d8
plugins/admin/systems/class_servDNSeditZoneEntries.inc | patch | blob | history |
diff --git a/plugins/admin/systems/class_servDNSeditZoneEntries.inc b/plugins/admin/systems/class_servDNSeditZoneEntries.inc
index 4eae25030f835a27cb256a35d22b5514a79e814e..08aab71549a71afa7b57f06b085b7c0b6642f728 100644 (file)
plugin::execute();
+
+ /* Fill templating stuff */
+ $smarty= get_smarty();
+ $display= "";
+
+ $table = "";
+ foreach($this->Devices as $key => $dev){
+ $table .= $this->generateRecordConfigurationRow($key);
+ }
+
+ $smarty->assign("disableDialog",$this->disableDialog);
+ $smarty->assign("table",$table);;
+ $display.= $smarty->fetch(get_template_path('servDNSeditZoneEntries.tpl', TRUE));
+ return($display);
+ }
+
+
+ function save_object()
+ {
/* Check posts for operations ...
*/
$once = true;
$this->Devices[$Name]['RECORDS'][] = $tmp;
}
}
-
-
- }
-
- /* Fill templating stuff */
- $smarty= get_smarty();
- $display= "";
-
- $table = "";
- foreach($this->Devices as $key => $dev){
- $table .= $this->generateRecordConfigurationRow($key);
}
- $smarty->assign("disableDialog",$this->disableDialog);
- $smarty->assign("table",$table);;
- $display.= $smarty->fetch(get_template_path('servDNSeditZoneEntries.tpl', TRUE));
- return($display);
- }
-
-
- function save_object()
- {
/* Possible attributes posted
*/
foreach($_POST as $name => $value){
/* Checking entry name
*/
- if((!is_uid($DevName)) | (empty($DevName))){
+ if((!is_uid($DevName)) || (empty($DevName))){
$message[] = sprintf(_("Entry name '%s' contains invalid characters."), $DevName);
}