Code

Fixed ogroup saving
[gosa.git] / plugins / personal / samba / samba2.tpl
1 <table summary="" style="width:100%; vertical-align:top; text-align:left;" cellpadding="0" border="0">
3  <!-- Headline container -->
4  <tr>
5   <td colspan="2" style="width:50%; vertical-align:top;">
6    <h2><p class="center"><img class="center" alt="" align="middle" src="images/rightarrow.png" />&nbsp;{t}Generic{/t}</p></h2>
7   </td>
8  </tr>
9  <tr>
10   <td style="vertical-align:top;">
11    <table summary="">
12     <tr>
13      <td><label for="smbHome">{t}Samba home{/t}</label></td>
14      <td>
15       <input id="smbHome" name="smbHome" size=30 maxlength=60 {$smbHomeACL} value="{$smbHome}">
16       <select size="1" name="homeDrive" {$homeDriveACL}>
17        <option disabled>&nbsp;</option>
18        {html_options values=$drives output=$drives selected=$homeDrive}
19       </select>
20      </td>
21     </tr>
22    </table>
23   </td>
24   <td style="border-left:1px solid #A0A0A0">
25     &nbsp;
26   </td>
27   <td style="vertical-align:top;">
28    <table summary="">
29     <tr>
30      <td><label for="scriptPath">{t}Script path{/t}</label></td>
31      <td>
32       <input id="scriptPath" name="scriptPath" size=35 maxlength=60 {$scriptPathACL} value="{$scriptPath}">
33      </td>
34     </tr>
35     <tr>
36      <td><label for="profilePath">{t}Profile path{/t}</label></td>
37      <td>
38       <input id="profilePath" name="profilePath" size=35 maxlength=60 {$profilePathACL} value="{$profilePath}">
39      </td>
40     </tr>
41    </table>
42   </td>
43  </tr>
44 </table>
46 <p class="seperator">&nbsp;</p>
48 <h2><p class="center"><img class="center" alt="" align="middle" src="images/certs.png" />&nbsp;{t}Access options{/t}</p></h2>
50 <table summary="" style="width:100%; vertical-align:top; text-align:left;" cellpadding="4" border="0">
51  <tr>
52   <td style="width:50%;">
53    <input id="allow_pwchange" type=checkbox name="allow_pwchange" value="1" {$flagsP} {$allow_pwchangeACL}>
54    <label for="allow_pwchange">{t}Allow user to change password from client{/t}</label>
55    <br>
56    <input id="no_password_required" type=checkbox name="no_password_required" value="1" {$flagsN}  {$no_password_requiredACL}>
57    <label for="no_password_required">{t}Login from windows client requires no password{/t}</label>
58    <br>
59    <input id="temporary_disable" type=checkbox name="temporary_disable" value="1" {$flagsD} {$temporary_disableACL}>
60    <label for="temporary_disable">{t}Temporary disable samba account{/t}</label>
61    <br>
62   </td>
63   <td style="border-left:1px solid #A0A0A0">
64    &nbsp;
65   </td>
66   <td style="vertical-align:top; width:50%">
67    <input type=checkbox name="password_expires" value="1" {$flagsC} {$password_expiresACL}>
68    <label for="day">{t}Password expires on{/t}</label>
69    <select id="day" name=day onChange="createResult(this.form,this.form.sambaPwdMustChange);" {$sambaPwdMustChangeACL}>
70     {html_options values=$days output=$days selected=$day}
71    </select>
72    <select name=month onChange="populate(this.form,this.form.sambaPwdMustChange);" {$sambaPwdMustChangeACL}>
73     {html_options options=$months selected=$month}
74    </select>
75    <select name=year onChange="populate(this.form,this.form.sambaPwdMustChange);" {$sambaPwdMustChangeACL}>
76     {html_options values=$years output=$years selected=$year}
77    </select>
78    <input type="hidden" name="sambaPwdMustChange" value="{$sambaPwdMustChange}">
79   </td>
80  </tr>
81 </table>
83 <input type="hidden" name="sambaTab" value="sambaTab">
85 <!-- Place cursor -->
86 <script language="JavaScript" type="text/javascript">
87   <!-- 
88   // Populate expiery dialog
89   populate(document.mainform,document.mainform.sambaPwdMustChange);
90   -->
91 </script>