Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- Action_Upload_GuiShow(Action, ActionGUI, GoToLabel = "")
- {
- static sActionGUI
- if(GoToLabel = "")
- {
- sActionGUI := ActionGUI
- Action.tmpPassword := Action.Password
- SubEventGUI_Add(Action, ActionGUI, "Edit", "SourceFiles", "", "", "Source files:", "Placeholders", "Action_Upload_Placeholders_SourceFiles")
- SubEventGUI_Add(Action, ActionGUI, "Edit", "Hostname", "", "", "Hostname:")
- SubEventGUI_Add(Action, ActionGUI, "Edit", "Port", "", "", "Port:")
- SubEventGUI_Add(Action, ActionGUI, "Edit", "User", "", "", "Username:")
- SubEventGUI_Add(Action, ActionGUI, "Edit", "tmpPassword", "", "", "Password")
- SubEventGUI_Add(Action, ActionGUI, "Edit", "TargetFolder", "", "", "Target folder:", "Placeholders", "Action_Upload_Placeholders_TargetFolder")
- SubEventGUI_Add(Action, ActionGUI, "Edit", "URL", "", "", "URL:")
- SubEventGUI_Add(Action, ActionGUI, "Checkbox", "Silent", "Silent", "", "")
- SubEventGUI_Add(Action, ActionGUI, "Checkbox", "Clipboard", "Copy links to clipboard", "", "")
- }
- else if(GoToLabel = "Placeholders_SourceFiles")
- SubEventGUI_Placeholders(sActionGUI, "SourceFiles")
- else if(GoToLabel = "Placeholders_TargetFolder")
- SubEventGUI_Placeholders(sActionGUI, "TargetFolder")
- }
- Action_Upload_Placeholders_SourceFiles:
- Action_Upload_GuiShow("", "", "Placeholders_SourceFiles")
- return
- Action_Upload_Placeholders_TargetFolder:
- Action_Upload_GuiShow("", "", "Placeholders_TargetFolder")
- return
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement