summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: 15b895c)
raw | patch | inline | side by side (parent: 15b895c)
author | hickert <hickert@594d385d-05f5-0310-b6e9-bd551577e9d8> | |
Thu, 12 Jan 2006 09:45:52 +0000 (09:45 +0000) | ||
committer | hickert <hickert@594d385d-05f5-0310-b6e9-bd551577e9d8> | |
Thu, 12 Jan 2006 09:45:52 +0000 (09:45 +0000) |
git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@2456 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 cf3ddcbd08a93e545e6152b5985a4075d28a8bbd..39457399aae7982cfc759d911e8853c690e65b16 100644 (file)
if($this->acl != "#none#"){
$smarty->assign("useProfileACL","");
$smarty->assign("gotoProfileFlag_CACL"," ");
+ $smarty->assign("gotoProfileQuotaACL"," ");
}else{
$smarty->assign("gotoProfileFlag_CACL"," disabled ");
$smarty->assign("useProfileACL","disabled");
$smarty->assign("gotoProfileServer"," disabled ");
+ $smarty->assign("gotoProfileQuotaACL"," disabled ");
}
/* HANDLE Profile Settings here
}else{
$smarty->assign("gotoProfileFlag_CACL"," disabled ");
$smarty->assign("gotoProfileServerACL"," disabled ");
+ $smarty->assign("gotoProfileQuotaACL"," disabled ");
}
if(!$this->useProfile){
$smarty->assign("gotoProfileFlag_CACL"," disabled ");
$smarty->assign("gotoProfileServerACL"," disabled ");
+ $smarty->assign("gotoProfileQuotaACL"," disabled ");
}
/* Als smarty vars are set. Get smarty template and generate output */
diff --git a/plugins/personal/environment/environment.tpl b/plugins/personal/environment/environment.tpl
index 824e8ec9a95390309295386d09328f38a2c05d56..5e9777ffbf1db25e02d62a5b568c63dae9b5aa72 100644 (file)
<tr>
<td style="vertical-align:top">
<input class="center" type="checkbox" value="1" {$useProfileCHK} name="useProfile" {$useProfileACL} id="useProfile"
- onclick="changeState('gotoProfileServer');changeState('gotoProfileFlag_C');">
+ onclick="changeState('gotoProfileServer');changeState('gotoProfileFlag_C');changeState('gotoProfileQuota');">
</td>
<td style="vertical-align:middle;">
<label for="useProfile">{t}Use profile managment{/t}</label>
<br>
</td>
<td>
- <input type="text" name="gotoProfileQuota" value="{$gotoProfileQuota}" size="6"
- {$gotoProfileQuotaACL} id="gotoProfileQuota">{t}MB{/t}
+ <input type="text" name="gotoProfileQuota" value="{$gotoProfileQuota}" size="6" {$gotoProfileQuotaACL} id="gotoProfileQuota">{t}MB{/t}
<br>
<br>
</td>