diff --git a/swad_changelog.h b/swad_changelog.h index 424451ae9..2d25534c3 100644 --- a/swad_changelog.h +++ b/swad_changelog.h @@ -231,13 +231,15 @@ /****************************** Public constants *****************************/ /*****************************************************************************/ -#define Log_PLATFORM_VERSION "SWAD 16.231.3 (2017-05-31)" +#define Log_PLATFORM_VERSION "SWAD 16.231.4 (2017-05-31)" #define CSS_FILE "swad16.226.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.231.4: May 31, 2017 Changes in layout of statistics about institutions. + Fixed bug in search. (221039 lines) Version 16.231.3: May 31, 2017 Changes in layout of statistics about institutions. (221037 lines) Version 16.231.2: May 31, 2017 Fixed bug in connected users. (221036 lines) Version 16.231.1: May 31, 2017 Fixed bugs in enrolment and groups. (221031 lines) diff --git a/swad_search.c b/swad_search.c index 268ec2d07..475012ea6 100644 --- a/swad_search.c +++ b/swad_search.c @@ -298,19 +298,19 @@ static bool Sch_CheckIfIHavePermissionToSearch (Sch_WhatToSearch_t WhatToSearch) unsigned Permissions[Sch_NUM_WHAT_TO_SEARCH] = { 0x000, // Sch_SEARCH_UNKNOWN - 0x1FF, // Sch_SEARCH_ALL - 0x1FF, // Sch_SEARCH_COUNTRIES - 0x1FF, // Sch_SEARCH_INSTITS - 0x1FF, // Sch_SEARCH_CENTRES - 0x1FF, // Sch_SEARCH_DEGREES - 0x1FF, // Sch_SEARCH_COURSES - 0x1FF, // Sch_SEARCH_USERS - 0x1FF, // Sch_SEARCH_TEACHERS - 0x1FF, // Sch_SEARCH_STUDENTS - 0x1FF, // Sch_SEARCH_GUESTS - 0x1FF, // Sch_SEARCH_OPEN_DOCUMENTS - 0x1FE, // Sch_SEARCH_DOCUM_IN_MY_COURSES Only if I am logged - 0x1FE, // Sch_SEARCH_MY_DOCUMENTS Only if I am logged + 0x3FF, // Sch_SEARCH_ALL + 0x3FF, // Sch_SEARCH_COUNTRIES + 0x3FF, // Sch_SEARCH_INSTITS + 0x3FF, // Sch_SEARCH_CENTRES + 0x3FF, // Sch_SEARCH_DEGREES + 0x3FF, // Sch_SEARCH_COURSES + 0x3FF, // Sch_SEARCH_USERS + 0x3FF, // Sch_SEARCH_TEACHERS + 0x3FF, // Sch_SEARCH_STUDENTS + 0x3FF, // Sch_SEARCH_GUESTS + 0x3FF, // Sch_SEARCH_OPEN_DOCUMENTS + 0x3FE, // Sch_SEARCH_DOCUM_IN_MY_COURSES Only if I am logged + 0x3FE, // Sch_SEARCH_MY_DOCUMENTS Only if I am logged }; return (Permissions[WhatToSearch] & (1 << Gbl.Usrs.Me.LoggedRole)); diff --git a/swad_statistic.c b/swad_statistic.c index 0a60c3ad2..ab3aea57c 100644 --- a/swad_statistic.c +++ b/swad_statistic.c @@ -1462,7 +1462,7 @@ static void Sta_ShowHits (Sta_GlobalOrCourseAccesses_t GlobalOrCourse) { /***** Put the table with the clicks *****/ if (Gbl.Stat.ClicksGroupedBy == Sta_CLICKS_CRS_DETAILED_LIST) - Lay_StartRoundFrame ("95%",Txt_List_of_detailed_clicks, + Lay_StartRoundFrame ("100%",Txt_List_of_detailed_clicks, NULL,NULL); else Lay_StartRoundFrame (NULL,Txt_STAT_TYPE_COUNT_CAPS[Gbl.Stat.CountType], @@ -4992,7 +4992,7 @@ static void Sta_GetAndShowInssOrderedByNumCtrs (void) char Query[1024]; /****** Institutions ordered by number of centres ******/ - Lay_StartRoundFrameTable ("95%",Txt_Institutions_by_number_of_centres, + Lay_StartRoundFrameTable ("100%",Txt_Institutions_by_number_of_centres, NULL,NULL,2); /***** Get institutions ordered by number of centres *****/ @@ -5044,7 +5044,7 @@ static void Sta_GetAndShowInssOrderedByNumDegs (void) char Query[1024]; /****** Institutions ordered by number of centres ******/ - Lay_StartRoundFrameTable ("95%",Txt_Institutions_by_number_of_degrees, + Lay_StartRoundFrameTable ("100%",Txt_Institutions_by_number_of_degrees, NULL,NULL,2); /***** Get institutions ordered by number of degrees *****/ @@ -5099,7 +5099,7 @@ static void Sta_GetAndShowInssOrderedByNumCrss (void) char Query[1024]; /****** Institutions ordered by number of centres ******/ - Lay_StartRoundFrameTable ("95%",Txt_Institutions_by_number_of_courses, + Lay_StartRoundFrameTable ("100%",Txt_Institutions_by_number_of_courses, NULL,NULL,2); /***** Get institutions ordered by number of courses *****/ @@ -5157,7 +5157,7 @@ static void Sta_GetAndShowInssOrderedByNumUsrsInCrss (void) char Query[1024]; /****** Institutions ordered by number of centres ******/ - Lay_StartRoundFrameTable ("95%",Txt_Institutions_by_number_of_users_in_courses, + Lay_StartRoundFrameTable ("100%",Txt_Institutions_by_number_of_users_in_courses, NULL,NULL,2); /***** Get institutions ordered by number of users in courses *****/ @@ -5219,7 +5219,7 @@ static void Sta_GetAndShowInssOrderedByNumUsrsWhoClaimToBelongToThem (void) char Query[1024]; /****** Institutions ordered by number of centres ******/ - Lay_StartRoundFrameTable ("95%",Txt_Institutions_by_number_of_users_who_claim_to_belong_to_them, + Lay_StartRoundFrameTable ("100%",Txt_Institutions_by_number_of_users_who_claim_to_belong_to_them, NULL,NULL,2); /***** Get institutions ordered by number of users who claim to belong to them *****/