/usr/share/gosa/plugins/admin/systems/network.tpl is in gosa-plugin-systems 2.7.4+reloaded2-13+deb9u1.
This file is owned by root:root, with mode 0o644.
The actual contents of the file can be viewed below.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 169 170 171 172 173 174 175 176 177 178 179 180 181 182 183 184 185 | <h3>{t}Network settings{/t}</h3>
<table summary="{t}Network settings{/t}" width="100%">
<tr>
<td style='width:50%; '>
<table summary="{t}Address 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" value="{$ipHostNumber}">
{/render}
{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}
{foreach from=$additionalHostNumbers item=item key=key}
<br>
{render acl=$ipHostNumberACL}
<input 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[new]" action="additionalHostNumbers_add"}
{/render}
</td>
</tr>
<tr>
<td>
<LABEL for="macAddress">{t}MAC-address{/t}</LABEL>{if $MACisMust}{$must}{/if}
</td>
<td>
{render acl=$macAddressACL}
<input type='text' name="macAddress" id="macAddress" value="{$macAddress}">
{/render}
{render acl=$autonetACL}
<button type='submit' name='autonet'>{t}Auto detect{/t}</button>
{/render}
{if macManufacturer!=""}
<br><span style='font-size:xx-small;'>{$macManufacturer}</span>
{/if}
</td>
</tr>
</table>
<hr>
{if $dhcpEnabled}
<table summary="{t}DHCP settings{/t}">
{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}
</td>
<td colspan="2">
{t}Enable DHCP for this device{/t}
{render acl=$dhcpSetupACL}
{image path="images/lists/reload.png"}
{/render}
</td>
</tr>
{else}
<tr>
<td>
<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}
{if $dhcp_is_Account}
<tr>
<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}
<button type='submit' name='dhcpEditOptions'>{t}Edit settings{/t}</button>
</td>
</tr>
{/if}
</table>
{/if}
</td>
<td style='width:50%;' class='left-border'>
{if $DNSenabled==true}
{if $ZoneCnt}
{render acl=$dnsSetupACL}
{if $DNS_is_account == true}
{if $hide_dns_check_box}
<input type="hidden" name="DNS_is_account" value="1">
<input type="checkbox" name="dummy" value="1" disabled
checked="checked" />
{else}
<input type="checkbox" name="DNS_is_account" value="1"
checked="checked" onclick="$('test2').toggle(); $('propose_ip').toggle();"/>
{/if}
{else}
<input type="checkbox" name="DNS_is_account" value="1"
onclick="
$('test2').toggle();
$('propose_ip').toggle();
"/>
{/if}
{/render}
{t}Enable DNS for this device{/t}
{if $DNS_is_account == true}
<div style="padding-left:20px" id="test2">
{else}
<div style="padding-left:20px;display: none;" id="test2">
{/if}
<table summary="{t}DNS zone settings{/t}">
<tr>
<td><LABEL for="zoneName">{t}Zone{/t}</LABEL></td>
<td>
{render acl=$dnsSetupACL}
<select name="zoneName" id="zoneName" size=1>
{html_options values=$ZoneKeys output=$Zones selected=$zoneName}
</select>
{/render}
</td>
</tr>
<tr>
<td>{t}TTL{/t}</td>
<td>
{render acl=$dnsSetupACL}
<input type="text" name="dNSTTL" value="{$dNSTTL}" id="dNSTTL">
{/render}
</td>
</tr>
<tr>
<td valign="top">{t}DNS records{/t}</td>
<td>
{render acl=$dnsSetupACL}
{$records}
{/render}
</td>
</tr>
</table>
</div>
{else}
<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})
{image path="images/lists/reload.png"}
{/if}
</td>
{/if}
</tr>
</table>
<input type="hidden" name="network_tpl_posted" value="1">
<!--
vim:tabstop=2:expandtab:shiftwidth=2:filetype=php:syntax:ruler:
-->
|