mirror of https://github.com/acanas/swad-core.git
Version 16.53.1
This commit is contained in:
parent
0c91a2ab70
commit
22511aeec5
|
@ -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)
|
||||
|
|
|
@ -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 *****************************/
|
||||
/*****************************************************************************/
|
||||
|
|
|
@ -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,
|
||||
|
|
Loading…
Reference in New Issue