/usr/share/gosa/plugins/admin/fai/faiScriptEntry.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 82 83 84 85 86 87 88 89 | <input type="hidden" name="SubObjectFormSubmitted" value="1">
<table width="100%" summary="{t}FAI script{/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" maxlength="80" name="cn">
{/render}
</td>
</tr>
<tr>
<td>{t}Description{/t}
</td>
<td>
{render acl=$descriptionACL}
<input type='text' size="45" maxlength="80" value="{$description}" name="description">
{/render}
</td>
</tr>
</table>
</td>
<td class='left-border'>
</td>
<td valign="top">
<h3>{t}Script attributes{/t}
</h3>
<table summary="{t}Priority configuration{/t}" width="100%">
<tr>
<td><LABEL for="FAIpriority">{t}Priority{/t}</LABEL>
</td>
<td>
{render acl=$FAIpriorityACL}
<select id="FAIpriority" name="FAIpriority" title="{t}Choose a priority. Low values result in an earlier, high values in a later execution.{/t}" size=1>
{html_options options=$FAIprioritys selected=$FAIpriority}
</select>
{/render}
</td>
</tr>
</table>
</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>
<br>
<hr>
<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>
|