Code

Openxchange cosmetic and minor bug modifications.
authorblainett <blainett@594d385d-05f5-0310-b6e9-bd551577e9d8>
Mon, 13 Jun 2005 12:02:01 +0000 (12:02 +0000)
committerblainett <blainett@594d385d-05f5-0310-b6e9-bd551577e9d8>
Mon, 13 Jun 2005 12:02:01 +0000 (12:02 +0000)
git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@696 594d385d-05f5-0310-b6e9-bd551577e9d8

plugins/personal/connectivity/class_oxchangeAccount.inc
plugins/personal/connectivity/oxchange.tpl

index 864dc0d882a45a6a1ebf3e4c0e7addcfddce87ef..a77d8c2decfba24c1fd03b34ad86006e610d3475 100644 (file)
@@ -599,7 +599,7 @@ class oxchangeAccount extends plugin
   {
 
     /* Show tab dialog headers */
-    $display= "";
+    $display="";
     if ($this->parent != NULL){
       if ($this->is_account){
        $display="";
@@ -635,8 +635,10 @@ class oxchangeAccount extends plugin
     $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);
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>
@@ -35,7 +35,7 @@
        </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>