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><img alt="" align="middle" src="images/rightarrow.png"> {t}Generic{/t}</h2>
7 </td>
8 </tr>
9 <tr>
10 <td style="vertical-align:top;">
11 <table summary="">
12 <tr>
13 <td>{t}Samba home{/t}</td>
14 <td>
15 <input name="smbHome" size=30 maxlength=60 {$smbHomeACL} value="{$smbHome}">
16 <select size="1" name="homeDrive" {$homeDriveACL}>
17 <option disabled> </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
26 </td>
27 <td style="vertical-align:top;">
28 <table summary="">
29 <tr>
30 <td>{t}Script path{/t}</td>
31 <td>
32 <input name="scriptPath" size=35 maxlength=60 {$scriptPathACL} value="{$scriptPath}">
33 </td>
34 </tr>
35 <tr>
36 <td>{t}Profile path{/t}</td>
37 <td>
38 <input 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"> </p>
48 <h2><img alt="" align="middle" src="images/certs.png"> {t}Access options{/t}</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 type=checkbox name="allow_pwchange" value="1" {$flagsP} {$allow_pwchangeACL}>
54 {t}Allow user to change password from client{/t}
55 <br>
56 <input type=checkbox name="no_password_required" value="1" {$flagsN} {$no_password_requiredACL}>
57 {t}Login from windows client requires no password{/t}
58 <br>
59 <input type=checkbox name="temporary_disable" value="1" {$flagsD} {$temporary_disableACL}>
60 {t}Temporary disable samba account{/t}
61 <br>
62 </td>
63 <td style="border-left:1px solid #A0A0A0">
64
65 </td>
66 <td style="vertical-align:top; width:50%">
67 <input type=checkbox name="password_expires" value="1" {$flagsC} {$password_expiresACL}>
68 {t}Password expires on{/t}
69 <select 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 // First input field on page
89 document.mainform.sambaHomePath.focus();
91 // Populate expiery dialog
92 populate(document.mainform,document.mainform.sambaPwdMustChange);
93 -->
94 </script>