diff --git a/swad_changelog.h b/swad_changelog.h index 3187c0c84..70e0ff0ae 100644 --- a/swad_changelog.h +++ b/swad_changelog.h @@ -235,13 +235,14 @@ /****************************** Public constants *****************************/ /*****************************************************************************/ -#define Log_PLATFORM_VERSION "SWAD 16.227 (2017-05-30)" +#define Log_PLATFORM_VERSION "SWAD 16.227.1 (2017-05-30)" #define CSS_FILE "swad16.226.css" #define JS_FILE "swad16.206.3.js" // Number of lines (includes comments but not blank lines) has been got with the following command: // nl swad*.c swad*.h css/swad*.css py/swad*.py js/swad*.js soap/swad*?.h sql/swad*.sql | tail -1 /* + Version 16.227.1: May 30, 2017 Button to check email integrated in alert. (220693 lines) Version 16.227: May 30, 2017 Changes in selector or roles in record cards. (220694 lines) Version 16.226.1: May 29, 2017 Changes in contextual links related to users enrolment. (220637 lines) Version 16.226: May 29, 2017 Code refactoring in buttons. (220607 lines) diff --git a/swad_mail.c b/swad_mail.c index 24b773cc4..e9c491769 100644 --- a/swad_mail.c +++ b/swad_mail.c @@ -1618,17 +1618,13 @@ void Mai_PutButtonToCheckEmailAddress (void) extern const char *Txt_Please_check_and_confirm_your_email_address; extern const char *Txt_Check; - /***** Start form *****/ - Act_FormStart (ActFrmMyAcc); - - /***** Frame with button to go to account *****/ + /***** Frame with button to check email address *****/ Lay_StartRoundFrame (NULL,Txt_Email_unconfirmed, NULL,Hlp_PROFILE_Account_email); - Ale_ShowAlert (Ale_WARNING,Txt_Please_check_and_confirm_your_email_address); - Lay_EndRoundFrameWithButton (Lay_CONFIRM_BUTTON,Txt_Check); - - /***** End form *****/ - Act_FormEnd (); + Ale_ShowAlertAndButton (Ale_WARNING,Txt_Please_check_and_confirm_your_email_address, + ActFrmMyAcc,NULL,NULL,NULL, + Lay_CONFIRM_BUTTON,Txt_Check); + Lay_EndRoundFrame (); } /*****************************************************************************/