X-Git-Url: https://git.tokkee.org/?a=blobdiff_plain;f=plugins%2Fadmin%2Fsystems%2Fclass_terminalService.inc;h=2be95df7957e78c00dc78fec861bde405badcf05;hb=7a6a428eb1c6534e448094d51bc6a542fe832bb9;hp=fa8450efb208058620d6855d8f59bad2d7a4f4c5;hpb=0864eeb998acefd5c9546c56f79e1c4a49535134;p=gosa.git diff --git a/plugins/admin/systems/class_terminalService.inc b/plugins/admin/systems/class_terminalService.inc index fa8450efb..2be95df79 100644 --- a/plugins/admin/systems/class_terminalService.inc +++ b/plugins/admin/systems/class_terminalService.inc @@ -114,7 +114,7 @@ class termservice extends plugin $this->XKbModels[$type] = $type; } - /* Additional values will be extracted from /etc/gosa/keyboardLayouts */ + /* Additional values will be extracted from CONFIG_DIR.keyboardLayouts */ $this->XKbLayouts= array ("default"=>"["._("inherited")."]","de"=> "de","intl" =>"intl","us" =>"us"); $this->XKbVariants= array ("default"=>"["._("inherited")."]", "nodeadkeys"=>"nodeadkeys", "basic"=>"basic"); @@ -243,6 +243,10 @@ class termservice extends plugin $this->gotoXHsync = preg_replace("/\+/","-",$this->gotoXHsync); $this->gotoXVsync = preg_replace("/\+/","-",$this->gotoXVsync); } + + if($this->is_account){ + @log::log("view","terminal/".get_class($this),$this->dn); + } } function execute() @@ -346,6 +350,7 @@ class termservice extends plugin function remove_from_parent() { + @log::log("remove","terminal/".get_class($this),$this->dn,array_keys($this->attrs)); $this->handle_post_events("remove"); } @@ -453,6 +458,7 @@ class termservice extends plugin $ldap->cd($this->dn); $this->cleanup(); $ldap->modify ($this->attrs); + @log::log("modify","terminal/".get_class($this),$this->dn,array_keys($this->attrs),$ldap->get_error()); show_ldap_error($ldap->get_error(), sprintf(_("Saving of object system terminal/service with dn '%s' failed."),$this->dn)); $this->handle_post_events("modify"); @@ -486,7 +492,7 @@ class termservice extends plugin "gotoLpdServer" => _("Spool server"), "gotoScannerEnable" => _("Scanner enabled"), "gotoScannerModel" => _("Scanner model"), - "gotoScannerClients" => _("Heäh ? "), + "gotoScannerClients" => _("Haeh ? "), "gotoScannerBackend" => _("..."), "gotoXKbModel" => _("Keyboard model"), "gotoXKbLayout" => _("Keyboard layout"),