mirror of
https://github.com/Pathduck/gallery3.git
synced 2026-05-21 03:49:21 -04:00
Finish integrating the move of the user edit/update functions into the user module. The premise is that the plugable user module will provide the update screens if the user backend supports updates.
This commit is contained in:
@@ -77,7 +77,7 @@ class Users_Controller extends Controller {
|
||||
->matches($group->password);
|
||||
$group->input("email")->label(t("Email"))->id("g-email")->value($user->email);
|
||||
$group->input("url")->label(t("URL"))->id("g-url")->value($user->url);
|
||||
$form->add_rules_from($user);
|
||||
$form->add_rules_from(user::get_edit_rules());
|
||||
|
||||
module::event("user_edit_form", $user, $form);
|
||||
$group->submit("")->value(t("Save"));
|
||||
|
||||
Reference in New Issue
Block a user