Code

9b9252eefe44e0dbd46c59442badb5d5f79fcf59
[gosa.git] / gosa-plugins / opsi / admin / opsiLicenses / licenseGeneric.tpl
1 {if !$init_successfull}
2 <br>
3 <b>{msgPool type=siError}</b><br>
4 {t}Check if the GOsa support daemon (gosa-si) is running.{/t}&nbsp;
5 <input type='submit' name='retry_init' value="{t}retry{/t}">
6 <br>
7 <br>
8 {else}
11 <table width="100%">
12   <tr> 
13     <td colspan="3">
14         <!-- GENERIC -->
15         <h2>{t}Generic{/t}</h2>
16         <table>
17           <tr> 
18             <td>{t}Name{/t}</td>
19             <td>
20               {if $initially_was_account}
21                 <input type='text' value='{$cn}' disabled>
22               {else}
23 {render acl=$cnACL}
24               <input type='text' value='{$cn}' name='cn'>
25 {/render}
26               {/if}
27             </td>
28           </tr>
29           <tr> 
30             <td>{t}Description{/t}</td>
31             <td>
32 {render acl=$descriptionACL}
33               <input type='text' value='{$description}' name='description'>
34 {/render}
35             </td>
36           </tr>
37         </table>
39     </td>
40   </tr>
41   <tr>
42     <td colspan="3">
43       <p class='separator'>&nbsp;</p>
44     </td>
45   </tr>
46   <tr> 
47     <td style='width:33%'>
48         <!-- LICENSES -->
49         <h2>{t}Licenses{/t}</h2>
50         <table style='width:100%;'>
51           <tr> 
52             <td>
53               <select name='licenses[]' multiple size=4 style="width:100%;">
54                 {html_options options=$licenses}
55               </select>
56             </td>
57           </tr>
58         </table>
60     </td>
61     <td style='width:33%'>
62         <!-- APPLICATIONS -->
63         <h2>{t}Applications{/t}</h2>
64         <table style='width:100%;'>
65           <tr> 
66             <td>
67               <select name='productIds[]' multiple size=4 style="width:100%;">
68                 {html_options options=$productIds}
69               </select><br>
70               <select name='availableProduct'>
71                 {html_options options=$availableProductIds}
72               </select>
73               <input type='submit' name='addProduct' value='{msgPool type='addButton'}'>
74               <input type='submit' name='removeProduct' value='{msgPool type='delButton'}'>
75             </td>
76           </tr>
77         </table>
79     </td>
80     <td>
81         <!-- SOFTWARE -->
82         <h2>{t}Windows software IDs{/t}</h2>
83         <table style='width:100%;'>
84           <tr> 
85             <td>
86               <select name='softwareIds[]' multiple size=4 style="width:100%;">
87                 {html_options options=$softwareIds}
88               </select>
89               <input type='text' name='newSoftwareId' value='' size=10>
90               <input type='submit' name='addSoftware' value='{msgPool type='addButton'}'>
91               <input type='submit' name='removeSoftware' value='{msgPool type='delButton'}'>
92             </td>
93           </tr>
94         </table>
96     </td>
97   </tr>
98 </table>
99 <input name='opsiLicensesPosted' value='1' type='hidden'>
100 {/if}