Lets create them in here since we can have more control over creating projects and repos:
https://github.com/aikilab/aikiframework-assets Please add a github account. Jon On Sun, Oct 9, 2011 at 6:21 PM, Jakub Jankiewicz <[email protected]> wrote: > It can be written as an extension (I believe that plugins are invoked on > every page) and used in a widget as > > <php $aiki->utils->ResetPasswordForm() php> > > > and in utils.php > > class utils { > public function ResetPasswordForm() { > if (isset($_POST['passwd'])) { > <UPDATE aiki_users > > } else { > return "<FORM>" > } > } > } > > This extension can be put into extension repository, if we have one, for > other people to use. Or in the Wiki. > > -- > You received this bug notification because you are subscribed to > aikiframework. > https://bugs.launchpad.net/bugs/793276 > > Title: > The request new password form needs a helper function > > To manage notifications about this bug go to: > https://bugs.launchpad.net/aikiframework/+bug/793276/+subscriptions > -- Jon Phillips http://rejon.org/ | http://fabricatorz.com/ chat/skype: kidproto | irc: rejon +1.415.830.3884 (global) | +1-510-499-0894 (sf) +86-187-1003-9974 (beijing) -- You received this bug notification because you are a member of Aiki Framework Developers, which is subscribed to aikiframework. https://bugs.launchpad.net/bugs/793276 Title: The request new password form needs a helper function Status in Aiki Framework: Confirmed Bug description: The set new password form has a helper function that is called by: <php $aiki->membership->ResetPassword(POST[username],POST[email],[email protected],Reset your Font Library password,Reset your password:); php> In addition, the same class should have something like a RequestNewPassword() function that also outputs a form where the user can enter the username and and password to be submitted to the above function. The only argument of the function should be the URL where the above reset code is. Otherwise every site developer will have to create this form by hand. Another (perhaps better) option would be for ResetPassword function to output the blank form with username and password fields if it does not detect values for these arguments being posted. That way the same page/widget can be used for drawing the form and for showing the instructions after the form is submitted. To manage notifications about this bug go to: https://bugs.launchpad.net/aikiframework/+bug/793276/+subscriptions _______________________________________________ Mailing list: https://launchpad.net/~aikiframework-devel Post to : [email protected] Unsubscribe : https://launchpad.net/~aikiframework-devel More help : https://help.launchpad.net/ListHelp

