1 <h2>
2 <input type="checkbox" name="pureftpd" value="B" {$pureftpdState} {$pureftpdACL}
3 onclick="{$changeState}" >
4 {t}FTP account{/t}
5 </h2>
7 <table summary="" style="width:100%; vertical-align:top; text-align:left;" cellpadding=0 border=0>
9 <!-- Headline container -->
10 <tr>
11 <td style="width:50%; vertical-align:top;">
12 <table summary="" style="margin-left:4px;">
13 <tr>
14 <td colspan=2 style="vertical-align:top;">
15 <b>{t}Bandwidth{/t}</b>
16 </td>
17 </tr>
18 <tr>
19 <td>{t}Upload bandwidth{/t}</td>
20 <td>
21 {render acl=$FTPUploadBandwidthACL}
22 <input name="FTPUploadBandwidth" id="FTPUploadBandwidth" size=7 maxlength=7 value="{$FTPUploadBandwidth}" {$fstate} >
23 {/render}
24 {t}kb/s{/t}</td>
25 </tr>
26 <tr>
27 <td>{t}Download bandwidth{/t}</td>
28 <td>
29 {render acl=$FTPDownloadBandwidthACL}
30 <input name="FTPDownloadBandwidth" id="FTPDownloadBandwidth" size=7 maxlength=7 value="{$FTPDownloadBandwidth}" {$fstate} >
31 {/render}
32 {t}kb/s{/t}</td>
33 </tr>
34 </table>
35 </td>
36 <td rowspan=2 style="border-left:1px solid #A0A0A0">
37
38 </td>
39 <td>
40 <table summary="">
41 <tr>
42 <td colspan=2 style="vertical-align:top;">
43 <b>{t}Quota{/t}</b>
44 </td>
45 </tr>
46 <tr>
47 <td>{t}Files{/t}</td>
48 <td>
49 {render acl=$FTPQuotaFilesACL}
50 <input name="FTPQuotaFiles" id="FTPQuotaFiles" size=7 maxlength=10 value="{$FTPQuotaFiles}" {$fstate} >
51 {/render}
52 </td>
53 </tr>
54 <tr>
55 <td>{t}Size{/t}</td>
56 <td>
57 {render acl=$FTPQuotaMBytesACL}
58 <input name="FTPQuotaMBytes" id="FTPQuotaMBytes" size=7 maxlength=10 value="{$FTPQuotaMBytes}" {$fstate} >
59 {/render}
60 {t}MB{/t}
61 </td>
62 </tr>
63 </table>
64 </td>
65 </tr>
66 <tr>
67 <td>
68 <table summary="" style="margin-left:4px;">
69 <tr>
70 <td colspan=2 style="vertical-align:top;">
71 <b>{t}Ratio{/t}</b>
72 </td>
73 </tr>
74 <tr>
75 <td>{t}Uploaded / downloaded files{/t}</td>
76 <td>
78 {render acl=$FTPUploadRatioACL}
79 <input name="FTPUploadRatio" id="FTPUploadRatio" size=5 maxlength=20 value="{$FTPUploadRatio}" {$fstate} >
80 {/render}
81 /
82 {render acl=$FTPDownloadRatioACL}
83 <input name="FTPDownloadRatio" id="FTPDownloadRatio" size=5 maxlength=20 value="{$FTPDownloadRatio}" {$fstate} >
84 {/render}
85 </td>
86 </tr>
87 </table>
88 </td>
89 <td>
90 <table summary="">
91 <tr>
92 <td colspan=2 style="vertical-align:top;">
93 <b>{t}Miscellaneous{/t}</b>
94 </td>
95 <tr>
96 <td>
97 {render acl=$FTPStatusACL}
98 <input type=checkbox name="FTPStatus" id="FTPStatus" value="disabled" {$use_FTPStatus} title="{t}Check to disable FTP Access{/t}" {$fstate} >
99 {/render}
100 {t}Temporary disable FTP access{/t}</td>
101 </tr>
102 </table>
103 </td>
104 </tr>
105 </table>
107 <!-- Place cursor -->
108 <script language="JavaScript" type="text/javascript">
109 <!-- // First input field on page
110 document.mainform.FTPUploadBandwidth.focus();
111 -->
112 </script>