diff options
author | Bharat Mediratta <bharat@menalto.com> | 2010-02-11 05:24:16 -0800 |
---|---|---|
committer | Bharat Mediratta <bharat@menalto.com> | 2010-02-11 05:24:16 -0800 |
commit | 1ada27916fa4575f6b093db17f4165d8cce16088 (patch) | |
tree | e6c0e0b506b58d0b15f0ddfb5aa74aff3bfeb1ec | |
parent | 592689a759a281a77aa2c622f199357eda43d9c2 (diff) |
Use the admin/users/edit_user_form version of the user editing form
right after initial install so that we're not requiring the user to
re-enter the auto-generated password to change their password and
email.
Fixes ticket #1007
-rw-r--r-- | modules/gallery/views/welcome_message.html.php | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/modules/gallery/views/welcome_message.html.php b/modules/gallery/views/welcome_message.html.php index caeeff66..4d6ed726 100644 --- a/modules/gallery/views/welcome_message.html.php +++ b/modules/gallery/views/welcome_message.html.php @@ -15,12 +15,15 @@ </p> <p> - <a href="<?= url::site("user_profile/show/{$user->id}") ?>" + <a href="<?= url::site("admin/users/edit_user_form/{$user->id}") ?>" title="<?= t("Edit your profile")->for_html_attr() ?>" id="g-after-install-change-password-link" class="g-button ui-state-default ui-corners-all"> <?= t("Change password and email now") ?> </a> + <script type="text/javascript"> + $("#g-after-install-change-password-link").gallery_dialog(); + </script> </p> <p> |