From d2892ae5416f227feaf8a9d8be7ec96dccc3ff6d Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Antonio=20Ca=C3=B1as=20Vargas?= Date: Mon, 21 Nov 2016 19:47:44 +0100 Subject: [PATCH] Version 16.67.2 --- swad_changelog.h | 3 ++- swad_enrollment.c | 3 ++- swad_help.c | 3 +++ swad_record.c | 3 ++- 4 files changed, 9 insertions(+), 3 deletions(-) diff --git a/swad_changelog.h b/swad_changelog.h index 50b69350f..51fe12694 100644 --- a/swad_changelog.h +++ b/swad_changelog.h @@ -172,13 +172,14 @@ /****************************** Public constants *****************************/ /*****************************************************************************/ -#define Log_PLATFORM_VERSION "SWAD 16.67.1 (2016-11-21)" +#define Log_PLATFORM_VERSION "SWAD 16.67.2 (2016-11-21)" #define CSS_FILE "swad16.60.1.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.67.2: Nov 21, 2016 Contextual help on sign up in a course and enrollment requests. (207351 lines) Version 16.67.1: Nov 21, 2016 Contextual help on connected users and last clicks in real time. (207346 lines) Version 16.67: Nov 21, 2016 Refactoring in tests. "Test exam" is now called "Test result". (207336 lines) diff --git a/swad_enrollment.c b/swad_enrollment.c index 6190c382a..8fc886e3b 100644 --- a/swad_enrollment.c +++ b/swad_enrollment.c @@ -2082,6 +2082,7 @@ void Enr_UpdateEnrollmentRequests (void) static void Enr_ShowEnrollmentRequestsGivenRoles (unsigned RolesSelected) { + extern const char *Hlp_USERS_Requests; extern const char *Sco_ScopeDB[Sco_NUM_SCOPES]; extern const char *The_ClassForm[The_NUM_THEMES]; extern const char *Txt_Enrollment_requests; @@ -2126,7 +2127,7 @@ static void Enr_ShowEnrollmentRequestsGivenRoles (unsigned RolesSelected) Sco_GetScope ("ScopeEnr"); /***** Start frame *****/ - Lay_StartRoundFrame ("100%",Txt_Enrollment_requests,NULL,NULL); + Lay_StartRoundFrame ("100%",Txt_Enrollment_requests,NULL,Hlp_USERS_Requests); /***** Selection of scope and roles *****/ /* Start form */ diff --git a/swad_help.c b/swad_help.c index 221ac9e7e..9c079dbec 100644 --- a/swad_help.c +++ b/swad_help.c @@ -110,6 +110,9 @@ const char *Hlp_USERS_Duplicates_possibly_similar_users = WIKI "USERS.Duplicat const char *Hlp_USERS_Attendance = WIKI "USERS.Attendance"; +const char *Hlp_USERS_Signup = WIKI "USERS.Sign up"; +const char *Hlp_USERS_Requests = WIKI "USERS.Requests"; + const char *Hlp_USERS_Connected = WIKI "USERS.Connected"; const char *Hlp_USERS_Connected_last_clicks = WIKI "USERS.Connected#last-clicks"; diff --git a/swad_record.c b/swad_record.c index 8b7600cc8..734159aef 100644 --- a/swad_record.c +++ b/swad_record.c @@ -2022,6 +2022,7 @@ void Rec_ShowSharedUsrRecord (Rec_SharedRecordViewType_t TypeOfView, struct UsrData *UsrDat) { extern struct Act_Actions Act_Actions[Act_NUM_ACTIONS]; + extern const char *Hlp_USERS_Signup; extern const char *Hlp_PROFILE_Record; extern const char *Hlp_USERS_Guests; extern const char *Hlp_USERS_Students_shared_record_card; @@ -2032,7 +2033,7 @@ void Rec_ShowSharedUsrRecord (Rec_SharedRecordViewType_t TypeOfView, extern const char *Txt_Confirm; const char *Rec_RecordHelp[Rec_SHARED_NUM_VIEW_TYPES] = { - NULL, // Rec_SHA_SIGN_UP_FORM + Hlp_USERS_Signup, // Rec_SHA_SIGN_UP_FORM Hlp_PROFILE_Record, // Rec_SHA_MY_RECORD_FORM Hlp_PROFILE_Record, // Rec_SHA_MY_RECORD_CHECK