diff --git a/gosa-plugins/gofon/gofon/phoneaccount/generic.tpl b/gosa-plugins/gofon/gofon/phoneaccount/generic.tpl
index 6162872d895dba1547f8597a62503883979b0175..334a7845457ce68de1768af24ce35c88ab88ede8 100644 (file)
<table summary="{t}Phone numbers{/t}" style="width:100%">
<tr>
<td style="vertical-align:top; border-right:1px solid #A0A0A0; width:50%">
- <h2>
- <img class="center" alt="" align="middle" src="images/banana.png" />
+ <h3>
+ <img class="center" alt="" align="middle" src="plugins/gofon/images/banana.png" />
{t}Phone numbers{/t}
- </h2>
+ </h3>
{if $multiple_support}
{/render}
<br>
{render acl=$telephoneNumberACL}
- <input name="phonenumber" size=20 align=middle maxlength=60 value="">
+ <input type='text' name="phonenumber" size=20 align=middle maxlength=60 value="">
{/render}
{render acl=$telephoneNumberACL}
- <input type="submit" value="{msgPool type=addButton}" name="add_phonenumber">
+ <button type='submit' name='add_phonenumber'>{msgPool type=addButton}</button>
+
{/render}
{render acl=$telephoneNumberACL}
- <input type="submit" value="{msgPool type=delButton}" name="delete_phonenumber">
+ <button type='submit' name='delete_phonenumber'>{msgPool type=delButton}</button>
+
{/render}
{/if}
<tr>
<td style="vertical-align:top;">
- <h2><img class="center" alt="" align="middle" src="images/hardware.png" /> {t}Telephone hardware{/t}</h2>
+ <h3>{t}Telephone hardware{/t}</h3>
<table summary="{t}Telephone{/t}" border=0>
{if !$multiple_support}
{t}Telephone{/t}
</td>
<td>
+ {render acl=$goFonHardwareACL checkbox=$multiple_support checked=$use_goFonHardware}
{$hardware_list}
+ {/render}
</td>
</tr>
{/if}
<td>{t}Context{/t}
</td>
<td>
- <select name='context' title='{t}Select the accounts context{/t}' {$goFonContextACL}>
- {html_options values=$contexts output=$contexts selected=$context}
+{render acl=$goFonContextACL checkbox=$multiple_support checked=$use_goFonContext}
+ <select name='context' title='{t}Select the accounts context{/t}'>
+ {html_options values=$sip_contexts output=$sip_contexts selected=$context}
</select>
+{/render}
</td>
</tr>
<tr>
<td>{t}Voicemail context{/t}
</td>
<td>
- <select name='voice_context' title='{t}Select the accounts context{/t}' {$goFonContextACL}>
- {html_options values=$contexts output=$contexts selected=$voice_context}
+{render acl=$goFonVoiceMailContextACL checkbox=$multiple_support checked=$use_goFonVoiceMailContext}
+ <select name='voice_context' title='{t}Select the accounts context{/t}'>
+ {html_options values=$voicemail_contexts output=$voicemail_contexts selected=$voice_context}
</select>
+{/render}
</td>
</tr>
</tr>
<tr style="vertical-align:top; border-top:1px solid #A0A0A0;">
<td colspan=2 style="vertical-align:top;width:50%">
- <h2>
- <img class="center" alt="" src="images/select_macro.png" align="middle" />
+ <h3>
+ <img class="center" alt="" src="plugins/gofon/images/select_macro.png" align="middle" />
{t}Phone macro{/t}
- </h2>
+ </h3>
<table summary="{t}Phone macro{/t}">
<tr>
<td colspan=2>
{/render}
{if $javascript eq 'false'}
{render acl=$goFonMacroACL}
- <input type="submit" name="refresh" value="{t}Refresh{/t}">
+ <button type='submit' name='refresh'>{t}Refresh{/t}</button>
+
{/render}
{/if}
</td>