diff --git a/gosa-plugins/goto/admin/systems/goto/SelectDeviceType.tpl b/gosa-plugins/goto/admin/systems/goto/SelectDeviceType.tpl
index 79bb51ae6b8c9044db7f6797d49940c0cf6c71bb..022c3a68ef781849a57d872ca54697b99dc2388e 100644 (file)
<br>
<p class="seperator">
-{t}This is a new system which currently has no system type defined. Please choose a system type for this entry and press the 'continue' button. If this system should be added to a group of system settings, specify the preferred object group below.{/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>
{if $dns_cnt == 1}
<b>{t}Please select a system type and an optional bundle of predefined settings to be inherited.{/t}</b>
{else}
-<b>{t}Please select a system type and an bundle of predefined settings to be inherited.{/t}</b>
+<b>{t}Please select a system type and a bundle of predefined settings to be inherited.{/t}</b>
{/if}
<br>
<br>
</p>
-<pre>
-{foreach from=$dns item=item}
- {$item}
-{/foreach}
-</pre>
-<br>
-<table summary="" style='width:100%'>
+<table summary="{t}System activation{/t}" style='width:100%'>
<tr>
<td style='width:49%'>
- <table summary="">
+ <table summary="{t}Target system type selection{/t}">
<tr>
<td>
{t}System type{/t}
- <select name="SystemType" title="{t}Choose a 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>
</table>
</td>
<td>
- <table summary="">
+ <table summary="{t}Object group selection{/t}">
<tr>
<td>
{t}Choose an object group as template{/t}
- <select name="ObjectGroup" title="{t}Choose an 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>