mirror of https://github.com/acanas/swad-core.git
Version 16.231.4
This commit is contained in:
parent
7a1ffd4002
commit
19bff88643
|
@ -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)
|
||||
|
|
|
@ -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));
|
||||
|
|
|
@ -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 *****/
|
||||
|
|
Loading…
Reference in New Issue