<% include("language.html") if _SESSION["logined"] ~= nil then %> Add/Edit User <% if _GET["domain"] ~= nil then local user = "" local expired = false if _GET["username"] ~= nil then user = c_GetUser(_GET["domain"],_GET["username"]) if user == nil then print("") exit() else if _SESSION["admin_readonly"] ~= nil and _SESSION["admin_readonly"] == 1 then user.password = "" end local enable_expire = user.enable_expire local expiretime = user.expiretime user = json.encode(user) if enable_expire == true and expiretime ~= "" and expiretime ~= " " then local expiretime_t = c_TranslateTime(expiretime) if (os.time() > expiretime_t) then expired = true end end end end %>
"> <% if _GET["username"] ~= nil then %> <% end %>
   <%=LANG["str_adduser_tip"]%>
<%=LANG["str_username"]%>:<%=LANG["str_enable_account"]%> <% if _GET["username"] == nil then %><%=LANG["str_anonymous"]%><% end %>
<%=LANG["str_password"]%>: <% if _GET["username"] == nil then %> <% else %> <% end %> <%=LANG["str_enablepass"]%>
<%=LANG["str_expire_on"]%>:" onclick="selectTime(this.value);" style="width:160px;" readonly> <% if expired == true then %> (<%=LANG["str_expired"]%>) <% end %>
<%=LANG["str_show_hiddenfile"]%>
<%=LANG["str_send_message"]%>
<%=LANG["str_change_pass"]%>. <%=LANG["str_password_len"]%>: (0 = <%=LANG["str_nolimit"]%>)
<%=LANG["str_enable_weblink"]%> / <%=LANG["str_enable_uploadlink"]%>
<%=LANG["str_enabled_protocol"]%>: FTP FTPES(Explicit SSL) FTPS(Implicit SSL) HTTP HTTPS SFTP
<%=LANG["str_user_statistics"]%>     
<%=LANG["str_lastlogin"]%>: (<%=LANG["str_ip"]%>:) <%=LANG["str_logincount"]%>: 0
<%=LANG["str_file_downloaded"]%>: 0<%=LANG["str_file_uploaded"]%>: 0
<%=LANG["str_fail_download"]%>: 0<%=LANG["str_fail_upload"]%>: 0
<%=LANG["str_sent"]%>: 0<%=LANG["str_received"]%>: 0
   <%=LANG["str_userdir_tip"]%>
<%=LANG["title_directory"]%> <%=LANG["title_virtualpath"]%> <%=LANG["title_attributes"]%>
   <%=LANG["str_subfolder_tip"]%>
<%=LANG["title_directory"]%> <%=LANG["title_attributes"]%>
   <%=LANG["str_usergroup_tip"]%>
<%=LANG["title_group"]%>
<%=LANG["title_connection_limit"]%>(0 = <%=LANG["str_nolimit"]%>)
<%=LANG["str_connectionlimit3"]%>:
<%=LANG["str_connectionlimit4"]%>:
<%=LANG["str_connectionlimit5"]%>: <%=LANG["str_minute"]%>
<%=LANG["title_transfer_limit"]%>(0 = <%=LANG["str_nolimit"]%>)
<%=LANG["str_session_downspeed"]%>: KB/s
<%=LANG["str_session_upspeed"]%>: KB/s
<%=LANG["str_account_downspeed"]%>: KB/s
<%=LANG["str_account_upspeed"]%>: KB/s
<%=LANG["str_transferlimit7"]%>: <%=LANG["str_minute"]%>
<%=LANG["str_enable_pubkey_auth"]%>
<%=LANG["str_ssh_pubkey"]%>:
<%=LANG["str_ssh_auth_method"]%><%=LANG["str_ssh_auth_method1"]%>
 <%=LANG["str_ssh_auth_method2"]%>
<%=LANG["str_enable_ratio"]%>
  <%=LANG["str_ratio"]%>: <%=LANG["str_uploads"]%> / <%=LANG["str_downloads"]%>
  <%=LANG["str_current_credit"]%>: <%=LANG["str_files"]%>
 <%=LANG["str_countfiles"]%>
 <%=LANG["str_countbytes"]%>
<%=LANG["str_enable_quota"]%>
<%=LANG["str_current_quota"]%>: KB
<%=LANG["str_max_quota"]%>: KB
<%=LANG["str_transfer_limit"]%>
<%=LANG["str_reset"]%>   <%=LANG["str_current"]%> <%=LANG["str_max"]%>
<%=LANG["str_download"]%>MB MB
<%=LANG["str_upload"]%>MB MB
   <%=LANG["str_userip_tip"]%>
<%=LANG["title_ip"]%> <%=LANG["title_allowdeny"]%>
   <%=LANG["str_userfile_tip"]%>
<%=LANG["title_file"]%> <%=LANG["title_allowdeny"]%>
   <%=LANG["str_userschedule_tip"]%>
<%=LANG["title_weekday"]%> <%=LANG["title_from"]%> <%=LANG["title_to"]%>
<%=LANG["str_enable_schedule"]%>
<%=LANG["str_note_name"]%>:
<%=LANG["str_note_address"]%>:
<%=LANG["str_note_zip"]%>:
<%=LANG["str_note_phone"]%>:
<%=LANG["str_note_fax"]%>:
<%=LANG["str_note_email"]%>:
<%=LANG["str_note_memo"]%>:
 
<% end %> <% else print("") print("") end %>