From 2323a314c5e42aa5e9e3f0cbb51110495751cdf7 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Antonio=20Ca=C3=B1as=20Vargas?= Date: Tue, 31 Jan 2017 21:40:40 +0100 Subject: [PATCH] Version 16.132.9 --- swad_changelog.h | 3 ++- swad_help.c | 2 ++ swad_photo.c | 8 ++++++-- 3 files changed, 10 insertions(+), 3 deletions(-) diff --git a/swad_changelog.h b/swad_changelog.h index 19fbc6ec8..a140420a9 100644 --- a/swad_changelog.h +++ b/swad_changelog.h @@ -191,13 +191,14 @@ /****************************** Public constants *****************************/ /*****************************************************************************/ -#define Log_PLATFORM_VERSION "SWAD 16.132.8 (2017-01-31)" +#define Log_PLATFORM_VERSION "SWAD 16.132.9 (2017-01-31)" #define CSS_FILE "swad16.132.4.css" #define JS_FILE "swad16.123.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.132.9: Jan 31, 2017 Help on degrees stats. (211890 lines) Version 16.132.8: Jan 31, 2017 Help on remove all students in a course. (211884 lines) Version 16.132.7: Jan 31, 2017 Changes in layout of removal of all students in a course. (211880 lines) Version 16.132.6: Jan 31, 2017 Help on administration of students. (211895 lines) diff --git a/swad_help.c b/swad_help.c index 95c2ccfd1..d930f891a 100644 --- a/swad_help.c +++ b/swad_help.c @@ -241,6 +241,8 @@ const char *Hlp_STATS_Figures_theme = WIKI "STATS.Figur const char *Hlp_STATS_Figures_columns = WIKI "STATS.Figures#columns"; const char *Hlp_STATS_Figures_privacy = WIKI "STATS.Figures#privacy"; +const char *Hlp_STATS_Degrees = WIKI "STATS.Degrees"; + const char *Hlp_STATS_Report = WIKI "STATS.Report"; const char *Hlp_STATS_Frequent = WIKI "STATS.Frequent"; diff --git a/swad_photo.c b/swad_photo.c index d5ecee0d3..ff1ec1536 100644 --- a/swad_photo.c +++ b/swad_photo.c @@ -1991,6 +1991,7 @@ static void Pho_GetMaxStdsPerDegree (void) static void Pho_ShowOrPrintClassPhotoDegrees (Pho_AvgPhotoSeeOrPrint_t SeeOrPrint) { + extern const char *Hlp_STATS_Degrees; extern const char *Txt_Degrees; extern const char *Txt_No_users_found[Rol_NUM_ROLES]; char Query[512]; @@ -2012,7 +2013,8 @@ static void Pho_ShowOrPrintClassPhotoDegrees (Pho_AvgPhotoSeeOrPrint_t SeeOrPrin Lay_StartRoundFrame (NULL,Txt_Degrees, SeeOrPrint == Pho_DEGREES_SEE ? Pho_PutIconToPrintDegreeStats : NULL, - NULL); + SeeOrPrint == Pho_DEGREES_SEE ? Hlp_STATS_Degrees : + NULL); if (NumRows) // Degrees with students found { @@ -2081,6 +2083,7 @@ static void Pho_ShowOrPrintClassPhotoDegrees (Pho_AvgPhotoSeeOrPrint_t SeeOrPrin static void Pho_ShowOrPrintListDegrees (Pho_AvgPhotoSeeOrPrint_t SeeOrPrint) { + extern const char *Hlp_STATS_Degrees; extern const char *Txt_Degrees; extern const char *Txt_No_INDEX; extern const char *Txt_Degree; @@ -2105,7 +2108,8 @@ static void Pho_ShowOrPrintListDegrees (Pho_AvgPhotoSeeOrPrint_t SeeOrPrint) Lay_StartRoundFrame (NULL,Txt_Degrees, SeeOrPrint == Pho_DEGREES_SEE ? Pho_PutIconToPrintDegreeStats : NULL, - NULL); + SeeOrPrint == Pho_DEGREES_SEE ? Hlp_STATS_Degrees : + NULL); if (NumRows) // Degrees with students found {