Comparison

plugins/mod_admin_adhoc.lua @ 5202:ff0d0cd07c43

mod_admin_adhoc: Remove unused form
author Kim Alvefur <zash@zash.se>
date Sun, 25 Nov 2012 05:12:13 +0100
parent 5146:db95c1f1f130
child 5324:8602fffdd1df
comparison
equal deleted inserted replaced
5200:cfc038f1f923 5202:ff0d0cd07c43
210 else 210 else
211 return { status = "executing", actions = {"next", "complete", default = "complete"}, form = end_user_session_layout }, "executing"; 211 return { status = "executing", actions = {"next", "complete", default = "complete"}, form = end_user_session_layout }, "executing";
212 end 212 end
213 end 213 end
214 214
215 local end_user_session_layout = dataforms_new{
216 title = "Ending a User Session";
217 instructions = "Fill out this form to end a user's session.";
218
219 { name = "FORM_TYPE", type = "hidden", value = "http://jabber.org/protocol/admin" };
220 { name = "accountjids", type = "jid-multi", label = "The Jabber ID(s) for which to end sessions" };
221 };
222
223
224 function get_user_password_handler(self, data, state) 215 function get_user_password_handler(self, data, state)
225 local get_user_password_layout = dataforms_new{ 216 local get_user_password_layout = dataforms_new{
226 title = "Getting User's Password"; 217 title = "Getting User's Password";
227 instructions = "Fill out this form to get a user's password."; 218 instructions = "Fill out this form to get a user's password.";
228 219