/usr/share/gosa/plugins/admin/systems/services/dhcp/dhcp_subnet.tpl is in gosa-plugin-dhcp 2.7.4+reloaded2-9ubuntu1.
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 | {* GOsa dhcp subnet - smarty template *}
<h3>{t}Generic{/t}</h3>
<table width="100%" summary="{t}DHCP subnet settings{/t}">
<tr>
<td width="50%">
<table summary="{t}DHCP subnet settings{/t}">
<tr>
<td>{t}Network address{/t}{$must}</td>
<td>
{render acl=$acl}
<input id='cn' type='text' name='cn' value='{$cn}'>
{/render}
</td>
</tr>
<tr>
<td>{t}Net mask{/t}{$must}</td>
<td>
{render acl=$acl}
<input type='text' name='dhcp_netmask' value='{$dhcp_netmask}'>
{/render}
</tr>
</table>
</td>
<td>
<table summary="{t}DHCP subnet settings{/t}">
<tr>
<td>
{render acl=$acl}
<input type="checkbox" name="use_range" value="1"
onChange="changeState('range_start');changeState('range_stop');" {$use_range}>
</td>
{/render}
<td>{t}Range for dynamic address assignment{/t}</td>
</tr>
<tr>
<td> </td>
<td>
{render acl=$acl}
<input type='text' id='range_start' name='range_start' value='{$range_start}' {$range_disabled}>
{/render}
<b>-</b>
{render acl=$acl}
<input type='text' id='range_stop' name='range_stop' value='{$range_stop}' {$range_disabled}>
{/render}
</td>
</tr>
</table>
</td>
</tr>
</table>
<input type='hidden' name='dhcp_subnet_posted' value='1'>
<hr>
<!-- Place cursor in correct field -->
<script language="JavaScript" type="text/javascript">
<!-- // First input field on page
focus_field('cn');
-->
</script>
|