diff --git a/gosa-plugins/goto/admin/systems/goto/SelectDeviceType.tpl b/gosa-plugins/goto/admin/systems/goto/SelectDeviceType.tpl
index 82d8f4dcd1d956253389c51ddb9cb88d992d2cc9..08a0f03105c75280b41c595b8c01cccdfa14ce63 100644 (file)
<br>
<p class="seperator">
-{t}This system has no system type configured. Please choose a system type for this object and an optional inheritance group. Press the 'continue' button to procreed.{/t}
+{t}This system has no system type configured. Please choose a system type for this object and an optional inheritance group. Press the 'continue' button to proceed.{/t}
<br>
<br>
</p>
<tr>
<td>
{t}System type{/t}
- <select name="SystemType" title="{t}System type{/t}" style="width:120px;">
+ <select name="SystemType" title="{t}System type{/t}" style="width:120px;"
+ onChange="document.mainform.submit();">
{html_options values=$SystemTypeKeys output=$SystemTypes selected=$SystemType}
</select>
</td>
<tr>
<td>
{t}Choose an object group as template{/t}
- <select name="ObjectGroup" title="{t}Object group{/t}" style="width:120px;">
- {html_options values=$ObjectGroupKeys output=$ObjectGroups selected=$ObjectGroup}
+ <select name="ObjectGroup" title="{t}Object group{/t}" style="width:120px;" size=1>
+ {if $dns_cnt == 1}
+ <option value='none'>{t}none{/t}</option>
+ {/if}
+ {html_options options=$ogroups selected=$ObjectGroup}
</select>
</td>
</tr>
</td>
</tr>
</table>
-<p class="seperator"> </p>
+<hr>
<div style="align: right;" align="right"><p>
- <input type="submit" name="SystemTypeChoosen" value="{t}Continue{/t}">
- <input type="submit" name="SystemTypeAborted" value="{msgPool type=cancelButton}">
+ <button type='submit' name='systemTypeChosen'>{t}Continue{/t}</button>
+
+ <button type='submit' name='SystemTypeAborted'>{msgPool type=cancelButton}</button>
+
</p></div>