mirror of https://github.com/acanas/swad-core.git
Version19.32.3
This commit is contained in:
parent
a2998c6b68
commit
2df685207a
|
@ -487,7 +487,7 @@ enscript -2 --landscape --color --file-align=2 --highlight --line-numbers -o - *
|
|||
En OpenSWAD:
|
||||
ps2pdf source.ps destination.pdf
|
||||
*/
|
||||
#define Log_PLATFORM_VERSION "SWAD 19.32.2 (2019-10-11)"
|
||||
#define Log_PLATFORM_VERSION "SWAD 19.32.3 (2019-10-11)"
|
||||
#define CSS_FILE "swad19.29.css"
|
||||
#define JS_FILE "swad19.30.js"
|
||||
/*
|
||||
|
@ -496,7 +496,8 @@ ps2pdf source.ps destination.pdf
|
|||
// TODO: En un TFG no preasignado con estudiante tiene que salir un triángulo amarillo
|
||||
// TODO: Hacer un nuevo rol en los TFG: tutor externo (profesor de áreas no vinculadas con el centro, profesionales de empresas, etc.)
|
||||
|
||||
Version 19.32.2: Oct 11, 2019 Code refactoring in HTML. (246668 lines)
|
||||
Version 19.32.3: Oct 11, 2019 Code refactoring in HTML. (246518 lines)
|
||||
Version 19.32.2: Oct 11, 2019 Code refactoring in HTML. (246626 lines)
|
||||
Version 19.32.1: Oct 11, 2019 Code refactoring in HTML. (246668 lines)
|
||||
Version 19.32: Oct 10, 2019 Code refactoring in HTML. (246631 lines)
|
||||
Version 19.31.40: Oct 10, 2019 Code refactoring in HTML tables. (246669 lines)
|
||||
|
|
119
swad_degree.c
119
swad_degree.c
|
@ -186,14 +186,15 @@ void Deg_SeeDegWithPendingCrss (void)
|
|||
|
||||
/***** Write heading *****/
|
||||
Tbl_TR_Begin (NULL);
|
||||
fprintf (Gbl.F.Out,"<th class=\"LEFT_MIDDLE\">"
|
||||
"%s"
|
||||
"</th>"
|
||||
"<th class=\"RIGHT_MIDDLE\">"
|
||||
"%s"
|
||||
"</th>",
|
||||
Txt_Degree,
|
||||
Txt_Courses_ABBREVIATION);
|
||||
|
||||
Tbl_TH_Begin ("class=\"LEFT_MIDDLE\"");
|
||||
fprintf (Gbl.F.Out,"%s",Txt_Degree);
|
||||
Tbl_TH_End ();
|
||||
|
||||
Tbl_TH_Begin ("class=\"RIGHT_MIDDLE\"");
|
||||
fprintf (Gbl.F.Out,"%s",Txt_Courses_ABBREVIATION);
|
||||
Tbl_TH_End ();
|
||||
|
||||
Tbl_TR_End ();
|
||||
|
||||
/***** List the degrees *****/
|
||||
|
@ -1065,22 +1066,27 @@ static void Deg_PutHeadDegreesForSeeing (void)
|
|||
extern const char *Txt_Courses_ABBREVIATION;
|
||||
|
||||
Tbl_TR_Begin (NULL);
|
||||
fprintf (Gbl.F.Out,"<th class=\"BM\"></th>");
|
||||
|
||||
Tbl_TH_Begin ("class=\"BM\"");
|
||||
Tbl_TH_End ();
|
||||
|
||||
Tbl_TH_Empty (1);
|
||||
fprintf (Gbl.F.Out,"<th class=\"LEFT_MIDDLE\">"
|
||||
"%s"
|
||||
"</th>"
|
||||
"<th class=\"LEFT_MIDDLE\">"
|
||||
"%s"
|
||||
"</th>"
|
||||
"<th class=\"RIGHT_MIDDLE\">"
|
||||
"%s"
|
||||
"</th>"
|
||||
"<th class=\"LEFT_MIDDLE\">"
|
||||
"</th>",
|
||||
Txt_Degree,
|
||||
Txt_Type,
|
||||
Txt_Courses_ABBREVIATION);
|
||||
|
||||
Tbl_TH_Begin ("class=\"LEFT_MIDDLE\"");
|
||||
fprintf (Gbl.F.Out,"%s",Txt_Degree);
|
||||
Tbl_TH_End ();
|
||||
|
||||
Tbl_TH_Begin ("class=\"LEFT_MIDDLE\"");
|
||||
fprintf (Gbl.F.Out,"%s",Txt_Type);
|
||||
Tbl_TH_End ();
|
||||
|
||||
Tbl_TH_Begin ("class=\"RIGHT_MIDDLE\"");
|
||||
fprintf (Gbl.F.Out,"%s",Txt_Courses_ABBREVIATION);
|
||||
Tbl_TH_End ();
|
||||
|
||||
Tbl_TH_Begin ("class=\"LEFT_MIDDLE\"");
|
||||
Tbl_TH_End ();
|
||||
|
||||
Tbl_TR_End ();
|
||||
}
|
||||
|
||||
|
@ -1099,38 +1105,43 @@ static void Deg_PutHeadDegreesForEdition (void)
|
|||
extern const char *Txt_Requester;
|
||||
|
||||
Tbl_TR_Begin (NULL);
|
||||
fprintf (Gbl.F.Out,"<th class=\"BM\"></th>"
|
||||
"<th class=\"RIGHT_MIDDLE\">"
|
||||
"%s"
|
||||
"</th>",
|
||||
Txt_Code);
|
||||
|
||||
Tbl_TH_Begin ("class=\"BM\"");
|
||||
Tbl_TH_End ();
|
||||
|
||||
Tbl_TH_Begin ("class=\"RIGHT_MIDDLE\"");
|
||||
fprintf (Gbl.F.Out,"%s",Txt_Code);
|
||||
Tbl_TH_End ();
|
||||
|
||||
Tbl_TH_Empty (1);
|
||||
fprintf (Gbl.F.Out,"<th class=\"LEFT_MIDDLE\">"
|
||||
"%s"
|
||||
"</th>"
|
||||
"<th class=\"LEFT_MIDDLE\">"
|
||||
"%s"
|
||||
"</th>"
|
||||
"<th class=\"LEFT_MIDDLE\">"
|
||||
"%s"
|
||||
"</th>"
|
||||
"<th class=\"LEFT_MIDDLE\">"
|
||||
"%s"
|
||||
"</th>"
|
||||
"<th class=\"RIGHT_MIDDLE\">"
|
||||
"%s"
|
||||
"</th>"
|
||||
"<th class=\"LEFT_MIDDLE\">"
|
||||
"%s"
|
||||
"</th>"
|
||||
"<th class=\"LEFT_MIDDLE\">"
|
||||
"</th>",
|
||||
Txt_Short_name_of_the_degree,
|
||||
Txt_Full_name_of_the_degree,
|
||||
Txt_Type,
|
||||
Txt_WWW,
|
||||
Txt_Courses_ABBREVIATION,
|
||||
Txt_Requester);
|
||||
|
||||
Tbl_TH_Begin ("class=\"LEFT_MIDDLE\"");
|
||||
fprintf (Gbl.F.Out,"%s",Txt_Short_name_of_the_degree);
|
||||
Tbl_TH_End ();
|
||||
|
||||
Tbl_TH_Begin ("class=\"LEFT_MIDDLE\"");
|
||||
fprintf (Gbl.F.Out,"%s",Txt_Full_name_of_the_degree);
|
||||
Tbl_TH_End ();
|
||||
|
||||
Tbl_TH_Begin ("class=\"LEFT_MIDDLE\"");
|
||||
fprintf (Gbl.F.Out,"%s",Txt_Type);
|
||||
Tbl_TH_End ();
|
||||
|
||||
Tbl_TH_Begin ("class=\"LEFT_MIDDLE\"");
|
||||
fprintf (Gbl.F.Out,"%s",Txt_WWW);
|
||||
Tbl_TH_End ();
|
||||
|
||||
Tbl_TH_Begin ("class=\"RIGHT_MIDDLE\"");
|
||||
fprintf (Gbl.F.Out,"%s",Txt_Courses_ABBREVIATION);
|
||||
Tbl_TH_End ();
|
||||
|
||||
Tbl_TH_Begin ("class=\"LEFT_MIDDLE\"");
|
||||
fprintf (Gbl.F.Out,"%s",Txt_Requester);
|
||||
Tbl_TH_End ();
|
||||
|
||||
Tbl_TH_Begin ("class=\"LEFT_MIDDLE\"");
|
||||
Tbl_TH_End ();
|
||||
|
||||
Tbl_TR_End ();
|
||||
}
|
||||
|
||||
|
|
|
@ -520,9 +520,9 @@ static void DT_PutHeadDegreeTypesForSeeing (Act_Action_t NextAction,DT_Order_t S
|
|||
Order <= DT_ORDER_BY_NUM_DEGREES;
|
||||
Order++)
|
||||
{
|
||||
fprintf (Gbl.F.Out,"<th class=\"%s\">",
|
||||
Order == DT_ORDER_BY_DEGREE_TYPE ? "LEFT_MIDDLE" :
|
||||
"RIGHT_MIDDLE");
|
||||
Tbl_TH_Begin ("class=\"%s\"",
|
||||
Order == DT_ORDER_BY_DEGREE_TYPE ? "LEFT_MIDDLE" :
|
||||
"RIGHT_MIDDLE");
|
||||
|
||||
/* Start form to change order */
|
||||
Frm_StartForm (NextAction);
|
||||
|
@ -557,19 +557,22 @@ static void DT_PutHeadDegreeTypesForEdition (void)
|
|||
extern const char *Txt_Degrees;
|
||||
|
||||
Tbl_TR_Begin (NULL);
|
||||
fprintf (Gbl.F.Out,"<th class=\"BM\"></th>"
|
||||
"<th class=\"CENTER_MIDDLE\">"
|
||||
"%s"
|
||||
"</th>"
|
||||
"<th class=\"CENTER_MIDDLE\">"
|
||||
"%s"
|
||||
"</th>"
|
||||
"<th class=\"RIGHT_MIDDLE\">"
|
||||
"%s"
|
||||
"</th>",
|
||||
Txt_Code,
|
||||
Txt_Type_of_degree,
|
||||
Txt_Degrees);
|
||||
|
||||
Tbl_TH_Begin ("class=\"BM\"");
|
||||
Tbl_TH_End ();
|
||||
|
||||
Tbl_TH_Begin ("class=\"CENTER_MIDDLE\"");
|
||||
fprintf (Gbl.F.Out,"%s",Txt_Code);
|
||||
Tbl_TH_End ();
|
||||
|
||||
Tbl_TH_Begin ("class=\"CENTER_MIDDLE\"");
|
||||
fprintf (Gbl.F.Out,"%s",Txt_Type_of_degree);
|
||||
Tbl_TH_End ();
|
||||
|
||||
Tbl_TH_Begin ("class=\"RIGHT_MIDDLE\"");
|
||||
fprintf (Gbl.F.Out,"%s",Txt_Degrees);
|
||||
Tbl_TH_End ();
|
||||
|
||||
Tbl_TR_End ();
|
||||
}
|
||||
|
||||
|
|
|
@ -125,7 +125,7 @@ void Dpt_SeeDepts (void)
|
|||
Order <= Dpt_ORDER_BY_NUM_TCHS;
|
||||
Order++)
|
||||
{
|
||||
fprintf (Gbl.F.Out,"<th class=\"LEFT_MIDDLE\">");
|
||||
Tbl_TH_Begin ("class=\"LEFT_MIDDLE\"");
|
||||
Frm_StartForm (ActSeeDpt);
|
||||
Par_PutHiddenParamUnsigned ("Order",(unsigned) Order);
|
||||
Frm_LinkFormSubmit (Txt_DEPARTMENTS_HELP_ORDER[Order],"TIT_TBL",NULL);
|
||||
|
@ -914,22 +914,23 @@ static void Dpt_PutFormToCreateDepartment (void)
|
|||
|
||||
/***** Write heading *****/
|
||||
Tbl_TR_Begin (NULL);
|
||||
fprintf (Gbl.F.Out,"<th class=\"LEFT_MIDDLE\">"
|
||||
"%s"
|
||||
"</th>"
|
||||
"<th class=\"LEFT_MIDDLE\">"
|
||||
"%s"
|
||||
"</th>"
|
||||
"<th class=\"LEFT_MIDDLE\">"
|
||||
"%s"
|
||||
"</th>"
|
||||
"<th class=\"LEFT_MIDDLE\">"
|
||||
"%s"
|
||||
"</th>",
|
||||
Txt_Institution,
|
||||
Txt_Short_name,
|
||||
Txt_Full_name,
|
||||
Txt_WWW);
|
||||
|
||||
Tbl_TH_Begin ("class=\"LEFT_MIDDLE\"");
|
||||
fprintf (Gbl.F.Out,"%s",Txt_Institution);
|
||||
Tbl_TH_End ();
|
||||
|
||||
Tbl_TH_Begin ("class=\"LEFT_MIDDLE\"");
|
||||
fprintf (Gbl.F.Out,"%s",Txt_Short_name);
|
||||
Tbl_TH_End ();
|
||||
|
||||
Tbl_TH_Begin ("class=\"LEFT_MIDDLE\"");
|
||||
fprintf (Gbl.F.Out,"%s",Txt_Full_name);
|
||||
Tbl_TH_End ();
|
||||
|
||||
Tbl_TH_Begin ("class=\"LEFT_MIDDLE\"");
|
||||
fprintf (Gbl.F.Out,"%s",Txt_WWW);
|
||||
Tbl_TH_End ();
|
||||
|
||||
Tbl_TR_End ();
|
||||
|
||||
Tbl_TR_Begin (NULL);
|
||||
|
@ -1002,32 +1003,34 @@ static void Dpt_PutHeadDepartments (void)
|
|||
extern const char *Txt_ROLES_PLURAL_BRIEF_Abc[Rol_NUM_ROLES];
|
||||
|
||||
Tbl_TR_Begin (NULL);
|
||||
fprintf (Gbl.F.Out,"<th class=\"CENTER_MIDDLE\">"
|
||||
"</th>"
|
||||
"<th class=\"RIGHT_MIDDLE\">"
|
||||
"%s"
|
||||
"</th>"
|
||||
"<th class=\"LEFT_MIDDLE\">"
|
||||
"%s"
|
||||
"</th>"
|
||||
"<th class=\"LEFT_MIDDLE\">"
|
||||
"%s"
|
||||
"</th>"
|
||||
"<th class=\"LEFT_MIDDLE\">"
|
||||
"%s"
|
||||
"</th>"
|
||||
"<th class=\"LEFT_MIDDLE\">"
|
||||
"%s"
|
||||
"</th>"
|
||||
"<th class=\"RIGHT_MIDDLE\">"
|
||||
"%s"
|
||||
"</th>",
|
||||
Txt_Code,
|
||||
Txt_Institution,
|
||||
Txt_Short_name,
|
||||
Txt_Full_name,
|
||||
Txt_WWW,
|
||||
Txt_ROLES_PLURAL_BRIEF_Abc[Rol_TCH]);
|
||||
|
||||
Tbl_TH_Begin ("class=\"CENTER_MIDDLE\"");
|
||||
Tbl_TH_End ();
|
||||
|
||||
Tbl_TH_Begin ("class=\"RIGHT_MIDDLE\"");
|
||||
fprintf (Gbl.F.Out,"%s",Txt_Code);
|
||||
Tbl_TH_End ();
|
||||
|
||||
Tbl_TH_Begin ("class=\"LEFT_MIDDLE\"");
|
||||
fprintf (Gbl.F.Out,"%s",Txt_Institution);
|
||||
Tbl_TH_End ();
|
||||
|
||||
Tbl_TH_Begin ("class=\"LEFT_MIDDLE\"");
|
||||
fprintf (Gbl.F.Out,"%s",Txt_Short_name);
|
||||
Tbl_TH_End ();
|
||||
|
||||
Tbl_TH_Begin ("class=\"LEFT_MIDDLE\"");
|
||||
fprintf (Gbl.F.Out,"%s",Txt_Full_name);
|
||||
Tbl_TH_End ();
|
||||
|
||||
Tbl_TH_Begin ("class=\"LEFT_MIDDLE\"");
|
||||
fprintf (Gbl.F.Out,"%s",Txt_WWW);
|
||||
Tbl_TH_End ();
|
||||
|
||||
Tbl_TH_Begin ("class=\"RIGHT_MIDDLE\"");
|
||||
fprintf (Gbl.F.Out,"%s",Txt_ROLES_PLURAL_BRIEF_Abc[Rol_TCH]);
|
||||
Tbl_TH_End ();
|
||||
|
||||
Tbl_TR_End ();
|
||||
}
|
||||
|
||||
|
|
|
@ -2811,28 +2811,31 @@ static void Enr_ShowEnrolmentRequestsGivenRoles (unsigned RolesSelected)
|
|||
|
||||
/* Start table */
|
||||
Tbl_TABLE_BeginCenterPadding (2);
|
||||
|
||||
Tbl_TH_Empty (1);
|
||||
fprintf (Gbl.F.Out,"<th class=\"LEFT_TOP\">"
|
||||
"%s"
|
||||
"</th>"
|
||||
"<th class=\"RIGHT_TOP\">"
|
||||
"%s"
|
||||
"</th>"
|
||||
"<th colspan=\"2\" class=\"LEFT_TOP\">"
|
||||
"%s"
|
||||
"</th>"
|
||||
"<th class=\"LEFT_TOP\">"
|
||||
"%s"
|
||||
"</th>"
|
||||
"<th class=\"CENTER_TOP\">"
|
||||
"%s"
|
||||
"</th>",
|
||||
Txt_Course,
|
||||
Txt_ROLES_PLURAL_BRIEF_Abc[Rol_TCH],
|
||||
Txt_Requester,
|
||||
Txt_Role,
|
||||
Txt_Date);
|
||||
|
||||
Tbl_TH_Begin ("class=\"LEFT_TOP\"");
|
||||
fprintf (Gbl.F.Out,"%s",Txt_Course);
|
||||
Tbl_TH_End ();
|
||||
|
||||
Tbl_TH_Begin ("class=\"RIGHT_TOP\"");
|
||||
fprintf (Gbl.F.Out,"%s",Txt_ROLES_PLURAL_BRIEF_Abc[Rol_TCH]);
|
||||
Tbl_TH_End ();
|
||||
|
||||
Tbl_TH_Begin ("colspan=\"2\" class=\"LEFT_TOP\"");
|
||||
fprintf (Gbl.F.Out,"%s",Txt_Requester);
|
||||
Tbl_TH_End ();
|
||||
|
||||
Tbl_TH_Begin ("class=\"LEFT_TOP\"");
|
||||
fprintf (Gbl.F.Out,"%s",Txt_Role);
|
||||
Tbl_TH_End ();
|
||||
|
||||
Tbl_TH_Begin ("class=\"CENTER_TOP\"");
|
||||
fprintf (Gbl.F.Out,"%s",Txt_Date);
|
||||
Tbl_TH_End ();
|
||||
|
||||
Tbl_TH_Empty (2);
|
||||
|
||||
Tbl_TR_End ();
|
||||
|
||||
/* List requests */
|
||||
|
|
750
swad_figure.c
750
swad_figure.c
|
@ -372,32 +372,37 @@ static void Fig_GetAndShowUsersStats (void)
|
|||
|
||||
/***** Write heading *****/
|
||||
Tbl_TR_Begin (NULL);
|
||||
fprintf (Gbl.F.Out,"<th class=\"RIGHT_MIDDLE\">"
|
||||
"%s"
|
||||
"</th>"
|
||||
"<th class=\"RIGHT_MIDDLE\">"
|
||||
"%s"
|
||||
"</th>"
|
||||
"<th class=\"RIGHT_MIDDLE\">"
|
||||
"%s"
|
||||
"</th>"
|
||||
"<th class=\"RIGHT_MIDDLE\">"
|
||||
"%s"
|
||||
"</th>",
|
||||
Txt_Users,
|
||||
Txt_No_of_users,
|
||||
Txt_Average_number_of_courses_to_which_a_user_belongs,
|
||||
Txt_Average_number_of_users_belonging_to_a_course);
|
||||
|
||||
fprintf (Gbl.F.Out,"<th class=\"RIGHT_MIDDLE\">");
|
||||
fprintf (Gbl.F.Out,"%s",Txt_Users);
|
||||
fprintf (Gbl.F.Out,"</th>");
|
||||
|
||||
fprintf (Gbl.F.Out,"<th class=\"RIGHT_MIDDLE\">");
|
||||
fprintf (Gbl.F.Out,"%s",Txt_No_of_users);
|
||||
fprintf (Gbl.F.Out,"</th>");
|
||||
|
||||
fprintf (Gbl.F.Out,"<th class=\"RIGHT_MIDDLE\">");
|
||||
fprintf (Gbl.F.Out,"%s",Txt_Average_number_of_courses_to_which_a_user_belongs);
|
||||
fprintf (Gbl.F.Out,"</th>");
|
||||
|
||||
fprintf (Gbl.F.Out,"<th class=\"RIGHT_MIDDLE\">");
|
||||
fprintf (Gbl.F.Out,"%s",Txt_Average_number_of_users_belonging_to_a_course);
|
||||
fprintf (Gbl.F.Out,"</th>");
|
||||
|
||||
Tbl_TR_End ();
|
||||
|
||||
Fig_GetAndShowNumUsrsInCrss (Rol_STD); // Students
|
||||
Fig_GetAndShowNumUsrsInCrss (Rol_NET); // Non-editing teachers
|
||||
Fig_GetAndShowNumUsrsInCrss (Rol_TCH); // Teachers
|
||||
Fig_GetAndShowNumUsrsInCrss (Rol_UNK); // Any user in courses
|
||||
|
||||
Tbl_TR_Begin (NULL);
|
||||
fprintf (Gbl.F.Out,"<th colspan=\"4\" style=\"height:10px;\">"
|
||||
"</th>");
|
||||
|
||||
fprintf (Gbl.F.Out,"<th colspan=\"4\" style=\"height:10px;\">");
|
||||
fprintf (Gbl.F.Out,"</th>");
|
||||
|
||||
Tbl_TR_End ();
|
||||
|
||||
Fig_GetAndShowNumUsrsNotBelongingToAnyCrs (); // Users not beloging to any course
|
||||
|
||||
/***** End table and box *****/
|
||||
|
@ -510,34 +515,35 @@ static void Fig_GetAndShowUsersRanking (void)
|
|||
|
||||
/***** Write heading *****/
|
||||
Tbl_TR_Begin (NULL);
|
||||
fprintf (Gbl.F.Out,"<th class=\"CENTER_MIDDLE\">"
|
||||
"%s"
|
||||
"</th>"
|
||||
"<th class=\"CENTER_MIDDLE\">"
|
||||
"%s"
|
||||
"</th>"
|
||||
"<th class=\"CENTER_MIDDLE\">"
|
||||
"%s"
|
||||
"</th>"
|
||||
"<th class=\"CENTER_MIDDLE\">"
|
||||
"%s"
|
||||
"</th>"
|
||||
"<th class=\"CENTER_MIDDLE\">"
|
||||
"%s"
|
||||
"</th>"
|
||||
"<th class=\"CENTER_MIDDLE\">"
|
||||
"%s"
|
||||
"</th>"
|
||||
"<th class=\"CENTER_MIDDLE\">"
|
||||
"%s"
|
||||
"</th>",
|
||||
Txt_Clicks,
|
||||
Txt_Clicks_per_day,
|
||||
Txt_Timeline,
|
||||
Txt_Followers,
|
||||
Txt_Downloads,
|
||||
Txt_Forums,
|
||||
Txt_Messages);
|
||||
|
||||
fprintf (Gbl.F.Out,"<th class=\"CENTER_MIDDLE\">");
|
||||
fprintf (Gbl.F.Out,"%s",Txt_Clicks);
|
||||
fprintf (Gbl.F.Out,"</th>");
|
||||
|
||||
fprintf (Gbl.F.Out,"<th class=\"CENTER_MIDDLE\">");
|
||||
fprintf (Gbl.F.Out,"%s",Txt_Clicks_per_day);
|
||||
fprintf (Gbl.F.Out,"</th>");
|
||||
|
||||
fprintf (Gbl.F.Out,"<th class=\"CENTER_MIDDLE\">");
|
||||
fprintf (Gbl.F.Out,"%s",Txt_Timeline);
|
||||
fprintf (Gbl.F.Out,"</th>");
|
||||
|
||||
fprintf (Gbl.F.Out,"<th class=\"CENTER_MIDDLE\">");
|
||||
fprintf (Gbl.F.Out,"%s",Txt_Followers);
|
||||
fprintf (Gbl.F.Out,"</th>");
|
||||
|
||||
fprintf (Gbl.F.Out,"<th class=\"CENTER_MIDDLE\">");
|
||||
fprintf (Gbl.F.Out,"%s",Txt_Downloads);
|
||||
fprintf (Gbl.F.Out,"</th>");
|
||||
|
||||
fprintf (Gbl.F.Out,"<th class=\"CENTER_MIDDLE\">");
|
||||
fprintf (Gbl.F.Out,"%s",Txt_Forums);
|
||||
fprintf (Gbl.F.Out,"</th>");
|
||||
|
||||
fprintf (Gbl.F.Out,"<th class=\"CENTER_MIDDLE\">");
|
||||
fprintf (Gbl.F.Out,"%s",Txt_Messages);
|
||||
fprintf (Gbl.F.Out,"</th>");
|
||||
|
||||
Tbl_TR_End ();
|
||||
|
||||
/***** Rankings *****/
|
||||
|
@ -620,47 +626,54 @@ static void Fig_WriteHeadHierarchy (void)
|
|||
extern const char *Txt_Courses;
|
||||
|
||||
Tbl_TR_Begin (NULL);
|
||||
|
||||
Tbl_TH_Empty (1);
|
||||
fprintf (Gbl.F.Out,"<th class=\"RIGHT_MIDDLE\">"
|
||||
"<img src=\"%s/globe.svg\""
|
||||
|
||||
fprintf (Gbl.F.Out,"<th class=\"RIGHT_MIDDLE\">");
|
||||
fprintf (Gbl.F.Out,"<img src=\"%s/globe.svg\""
|
||||
" alt=\"%s\" title=\"%s\""
|
||||
" class=\"CONTEXT_ICO_x16\" />"
|
||||
"<br />"
|
||||
"%s"
|
||||
"</th>"
|
||||
"<th class=\"RIGHT_MIDDLE\">"
|
||||
"<img src=\"%s/university.svg\""
|
||||
"%s",
|
||||
Cfg_URL_ICON_PUBLIC,Txt_Countries,Txt_Countries,Txt_Countries);
|
||||
fprintf (Gbl.F.Out,"</th>");
|
||||
|
||||
fprintf (Gbl.F.Out,"<th class=\"RIGHT_MIDDLE\">");
|
||||
fprintf (Gbl.F.Out,"<img src=\"%s/university.svg\""
|
||||
" alt=\"%s\" title=\"%s\""
|
||||
" class=\"CONTEXT_ICO_x16\" />"
|
||||
"<br />"
|
||||
"%s"
|
||||
"</th>"
|
||||
"<th class=\"RIGHT_MIDDLE\">"
|
||||
"<img src=\"%s/building.svg\""
|
||||
"%s",
|
||||
Cfg_URL_ICON_PUBLIC,Txt_Institutions,Txt_Institutions,Txt_Institutions);
|
||||
fprintf (Gbl.F.Out,"</th>");
|
||||
|
||||
fprintf (Gbl.F.Out,"<th class=\"RIGHT_MIDDLE\">");
|
||||
fprintf (Gbl.F.Out,"<img src=\"%s/building.svg\""
|
||||
" alt=\"%s\" title=\"%s\""
|
||||
" class=\"CONTEXT_ICO_x16\" />"
|
||||
"<br />"
|
||||
"%s"
|
||||
"</th>"
|
||||
"<th class=\"RIGHT_MIDDLE\">"
|
||||
"<img src=\"%s/graduation-cap.svg\""
|
||||
"%s",
|
||||
Cfg_URL_ICON_PUBLIC,Txt_Centres,Txt_Centres,Txt_Centres);
|
||||
fprintf (Gbl.F.Out,"</th>");
|
||||
|
||||
fprintf (Gbl.F.Out,"<th class=\"RIGHT_MIDDLE\">");
|
||||
fprintf (Gbl.F.Out,"<img src=\"%s/graduation-cap.svg\""
|
||||
" alt=\"%s\" title=\"%s\""
|
||||
" class=\"CONTEXT_ICO_x16\" />"
|
||||
"<br />"
|
||||
"%s"
|
||||
"</th>"
|
||||
"<th class=\"RIGHT_MIDDLE\">"
|
||||
"<img src=\"%s/list-ol.svg\""
|
||||
"%s",
|
||||
Cfg_URL_ICON_PUBLIC,Txt_Degrees,Txt_Degrees,Txt_Degrees);
|
||||
fprintf (Gbl.F.Out,"</th>");
|
||||
|
||||
fprintf (Gbl.F.Out,"<th class=\"RIGHT_MIDDLE\">");
|
||||
fprintf (Gbl.F.Out,"<img src=\"%s/list-ol.svg\""
|
||||
" alt=\"%s\" title=\"%s\""
|
||||
" class=\"CONTEXT_ICO_x16\" />"
|
||||
"<br />"
|
||||
"%s"
|
||||
"</th>",
|
||||
Cfg_URL_ICON_PUBLIC,Txt_Countries ,Txt_Countries ,Txt_Countries,
|
||||
Cfg_URL_ICON_PUBLIC,Txt_Institutions,Txt_Institutions,Txt_Institutions,
|
||||
Cfg_URL_ICON_PUBLIC,Txt_Centres ,Txt_Centres ,Txt_Centres,
|
||||
Cfg_URL_ICON_PUBLIC,Txt_Degrees ,Txt_Degrees ,Txt_Degrees,
|
||||
Cfg_URL_ICON_PUBLIC,Txt_Courses ,Txt_Courses ,Txt_Courses);
|
||||
"%s",
|
||||
Cfg_URL_ICON_PUBLIC,Txt_Courses,Txt_Courses,Txt_Courses);
|
||||
fprintf (Gbl.F.Out,"</th>");
|
||||
|
||||
Tbl_TR_End ();
|
||||
}
|
||||
|
||||
|
@ -1481,15 +1494,17 @@ static void Fig_ShowInss (MYSQL_RES **mysql_res,unsigned NumInss,
|
|||
case Usr_LIST_AS_LISTING:
|
||||
/***** Draw institutions as a list *****/
|
||||
Tbl_TR_Begin (NULL);
|
||||
|
||||
Tbl_TH_Empty (1);
|
||||
fprintf (Gbl.F.Out,"<th class=\"LEFT_MIDDLE\">"
|
||||
"%s"
|
||||
"</th>"
|
||||
"<th class=\"RIGHT_MIDDLE\">"
|
||||
"%s"
|
||||
"</th>",
|
||||
Txt_Institution,
|
||||
TxtFigure);
|
||||
|
||||
fprintf (Gbl.F.Out,"<th class=\"LEFT_MIDDLE\">");
|
||||
fprintf (Gbl.F.Out,"%s",Txt_Institution);
|
||||
fprintf (Gbl.F.Out,"</th>");
|
||||
|
||||
fprintf (Gbl.F.Out,"<th class=\"RIGHT_MIDDLE\">");
|
||||
fprintf (Gbl.F.Out,"%s",TxtFigure);
|
||||
fprintf (Gbl.F.Out,"</th>");
|
||||
|
||||
Tbl_TR_End ();
|
||||
|
||||
for (NumIns = 1, NumOrder = 1, NumberLastRow = 0;
|
||||
|
@ -2510,38 +2525,39 @@ static void Fig_WriteStatsExpTreesTableHead1 (void)
|
|||
extern const char *Txt_Size;
|
||||
|
||||
Tbl_TR_Begin (NULL);
|
||||
fprintf (Gbl.F.Out,"<th class=\"LEFT_MIDDLE\">"
|
||||
"%s"
|
||||
"</th>"
|
||||
"<th class=\"RIGHT_MIDDLE\">"
|
||||
"%s"
|
||||
"</th>"
|
||||
"<th class=\"RIGHT_MIDDLE\">"
|
||||
"%s"
|
||||
"</th>"
|
||||
"<th class=\"RIGHT_MIDDLE\">"
|
||||
"%s"
|
||||
"</th>"
|
||||
"<th class=\"RIGHT_MIDDLE\">"
|
||||
"%s"
|
||||
"</th>"
|
||||
"<th class=\"RIGHT_MIDDLE\">"
|
||||
"%s"
|
||||
"</th>"
|
||||
"<th class=\"RIGHT_MIDDLE\">"
|
||||
"%s"
|
||||
"</th>"
|
||||
"<th class=\"RIGHT_MIDDLE\">"
|
||||
"%s"
|
||||
"</th>",
|
||||
Txt_File_zones,
|
||||
Txt_Courses,
|
||||
Txt_Groups,
|
||||
Txt_Users,
|
||||
Txt_Max_levels,
|
||||
Txt_Folders,
|
||||
Txt_Files,
|
||||
Txt_Size);
|
||||
|
||||
fprintf (Gbl.F.Out,"<th class=\"LEFT_MIDDLE\">");
|
||||
fprintf (Gbl.F.Out,"%s",Txt_File_zones);
|
||||
fprintf (Gbl.F.Out,"</th>");
|
||||
|
||||
fprintf (Gbl.F.Out,"<th class=\"RIGHT_MIDDLE\">");
|
||||
fprintf (Gbl.F.Out,"%s",Txt_Courses);
|
||||
fprintf (Gbl.F.Out,"</th>");
|
||||
|
||||
fprintf (Gbl.F.Out,"<th class=\"RIGHT_MIDDLE\">");
|
||||
fprintf (Gbl.F.Out,"%s",Txt_Groups);
|
||||
fprintf (Gbl.F.Out,"</th>");
|
||||
|
||||
fprintf (Gbl.F.Out,"<th class=\"RIGHT_MIDDLE\">");
|
||||
fprintf (Gbl.F.Out,"%s",Txt_Users);
|
||||
fprintf (Gbl.F.Out,"</th>");
|
||||
|
||||
fprintf (Gbl.F.Out,"<th class=\"RIGHT_MIDDLE\">");
|
||||
fprintf (Gbl.F.Out,"%s",Txt_Max_levels);
|
||||
fprintf (Gbl.F.Out,"</th>");
|
||||
|
||||
fprintf (Gbl.F.Out,"<th class=\"RIGHT_MIDDLE\">");
|
||||
fprintf (Gbl.F.Out,"%s",Txt_Folders);
|
||||
fprintf (Gbl.F.Out,"</th>");
|
||||
|
||||
fprintf (Gbl.F.Out,"<th class=\"RIGHT_MIDDLE\">");
|
||||
fprintf (Gbl.F.Out,"%s",Txt_Files);
|
||||
fprintf (Gbl.F.Out,"</th>");
|
||||
|
||||
fprintf (Gbl.F.Out,"<th class=\"RIGHT_MIDDLE\">");
|
||||
fprintf (Gbl.F.Out,"%s",Txt_Size);
|
||||
fprintf (Gbl.F.Out,"</th>");
|
||||
|
||||
Tbl_TR_End ();
|
||||
}
|
||||
|
||||
|
@ -2554,22 +2570,23 @@ static void Fig_WriteStatsExpTreesTableHead2 (void)
|
|||
extern const char *Txt_course;
|
||||
|
||||
Tbl_TR_Begin (NULL);
|
||||
fprintf (Gbl.F.Out,"<th class=\"LEFT_MIDDLE\">"
|
||||
"%s"
|
||||
"</th>"
|
||||
"<th class=\"RIGHT_MIDDLE\">"
|
||||
"%s/<br />%s"
|
||||
"</th>"
|
||||
"<th class=\"RIGHT_MIDDLE\">"
|
||||
"%s/<br />%s"
|
||||
"</th>"
|
||||
"<th class=\"RIGHT_MIDDLE\">"
|
||||
"%s/<br />%s"
|
||||
"</th>",
|
||||
Txt_File_zones,
|
||||
Txt_Folders,Txt_course,
|
||||
Txt_Files,Txt_course,
|
||||
Txt_Size,Txt_course);
|
||||
|
||||
fprintf (Gbl.F.Out,"<th class=\"LEFT_MIDDLE\">");
|
||||
fprintf (Gbl.F.Out,"%s",Txt_File_zones);
|
||||
fprintf (Gbl.F.Out,"</th>");
|
||||
|
||||
fprintf (Gbl.F.Out,"<th class=\"RIGHT_MIDDLE\">");
|
||||
fprintf (Gbl.F.Out,"%s/<br />%s",Txt_Folders,Txt_course);
|
||||
fprintf (Gbl.F.Out,"</th>");
|
||||
|
||||
fprintf (Gbl.F.Out,"<th class=\"RIGHT_MIDDLE\">");
|
||||
fprintf (Gbl.F.Out,"%s/<br />%s",Txt_Files,Txt_course);
|
||||
fprintf (Gbl.F.Out,"</th>");
|
||||
|
||||
fprintf (Gbl.F.Out,"<th class=\"RIGHT_MIDDLE\">");
|
||||
fprintf (Gbl.F.Out,"%s/<br />%s",Txt_Size,Txt_course);
|
||||
fprintf (Gbl.F.Out,"</th>");
|
||||
|
||||
Tbl_TR_End ();
|
||||
}
|
||||
|
||||
|
@ -2582,22 +2599,23 @@ static void Fig_WriteStatsExpTreesTableHead3 (void)
|
|||
extern const char *Txt_user[Usr_NUM_SEXS];
|
||||
|
||||
Tbl_TR_Begin (NULL);
|
||||
fprintf (Gbl.F.Out,"<th class=\"LEFT_MIDDLE\">"
|
||||
"%s"
|
||||
"</th>"
|
||||
"<th class=\"RIGHT_MIDDLE\">"
|
||||
"%s/<br />%s"
|
||||
"</th>"
|
||||
"<th class=\"RIGHT_MIDDLE\">"
|
||||
"%s/<br />%s"
|
||||
"</th>"
|
||||
"<th class=\"RIGHT_MIDDLE\">"
|
||||
"%s/<br />%s"
|
||||
"</th>",
|
||||
Txt_File_zones,
|
||||
Txt_Folders,Txt_user[Usr_SEX_UNKNOWN],
|
||||
Txt_Files,Txt_user[Usr_SEX_UNKNOWN],
|
||||
Txt_Size,Txt_user[Usr_SEX_UNKNOWN]);
|
||||
|
||||
fprintf (Gbl.F.Out,"<th class=\"LEFT_MIDDLE\">");
|
||||
fprintf (Gbl.F.Out,"%s",Txt_File_zones);
|
||||
fprintf (Gbl.F.Out,"</th>");
|
||||
|
||||
fprintf (Gbl.F.Out,"<th class=\"RIGHT_MIDDLE\">");
|
||||
fprintf (Gbl.F.Out,"%s/<br />%s",Txt_Folders,Txt_user[Usr_SEX_UNKNOWN]);
|
||||
fprintf (Gbl.F.Out,"</th>");
|
||||
|
||||
fprintf (Gbl.F.Out,"<th class=\"RIGHT_MIDDLE\">");
|
||||
fprintf (Gbl.F.Out,"%s/<br />%s",Txt_Files,Txt_user[Usr_SEX_UNKNOWN]);
|
||||
fprintf (Gbl.F.Out,"</th>");
|
||||
|
||||
fprintf (Gbl.F.Out,"<th class=\"RIGHT_MIDDLE\">");
|
||||
fprintf (Gbl.F.Out,"%s/<br />%s",Txt_Size,Txt_user[Usr_SEX_UNKNOWN]);
|
||||
fprintf (Gbl.F.Out,"</th>");
|
||||
|
||||
Tbl_TR_End ();
|
||||
}
|
||||
|
||||
|
@ -2816,18 +2834,19 @@ static void Fig_GetAndShowOERsStats (void)
|
|||
|
||||
/***** Write table heading *****/
|
||||
Tbl_TR_Begin (NULL);
|
||||
fprintf (Gbl.F.Out,"<th class=\"LEFT_MIDDLE\">"
|
||||
"%s"
|
||||
"</th>"
|
||||
"<th class=\"RIGHT_MIDDLE\">"
|
||||
"%s"
|
||||
"</th>"
|
||||
"<th class=\"RIGHT_MIDDLE\">"
|
||||
"%s"
|
||||
"</th>",
|
||||
Txt_License,
|
||||
Txt_No_of_private_files,
|
||||
Txt_No_of_public_files);
|
||||
|
||||
fprintf (Gbl.F.Out,"<th class=\"LEFT_MIDDLE\">");
|
||||
fprintf (Gbl.F.Out,"%s",Txt_License);
|
||||
fprintf (Gbl.F.Out,"</th>");
|
||||
|
||||
fprintf (Gbl.F.Out,"<th class=\"RIGHT_MIDDLE\">");
|
||||
fprintf (Gbl.F.Out,"%s",Txt_No_of_private_files);
|
||||
fprintf (Gbl.F.Out,"</th>");
|
||||
|
||||
fprintf (Gbl.F.Out,"<th class=\"RIGHT_MIDDLE\">");
|
||||
fprintf (Gbl.F.Out,"%s",Txt_No_of_public_files);
|
||||
fprintf (Gbl.F.Out,"</th>");
|
||||
|
||||
Tbl_TR_End ();
|
||||
|
||||
for (License = 0;
|
||||
|
@ -3017,22 +3036,23 @@ static void Fig_GetAndShowAssignmentsStats (void)
|
|||
|
||||
/***** Write table heading *****/
|
||||
Tbl_TR_Begin (NULL);
|
||||
fprintf (Gbl.F.Out,"<th class=\"RIGHT_MIDDLE\">"
|
||||
"%s"
|
||||
"</th>"
|
||||
"<th class=\"RIGHT_MIDDLE\">"
|
||||
"%s"
|
||||
"</th>"
|
||||
"<th class=\"RIGHT_MIDDLE\">"
|
||||
"%s"
|
||||
"</th>"
|
||||
"<th class=\"RIGHT_MIDDLE\">"
|
||||
"%s"
|
||||
"</th>",
|
||||
Txt_Number_of_BR_assignments,
|
||||
Txt_Number_of_BR_courses_with_BR_assignments,
|
||||
Txt_Average_number_BR_of_ASSIG_BR_per_course,
|
||||
Txt_Number_of_BR_notifications);
|
||||
|
||||
fprintf (Gbl.F.Out,"<th class=\"RIGHT_MIDDLE\">");
|
||||
fprintf (Gbl.F.Out,"%s",Txt_Number_of_BR_assignments);
|
||||
fprintf (Gbl.F.Out,"</th>");
|
||||
|
||||
fprintf (Gbl.F.Out,"<th class=\"RIGHT_MIDDLE\">");
|
||||
fprintf (Gbl.F.Out,"%s",Txt_Number_of_BR_courses_with_BR_assignments);
|
||||
fprintf (Gbl.F.Out,"</th>");
|
||||
|
||||
fprintf (Gbl.F.Out,"<th class=\"RIGHT_MIDDLE\">");
|
||||
fprintf (Gbl.F.Out,"%s",Txt_Average_number_BR_of_ASSIG_BR_per_course);
|
||||
fprintf (Gbl.F.Out,"</th>");
|
||||
|
||||
fprintf (Gbl.F.Out,"<th class=\"RIGHT_MIDDLE\">");
|
||||
fprintf (Gbl.F.Out,"%s",Txt_Number_of_BR_notifications);
|
||||
fprintf (Gbl.F.Out,"</th>");
|
||||
|
||||
Tbl_TR_End ();
|
||||
|
||||
/***** Write number of assignments *****/
|
||||
|
@ -3086,18 +3106,19 @@ static void Fig_GetAndShowProjectsStats (void)
|
|||
|
||||
/***** Write table heading *****/
|
||||
Tbl_TR_Begin (NULL);
|
||||
fprintf (Gbl.F.Out,"<th class=\"RIGHT_MIDDLE\">"
|
||||
"%s"
|
||||
"</th>"
|
||||
"<th class=\"RIGHT_MIDDLE\">"
|
||||
"%s"
|
||||
"</th>"
|
||||
"<th class=\"RIGHT_MIDDLE\">"
|
||||
"%s"
|
||||
"</th>",
|
||||
Txt_Number_of_BR_projects,
|
||||
Txt_Number_of_BR_courses_with_BR_projects,
|
||||
Txt_Average_number_BR_of_projects_BR_per_course);
|
||||
|
||||
fprintf (Gbl.F.Out,"<th class=\"RIGHT_MIDDLE\">");
|
||||
fprintf (Gbl.F.Out,"%s",Txt_Number_of_BR_projects);
|
||||
fprintf (Gbl.F.Out,"</th>");
|
||||
|
||||
fprintf (Gbl.F.Out,"<th class=\"RIGHT_MIDDLE\">");
|
||||
fprintf (Gbl.F.Out,"%s",Txt_Number_of_BR_courses_with_BR_projects);
|
||||
fprintf (Gbl.F.Out,"</th>");
|
||||
|
||||
fprintf (Gbl.F.Out,"<th class=\"RIGHT_MIDDLE\">");
|
||||
fprintf (Gbl.F.Out,"%s",Txt_Average_number_BR_of_projects_BR_per_course);
|
||||
fprintf (Gbl.F.Out,"</th>");
|
||||
|
||||
Tbl_TR_End ();
|
||||
|
||||
/***** Write number of projects *****/
|
||||
|
@ -3149,42 +3170,43 @@ static void Fig_GetAndShowTestsStats (void)
|
|||
|
||||
/***** Write table heading *****/
|
||||
Tbl_TR_Begin (NULL);
|
||||
fprintf (Gbl.F.Out,"<th class=\"LEFT_MIDDLE\">"
|
||||
"%s"
|
||||
"</th>"
|
||||
"<th class=\"RIGHT_MIDDLE\">"
|
||||
"%s"
|
||||
"</th>"
|
||||
"<th class=\"RIGHT_MIDDLE\">"
|
||||
"%s"
|
||||
"</th>"
|
||||
"<th class=\"RIGHT_MIDDLE\">"
|
||||
"%s"
|
||||
"</th>"
|
||||
"<th class=\"RIGHT_MIDDLE\">"
|
||||
"%s"
|
||||
"</th>"
|
||||
"<th class=\"RIGHT_MIDDLE\">"
|
||||
"%s"
|
||||
"</th>"
|
||||
"<th class=\"RIGHT_MIDDLE\">"
|
||||
"%s"
|
||||
"</th>"
|
||||
"<th class=\"RIGHT_MIDDLE\">"
|
||||
"%s"
|
||||
"</th>"
|
||||
"<th class=\"RIGHT_MIDDLE\">"
|
||||
"%s"
|
||||
"</th>",
|
||||
Txt_Type_of_BR_answers,
|
||||
Txt_Number_of_BR_courses_BR_with_test_BR_questions,
|
||||
Txt_Number_of_BR_courses_with_BR_exportable_BR_test_BR_questions,
|
||||
Txt_Number_BR_of_test_BR_questions,
|
||||
Txt_Average_BR_number_BR_of_test_BR_questions_BR_per_course,
|
||||
Txt_Number_of_BR_times_that_BR_questions_BR_have_been_BR_responded,
|
||||
Txt_Average_BR_number_of_BR_times_that_BR_questions_BR_have_been_BR_responded_BR_per_course,
|
||||
Txt_Average_BR_number_of_BR_times_that_BR_a_question_BR_has_been_BR_responded,
|
||||
Txt_Average_BR_score_BR_per_question_BR_from_0_to_1);
|
||||
|
||||
fprintf (Gbl.F.Out,"<th class=\"LEFT_MIDDLE\">");
|
||||
fprintf (Gbl.F.Out,"%s",Txt_Type_of_BR_answers);
|
||||
fprintf (Gbl.F.Out,"</th>");
|
||||
|
||||
fprintf (Gbl.F.Out,"<th class=\"RIGHT_MIDDLE\">");
|
||||
fprintf (Gbl.F.Out,"%s",Txt_Number_of_BR_courses_BR_with_test_BR_questions);
|
||||
fprintf (Gbl.F.Out,"</th>");
|
||||
|
||||
fprintf (Gbl.F.Out,"<th class=\"RIGHT_MIDDLE\">");
|
||||
fprintf (Gbl.F.Out,"%s",Txt_Number_of_BR_courses_with_BR_exportable_BR_test_BR_questions);
|
||||
fprintf (Gbl.F.Out,"</th>");
|
||||
|
||||
fprintf (Gbl.F.Out,"<th class=\"RIGHT_MIDDLE\">");
|
||||
fprintf (Gbl.F.Out,"%s",Txt_Number_BR_of_test_BR_questions);
|
||||
fprintf (Gbl.F.Out,"</th>");
|
||||
|
||||
fprintf (Gbl.F.Out,"<th class=\"RIGHT_MIDDLE\">");
|
||||
fprintf (Gbl.F.Out,"%s",Txt_Average_BR_number_BR_of_test_BR_questions_BR_per_course);
|
||||
fprintf (Gbl.F.Out,"</th>");
|
||||
|
||||
fprintf (Gbl.F.Out,"<th class=\"RIGHT_MIDDLE\">");
|
||||
fprintf (Gbl.F.Out,"%s",Txt_Number_of_BR_times_that_BR_questions_BR_have_been_BR_responded);
|
||||
fprintf (Gbl.F.Out,"</th>");
|
||||
|
||||
fprintf (Gbl.F.Out,"<th class=\"RIGHT_MIDDLE\">");
|
||||
fprintf (Gbl.F.Out,"%s",Txt_Average_BR_number_of_BR_times_that_BR_questions_BR_have_been_BR_responded_BR_per_course);
|
||||
fprintf (Gbl.F.Out,"</th>");
|
||||
|
||||
fprintf (Gbl.F.Out,"<th class=\"RIGHT_MIDDLE\">");
|
||||
fprintf (Gbl.F.Out,"%s",Txt_Average_BR_number_of_BR_times_that_BR_a_question_BR_has_been_BR_responded);
|
||||
fprintf (Gbl.F.Out,"</th>");
|
||||
|
||||
fprintf (Gbl.F.Out,"<th class=\"RIGHT_MIDDLE\">");
|
||||
fprintf (Gbl.F.Out,"%s",Txt_Average_BR_score_BR_per_question_BR_from_0_to_1);
|
||||
fprintf (Gbl.F.Out,"</th>");
|
||||
|
||||
Tbl_TR_End ();
|
||||
|
||||
for (AnsType = (Tst_AnswerType_t) 0;
|
||||
|
@ -3318,18 +3340,19 @@ static void Fig_GetAndShowGamesStats (void)
|
|||
|
||||
/***** Write table heading *****/
|
||||
Tbl_TR_Begin (NULL);
|
||||
fprintf (Gbl.F.Out,"<th class=\"RIGHT_MIDDLE\">"
|
||||
"%s"
|
||||
"</th>"
|
||||
"<th class=\"RIGHT_MIDDLE\">"
|
||||
"%s"
|
||||
"</th>"
|
||||
"<th class=\"RIGHT_MIDDLE\">"
|
||||
"%s"
|
||||
"</th>",
|
||||
Txt_Number_of_BR_games,
|
||||
Txt_Number_of_BR_courses_with_BR_games,
|
||||
Txt_Average_number_BR_of_games_BR_per_course);
|
||||
|
||||
fprintf (Gbl.F.Out,"<th class=\"RIGHT_MIDDLE\">");
|
||||
fprintf (Gbl.F.Out,"%s",Txt_Number_of_BR_games);
|
||||
fprintf (Gbl.F.Out,"</th>");
|
||||
|
||||
fprintf (Gbl.F.Out,"<th class=\"RIGHT_MIDDLE\">");
|
||||
fprintf (Gbl.F.Out,"%s",Txt_Number_of_BR_courses_with_BR_games);
|
||||
fprintf (Gbl.F.Out,"</th>");
|
||||
|
||||
fprintf (Gbl.F.Out,"<th class=\"RIGHT_MIDDLE\">");
|
||||
fprintf (Gbl.F.Out,"%s",Txt_Average_number_BR_of_games_BR_per_course);
|
||||
fprintf (Gbl.F.Out,"</th>");
|
||||
|
||||
Tbl_TR_End ();
|
||||
|
||||
/***** Write number of games *****/
|
||||
|
@ -3382,26 +3405,27 @@ static void Fig_GetAndShowSocialActivityStats (void)
|
|||
|
||||
/***** Heading row *****/
|
||||
Tbl_TR_Begin (NULL);
|
||||
fprintf (Gbl.F.Out,"<th class=\"LEFT_MIDDLE\">"
|
||||
"%s"
|
||||
"</th>"
|
||||
"<th class=\"RIGHT_MIDDLE\">"
|
||||
"%s"
|
||||
"</th>"
|
||||
"<th class=\"RIGHT_MIDDLE\">"
|
||||
"%s"
|
||||
"</th>"
|
||||
"<th class=\"RIGHT_MIDDLE\">"
|
||||
"%s"
|
||||
"</th>"
|
||||
"<th class=\"RIGHT_MIDDLE\">"
|
||||
"%s"
|
||||
"</th>",
|
||||
Txt_Type,
|
||||
Txt_No_of_social_posts,
|
||||
Txt_No_of_users,
|
||||
Txt_PERCENT_of_users,
|
||||
Txt_No_of_posts_BR_per_user);
|
||||
|
||||
fprintf (Gbl.F.Out,"<th class=\"LEFT_MIDDLE\">");
|
||||
fprintf (Gbl.F.Out,"%s",Txt_Type);
|
||||
fprintf (Gbl.F.Out,"</th>");
|
||||
|
||||
fprintf (Gbl.F.Out,"<th class=\"RIGHT_MIDDLE\">");
|
||||
fprintf (Gbl.F.Out,"%s",Txt_No_of_social_posts);
|
||||
fprintf (Gbl.F.Out,"</th>");
|
||||
|
||||
fprintf (Gbl.F.Out,"<th class=\"RIGHT_MIDDLE\">");
|
||||
fprintf (Gbl.F.Out,"%s",Txt_No_of_users);
|
||||
fprintf (Gbl.F.Out,"</th>");
|
||||
|
||||
fprintf (Gbl.F.Out,"<th class=\"RIGHT_MIDDLE\">");
|
||||
fprintf (Gbl.F.Out,"%s",Txt_PERCENT_of_users);
|
||||
fprintf (Gbl.F.Out,"</th>");
|
||||
|
||||
fprintf (Gbl.F.Out,"<th class=\"RIGHT_MIDDLE\">");
|
||||
fprintf (Gbl.F.Out,"%s",Txt_No_of_posts_BR_per_user);
|
||||
fprintf (Gbl.F.Out,"</th>");
|
||||
|
||||
Tbl_TR_End ();
|
||||
|
||||
/***** Get total number of users *****/
|
||||
|
@ -3703,18 +3727,19 @@ static void Fig_GetAndShowFollowStats (void)
|
|||
|
||||
/***** Heading row *****/
|
||||
Tbl_TR_Begin (NULL);
|
||||
fprintf (Gbl.F.Out,"<th class=\"LEFT_MIDDLE\">"
|
||||
"%s"
|
||||
"</th>"
|
||||
"<th class=\"RIGHT_MIDDLE\">"
|
||||
"%s"
|
||||
"</th>"
|
||||
"<th class=\"RIGHT_MIDDLE\">"
|
||||
"%s"
|
||||
"</th>",
|
||||
Txt_Users,
|
||||
Txt_No_of_users,
|
||||
Txt_PERCENT_of_users);
|
||||
|
||||
fprintf (Gbl.F.Out,"<th class=\"LEFT_MIDDLE\">");
|
||||
fprintf (Gbl.F.Out,"%s",Txt_Users);
|
||||
fprintf (Gbl.F.Out,"</th>");
|
||||
|
||||
fprintf (Gbl.F.Out,"<th class=\"RIGHT_MIDDLE\">");
|
||||
fprintf (Gbl.F.Out,"%s",Txt_No_of_users);
|
||||
fprintf (Gbl.F.Out,"</th>");
|
||||
|
||||
fprintf (Gbl.F.Out,"<th class=\"RIGHT_MIDDLE\">");
|
||||
fprintf (Gbl.F.Out,"%s",Txt_PERCENT_of_users);
|
||||
fprintf (Gbl.F.Out,"</th>");
|
||||
|
||||
Tbl_TR_End ();
|
||||
|
||||
/***** Get total number of users *****/
|
||||
|
@ -3996,46 +4021,48 @@ static void Fig_GetAndShowForumStats (void)
|
|||
|
||||
/***** Write table heading *****/
|
||||
Tbl_TR_Begin (NULL);
|
||||
fprintf (Gbl.F.Out,"<th class=\"LEFT_TOP\" style=\"width:20px;\">"
|
||||
"<img src=\"%s/comments.svg\""
|
||||
|
||||
fprintf (Gbl.F.Out,"<th class=\"LEFT_TOP\" style=\"width:20px;\">");
|
||||
fprintf (Gbl.F.Out,"<img src=\"%s/comments.svg\""
|
||||
" alt=\"%s\" title=\"%s\""
|
||||
" class=\"ICO16x16\" />"
|
||||
"</th>"
|
||||
"<th class=\"LEFT_TOP\">"
|
||||
"%s"
|
||||
"</th>"
|
||||
"<th class=\"RIGHT_TOP\">"
|
||||
"%s"
|
||||
"</th>"
|
||||
"<th class=\"RIGHT_TOP\">"
|
||||
"%s"
|
||||
"</th>"
|
||||
"<th class=\"RIGHT_TOP\">"
|
||||
"%s"
|
||||
"</th>"
|
||||
"<th class=\"RIGHT_TOP\">"
|
||||
"%s"
|
||||
"</th>"
|
||||
"<th class=\"RIGHT_TOP\">"
|
||||
"%s"
|
||||
"</th>"
|
||||
"<th class=\"RIGHT_TOP\">"
|
||||
"%s"
|
||||
"</th>"
|
||||
"<th class=\"RIGHT_TOP\">"
|
||||
"%s"
|
||||
"</th>",
|
||||
" class=\"ICO16x16\" />",
|
||||
Cfg_URL_ICON_PUBLIC,
|
||||
Txt_Scope,
|
||||
Txt_Scope,
|
||||
Txt_Forums,
|
||||
Txt_No_of_forums,
|
||||
Txt_No_of_threads,
|
||||
Txt_No_of_posts,
|
||||
Txt_Number_of_BR_notifications,
|
||||
Txt_No_of_threads_BR_per_forum,
|
||||
Txt_No_of_posts_BR_per_thread,
|
||||
Txt_No_of_posts_BR_per_forum);
|
||||
Txt_Scope);
|
||||
fprintf (Gbl.F.Out,"</th>");
|
||||
|
||||
fprintf (Gbl.F.Out,"<th class=\"LEFT_TOP\">");
|
||||
fprintf (Gbl.F.Out,"%s",Txt_Forums);
|
||||
fprintf (Gbl.F.Out,"</th>");
|
||||
|
||||
fprintf (Gbl.F.Out,"<th class=\"RIGHT_TOP\">");
|
||||
fprintf (Gbl.F.Out,"%s",Txt_No_of_forums);
|
||||
fprintf (Gbl.F.Out,"</th>");
|
||||
|
||||
fprintf (Gbl.F.Out,"<th class=\"RIGHT_TOP\">");
|
||||
fprintf (Gbl.F.Out,"%s",Txt_No_of_threads);
|
||||
fprintf (Gbl.F.Out,"</th>");
|
||||
|
||||
fprintf (Gbl.F.Out,"<th class=\"RIGHT_TOP\">");
|
||||
fprintf (Gbl.F.Out,"%s",Txt_No_of_posts);
|
||||
fprintf (Gbl.F.Out,"</th>");
|
||||
|
||||
fprintf (Gbl.F.Out,"<th class=\"RIGHT_TOP\">");
|
||||
fprintf (Gbl.F.Out,"%s",Txt_Number_of_BR_notifications);
|
||||
fprintf (Gbl.F.Out,"</th>");
|
||||
|
||||
fprintf (Gbl.F.Out,"<th class=\"RIGHT_TOP\">");
|
||||
fprintf (Gbl.F.Out,"%s",Txt_No_of_threads_BR_per_forum);
|
||||
fprintf (Gbl.F.Out,"</th>");
|
||||
|
||||
fprintf (Gbl.F.Out,"<th class=\"RIGHT_TOP\">");
|
||||
fprintf (Gbl.F.Out,"%s",Txt_No_of_posts_BR_per_thread);
|
||||
fprintf (Gbl.F.Out,"</th>");
|
||||
|
||||
fprintf (Gbl.F.Out,"<th class=\"RIGHT_TOP\">");
|
||||
fprintf (Gbl.F.Out,"%s",Txt_No_of_posts_BR_per_forum);
|
||||
fprintf (Gbl.F.Out,"</th>");
|
||||
|
||||
Tbl_TR_End ();
|
||||
|
||||
/***** Write a row for each type of forum *****/
|
||||
|
@ -4362,26 +4389,27 @@ static void Fig_GetAndShowNumUsrsPerNotifyEvent (void)
|
|||
|
||||
/***** Heading row *****/
|
||||
Tbl_TR_Begin (NULL);
|
||||
fprintf (Gbl.F.Out,"<th class=\"LEFT_MIDDLE\">"
|
||||
"%s"
|
||||
"</th>"
|
||||
"<th class=\"RIGHT_MIDDLE\">"
|
||||
"%s"
|
||||
"</th>"
|
||||
"<th class=\"RIGHT_MIDDLE\">"
|
||||
"%s"
|
||||
"</th>"
|
||||
"<th class=\"RIGHT_MIDDLE\">"
|
||||
"%s"
|
||||
"</th>"
|
||||
"<th class=\"RIGHT_MIDDLE\">"
|
||||
"%s"
|
||||
"</th>",
|
||||
Txt_Event,
|
||||
Txt_No_of_users,
|
||||
Txt_PERCENT_of_users,
|
||||
Txt_Number_of_BR_events,
|
||||
Txt_Number_of_BR_emails);
|
||||
|
||||
fprintf (Gbl.F.Out,"<th class=\"LEFT_MIDDLE\">");
|
||||
fprintf (Gbl.F.Out,"%s",Txt_Event);
|
||||
fprintf (Gbl.F.Out,"</th>");
|
||||
|
||||
fprintf (Gbl.F.Out,"<th class=\"RIGHT_MIDDLE\">");
|
||||
fprintf (Gbl.F.Out,"%s",Txt_No_of_users);
|
||||
fprintf (Gbl.F.Out,"</th>");
|
||||
|
||||
fprintf (Gbl.F.Out,"<th class=\"RIGHT_MIDDLE\">");
|
||||
fprintf (Gbl.F.Out,"%s",Txt_PERCENT_of_users);
|
||||
fprintf (Gbl.F.Out,"</th>");
|
||||
|
||||
fprintf (Gbl.F.Out,"<th class=\"RIGHT_MIDDLE\">");
|
||||
fprintf (Gbl.F.Out,"%s",Txt_Number_of_BR_events);
|
||||
fprintf (Gbl.F.Out,"</th>");
|
||||
|
||||
fprintf (Gbl.F.Out,"<th class=\"RIGHT_MIDDLE\">");
|
||||
fprintf (Gbl.F.Out,"%s",Txt_Number_of_BR_emails);
|
||||
fprintf (Gbl.F.Out,"</th>");
|
||||
|
||||
Tbl_TR_End ();
|
||||
|
||||
/***** Get total number of users *****/
|
||||
|
@ -4607,26 +4635,27 @@ static void Fig_GetAndShowNoticesStats (void)
|
|||
|
||||
/***** Write table heading *****/
|
||||
Tbl_TR_Begin (NULL);
|
||||
fprintf (Gbl.F.Out,"<th class=\"RIGHT_MIDDLE\">"
|
||||
"%s"
|
||||
"</th>"
|
||||
"<th class=\"RIGHT_MIDDLE\">"
|
||||
"%s"
|
||||
"</th>"
|
||||
"<th class=\"RIGHT_MIDDLE\">"
|
||||
"%s"
|
||||
"</th>"
|
||||
"<th class=\"RIGHT_MIDDLE\">"
|
||||
"%s"
|
||||
"</th>"
|
||||
"<th class=\"RIGHT_MIDDLE\">"
|
||||
"%s"
|
||||
"</th>",
|
||||
Txt_NOTICE_Active_BR_notices,
|
||||
Txt_NOTICE_Obsolete_BR_notices,
|
||||
Txt_NOTICE_Deleted_BR_notices,
|
||||
Txt_Total,
|
||||
Txt_Number_of_BR_notifications);
|
||||
|
||||
fprintf (Gbl.F.Out,"<th class=\"RIGHT_MIDDLE\">");
|
||||
fprintf (Gbl.F.Out,"%s",Txt_NOTICE_Active_BR_notices);
|
||||
fprintf (Gbl.F.Out,"</th>");
|
||||
|
||||
fprintf (Gbl.F.Out,"<th class=\"RIGHT_MIDDLE\">");
|
||||
fprintf (Gbl.F.Out,"%s",Txt_NOTICE_Obsolete_BR_notices);
|
||||
fprintf (Gbl.F.Out,"</th>");
|
||||
|
||||
fprintf (Gbl.F.Out,"<th class=\"RIGHT_MIDDLE\">");
|
||||
fprintf (Gbl.F.Out,"%s",Txt_NOTICE_Deleted_BR_notices);
|
||||
fprintf (Gbl.F.Out,"</th>");
|
||||
|
||||
fprintf (Gbl.F.Out,"<th class=\"RIGHT_MIDDLE\">");
|
||||
fprintf (Gbl.F.Out,"%s",Txt_Total);
|
||||
fprintf (Gbl.F.Out,"</th>");
|
||||
|
||||
fprintf (Gbl.F.Out,"<th class=\"RIGHT_MIDDLE\">");
|
||||
fprintf (Gbl.F.Out,"%s",Txt_Number_of_BR_notifications);
|
||||
fprintf (Gbl.F.Out,"</th>");
|
||||
|
||||
Tbl_TR_End ();
|
||||
|
||||
/***** Write number of notices *****/
|
||||
|
@ -4691,26 +4720,27 @@ static void Fig_GetAndShowMsgsStats (void)
|
|||
|
||||
/***** Write table heading *****/
|
||||
Tbl_TR_Begin (NULL);
|
||||
fprintf (Gbl.F.Out,"<th class=\"LEFT_MIDDLE\">"
|
||||
"%s"
|
||||
"</th>"
|
||||
"<th class=\"RIGHT_MIDDLE\">"
|
||||
"%s"
|
||||
"</th>"
|
||||
"<th class=\"RIGHT_MIDDLE\">"
|
||||
"%s"
|
||||
"</th>"
|
||||
"<th class=\"RIGHT_MIDDLE\">"
|
||||
"%s"
|
||||
"</th>"
|
||||
"<th class=\"RIGHT_MIDDLE\">"
|
||||
"%s"
|
||||
"</th>",
|
||||
Txt_Messages,
|
||||
Txt_MSGS_Not_deleted,
|
||||
Txt_MSGS_Deleted,
|
||||
Txt_Total,
|
||||
Txt_Number_of_BR_notifications);
|
||||
|
||||
fprintf (Gbl.F.Out,"<th class=\"LEFT_MIDDLE\">");
|
||||
fprintf (Gbl.F.Out,"%s",Txt_Messages);
|
||||
fprintf (Gbl.F.Out,"</th>");
|
||||
|
||||
fprintf (Gbl.F.Out,"<th class=\"RIGHT_MIDDLE\">");
|
||||
fprintf (Gbl.F.Out,"%s",Txt_MSGS_Not_deleted);
|
||||
fprintf (Gbl.F.Out,"</th>");
|
||||
|
||||
fprintf (Gbl.F.Out,"<th class=\"RIGHT_MIDDLE\">");
|
||||
fprintf (Gbl.F.Out,"%s",Txt_MSGS_Deleted);
|
||||
fprintf (Gbl.F.Out,"</th>");
|
||||
|
||||
fprintf (Gbl.F.Out,"<th class=\"RIGHT_MIDDLE\">");
|
||||
fprintf (Gbl.F.Out,"%s",Txt_Total);
|
||||
fprintf (Gbl.F.Out,"</th>");
|
||||
|
||||
fprintf (Gbl.F.Out,"<th class=\"RIGHT_MIDDLE\">");
|
||||
fprintf (Gbl.F.Out,"%s",Txt_Number_of_BR_notifications);
|
||||
fprintf (Gbl.F.Out,"</th>");
|
||||
|
||||
Tbl_TR_End ();
|
||||
|
||||
/***** Write number of messages *****/
|
||||
|
|
Loading…
Reference in New Issue