Version 16.54.2

This commit is contained in:
Antonio Cañas Vargas 2016-11-13 11:46:04 +01:00
parent 6652de1dde
commit a7bba184da
3 changed files with 10 additions and 4 deletions

View File

@ -156,14 +156,15 @@
/****************************** Public constants *****************************/ /****************************** Public constants *****************************/
/*****************************************************************************/ /*****************************************************************************/
#define Log_PLATFORM_VERSION "SWAD 16.54.1 (2016-11-13)" #define Log_PLATFORM_VERSION "SWAD 16.54.2 (2016-11-13)"
#define CSS_FILE "swad16.51.css" #define CSS_FILE "swad16.51.css"
#define JS_FILE "swad16.46.1.js" #define JS_FILE "swad16.46.1.js"
// 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.54. Nov 13, 2016 Contextual help on user's account. (? lines) Version 16.54.2: Nov 13, 2016 Contextual help on user's password. (206735 lines)
Version 16.54.1: Nov 13, 2016 Contextual help on user's account. (206729 lines)
Version 16.54: Nov 13, 2016 Contextual help on user's preferences. (206722 lines) Version 16.54: Nov 13, 2016 Contextual help on user's preferences. (206722 lines)
Version 16.53.1: Nov 13, 2016 Contextual help on user's photo. (206686 lines) Version 16.53.1: Nov 13, 2016 Contextual help on user's photo. (206686 lines)
Version 16.53: Nov 13, 2016 Contextual help on surveys. (206681 lines) Version 16.53: Nov 13, 2016 Contextual help on surveys. (206681 lines)

View File

@ -52,6 +52,8 @@ const char *Hlp_STATS_Surveys_questions =
const char *Hlp_PROFILE_Account = const char *Hlp_PROFILE_Account =
"https://github.com/acanas/swad-core/wiki/PROFILE.Account"; "https://github.com/acanas/swad-core/wiki/PROFILE.Account";
const char *Hlp_PROFILE_Password =
"https://github.com/acanas/swad-core/wiki/PROFILE.Password";
const char *Hlp_PROFILE_Photo = const char *Hlp_PROFILE_Photo =
"https://github.com/acanas/swad-core/wiki/PROFILE.Photo"; "https://github.com/acanas/swad-core/wiki/PROFILE.Photo";

View File

@ -234,6 +234,7 @@ static void Pwd_PutLinkToSendNewPasswdParams (void)
void Pwd_ShowFormSendNewPwd (void) void Pwd_ShowFormSendNewPwd (void)
{ {
extern const char *Hlp_PROFILE_Password;
extern const char *The_ClassForm[The_NUM_THEMES]; extern const char *The_ClassForm[The_NUM_THEMES];
extern const char *Txt_If_you_have_forgotten_your_password_; extern const char *Txt_If_you_have_forgotten_your_password_;
extern const char *Txt_Forgotten_password; extern const char *Txt_Forgotten_password;
@ -244,7 +245,7 @@ void Pwd_ShowFormSendNewPwd (void)
Act_FormStart (ActSndNewPwd); Act_FormStart (ActSndNewPwd);
/***** Start frame *****/ /***** Start frame *****/
Lay_StartRoundFrame (NULL,Txt_Forgotten_password,NULL,NULL); Lay_StartRoundFrame (NULL,Txt_Forgotten_password,NULL,Hlp_PROFILE_Password);
/***** Help text *****/ /***** Help text *****/
Lay_ShowAlert (Lay_INFO,Txt_If_you_have_forgotten_your_password_); Lay_ShowAlert (Lay_INFO,Txt_If_you_have_forgotten_your_password_);
@ -661,6 +662,7 @@ bool Pwd_FastCheckIfPasswordSeemsGood (const char *PlainPassword)
void Pwd_ShowFormChgPwd (void) void Pwd_ShowFormChgPwd (void)
{ {
extern const char *Hlp_PROFILE_Password;
extern const char *The_ClassForm[The_NUM_THEMES]; extern const char *The_ClassForm[The_NUM_THEMES];
extern const char *Txt_Before_going_to_any_other_option_you_must_create_your_password; extern const char *Txt_Before_going_to_any_other_option_you_must_create_your_password;
extern const char *Txt_Your_password_is_not_secure_enough; extern const char *Txt_Your_password_is_not_secure_enough;
@ -684,7 +686,8 @@ void Pwd_ShowFormChgPwd (void)
Act_FormStart (ActChgPwd); Act_FormStart (ActChgPwd);
/***** Start frame *****/ /***** Start frame *****/
Lay_StartRoundFrameTable (NULL,2,Txt_Password); Lay_StartRoundFrame (NULL,Txt_Password,NULL,Hlp_PROFILE_Password);
fprintf (Gbl.F.Out,"<table class=\"FRAME_TABLE CELLS_PAD_2\">");
/* Current password */ /* Current password */
if (IHaveAPasswordInDB) // If I have a password in database... if (IHaveAPasswordInDB) // If I have a password in database...