diff --git a/swad_changelog.h b/swad_changelog.h index f1aed5112..f02db698f 100644 --- a/swad_changelog.h +++ b/swad_changelog.h @@ -252,13 +252,14 @@ /****************************** Public constants *****************************/ /*****************************************************************************/ -#define Log_PLATFORM_VERSION "SWAD 17.4 (2017-09-20)" +#define Log_PLATFORM_VERSION "SWAD 17.4.1 (2017-09-20)" #define CSS_FILE "swad17.0.css" #define JS_FILE "swad16.206.3.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 17.4.1: Sep 20, 2017 Changes adding users to a project. Not finished. (230141 lines) Version 17.4: Sep 20, 2017 Actions to add users to a project. (230137 lines) 6 changes necessary in database: INSERT INTO actions (ActCod,Language,Obsolete,Txt) VALUES ('1684','es','N','Solicitar ID añadir estudiante a proyecto'); diff --git a/swad_enrolment.c b/swad_enrolment.c index ef27f8e34..0539d5768 100644 --- a/swad_enrolment.c +++ b/swad_enrolment.c @@ -346,10 +346,10 @@ static void Enr_NotifyAfterEnrolment (struct UsrData *UsrDat,Rol_Role_t NewRole) } /*****************************************************************************/ -/****** Write a form to request another user's ID, @nickname or email *******/ +/****** Write a form to request another user's ID, @nickname or email ********/ /*****************************************************************************/ -void Enr_WriteFormToReqAnotherUsrID (Act_Action_t NextAction) +void Enr_WriteFormToReqAnotherUsrID (Act_Action_t NextAction,void (*FuncParams) ()) { extern const char *The_ClassForm[The_NUM_THEMES]; extern const char *Txt_nick_email_or_ID; @@ -357,6 +357,8 @@ void Enr_WriteFormToReqAnotherUsrID (Act_Action_t NextAction) /***** Form to request user's ID, @nickname or email address *****/ Act_FormStart (NextAction); + if (FuncParams) + FuncParams (); fprintf (Gbl.F.Out,"