diff --git a/swad_changelog.h b/swad_changelog.h index 3a71836f9..f681a4c21 100644 --- a/swad_changelog.h +++ b/swad_changelog.h @@ -156,13 +156,14 @@ /****************************** Public constants *****************************/ /*****************************************************************************/ -#define Log_PLATFORM_VERSION "SWAD 16.53 (2016-11-13)" +#define Log_PLATFORM_VERSION "SWAD 16.53.1 (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.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.52: Nov 12, 2016 Code refactoring in frames to include contextual help. (206653 lines) Version 16.51: Nov 12, 2016 Contextual help on the top right corner of frames. (206606 lines) diff --git a/swad_help.c b/swad_help.c index cf57d2a20..b55918100 100644 --- a/swad_help.c +++ b/swad_help.c @@ -46,6 +46,9 @@ const char *Hlp_STATS_Surveys_edit_survey = const char *Hlp_STATS_Surveys_questions = "https://github.com/acanas/swad-core/wiki/STATS.Surveys#questions"; +const char *Hlp_PROFILE_Photo = + "https://github.com/acanas/swad-core/wiki/PROFILE.Photo"; + /*****************************************************************************/ /***************************** Private constants *****************************/ /*****************************************************************************/ diff --git a/swad_photo.c b/swad_photo.c index a5e2eb582..848a88b3d 100644 --- a/swad_photo.c +++ b/swad_photo.c @@ -301,6 +301,7 @@ static void Pho_ReqOtherUsrPhoto (void) static void Pho_ReqPhoto (const struct UsrData *UsrDat,const char *PhotoURL) { + extern const char *Hlp_PROFILE_Photo; extern const char *The_ClassForm[The_NUM_THEMES]; extern const char *Txt_Photo; extern const char *Txt_You_can_send_a_file_with_an_image_in_JPEG_format_; @@ -312,7 +313,7 @@ static void Pho_ReqPhoto (const struct UsrData *UsrDat,const char *PhotoURL) Lay_StartRoundFrame (NULL,Txt_Photo, ItsMe ? Pho_PutIconToRequestRemoveMyPhoto : Pho_PutIconToRequestRemoveOtherUsrPhoto, - NULL); + Hlp_PROFILE_Photo); /***** Start form *****/ if (ItsMe) @@ -417,6 +418,7 @@ void Pho_RecOtherUsrPhotoDetFaces (void) void Pho_ReqRemoveMyPhoto (void) { + extern const char *Hlp_PROFILE_Photo; extern const char *Txt_Photo; extern const char *Txt_Do_you_really_want_to_remove_your_photo; extern const char *Txt_Remove_photo; @@ -427,7 +429,7 @@ void Pho_ReqRemoveMyPhoto (void) { /***** Start frame *****/ Lay_StartRoundFrame (NULL,Txt_Photo, - Pho_PutIconToRequestRemoveMyPhoto,NULL); + Pho_PutIconToRequestRemoveMyPhoto,Hlp_PROFILE_Photo); /***** Show current photo and help message *****/ Pho_ShowUsrPhoto (&Gbl.Usrs.Me.UsrDat,Gbl.Usrs.Me.PhotoURL,