Version 22.32.3: Sep 29, 2022 Changes in program resources and games.

This commit is contained in:
acanas 2022-09-29 01:46:52 +02:00
parent f7254c17a8
commit 3b78470301
3 changed files with 9 additions and 3 deletions

View File

@ -606,10 +606,11 @@ TODO: Fix bug: error al enviar un mensaje a dos recipientes, error on duplicate
TODO: Attach pdf files in multimedia.
*/
#define Log_PLATFORM_VERSION "SWAD 22.32.2 (2022-09-29)"
#define Log_PLATFORM_VERSION "SWAD 22.32.3 (2022-09-29)"
#define CSS_FILE "swad22.22.1.css"
#define JS_FILE "swad21.100.js"
/*
Version 22.32.3: Sep 29, 2022 Changes in program resources and games. (332642 lines)
Version 22.32.2: Sep 29, 2022 Changes in program resources and exams. (332637 lines)
Version 22.32.1: Sep 29, 2022 Changes in program resources and calls for exams. (332635 lines)
Version 22.32: Sep 29, 2022 Changes in program resources, assignments and projects. (332628 lines)

View File

@ -393,6 +393,12 @@ static void Gam_PutIconsListGames (void *Games)
Ico_PutContextualIconToShowResults (NextAction[Gbl.Usrs.Me.Role.Logged],NULL,
NULL,NULL);
/***** Link to get resource link *****/
if (Gbl.Usrs.Me.Role.Logged == Rol_TCH || // Only if I am a teacher
Gbl.Usrs.Me.Role.Logged == Rol_SYS_ADM) // or a superuser
Ico_PutContextualIconToGetLink (ActReqLnkGam,NULL,
Gam_PutParams,Games);
/***** Put icon to show a figure *****/
Fig_PutIconToShowFigure (Fig_GAMES);
}

View File

@ -48,8 +48,7 @@ void GamRsc_GetLinkToGame (void)
Gam_ResetGames (&Games);
/***** Get parameters *****/
if ((GamCod = Gam_GetParams (&Games)) <= 0)
Err_WrongGameExit ();
GamCod = Gam_GetParams (&Games);
/***** Get game title *****/
GamRsc_GetTitleFromGamCod (GamCod,Title,sizeof (Title) - 1);