summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: b711904)
raw | patch | inline | side by side (parent: b711904)
author | blainett <blainett@594d385d-05f5-0310-b6e9-bd551577e9d8> | |
Mon, 13 Jun 2005 12:02:01 +0000 (12:02 +0000) | ||
committer | blainett <blainett@594d385d-05f5-0310-b6e9-bd551577e9d8> | |
Mon, 13 Jun 2005 12:02:01 +0000 (12:02 +0000) |
plugins/personal/connectivity/class_oxchangeAccount.inc | patch | blob | history | |
plugins/personal/connectivity/oxchange.tpl | patch | blob | history |
diff --git a/plugins/personal/connectivity/class_oxchangeAccount.inc b/plugins/personal/connectivity/class_oxchangeAccount.inc
index 864dc0d882a45a6a1ebf3e4c0e7addcfddce87ef..a77d8c2decfba24c1fd03b34ad86006e610d3475 100644 (file)
{
/* Show tab dialog headers */
- $display= "";
+ $display="";
if ($this->parent != NULL){
if ($this->is_account){
$display="";
$smarty->assign("oxchangeAccountACL", chkacl($this->acl, "oxchangeAccount"));
if ($this->is_account){
$smarty->assign("oxchangeState", "checked");
+ $smarty->assign("oxState", "");
} else {
$smarty->assign("oxchangeState", "");
+ $smarty->assign("oxState", "disabled");
}
$smarty->assign("timezones", $this->timezones);
diff --git a/plugins/personal/connectivity/oxchange.tpl b/plugins/personal/connectivity/oxchange.tpl
index 642bfc6f0ba5e852b746f8a7c0b404589efb4dd5..665a9743dcaed1e1a83fbcccefe1760fddf376be 100644 (file)
</tr>
<tr>
<td>{t}Appointment Days{/t}</td>
- <td><input name="OXAppointmentDays" id="OXAppointmentDays" size=7 maxlength=7 {$OXAppointmentDaysACL} value="{$OXAppointmentDays}" > {t}days{/t}</td>
+ <td><input name="OXAppointmentDays" id="OXAppointmentDays" size=7 maxlength=7 {$OXAppointmentDaysACL} value="{$OXAppointmentDays}" {$oxState}> {t}days{/t}</td>
</tr>
<tr>
<td>{t}Task Days{/t}</td>
- <td><input name="OXTaskDays" id="OXTaskDays" size=7 maxlength=7 {$OXTaskDaysACL} value="{$OXTaskDays}" > {t}days{/t}</td>
+ <td><input name="OXTaskDays" id="OXTaskDays" size=7 maxlength=7 {$OXTaskDaysACL} value="{$OXTaskDays}" {$oxState}> {t}days{/t}</td>
</tr>
</table>
</td>
</tr>
<tr>
<td>{t}User Timezone{/t}</td>
- <td><select size="1" name="OXTimeZone" id="OXTimeZone" {$OXTimeZoneACL} >
+ <td><select size="1" name="OXTimeZone" id="OXTimeZone" {$OXTimeZoneACL} {$oxState}>
{html_options values=$timezones output=$timezones selected=$OXTimeZone}
</select>
</td>