diff --git a/swad_changelog.h b/swad_changelog.h index e655e8c72..e952dc374 100644 --- a/swad_changelog.h +++ b/swad_changelog.h @@ -237,13 +237,14 @@ /****************************** Public constants *****************************/ /*****************************************************************************/ -#define Log_PLATFORM_VERSION "SWAD 16.224 (2017-05-25)" +#define Log_PLATFORM_VERSION "SWAD 16.224.1 (2017-05-25)" #define CSS_FILE "swad16.222.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 16.224.1: May 25, 2017 User lists are shown when changing type of listing. (220463 lines) Version 16.224: May 25, 2017 Code refactoring related to sections. (220459 lines) Version 16.223.2: May 25, 2017 User lists are shown when clicking on "Update students". (220435 lines) Version 16.223.1: May 25, 2017 Alerts closable or not depending on their type. (220400 lines) diff --git a/swad_user.c b/swad_user.c index d219ce344..32ce4b672 100644 --- a/swad_user.c +++ b/swad_user.c @@ -5617,7 +5617,7 @@ void Usr_ShowFormsToSelectUsrListType (Act_Action_t NextAction) Usr_FormToSelectUsrListType (NextAction,Usr_LIST_AS_CLASS_PHOTO); /* Number of columns in the class photo */ - Act_FormStart (NextAction); + Act_FormStartAnchor (NextAction,Usr_USER_LIST_SECTION_ID); Grp_PutParamsCodGrps (); Usr_PutParamUsrListType (Usr_LIST_AS_CLASS_PHOTO); Usr_PutParamListWithPhotos (); @@ -5633,7 +5633,7 @@ void Usr_ShowFormsToSelectUsrListType (Act_Action_t NextAction) Usr_FormToSelectUsrListType (NextAction,Usr_LIST_AS_LISTING); /* See the photos in list? */ - Act_FormStart (NextAction); + Act_FormStartAnchor (NextAction,Usr_USER_LIST_SECTION_ID); Grp_PutParamsCodGrps (); Usr_PutParamUsrListType (Usr_LIST_AS_LISTING); Usr_PutExtraParamsUsrList (NextAction); @@ -5653,11 +5653,14 @@ static void Usr_FormToSelectUsrListType (Act_Action_t NextAction,Usr_ShowUsrsTyp extern const char *The_ClassFormNoWrap[The_NUM_THEMES]; extern const char *Txt_USR_LIST_TYPES[Usr_NUM_USR_LIST_TYPES]; - Act_FormStart (NextAction); + /***** Start form *****/ + Act_FormStartAnchor (NextAction,Usr_USER_LIST_SECTION_ID); Grp_PutParamsCodGrps (); Usr_PutParamUsrListType (ListType); Usr_PutParamListWithPhotos (); Usr_PutExtraParamsUsrList (NextAction); + + /***** Link and image *****/ Act_LinkFormSubmit (Txt_USR_LIST_TYPES[ListType], The_ClassFormNoWrap[Gbl.Prefs.Theme], NextAction == ActReqMsgUsr ? "CopyMessageToHiddenFields()" : @@ -5671,6 +5674,8 @@ static void Usr_FormToSelectUsrListType (Act_Action_t NextAction,Usr_ShowUsrsTyp Txt_USR_LIST_TYPES[ListType], Txt_USR_LIST_TYPES[ListType], Txt_USR_LIST_TYPES[ListType]); + + /***** End form *****/ Act_FormEnd (); }