mirror of
https://github.com/acanas/swad-core.git
synced 2024-06-01 22:35:28 +02:00
Version 16.53.1
This commit is contained in:
parent
0c91a2ab70
commit
22511aeec5
|
@ -156,13 +156,14 @@
|
||||||
/****************************** Public constants *****************************/
|
/****************************** 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 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.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)
|
||||||
Version 16.52: Nov 12, 2016 Code refactoring in frames to include contextual help. (206653 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)
|
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 =
|
const char *Hlp_STATS_Surveys_questions =
|
||||||
"https://github.com/acanas/swad-core/wiki/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 *****************************/
|
/***************************** Private constants *****************************/
|
||||||
/*****************************************************************************/
|
/*****************************************************************************/
|
||||||
|
|
|
@ -301,6 +301,7 @@ static void Pho_ReqOtherUsrPhoto (void)
|
||||||
|
|
||||||
static void Pho_ReqPhoto (const struct UsrData *UsrDat,const char *PhotoURL)
|
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 *The_ClassForm[The_NUM_THEMES];
|
||||||
extern const char *Txt_Photo;
|
extern const char *Txt_Photo;
|
||||||
extern const char *Txt_You_can_send_a_file_with_an_image_in_JPEG_format_;
|
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,
|
Lay_StartRoundFrame (NULL,Txt_Photo,
|
||||||
ItsMe ? Pho_PutIconToRequestRemoveMyPhoto :
|
ItsMe ? Pho_PutIconToRequestRemoveMyPhoto :
|
||||||
Pho_PutIconToRequestRemoveOtherUsrPhoto,
|
Pho_PutIconToRequestRemoveOtherUsrPhoto,
|
||||||
NULL);
|
Hlp_PROFILE_Photo);
|
||||||
|
|
||||||
/***** Start form *****/
|
/***** Start form *****/
|
||||||
if (ItsMe)
|
if (ItsMe)
|
||||||
|
@ -417,6 +418,7 @@ void Pho_RecOtherUsrPhotoDetFaces (void)
|
||||||
|
|
||||||
void Pho_ReqRemoveMyPhoto (void)
|
void Pho_ReqRemoveMyPhoto (void)
|
||||||
{
|
{
|
||||||
|
extern const char *Hlp_PROFILE_Photo;
|
||||||
extern const char *Txt_Photo;
|
extern const char *Txt_Photo;
|
||||||
extern const char *Txt_Do_you_really_want_to_remove_your_photo;
|
extern const char *Txt_Do_you_really_want_to_remove_your_photo;
|
||||||
extern const char *Txt_Remove_photo;
|
extern const char *Txt_Remove_photo;
|
||||||
|
@ -427,7 +429,7 @@ void Pho_ReqRemoveMyPhoto (void)
|
||||||
{
|
{
|
||||||
/***** Start frame *****/
|
/***** Start frame *****/
|
||||||
Lay_StartRoundFrame (NULL,Txt_Photo,
|
Lay_StartRoundFrame (NULL,Txt_Photo,
|
||||||
Pho_PutIconToRequestRemoveMyPhoto,NULL);
|
Pho_PutIconToRequestRemoveMyPhoto,Hlp_PROFILE_Photo);
|
||||||
|
|
||||||
/***** Show current photo and help message *****/
|
/***** Show current photo and help message *****/
|
||||||
Pho_ShowUsrPhoto (&Gbl.Usrs.Me.UsrDat,Gbl.Usrs.Me.PhotoURL,
|
Pho_ShowUsrPhoto (&Gbl.Usrs.Me.UsrDat,Gbl.Usrs.Me.PhotoURL,
|
||||||
|
|
Loading…
Reference in New Issue
Block a user