Code

7811521d7b8ef6bef67a829cb0a8830a7a33f2ec
[gosa.git] / plugins / admin / systems / 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       <input name="cn" id="cn" size=18 maxlength=60 value="{$cn}" {$cnACL}>
13      </td>
14      {/if}
15     </tr>
16     <tr>
17      <td><LABEL for="cn">{t}Location{/t}</LABEL></td>
18      <td>
19       <input name="l" id="l" size=18 maxlength=60 value="{$l}" {$lACL}>
20      </td>
21     </tr>
22     <tr>
23      <td><LABEL for="base">{t}Base{/t}</LABEL>{$must}</td>
24      <td>
25       <select size="1" id="base" name="base" title="{t}Choose subtree to place terminal in{/t}" {$baseACL}>
26        {html_options options=$bases selected=$base_select}
27       </select>
28             {if $baseACL == ""}
29             <input type="image" name="chooseBase" src="images/folder.png" class="center" title="{t}Select a base{/t}">
30         {else}
31             <img src="images/folder_gray.png" class="center" title="{t}Select a base{/t}">
32         {/if}
33     </tr>
34    </table>
35   </td>
36   <td  style="vertical-align:top;border-left:1px solid #A0A0A0;">
37    <table summary="">
38     <tr>
39      <td>{t}Mode{/t}</td>
40      <td>
41       <select name="gotoMode" title="{t}Select terminal mode{/t}" {$gotoModeACL}>
42        {html_options options=$modes selected=$gotoMode_select}
43       </select>
44      </td>
45     </tr>
46     <tr>
47      <td><LABEL for="gotoSyslogServer">{t}Syslog server{/t}</LABEL></td>
48      <td>
49       <select id="gotoSyslogServer" name="gotoSyslogServer" title="{t}Choose server to use for logging{/t}" {$gotoSyslogServerACL}>
50        {html_options options=$syslogservers selected=$gotoSyslogServer_select}
51       </select>
52      </td>
53     </tr>
54    </table>
55 <p class="seperator">&nbsp;</p>
56    <table width="100%">
57     <tr>
58      <td colspan="2">
59         <input type="checkbox" value="1" name="inheritTimeServer"  {$gotoNtpServerACL}
60             {if $inheritTimeServer } checked {/if}
61             onClick="javascript:
62                     changeState('gotoNtpServerSelected');
63                     changeState('gotoNtpServers');
64                     changeState('addNtpServer');
65                     changeState('delNtpServer');">{t}Inherit time server attributes{/t}
66      </td>
67     </tr>
68     <tr>
69      <td colspan="2" style='padding-left:14px;padding-top:5px;'><LABEL for="gotoNtpServerSelected">{t}NTP server{/t}</LABEL><br>
70       <select name="gotoNtpServerSelected[]" id="gotoNtpServerSelected" multiple size=5 style="width:100%;"
71             title="{t}Choose server to use for synchronizing time{/t}" {$gotoNtpServerACL} {if $inheritTimeServer} disabled {/if}>
72        {html_options options=$gotoNtpServer_select}
73       </select>
74      <br>
75       <select name="gotoNtpServers" id="gotoNtpServers" {$gotoNtpServerACL} {if $inheritTimeServer} disabled {/if} >
76        {html_options options=$gotoNtpServers}
77       </select>
78         <input type="submit" name="addNtpServer" value="{t}Add{/t}"     id="addNtpServer" {$gotoNtpServerACL}
79          {if $inheritTimeServer} disabled {/if}>
80         <input type="submit" name="delNtpServer" value="{t}Delete{/t}"  id="delNtpServer" {$gotoNtpServerACL}
81          {if $inheritTimeServer} disabled {/if}>
82      </td>
83     </tr>
84    </table>
85   </td>
86  </tr>
87 </table>
89 {if $cn neq 'wdefault'}
90 <p class="plugbottom" style="margin-bottom:0px; padding:0px;">&nbsp;</p>
92 {$netconfig}
93 {/if}
95 {if $fai_activated}
96 <p class="plugbottom" style="margin-bottom:0px; padding:0px;">&nbsp;</p>
97 <h2><img class="center" alt="" align="middle" src="images/rocket.png"> {t}Action{/t}</h2>
98 <table summary="">
99  <tr>
100   <td>
101    <select size="1" name="saction" {$actionACL} title="{t}Select action to execute for this terminal{/t}">
102     <option>&nbsp;</option>
103     {html_options options=$actions}
104    </select>
105   </td>
106   <td>
107    <input type=submit name="action" value="{t}Execute{/t}">
108   </td>
109  </tr>
110 </table>
111 {/if}
112 <input type="hidden" name="workgeneric_posted" value="1">
113  {if $cn eq 'wdefault'}
114 <!-- Place cursor -->
115                 <script language="JavaScript" type="text/javascript">
116                   <!-- // First input field on page
117                   document.mainform.l.focus();
118                   -->
119                 </script>
120      {else}
121                 <script language="JavaScript" type="text/javascript">
122                   <!-- // First input field on page
123                   document.mainform.cn.focus();
124                   -->
125                 </script>
126      {/if}