From: cajus Date: Tue, 9 Oct 2007 14:33:14 +0000 (+0000) Subject: Checked and fixed layout. Closes #194. X-Git-Url: https://git.tokkee.org/?a=commitdiff_plain;h=fef4ca435493ebb25c8be45bb13a8272a1fafb76;p=gosa.git Checked and fixed layout. Closes #194. git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@7481 594d385d-05f5-0310-b6e9-bd551577e9d8 --- diff --git a/plugins/personal/environment/class_environment.inc b/plugins/personal/environment/class_environment.inc index d06ad5f02..21b1539e8 100644 --- a/plugins/personal/environment/class_environment.inc +++ b/plugins/personal/environment/class_environment.inc @@ -246,8 +246,8 @@ class environment extends plugin function update_kiosk_profiles() { - $tmp1 = array("none" => array(_("None"))); - $tmp2 = array("none" => _("None")); + $tmp1 = array("none" => array(_("disabled"))); + $tmp2 = array("none" => _("disabled")); $ldap = $this->config->get_ldap_link(); $ldap->cd($this->config->current['BASE']); $ldap->search("(&(objectClass=goEnvironmentServer)(gotoKioskProfile=*)(cn=*))",array("cn","gotoKioskProfile")); @@ -1065,7 +1065,7 @@ class environment extends plugin /* If group was renamed, all printer settings get lost */ /* only save changed variables ....*/ - if ($this->gotoKioskProfile_Server !="none"){ + if ($this->gotoKioskProfile_Server != "none"){ if(preg_match("/https/i",$_SERVER['HTTP_REFERER'])){ $method="https://".$this->gotoKioskProfile_Server."/kiosk/".$this->gotoKioskProfile_Profile; }else{ diff --git a/plugins/personal/environment/environment.tpl b/plugins/personal/environment/environment.tpl index 9cd024de5..b5a596b8b 100644 --- a/plugins/personal/environment/environment.tpl +++ b/plugins/personal/environment/environment.tpl @@ -84,7 +84,7 @@ - @@ -96,10 +96,14 @@
+
+ {if $kiosk_server != "none"} {t}Profile{/t} + {else} +   + {/if}