summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: 783f713)
raw | patch | inline | side by side (parent: 783f713)
author | hickert <hickert@594d385d-05f5-0310-b6e9-bd551577e9d8> | |
Thu, 5 Jan 2006 08:53:40 +0000 (08:53 +0000) | ||
committer | hickert <hickert@594d385d-05f5-0310-b6e9-bd551577e9d8> | |
Thu, 5 Jan 2006 08:53:40 +0000 (08:53 +0000) |
git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@2410 594d385d-05f5-0310-b6e9-bd551577e9d8
plugins/personal/environment/class_environment.inc | patch | blob | history | |
plugins/personal/environment/environment.tpl | patch | blob | history |
diff --git a/plugins/personal/environment/class_environment.inc b/plugins/personal/environment/class_environment.inc
index 0b8b3f3a3f588f283ffc0011bb8b85ac57bba237..6762c88ca328ddde77fd624313192de57fba1ac7 100644 (file)
$smarty->assign($s_attr."ACL"," disabled ");
}
}
+
+ if(empty($this->useProfile)){
+ $smarty->assign("gotoProfileACL","disabled");
+ $smarty->assign("useProfileCHK","");
+ }else{
+ $smarty->assign("gotoProfileACL","");
+ $smarty->assign("useProfileCHK"," checked ");
+ }
+
$smarty->assign("useProfileACL","");
if($this->acl != "#none#"){
$smarty->assign("gotoProfileFlag_CCHK"," checked ");
}
- if(empty($this->useProfile)){
- $smarty->assign("gotoProfileACL","disabled");
- $smarty->assign("useProfileCHK","");
- }else{
- $smarty->assign("gotoProfileACL","");
- $smarty->assign("useProfileCHK"," checked ");
- }
-
$this->gotoXResolutions = array("640x480","800x600","1024x768","1280x768","1280x1024");
$smarty->assign("gotoXResolutions",$this->gotoXResolutions);
if(isset($_POST['iamposted'])){
if(isset($_POST['useProfile'])){
- $this->useProfile = $_POST['useProfile'];
- }else{
$this->useProfile = true;
+ }else{
+ $this->useProfile = false;
}
if(isset($_POST['gotoProfileFlag_C'])){
$this->gotoProfileFlag_C = $_POST['gotoProfileFlag_C'];
diff --git a/plugins/personal/environment/environment.tpl b/plugins/personal/environment/environment.tpl
index 05f3986c455b346c30b105f81af83d3ba1e4f132..26c383d997d6b5b46f92a04c569b4c8ea0d0d314 100644 (file)
</tr>
<tr>
<td colspan=2>
- <input class="center" type="checkbox" name="gotoProfileFlag_C" value="C"
- id="gotoProfileFlag_C" {$gotoProfileFlagsACL}>
+ <input class="center" type="checkbox" name="gotoProfileFlag_C" value="C" {$gotoProfileFlag_CCHK}
+ id="gotoProfileFlag_C" {$gotoProfileFlag_CACL}>
<label for="gotoProfileFlag_C">{t}Cache profile localy{/t}</label>
</td>
</tr>