Code

gotoNtpServer is now multivalue
[gosa.git] / plugins / admin / systems / terminal.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 'default'}
8      <td colspan=2>{t}Terminal template{/t}</td>
9      {else}
10      <td><LABEL for="cn">{t}Terminal name{/t}</LABEL>{$must}</td>
11      <td>
12       <input name="cn" id="cn" size=18 maxlength=60 value="{$cn}">
13      </td>
14      {/if}
15     </tr>
16     <tr>
17      <td><LABEL for="base">{t}Base{/t}</LABEL>{$must}</td>
18      <td>
19       <select size="1" id="base" name="base" title="{t}Choose subtree to place terminal in{/t}">
20        {html_options options=$bases selected=$base_select}
21       </select>
22                 <input type="image" name="chooseBase" src="images/folder.png" class="center" title="{t}Select a base{/t}">
23     </tr>
24    </table>
25   </td>
26   <td style="vertical-align:top;border-left:1px solid #A0A0A0;" >
27    <table summary="">
28     <tr>
29      <td><LABEL for="gotoMode">{t}Mode{/t}</LABEL></td>
30      <td>
31       <select id="gotoMode" name="gotoMode" title="{t}Select terminal mode{/t}" {$gotoModeACL}>
32        {html_options options=$modes selected=$gotoMode_select}
33       </select>
34      </td>
35     </tr>
36     <tr>
37      <td><LABEL for="gotoSyslogServer">{t}Syslog server{/t}</LABEL></td>
38      <td>
39       <select name="gotoSyslogServer" id="gotoSyslogServer" title="{t}Choose server to use for logging{/t}" {$gotoSyslogServerACL}>
40        {html_options values=$syslogservers output=$syslogservers selected=$gotoSyslogServer_select}
41       </select>
42      </td>
43     </tr>
44         </table>
45   </td>
46  </tr>
47 </table>
48 <p class="seperator" style="margin:0px; padding:0px;">&nbsp;</p>
49 <table style="width:100%;">
50  <tr>
51   <td style="width:50%;vertical-align:top;">
52    <table summary="">
53     <tr>
54      <td><LABEL for="gotoTerminalPath">{t}Root server{/t}</LABEL></td>
55      <td>
56       <select name="gotoTerminalPath" id="gotoTerminalPath" title="{t}Select NFS root filesystem to use{/t}" {$gotoTerminalPathACL}>
57        {html_options values=$nfsservers output=$nfsservers selected=$gotoTerminalPath_select}
58       </select>
59      </td>
60     </tr>
61     <tr>
62      <td><LABEL for="gotoSwapServer">{t}Swap server{/t}</LABEL></td>
63      <td>
64       <select name="gotoSwapServer" id="gotoSwapServer" title="{t}Choose NFS filesystem to place swap files on{/t}" {$gotoSwapServerACL}>
65        {html_options values=$nfsservers output=$nfsservers selected=$gotoSwapServer_select}
66       </select>
67      </td>
68     </tr>
69    </table>
70   </td>
71   <td style="border-left:1px solid #A0A0A0;">
72         <table width="100%">
73     <tr>
74      <td colspan="2"><LABEL for="gotoNtpServerSelected">{t}NTP server{/t}</LABEL><br>
75       <select name="gotoNtpServerSelected[]" id="gotoNtpServerSelected" multiple size=5 style="width:100%;"
76                         title="{t}Choose server to use for synchronizing time{/t}" {$gotoNtpServerACL}>
77        {html_options options=$gotoNtpServer_select}
78       </select>
79          <br>
80       <select name="gotoNtpServers" id="gotoNtpServers" {$gotoNtpServerACL}>
81        {html_options values=$ntpservers output=$ntpservers }
82       </select>
83                 <input type="submit" name="addNtpServer" value="{t}Add{/t}">
84                 <input type="submit" name="delNtpServer" value="{t}Delete{/t}">
85      </td>
86     </tr>
87    </table>
89   </td>
90  </tr>
91 </table>
92 <p class="plugbottom" style="margin-bottom:0px; padding:0px;">&nbsp;</p>
94 {$netconfig}
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 disabled>&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>
113 <!-- Place cursor -->
114 <script language="JavaScript" type="text/javascript">
115   <!-- // First input field on page
116   document.mainform.cn.focus();
117   -->
118 </script>