diff --git a/plugins/personal/connectivity/oxchange.tpl b/plugins/personal/connectivity/oxchange.tpl
index fc2197ed427daef59c0041549f018ced3ccad4ae..653f0e33c672befd043a8900ed1e05ef32cc776d 100644 (file)
-{ 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>
+
+<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 -->
</td>
</tr>
<tr>
- <td>{t}Appointment 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><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>
</tr>
<tr>
- <td>{t}User Timezone{/t}</td>
+ <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>