mirror of https://github.com/acanas/swad-core.git
Version19.30.5
This commit is contained in:
parent
bd746b2346
commit
add8f007ba
|
@ -594,7 +594,7 @@ static void ID_ShowFormChangeUsrID (const struct UsrData *UsrDat,
|
||||||
Ale_ShowAlert (Ale_WARNING,Txt_Please_fill_in_your_ID);
|
Ale_ShowAlert (Ale_WARNING,Txt_Please_fill_in_your_ID);
|
||||||
|
|
||||||
/***** Start table *****/
|
/***** Start table *****/
|
||||||
Tbl_StartTableWide (2);
|
Tbl_StartTableWidePadding (2);
|
||||||
|
|
||||||
/***** List existing user's IDs *****/
|
/***** List existing user's IDs *****/
|
||||||
for (NumID = 0;
|
for (NumID = 0;
|
||||||
|
|
|
@ -466,7 +466,7 @@ static void Agd_ShowEvents (Agd_AgendaType_t AgendaType)
|
||||||
if (Gbl.Agenda.Num)
|
if (Gbl.Agenda.Num)
|
||||||
{
|
{
|
||||||
/***** Start table *****/
|
/***** Start table *****/
|
||||||
Tbl_StartTableWideMargin (2);
|
Tbl_StartTableWideMarginPadding (2);
|
||||||
|
|
||||||
/***** Table head *****/
|
/***** Table head *****/
|
||||||
Agd_WriteHeaderListEvents (AgendaType);
|
Agd_WriteHeaderListEvents (AgendaType);
|
||||||
|
|
|
@ -157,7 +157,7 @@ static void Asg_ShowAllAssignments (void)
|
||||||
if (Gbl.Asgs.Num)
|
if (Gbl.Asgs.Num)
|
||||||
{
|
{
|
||||||
/***** Table head *****/
|
/***** Table head *****/
|
||||||
Tbl_StartTableWideMargin (2);
|
Tbl_StartTableWideMarginPadding (2);
|
||||||
Asg_PutHeadForSeeing (false); // Not print view
|
Asg_PutHeadForSeeing (false); // Not print view
|
||||||
|
|
||||||
/***** Write all the assignments *****/
|
/***** Write all the assignments *****/
|
||||||
|
@ -324,7 +324,7 @@ void Asg_PrintOneAssignment (void)
|
||||||
Gbl.Hierarchy.Crs.CrsCod);
|
Gbl.Hierarchy.Crs.CrsCod);
|
||||||
|
|
||||||
/***** Table head *****/
|
/***** Table head *****/
|
||||||
Tbl_StartTableWideMargin (2);
|
Tbl_StartTableWideMarginPadding (2);
|
||||||
Asg_PutHeadForSeeing (true); // Print view
|
Asg_PutHeadForSeeing (true); // Print view
|
||||||
|
|
||||||
/***** Write assignment *****/
|
/***** Write assignment *****/
|
||||||
|
|
|
@ -237,7 +237,7 @@ static void Att_ShowAllAttEvents (void)
|
||||||
if (Gbl.AttEvents.Num)
|
if (Gbl.AttEvents.Num)
|
||||||
{
|
{
|
||||||
/***** Table head *****/
|
/***** Table head *****/
|
||||||
Tbl_StartTableWideMargin (2);
|
Tbl_StartTableWideMarginPadding (2);
|
||||||
fprintf (Gbl.F.Out,"<tr>"
|
fprintf (Gbl.F.Out,"<tr>"
|
||||||
"<th class=\"CONTEXT_COL\"></th>"); // Column for contextual icons
|
"<th class=\"CONTEXT_COL\"></th>"); // Column for contextual icons
|
||||||
for (Order = Dat_START_TIME;
|
for (Order = Dat_START_TIME;
|
||||||
|
@ -1875,7 +1875,7 @@ static void Att_ListAttOnlyMeAsStudent (struct AttendanceEvent *Att)
|
||||||
Hlp_USERS_Attendance,Box_NOT_CLOSABLE);
|
Hlp_USERS_Attendance,Box_NOT_CLOSABLE);
|
||||||
|
|
||||||
/* Start table */
|
/* Start table */
|
||||||
Tbl_StartTableWideMargin (2);
|
Tbl_StartTableWideMarginPadding (2);
|
||||||
|
|
||||||
/* Header */
|
/* Header */
|
||||||
fprintf (Gbl.F.Out,"<tr>"
|
fprintf (Gbl.F.Out,"<tr>"
|
||||||
|
@ -1962,7 +1962,7 @@ static void Att_ListAttStudents (struct AttendanceEvent *Att)
|
||||||
Grp_PutParamsCodGrps ();
|
Grp_PutParamsCodGrps ();
|
||||||
|
|
||||||
/* Start table */
|
/* Start table */
|
||||||
Tbl_StartTableWideMargin (2);
|
Tbl_StartTableWideMarginPadding (2);
|
||||||
|
|
||||||
/* Header */
|
/* Header */
|
||||||
fprintf (Gbl.F.Out,"<tr>"
|
fprintf (Gbl.F.Out,"<tr>"
|
||||||
|
@ -3101,7 +3101,7 @@ static void Att_ListEventsToSelect (Att_TypeOfView_t TypeOfView)
|
||||||
}
|
}
|
||||||
|
|
||||||
/***** Start table *****/
|
/***** Start table *****/
|
||||||
Tbl_StartTableWide (2);
|
Tbl_StartTableWidePadding (2);
|
||||||
|
|
||||||
/***** Heading row *****/
|
/***** Heading row *****/
|
||||||
fprintf (Gbl.F.Out,"<tr>"
|
fprintf (Gbl.F.Out,"<tr>"
|
||||||
|
@ -3232,7 +3232,7 @@ static void Att_ListUsrsAttendanceTable (Att_TypeOfView_t TypeOfView,
|
||||||
Lay_StartSection (Att_ATTENDANCE_TABLE_ID);
|
Lay_StartSection (Att_ATTENDANCE_TABLE_ID);
|
||||||
|
|
||||||
/***** Start table *****/
|
/***** Start table *****/
|
||||||
Tbl_StartTableCenter (2);
|
Tbl_StartTableCenterPadding (2);
|
||||||
|
|
||||||
/***** Heading row *****/
|
/***** Heading row *****/
|
||||||
Att_WriteTableHeadSeveralAttEvents ();
|
Att_WriteTableHeadSeveralAttEvents ();
|
||||||
|
@ -3535,11 +3535,11 @@ static void Att_ListAttEventsForAStd (unsigned NumUsr,struct UsrData *UsrDat)
|
||||||
fprintf (Gbl.F.Out,"</td>");
|
fprintf (Gbl.F.Out,"</td>");
|
||||||
|
|
||||||
/***** Write user's ID ******/
|
/***** Write user's ID ******/
|
||||||
fprintf (Gbl.F.Out,"<td class=\"LEFT_MIDDLE COLOR%u\">"
|
fprintf (Gbl.F.Out,"<td class=\"LEFT_MIDDLE COLOR%u\">",
|
||||||
"<table>"
|
Gbl.RowEvenOdd);
|
||||||
"<tr>"
|
fprintf (Gbl.F.Out,"<table>");
|
||||||
|
fprintf (Gbl.F.Out,"<tr>"
|
||||||
"<td class=\"%s LEFT_MIDDLE\">",
|
"<td class=\"%s LEFT_MIDDLE\">",
|
||||||
Gbl.RowEvenOdd,
|
|
||||||
UsrDat->Accepted ? "DAT_N" :
|
UsrDat->Accepted ? "DAT_N" :
|
||||||
"DAT");
|
"DAT");
|
||||||
ID_WriteUsrIDs (UsrDat,NULL);
|
ID_WriteUsrIDs (UsrDat,NULL);
|
||||||
|
@ -3553,11 +3553,11 @@ static void Att_ListAttEventsForAStd (unsigned NumUsr,struct UsrData *UsrDat)
|
||||||
if (UsrDat->Surname2[0])
|
if (UsrDat->Surname2[0])
|
||||||
fprintf (Gbl.F.Out," %s",UsrDat->Surname2);
|
fprintf (Gbl.F.Out," %s",UsrDat->Surname2);
|
||||||
fprintf (Gbl.F.Out,", %s</td>"
|
fprintf (Gbl.F.Out,", %s</td>"
|
||||||
"</tr>"
|
|
||||||
"</table>"
|
|
||||||
"</td>"
|
|
||||||
"</tr>",
|
"</tr>",
|
||||||
UsrDat->FirstName);
|
UsrDat->FirstName);
|
||||||
|
fprintf (Gbl.F.Out,"</table>");
|
||||||
|
fprintf (Gbl.F.Out,"</td>"
|
||||||
|
"</tr>");
|
||||||
|
|
||||||
/***** List the events with students *****/
|
/***** List the events with students *****/
|
||||||
for (NumAttEvent = 0, UniqueId = 1;
|
for (NumAttEvent = 0, UniqueId = 1;
|
||||||
|
|
|
@ -404,7 +404,7 @@ static void Ban_ListBannersForEdition (void)
|
||||||
char *Anchor = NULL;
|
char *Anchor = NULL;
|
||||||
|
|
||||||
/***** Start table *****/
|
/***** Start table *****/
|
||||||
Tbl_StartTableWide (2);
|
Tbl_StartTableWidePadding (2);
|
||||||
|
|
||||||
/***** Table head *****/
|
/***** Table head *****/
|
||||||
Ban_PutHeadBanners ();
|
Ban_PutHeadBanners ();
|
||||||
|
|
|
@ -79,7 +79,7 @@ void Box_StartBoxTable (const char *Width,const char *Title,
|
||||||
{
|
{
|
||||||
Box_StartBox (Width,Title,FunctionToDrawContextualIcons,
|
Box_StartBox (Width,Title,FunctionToDrawContextualIcons,
|
||||||
HelpLink,Closable);
|
HelpLink,Closable);
|
||||||
Tbl_StartTableWide (CellPadding);
|
Tbl_StartTableWidePadding (CellPadding);
|
||||||
}
|
}
|
||||||
|
|
||||||
void Box_StartBoxTableShadow (const char *Width,const char *Title,
|
void Box_StartBoxTableShadow (const char *Width,const char *Title,
|
||||||
|
@ -90,7 +90,7 @@ void Box_StartBoxTableShadow (const char *Width,const char *Title,
|
||||||
Box_StartBoxShadow (Width,Title,
|
Box_StartBoxShadow (Width,Title,
|
||||||
FunctionToDrawContextualIcons,
|
FunctionToDrawContextualIcons,
|
||||||
HelpLink);
|
HelpLink);
|
||||||
Tbl_StartTableWide (CellPadding);
|
Tbl_StartTableWidePadding (CellPadding);
|
||||||
}
|
}
|
||||||
|
|
||||||
void Box_StartBox (const char *Width,const char *Title,
|
void Box_StartBox (const char *Width,const char *Title,
|
||||||
|
|
|
@ -405,7 +405,7 @@ static void Ctr_Configuration (bool PrintView)
|
||||||
}
|
}
|
||||||
|
|
||||||
/***** Start table *****/
|
/***** Start table *****/
|
||||||
Tbl_StartTableWide (2);
|
Tbl_StartTableWidePadding (2);
|
||||||
|
|
||||||
/***** Institution *****/
|
/***** Institution *****/
|
||||||
fprintf (Gbl.F.Out,"<tr>"
|
fprintf (Gbl.F.Out,"<tr>"
|
||||||
|
@ -810,7 +810,7 @@ static void Ctr_ListCentres (void)
|
||||||
if (Gbl.Hierarchy.Ins.Ctrs.Num) // There are centres in the current institution
|
if (Gbl.Hierarchy.Ins.Ctrs.Num) // There are centres in the current institution
|
||||||
{
|
{
|
||||||
/***** Start table *****/
|
/***** Start table *****/
|
||||||
Tbl_StartTableWideMargin (2);
|
Tbl_StartTableWideMarginPadding (2);
|
||||||
Ctr_PutHeadCentresForSeeing (true); // Order selectable
|
Ctr_PutHeadCentresForSeeing (true); // Order selectable
|
||||||
|
|
||||||
/***** Write all the centres and their nuber of teachers *****/
|
/***** Write all the centres and their nuber of teachers *****/
|
||||||
|
@ -1483,7 +1483,7 @@ static void Ctr_ListCentresForEdition (void)
|
||||||
Usr_UsrDataConstructor (&UsrDat);
|
Usr_UsrDataConstructor (&UsrDat);
|
||||||
|
|
||||||
/***** Write heading *****/
|
/***** Write heading *****/
|
||||||
Tbl_StartTableWide (2);
|
Tbl_StartTableWidePadding (2);
|
||||||
Ctr_PutHeadCentresForEdition ();
|
Ctr_PutHeadCentresForEdition ();
|
||||||
|
|
||||||
/***** Write all the centres *****/
|
/***** Write all the centres *****/
|
||||||
|
|
|
@ -464,6 +464,8 @@ https://oficinavirtual.ugr.es/awc/horario/ve_horario/visor.jsp?programa=M37156&s
|
||||||
|
|
||||||
contiene una de las que yo imparto. Así que me imagino que te esperarás la sugerencia (petición con café o cerveza como recompensa): ¿sería posible que en la pestaña de horario se pudiese embeber esa página? (Creo que los grados usan algo parecido también.)
|
contiene una de las que yo imparto. Así que me imagino que te esperarás la sugerencia (petición con café o cerveza como recompensa): ¿sería posible que en la pestaña de horario se pudiese embeber esa página? (Creo que los grados usan algo parecido también.)
|
||||||
*/
|
*/
|
||||||
|
|
||||||
|
// TODO: Mostrar cifras sobre partidas (matches) en el apartado Figures > Games.
|
||||||
// TODO: En resultados de test y de juegos, en preguntas modificadas se podría mostrar la puntuación obtenida en la pregunta (ahora no sale)
|
// TODO: En resultados de test y de juegos, en preguntas modificadas se podría mostrar la puntuación obtenida en la pregunta (ahora no sale)
|
||||||
// TODO: Al crear un nuevo juego, debería irse a la pantalla de añadir preguntas (la misma opción que sale cuando pulsas en editar un juego existente)
|
// TODO: Al crear un nuevo juego, debería irse a la pantalla de añadir preguntas (la misma opción que sale cuando pulsas en editar un juego existente)
|
||||||
|
|
||||||
|
@ -485,12 +487,14 @@ enscript -2 --landscape --color --file-align=2 --highlight --line-numbers -o - *
|
||||||
En OpenSWAD:
|
En OpenSWAD:
|
||||||
ps2pdf source.ps destination.pdf
|
ps2pdf source.ps destination.pdf
|
||||||
*/
|
*/
|
||||||
#define Log_PLATFORM_VERSION "SWAD 19.30.3 (2019-10-03)"
|
#define Log_PLATFORM_VERSION "SWAD 19.30.5 (2019-10-03)"
|
||||||
#define CSS_FILE "swad19.29.css"
|
#define CSS_FILE "swad19.29.css"
|
||||||
#define JS_FILE "swad19.30.js"
|
#define JS_FILE "swad19.30.js"
|
||||||
/*
|
/*
|
||||||
// TODO: Perico: poner un candado de bloqueo de creación/edición de proyectos (por ejemplo en asignaturas obsoletas)
|
// TODO: Perico: poner un candado de bloqueo de creación/edición de proyectos (por ejemplo en asignaturas obsoletas)
|
||||||
|
|
||||||
|
Version 19.30.5: Oct 03, 2019 Code refactoring in HTML tables. (246922 lines)
|
||||||
|
Version 19.30.4: Oct 03, 2019 Code refactoring in HTML tables. (246897 lines)
|
||||||
Version 19.30.3: Oct 03, 2019 Changes in help links. (246895 lines)
|
Version 19.30.3: Oct 03, 2019 Changes in help links. (246895 lines)
|
||||||
Version 19.30.2: Oct 03, 2019 Changes in edition of games. (246914 lines)
|
Version 19.30.2: Oct 03, 2019 Changes in edition of games. (246914 lines)
|
||||||
Version 19.30.1: Oct 01, 2019 Changes in match playing. (246904 lines)
|
Version 19.30.1: Oct 01, 2019 Changes in match playing. (246904 lines)
|
||||||
|
|
|
@ -114,7 +114,7 @@ void Cla_SeeClassrooms (void)
|
||||||
/***** Table head *****/
|
/***** Table head *****/
|
||||||
Box_StartBox (NULL,Txt_Classrooms,Cla_PutIconsListingClassrooms,
|
Box_StartBox (NULL,Txt_Classrooms,Cla_PutIconsListingClassrooms,
|
||||||
Hlp_CENTRE_Classrooms,Box_NOT_CLOSABLE);
|
Hlp_CENTRE_Classrooms,Box_NOT_CLOSABLE);
|
||||||
Tbl_StartTableWideMargin (2);
|
Tbl_StartTableWideMarginPadding (2);
|
||||||
fprintf (Gbl.F.Out,"<tr>");
|
fprintf (Gbl.F.Out,"<tr>");
|
||||||
for (Order = (Cla_Order_t) 0;
|
for (Order = (Cla_Order_t) 0;
|
||||||
Order <= (Cla_Order_t) (Cla_NUM_ORDERS - 1);
|
Order <= (Cla_Order_t) (Cla_NUM_ORDERS - 1);
|
||||||
|
@ -474,7 +474,7 @@ static void Cla_ListClassroomsForEdition (void)
|
||||||
struct Classroom *Cla;
|
struct Classroom *Cla;
|
||||||
|
|
||||||
/***** Write heading *****/
|
/***** Write heading *****/
|
||||||
Tbl_StartTableWide (2);
|
Tbl_StartTableWidePadding (2);
|
||||||
Cla_PutHeadClassrooms ();
|
Cla_PutHeadClassrooms ();
|
||||||
|
|
||||||
/***** Write all the classrooms *****/
|
/***** Write all the classrooms *****/
|
||||||
|
|
|
@ -322,7 +322,7 @@ static void Cty_Configuration (bool PrintView)
|
||||||
}
|
}
|
||||||
|
|
||||||
/***** Start table *****/
|
/***** Start table *****/
|
||||||
Tbl_StartTableWide (2);
|
Tbl_StartTableWidePadding (2);
|
||||||
|
|
||||||
/***** Country name (an link to WWW if exists) *****/
|
/***** Country name (an link to WWW if exists) *****/
|
||||||
fprintf (Gbl.F.Out,"<tr>"
|
fprintf (Gbl.F.Out,"<tr>"
|
||||||
|
@ -1600,7 +1600,7 @@ static void Cty_ListCountriesForEdition (void)
|
||||||
Lan_Language_t Lan;
|
Lan_Language_t Lan;
|
||||||
|
|
||||||
/***** Write heading *****/
|
/***** Write heading *****/
|
||||||
Tbl_StartTableWide (2);
|
Tbl_StartTableWidePadding (2);
|
||||||
Cty_PutHeadCountriesForEdition ();
|
Cty_PutHeadCountriesForEdition ();
|
||||||
|
|
||||||
/***** Write all the countries *****/
|
/***** Write all the countries *****/
|
||||||
|
|
|
@ -235,7 +235,7 @@ static void Crs_Configuration (bool PrintView)
|
||||||
Gbl.Hierarchy.Crs.FullName);
|
Gbl.Hierarchy.Crs.FullName);
|
||||||
|
|
||||||
/***** Start table *****/
|
/***** Start table *****/
|
||||||
Tbl_StartTableWide (2);
|
Tbl_StartTableWidePadding (2);
|
||||||
|
|
||||||
/***** Degree *****/
|
/***** Degree *****/
|
||||||
fprintf (Gbl.F.Out,"<tr>"
|
fprintf (Gbl.F.Out,"<tr>"
|
||||||
|
@ -1165,7 +1165,7 @@ static void Crs_ListCourses (void)
|
||||||
if (Gbl.Hierarchy.Deg.Crss.Num) // There are courses in the current degree
|
if (Gbl.Hierarchy.Deg.Crss.Num) // There are courses in the current degree
|
||||||
{
|
{
|
||||||
/***** Start table *****/
|
/***** Start table *****/
|
||||||
Tbl_StartTableWideMargin (2);
|
Tbl_StartTableWideMarginPadding (2);
|
||||||
Crs_PutHeadCoursesForSeeing ();
|
Crs_PutHeadCoursesForSeeing ();
|
||||||
|
|
||||||
/***** List the courses *****/
|
/***** List the courses *****/
|
||||||
|
@ -1430,7 +1430,7 @@ static void Crs_ListCoursesForEdition (void)
|
||||||
unsigned Year;
|
unsigned Year;
|
||||||
|
|
||||||
/***** Write heading *****/
|
/***** Write heading *****/
|
||||||
Tbl_StartTableWide (2);
|
Tbl_StartTableWidePadding (2);
|
||||||
Crs_PutHeadCoursesForEdition ();
|
Crs_PutHeadCoursesForEdition ();
|
||||||
|
|
||||||
/***** List the courses *****/
|
/***** List the courses *****/
|
||||||
|
|
16
swad_date.c
16
swad_date.c
|
@ -549,8 +549,8 @@ void Dat_WriteFormClientLocalDateTimeFromTimeUTC (const char *Id,
|
||||||
|
|
||||||
|
|
||||||
/***** Start table *****/
|
/***** Start table *****/
|
||||||
fprintf (Gbl.F.Out,"<table>"
|
fprintf (Gbl.F.Out,"<table>");
|
||||||
"<tr>");
|
fprintf (Gbl.F.Out,"<tr>");
|
||||||
|
|
||||||
/***** Year *****/
|
/***** Year *****/
|
||||||
fprintf (Gbl.F.Out,"<td class=\"RIGHT_MIDDLE\">"
|
fprintf (Gbl.F.Out,"<td class=\"RIGHT_MIDDLE\">"
|
||||||
|
@ -664,8 +664,8 @@ void Dat_WriteFormClientLocalDateTimeFromTimeUTC (const char *Id,
|
||||||
}
|
}
|
||||||
|
|
||||||
/***** End table *****/
|
/***** End table *****/
|
||||||
fprintf (Gbl.F.Out,"</tr>"
|
fprintf (Gbl.F.Out,"</tr>");
|
||||||
"</table>");
|
fprintf (Gbl.F.Out,"</table>");
|
||||||
|
|
||||||
/***** Hidden field with UTC time (seconds since 1970) used to send time *****/
|
/***** Hidden field with UTC time (seconds since 1970) used to send time *****/
|
||||||
fprintf (Gbl.F.Out,"<input type=\"hidden\""
|
fprintf (Gbl.F.Out,"<input type=\"hidden\""
|
||||||
|
@ -816,8 +816,8 @@ void Dat_WriteFormDate (unsigned FirstYear,unsigned LastYear,
|
||||||
unsigned NumDaysSelectedMonth;
|
unsigned NumDaysSelectedMonth;
|
||||||
|
|
||||||
/***** Start table *****/
|
/***** Start table *****/
|
||||||
fprintf (Gbl.F.Out,"<table>"
|
fprintf (Gbl.F.Out,"<table>");
|
||||||
"<tr>");
|
fprintf (Gbl.F.Out,"<tr>");
|
||||||
|
|
||||||
/***** Year *****/
|
/***** Year *****/
|
||||||
fprintf (Gbl.F.Out,"<td class=\"CENTER_MIDDLE\">"
|
fprintf (Gbl.F.Out,"<td class=\"CENTER_MIDDLE\">"
|
||||||
|
@ -894,8 +894,8 @@ void Dat_WriteFormDate (unsigned FirstYear,unsigned LastYear,
|
||||||
"</td>");
|
"</td>");
|
||||||
|
|
||||||
/***** End table *****/
|
/***** End table *****/
|
||||||
fprintf (Gbl.F.Out,"</tr>"
|
fprintf (Gbl.F.Out,"</tr>");
|
||||||
"</table>");
|
fprintf (Gbl.F.Out,"</table>");
|
||||||
}
|
}
|
||||||
|
|
||||||
/*****************************************************************************/
|
/*****************************************************************************/
|
||||||
|
|
|
@ -339,7 +339,7 @@ static void Deg_Configuration (bool PrintView)
|
||||||
fprintf (Gbl.F.Out,"</div>");
|
fprintf (Gbl.F.Out,"</div>");
|
||||||
|
|
||||||
/***** Start table *****/
|
/***** Start table *****/
|
||||||
Tbl_StartTableWide (2);
|
Tbl_StartTableWidePadding (2);
|
||||||
|
|
||||||
/***** Centre *****/
|
/***** Centre *****/
|
||||||
fprintf (Gbl.F.Out,"<tr>"
|
fprintf (Gbl.F.Out,"<tr>"
|
||||||
|
@ -705,7 +705,7 @@ static void Deg_ListDegreesForEdition (void)
|
||||||
Usr_UsrDataConstructor (&UsrDat);
|
Usr_UsrDataConstructor (&UsrDat);
|
||||||
|
|
||||||
/***** Write heading *****/
|
/***** Write heading *****/
|
||||||
Tbl_StartTableWide (2);
|
Tbl_StartTableWidePadding (2);
|
||||||
Deg_PutHeadDegreesForEdition ();
|
Deg_PutHeadDegreesForEdition ();
|
||||||
|
|
||||||
/***** List the degrees *****/
|
/***** List the degrees *****/
|
||||||
|
@ -1183,7 +1183,7 @@ static void Deg_ListDegrees (void)
|
||||||
if (Gbl.Hierarchy.Ctr.Degs.Num) // There are degrees in the current centre
|
if (Gbl.Hierarchy.Ctr.Degs.Num) // There are degrees in the current centre
|
||||||
{
|
{
|
||||||
/***** Write heading *****/
|
/***** Write heading *****/
|
||||||
Tbl_StartTableWideMargin (2);
|
Tbl_StartTableWideMarginPadding (2);
|
||||||
Deg_PutHeadDegreesForSeeing ();
|
Deg_PutHeadDegreesForSeeing ();
|
||||||
|
|
||||||
/***** List the degrees *****/
|
/***** List the degrees *****/
|
||||||
|
|
|
@ -215,7 +215,7 @@ static void DT_ListDegreeTypes (Act_Action_t NextAction,DT_Order_t SelectedOrder
|
||||||
if (Gbl.DegTypes.Num)
|
if (Gbl.DegTypes.Num)
|
||||||
{
|
{
|
||||||
/***** Write heading *****/
|
/***** Write heading *****/
|
||||||
Tbl_StartTableWideMargin (2);
|
Tbl_StartTableWideMarginPadding (2);
|
||||||
DT_PutHeadDegreeTypesForSeeing (NextAction,SelectedOrder);
|
DT_PutHeadDegreeTypesForSeeing (NextAction,SelectedOrder);
|
||||||
|
|
||||||
/***** List current degree types for seeing *****/
|
/***** List current degree types for seeing *****/
|
||||||
|
@ -391,7 +391,7 @@ static void DT_ListDegreeTypesForEdition (void)
|
||||||
unsigned NumDegTyp;
|
unsigned NumDegTyp;
|
||||||
|
|
||||||
/***** Write heading *****/
|
/***** Write heading *****/
|
||||||
Tbl_StartTableWide (2);
|
Tbl_StartTableWidePadding (2);
|
||||||
DT_PutHeadDegreeTypesForEdition ();
|
DT_PutHeadDegreeTypesForEdition ();
|
||||||
|
|
||||||
/***** List degree types with forms for edition *****/
|
/***** List degree types with forms for edition *****/
|
||||||
|
|
|
@ -492,7 +492,7 @@ static void Dpt_ListDepartmentsForEdition (void)
|
||||||
unsigned NumIns;
|
unsigned NumIns;
|
||||||
|
|
||||||
/***** Start table *****/
|
/***** Start table *****/
|
||||||
Tbl_StartTable (2);
|
Tbl_StartTablePadding (2);
|
||||||
|
|
||||||
/***** Write heading *****/
|
/***** Write heading *****/
|
||||||
Dpt_PutHeadDepartments ();
|
Dpt_PutHeadDepartments ();
|
||||||
|
|
|
@ -159,7 +159,7 @@ void Dup_ListDuplicateUsrs (void)
|
||||||
Usr_UsrDataConstructor (&UsrDat);
|
Usr_UsrDataConstructor (&UsrDat);
|
||||||
|
|
||||||
/***** Start table *****/
|
/***** Start table *****/
|
||||||
Tbl_StartTableCenter (2);
|
Tbl_StartTableCenterPadding (2);
|
||||||
|
|
||||||
/***** Heading row with column names *****/
|
/***** Heading row with column names *****/
|
||||||
Gbl.Usrs.Listing.WithPhotos = true;
|
Gbl.Usrs.Listing.WithPhotos = true;
|
||||||
|
@ -292,7 +292,7 @@ static void Dup_ListSimilarUsrs (void)
|
||||||
Usr_UsrDataConstructor (&UsrDat);
|
Usr_UsrDataConstructor (&UsrDat);
|
||||||
|
|
||||||
/***** Start table *****/
|
/***** Start table *****/
|
||||||
Tbl_StartTableCenter (2);
|
Tbl_StartTableCenterPadding (2);
|
||||||
|
|
||||||
/***** Heading row with column names *****/
|
/***** Heading row with column names *****/
|
||||||
Gbl.Usrs.Listing.WithPhotos = true;
|
Gbl.Usrs.Listing.WithPhotos = true;
|
||||||
|
|
|
@ -927,7 +927,7 @@ static void Enr_PutAreaToEnterUsrsIDs (void)
|
||||||
extern const char *Txt_List_of_nicks_emails_or_IDs;
|
extern const char *Txt_List_of_nicks_emails_or_IDs;
|
||||||
|
|
||||||
/***** Text area for users' IDs *****/
|
/***** Text area for users' IDs *****/
|
||||||
Tbl_StartTableCenter (2);
|
Tbl_StartTableCenterPadding (2);
|
||||||
fprintf (Gbl.F.Out,"<tr>"
|
fprintf (Gbl.F.Out,"<tr>"
|
||||||
"<td class=\"RIGHT_TOP\">"
|
"<td class=\"RIGHT_TOP\">"
|
||||||
"<label for=\"UsrsIDs\" class=\"%s\">%s:</label>"
|
"<label for=\"UsrsIDs\" class=\"%s\">%s:</label>"
|
||||||
|
@ -2291,7 +2291,7 @@ static void Enr_ShowEnrolmentRequestsGivenRoles (unsigned RolesSelected)
|
||||||
/***** Selection of scope and roles *****/
|
/***** Selection of scope and roles *****/
|
||||||
/* Start form and table */
|
/* Start form and table */
|
||||||
Frm_StartForm (ActUpdSignUpReq);
|
Frm_StartForm (ActUpdSignUpReq);
|
||||||
Tbl_StartTableWideMargin (2);
|
Tbl_StartTableWideMarginPadding (2);
|
||||||
|
|
||||||
/* Scope (whole platform, current centre, current degree or current course) */
|
/* Scope (whole platform, current centre, current degree or current course) */
|
||||||
fprintf (Gbl.F.Out,"<tr>"
|
fprintf (Gbl.F.Out,"<tr>"
|
||||||
|
@ -2801,7 +2801,7 @@ static void Enr_ShowEnrolmentRequestsGivenRoles (unsigned RolesSelected)
|
||||||
Usr_UsrDataConstructor (&UsrDat);
|
Usr_UsrDataConstructor (&UsrDat);
|
||||||
|
|
||||||
/* Start table */
|
/* Start table */
|
||||||
Tbl_StartTableCenter (2);
|
Tbl_StartTableCenterPadding (2);
|
||||||
fprintf (Gbl.F.Out,"<th></th>"
|
fprintf (Gbl.F.Out,"<th></th>"
|
||||||
"<th class=\"LEFT_TOP\">"
|
"<th class=\"LEFT_TOP\">"
|
||||||
"%s"
|
"%s"
|
||||||
|
|
|
@ -1606,7 +1606,7 @@ static void Fig_GetAndShowFileBrowsersStats (void)
|
||||||
Hlp_ANALYTICS_Figures_folders_and_files,Box_NOT_CLOSABLE);
|
Hlp_ANALYTICS_Figures_folders_and_files,Box_NOT_CLOSABLE);
|
||||||
|
|
||||||
/***** Write sizes of all file zones *****/
|
/***** Write sizes of all file zones *****/
|
||||||
Tbl_StartTableCenter (2);
|
Tbl_StartTableCenterPadding (2);
|
||||||
Fig_WriteStatsExpTreesTableHead1 ();
|
Fig_WriteStatsExpTreesTableHead1 ();
|
||||||
for (NumStat = 0;
|
for (NumStat = 0;
|
||||||
NumStat < Fig_NUM_STAT_CRS_FILE_ZONES;
|
NumStat < Fig_NUM_STAT_CRS_FILE_ZONES;
|
||||||
|
@ -1617,7 +1617,7 @@ static void Fig_GetAndShowFileBrowsersStats (void)
|
||||||
Tbl_EndTable ();
|
Tbl_EndTable ();
|
||||||
|
|
||||||
/***** Write sizes of all file zones per course *****/
|
/***** Write sizes of all file zones per course *****/
|
||||||
Tbl_StartTableCenter (2);
|
Tbl_StartTableCenterPadding (2);
|
||||||
Fig_WriteStatsExpTreesTableHead2 ();
|
Fig_WriteStatsExpTreesTableHead2 ();
|
||||||
for (NumStat = 0;
|
for (NumStat = 0;
|
||||||
NumStat < Fig_NUM_STAT_CRS_FILE_ZONES;
|
NumStat < Fig_NUM_STAT_CRS_FILE_ZONES;
|
||||||
|
@ -1628,7 +1628,7 @@ static void Fig_GetAndShowFileBrowsersStats (void)
|
||||||
Tbl_EndTable ();
|
Tbl_EndTable ();
|
||||||
|
|
||||||
/***** Write sizes of all file zones per user *****/
|
/***** Write sizes of all file zones per user *****/
|
||||||
Tbl_StartTableCenter (2);
|
Tbl_StartTableCenterPadding (2);
|
||||||
Fig_WriteStatsExpTreesTableHead3 ();
|
Fig_WriteStatsExpTreesTableHead3 ();
|
||||||
for (NumStat = 0;
|
for (NumStat = 0;
|
||||||
NumStat < Fig_NUM_STAT_CRS_FILE_ZONES;
|
NumStat < Fig_NUM_STAT_CRS_FILE_ZONES;
|
||||||
|
|
|
@ -5589,10 +5589,10 @@ static bool Brw_WriteRowFileBrowser (unsigned Level,const char *RowId,
|
||||||
/***** Indentation depending on level, icon, and file/folder name *****/
|
/***** Indentation depending on level, icon, and file/folder name *****/
|
||||||
/* Start column */
|
/* Start column */
|
||||||
fprintf (Gbl.F.Out,"<td class=\"NO_BR LEFT_TOP COLOR%u\""
|
fprintf (Gbl.F.Out,"<td class=\"NO_BR LEFT_TOP COLOR%u\""
|
||||||
" style=\"width:99%%;\">"
|
" style=\"width:99%%;\">",
|
||||||
"<table>"
|
|
||||||
"<tr>",
|
|
||||||
Gbl.RowEvenOdd);
|
Gbl.RowEvenOdd);
|
||||||
|
fprintf (Gbl.F.Out,"<table>");
|
||||||
|
fprintf (Gbl.F.Out,"<tr>");
|
||||||
|
|
||||||
/* Indent depending on level */
|
/* Indent depending on level */
|
||||||
if (Level)
|
if (Level)
|
||||||
|
@ -5628,9 +5628,9 @@ static bool Brw_WriteRowFileBrowser (unsigned Level,const char *RowId,
|
||||||
Brw_WriteFileName (Level,FileMetadata.IsPublic);
|
Brw_WriteFileName (Level,FileMetadata.IsPublic);
|
||||||
|
|
||||||
/* End column */
|
/* End column */
|
||||||
fprintf (Gbl.F.Out,"</tr>"
|
fprintf (Gbl.F.Out,"</tr>");
|
||||||
"</table>"
|
fprintf (Gbl.F.Out,"</table>");
|
||||||
"</td>");
|
fprintf (Gbl.F.Out,"</td>");
|
||||||
|
|
||||||
if (AdminMarks)
|
if (AdminMarks)
|
||||||
/***** Header and footer rows *****/
|
/***** Header and footer rows *****/
|
||||||
|
@ -5818,9 +5818,9 @@ static void Brw_IndentAndWriteIconExpandContract (unsigned Level,
|
||||||
const char *FileBrowserId,const char *RowId,
|
const char *FileBrowserId,const char *RowId,
|
||||||
Brw_IconTree_t IconThisRow)
|
Brw_IconTree_t IconThisRow)
|
||||||
{
|
{
|
||||||
fprintf (Gbl.F.Out,"<td class=\"LEFT_MIDDLE\">"
|
fprintf (Gbl.F.Out,"<td class=\"LEFT_MIDDLE\">");
|
||||||
"<table>"
|
fprintf (Gbl.F.Out,"<table>");
|
||||||
"<tr>");
|
fprintf (Gbl.F.Out,"<tr>");
|
||||||
Brw_IndentDependingOnLevel (Level);
|
Brw_IndentDependingOnLevel (Level);
|
||||||
|
|
||||||
/***** Icon to expand/contract *****/
|
/***** Icon to expand/contract *****/
|
||||||
|
@ -5854,9 +5854,9 @@ static void Brw_IndentAndWriteIconExpandContract (unsigned Level,
|
||||||
}
|
}
|
||||||
fprintf (Gbl.F.Out,"</td>");
|
fprintf (Gbl.F.Out,"</td>");
|
||||||
|
|
||||||
fprintf (Gbl.F.Out,"</tr>"
|
fprintf (Gbl.F.Out,"</tr>");
|
||||||
"</table>"
|
fprintf (Gbl.F.Out,"</table>");
|
||||||
"</td>");
|
fprintf (Gbl.F.Out,"</td>");
|
||||||
}
|
}
|
||||||
|
|
||||||
/*****************************************************************************/
|
/*****************************************************************************/
|
||||||
|
@ -8506,8 +8506,8 @@ static void Brw_PutFormToCreateALink (const char *FileNameToShow)
|
||||||
FileNameToShow);
|
FileNameToShow);
|
||||||
|
|
||||||
/***** URL *****/
|
/***** URL *****/
|
||||||
fprintf (Gbl.F.Out,"<table>"
|
fprintf (Gbl.F.Out,"<table>");
|
||||||
"<tr>"
|
fprintf (Gbl.F.Out,"<tr>"
|
||||||
"<td class=\"RIGHT_MIDDLE\">"
|
"<td class=\"RIGHT_MIDDLE\">"
|
||||||
"<label for=\"NewLinkURL\" class=\"%s\">"
|
"<label for=\"NewLinkURL\" class=\"%s\">"
|
||||||
"%s: "
|
"%s: "
|
||||||
|
@ -8535,10 +8535,10 @@ static void Brw_PutFormToCreateALink (const char *FileNameToShow)
|
||||||
" id=\"NewLinkName\" name=\"NewLinkName\""
|
" id=\"NewLinkName\" name=\"NewLinkName\""
|
||||||
" size=\"30\" maxlength=\"%u\" value=\"\" />"
|
" size=\"30\" maxlength=\"%u\" value=\"\" />"
|
||||||
"</td>"
|
"</td>"
|
||||||
"</tr>"
|
"</tr>",
|
||||||
"</table>",
|
|
||||||
The_ClassFormInBox[Gbl.Prefs.Theme],Txt_Save_as,Txt_optional,
|
The_ClassFormInBox[Gbl.Prefs.Theme],Txt_Save_as,Txt_optional,
|
||||||
Brw_MAX_CHARS_FOLDER);
|
Brw_MAX_CHARS_FOLDER);
|
||||||
|
fprintf (Gbl.F.Out,"</table>");
|
||||||
|
|
||||||
/***** Send button and end box *****/
|
/***** Send button and end box *****/
|
||||||
Box_EndBoxWithButton (Btn_CREATE_BUTTON,Txt_Create_link);
|
Box_EndBoxWithButton (Btn_CREATE_BUTTON,Txt_Create_link);
|
||||||
|
|
|
@ -1031,7 +1031,7 @@ static void For_ShowPostsOfAThread (Ale_AlertType_t AlertType,const char *Messag
|
||||||
&PaginationPsts);
|
&PaginationPsts);
|
||||||
|
|
||||||
/***** Start table *****/
|
/***** Start table *****/
|
||||||
Tbl_StartTableWide (2);
|
Tbl_StartTableWidePadding (2);
|
||||||
|
|
||||||
/***** Show posts from this page, the author and the date of last reply *****/
|
/***** Show posts from this page, the author and the date of last reply *****/
|
||||||
mysql_data_seek (mysql_res,(my_ulonglong) (PaginationPsts.FirstItemVisible - 1));
|
mysql_data_seek (mysql_res,(my_ulonglong) (PaginationPsts.FirstItemVisible - 1));
|
||||||
|
@ -2559,7 +2559,7 @@ static void For_ShowForumThreadsHighlightingOneThread (long ThrCodHighlighted,
|
||||||
&PaginationThrs);
|
&PaginationThrs);
|
||||||
|
|
||||||
/***** Heading row *****/
|
/***** Heading row *****/
|
||||||
Tbl_StartTableWideMargin (2);
|
Tbl_StartTableWideMarginPadding (2);
|
||||||
fprintf (Gbl.F.Out,"<tr>"
|
fprintf (Gbl.F.Out,"<tr>"
|
||||||
"<th style=\"width:20px;\"></th>"
|
"<th style=\"width:20px;\"></th>"
|
||||||
"<th class=\"CONTEXT_COL\"></th>" // Column for contextual icons
|
"<th class=\"CONTEXT_COL\"></th>" // Column for contextual icons
|
||||||
|
@ -3958,7 +3958,7 @@ static void For_WriteFormForumPst (bool IsReply,const char *Subject)
|
||||||
}
|
}
|
||||||
|
|
||||||
/***** Subject and content *****/
|
/***** Subject and content *****/
|
||||||
Tbl_StartTableCenter (2);
|
Tbl_StartTableCenterPadding (2);
|
||||||
|
|
||||||
// If writing a reply to a message of an existing thread ==> write subject
|
// If writing a reply to a message of an existing thread ==> write subject
|
||||||
/* Subject */
|
/* Subject */
|
||||||
|
|
|
@ -209,7 +209,7 @@ static void Gam_ListAllGames (void)
|
||||||
if (Gbl.Games.Num)
|
if (Gbl.Games.Num)
|
||||||
{
|
{
|
||||||
/***** Table head *****/
|
/***** Table head *****/
|
||||||
Tbl_StartTableWideMargin (2);
|
Tbl_StartTableWideMarginPadding (2);
|
||||||
fprintf (Gbl.F.Out,"<tr>");
|
fprintf (Gbl.F.Out,"<tr>");
|
||||||
if (Gam_CheckIfICanEditGames ())
|
if (Gam_CheckIfICanEditGames ())
|
||||||
fprintf (Gbl.F.Out,"<th class=\"CONTEXT_COL\"></th>"); // Column for contextual icons
|
fprintf (Gbl.F.Out,"<th class=\"CONTEXT_COL\"></th>"); // Column for contextual icons
|
||||||
|
@ -394,7 +394,7 @@ void Gam_ShowOneGame (long GamCod,
|
||||||
|
|
||||||
/***** Start table *****/
|
/***** Start table *****/
|
||||||
if (ShowOnlyThisGame)
|
if (ShowOnlyThisGame)
|
||||||
Tbl_StartTableWide (2);
|
Tbl_StartTableWidePadding (2);
|
||||||
|
|
||||||
/***** Start first row of this game *****/
|
/***** Start first row of this game *****/
|
||||||
fprintf (Gbl.F.Out,"<tr>");
|
fprintf (Gbl.F.Out,"<tr>");
|
||||||
|
@ -1633,7 +1633,7 @@ static void Gam_ListOneOrMoreQuestionsForEdition (long GamCod,unsigned NumQsts,
|
||||||
MaxQstInd = Gam_GetMaxQuestionIndexInGame (GamCod);
|
MaxQstInd = Gam_GetMaxQuestionIndexInGame (GamCod);
|
||||||
|
|
||||||
/***** Write the heading *****/
|
/***** Write the heading *****/
|
||||||
Tbl_StartTableWideMargin (2);
|
Tbl_StartTableWideMarginPadding (2);
|
||||||
fprintf (Gbl.F.Out,"<tr>"
|
fprintf (Gbl.F.Out,"<tr>"
|
||||||
"<th></th>"
|
"<th></th>"
|
||||||
"<th class=\"CENTER_TOP\">"
|
"<th class=\"CENTER_TOP\">"
|
||||||
|
|
12
swad_group.c
12
swad_group.c
|
@ -397,7 +397,7 @@ void Grp_ShowFormToSelectSeveralGroups (void (*FuncParams) (void),
|
||||||
Grp_GetListGrpTypesAndGrpsInThisCrs (Grp_ONLY_GROUP_TYPES_WITH_GROUPS);
|
Grp_GetListGrpTypesAndGrpsInThisCrs (Grp_ONLY_GROUP_TYPES_WITH_GROUPS);
|
||||||
|
|
||||||
/***** List the groups for each group type *****/
|
/***** List the groups for each group type *****/
|
||||||
Tbl_StartTableWide (2);
|
Tbl_StartTableWidePadding (2);
|
||||||
for (NumGrpTyp = 0;
|
for (NumGrpTyp = 0;
|
||||||
NumGrpTyp < Gbl.Crs.Grps.GrpTypes.Num;
|
NumGrpTyp < Gbl.Crs.Grps.GrpTypes.Num;
|
||||||
NumGrpTyp++)
|
NumGrpTyp++)
|
||||||
|
@ -1285,7 +1285,7 @@ static void Grp_ListGroupTypesForEdition (void)
|
||||||
char Id[32];
|
char Id[32];
|
||||||
|
|
||||||
/***** Write heading *****/
|
/***** Write heading *****/
|
||||||
Tbl_StartTableWide (2);
|
Tbl_StartTableWidePadding (2);
|
||||||
Grp_WriteHeadingGroupTypes ();
|
Grp_WriteHeadingGroupTypes ();
|
||||||
|
|
||||||
/***** List group types with forms for edition *****/
|
/***** List group types with forms for edition *****/
|
||||||
|
@ -1363,7 +1363,7 @@ static void Grp_ListGroupTypesForEdition (void)
|
||||||
fprintf (Gbl.F.Out,"<td class=\"LEFT_MIDDLE\">");
|
fprintf (Gbl.F.Out,"<td class=\"LEFT_MIDDLE\">");
|
||||||
Frm_StartFormAnchor (ActChgTimGrpTyp,Grp_GROUP_TYPES_SECTION_ID);
|
Frm_StartFormAnchor (ActChgTimGrpTyp,Grp_GROUP_TYPES_SECTION_ID);
|
||||||
Grp_PutParamGrpTypCod (Gbl.Crs.Grps.GrpTypes.LstGrpTypes[NumGrpTyp].GrpTypCod);
|
Grp_PutParamGrpTypCod (Gbl.Crs.Grps.GrpTypes.LstGrpTypes[NumGrpTyp].GrpTypCod);
|
||||||
Tbl_StartTableCenter (2);
|
Tbl_StartTableCenterPadding (2);
|
||||||
fprintf (Gbl.F.Out,"<tr>"
|
fprintf (Gbl.F.Out,"<tr>"
|
||||||
"<td class=\"LEFT_MIDDLE\" style=\"width:16px;\">"
|
"<td class=\"LEFT_MIDDLE\" style=\"width:16px;\">"
|
||||||
"<img src=\"%s/clock.svg\""
|
"<img src=\"%s/clock.svg\""
|
||||||
|
@ -1494,7 +1494,7 @@ static void Grp_ListGroupsForEdition (void)
|
||||||
Rol_Role_t Role;
|
Rol_Role_t Role;
|
||||||
|
|
||||||
/***** Write heading *****/
|
/***** Write heading *****/
|
||||||
Tbl_StartTableWide (2);
|
Tbl_StartTableWidePadding (2);
|
||||||
Grp_WriteHeadingGroups ();
|
Grp_WriteHeadingGroups ();
|
||||||
|
|
||||||
/***** List the groups *****/
|
/***** List the groups *****/
|
||||||
|
@ -1828,7 +1828,7 @@ void Grp_ShowLstGrpsToChgMyGrps (void)
|
||||||
Frm_StartForm (ActChgGrp);
|
Frm_StartForm (ActChgGrp);
|
||||||
|
|
||||||
/***** List the groups the user belongs to for change *****/
|
/***** List the groups the user belongs to for change *****/
|
||||||
Tbl_StartTableWide (2);
|
Tbl_StartTableWidePadding (2);
|
||||||
for (NumGrpTyp = 0;
|
for (NumGrpTyp = 0;
|
||||||
NumGrpTyp < Gbl.Crs.Grps.GrpTypes.Num;
|
NumGrpTyp < Gbl.Crs.Grps.GrpTypes.Num;
|
||||||
NumGrpTyp++)
|
NumGrpTyp++)
|
||||||
|
@ -2553,7 +2553,7 @@ static void Grp_PutFormToCreateGroupType (void)
|
||||||
|
|
||||||
/***** Open time *****/
|
/***** Open time *****/
|
||||||
fprintf (Gbl.F.Out,"<td class=\"LEFT_MIDDLE\">");
|
fprintf (Gbl.F.Out,"<td class=\"LEFT_MIDDLE\">");
|
||||||
Tbl_StartTable (2);
|
Tbl_StartTablePadding (2);
|
||||||
fprintf (Gbl.F.Out,"<tr>"
|
fprintf (Gbl.F.Out,"<tr>"
|
||||||
"<td class=\"LEFT_MIDDLE\" style=\"width:20px;\">"
|
"<td class=\"LEFT_MIDDLE\" style=\"width:20px;\">"
|
||||||
"<img src=\"%s/clock.svg\""
|
"<img src=\"%s/clock.svg\""
|
||||||
|
|
|
@ -99,7 +99,7 @@ void Hie_WriteMenuHierarchy (void)
|
||||||
extern const char *Txt_Course;
|
extern const char *Txt_Course;
|
||||||
|
|
||||||
/***** Start table *****/
|
/***** Start table *****/
|
||||||
Tbl_StartTableCenter (2);
|
Tbl_StartTableCenterPadding (2);
|
||||||
|
|
||||||
/***** Write a 1st selector
|
/***** Write a 1st selector
|
||||||
with all the countries *****/
|
with all the countries *****/
|
||||||
|
|
|
@ -114,7 +114,7 @@ void Hld_SeeHolidays (void)
|
||||||
Hlp_INSTITUTION_Holidays,Box_NOT_CLOSABLE);
|
Hlp_INSTITUTION_Holidays,Box_NOT_CLOSABLE);
|
||||||
if (Gbl.Hlds.Num)
|
if (Gbl.Hlds.Num)
|
||||||
{
|
{
|
||||||
Tbl_StartTableWideMargin (2);
|
Tbl_StartTableWideMarginPadding (2);
|
||||||
fprintf (Gbl.F.Out,"<tr>");
|
fprintf (Gbl.F.Out,"<tr>");
|
||||||
for (Order = Hld_ORDER_BY_PLACE;
|
for (Order = Hld_ORDER_BY_PLACE;
|
||||||
Order <= Hld_ORDER_BY_START_DATE;
|
Order <= Hld_ORDER_BY_START_DATE;
|
||||||
|
|
|
@ -117,7 +117,7 @@ void Ind_ReqIndicatorsCourses (void)
|
||||||
/***** Form to update indicators *****/
|
/***** Form to update indicators *****/
|
||||||
/* Start form and table */
|
/* Start form and table */
|
||||||
Frm_StartForm (ActReqStaCrs);
|
Frm_StartForm (ActReqStaCrs);
|
||||||
Tbl_StartTableWide (2);
|
Tbl_StartTableWidePadding (2);
|
||||||
|
|
||||||
/* Scope */
|
/* Scope */
|
||||||
fprintf (Gbl.F.Out,"<tr>"
|
fprintf (Gbl.F.Out,"<tr>"
|
||||||
|
@ -630,7 +630,7 @@ static void Ind_ShowNumCoursesWithIndicators (unsigned NumCrssWithIndicatorYes[1
|
||||||
const char *ClassHighlight = "DAT RIGHT_MIDDLE LIGHT_BLUE";
|
const char *ClassHighlight = "DAT RIGHT_MIDDLE LIGHT_BLUE";
|
||||||
|
|
||||||
/***** Write number of courses with each number of indicators valid *****/
|
/***** Write number of courses with each number of indicators valid *****/
|
||||||
Tbl_StartTable (2);
|
Tbl_StartTablePadding (2);
|
||||||
|
|
||||||
fprintf (Gbl.F.Out,"<tr>");
|
fprintf (Gbl.F.Out,"<tr>");
|
||||||
if (PutForm)
|
if (PutForm)
|
||||||
|
|
|
@ -353,7 +353,7 @@ static void Ins_Configuration (bool PrintView)
|
||||||
fprintf (Gbl.F.Out,"</div>");
|
fprintf (Gbl.F.Out,"</div>");
|
||||||
|
|
||||||
/***** Start table *****/
|
/***** Start table *****/
|
||||||
Tbl_StartTableWide (2);
|
Tbl_StartTableWidePadding (2);
|
||||||
|
|
||||||
/***** Country *****/
|
/***** Country *****/
|
||||||
fprintf (Gbl.F.Out,"<tr>"
|
fprintf (Gbl.F.Out,"<tr>"
|
||||||
|
@ -704,7 +704,7 @@ static void Ins_ListInstitutions (void)
|
||||||
if (Gbl.Hierarchy.Cty.Inss.Num) // There are institutions in the current country
|
if (Gbl.Hierarchy.Cty.Inss.Num) // There are institutions in the current country
|
||||||
{
|
{
|
||||||
/***** Start table *****/
|
/***** Start table *****/
|
||||||
Tbl_StartTableWideMargin (2);
|
Tbl_StartTableWideMarginPadding (2);
|
||||||
Ins_PutHeadInstitutionsForSeeing (true); // Order selectable
|
Ins_PutHeadInstitutionsForSeeing (true); // Order selectable
|
||||||
|
|
||||||
/***** Write all the institutions and their nuber of users *****/
|
/***** Write all the institutions and their nuber of users *****/
|
||||||
|
@ -1470,7 +1470,7 @@ static void Ins_ListInstitutionsForEdition (void)
|
||||||
Usr_UsrDataConstructor (&UsrDat);
|
Usr_UsrDataConstructor (&UsrDat);
|
||||||
|
|
||||||
/***** Write heading *****/
|
/***** Write heading *****/
|
||||||
Tbl_StartTableWide (2);
|
Tbl_StartTableWidePadding (2);
|
||||||
Ins_PutHeadInstitutionsForEdition ();
|
Ins_PutHeadInstitutionsForEdition ();
|
||||||
|
|
||||||
/***** Write all the institutions *****/
|
/***** Write all the institutions *****/
|
||||||
|
|
|
@ -1681,8 +1681,8 @@ void Lay_WriteHeaderClassPhoto (bool PrintView,bool DrawingClassPhoto,
|
||||||
fprintf (Gbl.F.Out,"</td>");
|
fprintf (Gbl.F.Out,"</td>");
|
||||||
|
|
||||||
/***** End table *****/
|
/***** End table *****/
|
||||||
fprintf (Gbl.F.Out,"</tr>"
|
fprintf (Gbl.F.Out,"</tr>");
|
||||||
"</table>");
|
fprintf (Gbl.F.Out,"</table>");
|
||||||
}
|
}
|
||||||
|
|
||||||
/*****************************************************************************/
|
/*****************************************************************************/
|
||||||
|
|
|
@ -410,7 +410,7 @@ static void Lnk_ListLinksForEdition (void)
|
||||||
struct Link *Lnk;
|
struct Link *Lnk;
|
||||||
|
|
||||||
/***** Start table *****/
|
/***** Start table *****/
|
||||||
Tbl_StartTableWide (2);
|
Tbl_StartTableWidePadding (2);
|
||||||
|
|
||||||
/***** Table head *****/
|
/***** Table head *****/
|
||||||
Lnk_PutHeadLinks ();
|
Lnk_PutHeadLinks ();
|
||||||
|
|
|
@ -1258,7 +1258,7 @@ static void Mai_ShowFormChangeUsrEmail (const struct UsrData *UsrDat,bool ItsMe,
|
||||||
UsrDat->UsrCod);
|
UsrDat->UsrCod);
|
||||||
|
|
||||||
/***** Start table *****/
|
/***** Start table *****/
|
||||||
Tbl_StartTableWide (2);
|
Tbl_StartTableWidePadding (2);
|
||||||
|
|
||||||
/***** List emails *****/
|
/***** List emails *****/
|
||||||
for (NumEmail = 1;
|
for (NumEmail = 1;
|
||||||
|
|
|
@ -368,7 +368,7 @@ static void Mch_ListOneOrMoreMatches (struct Game *Game,
|
||||||
bool ICanEditMatches = Mch_CheckIfICanEditMatches ();
|
bool ICanEditMatches = Mch_CheckIfICanEditMatches ();
|
||||||
|
|
||||||
/***** Write the heading *****/
|
/***** Write the heading *****/
|
||||||
Tbl_StartTableWideMargin (2);
|
Tbl_StartTableWideMarginPadding (2);
|
||||||
Mch_ListOneOrMoreMatchesHeading (ICanEditMatches);
|
Mch_ListOneOrMoreMatchesHeading (ICanEditMatches);
|
||||||
|
|
||||||
/***** Write rows *****/
|
/***** Write rows *****/
|
||||||
|
@ -2481,7 +2481,7 @@ static void Mch_ShowQuestionAndAnswersStd (struct Match *Match)
|
||||||
NumOptions = Tst_GetNumAnswersQst (Match->Status.QstCod);
|
NumOptions = Tst_GetNumAnswersQst (Match->Status.QstCod);
|
||||||
|
|
||||||
/***** Start table *****/
|
/***** Start table *****/
|
||||||
Tbl_StartTableWide (8);
|
Tbl_StartTableWidePadding (8);
|
||||||
|
|
||||||
for (NumOpt = 0;
|
for (NumOpt = 0;
|
||||||
NumOpt < NumOptions;
|
NumOpt < NumOptions;
|
||||||
|
@ -3146,7 +3146,7 @@ static void Mch_DrawBarNumUsrs (unsigned NumAnswerersAns,unsigned NumAnswerersQs
|
||||||
(float) NumAnswerersQst) + 0.5);
|
(float) NumAnswerersQst) + 0.5);
|
||||||
|
|
||||||
/***** Bar proportional to number of users *****/
|
/***** Bar proportional to number of users *****/
|
||||||
Tbl_StartTableWide (0);
|
Tbl_StartTableWide ();
|
||||||
fprintf (Gbl.F.Out,"<tr class=\"MATCH_RES_TR\">");
|
fprintf (Gbl.F.Out,"<tr class=\"MATCH_RES_TR\">");
|
||||||
for (i = 0;
|
for (i = 0;
|
||||||
i < 100;
|
i < 100;
|
||||||
|
|
|
@ -204,7 +204,7 @@ void McR_SelUsrsToViewUsrsMchResults (void)
|
||||||
Grp_PutParamsCodGrps ();
|
Grp_PutParamsCodGrps ();
|
||||||
|
|
||||||
/***** Put list of users to select some of them *****/
|
/***** Put list of users to select some of them *****/
|
||||||
Tbl_StartTableCenter (2);
|
Tbl_StartTableCenterPadding (2);
|
||||||
fprintf (Gbl.F.Out,"<tr>"
|
fprintf (Gbl.F.Out,"<tr>"
|
||||||
"<td class=\"%s RIGHT_TOP\">"
|
"<td class=\"%s RIGHT_TOP\">"
|
||||||
"%s:"
|
"%s:"
|
||||||
|
@ -212,7 +212,7 @@ void McR_SelUsrsToViewUsrsMchResults (void)
|
||||||
"<td colspan=\"2\" class=\"%s LEFT_TOP\">",
|
"<td colspan=\"2\" class=\"%s LEFT_TOP\">",
|
||||||
The_ClassFormInBox[Gbl.Prefs.Theme],Txt_Users,
|
The_ClassFormInBox[Gbl.Prefs.Theme],Txt_Users,
|
||||||
The_ClassFormInBox[Gbl.Prefs.Theme]);
|
The_ClassFormInBox[Gbl.Prefs.Theme]);
|
||||||
Tbl_StartTable (2);
|
Tbl_StartTablePadding (2);
|
||||||
Usr_ListUsersToSelect (Rol_TCH);
|
Usr_ListUsersToSelect (Rol_TCH);
|
||||||
Usr_ListUsersToSelect (Rol_NET);
|
Usr_ListUsersToSelect (Rol_NET);
|
||||||
Usr_ListUsersToSelect (Rol_STD);
|
Usr_ListUsersToSelect (Rol_STD);
|
||||||
|
@ -773,7 +773,7 @@ void McR_ShowOneMchResult (void)
|
||||||
Gbl.Hierarchy.Crs.CrsCod);
|
Gbl.Hierarchy.Crs.CrsCod);
|
||||||
|
|
||||||
/***** Start table *****/
|
/***** Start table *****/
|
||||||
Tbl_StartTableWideMargin (10);
|
Tbl_StartTableWideMarginPadding (10);
|
||||||
|
|
||||||
/***** Header row *****/
|
/***** Header row *****/
|
||||||
/* Get data of the user who answer the match */
|
/* Get data of the user who answer the match */
|
||||||
|
|
|
@ -287,7 +287,7 @@ static void Msg_PutFormMsgUsrs (char Content[Cns_MAX_BYTES_LONG_TEXT + 1])
|
||||||
}
|
}
|
||||||
|
|
||||||
/***** Start table *****/
|
/***** Start table *****/
|
||||||
Tbl_StartTableCenter (2);
|
Tbl_StartTableCenterPadding (2);
|
||||||
|
|
||||||
/***** "To:" section (recipients) *****/
|
/***** "To:" section (recipients) *****/
|
||||||
fprintf (Gbl.F.Out,"<tr>"
|
fprintf (Gbl.F.Out,"<tr>"
|
||||||
|
@ -302,7 +302,7 @@ static void Msg_PutFormMsgUsrs (char Content[Cns_MAX_BYTES_LONG_TEXT + 1])
|
||||||
else
|
else
|
||||||
{
|
{
|
||||||
/***** Show potential recipients *****/
|
/***** Show potential recipients *****/
|
||||||
Tbl_StartTableWide (0);
|
Tbl_StartTableWide ();
|
||||||
if (ShowUsrsInCrs)
|
if (ShowUsrsInCrs)
|
||||||
{
|
{
|
||||||
Usr_ListUsersToSelect (Rol_TCH); // All teachers in course
|
Usr_ListUsersToSelect (Rol_TCH); // All teachers in course
|
||||||
|
@ -1812,7 +1812,7 @@ static void Msg_ShowSentOrReceivedMessages (void)
|
||||||
&Pagination);
|
&Pagination);
|
||||||
|
|
||||||
/***** Show received / sent messages in this page *****/
|
/***** Show received / sent messages in this page *****/
|
||||||
Tbl_StartTableWide (2);
|
Tbl_StartTableWidePadding (2);
|
||||||
|
|
||||||
mysql_data_seek (mysql_res,(my_ulonglong) (Pagination.FirstItemVisible - 1));
|
mysql_data_seek (mysql_res,(my_ulonglong) (Pagination.FirstItemVisible - 1));
|
||||||
for (NumRow = Pagination.FirstItemVisible;
|
for (NumRow = Pagination.FirstItemVisible;
|
||||||
|
@ -2642,7 +2642,7 @@ void Msg_ShowFormToFilterMsgs (void)
|
||||||
};
|
};
|
||||||
|
|
||||||
/***** Start table *****/
|
/***** Start table *****/
|
||||||
Tbl_StartTableCenter (2);
|
Tbl_StartTableCenterPadding (2);
|
||||||
|
|
||||||
/***** Filter authors/recipients *****/
|
/***** Filter authors/recipients *****/
|
||||||
fprintf (Gbl.F.Out,"<tr>"
|
fprintf (Gbl.F.Out,"<tr>"
|
||||||
|
@ -2999,7 +2999,7 @@ static void Msg_ShowASentOrReceivedMessage (long MsgNum,long MsgCod)
|
||||||
{
|
{
|
||||||
fprintf (Gbl.F.Out,"<tr>"
|
fprintf (Gbl.F.Out,"<tr>"
|
||||||
"<td rowspan=\"3\" colspan=\"2\" class=\"LEFT_TOP\">");
|
"<td rowspan=\"3\" colspan=\"2\" class=\"LEFT_TOP\">");
|
||||||
Tbl_StartTable (2);
|
Tbl_StartTablePadding (2);
|
||||||
|
|
||||||
/***** Write course origin of message *****/
|
/***** Write course origin of message *****/
|
||||||
fprintf (Gbl.F.Out,"<tr>"
|
fprintf (Gbl.F.Out,"<tr>"
|
||||||
|
@ -3191,7 +3191,7 @@ void Msg_WriteMsgAuthor (struct UsrData *UsrDat,bool Enabled,const char *BgColor
|
||||||
bool WriteAuthor = false;
|
bool WriteAuthor = false;
|
||||||
|
|
||||||
/***** Start table *****/
|
/***** Start table *****/
|
||||||
Tbl_StartTable (2);
|
Tbl_StartTablePadding (2);
|
||||||
|
|
||||||
/***** Start first column *****/
|
/***** Start first column *****/
|
||||||
fprintf (Gbl.F.Out,"<tr>"
|
fprintf (Gbl.F.Out,"<tr>"
|
||||||
|
@ -3349,8 +3349,8 @@ static void Msg_WriteMsgFrom (struct UsrData *UsrDat,bool Deleted)
|
||||||
char PhotoURL[PATH_MAX + 1];
|
char PhotoURL[PATH_MAX + 1];
|
||||||
|
|
||||||
/***** Put an icon to show if user has read the message *****/
|
/***** Put an icon to show if user has read the message *****/
|
||||||
fprintf (Gbl.F.Out,"<table>"
|
fprintf (Gbl.F.Out,"<table>");
|
||||||
"<tr>"
|
fprintf (Gbl.F.Out,"<tr>"
|
||||||
"<td class=\"LEFT_MIDDLE\" style=\"width:20px;\">"
|
"<td class=\"LEFT_MIDDLE\" style=\"width:20px;\">"
|
||||||
"<img src=\"%s/%s\""
|
"<img src=\"%s/%s\""
|
||||||
" alt=\"%s\" title=\"%s\""
|
" alt=\"%s\" title=\"%s\""
|
||||||
|
@ -3392,8 +3392,8 @@ static void Msg_WriteMsgFrom (struct UsrData *UsrDat,bool Deleted)
|
||||||
fprintf (Gbl.F.Out,"[%s]",
|
fprintf (Gbl.F.Out,"[%s]",
|
||||||
Txt_ROLES_SINGUL_abc[Rol_UNK][Usr_SEX_UNKNOWN]); // User not found, likely an old user who has been removed
|
Txt_ROLES_SINGUL_abc[Rol_UNK][Usr_SEX_UNKNOWN]); // User not found, likely an old user who has been removed
|
||||||
fprintf (Gbl.F.Out,"</td>"
|
fprintf (Gbl.F.Out,"</td>"
|
||||||
"</tr>"
|
"</tr>");
|
||||||
"</table>");
|
fprintf (Gbl.F.Out,"</table>");
|
||||||
}
|
}
|
||||||
|
|
||||||
/*****************************************************************************/
|
/*****************************************************************************/
|
||||||
|
|
|
@ -292,7 +292,7 @@ void Net_ShowFormMyWebsAndSocialNets (void)
|
||||||
Hlp_PROFILE_Webs,Box_NOT_CLOSABLE);
|
Hlp_PROFILE_Webs,Box_NOT_CLOSABLE);
|
||||||
|
|
||||||
/***** Start table *****/
|
/***** Start table *****/
|
||||||
Tbl_StartTable (2);
|
Tbl_StartTablePadding (2);
|
||||||
|
|
||||||
/***** Start form *****/
|
/***** Start form *****/
|
||||||
Frm_StartFormAnchor (ActChgMyNet,Net_MY_WEBS_ID);
|
Frm_StartFormAnchor (ActChgMyNet,Net_MY_WEBS_ID);
|
||||||
|
|
|
@ -258,7 +258,7 @@ static void Nck_ShowFormChangeUsrNickname (const struct UsrData *UsrDat,bool Its
|
||||||
Ale_ShowAlert (Ale_WARNING,Txt_Before_going_to_any_other_option_you_must_fill_your_nickname);
|
Ale_ShowAlert (Ale_WARNING,Txt_Before_going_to_any_other_option_you_must_fill_your_nickname);
|
||||||
|
|
||||||
/***** Start table *****/
|
/***** Start table *****/
|
||||||
Tbl_StartTableWide (2);
|
Tbl_StartTableWidePadding (2);
|
||||||
|
|
||||||
/***** List nicknames *****/
|
/***** List nicknames *****/
|
||||||
for (NumNick = 1;
|
for (NumNick = 1;
|
||||||
|
|
|
@ -393,7 +393,7 @@ void Ntf_ShowMyNotifications (void)
|
||||||
Usr_UsrDataConstructor (&UsrDat);
|
Usr_UsrDataConstructor (&UsrDat);
|
||||||
|
|
||||||
/***** Start table *****/
|
/***** Start table *****/
|
||||||
Tbl_StartTableWideMargin (2);
|
Tbl_StartTableWideMarginPadding (2);
|
||||||
fprintf (Gbl.F.Out,"<tr>"
|
fprintf (Gbl.F.Out,"<tr>"
|
||||||
"<th colspan=\"2\" class=\"LEFT_MIDDLE\">"
|
"<th colspan=\"2\" class=\"LEFT_MIDDLE\">"
|
||||||
"%s"
|
"%s"
|
||||||
|
@ -1938,7 +1938,7 @@ void Ntf_PutFormChangeNotifSentByEMail (void)
|
||||||
Mai_WriteWarningEmailNotifications ();
|
Mai_WriteWarningEmailNotifications ();
|
||||||
|
|
||||||
/***** List of notifications *****/
|
/***** List of notifications *****/
|
||||||
Tbl_StartTableCenter (2);
|
Tbl_StartTableCenterPadding (2);
|
||||||
fprintf (Gbl.F.Out,"<tr>"
|
fprintf (Gbl.F.Out,"<tr>"
|
||||||
"<th></th>"
|
"<th></th>"
|
||||||
"<th class=\"CENTER_MIDDLE\">"
|
"<th class=\"CENTER_MIDDLE\">"
|
||||||
|
|
|
@ -680,7 +680,7 @@ void Pwd_ShowFormChgMyPwd (void)
|
||||||
}
|
}
|
||||||
|
|
||||||
/***** Start table *****/
|
/***** Start table *****/
|
||||||
Tbl_StartTableWide (2);
|
Tbl_StartTableWidePadding (2);
|
||||||
|
|
||||||
/***** Current password *****/
|
/***** Current password *****/
|
||||||
if (IHaveAPasswordInDB) // If I have a password in database...
|
if (IHaveAPasswordInDB) // If I have a password in database...
|
||||||
|
@ -852,7 +852,7 @@ void Pwd_ShowFormChgOtherUsrPwd (void)
|
||||||
Usr_PutParamOtherUsrCodEncrypted ();
|
Usr_PutParamOtherUsrCodEncrypted ();
|
||||||
|
|
||||||
/* New password */
|
/* New password */
|
||||||
Tbl_StartTableWide (2);
|
Tbl_StartTableWidePadding (2);
|
||||||
Pwd_PutFormToGetNewPasswordTwice ();
|
Pwd_PutFormToGetNewPasswordTwice ();
|
||||||
Tbl_EndTable ();
|
Tbl_EndTable ();
|
||||||
|
|
||||||
|
|
|
@ -891,7 +891,7 @@ static void Pho_UpdatePhoto2 (void)
|
||||||
Ale_ShowLastAlertAndButton1 ();
|
Ale_ShowLastAlertAndButton1 ();
|
||||||
|
|
||||||
/***** Show the three images resulting of the processing *****/
|
/***** Show the three images resulting of the processing *****/
|
||||||
Tbl_StartTableWide (0);
|
Tbl_StartTableWide ();
|
||||||
fprintf (Gbl.F.Out,"<tr>");
|
fprintf (Gbl.F.Out,"<tr>");
|
||||||
for (NumPhoto = 0;
|
for (NumPhoto = 0;
|
||||||
NumPhoto < 3;
|
NumPhoto < 3;
|
||||||
|
@ -1718,7 +1718,7 @@ void Pho_ShowOrPrintPhotoDegree (Pho_AvgPhotoSeeOrPrint_t SeeOrPrint)
|
||||||
/***** Start box *****/
|
/***** Start box *****/
|
||||||
Box_StartBox (NULL,Txt_Degrees,Pho_PutIconToPrintDegreeStats,
|
Box_StartBox (NULL,Txt_Degrees,Pho_PutIconToPrintDegreeStats,
|
||||||
Hlp_ANALYTICS_Degrees,Box_NOT_CLOSABLE);
|
Hlp_ANALYTICS_Degrees,Box_NOT_CLOSABLE);
|
||||||
Tbl_StartTableCenter (2);
|
Tbl_StartTableCenterPadding (2);
|
||||||
|
|
||||||
/***** Put a selector for the type of average *****/
|
/***** Put a selector for the type of average *****/
|
||||||
Pho_PutSelectorForTypeOfAvg ();
|
Pho_PutSelectorForTypeOfAvg ();
|
||||||
|
@ -2121,7 +2121,7 @@ static void Pho_ShowOrPrintClassPhotoDegrees (Pho_AvgPhotoSeeOrPrint_t SeeOrPrin
|
||||||
/***** Form to select type of list used to display degree photos *****/
|
/***** Form to select type of list used to display degree photos *****/
|
||||||
if (SeeOrPrint == Pho_DEGREES_SEE)
|
if (SeeOrPrint == Pho_DEGREES_SEE)
|
||||||
Usr_ShowFormsToSelectUsrListType (Pho_PutParamsDegPhoto);
|
Usr_ShowFormsToSelectUsrListType (Pho_PutParamsDegPhoto);
|
||||||
Tbl_StartTableCenter (0);
|
Tbl_StartTableCenter ();
|
||||||
|
|
||||||
/***** Get and print degrees *****/
|
/***** Get and print degrees *****/
|
||||||
for (NumDeg = 0, NumDegsNotEmpty = 0;
|
for (NumDeg = 0, NumDegsNotEmpty = 0;
|
||||||
|
@ -2204,7 +2204,7 @@ static void Pho_ShowOrPrintListDegrees (Pho_AvgPhotoSeeOrPrint_t SeeOrPrint)
|
||||||
Usr_ShowFormsToSelectUsrListType (Pho_PutParamsDegPhoto);
|
Usr_ShowFormsToSelectUsrListType (Pho_PutParamsDegPhoto);
|
||||||
|
|
||||||
/***** Write heading *****/
|
/***** Write heading *****/
|
||||||
Tbl_StartTableCenter (2);
|
Tbl_StartTableCenterPadding (2);
|
||||||
fprintf (Gbl.F.Out,"<tr>"
|
fprintf (Gbl.F.Out,"<tr>"
|
||||||
"<th class=\"RIGHT_TOP\">"
|
"<th class=\"RIGHT_TOP\">"
|
||||||
"%s"
|
"%s"
|
||||||
|
|
|
@ -113,7 +113,7 @@ void Plc_SeePlaces (void)
|
||||||
/***** Table head *****/
|
/***** Table head *****/
|
||||||
Box_StartBox (NULL,Txt_Places,Plc_PutIconsListingPlaces,
|
Box_StartBox (NULL,Txt_Places,Plc_PutIconsListingPlaces,
|
||||||
Hlp_INSTITUTION_Places,Box_NOT_CLOSABLE);
|
Hlp_INSTITUTION_Places,Box_NOT_CLOSABLE);
|
||||||
Tbl_StartTableWideMargin (2);
|
Tbl_StartTableWideMarginPadding (2);
|
||||||
fprintf (Gbl.F.Out,"<tr>");
|
fprintf (Gbl.F.Out,"<tr>");
|
||||||
for (Order = Plc_ORDER_BY_PLACE;
|
for (Order = Plc_ORDER_BY_PLACE;
|
||||||
Order <= Plc_ORDER_BY_NUM_CTRS;
|
Order <= Plc_ORDER_BY_NUM_CTRS;
|
||||||
|
@ -512,7 +512,7 @@ static void Plc_ListPlacesForEdition (void)
|
||||||
struct Place *Plc;
|
struct Place *Plc;
|
||||||
|
|
||||||
/***** Write heading *****/
|
/***** Write heading *****/
|
||||||
Tbl_StartTableWide (2);
|
Tbl_StartTableWidePadding (2);
|
||||||
Plc_PutHeadPlaces ();
|
Plc_PutHeadPlaces ();
|
||||||
|
|
||||||
/***** Write all the places *****/
|
/***** Write all the places *****/
|
||||||
|
|
|
@ -382,7 +382,7 @@ static void Plg_ListPluginsForEdition (void)
|
||||||
struct Plugin *Plg;
|
struct Plugin *Plg;
|
||||||
|
|
||||||
/***** Write heading *****/
|
/***** Write heading *****/
|
||||||
Tbl_StartTableWide (2);
|
Tbl_StartTableWidePadding (2);
|
||||||
Plg_PutHeadPlugins ();
|
Plg_PutHeadPlugins ();
|
||||||
|
|
||||||
/***** Write all the plugins *****/
|
/***** Write all the plugins *****/
|
||||||
|
|
|
@ -242,7 +242,7 @@ void Prj_ShowTableAllProjects (void)
|
||||||
Prj_AllocMemProject (&Prj);
|
Prj_AllocMemProject (&Prj);
|
||||||
|
|
||||||
/***** Table head *****/
|
/***** Table head *****/
|
||||||
Tbl_StartTableWide (2);
|
Tbl_StartTableWidePadding (2);
|
||||||
Prj_ShowTableAllProjectsHead ();
|
Prj_ShowTableAllProjectsHead ();
|
||||||
|
|
||||||
/***** Write all the projects *****/
|
/***** Write all the projects *****/
|
||||||
|
@ -325,7 +325,7 @@ static void Prj_ShowProjectsInCurrentPage (void)
|
||||||
Prj_AllocMemProject (&Prj);
|
Prj_AllocMemProject (&Prj);
|
||||||
|
|
||||||
/***** Table head *****/
|
/***** Table head *****/
|
||||||
Tbl_StartTableWideMargin (2);
|
Tbl_StartTableWideMarginPadding (2);
|
||||||
Prj_ShowProjectsHead (Prj_LIST_PROJECTS);
|
Prj_ShowProjectsHead (Prj_LIST_PROJECTS);
|
||||||
|
|
||||||
/***** Write all the projects *****/
|
/***** Write all the projects *****/
|
||||||
|
@ -906,7 +906,7 @@ static void Prj_PutIconsToLockUnlockAllProjects (void)
|
||||||
void Prj_ShowOneUniqueProject (struct Project *Prj)
|
void Prj_ShowOneUniqueProject (struct Project *Prj)
|
||||||
{
|
{
|
||||||
/***** Start table *****/
|
/***** Start table *****/
|
||||||
Tbl_StartTableWide (2);
|
Tbl_StartTableWidePadding (2);
|
||||||
|
|
||||||
/***** Write project head *****/
|
/***** Write project head *****/
|
||||||
Prj_ShowProjectsHead (Prj_FILE_BROWSER_PROJECT);
|
Prj_ShowProjectsHead (Prj_FILE_BROWSER_PROJECT);
|
||||||
|
@ -940,7 +940,7 @@ void Prj_PrintOneProject (void)
|
||||||
Gbl.Hierarchy.Crs.CrsCod);
|
Gbl.Hierarchy.Crs.CrsCod);
|
||||||
|
|
||||||
/***** Table head *****/
|
/***** Table head *****/
|
||||||
Tbl_StartTableWideMargin (2);
|
Tbl_StartTableWideMarginPadding (2);
|
||||||
Prj_ShowProjectsHead (Prj_PRINT_ONE_PROJECT);
|
Prj_ShowProjectsHead (Prj_PRINT_ONE_PROJECT);
|
||||||
|
|
||||||
/***** Write project *****/
|
/***** Write project *****/
|
||||||
|
@ -1702,7 +1702,7 @@ static void Prj_ShowOneProjectMembersWithARole (const struct Project *Prj,
|
||||||
}
|
}
|
||||||
|
|
||||||
/***** Start table with all members with this role *****/
|
/***** Start table with all members with this role *****/
|
||||||
Tbl_StartTable (2);
|
Tbl_StartTablePadding (2);
|
||||||
|
|
||||||
/***** Write users *****/
|
/***** Write users *****/
|
||||||
for (NumUsr = 0;
|
for (NumUsr = 0;
|
||||||
|
|
|
@ -1749,7 +1749,7 @@ static void Rec_ShowCrsRecord (Rec_CourseRecordViewType_t TypeOfView,
|
||||||
/***** Write heading *****/
|
/***** Write heading *****/
|
||||||
fprintf (Gbl.F.Out,"<tr>"
|
fprintf (Gbl.F.Out,"<tr>"
|
||||||
"<td colspan=\"2\" class=\"LEFT_TOP\">");
|
"<td colspan=\"2\" class=\"LEFT_TOP\">");
|
||||||
Tbl_StartTableWide (0);
|
Tbl_StartTableWide ();
|
||||||
fprintf (Gbl.F.Out,"<tr>"
|
fprintf (Gbl.F.Out,"<tr>"
|
||||||
"<td class=\"LEFT_MIDDLE\" style=\"width:%upx;\">",
|
"<td class=\"LEFT_MIDDLE\" style=\"width:%upx;\">",
|
||||||
Rec_DEGREE_LOGO_SIZE);
|
Rec_DEGREE_LOGO_SIZE);
|
||||||
|
@ -2291,7 +2291,7 @@ void Rec_ShowSharedUsrRecord (Rec_SharedRecordViewType_t TypeOfView,
|
||||||
/***** Show email and user's IDs *****/
|
/***** Show email and user's IDs *****/
|
||||||
if (ShowIDRows)
|
if (ShowIDRows)
|
||||||
{
|
{
|
||||||
Tbl_StartTableWide (2);
|
Tbl_StartTableWidePadding (2);
|
||||||
|
|
||||||
/* Show email */
|
/* Show email */
|
||||||
Rec_ShowEmail (UsrDat,ClassForm);
|
Rec_ShowEmail (UsrDat,ClassForm);
|
||||||
|
@ -2353,7 +2353,7 @@ void Rec_ShowSharedUsrRecord (Rec_SharedRecordViewType_t TypeOfView,
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
|
|
||||||
Tbl_StartTableWide (2);
|
Tbl_StartTableWidePadding (2);
|
||||||
|
|
||||||
if (ShowIDRows)
|
if (ShowIDRows)
|
||||||
{
|
{
|
||||||
|
|
|
@ -374,19 +374,19 @@ void Sta_AskShowCrsHits (void)
|
||||||
Par_PutHiddenParamLong ("LastRow",0);
|
Par_PutHiddenParamLong ("LastRow",0);
|
||||||
|
|
||||||
/***** Put list of users to select some of them *****/
|
/***** Put list of users to select some of them *****/
|
||||||
Tbl_StartTableCenter (2);
|
Tbl_StartTableCenterPadding (2);
|
||||||
fprintf (Gbl.F.Out,"<tr>"
|
fprintf (Gbl.F.Out,"<tr>"
|
||||||
"<td class=\"RIGHT_TOP %s\">%s:"
|
"<td class=\"RIGHT_TOP %s\">%s:"
|
||||||
"</td>"
|
"</td>"
|
||||||
"<td colspan=\"2\" class=\"%s LEFT_TOP\">"
|
"<td colspan=\"2\" class=\"%s LEFT_TOP\">",
|
||||||
"<table>",
|
|
||||||
The_ClassFormInBox[Gbl.Prefs.Theme],Txt_Users,
|
The_ClassFormInBox[Gbl.Prefs.Theme],Txt_Users,
|
||||||
The_ClassFormInBox[Gbl.Prefs.Theme]);
|
The_ClassFormInBox[Gbl.Prefs.Theme]);
|
||||||
|
fprintf (Gbl.F.Out,"<table>");
|
||||||
Usr_ListUsersToSelect (Rol_TCH);
|
Usr_ListUsersToSelect (Rol_TCH);
|
||||||
Usr_ListUsersToSelect (Rol_NET);
|
Usr_ListUsersToSelect (Rol_NET);
|
||||||
Usr_ListUsersToSelect (Rol_STD);
|
Usr_ListUsersToSelect (Rol_STD);
|
||||||
fprintf (Gbl.F.Out,"</table>"
|
fprintf (Gbl.F.Out,"</table>");
|
||||||
"</td>"
|
fprintf (Gbl.F.Out,"</td>"
|
||||||
"</tr>");
|
"</tr>");
|
||||||
|
|
||||||
/***** Initial and final dates of the search *****/
|
/***** Initial and final dates of the search *****/
|
||||||
|
@ -1582,7 +1582,7 @@ static void Sta_ShowDetailedAccessesList (unsigned long NumRows,MYSQL_RES *mysql
|
||||||
/***** Put heading with backward and forward buttons *****/
|
/***** Put heading with backward and forward buttons *****/
|
||||||
fprintf (Gbl.F.Out,"<tr>"
|
fprintf (Gbl.F.Out,"<tr>"
|
||||||
"<td colspan=\"7\" class=\"LEFT_MIDDLE\">");
|
"<td colspan=\"7\" class=\"LEFT_MIDDLE\">");
|
||||||
Tbl_StartTableWide (2);
|
Tbl_StartTableWidePadding (2);
|
||||||
fprintf (Gbl.F.Out,"<tr>");
|
fprintf (Gbl.F.Out,"<tr>");
|
||||||
|
|
||||||
/* Put link to jump to previous page (older clicks) */
|
/* Put link to jump to previous page (older clicks) */
|
||||||
|
@ -2371,7 +2371,7 @@ static void Sta_DrawBarColors (Sta_ColorType_t ColorType,float HitsMax)
|
||||||
unsigned B;
|
unsigned B;
|
||||||
|
|
||||||
/***** Write numbers from 0 to Hits.Max *****/
|
/***** Write numbers from 0 to Hits.Max *****/
|
||||||
Tbl_StartTableWide (0);
|
Tbl_StartTableWide ();
|
||||||
fprintf (Gbl.F.Out,"<tr>"
|
fprintf (Gbl.F.Out,"<tr>"
|
||||||
"<td colspan=\"%u\" class=\"LOG LEFT_BOTTOM\""
|
"<td colspan=\"%u\" class=\"LOG LEFT_BOTTOM\""
|
||||||
" style=\"width:%upx;\">"
|
" style=\"width:%upx;\">"
|
||||||
|
@ -4124,7 +4124,7 @@ void Sta_GetAndShowLastClicks (void)
|
||||||
" OR actions.Language IS NULL"); // When action is not present in table of actions
|
" OR actions.Language IS NULL"); // When action is not present in table of actions
|
||||||
|
|
||||||
/***** Write list of connected users *****/
|
/***** Write list of connected users *****/
|
||||||
Tbl_StartTableCenter (1);
|
Tbl_StartTableCenterPadding (1);
|
||||||
fprintf (Gbl.F.Out,"<tr>"
|
fprintf (Gbl.F.Out,"<tr>"
|
||||||
"<th class=\"LEFT_MIDDLE\""
|
"<th class=\"LEFT_MIDDLE\""
|
||||||
" style=\"width:85px;\">"
|
" style=\"width:85px;\">"
|
||||||
|
|
|
@ -244,7 +244,7 @@ static void Svy_ListAllSurveys (struct SurveyQuestion *SvyQst)
|
||||||
if (Gbl.Svys.Num)
|
if (Gbl.Svys.Num)
|
||||||
{
|
{
|
||||||
/***** Table head *****/
|
/***** Table head *****/
|
||||||
Tbl_StartTableWideMargin (2);
|
Tbl_StartTableWideMarginPadding (2);
|
||||||
fprintf (Gbl.F.Out,"<tr>"
|
fprintf (Gbl.F.Out,"<tr>"
|
||||||
"<th class=\"CONTEXT_COL\"></th>"); // Column for contextual icons
|
"<th class=\"CONTEXT_COL\"></th>"); // Column for contextual icons
|
||||||
for (Order = Svy_ORDER_BY_START_DATE;
|
for (Order = Svy_ORDER_BY_START_DATE;
|
||||||
|
@ -456,7 +456,7 @@ static void Svy_ShowOneSurvey (long SvyCod,struct SurveyQuestion *SvyQst,
|
||||||
|
|
||||||
/***** Start table *****/
|
/***** Start table *****/
|
||||||
if (ShowOnlyThisSvyComplete)
|
if (ShowOnlyThisSvyComplete)
|
||||||
Tbl_StartTableWide (2);
|
Tbl_StartTableWidePadding (2);
|
||||||
|
|
||||||
/***** Write first row of data of this assignment *****/
|
/***** Write first row of data of this assignment *****/
|
||||||
/* Forms to remove/edit this assignment */
|
/* Forms to remove/edit this assignment */
|
||||||
|
@ -2675,7 +2675,7 @@ static void Svy_ShowFormEditOneQst (long SvyCod,struct SurveyQuestion *SvyQst,
|
||||||
Svy_PutParamQstCod (SvyQst->QstCod);
|
Svy_PutParamQstCod (SvyQst->QstCod);
|
||||||
|
|
||||||
/***** Start table *****/
|
/***** Start table *****/
|
||||||
Tbl_StartTableWide (2);
|
Tbl_StartTableWidePadding (2);
|
||||||
|
|
||||||
/***** Stem *****/
|
/***** Stem *****/
|
||||||
fprintf (Gbl.F.Out,"<tr>"
|
fprintf (Gbl.F.Out,"<tr>"
|
||||||
|
@ -2724,7 +2724,7 @@ static void Svy_ShowFormEditOneQst (long SvyCod,struct SurveyQuestion *SvyQst,
|
||||||
fprintf (Gbl.F.Out,"<tr>"
|
fprintf (Gbl.F.Out,"<tr>"
|
||||||
"<td></td>"
|
"<td></td>"
|
||||||
"<td class=\"LEFT_TOP\">");
|
"<td class=\"LEFT_TOP\">");
|
||||||
Tbl_StartTable (2);
|
Tbl_StartTablePadding (2);
|
||||||
for (NumAns = 0;
|
for (NumAns = 0;
|
||||||
NumAns < Svy_MAX_ANSWERS_PER_QUESTION;
|
NumAns < Svy_MAX_ANSWERS_PER_QUESTION;
|
||||||
NumAns++)
|
NumAns++)
|
||||||
|
@ -3188,7 +3188,7 @@ static void Svy_ListSvyQuestions (struct Survey *Svy,
|
||||||
}
|
}
|
||||||
|
|
||||||
/***** Write the heading *****/
|
/***** Write the heading *****/
|
||||||
Tbl_StartTableWideMargin (2);
|
Tbl_StartTableWideMarginPadding (2);
|
||||||
fprintf (Gbl.F.Out,"<tr>");
|
fprintf (Gbl.F.Out,"<tr>");
|
||||||
if (Svy->Status.ICanEdit)
|
if (Svy->Status.ICanEdit)
|
||||||
fprintf (Gbl.F.Out,"<th></th>");
|
fprintf (Gbl.F.Out,"<th></th>");
|
||||||
|
@ -3379,7 +3379,7 @@ static void Svy_WriteAnswersOfAQst (struct Survey *Svy,
|
||||||
Lay_ShowErrorAndExit ("Wrong number of answers.");
|
Lay_ShowErrorAndExit ("Wrong number of answers.");
|
||||||
|
|
||||||
/* Write one row for each answer */
|
/* Write one row for each answer */
|
||||||
Tbl_StartTable (5);
|
Tbl_StartTablePadding (5);
|
||||||
for (NumAns = 0;
|
for (NumAns = 0;
|
||||||
NumAns < NumAnswers;
|
NumAns < NumAnswers;
|
||||||
NumAns++)
|
NumAns++)
|
||||||
|
|
58
swad_table.c
58
swad_table.c
|
@ -56,36 +56,60 @@ extern struct Globals Gbl;
|
||||||
/******************************* Start/end table *****************************/
|
/******************************* Start/end table *****************************/
|
||||||
/*****************************************************************************/
|
/*****************************************************************************/
|
||||||
|
|
||||||
void Tbl_StartTable (unsigned CellPadding)
|
void Tbl_StartTablePadding (unsigned CellPadding)
|
||||||
{
|
{
|
||||||
fprintf (Gbl.F.Out,"<table");
|
|
||||||
if (CellPadding)
|
if (CellPadding)
|
||||||
fprintf (Gbl.F.Out," class=\"CELLS_PAD_%u\"",CellPadding); // CellPadding must be 0, 1, 2, 5 or 10
|
fprintf (Gbl.F.Out,"<table class=\"CELLS_PAD_%u\">",
|
||||||
fprintf (Gbl.F.Out,">");
|
CellPadding); // CellPadding must be 0, 1, 2, 5 or 10
|
||||||
|
else
|
||||||
|
Tbl_StartTable ();
|
||||||
}
|
}
|
||||||
|
|
||||||
void Tbl_StartTableCenter (unsigned CellPadding)
|
void Tbl_StartTable (void)
|
||||||
{
|
{
|
||||||
fprintf (Gbl.F.Out,"<table class=\"FRAME_TBL_CENTER");
|
fprintf (Gbl.F.Out,"<table>");
|
||||||
if (CellPadding)
|
|
||||||
fprintf (Gbl.F.Out," CELLS_PAD_%u",CellPadding); // CellPadding must be 0, 1, 2, 5 or 10
|
|
||||||
fprintf (Gbl.F.Out,"\">");
|
|
||||||
}
|
}
|
||||||
|
|
||||||
void Tbl_StartTableWide (unsigned CellPadding)
|
void Tbl_StartTableCenterPadding (unsigned CellPadding)
|
||||||
{
|
{
|
||||||
fprintf (Gbl.F.Out,"<table class=\"FRAME_TBL_WIDE");
|
|
||||||
if (CellPadding)
|
if (CellPadding)
|
||||||
fprintf (Gbl.F.Out," CELLS_PAD_%u",CellPadding); // CellPadding must be 0, 1, 2, 5 or 10
|
fprintf (Gbl.F.Out,"<table class=\"FRAME_TBL_CENTER CELLS_PAD_%u\">",
|
||||||
fprintf (Gbl.F.Out,"\">");
|
CellPadding); // CellPadding must be 0, 1, 2, 5 or 10
|
||||||
|
else
|
||||||
|
Tbl_StartTableCenter ();
|
||||||
}
|
}
|
||||||
|
|
||||||
void Tbl_StartTableWideMargin (unsigned CellPadding)
|
void Tbl_StartTableCenter (void)
|
||||||
|
{
|
||||||
|
fprintf (Gbl.F.Out,"<table class=\"FRAME_TBL_CENTER\">");
|
||||||
|
}
|
||||||
|
|
||||||
|
void Tbl_StartTableWidePadding (unsigned CellPadding)
|
||||||
{
|
{
|
||||||
fprintf (Gbl.F.Out,"<table class=\"FRAME_TBL_WIDE_MARGIN");
|
|
||||||
if (CellPadding)
|
if (CellPadding)
|
||||||
fprintf (Gbl.F.Out," CELLS_PAD_%u",CellPadding); // CellPadding must be 0, 1, 2, 5 or 10
|
fprintf (Gbl.F.Out,"<table class=\"FRAME_TBL_WIDE CELLS_PAD_%u\">",
|
||||||
fprintf (Gbl.F.Out,"\">");
|
CellPadding); // CellPadding must be 0, 1, 2, 5 or 10
|
||||||
|
else
|
||||||
|
Tbl_StartTableWide ();
|
||||||
|
}
|
||||||
|
|
||||||
|
void Tbl_StartTableWide (void)
|
||||||
|
{
|
||||||
|
fprintf (Gbl.F.Out,"<table class=\"FRAME_TBL_WIDE\">");
|
||||||
|
}
|
||||||
|
|
||||||
|
void Tbl_StartTableWideMarginPadding (unsigned CellPadding)
|
||||||
|
{
|
||||||
|
if (CellPadding)
|
||||||
|
fprintf (Gbl.F.Out,"<table class=\"FRAME_TBL_WIDE_MARGIN CELLS_PAD_%u\">",
|
||||||
|
CellPadding); // CellPadding must be 0, 1, 2, 5 or 10
|
||||||
|
else
|
||||||
|
Tbl_StartTableWideMargin ();
|
||||||
|
}
|
||||||
|
|
||||||
|
void Tbl_StartTableWideMargin (void)
|
||||||
|
{
|
||||||
|
fprintf (Gbl.F.Out,"<table class=\"FRAME_TBL_WIDE_MARGIN\">");
|
||||||
}
|
}
|
||||||
|
|
||||||
void Tbl_EndTable (void)
|
void Tbl_EndTable (void)
|
||||||
|
|
16
swad_table.h
16
swad_table.h
|
@ -39,10 +39,18 @@
|
||||||
/****************************** Public prototypes ****************************/
|
/****************************** Public prototypes ****************************/
|
||||||
/*****************************************************************************/
|
/*****************************************************************************/
|
||||||
|
|
||||||
void Tbl_StartTable (unsigned CellPadding);
|
void Tbl_StartTablePadding (unsigned CellPadding);
|
||||||
void Tbl_StartTableCenter (unsigned CellPadding);
|
void Tbl_StartTable (void);
|
||||||
void Tbl_StartTableWide (unsigned CellPadding);
|
|
||||||
void Tbl_StartTableWideMargin (unsigned CellPadding);
|
void Tbl_StartTableCenterPadding (unsigned CellPadding);
|
||||||
|
void Tbl_StartTableCenter (void);
|
||||||
|
|
||||||
|
void Tbl_StartTableWidePadding (unsigned CellPadding);
|
||||||
|
void Tbl_StartTableWide (void);
|
||||||
|
|
||||||
|
void Tbl_StartTableWideMarginPadding (unsigned CellPadding);
|
||||||
|
void Tbl_StartTableWideMargin (void);
|
||||||
|
|
||||||
void Tbl_EndTable (void);
|
void Tbl_EndTable (void);
|
||||||
|
|
||||||
void Tbl_PutEmptyCells (unsigned NumColumns);
|
void Tbl_PutEmptyCells (unsigned NumColumns);
|
||||||
|
|
52
swad_test.c
52
swad_test.c
|
@ -344,7 +344,7 @@ void Tst_ShowFormAskTst (void)
|
||||||
{
|
{
|
||||||
Frm_StartForm (ActSeeTst);
|
Frm_StartForm (ActSeeTst);
|
||||||
|
|
||||||
Tbl_StartTable (2);
|
Tbl_StartTablePadding (2);
|
||||||
|
|
||||||
/***** Selection of tags *****/
|
/***** Selection of tags *****/
|
||||||
Tst_ShowFormSelTags (NumRows,mysql_res,true,1);
|
Tst_ShowFormSelTags (NumRows,mysql_res,true,1);
|
||||||
|
@ -464,7 +464,7 @@ void Tst_ShowNewTest (void)
|
||||||
Par_PutHiddenParamUnsigned ("NumQst",Gbl.Test.NumQsts);
|
Par_PutHiddenParamUnsigned ("NumQst",Gbl.Test.NumQsts);
|
||||||
|
|
||||||
/***** List the questions *****/
|
/***** List the questions *****/
|
||||||
Tbl_StartTableWideMargin (10);
|
Tbl_StartTableWideMarginPadding (10);
|
||||||
Tst_ShowTestQuestionsWhenSeeing (mysql_res);
|
Tst_ShowTestQuestionsWhenSeeing (mysql_res);
|
||||||
Tbl_EndTable ();
|
Tbl_EndTable ();
|
||||||
|
|
||||||
|
@ -565,7 +565,7 @@ void Tst_AssessTest (void)
|
||||||
}
|
}
|
||||||
|
|
||||||
/***** Write answers and solutions *****/
|
/***** Write answers and solutions *****/
|
||||||
Tbl_StartTableWideMargin (10);
|
Tbl_StartTableWideMarginPadding (10);
|
||||||
Tst_ShowTestResultAfterAssess (TstCod,&NumQstsNotBlank,&TotalScore);
|
Tst_ShowTestResultAfterAssess (TstCod,&NumQstsNotBlank,&TotalScore);
|
||||||
Tbl_EndTable ();
|
Tbl_EndTable ();
|
||||||
|
|
||||||
|
@ -1298,7 +1298,7 @@ void Tst_ShowFormAskEditTsts (void)
|
||||||
Frm_StartForm (ActLstTstQst);
|
Frm_StartForm (ActLstTstQst);
|
||||||
Par_PutHiddenParamUnsigned ("Order",(unsigned) Tst_ORDER_STEM);
|
Par_PutHiddenParamUnsigned ("Order",(unsigned) Tst_ORDER_STEM);
|
||||||
|
|
||||||
Tbl_StartTable (2);
|
Tbl_StartTablePadding (2);
|
||||||
|
|
||||||
/***** Selection of tags *****/
|
/***** Selection of tags *****/
|
||||||
Tst_ShowFormSelTags (NumRows,mysql_res,false,2);
|
Tst_ShowFormSelTags (NumRows,mysql_res,false,2);
|
||||||
|
@ -1354,7 +1354,7 @@ void Tst_ShowFormAskSelectTstsForGame (void)
|
||||||
Frm_StartForm (ActGamLstTstQst);
|
Frm_StartForm (ActGamLstTstQst);
|
||||||
Gam_PutParams ();
|
Gam_PutParams ();
|
||||||
|
|
||||||
Tbl_StartTable (2);
|
Tbl_StartTablePadding (2);
|
||||||
|
|
||||||
/***** Selection of tags *****/
|
/***** Selection of tags *****/
|
||||||
Tst_ShowFormSelTags (NumRows,mysql_res,false,2);
|
Tst_ShowFormSelTags (NumRows,mysql_res,false,2);
|
||||||
|
@ -1704,7 +1704,7 @@ static void Tst_ShowFormSelTags (unsigned long NumRows,MYSQL_RES *mysql_res,
|
||||||
if (NumCols > 1)
|
if (NumCols > 1)
|
||||||
fprintf (Gbl.F.Out," colspan=\"%u\"",NumCols);
|
fprintf (Gbl.F.Out," colspan=\"%u\"",NumCols);
|
||||||
fprintf (Gbl.F.Out," class=\"LEFT_TOP\">");
|
fprintf (Gbl.F.Out," class=\"LEFT_TOP\">");
|
||||||
Tbl_StartTable (2);
|
Tbl_StartTablePadding (2);
|
||||||
fprintf (Gbl.F.Out,"<tr>");
|
fprintf (Gbl.F.Out,"<tr>");
|
||||||
if (!ShowOnlyEnabledTags)
|
if (!ShowOnlyEnabledTags)
|
||||||
fprintf (Gbl.F.Out,"<td></td>");
|
fprintf (Gbl.F.Out,"<td></td>");
|
||||||
|
@ -1909,7 +1909,7 @@ static void Tst_ShowFormConfigTst (void)
|
||||||
Frm_StartForm (ActRcvCfgTst);
|
Frm_StartForm (ActRcvCfgTst);
|
||||||
|
|
||||||
/***** Tests are visible from plugins? *****/
|
/***** Tests are visible from plugins? *****/
|
||||||
Tbl_StartTable (2);
|
Tbl_StartTablePadding (2);
|
||||||
fprintf (Gbl.F.Out,"<tr>"
|
fprintf (Gbl.F.Out,"<tr>"
|
||||||
"<td class=\"%s RIGHT_TOP\">"
|
"<td class=\"%s RIGHT_TOP\">"
|
||||||
"%s:"
|
"%s:"
|
||||||
|
@ -1942,7 +1942,7 @@ static void Tst_ShowFormConfigTst (void)
|
||||||
"<td class=\"LEFT_BOTTOM\">",
|
"<td class=\"LEFT_BOTTOM\">",
|
||||||
The_ClassFormInBox[Gbl.Prefs.Theme],
|
The_ClassFormInBox[Gbl.Prefs.Theme],
|
||||||
Txt_No_of_questions);
|
Txt_No_of_questions);
|
||||||
Tbl_StartTable (2);
|
Tbl_StartTablePadding (2);
|
||||||
Tst_PutInputFieldNumQst ("NumQstMin",Txt_minimum,
|
Tst_PutInputFieldNumQst ("NumQstMin",Txt_minimum,
|
||||||
Gbl.Test.Config.Min); // Minimum number of questions
|
Gbl.Test.Config.Min); // Minimum number of questions
|
||||||
Tst_PutInputFieldNumQst ("NumQstDef",Txt_default,
|
Tst_PutInputFieldNumQst ("NumQstDef",Txt_default,
|
||||||
|
@ -2323,7 +2323,7 @@ static void Tst_ShowFormAnswerTypes (unsigned NumCols)
|
||||||
if (NumCols > 1)
|
if (NumCols > 1)
|
||||||
fprintf (Gbl.F.Out," colspan=\"%u\"",NumCols);
|
fprintf (Gbl.F.Out," colspan=\"%u\"",NumCols);
|
||||||
fprintf (Gbl.F.Out," class=\"LEFT_TOP\">");
|
fprintf (Gbl.F.Out," class=\"LEFT_TOP\">");
|
||||||
Tbl_StartTable (2);
|
Tbl_StartTablePadding (2);
|
||||||
fprintf (Gbl.F.Out,"<tr>"
|
fprintf (Gbl.F.Out,"<tr>"
|
||||||
"<td class=\"LEFT_MIDDLE\">"
|
"<td class=\"LEFT_MIDDLE\">"
|
||||||
"<label class=\"%s\">"
|
"<label class=\"%s\">"
|
||||||
|
@ -2802,7 +2802,7 @@ static void Tst_ListOneOrMoreQuestionsForEdition (unsigned long NumRows,
|
||||||
Hlp_ASSESSMENT_Tests,Box_NOT_CLOSABLE);
|
Hlp_ASSESSMENT_Tests,Box_NOT_CLOSABLE);
|
||||||
|
|
||||||
/***** Write the heading *****/
|
/***** Write the heading *****/
|
||||||
Tbl_StartTableWideMargin (2);
|
Tbl_StartTableWideMarginPadding (2);
|
||||||
fprintf (Gbl.F.Out,"<tr>"
|
fprintf (Gbl.F.Out,"<tr>"
|
||||||
"<th></th>"
|
"<th></th>"
|
||||||
"<th class=\"CENTER_TOP\">"
|
"<th class=\"CENTER_TOP\">"
|
||||||
|
@ -3078,7 +3078,7 @@ static void Tst_ListOneOrMoreQuestionsForSelection (unsigned long NumRows,
|
||||||
Gam_PutParams ();
|
Gam_PutParams ();
|
||||||
|
|
||||||
/***** Write the heading *****/
|
/***** Write the heading *****/
|
||||||
Tbl_StartTableWideMargin (2);
|
Tbl_StartTableWideMarginPadding (2);
|
||||||
fprintf (Gbl.F.Out,"<tr>"
|
fprintf (Gbl.F.Out,"<tr>"
|
||||||
"<th></th>"
|
"<th></th>"
|
||||||
"<th class=\"CENTER_TOP\">"
|
"<th class=\"CENTER_TOP\">"
|
||||||
|
@ -3375,7 +3375,7 @@ void Tst_WriteAnswersEdit (long QstCod)
|
||||||
case Tst_ANS_UNIQUE_CHOICE:
|
case Tst_ANS_UNIQUE_CHOICE:
|
||||||
case Tst_ANS_MULTIPLE_CHOICE:
|
case Tst_ANS_MULTIPLE_CHOICE:
|
||||||
case Tst_ANS_TEXT:
|
case Tst_ANS_TEXT:
|
||||||
Tbl_StartTable (2);
|
Tbl_StartTablePadding (2);
|
||||||
for (NumOpt = 0;
|
for (NumOpt = 0;
|
||||||
NumOpt < Gbl.Test.Answer.NumOptions;
|
NumOpt < Gbl.Test.Answer.NumOptions;
|
||||||
NumOpt++)
|
NumOpt++)
|
||||||
|
@ -3653,7 +3653,7 @@ static void Tst_WriteTFAnsAssessTest (struct UsrData *UsrDat,
|
||||||
}
|
}
|
||||||
|
|
||||||
/***** Header with the title of each column *****/
|
/***** Header with the title of each column *****/
|
||||||
Tbl_StartTable (2);
|
Tbl_StartTablePadding (2);
|
||||||
fprintf (Gbl.F.Out,"<tr>");
|
fprintf (Gbl.F.Out,"<tr>");
|
||||||
Tst_WriteHeadUserCorrect (UsrDat);
|
Tst_WriteHeadUserCorrect (UsrDat);
|
||||||
fprintf (Gbl.F.Out,"</tr>");
|
fprintf (Gbl.F.Out,"</tr>");
|
||||||
|
@ -3721,7 +3721,7 @@ static void Tst_WriteChoiceAnsViewTest (unsigned NumQst,long QstCod,bool Shuffle
|
||||||
*/
|
*/
|
||||||
|
|
||||||
/***** Start table *****/
|
/***** Start table *****/
|
||||||
Tbl_StartTable (2);
|
Tbl_StartTablePadding (2);
|
||||||
|
|
||||||
for (NumOpt = 0;
|
for (NumOpt = 0;
|
||||||
NumOpt < Gbl.Test.Answer.NumOptions;
|
NumOpt < Gbl.Test.Answer.NumOptions;
|
||||||
|
@ -3839,7 +3839,7 @@ static void Tst_WriteChoiceAnsAssessTest (struct UsrData *UsrDat,
|
||||||
Tst_ComputeScoreQst (Indexes,AnswersUsr,ScoreThisQst,AnswerIsNotBlank);
|
Tst_ComputeScoreQst (Indexes,AnswersUsr,ScoreThisQst,AnswerIsNotBlank);
|
||||||
|
|
||||||
/***** Start table *****/
|
/***** Start table *****/
|
||||||
Tbl_StartTable (2);
|
Tbl_StartTablePadding (2);
|
||||||
fprintf (Gbl.F.Out,"<tr>");
|
fprintf (Gbl.F.Out,"<tr>");
|
||||||
Tst_WriteHeadUserCorrect (UsrDat);
|
Tst_WriteHeadUserCorrect (UsrDat);
|
||||||
fprintf (Gbl.F.Out,"<td></td>"
|
fprintf (Gbl.F.Out,"<td></td>"
|
||||||
|
@ -4196,7 +4196,7 @@ static void Tst_WriteChoiceAnsViewMatch (long MchCod,unsigned QstInd,long QstCod
|
||||||
Mch_GetIndexes (MchCod,QstInd,Indexes);
|
Mch_GetIndexes (MchCod,QstInd,Indexes);
|
||||||
|
|
||||||
/***** Start table *****/
|
/***** Start table *****/
|
||||||
Tbl_StartTableWide (2);
|
Tbl_StartTableWidePadding (2);
|
||||||
|
|
||||||
/***** Show one row for each option *****/
|
/***** Show one row for each option *****/
|
||||||
for (NumOpt = 0;
|
for (NumOpt = 0;
|
||||||
|
@ -4314,7 +4314,7 @@ static void Tst_WriteTextAnsAssessTest (struct UsrData *UsrDat,
|
||||||
}
|
}
|
||||||
|
|
||||||
/***** Header with the title of each column *****/
|
/***** Header with the title of each column *****/
|
||||||
Tbl_StartTable (2);
|
Tbl_StartTablePadding (2);
|
||||||
fprintf (Gbl.F.Out,"<tr>");
|
fprintf (Gbl.F.Out,"<tr>");
|
||||||
Tst_WriteHeadUserCorrect (UsrDat);
|
Tst_WriteHeadUserCorrect (UsrDat);
|
||||||
fprintf (Gbl.F.Out,"</tr>");
|
fprintf (Gbl.F.Out,"</tr>");
|
||||||
|
@ -4368,7 +4368,7 @@ static void Tst_WriteTextAnsAssessTest (struct UsrData *UsrDat,
|
||||||
Gbl.Test.Config.Feedback == Tst_FEEDBACK_FULL_FEEDBACK)
|
Gbl.Test.Config.Feedback == Tst_FEEDBACK_FULL_FEEDBACK)
|
||||||
{
|
{
|
||||||
fprintf (Gbl.F.Out,"<td class=\"CENTER_TOP\">");
|
fprintf (Gbl.F.Out,"<td class=\"CENTER_TOP\">");
|
||||||
Tbl_StartTable (2);
|
Tbl_StartTablePadding (2);
|
||||||
|
|
||||||
for (NumOpt = 0;
|
for (NumOpt = 0;
|
||||||
NumOpt < Gbl.Test.Answer.NumOptions;
|
NumOpt < Gbl.Test.Answer.NumOptions;
|
||||||
|
@ -4477,7 +4477,7 @@ static void Tst_WriteIntAnsAssessTest (struct UsrData *UsrDat,
|
||||||
Lay_ShowErrorAndExit ("Wrong integer answer.");
|
Lay_ShowErrorAndExit ("Wrong integer answer.");
|
||||||
|
|
||||||
/***** Header with the title of each column *****/
|
/***** Header with the title of each column *****/
|
||||||
Tbl_StartTable (2);
|
Tbl_StartTablePadding (2);
|
||||||
fprintf (Gbl.F.Out,"<tr>");
|
fprintf (Gbl.F.Out,"<tr>");
|
||||||
Tst_WriteHeadUserCorrect (UsrDat);
|
Tst_WriteHeadUserCorrect (UsrDat);
|
||||||
fprintf (Gbl.F.Out,"</tr>");
|
fprintf (Gbl.F.Out,"</tr>");
|
||||||
|
@ -4602,7 +4602,7 @@ static void Tst_WriteFloatAnsAssessTest (struct UsrData *UsrDat,
|
||||||
}
|
}
|
||||||
|
|
||||||
/***** Header with the title of each column *****/
|
/***** Header with the title of each column *****/
|
||||||
Tbl_StartTable (2);
|
Tbl_StartTablePadding (2);
|
||||||
fprintf (Gbl.F.Out,"<tr>");
|
fprintf (Gbl.F.Out,"<tr>");
|
||||||
Tst_WriteHeadUserCorrect (UsrDat);
|
Tst_WriteHeadUserCorrect (UsrDat);
|
||||||
fprintf (Gbl.F.Out,"</tr>");
|
fprintf (Gbl.F.Out,"</tr>");
|
||||||
|
@ -5067,7 +5067,7 @@ static void Tst_PutFormEditOneQst (char Stem[Cns_MAX_BYTES_TEXT + 1],
|
||||||
Tst_PutParamQstCod ();
|
Tst_PutParamQstCod ();
|
||||||
|
|
||||||
/***** Start table *****/
|
/***** Start table *****/
|
||||||
Tbl_StartTable (2); // Table for this question
|
Tbl_StartTablePadding (2); // Table for this question
|
||||||
|
|
||||||
/***** Help for text editor *****/
|
/***** Help for text editor *****/
|
||||||
fprintf (Gbl.F.Out,"<tr>"
|
fprintf (Gbl.F.Out,"<tr>"
|
||||||
|
@ -5086,7 +5086,7 @@ static void Tst_PutFormEditOneQst (char Stem[Cns_MAX_BYTES_TEXT + 1],
|
||||||
"</td>"
|
"</td>"
|
||||||
"<td class=\"LEFT_TOP\">",
|
"<td class=\"LEFT_TOP\">",
|
||||||
The_ClassFormInBox[Gbl.Prefs.Theme],Txt_Tags);
|
The_ClassFormInBox[Gbl.Prefs.Theme],Txt_Tags);
|
||||||
Tbl_StartTable (2); // Table for tags
|
Tbl_StartTablePadding (2); // Table for tags
|
||||||
|
|
||||||
for (NumTag = 0;
|
for (NumTag = 0;
|
||||||
NumTag < Tst_MAX_TAGS_PER_QUESTION;
|
NumTag < Tst_MAX_TAGS_PER_QUESTION;
|
||||||
|
@ -5268,7 +5268,7 @@ static void Tst_PutFormEditOneQst (char Stem[Cns_MAX_BYTES_TEXT + 1],
|
||||||
fprintf (Gbl.F.Out,"<tr>"
|
fprintf (Gbl.F.Out,"<tr>"
|
||||||
"<td></td>"
|
"<td></td>"
|
||||||
"<td class=\"LEFT_TOP\">");
|
"<td class=\"LEFT_TOP\">");
|
||||||
Tbl_StartTable (2); // Table with choice answers
|
Tbl_StartTablePadding (2); // Table with choice answers
|
||||||
|
|
||||||
OptionsDisabled = Gbl.Test.AnswerType != Tst_ANS_UNIQUE_CHOICE &&
|
OptionsDisabled = Gbl.Test.AnswerType != Tst_ANS_UNIQUE_CHOICE &&
|
||||||
Gbl.Test.AnswerType != Tst_ANS_MULTIPLE_CHOICE &&
|
Gbl.Test.AnswerType != Tst_ANS_MULTIPLE_CHOICE &&
|
||||||
|
@ -7451,7 +7451,7 @@ void Tst_SelUsrsToViewUsrsTstResults (void)
|
||||||
Grp_PutParamsCodGrps ();
|
Grp_PutParamsCodGrps ();
|
||||||
|
|
||||||
/***** Put list of users to select some of them *****/
|
/***** Put list of users to select some of them *****/
|
||||||
Tbl_StartTableCenter (2);
|
Tbl_StartTableCenterPadding (2);
|
||||||
fprintf (Gbl.F.Out,"<tr>"
|
fprintf (Gbl.F.Out,"<tr>"
|
||||||
"<td class=\"%s RIGHT_TOP\">"
|
"<td class=\"%s RIGHT_TOP\">"
|
||||||
"%s:"
|
"%s:"
|
||||||
|
@ -7459,7 +7459,7 @@ void Tst_SelUsrsToViewUsrsTstResults (void)
|
||||||
"<td colspan=\"2\" class=\"%s LEFT_TOP\">",
|
"<td colspan=\"2\" class=\"%s LEFT_TOP\">",
|
||||||
The_ClassFormInBox[Gbl.Prefs.Theme],Txt_Users,
|
The_ClassFormInBox[Gbl.Prefs.Theme],Txt_Users,
|
||||||
The_ClassFormInBox[Gbl.Prefs.Theme]);
|
The_ClassFormInBox[Gbl.Prefs.Theme]);
|
||||||
Tbl_StartTable (2);
|
Tbl_StartTablePadding (2);
|
||||||
Usr_ListUsersToSelect (Rol_TCH);
|
Usr_ListUsersToSelect (Rol_TCH);
|
||||||
Usr_ListUsersToSelect (Rol_NET);
|
Usr_ListUsersToSelect (Rol_NET);
|
||||||
Usr_ListUsersToSelect (Rol_STD);
|
Usr_ListUsersToSelect (Rol_STD);
|
||||||
|
@ -8105,7 +8105,7 @@ void Tst_ShowOneTstResult (void)
|
||||||
Gbl.Hierarchy.Crs.CrsCod);
|
Gbl.Hierarchy.Crs.CrsCod);
|
||||||
|
|
||||||
/***** Start table *****/
|
/***** Start table *****/
|
||||||
Tbl_StartTableWideMargin (10);
|
Tbl_StartTableWideMarginPadding (10);
|
||||||
|
|
||||||
/***** Header row *****/
|
/***** Header row *****/
|
||||||
/* Get data of the user who made the test */
|
/* Get data of the user who made the test */
|
||||||
|
|
|
@ -531,7 +531,7 @@ static void TsI_ImportQuestionsFromXMLBuffer (const char *XMLBuffer)
|
||||||
/* Current element is <test> */
|
/* Current element is <test> */
|
||||||
|
|
||||||
/***** Write heading of list of imported questions *****/
|
/***** Write heading of list of imported questions *****/
|
||||||
Tbl_StartTableWideMargin (2);
|
Tbl_StartTableWideMarginPadding (2);
|
||||||
TsI_WriteHeadingListImportedQst ();
|
TsI_WriteHeadingListImportedQst ();
|
||||||
|
|
||||||
/***** For each question... *****/
|
/***** For each question... *****/
|
||||||
|
|
24
swad_user.c
24
swad_user.c
|
@ -6218,7 +6218,7 @@ void Usr_PutFormToSelectUsrsToGoToAct (Act_Action_t NextAction,void (*FuncParams
|
||||||
Brw_PutHiddenParamFullTreeIfSelected ();
|
Brw_PutHiddenParamFullTreeIfSelected ();
|
||||||
|
|
||||||
/* Put list of users to select some of them */
|
/* Put list of users to select some of them */
|
||||||
Tbl_StartTableCenter (0);
|
Tbl_StartTableCenter ();
|
||||||
Usr_ListUsersToSelect (Rol_TCH);
|
Usr_ListUsersToSelect (Rol_TCH);
|
||||||
Usr_ListUsersToSelect (Rol_NET);
|
Usr_ListUsersToSelect (Rol_NET);
|
||||||
Usr_ListUsersToSelect (Rol_STD);
|
Usr_ListUsersToSelect (Rol_STD);
|
||||||
|
@ -6732,7 +6732,7 @@ void Usr_ListAllDataGsts (void)
|
||||||
NumColumnsCommonCard = Usr_NUM_ALL_FIELDS_DATA_GST;
|
NumColumnsCommonCard = Usr_NUM_ALL_FIELDS_DATA_GST;
|
||||||
|
|
||||||
/***** Start table with list of guests *****/
|
/***** Start table with list of guests *****/
|
||||||
Tbl_StartTableWide (0);
|
Tbl_StartTableWide ();
|
||||||
|
|
||||||
/* Start row */
|
/* Start row */
|
||||||
fprintf (Gbl.F.Out,"<tr>");
|
fprintf (Gbl.F.Out,"<tr>");
|
||||||
|
@ -6880,7 +6880,7 @@ void Usr_ListAllDataStds (void)
|
||||||
}
|
}
|
||||||
|
|
||||||
/***** Start table with list of students *****/
|
/***** Start table with list of students *****/
|
||||||
Tbl_StartTableWide (0);
|
Tbl_StartTableWide ();
|
||||||
if (!Gbl.Usrs.ClassPhoto.AllGroups)
|
if (!Gbl.Usrs.ClassPhoto.AllGroups)
|
||||||
{
|
{
|
||||||
fprintf (Gbl.F.Out,"<tr>"
|
fprintf (Gbl.F.Out,"<tr>"
|
||||||
|
@ -7102,7 +7102,7 @@ void Usr_ListAllDataTchs (void)
|
||||||
NumColumns = Usr_NUM_ALL_FIELDS_DATA_TCH;
|
NumColumns = Usr_NUM_ALL_FIELDS_DATA_TCH;
|
||||||
|
|
||||||
/***** Start table with lists of teachers *****/
|
/***** Start table with lists of teachers *****/
|
||||||
Tbl_StartTableWide (0);
|
Tbl_StartTableWide ();
|
||||||
|
|
||||||
/***** List teachers and non-editing teachers *****/
|
/***** List teachers and non-editing teachers *****/
|
||||||
Gbl.RowEvenOdd = 0;
|
Gbl.RowEvenOdd = 0;
|
||||||
|
@ -7382,8 +7382,8 @@ void Usr_ListDataAdms (void)
|
||||||
fprintf (Gbl.F.Out,"</div>");
|
fprintf (Gbl.F.Out,"</div>");
|
||||||
|
|
||||||
/***** Heading row with column names *****/
|
/***** Heading row with column names *****/
|
||||||
fprintf (Gbl.F.Out,"<table>"
|
fprintf (Gbl.F.Out,"<table>");
|
||||||
"<tr>");
|
fprintf (Gbl.F.Out,"<tr>");
|
||||||
for (NumCol = 0;
|
for (NumCol = 0;
|
||||||
NumCol < Usr_NUM_MAIN_FIELDS_DATA_ADM;
|
NumCol < Usr_NUM_MAIN_FIELDS_DATA_ADM;
|
||||||
NumCol++)
|
NumCol++)
|
||||||
|
@ -7873,7 +7873,7 @@ void Usr_SeeGuests (void)
|
||||||
Frm_StartForm (ActDoActOnSevGst);
|
Frm_StartForm (ActDoActOnSevGst);
|
||||||
|
|
||||||
/* Start table */
|
/* Start table */
|
||||||
Tbl_StartTableWide (0);
|
Tbl_StartTableWide ();
|
||||||
|
|
||||||
/* Draw the classphoto/list */
|
/* Draw the classphoto/list */
|
||||||
switch (Gbl.Usrs.Me.ListType)
|
switch (Gbl.Usrs.Me.ListType)
|
||||||
|
@ -8040,7 +8040,7 @@ void Usr_SeeStudents (void)
|
||||||
}
|
}
|
||||||
|
|
||||||
/* Start table */
|
/* Start table */
|
||||||
Tbl_StartTableWide (0);
|
Tbl_StartTableWide ();
|
||||||
|
|
||||||
/* Draw the classphoto/list */
|
/* Draw the classphoto/list */
|
||||||
switch (Gbl.Usrs.Me.ListType)
|
switch (Gbl.Usrs.Me.ListType)
|
||||||
|
@ -8214,7 +8214,7 @@ void Usr_SeeTeachers (void)
|
||||||
}
|
}
|
||||||
|
|
||||||
/* Start table */
|
/* Start table */
|
||||||
Tbl_StartTableWide (0);
|
Tbl_StartTableWide ();
|
||||||
|
|
||||||
/***** Draw the classphoto/list *****/
|
/***** Draw the classphoto/list *****/
|
||||||
switch (Gbl.Usrs.Me.ListType)
|
switch (Gbl.Usrs.Me.ListType)
|
||||||
|
@ -8746,7 +8746,7 @@ void Usr_SeeGstClassPhotoPrn (void)
|
||||||
Gbl.Scope.Current == Hie_INS) ? Gbl.Hierarchy.Ins.InsCod :
|
Gbl.Scope.Current == Hie_INS) ? Gbl.Hierarchy.Ins.InsCod :
|
||||||
-1L,
|
-1L,
|
||||||
-1L,-1L);
|
-1L,-1L);
|
||||||
Tbl_StartTableWide (0);
|
Tbl_StartTableWide ();
|
||||||
Usr_DrawClassPhoto (Usr_CLASS_PHOTO_PRN,
|
Usr_DrawClassPhoto (Usr_CLASS_PHOTO_PRN,
|
||||||
Rol_GST,false);
|
Rol_GST,false);
|
||||||
Tbl_EndTable ();
|
Tbl_EndTable ();
|
||||||
|
@ -8794,7 +8794,7 @@ void Usr_SeeStdClassPhotoPrn (void)
|
||||||
-1L,
|
-1L,
|
||||||
Gbl.Scope.Current == Hie_CRS ? Gbl.Hierarchy.Crs.CrsCod :
|
Gbl.Scope.Current == Hie_CRS ? Gbl.Hierarchy.Crs.CrsCod :
|
||||||
-1L);
|
-1L);
|
||||||
Tbl_StartTableWide (0);
|
Tbl_StartTableWide ();
|
||||||
Usr_DrawClassPhoto (Usr_CLASS_PHOTO_PRN,
|
Usr_DrawClassPhoto (Usr_CLASS_PHOTO_PRN,
|
||||||
Rol_STD,false);
|
Rol_STD,false);
|
||||||
Tbl_EndTable ();
|
Tbl_EndTable ();
|
||||||
|
@ -8861,7 +8861,7 @@ void Usr_SeeTchClassPhotoPrn (void)
|
||||||
-1L,
|
-1L,
|
||||||
Gbl.Scope.Current == Hie_CRS ? Gbl.Hierarchy.Crs.CrsCod :
|
Gbl.Scope.Current == Hie_CRS ? Gbl.Hierarchy.Crs.CrsCod :
|
||||||
-1L);
|
-1L);
|
||||||
Tbl_StartTableWide (0);
|
Tbl_StartTableWide ();
|
||||||
|
|
||||||
/* List teachers and non-editing teachers */
|
/* List teachers and non-editing teachers */
|
||||||
Usr_DrawClassPhoto (Usr_CLASS_PHOTO_PRN,
|
Usr_DrawClassPhoto (Usr_CLASS_PHOTO_PRN,
|
||||||
|
|
Loading…
Reference in New Issue