Code

Updated get_ou it receives values from the config registry now.
[gosa.git] / gosa-plugins / fai / admin / fai / faiScriptEntry.tpl
2 <input type="hidden" name="SubObjectFormSubmitted" value="1">
3 <table width="100%" summary="{t}FAI script{/t}">
4  <tr>
5   <td valign="top" width="50%">
6    <h3>{t}Generic{/t}
7    </h3>
8    <table summary="{t}Generic settings{/t}">
9     <tr>
10      <td>{t}Name{/t}
11       {$must}&nbsp;
12      </td>
13      <td>
14       {render acl=$cnACL}
15        <input type='text' value="{$cn}" size="45" maxlength="80" name="cn">
16       {/render}
17      </td>
18     </tr>
19     <tr>
20      <td>{t}Description{/t}&nbsp;
21      </td>
22      <td>
23       {render acl=$descriptionACL}
24        <input type='text' size="45" maxlength="80" value="{$description}" name="description">
25       {/render}
26      </td>
27     </tr>
28    </table>
29   </td>
30   <td class='left-border'>&nbsp;
31   </td>
32   <td valign="top">
33    <h3>{t}Script attributes{/t}
34    </h3>
35    <table summary="{t}Priority configuration{/t}" width="100%">
36     <tr>
37      <td><LABEL for="FAIpriority">{t}Priority{/t}</LABEL>
38      </td>
39      <td>
40       {render acl=$FAIpriorityACL}
41        <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>
42         {html_options options=$FAIprioritys selected=$FAIpriority}
43        </select>
44       {/render}
45      </td>
46     </tr>
47    </table>
48   </td>
49  </tr>
50 </table>
51 <hr>
52 <h3><LABEL for="FAIscript">{t}Script{/t}</LABEL>
53 </h3>
54 {render acl=$FAIscriptACL}<textarea name="FAIscript" style="width:100%;height:300px;" id="FAIscript"                            rows="20" cols="120">
55  {$FAIscript}</textarea>
56 {/render}
57 <br>
58 <div>
59  {render acl=$FAIscriptACL}
60   <input type="file" name="ImportFile">&nbsp;
61  {/render}
62  {render acl=$FAIscriptACL}
63   <button type='submit' name='ImportUpload'>{t}Import script{/t}</button>
64  {/render}
65  {render acl=$FAIscriptACL}
66   {$DownMe}
67  {/render}
68 </div>
69 <br>
70 <hr>
71 <div class="plugin-actions">
72  
73  {if !$freeze}
74   <button type='submit' name='SaveSubObject'>
75   {msgPool type=applyButton}</button>&nbsp;
76   
77  {/if}
78  <button type='submit' name='CancelSubObject'>
79  {msgPool type=cancelButton}</button>
80 </div><!-- Place cursor -->
81 <script language="JavaScript" type="text/javascript"><!-- // First input field on page  focus_field('cn','description');  --></script>