diff --git a/gosa-plugins/systems/admin/systems/network.tpl b/gosa-plugins/systems/admin/systems/network.tpl
index 7cb6b3ff996db6be15412e5e4c498a4fa82023d1..c9e9cf291b7dfb2e2afbd3469bd2e4e241db4533 100644 (file)
<td style="width:50%; vertical-align: top;">
<table summary="">
<tr>
- <td><LABEL for="ipHostNumber">{t}IP-address{/t}{if $IPisMust}{$staticAddress}{/if}</LABEL></td>
+ <td style='vertical-align:top;'><LABEL for="ipHostNumber">{t}IP-address{/t}{if $IPisMust}{$staticAddress}{/if}</LABEL></td>
<td>
{render acl=$ipHostNumberACL}
<input id="ipHostNumber" name="ipHostNumber" size=25 maxlength=80 value="{$ipHostNumber}">
{/render}
+ {foreach from=$additionalHostNumbers item=item key=key}
+ <br>
+ <input size=25 maxlength=80 type='text' name='additionalHostNumbers_{$key}' value='{$item}'>
+ <input type='image' class='center' name='additionalHostNumbers_del_{$key}' src='images/lists/trash.png' alt='{msgPool type=delButton}'>
+ {/foreach}
+ <input type='image' class='center' name='additionalHostNumbers_add}' src='images/lists/new.png' alt='{msgPool type=addButton}'>
+
{render acl=$ipHostNumberACL}
-{if $DNSAccount == true}
+{if $DNS_is_account == true}
<input id="propose_ip" type="submit" name="propose_ip" value="{t}Propose ip{/t}" style="visibility:visible;">
{else}
<input id="propose_ip" type="submit" name="propose_ip" value="{t}Propose ip{/t}" style="visibility:hidden;">
{render acl=$macAddressACL}
<input name="macAddress" id="macAddress" size=25 maxlength=80 value="{$macAddress}">
{/render}
- {if $autonet==true}
- <input type="submit" name="autonet" value="{t}Autodetect{/t}">
- {/if}
+ <input type="submit" name="autonet" value="{t}Autodetect{/t}">
</td>
</tr>
{if $dhcpEnabled}
</td>
<td>
{t}Enable DHCP for this device{/t}
- <input type='image' src='images/list_reload.png' class='center'>
+ <input type='image' src='images/lists/reload.png' class='center'>
</td>
</tr>
{else}
<td>
<input type='checkbox' name='dummy' class='center' disabled>
{t}Enable DHCP for this device{/t} ({t}not configured{/t})
- <input type='image' src='images/list_reload.png' class='center'>
+ <input type='image' src='images/lists/reload.png' class='center'>
</td>
</tr>
{/if}
{/if}
</table>
</td>
- {if $DNS_is_account==true}
+ {if $DNSenabled==true}
<td style="width:50%;vertical-align:top;border-left:1px solid #b0b0b0;" valign="top">
{if $ZoneCnt}
- {if $DNSAccount == true}
+
+ {if $DNS_is_account == true}
<input type="checkbox" name="DNS_is_account" value="1"
checked="checked"
onclick="toggle('test2');
{/if}
{t}Enable DNS for this device{/t}
- <input type='image' src='images/list_reload.png' class='center' name="reloadThisDNSStuff" >
- {if $DNSAccount == true}
+ <input type='image' src='images/lists/reload.png' class='center' name="reloadThisDNSStuff" >
+ {if $DNS_is_account == true}
<div style="padding-left:20px;visibility:visible;" id="test2">
{else}
<div style="padding-left:20px;visibility:hidden;" id="test2">
<td><LABEL for="zoneName">{t}Zone{/t}</LABEL></td>
<td>
{render acl=$zoneNameACL}
- <select name="zoneName" id="zoneName" {if $DNSAccount == false} disabled {/if}>
+ <select name="zoneName" id="zoneName" {if $DNS_is_account == false} disabled {/if}>
{html_options values=$ZoneKeys output=$Zones selected=$zoneName}
</select>
{/render}
<td>{t}TTL{/t}</td>
<td>
{render acl=$dNSTTLACL}
- <input type="text" name="dNSTTL" value="{$dNSTTL}" id="dNSTTL" {if $DNSAccount == false} disabled {/if}>
+ <input type="text" name="dNSTTL" value="{$dNSTTL}" id="dNSTTL" {if $DNS_is_account == false} disabled {/if}>
{/render}
</td>
</tr>
</table>
</div>
{else}
- <input type="checkbox" name="dummy" value="1" disabled class='center'>
+ <input type="checkbox" name="dummy" value="1" disabled class='center' {if $DNS_is_account} checked {/if}>
{t}Enable DNS for this device{/t} ({t}not configured{/t})
- <input type='image' src='images/list_reload.png' class='center'>
+ <input type='image' src='images/lists/reload.png' class='center'>
{/if}
</td>