Code

Remove the tabs::tabs call from tabs_printers.inc because
[gosa.git] / trunk / gosa-plugins / goto / admin / systems / goto / workstation.tpl
1 <h2><img class="center" alt="" align="middle" src="images/rightarrow.png"> {t}Properties{/t}</h2>
2 <table summary="" style="width:100%;">
3  <tr>
4   <td style="width:50%; vertical-align:top;">
5    <table summary="">
6     <tr>
7 {if $cn eq 'wdefault'}
8      <td colspan=2>{t}Workstation template{/t}</td>
9 {else}
10      <td><LABEL for="cn">{t}Workstation name{/t}</LABEL>{$must}</td>
11      <td>
12 {render acl=$cnACL}
13       <input name="cn" id="cn" size=18 maxlength=60 value="{$cn}">
14 {/render}
15      </td>
16 {/if}
17     </tr>
18     <tr>
19      <td><LABEL for="description">{t}Description{/t}</LABEL></td>
20      <td>
21 {render acl=$descriptionACL}
22       <input name="description" id="description" size=18 maxlength=60 value="{$description}">
23 {/render}
24      </td>
25     </tr>
26     <tr>
27      <td><LABEL for="cn">{t}Location{/t}</LABEL></td>
28      <td>
29 {render acl=$lACL}
30       <input name="l" id="l" size=18 maxlength=60 value="{$l}">
31 {/render}
32      </td>
33     </tr>
34     <tr>
35      <td><LABEL for="base">{t}Base{/t}</LABEL>{$must}</td>
36      <td>
37 {render acl=$baseACL}
38       <select id="base" size="1" name="base" title="{t}Choose subtree to place group in{/t}">
39        {html_options options=$bases selected=$base_select}
40       </select>
41 {/render}
42 {render acl=$baseACL disable_picture='images/lists/folder_grey.png'}
43         <input type="image" name="chooseBase" src="images/lists/folder.png" class="center" title="{t}Select a base{/t}">
44 {/render}
45      </td>
46     </tr>
47    </table>
49         {$host_key}
51   </td>
52   <td  style="vertical-align:top;border-left:1px solid #A0A0A0;">
53    <table summary="">
54     <tr>
55      <td>{t}Mode{/t}</td>
56      <td>
57 {render acl=$gotoModeACL}
58       <select name="gotoMode" title="{t}Select terminal mode{/t}">
59        {html_options options=$modes selected=$gotoMode_select}
60       </select>
61 {/render}
62      </td>
63     </tr>
64     <tr>
65      <td><LABEL for="gotoSyslogServer">{t}Syslog server{/t}</LABEL></td>
66      <td>
67 {render acl=$gotoSyslogServerACL}
68       <select id="gotoSyslogServer" name="gotoSyslogServer" title="{t}Choose server to use for logging{/t}">
69        {html_options options=$syslogservers selected=$gotoSyslogServer_select}
70       </select>
71 {/render}
72      </td>
73     </tr>
74    </table>
75 <p class="seperator">&nbsp;</p>
76    <table width="100%">
77     <tr>
78      <td colspan="2">
79 {if $member_of_ogroup}
80 {render acl=$gotoNtpServerACL}
81         <input type="checkbox" value="1" name="inheritTimeServer"
82             {if $inheritTimeServer } checked {/if}
83             onClick="javascript:
84                     changeState('gotoNtpServerSelected');
85                     changeState('gotoNtpServers');
86                     changeState('addNtpServer');
87                     changeState('delNtpServer');">{t}Inherit time server attributes{/t}
88 {/render}
89 {else}
90         <input disabled type='checkbox' name='option_disabled'>{t}Inherit time server attributes{/t}
91 {/if}
92      </td>
93     </tr>
94     <tr>
95      <td colspan="2" style='padding-left:14px;padding-top:5px;'><LABEL for="gotoNtpServerSelected">{t}NTP server{/t}</LABEL><br>
96 {render acl=$gotoNtpServerACL}
97       <select name="gotoNtpServerSelected[]" id="gotoNtpServerSelected" multiple size=5 style="width:100%;"
98             title="{t}Choose server to use for synchronizing time{/t}" {if $inheritTimeServer} disabled {/if}>
99        {html_options options=$gotoNtpServer_select}
100       </select>
101 {/render}
102      <br>
103 {render acl=$gotoNtpServerACL}
104       <select name="gotoNtpServers" id="gotoNtpServers" {if $inheritTimeServer} disabled {/if} >
105        {html_options options=$gotoNtpServers}
106       </select>
107 {/render}
108 {render acl=$gotoNtpServerACL}
109         <input type="submit" name="addNtpServer" value="{msgPool type=addButton}"     id="addNtpServer"
110          {if $inheritTimeServer} disabled {/if}>
111 {/render}
112 {render acl=$gotoNtpServerACL}
113         <input type="submit" name="delNtpServer" value="{msgPool type=delButton}"  id="delNtpServer" 
114          {if $inheritTimeServer} disabled {/if}>
115 {/render}
116      </td>
117     </tr>
118    </table>
119   </td>
120  </tr>
121 </table>
122 {if $cn neq 'wdefault'}
123 <p class="plugbottom" style="margin-bottom:0px; padding:0px;">&nbsp;</p>
125 {$netconfig}
126 {/if}
127 <p class="plugbottom" style="margin-bottom:0px; padding:0px;">&nbsp;</p>
129 {if $fai_activated}
130 <h2><img class="center" alt="" align="middle" src="images/rocket.png"> {t}Action{/t}</h2>
131 <table width="100%">
132 <tr><td style="border-right:1px solid #AAA; width:50%">
133 <table summary="">
134  <tr>
135   <td>
136 {render acl=$FAIstateACL}
137    <select size="1" name="saction" title="{t}Select action to execute for this terminal{/t}">
138     <option>&nbsp;</option>
139     {html_options options=$actions}
140    </select>
141 {/render}
142   </td>
143   <td>
144 {if $currently_installing}
145 {render acl=r}
146    <input type=submit name="action" value="{t}Execute{/t}">
147 {/render}
148 {else}
149 {render acl=$FAIstateACL}
150    <input type=submit name="action" value="{t}Execute{/t}">
151 {/render}
152 {/if}
153   </td>
154  </tr>
155 </table>
156 {/if}
157 </td>
158 <td>
159 {if $member_of_ogroup}
160    <input type='submit' name='inheritAll' value='{t}Inherit all values from group{/t}'>
161 {/if}
162 </td>
163 </tr></table>
164 <input type="hidden" name="workgeneric_posted" value="1">
165  {if $cn eq 'wdefault'}
166 <!-- Place cursor -->
167                 <script language="JavaScript" type="text/javascript">
168                   <!-- // First input field on page
169                         focus_field('l');
170                   -->
171                 </script>
172      {else}
173                 <script language="JavaScript" type="text/javascript">
174                   <!-- // First input field on page
175                         focus_field('cn');
176                   -->
177                 </script>
178      {/if}