Code

Updated acls
[gosa.git] / plugins / personal / connectivity / oxchange.tpl
index 642bfc6f0ba5e852b746f8a7c0b404589efb4dd5..653f0e33c672befd043a8900ed1e05ef32cc776d 100644 (file)
@@ -1,25 +1,33 @@
-{ if !$pg }
-<h2>{t}Open-Xchange Account{/t} - {t}disabled, no Postgresql support detected{/t}</h2>
+{if !$pg}
+<h2>{t}Open-Xchange Account{/t} - {t}disabled, no Postgresql support detected. Or the specified database can't be reached{/t}</h2>
 {else}
-<h2>{if $tabbed eq 1}<input type="checkbox" name="oxchange" value="B" {$oxchangeState} {$oxchangeAccountACL} onCLick="changeState('OXAppointmentDays');changeState('OXTaskDays');changeState('OXTimeZone');" >{/if}{t}Open-Xchange account{/t}</h2>
-<table style="width:100%; vertical-align:top; text-align:left;" cellpadding=0 border=0>
+
+<input type="checkbox" name="oxchange" value="B" 
+       {$oxchangeState} {$oxchangeAccountACL} 
+       onCLick="       changeState('OXAppointmentDays');
+                               changeState('OXTaskDays');
+                               changeState('OXTimeZone');" >
+<h2>{t}Open-Xchange account{/t}</h2>
+
+
+<table summary="" style="width:100%; vertical-align:top; text-align:left;" cellpadding=0 border=0>
 
  <!-- Headline container -->
  <tr>
    <td style="width:50%; vertical-align:top;">
-     <table style="margin-left:4px;">
+     <table summary="" style="margin-left:4px;">
        <tr>
          <td colspan=2 style="vertical-align:top;">
            <b>{t}Remember{/t}</b>
          </td>
        </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><LABEL for="OXAppointmentDays">{t}Appointment Days{/t}</LABEL></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><LABEL for="OXTaskDays">{t}Task Days{/t}</LABEL></td>
+        <td><input name="OXTaskDays" id="OXTaskDays" size=7 maxlength=7 {$OXTaskDaysACL} value="{$OXTaskDays}" {$oxState}> {t}days{/t}</td>
        </tr>
      </table>
    </td>
      &nbsp;
    </td>
    <td style="vertical-align:top;">
-     <table>
+     <table summary="">
        <tr>
          <td colspan=2 style="vertical-align:top;">
            <b>{t}User Information{/t}</b>
          </td>
        </tr>
        <tr>
-         <td>{t}User Timezone{/t}</td>
-        <td><select size="1" name="OXTimeZone" id="OXTimeZone" {$OXTimeZoneACL} > 
+         <td><LABEL for="OXTimeZone">{t}User Timezone{/t}</LABEL></td>
+        <td><select size="1" name="OXTimeZone" id="OXTimeZone" {$OXTimeZoneACL} {$oxState}
         {html_options values=$timezones output=$timezones selected=$OXTimeZone}
         </select>
         </td>