/usr/share/gosa/plugins/admin/fai/faiHookEntry.tpl is in gosa-plugin-fai 2.7.4+reloaded1-1.
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 | <input type="hidden" name="SubObjectFormSubmitted" value="1">
<table width="100%" summary="{t}FAI hook entry{/t}">
<tr>
<td valign="top" width="50%">
<h3>{t}Generic{/t}
</h3>
<table summary="{t}Generic settings{/t}">
<tr>
<td>{t}Name{/t}
{$must}
</td>
<td>
{render acl=$cnACL}
<input type='text' value="{$cn}" size="45" name="cn">
{/render}
</td>
</tr>
<tr>
<td>{t}Description{/t}
</td>
<td>
{render acl=$descriptionACL}
<input type='text' value="{$description}" size="45" name="description">
{/render}
</td>
</tr>
</table>
</td>
<td class='left-border'>
</td>
<td>
<h3>{t}Hook attributes{/t}
</h3><LABEL for="FAItask">{t}Task{/t} </LABEL>
{render acl=$FAItaskACL}
<select id="FAItask" name="FAItask" title="{t}Choose an existing FAI task{/t}" size=1>
{html_options values=$tasks output=$tasks selected=$FAItask}
</select>
{/render}
</td>
</tr>
</table>
<hr>
<h3><LABEL for="FAIscript">{t}Script{/t}</LABEL>
</h3>
{if $write_protect}
{t}This FAI script is write protected, due to its encoding. Editing may break it!{/t}
<br>
<button type='submit' name='editAnyway'>{t}Edit anyway{/t}</button>
{/if}
{render acl=$FAIscriptACL}
<textarea {if $write_protect} disabled {/if} {if !$write_protect} name="FAIscript" {/if}
style="width:100%;height:300px;" id="FAIscript" rows=20 cols=120>{$FAIscript}</textarea>
{/render}
<br>
<div>
{render acl=$FAIscriptACL}
<input type="file" name="ImportFile">
{/render}
{render acl=$FAIscriptACL}
<button type='submit' name='ImportUpload'>{t}Import script{/t}</button>
{/render}
{render acl=$FAIscriptACL}
{$DownMe}
{/render}
</div>
<hr>
<br>
<div class="plugin-actions">
{if !$freeze}
<button type='submit' name='SaveSubObject'>
{msgPool type=applyButton}</button>
{/if}
<button type='submit' name='CancelSubObject'>
{msgPool type=cancelButton}</button>
</div><!-- Place cursor -->
<script language="JavaScript" type="text/javascript"><!-- // First input field on page focus_field('cn','description'); --></script>
|