%
include("language.html")
local plugin_dir = c_GetAppPath().."/webclient/plugins"
for isdir,plugin in c_GetFileDir(plugin_dir) do
if isdir == true and c_FileExist(plugin_dir.."/"..plugin.."/setting.html") then
include("plugins/"..plugin.."/setting.html")
end
end
%>
<%
if _SESSION["username"] ~= nil and _SESSION["currentpath"] ~= nil then
local enable_changepass = c_CanChangePass(_SESSION["username"])
local enable_sendmessage = c_CanSendMessage()
%>
Wing FTP Server
<%
local nType = c_GetLicenseInfo()
if nType >= 5 then
print("(UNREGISTERED)")
end
%>
<%
for _,val in pairs(_SERVER) do
if val.need_selectfile ~= nil and val.need_selectfile == true and val.extbutton_name ~= nil and val.extbutton_func ~= nil then
local icon_path = "images/extbutton.gif"
if val.extbutton_icon ~= nil then
icon_path = val.extbutton_icon
end
print("
"..val.extbutton_name.."
")
end
end
%>
<%=LANG["item_upload"]%>
<%=LANG["item_mkdir"]%>
<%=LANG["item_newtxt"]%>
<%=LANG["item_goto"]%>
<%=LANG["item_paste"]%>
<%
for _,val in pairs(_SERVER) do
if val.need_selectfile ~= nil and val.need_selectfile == false and val.extbutton_name ~= nil and val.extbutton_func ~= nil then
local icon_path = "images/extbutton.gif"
if val.extbutton_icon ~= nil then
icon_path = val.extbutton_icon
end
print("
"..val.extbutton_name.."
")
end
end
%>
<%=LANG["item_cut"]%>
<%=LANG["item_paste"]%>
<%=LANG["item_goto"]%>
<%=LANG["item_rename"]%>
<%=LANG["item_geturl"]%>
<%=LANG["item_edit"]%>
<%=LANG["item_newtxt"]%>
<%=LANG["item_zip"]%>
<%=LANG["item_unzip"]%>
<%=LANG["str_app_batchdown"]%>
<%
for _,val in pairs(_SERVER) do
if val.extbutton_name ~= nil and val.extbutton_func ~= nil then
local icon_path = "images/extbutton.gif"
if val.extbutton_icon ~= nil then
icon_path = val.extbutton_icon
end
print("
"..val.extbutton_name.."
")
end
end
%>
<%
for _,val in pairs(_SERVER) do
if val.exthtml ~= nil then
print(val.exthtml)
end
end
%>