From a7bba184dabda94c66d989a54630aeaf40c20977 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Antonio=20Ca=C3=B1as=20Vargas?= Date: Sun, 13 Nov 2016 11:46:04 +0100 Subject: [PATCH] Version 16.54.2 --- swad_changelog.h | 5 +++-- swad_help.c | 2 ++ swad_password.c | 7 +++++-- 3 files changed, 10 insertions(+), 4 deletions(-) diff --git a/swad_changelog.h b/swad_changelog.h index 23d4687b4..93417eaaa 100644 --- a/swad_changelog.h +++ b/swad_changelog.h @@ -156,14 +156,15 @@ /****************************** 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 JS_FILE "swad16.46.1.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.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.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) diff --git a/swad_help.c b/swad_help.c index 88a42ec8e..645b2c48a 100644 --- a/swad_help.c +++ b/swad_help.c @@ -52,6 +52,8 @@ const char *Hlp_STATS_Surveys_questions = const char *Hlp_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 = "https://github.com/acanas/swad-core/wiki/PROFILE.Photo"; diff --git a/swad_password.c b/swad_password.c index facfe166d..8e849e086 100644 --- a/swad_password.c +++ b/swad_password.c @@ -234,6 +234,7 @@ static void Pwd_PutLinkToSendNewPasswdParams (void) void Pwd_ShowFormSendNewPwd (void) { + extern const char *Hlp_PROFILE_Password; extern const char *The_ClassForm[The_NUM_THEMES]; extern const char *Txt_If_you_have_forgotten_your_password_; extern const char *Txt_Forgotten_password; @@ -244,7 +245,7 @@ void Pwd_ShowFormSendNewPwd (void) Act_FormStart (ActSndNewPwd); /***** Start frame *****/ - Lay_StartRoundFrame (NULL,Txt_Forgotten_password,NULL,NULL); + Lay_StartRoundFrame (NULL,Txt_Forgotten_password,NULL,Hlp_PROFILE_Password); /***** Help text *****/ 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) { + extern const char *Hlp_PROFILE_Password; 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_Your_password_is_not_secure_enough; @@ -684,7 +686,8 @@ void Pwd_ShowFormChgPwd (void) Act_FormStart (ActChgPwd); /***** Start frame *****/ - Lay_StartRoundFrameTable (NULL,2,Txt_Password); + Lay_StartRoundFrame (NULL,Txt_Password,NULL,Hlp_PROFILE_Password); + fprintf (Gbl.F.Out,""); /* Current password */ if (IHaveAPasswordInDB) // If I have a password in database...