Code

Remove the tabs::tabs call from tabs_printers.inc because
[gosa.git] / trunk / gosa-plugins / goto / admin / systems / goto / workstationStartup.tpl
1 <table summary="" style="width:100%;">
2  <tr>
3   <td style="width:50%; vertical-align:top;">
4 <h2><img class="center" alt="" align="middle" src="images/penguin.png"> {t}Boot parameters{/t}</h2>
6    <table summary="" style="width:100%">
7         {if $fai_activated && $si_active && !$si_fai_action_failed}
8     <tr>
9      <td><LABEL for="gotoBootKernel">{t}Boot kernel{/t}</LABEL></td>
10      <td style="width:70%">
11 {render acl=$gotoBootKernelACL}
12         <select id="gotoBootKernel" name="gotoBootKernel">
13          {html_options options=$gotoBootKernels selected=$gotoBootKernel}
14                 </select>
15 {/render}
16       </td>
17     </tr>
18         {/if}
19     <tr>
20      <td><LABEL for="gotoKernelParameters">{t}Custom options{/t}</LABEL></td>
21      <td>
22 {render acl=$gotoKernelParametersACL}
23         <input name="gotoKernelParameters" id="gotoKernelParameters" size=25 maxlength=500
24                 value="{$gotoKernelParameters}" title="{t}Enter any parameters that should be passed to the kernel as append line during bootup{/t}">
25 {/render}
26      </td>
27     </tr>
28     <tr>
29      <td colspan="2" style='vertical-align:top;padding-top:3px;'><LABEL for="gotoLdapServer">{t}LDAP server{/t}</LABEL>
30 {render acl=$gotoLdapServerACL}
31 {if $member_of_ogroup}
32 (<input type='checkbox' name='gotoLdap_inherit' {if $gotoLdap_inherit} checked {/if} value="1"
33         onClick="document.mainform.submit();" class='center'>
34 &nbsp;{t}inherit from group{/t})
35 {if !$JS}
36         <input type='image' src="images/lists/reload.png" alt='{t}Reload{/t}' class='center'>
37 {/if}
38 {/if}
39 {/render}
40 {render acl=$gotoLdapServerACL_inherit}
41           {$gotoLdapServers}    
42 {/render}
43 {render acl=$gotoLdapServerACL_inherit}
44         <select name='ldap_server_to_add' id='ldap_server_to_add'>
45           {html_options options=$gotoLdapServerList}    
46     </select>
47 {/render}
48 {render acl=$gotoLdapServerACL_inherit}
49         <input type='submit' name='add_ldap_server' value="{msgPool type=addButton}" id='add_ldap_server'>
50 {/render}
51      </td>
52     </tr>
53    </table>
55   </td>
57   <td style="border-left:1px solid #A0A0A0">
58      &nbsp;
59   </td>
60   
61   <td style="vertical-align:top;">
63         {if !$fai_activated}
64                         <h2>{t}FAI Object assignment disabled. You can't use this feature until FAI is activated.{/t}</h2>                      
65         {elseif !$si_active}
66                 <b>{t}GOsa support daemon not configured{/t}</b><br>
67                 {t}FAI settings cannot be modified{/t}
68         {elseif $si_fai_action_failed}
69                 <b>{msgPool type=siError}</b><br>
70                 {t}Check if the GOsa support daemon (gosa-si) is running.{/t}
71                 <input type='submit' name='fai_si_retry' value="{t}retry{/t}">
72         {elseif $fai_activated}
74                 {if $FAIdebianMirror == "inherited"}
76                         <table>
77                                 <tr>
78                                         <td>
79                                                 <h2><img class="center" alt="" align="middle" src="plugins/goto/images/fai_settings.png">&nbsp;{t}FAI server{/t}
80                                                 </h2>
81                                         </td>
82                                         <td>
83                                                 <h2><img class="center" alt="" align="middle" src="plugins/goto/images/fai_settings.png">&nbsp;{t}Release{/t}
84                                                 </h2>
85                                         </td>
86                                 </tr>
87                                 <tr>
88                                         <td>
89         {render acl=$FAIdebianMirrorACL}
90                                                 <select name="FAIdebianMirror" {$FAIdebianMirrorACL} onchange='document.mainform.submit()'>
91                                                         {foreach from=$FAIservers item=val key=key}
92                                                                 {if $key == "inherited" || $key == "auto"} 
93                                                                 <option value="{$key}" {if $FAIdebianMirror == $key} selected {/if}>{t}{$key}{/t}</option>
94                                                                 {else}
95                                                                 <option value="{$key}" {if $FAIdebianMirror == $key} selected {/if}>{$key}</option>
96                                                                 {/if}
97                                                         {/foreach}
98                                                 </select>
99         {/render}
100                                         </td>
101                                         <td>
102                                                 <select name="FAIrelease"  disabled>
103                                                 {html_options options=$InheritedFAIrelease output=$InheritedFAIrelease selected=$InheritedFAIrelease}
104                                                 </select>
105                                         </td>
106                                 </tr>
107                         </table>
108                         <h2>
109                                 <img class="center" alt="" align="middle" src="plugins/goto/images/fai_settings.png">&nbsp;{t}Assigned FAI classes{/t}
110                         </h2>
111         {render acl=$FAIclassACL}
112                         {$FAIScriptlist}        
113         {/render}
114                 {else}
116                         <table>
117                                 <tr>
118                                         <td>
119                                                 <h2><img class="center" alt="" align="middle" src="plugins/goto/images/fai_settings.png">&nbsp;{t}FAI server{/t}
120                                                 </h2>
121                                         </td>
122                                         <td>
123                                                 <h2><img class="center" alt="" align="middle" src="plugins/goto/images/fai_settings.png">&nbsp;{t}Release{/t}
124                                                 </h2>
125                                         </td>
126                                 </tr>
127                                 <tr>
128                                         <td>
129         {render acl=$FAIdebianMirrorACL}
130                                                 <select name="FAIdebianMirror" {$FAIdebianMirrorACL} onchange='document.mainform.submit()'>
131                                                         {foreach from=$FAIservers item=val key=key}
132                                                                 {if $key == "inherited" || $key == "auto"} 
133                                                                 <option value="{$key}" {if $FAIdebianMirror == $key} selected {/if}>{t}{$key}{/t}</option>
134                                                                 {else}
135                                                                 <option value="{$key}" {if $FAIdebianMirror == $key} selected {/if}>{$key}</option>
136                                                                 {/if}
137                                                         {/foreach}
138                                                 </select>
139         {/render}
140         {if $javascript eq 'false'}
141         {render acl=$FAIdebianMirrorACL}
142                 <input type="submit" value="{t}set{/t}" name="refresh">
143         {/render}
144         {/if}
145                                         </td>
146                                         <td>
147         {render acl=$FAIreleaseACL}
148                                                 <select name="FAIrelease"  onchange='document.mainform.submit()' {$FAIclassACL}>
149                                                         {foreach from=$FAIservers.$FAIdebianMirror item=val key=key}
150                                                                 <option value="{$val}" {if $FAIrelease == $key} selected {/if}>{$val}</option>
151                                                         {/foreach}
152                                                 </select>
153         {/render}
154                                         </td>
155                                 </tr>
156                         </table>
157                         <h2>
158                                 <img class="center" alt="" align="middle" src="plugins/goto/images/fai_settings.png">&nbsp;{t}Assigned FAI classes{/t}
159                         </h2>
160         {render acl=$FAIclassACL}
161                         {$FAIScriptlist}        
162         {/render}
164         {render acl=$FAIclassACL}
165                         <select name="FAIclassesSel">
166                                 {foreach from=$FAIclasses item=val key=key}
167                                         <option value="{$key}">{$key}&nbsp;[{$val}]</option>
168                                 {/foreach}
169                         </select>       
170         {/render}
171         {render acl=$FAIclassACL}
172                         <input name="AddClass" value="{msgPool type=addButton}" type="submit"> 
173         {/render}
174         <!--            <input name="DelClass" value="{msgPool type=delButton}" type="submit"> -->
175                         {/if}
177                 {/if}
178                 </td>
179         </tr>
180 </table>
182 <table summary="" style="width:100%;">
183  <tr><td colspan=2><p class="plugbottom" style="margin-top:0px;"></p></td></tr>
185  <tr>
186   <td style="width:50%; vertical-align:top; border-right:1px solid #B0B0B0">
187    <h2>
188     <img class="center" alt="" align="middle" src="plugins/goto/images/hardware.png"> {t}Kernel modules (format: name parameters){/t}
189    </h2>
190 {render acl=$gotoModulesACL}
191     <select style="width:100%; height:150px;" name="modules_list[]" size=15 multiple title="{t}Add additional modules to load on startup{/t}">
192      {html_options values=$gotoModules output=$gotoModules}
193          <option disabled>&nbsp;</option>
194     </select>
195 {/render}
196     <br>
197 {render acl=$gotoModulesACL}
198     <input name="module" size=30 align=middle maxlength=30>
199 {/render}
200 {render acl=$gotoModulesACL}
201     <input type=submit value="{msgPool type=addButton}" name="add_module">&nbsp;
202 {/render}
203 {render acl=$gotoModulesACL}
204     <input type=submit value="{msgPool type=delButton}" name="delete_module">
205 {/render}
206   </td>
208   <td style="vertical-align:top;">
209         <h2><img class="center" alt="" src="plugins/goto/images/edit_share.png" align="middle">&nbsp;<LABEL for="gotoShare">{t}Shares{/t}</LABEL></h2>
210         <table summary="" style="width:100%">
211                 <tr>
212                         <td>
213 {render acl=$gotoShareACL}
214                         <select style="width:100%;height:150px;" name="gotoShare" multiple size=4 id="gotoShare">
215                                              {html_options values=$gotoShareKeys output=$gotoShares}
216                                                                 <option disabled>&nbsp;</option>
217                                 </select>
218 {/render}
219                                 <br>
220 {render acl=$gotoShareACL}
221                         <select name="gotoShareSelection">
222                                                     {html_options values=$gotoShareSelectionKeys output=$gotoShareSelections}
223                                                         <option disabled>&nbsp;</option>
224                                 </select>
225 {/render}
226 {render acl=$gotoShareACL}
227                                 <input type="text" size=15 name="gotoShareMountPoint" value="{t}Mountpoint{/t}">
228 {/render}
229 {render acl=$gotoShareACL}
230                                 <input type="submit" name="gotoShareAdd" value="{msgPool type=addButton}">
231 {/render}
232 {render acl=$gotoShareACL}
233                                 <input type="submit" name="gotoShareDel" value="{t}Remove{/t}" {if $gotoSharesCount == 0} disabled {/if}>
234 {/render}
235                         </td>
236                 </tr>
237         </table>
238   </td>
239  </tr>
240 </table>
241 <input name="WorkstationStarttabPosted" type="hidden" value="1">
242 <!-- Place cursor -->
243 <script language="JavaScript" type="text/javascript">
244   <!-- // First input field on page
245         focus_field('gotoLdapServer');
246   -->
247 </script>