From: hickert Date: Tue, 20 Jun 2006 07:55:29 +0000 (+0000) Subject: Some bugfixes X-Git-Url: https://git.tokkee.org/?a=commitdiff_plain;h=b4fb2109d8db4b2c9c93878dd6e5d137fab19d0c;p=gosa.git Some bugfixes git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@3827 594d385d-05f5-0310-b6e9-bd551577e9d8 --- diff --git a/include/class_config.inc b/include/class_config.inc index 33bc836d8..6aa027788 100644 --- a/include/class_config.inc +++ b/include/class_config.inc @@ -113,8 +113,8 @@ class config { $this->currentLocation= $name; /* Add location elements */ - $this->data['LOCATIONS'][$name]= $attrs; - } + $this->data['LOCATIONS'][$name]= $attrs; + } break; /* Handle referral tags */ diff --git a/plugins/admin/systems/class_printGeneric.inc b/plugins/admin/systems/class_printGeneric.inc index 7c51299fe..c61bda5fb 100644 --- a/plugins/admin/systems/class_printGeneric.inc +++ b/plugins/admin/systems/class_printGeneric.inc @@ -352,16 +352,16 @@ class printgeneric extends plugin $smarty->assign("baseACL", chkacl($this->acl,"base")); if(isset($_POST['AddUser'])){ - $this->dialog = new selectUserToPrinterDialog($this->config, get_userinfo(),"AddUser"); + $this->dialog = new selectUserToPrinterDialog($this->config, NULL,"AddUser"); } if(isset($_POST['AddGroup'])){ - $this->dialog = new selectUserToPrinterDialog($this->config, get_userinfo(),"AddGroup"); + $this->dialog = new selectUserToPrinterDialog($this->config, NULL,"AddGroup"); } if(isset($_POST['AddAdminUser'])){ - $this->dialog = new selectUserToPrinterDialog($this->config, get_userinfo(),"AddAdminUser"); + $this->dialog = new selectUserToPrinterDialog($this->config, NULL,"AddAdminUser"); } if(isset($_POST['AddAdminGroup'])){ - $this->dialog = new selectUserToPrinterDialog($this->config, get_userinfo(),"AddAdminGroup"); + $this->dialog = new selectUserToPrinterDialog($this->config, NULL,"AddAdminGroup"); } /* Display ppd configure/select dialog */ diff --git a/plugins/admin/systems/class_servService.inc b/plugins/admin/systems/class_servService.inc index 2c9f9381e..a47133631 100644 --- a/plugins/admin/systems/class_servService.inc +++ b/plugins/admin/systems/class_servService.inc @@ -45,7 +45,8 @@ class servservice extends plugin { plugin::plugin ($config, $dn); - + + /* Check if mount objectClass is available */ $ldap = $this->config->get_ldap_link(); $avl_objectclasses = $ldap->get_objectclasses(); if (isset($avl_objectclasses["mount"])) { diff --git a/plugins/admin/systems/class_workstationService.inc b/plugins/admin/systems/class_workstationService.inc index b62048e80..dabcaa033 100644 --- a/plugins/admin/systems/class_workstationService.inc +++ b/plugins/admin/systems/class_workstationService.inc @@ -106,7 +106,7 @@ class workservice extends plugin } $this->MouseTypes= array("ImPS/2" => "ImPS/2", "PS/2" => "PS/2", "Microsoft" => "Microsoft", - "Logitech" => "Microsoft"); + "Logitech" => "Logitech"); $this->MousePorts= array("/dev/ttyS0" =>"/dev/ttyS0", "/dev/ttyS1" => "/dev/ttyS1", "/dev/psaux" =>"/dev/psaux", diff --git a/plugins/admin/systems/workstationStartup.tpl b/plugins/admin/systems/workstationStartup.tpl index 7c4c25397..a31b1b2b5 100644 --- a/plugins/admin/systems/workstationStartup.tpl +++ b/plugins/admin/systems/workstationStartup.tpl @@ -101,7 +101,7 @@ - + {/if}