From: hickert Date: Fri, 26 Aug 2005 11:22:20 +0000 (+0000) Subject: Some fixes X-Git-Url: https://git.tokkee.org/?a=commitdiff_plain;h=d9f57cdfe9230cdc9413d0e508812f3414fd540e;p=gosa.git Some fixes git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@1229 594d385d-05f5-0310-b6e9-bd551577e9d8 --- diff --git a/plugins/personal/environment/class_environment.inc b/plugins/personal/environment/class_environment.inc index 725fbdf93..cd023e850 100644 --- a/plugins/personal/environment/class_environment.inc +++ b/plugins/personal/environment/class_environment.inc @@ -494,9 +494,6 @@ class environment extends plugin $smarty->assign("gotoProfileServerACL"," disabled "); } - - - /* Als smarty vars are set. Get smarty template and generate output */ $display.= $smarty->fetch(get_template_path('environment.tpl', TRUE,dirname(__FILE__))); @@ -574,9 +571,6 @@ class environment extends plugin $realyUsedAttrs= array(); - - - /* Save already used objectClasses */ $ocs = $this->attrs['objectClass']; unset($ocs['count']); @@ -810,7 +804,7 @@ class environment extends plugin while($entry = $ldap->fetch($a_res)){ $shareAttrs = split("\|",$entry['goExportEntry'][0]); if($listboxEntry) { - $return[$shareAttrs[0]] = $shareAttrs[0]." - ".$shareAttrs[3]; + $return[$shareAttrs[0]] = $shareAttrs[0]." - ".$shareAttrs[4]; }else{ $return[$shareAttrs[0]]['name'] = $shareAttrs[0]; $return[$shareAttrs[0]]['description'] = $shareAttrs[1]; @@ -877,7 +871,7 @@ function printOutHotPlugDevices() $a_return = array(); if(is_array($this->gotoLogonScripts)){ foreach($this->gotoLogonScripts as $script){ - $a_return[$script['LogonName']]= $script['LogonName']; + $a_return[$script['LogonName']]= $script['LogonPriority']." - ".$script['LogonName']; } } return($a_return); diff --git a/plugins/personal/environment/class_hotplugDialog.inc b/plugins/personal/environment/class_hotplugDialog.inc index fee4b846e..4911d29d7 100644 --- a/plugins/personal/environment/class_hotplugDialog.inc +++ b/plugins/personal/environment/class_hotplugDialog.inc @@ -29,6 +29,7 @@ class hotplugDialog extends plugin { $this->use_existing = $use_existing; plugin::plugin ($config, $dn); + $this->depselect = $this->config->current['BASE']; } function execute() diff --git a/plugins/personal/environment/hotplugDialog.tpl b/plugins/personal/environment/hotplugDialog.tpl index e071ef37c..5e8bbc068 100644 --- a/plugins/personal/environment/hotplugDialog.tpl +++ b/plugins/personal/environment/hotplugDialog.tpl @@ -2,15 +2,24 @@ - +
- -
-
+
+
+

+ Select hotplug to add +

+
+
+

+
+

+
+

[i]{t}Information{/t}

diff --git a/plugins/personal/environment/selectPrinterDialog.tpl b/plugins/personal/environment/selectPrinterDialog.tpl index eb88d15fa..52b5402ee 100644 --- a/plugins/personal/environment/selectPrinterDialog.tpl +++ b/plugins/personal/environment/selectPrinterDialog.tpl @@ -1,16 +1,25 @@ -

 {t}Select hotplug entry{/t}

+

 {t}Select printer entry{/t}

- +
-
-
+
+

+ Select printer to add +

+
+
+

+
+

+
+

[i]{t}Information{/t}