summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: 68c3d6d)
raw | patch | inline | side by side (parent: 68c3d6d)
author | hickert <hickert@594d385d-05f5-0310-b6e9-bd551577e9d8> | |
Thu, 18 Mar 2010 14:01:05 +0000 (14:01 +0000) | ||
committer | hickert <hickert@594d385d-05f5-0310-b6e9-bd551577e9d8> | |
Thu, 18 Mar 2010 14:01:05 +0000 (14:01 +0000) |
git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@16924 594d385d-05f5-0310-b6e9-bd551577e9d8
gosa-plugins/systems/admin/systems/network.tpl | patch | blob | history |
diff --git a/gosa-plugins/systems/admin/systems/network.tpl b/gosa-plugins/systems/admin/systems/network.tpl
index 2406f7a109094fd4ad2f5d48ce5dceb4acd127ff..2557c98175a54996216e247be09fc3e51ec26d1f 100644 (file)
<h3> {t}Network settings{/t}</h3>
-
-<table summary="" width="100%" cellspacing=0 cellpadding=0>
+<table summary="{t}Network settings{/t}">
<tr>
<td style='width:50%; '>
- <table summary="">
- <tr>
- <td>
-<LABEL for="ipHostNumber">{t}IP-address{/t}{if $IPisMust}{$staticAddress}{/if}</LABEL></td>
- <td>
-{render acl=$ipHostNumberACL}
- <input type='text' id="ipHostNumber" name="ipHostNumber" size=25 maxlength=80 value="{$ipHostNumber}">
-{/render}
- {foreach from=$additionalHostNumbers item=item key=key}
- <br>
-{render acl=$ipHostNumberACL}
- <input size=25 maxlength=80 type='text' name='additionalHostNumbers_{$key}' value='{$item}'>
-{/render}
-{render acl=$ipHostNumberACL}
- {image path="images/lists/trash.png" action="additionalHostNumbers_del_{$key}"}
-{/render}
- {/foreach}
-{render acl=$ipHostNumberACL}
- {image path="images/lists/new.png" action="additionalHostNumbers_add}"
-{/render}
-<br>
-
-{render acl=$ipHostNumberACL}
-{if $DNS_is_account == true}
- <button type='submit' name='propose_ip' id="propose_ip">{t}Propose ip{/t}</button>
-
- {else}
- <button type='submit' name='propose_ip' id="propose_ip">{t}Propose ip{/t}</button>
-
- {/if}
-{/render}
+ <table summary="{t}Network settings{/t}">
+ <tr>
+ <td>
+ <LABEL for="ipHostNumber">{t}IP-address{/t}{if $IPisMust}{$must}{/if}</LABEL>
+ </td>
+ <td>
+ {render acl=$ipHostNumberACL}
+ <input type='text' id="ipHostNumber" name="ipHostNumber" size=25 maxlength=80 value="{$ipHostNumber}">
+ {/render}
+
+ {foreach from=$additionalHostNumbers item=item key=key}
+ <br>
+ {render acl=$ipHostNumberACL}
+ <input size=25 maxlength=80 type='text' name='additionalHostNumbers_{$key}' value='{$item}'>
+ {/render}
+ {render acl=$ipHostNumberACL}
+ {image path="images/lists/trash.png" action="additionalHostNumbers_del_{$key}"}
+ {/render}
+ {/foreach}
+
+ {render acl=$ipHostNumberACL}
+ {image path="images/lists/edit.png" action="additionalHostNumbers_add"}
+ {/render}
+ <br>
+
+ {render acl=$ipHostNumberACL}
+ {if $DNS_is_account == true}
+ <button type='submit' name='propose_ip' id="propose_ip">{t}Propose ip{/t}</button>
+ {else}
+ <button type='submit' name='propose_ip' id="propose_ip">{t}Propose ip{/t}</button>
+ {/if}
+ {/render}
</td>
</tr>
<tr>
- <td><LABEL for="macAddress">{t}MAC-address{/t}</LABEL>{$staticAddress}</td>
<td>
-{render acl=$macAddressACL}
- <input type='text' name="macAddress" id="macAddress" size=25 maxlength=80 value="{$macAddress}">
-{/render}
-
-{render acl=$autonetACL}
- <button type='submit' name='autonet'>{t}Autodetect{/t}</button>
-
-{/render}
+ <LABEL for="macAddress">{t}MAC-address{/t}</LABEL>{$must}
+ </td>
+ <td>
+ {render acl=$macAddressACL}
+ <input type='text' name="macAddress" id="macAddress" size=25 maxlength=80 value="{$macAddress}">
+ {/render}
+ {render acl=$autonetACL}
+ <button type='submit' name='autonet'>{t}Autodetect{/t}</button>
+ {/render}
</td>
</tr>
- {if $dhcpEnabled}
+ </table>
+
+ <hr>
+
+{if $dhcpEnabled}
+ <table width="100%">
<tr>
<td colspan=2 style='padding-top:12px;'>
<table>
+
{if $dhcpParentNodeCnt}
<tr>
<td>
-{render acl=$dhcpSetupACL}
- <input onClick='document.mainform.submit();'
- {if $dhcp_is_Account} checked {/if} type='checkbox' name='dhcp_is_Account' class='center'>
-{/render}
+ {render acl=$dhcpSetupACL}
+ <input onClick='document.mainform.submit();'
+ {if $dhcp_is_Account} checked {/if} type='checkbox' name='dhcp_is_Account' class='center'>
+ {/render}
</td>
<td colspan="2">
{t}Enable DHCP for this device{/t}
-{render acl=$dhcpSetupACL}
- {image path="images/lists/reload.png"}
-
-{/render}
+ {render acl=$dhcpSetupACL}
+ {image path="images/lists/reload.png"}
+ {/render}
</td>
</tr>
{else}
<input type='checkbox' name='dummy' class='center' disabled>
{t}Enable DHCP for this device{/t} ({t}not configured{/t})
{image path="images/lists/reload.png"}
-
</td>
</tr>
{/if}
<td> </td>
<td>{t}Parent node{/t}</td>
<td>
-{render acl=$dhcpSetupACL}
- <select name='dhcpParentNode' size=1>
- {html_options options=$dhcpParentNodes selected=$dhcpParentNode}
- </select>
-{/render}
+
+ {render acl=$dhcpSetupACL}
+ <select name='dhcpParentNode' size=1>
+ {html_options options=$dhcpParentNodes selected=$dhcpParentNode}
+ </select>
+ {/render}
</td>
</tr>
<tr>