mirror of
https://github.com/acanas/swad-core.git
synced 2024-06-17 05:55:43 +02:00
Version 21.33.1: Oct 15, 2021 Number of users/courses to show big-list warning increased from 500 to 1000.
This commit is contained in:
parent
f7ee3e7359
commit
1e8a0e5d97
|
@ -602,13 +602,14 @@ TODO: FIX BUG, URGENT! En las fechas como par
|
|||
|
||||
TODO: En las encuestas, que los estudiantes no puedan ver los resultados hasta que no finalice el plazo.
|
||||
*/
|
||||
#define Log_PLATFORM_VERSION "SWAD 21.33 (2021-10-15)"
|
||||
#define Log_PLATFORM_VERSION "SWAD 21.33.1 (2021-10-15)"
|
||||
#define CSS_FILE "swad20.45.css"
|
||||
#define JS_FILE "swad20.69.1.js"
|
||||
/*
|
||||
TODO: Rename CENTRE to CENTER in help wiki.
|
||||
TODO: Rename ASSESSMENT.Announcements to ASSESSMENT.Calls_for_exams
|
||||
|
||||
Version 21.33.1: Oct 15, 2021 Number of users/courses to show big-list warning increased from 500 to 1000. (319944 lines)
|
||||
Version 21.33: Oct 15, 2021 Queries moved from search to other modules. (319942 lines)
|
||||
Version 21.32.3: Oct 14, 2021 Fixed bug in institutional links. (319792 lines)
|
||||
Version 21.32.2: Oct 13, 2021 Queries moved from RSS to other modules. (319785 lines)
|
||||
|
|
|
@ -251,13 +251,13 @@
|
|||
|
||||
/* Users */
|
||||
#define Cfg_MAX_USRS_IN_LIST 20000 // If the number of users in a list is greater than this, don't show the list
|
||||
#define Cfg_MIN_NUM_USERS_TO_CONFIRM_SHOW_BIG_LIST 500 // If the number of users in a list is greater than this, ask me for confirmation before showing the list
|
||||
#define Cfg_MIN_NUM_USERS_TO_CONFIRM_SHOW_BIG_LIST 1000 // If the number of users in a list is greater than this, ask me for confirmation before showing the list
|
||||
#define Cfg_MIN_PHOTOS_TO_SHOW_AVERAGE 10 // If the number of students with photo in a degree is less than this, don't show average photo of the degree
|
||||
#define Cfg_MAX_RECIPIENTS 250 // A student can not send a message to more than this number of recipients
|
||||
#define Cfg_MAX_CONNECTED_SHOWN 10 // Show (in right column) only these connected users with more recent activity
|
||||
|
||||
/* Courses */
|
||||
#define Cfg_MIN_NUM_COURSES_TO_CONFIRM_SHOW_BIG_LIST 500 // If the number of courses in a list is greater than this, ask me for confirmation before showing the list
|
||||
#define Cfg_MIN_NUM_COURSES_TO_CONFIRM_SHOW_BIG_LIST 1000 // If the number of courses in a list is greater than this, ask me for confirmation before showing the list
|
||||
|
||||
/* Layout */
|
||||
#define Cfg_DEFAULT_COLUMNS Lay_HIDE_BOTH_COLUMNS
|
||||
|
|
|
@ -1700,7 +1700,6 @@ static void Sta_ShowDetailedAccessesList (const struct Sta_Stats *Stats,
|
|||
|
||||
/***** Write heading *****/
|
||||
HTM_TR_Begin (NULL);
|
||||
|
||||
HTM_TH (1,1,"RT",Txt_No_INDEX);
|
||||
HTM_TH (1,1,"CT",Txt_User_ID);
|
||||
HTM_TH (1,1,"LT",Txt_Name);
|
||||
|
@ -1708,7 +1707,6 @@ static void Sta_ShowDetailedAccessesList (const struct Sta_Stats *Stats,
|
|||
HTM_TH (1,1,"CT",Txt_Date);
|
||||
HTM_TH (1,1,"LT",Txt_Action);
|
||||
HTM_TH (1,1,"LT",Txt_LOG_More_info);
|
||||
|
||||
HTM_TR_End ();
|
||||
|
||||
/***** Write rows back *****/
|
||||
|
@ -1835,14 +1833,12 @@ static void Sta_ShowNumHitsPerUsr (Sta_CountType_t CountType,
|
|||
|
||||
/***** Write heading *****/
|
||||
HTM_TR_Begin (NULL);
|
||||
|
||||
HTM_TH (1,1,"RT",Txt_No_INDEX);
|
||||
HTM_TH (1,1,"CT",Txt_Photo);
|
||||
HTM_TH (1,1,"LT",Txt_ID);
|
||||
HTM_TH (1,1,"LT",Txt_Name);
|
||||
HTM_TH (1,1,"CT",Txt_Role);
|
||||
HTM_TH (1,2,"LT",Txt_STAT_TYPE_COUNT_CAPS[CountType]);
|
||||
|
||||
HTM_TR_End ();
|
||||
|
||||
/***** Write rows *****/
|
||||
|
@ -1948,11 +1944,9 @@ static void Sta_ShowNumHitsPerDay (Sta_CountType_t CountType,
|
|||
|
||||
/***** Write heading *****/
|
||||
HTM_TR_Begin (NULL);
|
||||
|
||||
HTM_TH (1,1,"CT",Txt_Date);
|
||||
HTM_TH (1,1,"LT",Txt_Day);
|
||||
HTM_TH (1,1,"LT",Txt_STAT_TYPE_COUNT_CAPS[CountType]);
|
||||
|
||||
HTM_TR_End ();
|
||||
|
||||
/***** Compute maximum number of pages generated per day *****/
|
||||
|
@ -2140,11 +2134,9 @@ static void Sta_ShowDistrAccessesPerDayAndHour (const struct Sta_Stats *Stats,
|
|||
|
||||
/***** Write heading *****/
|
||||
HTM_TR_Begin (NULL);
|
||||
|
||||
HTM_TH (3,1,"CT",Txt_Date);
|
||||
HTM_TH (3,1,"LT",Txt_Day);
|
||||
HTM_TH (1,24,"LT",Txt_STAT_TYPE_COUNT_CAPS[Stats->CountType]);
|
||||
|
||||
HTM_TR_End ();
|
||||
|
||||
HTM_TR_Begin (NULL);
|
||||
|
@ -2224,6 +2216,7 @@ static void Sta_ShowDistrAccessesPerDayAndHour (const struct Sta_Stats *Stats,
|
|||
Sta_DrawAccessesPerHourForADay (SelectedColorType,NumAccPerHour,Hits.Max);
|
||||
else // D < NumDaysFromLastDateToCurrDate
|
||||
Sta_DrawAccessesPerHourForADay (SelectedColorType,NumAccPerHourZero,Hits.Max);
|
||||
|
||||
HTM_TR_End ();
|
||||
|
||||
/* Decrease day */
|
||||
|
@ -2272,6 +2265,7 @@ static void Sta_ShowDistrAccessesPerDayAndHour (const struct Sta_Stats *Stats,
|
|||
Sta_DrawAccessesPerHourForADay (SelectedColorType,NumAccPerHour,Hits.Max);
|
||||
else // D < NumDaysFromLastDateToCurrDate
|
||||
Sta_DrawAccessesPerHourForADay (SelectedColorType,NumAccPerHourZero,Hits.Max);
|
||||
|
||||
HTM_TR_End ();
|
||||
|
||||
/* Decrease day */
|
||||
|
@ -2389,6 +2383,7 @@ static void Sta_DrawBarColors (Sta_ColorType_t ColorType,double HitsMax)
|
|||
Ico_PutIcon ("tr1x14.gif","","");
|
||||
HTM_TD_End ();
|
||||
}
|
||||
|
||||
HTM_TR_End ();
|
||||
HTM_TABLE_End ();
|
||||
}
|
||||
|
@ -2527,10 +2522,8 @@ static void Sta_ShowNumHitsPerWeek (Sta_CountType_t CountType,
|
|||
|
||||
/***** Write heading *****/
|
||||
HTM_TR_Begin (NULL);
|
||||
|
||||
HTM_TH (1,1,"LT",Txt_Week);
|
||||
HTM_TH (1,1,"LT",Txt_STAT_TYPE_COUNT_CAPS[CountType]);
|
||||
|
||||
HTM_TR_End ();
|
||||
|
||||
/***** Compute maximum number of pages generated per week *****/
|
||||
|
@ -2628,10 +2621,8 @@ static void Sta_ShowNumHitsPerMonth (Sta_CountType_t CountType,
|
|||
|
||||
/***** Write heading *****/
|
||||
HTM_TR_Begin (NULL);
|
||||
|
||||
HTM_TH (1,1,"LT",Txt_Month);
|
||||
HTM_TH (1,1,"LT",Txt_STAT_TYPE_COUNT_CAPS[CountType]);
|
||||
|
||||
HTM_TR_End ();
|
||||
|
||||
/***** Compute maximum number of pages generated per month *****/
|
||||
|
@ -2729,10 +2720,8 @@ static void Sta_ShowNumHitsPerYear (Sta_CountType_t CountType,
|
|||
|
||||
/***** Write heading *****/
|
||||
HTM_TR_Begin (NULL);
|
||||
|
||||
HTM_TH (1,1,"LT",Txt_Year);
|
||||
HTM_TH (1,1,"LT",Txt_STAT_TYPE_COUNT_CAPS[CountType]);
|
||||
|
||||
HTM_TR_End ();
|
||||
|
||||
/***** Compute maximum number of pages generated per year *****/
|
||||
|
@ -2904,6 +2893,7 @@ static void Sta_WriteAccessHour (unsigned Hour,struct Sta_Hits *Hits,unsigned Co
|
|||
/* Write the hour */
|
||||
HTM_BR ();
|
||||
HTM_TxtF ("%uh",Hour);
|
||||
|
||||
HTM_TD_End ();
|
||||
}
|
||||
|
||||
|
@ -3149,10 +3139,8 @@ static void Sta_ShowNumHitsPerAction (Sta_CountType_t CountType,
|
|||
|
||||
/***** Write heading *****/
|
||||
HTM_TR_Begin (NULL);
|
||||
|
||||
HTM_TH (1,1,"RT",Txt_Action);
|
||||
HTM_TH (1,1,"LT",Txt_STAT_TYPE_COUNT_CAPS[CountType]);
|
||||
|
||||
HTM_TR_End ();
|
||||
|
||||
/***** Compute maximum number of pages generated per day *****/
|
||||
|
@ -3204,10 +3192,8 @@ static void Sta_ShowNumHitsPerPlugin (Sta_CountType_t CountType,
|
|||
|
||||
/***** Write heading *****/
|
||||
HTM_TR_Begin (NULL);
|
||||
|
||||
HTM_TH (1,1,"RT",Txt_Plugin);
|
||||
HTM_TH (1,1,"LT",Txt_STAT_TYPE_COUNT_CAPS[CountType]);
|
||||
|
||||
HTM_TR_End ();
|
||||
|
||||
/***** Compute maximum number of pages generated per plugin *****/
|
||||
|
@ -3260,10 +3246,8 @@ static void Sta_ShowNumHitsPerWSFunction (Sta_CountType_t CountType,
|
|||
|
||||
/***** Write heading *****/
|
||||
HTM_TR_Begin (NULL);
|
||||
|
||||
HTM_TH (1,1,"LT",Txt_Function);
|
||||
HTM_TH (1,1,"LT",Txt_STAT_TYPE_COUNT_CAPS[CountType]);
|
||||
|
||||
HTM_TR_End ();
|
||||
|
||||
/***** Compute maximum number of pages generated per function *****/
|
||||
|
@ -3315,10 +3299,8 @@ static void Sta_ShowNumHitsPerBanner (Sta_CountType_t CountType,
|
|||
|
||||
/***** Write heading *****/
|
||||
HTM_TR_Begin (NULL);
|
||||
|
||||
HTM_TH (1,1,"CT",Txt_Banner);
|
||||
HTM_TH (1,1,"LT",Txt_STAT_TYPE_COUNT_CAPS[CountType]);
|
||||
|
||||
HTM_TR_End ();
|
||||
|
||||
/***** Compute maximum number of clicks per banner *****/
|
||||
|
@ -3356,6 +3338,7 @@ static void Sta_ShowNumHitsPerBanner (Sta_CountType_t CountType,
|
|||
HTM_IMG (Cfg_URL_BANNER_PUBLIC,Ban.Img,Ban.FullName,
|
||||
"style=\"margin:0 10px 5px 0;\"");
|
||||
HTM_A_End ();
|
||||
HTM_TD_End ();
|
||||
|
||||
/* Draw bar proportional to number of clicks */
|
||||
NumClicks = Str_GetDoubleFromStr (row[1]);
|
||||
|
@ -3385,11 +3368,9 @@ static void Sta_ShowNumHitsPerCountry (Sta_CountType_t CountType,
|
|||
|
||||
/***** Write heading *****/
|
||||
HTM_TR_Begin (NULL);
|
||||
|
||||
HTM_TH (1,1,"CT",Txt_No_INDEX);
|
||||
HTM_TH (1,1,"CT",Txt_Country);
|
||||
HTM_TH (1,1,"LT",Txt_STAT_TYPE_COUNT_CAPS[CountType]);
|
||||
|
||||
HTM_TR_End ();
|
||||
|
||||
/***** Compute maximum number of hits per country *****/
|
||||
|
@ -3476,11 +3457,9 @@ static void Sta_ShowNumHitsPerInstitution (Sta_CountType_t CountType,
|
|||
|
||||
/***** Write heading *****/
|
||||
HTM_TR_Begin (NULL);
|
||||
|
||||
HTM_TH (1,1,"CT",Txt_No_INDEX);
|
||||
HTM_TH (1,1,"CT",Txt_Institution);
|
||||
HTM_TH (1,1,"LT",Txt_STAT_TYPE_COUNT_CAPS[CountType]);
|
||||
|
||||
HTM_TR_End ();
|
||||
|
||||
/***** Compute maximum number of hits per institution *****/
|
||||
|
@ -3569,11 +3548,9 @@ static void Sta_ShowNumHitsPerCenter (Sta_CountType_t CountType,
|
|||
|
||||
/***** Write heading *****/
|
||||
HTM_TR_Begin (NULL);
|
||||
|
||||
HTM_TH (1,1,"CT",Txt_No_INDEX);
|
||||
HTM_TH (1,1,"CT",Txt_Center);
|
||||
HTM_TH (1,1,"LT",Txt_STAT_TYPE_COUNT_CAPS[CountType]);
|
||||
|
||||
HTM_TR_End ();
|
||||
|
||||
/***** Compute maximum number of hits per center *****/
|
||||
|
@ -3662,11 +3639,9 @@ static void Sta_ShowNumHitsPerDegree (Sta_CountType_t CountType,
|
|||
|
||||
/***** Write heading *****/
|
||||
HTM_TR_Begin (NULL);
|
||||
|
||||
HTM_TH (1,1,"CT",Txt_No_INDEX);
|
||||
HTM_TH (1,1,"CT",Txt_Degree);
|
||||
HTM_TH (1,1,"LT",Txt_STAT_TYPE_COUNT_CAPS[CountType]);
|
||||
|
||||
HTM_TR_End ();
|
||||
|
||||
/***** Compute maximum number of hits per degree *****/
|
||||
|
@ -3759,13 +3734,11 @@ static void Sta_ShowNumHitsPerCourse (Sta_CountType_t CountType,
|
|||
|
||||
/***** Write heading *****/
|
||||
HTM_TR_Begin (NULL);
|
||||
|
||||
HTM_TH (1,1,"CT",Txt_No_INDEX);
|
||||
HTM_TH (1,1,"CT",Txt_Degree);
|
||||
HTM_TH (1,1,"CT",Txt_Year_OF_A_DEGREE);
|
||||
HTM_TH (1,1,"CT",Txt_Course);
|
||||
HTM_TH (1,1,"LT",Txt_STAT_TYPE_COUNT_CAPS[CountType]);
|
||||
|
||||
HTM_TR_End ();
|
||||
|
||||
/***** Compute maximum number of pages generated per course *****/
|
||||
|
|
Loading…
Reference in New Issue
Block a user