/usr/share/gosa/plugins/admin/fai/faiTemplateEntry.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 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 186 187 188 189 190 191 192 193 194 195 196 197 198 199 200 201 202 203 204 205 206 207 208 209 210 211 212 213 | <input type="hidden" name="SubObjectFormSubmitted" value="1">
<h3>{t}Generic{/t}
</h3>
<table width="100%" summary="{t}FAI template entry{/t}">
<tr>
<td style='width:50%;padding-right:10px;' class='right-border'>
<table style='width:100%;' summary="{t}Generic settings{/t}">
<tr>
<td>{t}File name{/t}{$must} </td>
<td style='width:100%;'>
{render acl=$cnACL}
<input value="{$templateFile}" type='text' name="templateFile">
{/render}
</td>
</tr>
<tr>
<td>
<LABEL for="templatePath">{t}Destination path{/t}{$must} </LABEL></td>
<td>
{render acl=$FAItemplatePathACL}
<input type="text" name="templatePath" value="{$templatePath}" id="templatePath" >
{/render}
</td>
</tr>
</table>
</td>
<td>{t}Description{/t}
{render acl=$descriptionACL}
<input value="{$description}" name="description" type='text'>
{/render}
</td>
</tr>
</table>
<hr>
<table width="100%" summary="{t}Template attributes{/t}">
<tr>
<td colspan=2>
<h3>{t}Template attributes{/t}</h3>
</td>
</tr>
<tr>
<td style='width:50%;' class='right-border'>
<table summary="{t}Template file status{/t}">
<tr>
<td>{t}File{/t}{$must}:
{$status}
{if $bStatus}
{image path='images/save.png' action='getFAItemplate' title='{t}Save template{/t}...'}
{image path='images/lists/edit.png' action='editFAItemplate' title='{t}Edit template{/t}...'}
{/if}
</td>
</tr>
{if $bStatus}
<tr>
<td>{t}Full path{/t}: <i>
{$FAItemplatePath}</i>
</td>
</tr>
{/if}
<tr>
<td class='center'>
{render acl=$FAItemplateFileACL}
<input type="file" name="FAItemplateFile" value="" id="FAItemplateFile">
{/render}
{render acl=$FAItemplateFileACL}
<button type='submit' name='TmpFileUpload'>{t}Upload{/t}</button>
{/render}
</td>
</tr>
</table>
</td>
<td>
<table summary="{t}File attributes{/t}">
<tr>
<td><LABEL for="user">{t}Owner{/t}{$must} </LABEL>
</td>
<td>
{render acl=$FAIownerACL}
<input type="text" name="user" value="{$user}" id="user" size="15">
{/render}
</td>
</tr>
<tr>
<td><LABEL for="group">{t}Group{/t}{$must} </LABEL>
</td>
<td>
{render acl=$FAIownerACL}
<input type="text" name="group" value="{$group}" id="group" size="15">
{/render}
<br>
<br>
</td>
</tr>
<tr>
<td>{t}Access{/t}{$must}
</td>
<td>
<table summary="{t}File permissions{/t}"><colgroup width="55" span="3"></colgroup>
<tr><th>{t}Class{/t}</th><th>{t}Read{/t}</th><th>{t}Write{/t}</th><th>{t}Execute{/t}</th><th> </th><th>{t}Special{/t}</th><th> </th>
</tr>
<tr>
<td>{t}User{/t}
</td>
{render acl=$FAImodeACL}
<td align="center">
<input type="checkbox" name="u4" value="4" {$u4}>
</td>
{/render}
{render acl=$FAImodeACL}
<td align="center">
<input type="checkbox" name="u2" value="2" {$u2}>
</td>
{/render}
{render acl=$FAImodeACL}
<td align="center">
<input type="checkbox" name="u1" value="1" {$u1}>
</td>
{/render}
<td>
</td>
{render acl=$FAImodeACL}
<td align="center">
<input type="checkbox" name="s4" value="4" {$s4}>
</td>
{/render}
<td>(SUID)
</td>
</tr>
<tr>
<td>{t}Group{/t}
</td>
{render acl=$FAImodeACL}
<td align="center">
<input type="checkbox" name="g4" value="4" {$g4}>
</td>
{/render}
{render acl=$FAImodeACL}
<td align="center">
<input type="checkbox" name="g2" value="2" {$g2}>
</td>
{/render}
{render acl=$FAImodeACL}
<td align="center">
<input type="checkbox" name="g1" value="1" {$g1}>
</td>
{/render}
<td>
</td>
{render acl=$FAImodeACL}
<td align="center">
<input type="checkbox" name="s2" value="2" {$s2}>
</td>
{/render}
<td>(SGID)
</td>
</tr>
<tr>
<td>{t}Others{/t}
</td>
{render acl=$FAImodeACL}
<td align="center">
<input type="checkbox" name="o4" value="4" {$o4}>
</td>
{/render}
{render acl=$FAImodeACL}
<td align="center">
<input type="checkbox" name="o2" value="2" {$o2}>
</td>
{/render}
{render acl=$FAImodeACL}
<td align="center">
<input type="checkbox" name="o1" value="1" {$o1}>
</td>
{/render}
<td>
</td>
{render acl=$FAImodeACL}
<td align="center">
<input type="checkbox" name="s1" value="1" {$s1}>
</td>
{/render}
<td>({t}sticky{/t})
</td>
</tr>
</table>
</td>
</tr>
</table>
</td>
</tr>
<tr>
<td colspan=2>
<br>
<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>
</td>
</tr>
</table>
<input type='hidden' name='FAItemplateEntryPosted' value='1'><!-- Place cursor -->
<script language="JavaScript" type="text/javascript"><!-- // First input field on page focus_field('cn','description'); --></script>
|