diff --git a/plugins/personal/connectivity/pureftpd.tpl b/plugins/personal/connectivity/pureftpd.tpl
index cb6557ed153c11372e5c1afd8688003f079249bf..4fed279f39e72b6b80a809203dfdbad49e4ef38c 100644 (file)
-<h2>{if $tabbed eq 1}<input type="checkbox" name="pureftpd" value="B" {$pureftpdState} {$pureftpdACL} onclick="changeState('FTPUploadBandwidth'); changeState('FTPDownloadBandwidth'); changeState('FTPQuotaFiles'); changeState('FTPQuotaMBytes'); changeState('FTPUploadRatio'); changeState('FTPDownloadRatio'); changeState('FTPStatus');" {$pureftpdACL}>{/if}{t}FTP account{/t}</h2>
+<h2>
+ <input type="checkbox" name="pureftpd" value="B" {$pureftpdState} {$pureftpdACL}
+ onclick="{$changeState}" >
+ {t}FTP account{/t}
+</h2>
<table summary="" style="width:100%; vertical-align:top; text-align:left;" cellpadding=0 border=0>
</tr>
<tr>
<td>{t}Upload bandwidth{/t}</td>
- <td><input name="FTPUploadBandwidth" id="FTPUploadBandwidth" size=7 maxlength=7 {$FTPUploadBandwidthACL} value="{$FTPUploadBandwidth}" {$fstate}> {t}kb/s{/t}</td>
+ <td>
+{render acl=$FTPUploadBandwidthACL}
+<input name="FTPUploadBandwidth" id="FTPUploadBandwidth" size=7 maxlength=7 value="{$FTPUploadBandwidth}" {$fstate}>
+{/render}
+ {t}kb/s{/t}</td>
</tr>
<tr>
<td>{t}Download bandwidth{/t}</td>
- <td><input name="FTPDownloadBandwidth" id="FTPDownloadBandwidth" size=7 maxlength=7 {$FTPDownloadBandwidthACL} value="{$FTPDownloadBandwidth}" {$fstate}> {t}kb/s{/t}</td>
+ <td>
+{render acl=$FTPDownloadBandwidthACL}
+<input name="FTPDownloadBandwidth" id="FTPDownloadBandwidth" size=7 maxlength=7 value="{$FTPDownloadBandwidth}" {$fstate}>
+{/render}
+ {t}kb/s{/t}</td>
</tr>
</table>
</td>
</tr>
<tr>
<td>{t}Files{/t}</td>
- <td><input name="FTPQuotaFiles" id="FTPQuotaFiles" size=7 maxlength=10 {$FTPQuotaFilesACL} value="{$FTPQuotaFiles}" {$fstate}></td>
+ <td>
+{render acl=$FTPQuotaFilesACL}
+<input name="FTPQuotaFiles" id="FTPQuotaFiles" size=7 maxlength=10 value="{$FTPQuotaFiles}" {$fstate}>
+{/render}
+ </td>
</tr>
<tr>
<td>{t}Size{/t}</td>
- <td><input name="FTPQuotaMBytes" id="FTPQuotaMBytes" size=7 maxlength=10 {$FTPQuotaMBytesACL} value="{$FTPQuotaMBytes}" {$fstate}> {t}MB{/t}</td>
+ <td>
+{render acl=$FTPQuotaMBytesACL}
+<input name="FTPQuotaMBytes" id="FTPQuotaMBytes" size=7 maxlength=10 value="{$FTPQuotaMBytes}" {$fstate}>
+{/render}
+ {t}MB{/t}
+ </td>
</tr>
</table>
</td>
</tr>
<tr>
<td>{t}Uploaded / downloaded files{/t}</td>
- <td><input name="FTPUploadRatio" id="FTPUploadRatio" size=5 maxlength=20 {$FTPUploadRatioACL} value="{$FTPUploadRatio}" {$fstate}>
- / <input name="FTPDownloadRatio" id="FTPDownloadRatio" size=5 maxlength=20 {$FTPDownloadRatioACL} value="{$FTPDownloadRatio}" {$fstate}></td>
+ <td>
+
+{render acl=$FTPUploadRatioACL}
+<input name="FTPUploadRatio" id="FTPUploadRatio" size=5 maxlength=20 value="{$FTPUploadRatio}" {$fstate}>
+{/render}
+ /
+{render acl=$FTPDownloadRatioACL}
+<input name="FTPDownloadRatio" id="FTPDownloadRatio" size=5 maxlength=20 value="{$FTPDownloadRatio}" {$fstate}>
+{/render}
+ </td>
</tr>
</table>
</td>
<b>{t}Miscellaneous{/t}</b>
</td>
<tr>
- <td><input type=checkbox name="FTPStatus" id="FTPStatus" value="disabled" {$use_FTPStatus} {$FTPStatusACL} title="{t}Check to disable FTP Access{/t}" {$fstate}>{t}Temporary disable FTP access{/t}</td>
+ <td>
+{render acl=$FTPStatusACL}
+<input type=checkbox name="FTPStatus" id="FTPStatus" value="disabled" {$use_FTPStatus} title="{t}Check to disable FTP Access{/t}" {$fstate}>
+{/render}
+{t}Temporary disable FTP access{/t}</td>
</tr>
</table>
</td>