From cd24550b7898c20498ae109f8cbf9e0981680a61 Mon Sep 17 00:00:00 2001 From: acanas Date: Sat, 1 Oct 2022 14:19:36 +0200 Subject: [PATCH] Version 22.37.2: Oct 01, 2022 Fixed minor issues in layout. --- swad_changelog.h | 5 +++-- swad_profile.c | 2 +- swad_user.c | 16 ++++++++-------- 3 files changed, 12 insertions(+), 11 deletions(-) diff --git a/swad_changelog.h b/swad_changelog.h index 109ada1a..747a34e1 100644 --- a/swad_changelog.h +++ b/swad_changelog.h @@ -606,11 +606,12 @@ 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.37.1 (2022-10-01)" +#define Log_PLATFORM_VERSION "SWAD 22.37.2 (2022-10-01)" #define CSS_FILE "swad22.35.css" #define JS_FILE "swad21.100.js" /* - Version 22.37.1: Oct 01, 2022 Fixed issues in exams and games. (332527 lines) + Version 22.37.2: Oct 01, 2022 Fixed minor issues in layout. (332526 lines) + Version 22.37.1: Oct 01, 2022 Fixed issues in exams and games. (332525 lines) Version 22.37: Oct 01, 2022 Code refactoring and changes in layout of games. (? lines) Version 22.36.1: Sep 30, 2022 Changes in layout of exams. (332596 lines) Version 22.36: Sep 30, 2022 Code refactoring in exams. (332589 lines) diff --git a/swad_profile.c b/swad_profile.c index 8d5503fe..fafce12c 100644 --- a/swad_profile.c +++ b/swad_profile.c @@ -1184,7 +1184,7 @@ void Prf_ShowRankingFigure (MYSQL_RES **mysql_res,unsigned NumUsrs) HTM_TABLE_Begin (NULL); - for (NumUsr = 1, Rank = 1, The_ResetRowColor (); + for (NumUsr = 1, Rank = 1, The_ResetRowColor (); NumUsr <= NumUsrs; NumUsr++, The_ChangeRowColor ()) { diff --git a/swad_user.c b/swad_user.c index 9535ac1e..b07bb1ac 100644 --- a/swad_user.c +++ b/swad_user.c @@ -6420,7 +6420,7 @@ void Usr_ShowTableCellWithUsrData (struct Usr_Data *UsrDat,unsigned NumRows) Frm_BeginForm (NextAction[UsrDat->Roles.InCurrentCrs]); Usr_PutParamUsrCodEncrypted (UsrDat->EnUsrCod); HTM_BUTTON_Submit_Begin (UsrDat->FullName, - "class=\"BT_LINK MSG_AUT_%s\"", + "class=\"LT BT_LINK MSG_AUT_%s\"", The_GetSuffix ()); } @@ -6680,31 +6680,31 @@ void Usr_GetAndShowUsersRanking (void) /***** Rankings *****/ HTM_TR_Begin (NULL); - HTM_TD_Begin ("class=\"%s LT\"",The_GetSuffix ()); + HTM_TD_Begin ("class=\"LT\""); Prf_GetAndShowRankingClicks (); HTM_TD_End (); - HTM_TD_Begin ("class=\"LT DAT_%s\"",The_GetSuffix ()); + HTM_TD_Begin ("class=\"LT\""); Prf_GetAndShowRankingClicksPerDay (); HTM_TD_End (); - HTM_TD_Begin ("class=\"LT DAT_%s\"",The_GetSuffix ()); + HTM_TD_Begin ("class=\"LT\""); Prf_GetAndShowRankingTimelinePubs (); HTM_TD_End (); - HTM_TD_Begin ("class=\"LT DAT_%s\"",The_GetSuffix ()); + HTM_TD_Begin ("class=\"LT\""); Fol_GetAndShowRankingFollowers (); HTM_TD_End (); - HTM_TD_Begin ("class=\"LT DAT_%s\"",The_GetSuffix ()); + HTM_TD_Begin ("class=\"LT\""); Prf_GetAndShowRankingFileViews (); HTM_TD_End (); - HTM_TD_Begin ("class=\"LT DAT_%s\"",The_GetSuffix ()); + HTM_TD_Begin ("class=\"LT\""); Prf_GetAndShowRankingForPsts (); HTM_TD_End (); - HTM_TD_Begin ("class=\"LT DAT_%s\"",The_GetSuffix ()); + HTM_TD_Begin ("class=\"LT\""); Prf_GetAndShowRankingMsgsSnt (); HTM_TD_End ();