Version 14.42.1

This commit is contained in:
Antonio Cañas Vargas 2014-12-26 22:11:03 +01:00
parent 079c478fd4
commit 06ca8ba2f2
15 changed files with 443 additions and 159 deletions

View File

@ -152,7 +152,8 @@ static void Asg_ShowAllAssignments (void)
Order <= Asg_ORDER_BY_END_DATE;
Order++)
{
fprintf (Gbl.F.Out,"<th align=\"left\" class=\"TIT_TBL\">");
fprintf (Gbl.F.Out,"<th class=\"TIT_TBL\""
" style=\"text-align:left;\">");
Act_FormStart (ActSeeAsg);
Grp_PutParamWhichGrps ();
Pag_PutHiddenParamPagNum (Gbl.Pag.CurrentPage);
@ -167,9 +168,15 @@ static void Asg_ShowAllAssignments (void)
"</form>"
"</th>");
}
fprintf (Gbl.F.Out,"<th align=\"left\" class=\"TIT_TBL\">%s</th>"
"<th align=\"center\" class=\"TIT_TBL\">%s</th>"
"<th align=\"center\" class=\"TIT_TBL\">%s</th>"
fprintf (Gbl.F.Out,"<th class=\"TIT_TBL\" style=\"text-align:left;\">"
"%s"
"</th>"
"<th class=\"TIT_TBL\" style=\"text-align:center;\">"
"%s"
"</th>"
"<th class=\"TIT_TBL\" style=\"text-align:center;\">"
"%s"
"</th>"
"</tr>",
Txt_Assignment,
Txt_Upload_files_QUESTION,

View File

@ -182,7 +182,7 @@ static void Att_ShowAllAttEvents (void)
Order <= Att_ORDER_BY_END_DATE;
Order++)
{
fprintf (Gbl.F.Out,"<th align=\"left\" class=\"TIT_TBL\">");
fprintf (Gbl.F.Out,"<th class=\"TIT_TBL\" style=\"text-align:left;\">");
Act_FormStart (ActSeeAtt);
Grp_PutParamWhichGrps ();
Pag_PutHiddenParamPagNum (Gbl.Pag.CurrentPage);
@ -197,8 +197,12 @@ static void Att_ShowAllAttEvents (void)
"</form>"
"</th>");
}
fprintf (Gbl.F.Out,"<th align=\"left\" class=\"TIT_TBL\">%s</th>"
"<th align=\"right\" class=\"TIT_TBL\">%s</th>"
fprintf (Gbl.F.Out,"<th class=\"TIT_TBL\" style=\"text-align:left;\">"
"%s"
"</th>"
"<th class=\"TIT_TBL\" style=\"text-align:right;\">"
"%s"
"</th>"
"</tr>",
Txt_Event,
Txt_ROLES_PLURAL_Abc[Rol_ROLE_STUDENT][Usr_SEX_UNKNOWN]);
@ -1906,14 +1910,21 @@ static void Att_ListAttOnlyMeAsStudent (struct AttendanceEvent *Att)
/* Header */
Lay_StartRoundFrameTable10 (NULL,2,NULL);
fprintf (Gbl.F.Out,"<tr>"
"<th align=\"left\" class=\"TIT_TBL\"></th>"
"<th align=\"left\" class=\"TIT_TBL\"></th>"
"<th align=\"left\" class=\"TIT_TBL\"></th>");
"<th></th>"
"<th></th>"
"<th></th>");
if (Gbl.Usrs.Listing.WithPhotos)
fprintf (Gbl.F.Out,"<th align=\"left\" class=\"TIT_TBL\" width=\"18\"></th>");
fprintf (Gbl.F.Out,"<th align=\"left\" colspan=\"2\" class=\"TIT_TBL\">%s</th>"
"<th align=\"left\" class=\"TIT_TBL\">%s</th>"
"<th align=\"left\" class=\"TIT_TBL\">%s</th>"
fprintf (Gbl.F.Out,"<th style=\"width:18px;\"></th>");
fprintf (Gbl.F.Out,"<th colspan=\"2\" class=\"TIT_TBL\""
" style=\"text-align:left;\">"
"%s"
"</th>"
"<th class=\"TIT_TBL\" style=\"text-align:left;\">"
"%s"
"</th>"
"<th class=\"TIT_TBL\" style=\"text-align:left;\">"
"%s"
"</th>"
"</tr>",
Txt_ROLES_SINGULAR_Abc[Rol_ROLE_STUDENT][Usr_SEX_UNKNOWN],
Txt_Student_comment,
@ -1970,14 +1981,21 @@ static void Att_ListAttStudents (struct AttendanceEvent *Att)
/* Header */
Lay_StartRoundFrameTable10 (NULL,2,NULL);
fprintf (Gbl.F.Out,"<tr>"
"<th align=\"left\" class=\"TIT_TBL\"></th>"
"<th align=\"left\" class=\"TIT_TBL\"></th>"
"<th align=\"left\" class=\"TIT_TBL\"></th>");
"<th></th>"
"<th></th>"
"<th></th>");
if (Gbl.Usrs.Listing.WithPhotos)
fprintf (Gbl.F.Out,"<th align=\"left\" class=\"TIT_TBL\" width=\"18\"></th>");
fprintf (Gbl.F.Out,"<th align=\"left\" colspan=\"2\" class=\"TIT_TBL\">%s</th>"
"<th align=\"left\" class=\"TIT_TBL\">%s</th>"
"<th align=\"left\" class=\"TIT_TBL\">%s</th>"
fprintf (Gbl.F.Out,"<th style=\"width:18px;\"></th>");
fprintf (Gbl.F.Out,"<th colspan=\"2\" class=\"TIT_TBL\""
" style=\"text-align:left;\">"
"%s"
"</th>"
"<th class=\"TIT_TBL\" style=\"text-align:left;\">"
"%s"
"</th>"
"<th class=\"TIT_TBL\" style=\"text-align:left;\">"
"%s"
"</th>"
"</tr>",
Txt_ROLES_SINGULAR_Abc[Rol_ROLE_STUDENT][Usr_SEX_UNKNOWN],
Txt_Student_comment,
@ -2962,8 +2980,13 @@ static void Att_ListEventsToSelect (void)
/***** Heading row *****/
fprintf (Gbl.F.Out,"<tr>"
"<th colspan=\"2\" align=\"left\" class=\"TIT_TBL\">%s</th>"
"<th align=\"right\" class=\"TIT_TBL\">%s</th>"
"<th colspan=\"2\" class=\"TIT_TBL\""
" style=\"text-align:left;\">"
"%s"
"</th>"
"<th class=\"TIT_TBL\" style=\"text-align:right;\">"
"%s"
"</th>"
"</tr>",
Txt_Event,
Txt_ROLES_PLURAL_Abc[Rol_ROLE_STUDENT][Usr_SEX_UNKNOWN]);
@ -3125,7 +3148,10 @@ static void Att_WriteTableHeadSeveralAttEvents (void)
unsigned NumAttEvent;
fprintf (Gbl.F.Out,"<tr>"
"<th align=\"left\" colspan=\"%u\" class=\"TIT_TBL\">%s</th>",
"<th colspan=\"%u\" class=\"TIT_TBL\""
" style=\"text-align:left;\">"
"%s"
"</th>",
Gbl.Usrs.Listing.WithPhotos ? 4 :
3,
Txt_ROLES_SINGULAR_Abc[Rol_ROLE_STUDENT][Usr_SEX_UNKNOWN]);
@ -3138,13 +3164,17 @@ static void Att_WriteTableHeadSeveralAttEvents (void)
/***** Get data of this attendance event *****/
Att_GetDataOfAttEventByCodAndCheckCrs (&Gbl.AttEvents.Lst[NumAttEvent]);
fprintf (Gbl.F.Out,"<th align=\"center\" class=\"TIT_TBL\">"
"<span class=\"TIT_TBL\" title=\"%s\">%u</span>"
fprintf (Gbl.F.Out,"<th class=\"TIT_TBL\" title=\"%s\""
" style=\"text-align:center;\">"
"%u"
"</th>",
Gbl.AttEvents.Lst[NumAttEvent].Title,NumAttEvent+1);
Gbl.AttEvents.Lst[NumAttEvent].Title,
NumAttEvent + 1);
}
fprintf (Gbl.F.Out,"<th align=\"right\" class=\"TIT_TBL\">%s</th>"
fprintf (Gbl.F.Out,"<th class=\"TIT_TBL\" style=\"text-align:right;\">"
"%s"
"</th>"
"</tr>",
Txt_Attendance);
}

View File

@ -138,9 +138,13 @@ void Ctr_SeeCtrWithPendingDegs (void)
/***** Write heading *****/
Lay_StartRoundFrameTable10 (NULL,2,Txt_Centres_with_pending_degrees);
fprintf (Gbl.F.Out,"<tr>"
"<th class=\"TIT_TBL\"></th>"
"<th align=\"left\" class=\"TIT_TBL\">%s</th>"
"<th align=\"right\" class=\"TIT_TBL\">%s</th>"
"<th></th>"
"<th class=\"TIT_TBL\" style=\"text-align:left;\">"
"%s"
"</th>"
"<th class=\"TIT_TBL\" style=\"text-align:right;\">"
"%s"
"</th>"
"</tr>",
Txt_Centre,
Txt_Degrees_ABBREVIATION);
@ -2081,13 +2085,15 @@ static void Ctr_PutHeadCentresForSeeing (bool OrderSelectable)
fprintf (Gbl.F.Out,"<tr>"
"<th></th>"
"<th class=\"BM\"></th>"
"<th align=\"left\" class=\"TIT_TBL\">%s</th>",
"<th class=\"TIT_TBL\" style=\"text-align:left;\">"
"%s"
"</th>",
Txt_Place);
for (Order = Ctr_ORDER_BY_CENTRE;
Order <= Ctr_ORDER_BY_NUM_TCHS;
Order++)
{
fprintf (Gbl.F.Out,"<th align=\"left\" class=\"TIT_TBL\">");
fprintf (Gbl.F.Out,"<th class=\"TIT_TBL\" style=\"text-align:left;\">");
if (OrderSelectable)
{
Act_FormStart (ActSeeCtr);
@ -2106,8 +2112,12 @@ static void Ctr_PutHeadCentresForSeeing (bool OrderSelectable)
}
fprintf (Gbl.F.Out,"</th>");
}
fprintf (Gbl.F.Out,"<th align=\"right\" class=\"TIT_TBL\">%s</th>"
"<th align=\"left\" class=\"TIT_TBL\">%s</th>"
fprintf (Gbl.F.Out,"<th class=\"TIT_TBL\" style=\"text-align:right;\">"
"%s"
"</th>"
"<th class=\"TIT_TBL\" style=\"text-align:left;\">"
"%s"
"</th>"
"</tr>",
Txt_Degrees_ABBREVIATION,
Txt_Status);
@ -2131,18 +2141,38 @@ static void Ctr_PutHeadCentresForEdition (void)
extern const char *Txt_Requester;
fprintf (Gbl.F.Out,"<tr>"
"<th align=\"center\" class=\"TIT_TBL\"></th>"
"<th align=\"right\" class=\"TIT_TBL\">%s</th>"
"<th align=\"left\" class=\"TIT_TBL\" width=\"20\">&nbsp;</th>"
"<th align=\"left\" class=\"TIT_TBL\">%s</th>"
"<th align=\"left\" class=\"TIT_TBL\">%s</th>"
"<th align=\"left\" class=\"TIT_TBL\">%s</th>"
"<th align=\"left\" class=\"TIT_TBL\">%s</th>"
"<th align=\"left\" class=\"TIT_TBL\">%s</th>"
"<th align=\"right\" class=\"TIT_TBL\">%s</th>"
"<th align=\"right\" class=\"TIT_TBL\">%s</th>"
"<th align=\"left\" class=\"TIT_TBL\">%s</th>"
"<th align=\"left\" class=\"TIT_TBL\">%s</th>"
"<th></th>"
"<th class=\"TIT_TBL\" style=\"text-align:right;\">"
"%s"
"</th>"
"<th style=\"width:20px;\"></th>"
"<th class=\"TIT_TBL\" style=\"text-align:left;\">"
"%s"
"</th>"
"<th class=\"TIT_TBL\" style=\"text-align:left;\">"
"%s"
"</th>"
"<th class=\"TIT_TBL\" style=\"text-align:left;\">"
"%s"
"</th>"
"<th class=\"TIT_TBL\" style=\"text-align:left;\">"
"%s"
"</th>"
"<th class=\"TIT_TBL\" style=\"text-align:left;\">"
"%s"
"</th>"
"<th class=\"TIT_TBL\" style=\"text-align:right;\">"
"%s"
"</th>"
"<th class=\"TIT_TBL\" style=\"text-align:right;\">"
"%s"
"</th>"
"<th class=\"TIT_TBL\" style=\"text-align:left;\">"
"%s"
"</th>"
"<th class=\"TIT_TBL\" style=\"text-align:left;\">"
"%s"
"</th>"
"</tr>",
Txt_Code,
Txt_Institution,

View File

@ -35,11 +35,14 @@
/****************************** Public constants *****************************/
/*****************************************************************************/
#define Log_PLATFORM_VERSION "SWAD 14.42 (2014/12/26)"
#define Log_PLATFORM_VERSION "SWAD 14.42.1 (2014/12/26)"
// Number of lines (includes comments but not blank lines) has been got with the following command:
// nl swad*.c swad*.h css/swad*.css py/swad*.py js/swad*.js soap/swad*.h | tail -1
/*
Version 14.42.1 :Dic 26, 2014 Fixed bug in HTML of tabs.
Changes in foot.html to validate HTML5 in W3C validator.
Changes in HTML and CSS to validate HTML5 in W3C validator. (173987 lines)
Version 14.42 :Dic 26, 2014 Changes in HTML and CSS to validate HTML5 in W3C validator. (173703 lines)
Version 14.41 :Dic 26, 2014 Changes in HTML and CSS to validate HTML5 in W3C validator. (173630 lines)
Version 14.40.12 :Dic 26, 2014 Changes in HTML and CSS to validate HTML5 in W3C validator. (173478 lines)

View File

@ -178,11 +178,26 @@ void Con_GetAndShowLastClicks (void)
/* Print table row */
fprintf (Gbl.F.Out,"<tr>"
"<th align=\"left\" class=\"TIT_TBL\" width=\"70\">%s</th>"
"<th align=\"left\" class=\"TIT_TBL\" width=\"60\">%s</th>"
"<th align=\"left\" class=\"TIT_TBL\" width=\"100\">%s</th>"
"<th align=\"left\" class=\"TIT_TBL\" width=\"150\">%s</th>"
"<th align=\"left\" class=\"TIT_TBL\" width=\"220\">%s</th>"
"<th class=\"TIT_TBL\""
" style=\"width:70px; text-align:left;\">"
"%s"
"</th>"
"<th class=\"TIT_TBL\""
" style=\"width:60px; text-align:left;\">"
"%s"
"</th>"
"<th class=\"TIT_TBL\""
" style=\"width:100px; text-align:left;\">"
"%s"
"</th>"
"<th class=\"TIT_TBL\""
" style=\"width:150px; text-align:left;\">"
"%s"
"</th>"
"<th class=\"TIT_TBL\""
" style=\"width:220px; text-align:left;\">"
"%s"
"</th>"
"</tr>",
Txt_Click,
Txt_Hour,

View File

@ -118,9 +118,13 @@ void Cty_SeeCtyWithPendingInss (void)
/***** Write heading *****/
Lay_StartRoundFrameTable10 (NULL,2,Txt_Countries_with_pending_institutions);
fprintf (Gbl.F.Out,"<tr>"
"<th class=\"TIT_TBL\"></th>"
"<th align=\"left\" class=\"TIT_TBL\">%s</th>"
"<th align=\"right\" class=\"TIT_TBL\">%s</th>"
"<th></th>"
"<th class=\"TIT_TBL\" style=\"text-align:left;\">"
"%s"
"</th>"
"<th class=\"TIT_TBL\" style=\"text-align:right;\">"
"%s"
"</th>"
"</tr>",
Txt_Country,
Txt_Institutions_ABBREVIATION);
@ -544,7 +548,7 @@ void Cty_ListCountries2 (void)
Order <= Cty_ORDER_BY_NUM_USRS;
Order++)
{
fprintf (Gbl.F.Out,"<th align=\"%s\" class=\"TIT_TBL\">",
fprintf (Gbl.F.Out,"<th class=\"TIT_TBL\" style=\"text-align:%s;\">",
Order == Cty_ORDER_BY_COUNTRY ? "left" :
"right");
Act_FormStart (ActSeeCty);
@ -559,9 +563,15 @@ void Cty_ListCountries2 (void)
"</form>"
"</th>");
}
fprintf (Gbl.F.Out,"<th align=\"right\" class=\"TIT_TBL\">%s</th>"
"<th align=\"right\" class=\"TIT_TBL\">%s</th>"
"<th align=\"right\" class=\"TIT_TBL\">%s</th>"
fprintf (Gbl.F.Out,"<th class=\"TIT_TBL\" style=\"text-align:right;\">"
"%s"
"</th>"
"<th class=\"TIT_TBL\" style=\"text-align:right;\">"
"%s"
"</th>"
"<th class=\"TIT_TBL\" style=\"text-align:right;\">"
"%s"
"</th>"
"</tr>",
Txt_Students_ABBREVIATION,
Txt_Teachers_ABBREVIATION,
@ -1763,13 +1773,25 @@ static void Cty_PutHeadCountries (void)
fprintf (Gbl.F.Out,"<tr>"
"<th class=\"BM\"></th>"
"<th align=\"right\" class=\"TIT_TBL\">%s</th>"
"<th align=\"right\" class=\"TIT_TBL\">%s</th>"
"<th class=\"TIT_TBL\" style=\"text-align:right;\">"
"%s"
"</th>"
"<th class=\"TIT_TBL\" style=\"text-align:right;\">"
"%s"
"</th>"
"<th></th>"
"<th align=\"left\" class=\"TIT_TBL\">%s</th>"
"<th align=\"left\" class=\"TIT_TBL\">%s</th>"
"<th align=\"right\" class=\"TIT_TBL\">%s</th>"
"<th align=\"right\" class=\"TIT_TBL\">%s</th>"
"<th class=\"TIT_TBL\" style=\"text-align:left;\">"
"%s"
"</th>"
"<th class=\"TIT_TBL\" style=\"text-align:left;\">"
"%s"
"</th>"
"<th class=\"TIT_TBL\" style=\"text-align:right;\">"
"%s"
"</th>"
"<th class=\"TIT_TBL\" style=\"text-align:right;\">"
"%s"
"</th>"
"</tr>",
Txt_Numeric_BR_code_BR_ISO_3166_1,
Txt_Alphabetic_BR_code_BR_ISO_3166_1,

View File

@ -1579,13 +1579,27 @@ static void Crs_PutHeadCoursesForSeeing (void)
fprintf (Gbl.F.Out,"<tr>"
"<th class=\"BM\"></th>"
"<th align=\"center\" class=\"TIT_TBL\">%s</th>"
"<th align=\"center\" class=\"TIT_TBL\">%s</th>"
"<th align=\"center\" class=\"TIT_TBL\">%s</th>"
"<th align=\"left\" class=\"TIT_TBL\">%s</th>"
"<th align=\"right\" class=\"TIT_TBL\">%s</th>"
"<th align=\"right\" class=\"TIT_TBL\">%s</th>"
"<th align=\"left\" class=\"TIT_TBL\">%s</th>"
"<th class=\"TIT_TBL\" style=\"text-align:center;\">"
"%s"
"</th>"
"<th class=\"TIT_TBL\" style=\"text-align:center;\">"
"%s"
"</th>"
"<th class=\"TIT_TBL\" style=\"text-align:center;\">"
"%s"
"</th>"
"<th class=\"TIT_TBL\" style=\"text-align:left;\">"
"%s"
"</th>"
"<th class=\"TIT_TBL\" style=\"text-align:right;\">"
"%s"
"</th>"
"<th class=\"TIT_TBL\" style=\"text-align:right;\">"
"%s"
"</th>"
"<th class=\"TIT_TBL\" style=\"text-align:left;\">"
"%s"
"</th>"
"</tr>",
Txt_Institutional_BR_code,
Txt_Year_OF_A_DEGREE,
@ -1616,17 +1630,39 @@ static void Crs_PutHeadCoursesForEdition (void)
fprintf (Gbl.F.Out,"<tr>"
"<th class=\"BM\"></th>"
"<th align=\"right\" class=\"TIT_TBL\">%s</th>"
"<th align=\"center\" class=\"TIT_TBL\">%s</th>"
"<th align=\"left\" class=\"TIT_TBL\">%s</th>"
"<th align=\"center\" class=\"TIT_TBL\">%s</th>"
"<th align=\"center\" class=\"TIT_TBL\">%s</th>"
"<th align=\"left\" class=\"TIT_TBL\">%s</th>"
"<th align=\"left\" class=\"TIT_TBL\">%s</th>"
"<th align=\"right\" class=\"TIT_TBL\">%s</th>"
"<th align=\"right\" class=\"TIT_TBL\">%s</th>"
"<th align=\"left\" class=\"TIT_TBL\">%s</th>"
"<th align=\"left\" class=\"TIT_TBL\">%s</th>"
"<th class=\"TIT_TBL\" style=\"text-align:right;\">"
"%s"
"</th>"
"<th class=\"TIT_TBL\" style=\"text-align:center;\">"
"%s"
"</th>"
"<th class=\"TIT_TBL\" style=\"text-align:left;\">"
"%s"
"</th>"
"<th class=\"TIT_TBL\" style=\"text-align:center;\">"
"%s"
"</th>"
"<th class=\"TIT_TBL\" style=\"text-align:center;\">"
"%s"
"</th>"
"<th class=\"TIT_TBL\" style=\"text-align:left;\">"
"%s"
"</th>"
"<th class=\"TIT_TBL\" style=\"text-align:left;\">"
"%s"
"</th>"
"<th class=\"TIT_TBL\" style=\"text-align:right;\">"
"%s"
"</th>"
"<th class=\"TIT_TBL\" style=\"text-align:right;\">"
"%s"
"</th>"
"<th class=\"TIT_TBL\" style=\"text-align:left;\">"
"%s"
"</th>"
"<th class=\"TIT_TBL\" style=\"text-align:left;\">"
"%s"
"</th>"
"</tr>",
Txt_Code,
Txt_Institutional_BR_code,
@ -2861,12 +2897,24 @@ void Crs_GetAndWriteCrssOfAUsr (long UsrCod,Rol_Role_t Role)
fprintf (Gbl.F.Out,"<tr>"
"<th class=\"BM\"></th>"
"<th class=\"BM\"></th>"
"<th align=\"left\" class=\"TIT_TBL\">%s</th>"
"<th align=\"center\" class=\"TIT_TBL\">%s</th>"
"<th align=\"center\" class=\"TIT_TBL\">%s</th>"
"<th align=\"left\" class=\"TIT_TBL\">%s</th>"
"<th align=\"right\" class=\"TIT_TBL\">%s</th>"
"<th align=\"right\" class=\"TIT_TBL\">%s</th>"
"<th class=\"TIT_TBL\" style=\"text-align:left;\">"
"%s"
"</th>"
"<th class=\"TIT_TBL\" style=\"text-align:center;\">"
"%s"
"</th>"
"<th class=\"TIT_TBL\" style=\"text-align:center;\">"
"%s"
"</th>"
"<th class=\"TIT_TBL\" style=\"text-align:left;\">"
"%s"
"</th>"
"<th class=\"TIT_TBL\" style=\"text-align:right;\">"
"%s"
"</th>"
"<th class=\"TIT_TBL\" style=\"text-align:right;\">"
"%s"
"</th>"
"</tr>",
Txt_Degree,
Txt_Year_OF_A_DEGREE,
@ -2936,12 +2984,24 @@ unsigned Crs_ListCrssFound (const char *Query)
/* Heading row */
fprintf (Gbl.F.Out,"<tr>"
"<th class=\"BM\"></th>"
"<th align=\"left\" class=\"TIT_TBL\">%s</th>"
"<th align=\"center\" class=\"TIT_TBL\">%s</th>"
"<th align=\"center\" class=\"TIT_TBL\">%s</th>"
"<th align=\"left\" class=\"TIT_TBL\">%s</th>"
"<th align=\"right\" class=\"TIT_TBL\">%s</th>"
"<th align=\"right\" class=\"TIT_TBL\">%s</th>"
"<th class=\"TIT_TBL\" style=\"text-align:left;\">"
"%s"
"</th>"
"<th class=\"TIT_TBL\" style=\"text-align:center;\">"
"%s"
"</th>"
"<th class=\"TIT_TBL\" style=\"text-align:center;\">"
"%s"
"</th>"
"<th class=\"TIT_TBL\" style=\"text-align:left;\">"
"%s"
"</th>"
"<th class=\"TIT_TBL\" style=\"text-align:right;\">"
"%s"
"</th>"
"<th class=\"TIT_TBL\" style=\"text-align:right;\">"
"%s"
"</th>"
"</tr>",
Txt_Degree,
Txt_Year_OF_A_DEGREE,

View File

@ -187,9 +187,13 @@ void Deg_SeeDegWithPendingCrss (void)
/***** Write heading *****/
Lay_StartRoundFrameTable10 (NULL,2,Txt_Degrees_with_pending_courses);
fprintf (Gbl.F.Out,"<tr>"
"<th class=\"TIT_TBL\"></th>"
"<th align=\"left\" class=\"TIT_TBL\">%s</th>"
"<th align=\"right\" class=\"TIT_TBL\">%s</th>"
"<th></th>"
"<th class=\"TIT_TBL\" style=\"text-align:left;\">"
"%s"
"</th>"
"<th class=\"TIT_TBL\" style=\"text-align:right;\">"
"%s"
"</th>"
"</tr>",
Txt_Degree,
Txt_Courses_ABBREVIATION);
@ -1485,7 +1489,8 @@ static void Deg_ListDegreesForEdition (void)
fprintf (Gbl.F.Out,"</td>");
/* Degree type */
fprintf (Gbl.F.Out,"<td align=\"left\" valign=\"middle\" class=\"DAT\">");
fprintf (Gbl.F.Out,"<td class=\"DAT\""
" style=\"text-align:left; vertical-align:middle;\">");
if (ICanEdit)
{
Act_FormStart (ActChgDegTyp);
@ -1740,8 +1745,12 @@ static void Deg_PutFormToCreateDegType (void)
/***** Write heading *****/
fprintf (Gbl.F.Out,"<tr>"
"<th align=\"center\" class=\"TIT_TBL\">%s</th>"
"<th align=\"center\" class=\"TIT_TBL\">%s</th>"
"<th class=\"TIT_TBL\" style=\"text-align:center;\">"
"%s"
"</th>"
"<th lass=\"TIT_TBL\" style=\"text-align:center;\">"
"%s"
"</th>"
"</tr>",
Txt_Type_of_BR_degree,
Txt_Direct_authentication);
@ -1959,9 +1968,15 @@ static void Deg_PutHeadDegreeTypesForSeeing (void)
fprintf (Gbl.F.Out,"<tr>"
"<th class=\"BM\"></th>"
"<th align=\"center\" class=\"TIT_TBL\">%s</th>"
"<th align=\"center\" class=\"TIT_TBL\">%s</th>"
"<th align=\"right\" class=\"TIT_TBL\">%s</th>"
"<th class=\"TIT_TBL\" style=\"text-align:center;\">"
"%s"
"</th>"
"<th class=\"TIT_TBL\" style=\"text-align:center;\">"
"%s"
"</th>"
"<th class=\"TIT_TBL\" style=\"text-align:right;\">"
"%s"
"</th>"
"</tr>",
Txt_Type_of_BR_degree,
Txt_Direct_authentication,
@ -1981,10 +1996,18 @@ static void Deg_PutHeadDegreeTypesForEdition (void)
fprintf (Gbl.F.Out,"<tr>"
"<th class=\"BM\"></th>"
"<th align=\"center\" class=\"TIT_TBL\">%s</th>"
"<th align=\"center\" class=\"TIT_TBL\">%s</th>"
"<th align=\"center\" class=\"TIT_TBL\">%s</th>"
"<th align=\"right\" class=\"TIT_TBL\">%s</th>"
"<th class=\"TIT_TBL\" style=\"text-align:center;\">"
"%s"
"</th>"
"<th class=\"TIT_TBL\" style=\"text-align:center;\">"
"%s"
"</th>"
"<th class=\"TIT_TBL\" style=\"text-align:center;\">"
"%s"
"</th>"
"<th class=\"TIT_TBL\" style=\"text-align:right;\">"
"%s"
"</th>"
"</tr>",
Txt_Code,
Txt_Type_of_BR_degree,
@ -2010,13 +2033,27 @@ static void Deg_PutHeadDegreesForSeeing (void)
"<th class=\"BM\"></th>"
"<th></th>"
"<th></th>"
"<th align=\"left\" class=\"TIT_TBL\">%s</th>"
"<th align=\"left\" class=\"TIT_TBL\">%s</th>"
"<th align=\"center\" class=\"TIT_TBL\">%s</th>"
"<th align=\"center\" class=\"TIT_TBL\">%s</th>"
"<th align=\"center\" class=\"TIT_TBL\">%s</th>"
"<th align=\"right\" class=\"TIT_TBL\">%s</th>"
"<th align=\"left\" class=\"TIT_TBL\">%s</th>"
"<th class=\"TIT_TBL\" style=\"text-align:left;\">"
"%s"
"</th>"
"<th class=\"TIT_TBL\" style=\"text-align:left;\">"
"%s"
"</th>"
"<th class=\"TIT_TBL\" style=\"text-align:center;\">"
"%s"
"</th>"
"<th class=\"TIT_TBL\" style=\"text-align:center;\">"
"%s"
"</th>"
"<th class=\"TIT_TBL\" style=\"text-align:center;\">"
"%s"
"</th>"
"<th class=\"TIT_TBL\" style=\"text-align:right;\">"
"%s"
"</th>"
"<th class=\"TIT_TBL\" style=\"text-align:left;\">"
"%s"
"</th>"
"</tr>",
Txt_Degree,
Txt_Type_of_BR_degree,
@ -2048,19 +2085,43 @@ static void Deg_PutHeadDegreesForEdition (void)
fprintf (Gbl.F.Out,"<tr>"
"<th class=\"BM\"></th>"
"<th align=\"right\" class=\"TIT_TBL\">%s</th>"
"<th align=\"left\" class=\"TIT_TBL\" width=\"20\">&nbsp;</th>"
"<th align=\"left\" class=\"TIT_TBL\">%s</th>"
"<th align=\"left\" class=\"TIT_TBL\">%s</th>"
"<th align=\"left\" class=\"TIT_TBL\">%s</th>"
"<th align=\"left\" class=\"TIT_TBL\">%s</th>"
"<th align=\"center\" class=\"TIT_TBL\">%s</th>"
"<th align=\"center\" class=\"TIT_TBL\">%s</th>"
"<th align=\"center\" class=\"TIT_TBL\">%s</th>"
"<th align=\"left\" class=\"TIT_TBL\">%s</th>"
"<th align=\"right\" class=\"TIT_TBL\">%s</th>"
"<th align=\"left\" class=\"TIT_TBL\">%s</th>"
"<th align=\"left\" class=\"TIT_TBL\">%s</th>"
"<th class=\"TIT_TBL\" style=\"text-align:right;\">"
"%s"
"</th>"
"<th style=\"width:20px;\"></th>"
"<th class=\"TIT_TBL\" style=\"text-align:left;\">"
"%s"
"</th>"
"<th class=\"TIT_TBL\" style=\"text-align:left;\">"
"%s"
"</th>"
"<th class=\"TIT_TBL\" style=\"text-align:left;\">"
"%s"
"</th>"
"<th class=\"TIT_TBL\" style=\"text-align:left;\">"
"%s"
"</th>"
"<th class=\"TIT_TBL\" style=\"text-align:center;\">"
"%s"
"</th>"
"<th class=\"TIT_TBL\" style=\"text-align:center;\">"
"%s"
"</th>"
"<th class=\"TIT_TBL\" style=\"text-align:center;\">"
"%s"
"</th>"
"<th class=\"TIT_TBL\" style=\"text-align:left;\">"
"%s"
"</th>"
"<th class=\"TIT_TBL\" style=\"text-align:right;\">"
"%s"
"</th>"
"<th class=\"TIT_TBL\" style=\"text-align:left;\">"
"%s"
"</th>"
"<th class=\"TIT_TBL\" style=\"text-align:left;\">"
"%s"
"</th>"
"</tr>",
Txt_Code,
Txt_Centre,

View File

@ -884,10 +884,18 @@ static void Dpt_PutFormToCreateDepartment (void)
/***** Write heading *****/
fprintf (Gbl.F.Out,"<tr>"
"<th align=\"left\" class=\"TIT_TBL\">%s</th>"
"<th align=\"left\" class=\"TIT_TBL\">%s</th>"
"<th align=\"left\" class=\"TIT_TBL\">%s</th>"
"<th align=\"left\" class=\"TIT_TBL\">%s</th>"
"<th class=\"TIT_TBL\" style=\"text-align:left;\">"
"%s"
"</th>"
"<th class=\"TIT_TBL\" style=\"text-align:left;\">"
"%s"
"</th>"
"<th class=\"TIT_TBL\" style=\"text-align:left;\">"
"%s"
"</th>"
"<th class=\"TIT_TBL\" style=\"text-align:left;\">"
"%s"
"</th>"
"</tr>",
Txt_Institution,
Txt_Short_Name,

View File

@ -2184,14 +2184,29 @@ void Enr_ShowEnrollmentRequests (void)
/* Start table */
Lay_StartRoundFrameTable10 (NULL,2,NULL);
fprintf (Gbl.F.Out,"<tr>"
"<th align=\"right\" valign=\"top\" class=\"TIT_TBL\"></th>"
"<th align=\"left\" valign=\"top\" class=\"TIT_TBL\">%s</th>"
"<th align=\"right\" valign=\"top\" class=\"TIT_TBL\">%s</th>"
"<th align=\"left\" valign=\"top\" colspan=\"2\" class=\"TIT_TBL\">%s</th>"
"<th align=\"left\" valign=\"top\" class=\"TIT_TBL\">%s</th>"
"<th align=\"center\" valign=\"top\" class=\"TIT_TBL\">%s</th>"
"<th align=\"center\" valign=\"top\" class=\"TIT_TBL\"></th>"
"<th align=\"center\" valign=\"top\" class=\"TIT_TBL\"></th>"
"<th></th>"
"<th class=\"TIT_TBL\""
" style=\"text-align:left; vertical-align:top;\">"
"%s"
"</th>"
"<th class=\"TIT_TBL\""
" style=\"text-align:right; vertical-align:top;\">"
"%s"
"</th>"
"<th colspan=\"2\" class=\"TIT_TBL\""
" style=\"text-align:left; vertical-align:top;\">"
"%s"
"</th>"
"<th class=\"TIT_TBL\""
" style=\"text-align:left; vertical-align:top;\">"
"%s"
"</th>"
"<th class=\"TIT_TBL\""
" style=\"text-align:center; vertical-align:top;\">"
"%s"
"</th>"
"<th></th>"
"<th></th>"
"</tr>",
Txt_Course,
Txt_Teachers_ABBREVIATION,

View File

@ -9446,10 +9446,18 @@ unsigned Brw_ListDocsFound (const char *Query,const char *Title)
/* Heading row */
fprintf (Gbl.F.Out,"<tr>"
"<th class=\"BM\"></th>"
"<th align=\"left\" class=\"TIT_TBL\">%s</th>"
"<th align=\"left\" class=\"TIT_TBL\">%s</th>"
"<th align=\"left\" class=\"TIT_TBL\">%s</th>"
"<th align=\"left\" class=\"TIT_TBL\">%s</th>"
"<th class=\"TIT_TBL\" style=\"text-align:left;\">"
"%s"
"</th>"
"<th class=\"TIT_TBL\" style=\"text-align:left;\">"
"%s"
"</th>"
"<th class=\"TIT_TBL\" style=\"text-align:left;\">"
"%s"
"</th>"
"<th class=\"TIT_TBL\" style=\"text-align:left;\">"
"%s"
"</th>"
"</tr>",
Txt_Degree,
Txt_Course,

View File

@ -1268,11 +1268,21 @@ static void Grp_WriteHeadingGroupTypes (void)
fprintf (Gbl.F.Out,"<tr>"
"<th class=\"BM\"></th>"
"<th align=\"center\" class=\"TIT_TBL\">%s<br />(%s)</th>"
"<th align=\"center\" class=\"TIT_TBL\">%s</th>"
"<th align=\"center\" class=\"TIT_TBL\">%s</th>"
"<th align=\"center\" class=\"TIT_TBL\">%s</th>"
"<th align=\"center\" class=\"TIT_TBL\">%s</th>"
"<th class=\"TIT_TBL\" style=\"text-align:center;\">"
"%s<br />(%s)"
"</th>"
"<th class=\"TIT_TBL\" style=\"text-align:center;\">"
"%s"
"</th>"
"<th class=\"TIT_TBL\" style=\"text-align:center;\">"
"%s"
"</th>"
"<th class=\"TIT_TBL\" style=\"text-align:center;\">"
"%s"
"</th>"
"<th class=\"TIT_TBL\" style=\"text-align:center;\">"
"%s"
"</th>"
"</tr>",
Txt_Type_of_group,Txt_eg_Lectures_Practicals,
Txt_Mandatory_enrollment,
@ -1439,10 +1449,18 @@ static void Grp_WriteHeadingGroups (void)
"<th class=\"BM\"></th>"
"<th class=\"BM\"></th>"
"<th class=\"BM\"></th>"
"<th align=\"center\" class=\"TIT_TBL\">%s</th>"
"<th align=\"center\" class=\"TIT_TBL\">%s<br />(%s)</th>"
"<th align=\"center\" class=\"TIT_TBL\">%s</th>"
"<th align=\"center\" class=\"TIT_TBL\">%s</th>"
"<th class=\"TIT_TBL\" style=\"text-align:center;\">"
"%s"
"</th>"
"<th class=\"TIT_TBL\" style=\"text-align:center;\">"
"%s<br />(%s)"
"</th>"
"<th class=\"TIT_TBL\" style=\"text-align:center;\">"
"%s"
"</th>"
"<th class=\"TIT_TBL\" style=\"text-align:center;\">"
"%s"
"</th>"
"</tr>",
Txt_Type_BR_of_group,
Txt_Group_name,Txt_eg_A_B,

View File

@ -511,7 +511,8 @@ static unsigned Imp_GetAndListImpGrpsAndStdsFromDB (bool ItsAFormToRegRemStds)
/***** Start table with groups *****/
Lay_StartRoundFrameTable10 (NULL,2,NULL);
fprintf (Gbl.F.Out,"<tr>"
"<th colspan=\"%u\" align=\"center\" valign=\"top\" class=\"TIT_TBL\">",
"<th colspan=\"%u\" class=\"TIT_TBL\""
" style=\"text-align:center; vertical-align:top;\">",
ItsAFormToRegRemStds ? 3 :
2);
Lay_WriteTitle (Txt_Official_students);

View File

@ -1274,10 +1274,16 @@ static void Ind_ShowTableOfCoursesWithIndicators (Ind_IndicatorsLayout_t Indicat
fprintf (Gbl.F.Out,"</table>");
/***** Write number of courses with each number of indicators valid *****/
fprintf (Gbl.F.Out,"<table class=\"CELLS_PAD_2\" style=\"margin-left:auto; margin-right:auto;\">"
fprintf (Gbl.F.Out,"<table class=\"CELLS_PAD_2\""
" style=\"margin-left:auto; margin-right:auto;\">"
"<tr>"
"<th align=\"right\" class=\"TIT_TBL\">%s</th>"
"<th colspan=\"2\" align=\"right\" class=\"TIT_TBL\">%s</th>"
"<th class=\"TIT_TBL\" style=\"text-align:right;\">"
"%s"
"</th>"
"<th colspan=\"2\" class=\"TIT_TBL\""
" style=\"text-align:right;\">"
"%s"
"</th>"
"</tr>",
Txt_No_of_indicators,
Txt_Courses);

View File

@ -934,7 +934,7 @@ static void Lay_DrawTabsDeskTop (void)
Act_LinkFormSubmit (Txt_TABS_FULL_TXT[NumTab],
NumTab == Gbl.CurrentTab ? The_ClassTabOn[Gbl.Prefs.Theme] :
The_ClassTabOff[Gbl.Prefs.Theme]);
fprintf (Gbl.F.Out,"<input type=\"image\" src=\"%s/%s/%s32x32.gif\""
fprintf (Gbl.F.Out,"<img src=\"%s/%s/%s32x32.gif\""
" alt=\"%s\" title=\"%s\""
" class=\"ICON32x32\" style=\"margin:4px;\" />"
"<div>%s</div>"