/usr/share/gosa/plugins/admin/systems/services/dhcp/dhcp_host.tpl is in gosa-plugin-dhcp 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 | {* GOsa dhcp host - smarty template *}
<table width="100%" summary="{t}DHCP host configuration{/t}">
<tr>
<td class='right-border' style='width:50%;'>
<h3>{t}Generic{/t}</h3>
<table summary="{t}DHCP host configuration{/t}">
<tr>
<td>{t}Name{/t}{$must}</td>
<td>
{render acl=$acl}
<input {if $realGosaHost} disabled {/if} id='cn' type='text' name='cn'
value='{$cn}' title='{t}Name of host{/t}'>
{/render}
</td>
</tr>
<tr>
<td>{t}Fixed address{/t}</td>
<td>
{render acl=$acl}
<input {if $realGosaHost} disabled {/if} type='text' name='fixedaddr'
value='{$fixedaddr}' title='{t}Use host name or IP-address to assign fixed address{/t}'>
{/render}
</td>
</tr>
</table>
</td>
<td>
<h3>{t}Hardware{/t}</h3>
<table summary="{t}DHCP host configuration{/t}">
<tr>
<td>{t}Hardware type{/t}</td>
<td>
{render acl=$acl}
<select name='hwtype' {if $realGosaHost} disabled {/if}size=1>
{html_options options=$hwtypes selected=$hwtype}
</select>
{/render}
</td>
</tr>
<tr>
<td>{t}Hardware address{/t}{$must}</td>
<td>
{render acl=$acl}
<input {if $realGosaHost} disabled {/if} type='text'
name='dhcpHWAddress' value='{$dhcpHWAddress}'>
{/render}
</td>
</tr>
</table>
</td>
</tr>
</table>
<input type='hidden' name='dhcp_host_posted' value='1'>
<hr>
<!-- Place cursor in correct field -->
<script language="JavaScript" type="text/javascript">
<!-- // First input field on page
focus_field('cn');
-->
</script>
|