mirror of
https://github.com/acanas/swad-core.git
synced 2024-09-20 00:02:42 +02:00
Version 16.19.1
This commit is contained in:
parent
ce45f328b4
commit
5c7ee9a192
|
@ -437,6 +437,10 @@ void Acc_ShowFormChangeMyAccount (void)
|
||||||
IShouldFillID = true;
|
IShouldFillID = true;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
/***** Show alert to report that confirmation e-mail has been sent *****/
|
||||||
|
if (Gbl.Usrs.Me.ConfirmEmailJustSent)
|
||||||
|
Mai_ShowMsgConfirmEmailHasBeenSent ();
|
||||||
|
|
||||||
/***** Put links to change my password and to remove my account*****/
|
/***** Put links to change my password and to remove my account*****/
|
||||||
fprintf (Gbl.F.Out,"<div class=\"CONTEXT_MENU\">");
|
fprintf (Gbl.F.Out,"<div class=\"CONTEXT_MENU\">");
|
||||||
Pwd_PutLinkToChangeMyPassword ();
|
Pwd_PutLinkToChangeMyPassword ();
|
||||||
|
@ -462,17 +466,12 @@ void Acc_ShowFormChangeMyAccount (void)
|
||||||
Acc_PrintAccountSeparator ();
|
Acc_PrintAccountSeparator ();
|
||||||
|
|
||||||
/***** E-mail *****/
|
/***** E-mail *****/
|
||||||
if (IMustFillEmail || IShouldConfirmEmail ||
|
if (IMustFillEmail || IShouldConfirmEmail)
|
||||||
Gbl.Usrs.Me.ConfirmEmailJustSent)
|
|
||||||
{
|
{
|
||||||
fprintf (Gbl.F.Out,"<tr>"
|
fprintf (Gbl.F.Out,"<tr>"
|
||||||
"<td colspan=\"2\">");
|
"<td colspan=\"2\">");
|
||||||
if (IMustFillEmail)
|
Lay_ShowAlert (Lay_WARNING,IMustFillEmail ? Txt_Please_fill_in_your_email_address :
|
||||||
Lay_ShowAlert (Lay_WARNING,Txt_Please_fill_in_your_email_address);
|
Txt_Please_check_and_confirm_your_email_address);
|
||||||
else if (IShouldConfirmEmail)
|
|
||||||
Lay_ShowAlert (Lay_WARNING,Txt_Please_check_and_confirm_your_email_address);
|
|
||||||
else // Gbl.Usrs.Me.ConfirmEmailJustSent
|
|
||||||
Mai_ShowMsgConfirmEmailHasBeenSent ();
|
|
||||||
fprintf (Gbl.F.Out,"</td>"
|
fprintf (Gbl.F.Out,"</td>"
|
||||||
"</tr>");
|
"</tr>");
|
||||||
}
|
}
|
||||||
|
|
|
@ -155,7 +155,7 @@
|
||||||
// Number of lines (includes comments but not blank lines) has been got with the following command:
|
// 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
|
// nl swad*.c swad*.h css/swad*.css py/swad*.py js/swad*.js soap/swad*.h sql/swad*.sql | tail -1
|
||||||
/*
|
/*
|
||||||
Version 16.19.1: Oct 10, 2016 Message to report that confirmation e-mail has been sent. (? lines)
|
Version 16.19.1: Oct 10, 2016 Message to report that confirmation e-mail has been sent. (205203 lines)
|
||||||
Version 16.19: Oct 10, 2016 Warning in User > Session to confirm user's e-mail address.
|
Version 16.19: Oct 10, 2016 Warning in User > Session to confirm user's e-mail address.
|
||||||
Changes in form to edit user's account. (205194 lines)
|
Changes in form to edit user's account. (205194 lines)
|
||||||
Version 16.18.1: Oct 10, 2016 Warning in User > Account to confirm user's e-mail address. (205116 lines)
|
Version 16.18.1: Oct 10, 2016 Warning in User > Account to confirm user's e-mail address. (205116 lines)
|
||||||
|
|
|
@ -1407,8 +1407,7 @@ static void Mai_NewUsrEmail (struct UsrData *UsrDat,bool ItsMe)
|
||||||
/***** Send message via email
|
/***** Send message via email
|
||||||
to confirm the new email address *****/
|
to confirm the new email address *****/
|
||||||
if (ItsMe)
|
if (ItsMe)
|
||||||
if (Mai_SendMailMsgToConfirmEmail ())
|
Mai_SendMailMsgToConfirmEmail ();
|
||||||
Mai_ShowMsgConfirmEmailHasBeenSent ();
|
|
||||||
}
|
}
|
||||||
else
|
else
|
||||||
{
|
{
|
||||||
|
|
Loading…
Reference in New Issue
Block a user