Version 14.127

This commit is contained in:
Antonio Cañas Vargas 2015-09-05 19:19:39 +02:00
parent 4b1f3b5b21
commit c0bc40c61a
33 changed files with 477 additions and 462 deletions

View File

@ -384,11 +384,15 @@ hr.YELLOW_SEPARA {height:0; border-top:0; border-bottom:#BD4815 dotted 1px;}
/*********************************** Icons ***********************************/
.ICON16x16 {width:16px; height:16px; vertical-align:middle;}
.ICON16x16B {width:16px; height:16px; vertical-align:middle; display:block;}
.ICON20x20 {width:20px; height:20px; vertical-align:middle;}
.ICON28x28 {width:28px; height:28px; vertical-align:middle;}
.ICON32x32 {width:32px; height:32px; vertical-align:middle;}
.ICON32x32B {width:32px; height:32px; vertical-align:middle; display:block;}
.ICON48x48 {width:48px; height:48px; vertical-align:middle;}
.ICON64x64 {width:64px; height:64px; vertical-align:middle;}
.ICON128x128 {width:128px; height:128px; vertical-align:middle;}
.BANNER {width:120px; height:40px;}
.BANNER_SMALL {width:60px; height:20px;}
/****** Contextual links with small icons and text to go to some action ******/
.CONTEXT_MENU
@ -447,7 +451,7 @@ hr.YELLOW_SEPARA {height:0; border-top:0; border-bottom:#BD4815 dotted 1px;}
.CELLS_PAD_4 td {padding:4px;}
.CELLS_PAD_8 th {padding:8px;}
.CELLS_PAD_8 td {padding:8px;}
/*********************************** Title ***********************************/
.TIT
{
@ -939,11 +943,11 @@ a:hover img.CENTRE_PHOTO_SHOW
.DAT_SMALL_N {font-family:"Arial Narrow", "Nimbus Sans L", "DejaVu LGC Sans Condensed", sans-serif; color:#404040; font-size:10pt;}
.DAT_SMALL_NOBR_N {font-family:"Arial Narrow", "Nimbus Sans L", "DejaVu LGC Sans Condensed", sans-serif; color:#404040; font-size:10pt; white-space:nowrap;}
.DAT_SMALL_GREY {text-align:left; font-family:"Arial Narrow", "Nimbus Sans L", "DejaVu LGC Sans Condensed", sans-serif; color:#707070; font-size:10pt;}
.DAT_SMALL_RED {text-align:left; font-family:"Arial Narrow", "Nimbus Sans L", "DejaVu LGC Sans Condensed", sans-serif; color:#FF0000; font-size:10pt;}
.DAT_SMALL_GREEN {text-align:left; font-family:"Arial Narrow", "Nimbus Sans L", "DejaVu LGC Sans Condensed", sans-serif; color:#008000; font-size:10pt;}
.DAT_SMALL_BLUE {text-align:left; font-family:"Arial Narrow", "Nimbus Sans L", "DejaVu LGC Sans Condensed", sans-serif; color:#0080FF; font-size:10pt;}
.DAT_SMALL_YELLOW {text-align:left; font-family:"Arial Narrow", "Nimbus Sans L", "DejaVu LGC Sans Condensed", sans-serif; color:#C0C000; font-size:10pt;}
.DAT_SMALL_GREY {font-family:"Arial Narrow", "Nimbus Sans L", "DejaVu LGC Sans Condensed", sans-serif; color:#707070; font-size:10pt;}
.DAT_SMALL_RED {font-family:"Arial Narrow", "Nimbus Sans L", "DejaVu LGC Sans Condensed", sans-serif; color:#FF0000; font-size:10pt;}
.DAT_SMALL_GREEN {font-family:"Arial Narrow", "Nimbus Sans L", "DejaVu LGC Sans Condensed", sans-serif; color:#008000; font-size:10pt;}
.DAT_SMALL_BLUE {font-family:"Arial Narrow", "Nimbus Sans L", "DejaVu LGC Sans Condensed", sans-serif; color:#0080FF; font-size:10pt;}
.DAT_SMALL_YELLOW {font-family:"Arial Narrow", "Nimbus Sans L", "DejaVu LGC Sans Condensed", sans-serif; color:#C0C000; font-size:10pt;}
.HEAD_REC {font-family:Georgia, "DejaVu LGC Serif", "Bitstream Vera Serif", serif; color:#808080; font-size:10pt;}
.HEAD_REC_SMALL {font-family:Georgia, "DejaVu LGC Serif", "Bitstream Vera Serif", serif; color:#808080; font-size:9pt;}
@ -953,7 +957,7 @@ a:hover img.CENTRE_PHOTO_SHOW
.DAT_REC_SMALL {color:#808080; font-size:9pt; line-height:110%;}
.DAT_REC_SMALL_BOLD {color:#202020; font-size:9pt; line-height:110%;}
.MSJ_AVISO {color:#632921; font-size:10pt;}
.TIT_TBL {color:#4D88A1; font-size:10pt;}
.TIT_TBL {color:#4D88A1; font-size:10pt; font-weight:bold;}
.TIT_CLASSPHOTO {font-family:Georgia, "DejaVu LGC Serif", "Bitstream Vera Serif", serif; color:#606060; font-size:11pt;}
.CLASSPHOTO {color:#606060; font-size:8pt; line-height:100%; white-space:nowrap;}
@ -1109,6 +1113,21 @@ a:hover img.CENTRE_PHOTO_SHOW
.CON {color:#B8D070; font-size:9pt; line-height:110%; white-space:nowrap;}
.CON_CRS {color:#398000; font-size:9pt; line-height:110%; white-space:nowrap;}
/*************************** Indicators about courses ************************/
.INDICATORS td,.INDICATORS th
{
border:1px solid silver;
border-collapse:collapse;
padding:1px;
}
.INDICATORS th
{
color:#4D88A1;
font-size:10pt;
font-weight:bold;
}
/********************************** Page foot ********************************/
.FOOT_LIST_CONTAINER
{
position:relative;

View File

@ -349,10 +349,14 @@ form {margin:0; display:inline;}
/*********************************** Icons ***********************************/
.ICON16x16 {width:16px; height:16px; vertical-align:middle;}
.ICON16x16B {width:16px; height:16px; vertical-align:middle; display:block;}
.ICON20x20 {width:20px; height:20px; vertical-align:middle;}
.ICON32x32 {width:32px; height:32px; vertical-align:middle;}
.ICON32x32B {width:32px; height:32px; vertical-align:middle; display:block;}
.ICON48x48 {width:48px; height:48px; vertical-align:middle;}
.ICON64x64 {width:64px; height:64px; vertical-align:middle;}
.ICON128x128 {width:128px; height:128px; vertical-align:middle;}
.BANNER {width:120px; height:40px;}
.BANNER_SMALL {width:60px; height:20px;}
/****** Contextual links with small icons and text to go to some action ******/
.CONTEXT_MENU
@ -748,11 +752,11 @@ a:hover img.CENTRE_PHOTO_SHOW
.DAT_SMALL_N {font-Family:"Arial Narrow", "Nimbus Sans L", "DejaVu LGC Sans Condensed", sans-serif; color:#404040; font-size:14pt;}
.DAT_SMALL_NOBR_N {font-Family:"Arial Narrow", "Nimbus Sans L", "DejaVu LGC Sans Condensed", sans-serif; color:#404040; font-size:14pt; white-space:nowrap;}
.DAT_SMALL_GREY {text-align:left; font-Family:"Arial Narrow", "Nimbus Sans L", "DejaVu LGC Sans Condensed", sans-serif; color:#707070; font-size:14pt;}
.DAT_SMALL_RED {text-align:left; font-Family:"Arial Narrow", "Nimbus Sans L", "DejaVu LGC Sans Condensed", sans-serif; color:#FF0000; font-size:14pt;}
.DAT_SMALL_GREEN {text-align:left; font-Family:"Arial Narrow", "Nimbus Sans L", "DejaVu LGC Sans Condensed", sans-serif; color:#008000; font-size:14pt;}
.DAT_SMALL_BLUE {text-align:left; font-Family:"Arial Narrow", "Nimbus Sans L", "DejaVu LGC Sans Condensed", sans-serif; color:#0080FF; font-size:14pt;}
.DAT_SMALL_YELLOW {text-align:left; font-Family:"Arial Narrow", "Nimbus Sans L", "DejaVu LGC Sans Condensed", sans-serif; color:#C0C000; font-size:14pt;}
.DAT_SMALL_GREY {font-Family:"Arial Narrow", "Nimbus Sans L", "DejaVu LGC Sans Condensed", sans-serif; color:#707070; font-size:14pt;}
.DAT_SMALL_RED {font-Family:"Arial Narrow", "Nimbus Sans L", "DejaVu LGC Sans Condensed", sans-serif; color:#FF0000; font-size:14pt;}
.DAT_SMALL_GREEN {font-Family:"Arial Narrow", "Nimbus Sans L", "DejaVu LGC Sans Condensed", sans-serif; color:#008000; font-size:14pt;}
.DAT_SMALL_BLUE {font-Family:"Arial Narrow", "Nimbus Sans L", "DejaVu LGC Sans Condensed", sans-serif; color:#0080FF; font-size:14pt;}
.DAT_SMALL_YELLOW {font-Family:"Arial Narrow", "Nimbus Sans L", "DejaVu LGC Sans Condensed", sans-serif; color:#C0C000; font-size:14pt;}
.HEAD_REC {font-Family:Georgia, "DejaVu LGC Serif", "Bitstream Vera Serif", serif; color:#808080; font-size:16pt;}
.HEAD_REC_SMALL {font-Family:Georgia, "DejaVu LGC Serif", "Bitstream Vera Serif", serif; color:#808080; font-size:12pt;}
@ -762,7 +766,7 @@ a:hover img.CENTRE_PHOTO_SHOW
.DAT_REC_SMALL {color:#808080; font-size:14pt; line-height:110%;}
.DAT_REC_SMALL_BOLD {color:#202020; font-size:14pt; line-height:110%;}
.MSJ_AVISO {color:#632921; font-size:12pt;}
.TIT_TBL {color:#4D88A1; font-size:14pt;}
.TIT_TBL {color:#4D88A1; font-size:14pt; font-weight:bold;}
.TIT_CLASSPHOTO {font-Family:Georgia, "DejaVu LGC Serif", "Bitstream Vera Serif", serif; color:#606060; font-size:11pt;}
.CLASSPHOTO {color:#606060; font-size:11pt; line-height:100%; white-space:nowrap;}
@ -918,3 +922,17 @@ a:hover img.CENTRE_PHOTO_SHOW
.CON {color:#B8D070; font-size:9pt; line-height:110%; white-space:nowrap;}
.CON_CRS {color:#398000; font-size:9pt; line-height:110%; white-space:nowrap;}
/*************************** Indicators about courses ************************/
.INDICATORS td,.INDICATORS th
{
border:1px solid silver;
border-collapse:collapse;
padding:1px;
}
.INDICATORS th
{
color:#4D88A1;
font-size:10pt;
font-weight:bold;
}

View File

@ -1007,6 +1007,7 @@ static bool Att_CheckIfSimilarAttEventExists (const char *Field,const char *Valu
void Att_RequestCreatOrEditAttEvent (void)
{
extern const char *The_ClassForm[The_NUM_THEMES];
extern const char *Txt_New_event;
extern const char *Txt_Edit_event;
extern const char *Txt_Teachers_comment;
@ -1084,14 +1085,14 @@ void Att_RequestCreatOrEditAttEvent (void)
/***** Attendance event title *****/
fprintf (Gbl.F.Out,"<tr>"
"<td class=\"TIT_TBL RIGHT_TOP\">"
"<td class=\"%s RIGHT_TOP\">"
"%s:"
"</td>"
"<td class=\"LEFT_TOP\">"
"<input type=\"text\" name=\"Title\" size=\"45\" maxlength=\"%u\" value=\"%s\" />"
"</td>"
"</tr>",
Txt_Title,
The_ClassForm[Gbl.Prefs.Theme],Txt_Title,
Att_MAX_LENGTH_ATTENDANCE_EVENT_TITLE,Att.Title);
/***** Attendance event start and end dates *****/
@ -1100,14 +1101,14 @@ void Att_RequestCreatOrEditAttEvent (void)
StartOrEndTime++)
{
fprintf (Gbl.F.Out,"<tr>"
"<td class=\"TIT_TBL RIGHT_TOP\">"
"<td class=\"%s RIGHT_TOP\">"
"%s:"
"</td>"
"<td class=\"LEFT_TOP\">"
"<table class=\"CELLS_PAD_2\">"
"<tr>"
"<td class=\"LEFT_TOP\">",
Dates[StartOrEndTime]);
The_ClassForm[Gbl.Prefs.Theme],Dates[StartOrEndTime]);
/* Date */
Dat_WriteFormDate (Gbl.Now.Date.Year-1,Gbl.Now.Date.Year+1,
@ -1133,12 +1134,12 @@ void Att_RequestCreatOrEditAttEvent (void)
/***** Visibility of comments *****/
fprintf (Gbl.F.Out,"<tr>"
"<td class=\"TIT_TBL RIGHT_TOP\">"
"<td class=\"%s RIGHT_TOP\">"
"%s:"
"</td>"
"<td class=\"LEFT_TOP\">"
"<select name=\"CommentTchVisible\">",
Txt_Teachers_comment);
The_ClassForm[Gbl.Prefs.Theme],Txt_Teachers_comment);
fprintf (Gbl.F.Out,"<option value=\"N\"");
if (!Att.CommentTchVisible)
@ -1158,12 +1159,12 @@ void Att_RequestCreatOrEditAttEvent (void)
/***** Attendance event description *****/
fprintf (Gbl.F.Out,"<tr>"
"<td class=\"TIT_TBL RIGHT_TOP\">"
"<td class=\"%s RIGHT_TOP\">"
"%s:"
"</td>"
"<td class=\"LEFT_TOP\">"
"<textarea name=\"Txt\" cols=\"60\" rows=\"5\">",
Txt_Description);
The_ClassForm[Gbl.Prefs.Theme],Txt_Description);
if (!ItsANewAttEvent)
fprintf (Gbl.F.Out,"%s",Txt);
fprintf (Gbl.F.Out,"</textarea>"
@ -1192,6 +1193,7 @@ void Att_RequestCreatOrEditAttEvent (void)
static void Att_ShowLstGrpsToEditAttEvent (long AttCod)
{
extern const char *The_ClassForm[The_NUM_THEMES];
extern const char *Txt_Groups;
extern const char *Txt_The_whole_course;
unsigned NumGrpTyp;
@ -1203,11 +1205,11 @@ static void Att_ShowLstGrpsToEditAttEvent (long AttCod)
{
/***** Start table *****/
fprintf (Gbl.F.Out,"<tr>"
"<td class=\"TIT_TBL RIGHT_TOP\">"
"<td class=\"%s RIGHT_TOP\">"
"%s:"
"</td>"
"<td class=\"LEFT_TOP\">",
Txt_Groups);
The_ClassForm[Gbl.Prefs.Theme],Txt_Groups);
Lay_StartRoundFrameTable ("100%",0,NULL);
/***** First row: checkbox to select the whole course *****/

View File

@ -102,7 +102,7 @@ void Ban_SeeBanners (void)
"<a href=\"%s\" title=\"%s\" class=\"DAT\" target=\"_blank\">"
"<img src=\"%s/%s/%s\""
" alt=\"%s\" title=\"%s\""
" style=\"width:120px; height:40px;\"/>"
" class=\"BANNER\" />"
"</a>"
"</td>"
"</tr>",
@ -789,13 +789,13 @@ static void Ban_PutHeadBanners (void)
extern const char *Txt_WWW;
fprintf (Gbl.F.Out,"<tr>"
"<td class=\"BM\"></td>"
"<td class=\"BM\"></td>"
"<td class=\"TIT_TBL RIGHT_MIDDLE\">%s</td>"
"<td class=\"TIT_TBL LEFT_MIDDLE\">%s</td>"
"<td class=\"TIT_TBL LEFT_MIDDLE\">%s</td>"
"<td class=\"TIT_TBL LEFT_MIDDLE\">%s</td>"
"<td class=\"TIT_TBL LEFT_MIDDLE\">%s</td>"
"<th class=\"BM\"></th>"
"<th class=\"BM\"></th>"
"<th class=\"TIT_TBL RIGHT_MIDDLE\">%s</th>"
"<th class=\"TIT_TBL LEFT_MIDDLE\">%s</th>"
"<th class=\"TIT_TBL LEFT_MIDDLE\">%s</th>"
"<th class=\"TIT_TBL LEFT_MIDDLE\">%s</th>"
"<th class=\"TIT_TBL LEFT_MIDDLE\">%s</th>"
"</tr>",
Txt_Code,
Txt_Short_name,
@ -914,7 +914,7 @@ void Ban_WriteMenuWithBanners (void)
" title=\"%s\">"
"<img src=\"%s/%s/%s\""
" alt=\"%s\" title=\"%s\""
" style=\"width:120px; height:40px;\" />"
" class=\"BANNER\" />"
"</a>",
Gbl.FormId,
Gbl.Banners.Lst[NumBan].FullName,

View File

@ -2416,12 +2416,12 @@ unsigned Ctr_ListCtrsFound (const char *Query)
/* Number of centres found */
fprintf (Gbl.F.Out,"<tr>"
"<td colspan=\"7\" class=\"TIT_TBL CENTER_MIDDLE\">");
"<th colspan=\"7\" class=\"TIT_TBL CENTER_MIDDLE\">");
if (NumCtrs == 1)
fprintf (Gbl.F.Out,"1 %s",Txt_centre);
else
fprintf (Gbl.F.Out,"%u %s",NumCtrs,Txt_centres);
fprintf (Gbl.F.Out,"</td>"
fprintf (Gbl.F.Out,"</th>"
"</tr>");
Ctr_PutHeadCentresForSeeing (false); // Order not selectable

View File

@ -103,11 +103,12 @@
/****************************** Public constants *****************************/
/*****************************************************************************/
#define Log_PLATFORM_VERSION "SWAD 14.126.2 (2015/09/05)"
#define Log_PLATFORM_VERSION "SWAD 14.127 (2015/09/05)"
// Number of lines (includes comments but not blank lines) has been got with the following command:
// nl swad*.c swad*.h css/swad*.css py/swad*.py js/swad*.js soap/swad*.h sql/swad*.sql | tail -1
/*
Version 14.127: Sep 05, 2015 Changes in styles. (184273 lines)
Version 14.126.2: Sep 05, 2015 Changes in styles. (184250 lines)
Version 14.126.1: Sep 05, 2015 Changes in styles. (184213 lines)
Version 14.126: Sep 04, 2015 Changes in styles. (184213 lines)

View File

@ -256,12 +256,12 @@ void Cht_ShowListOfChatRoomsWithUsrs (void)
/***** Table start *****/
Lay_StartRoundFrameTable (NULL,2,Txt_Rooms_with_users);
fprintf (Gbl.F.Out,"<tr>"
"<td class=\"TIT_TBL CENTER_MIDDLE LIGHT_BLUE\">"
"<th class=\"TIT_TBL CENTER_MIDDLE LIGHT_BLUE\">"
"%s"
"</td>"
"<td class=\"TIT_TBL LEFT_MIDDLE LIGHT_BLUE\">"
"</th>"
"<th class=\"TIT_TBL LEFT_MIDDLE LIGHT_BLUE\">"
"%s"
"</td>"
"</th>"
"</tr>",
Txt_CHAT_Room_code,
Txt_No_of_users);

View File

@ -3178,12 +3178,12 @@ unsigned Crs_ListCrssFound (const char *Query)
/* Number of courses found */
fprintf (Gbl.F.Out,"<tr>"
"<td colspan=\"7\" class=\"TIT_TBL CENTER_MIDDLE\">");
"<th colspan=\"7\" class=\"TIT_TBL CENTER_MIDDLE\">");
if (NumCrss == 1)
fprintf (Gbl.F.Out,"1 %s",Txt_course);
else
fprintf (Gbl.F.Out,"%u %s",NumCrss,Txt_courses);
fprintf (Gbl.F.Out,"</td>"
fprintf (Gbl.F.Out,"</th>"
"</tr>");
/* Heading row */

View File

@ -3927,8 +3927,7 @@ void Deg_GetAndWriteDegreesAdminBy (long UsrCod,unsigned ColSpan)
"<td class=\"RIGHT_TOP COLOR%u\">"
"<img src=\"%s/%s20x20.gif\""
" alt=\"\" title=\"\""
" class=\"RIGHT_TOP\""
" style=\"width:20px; height:20px;\" />"
" class=\"ICON20x20\" />"
"</td>",
Gbl.RowEvenOdd,Gbl.Prefs.IconsURL,
NumRow == NumRows ? "subend" :

View File

@ -106,7 +106,7 @@ void Dpt_SeeDepts (void)
Order <= Dpt_ORDER_BY_NUM_TCHS;
Order++)
{
fprintf (Gbl.F.Out,"<td class=\"TIT_TBL LEFT_MIDDLE\">");
fprintf (Gbl.F.Out,"<th class=\"TIT_TBL LEFT_MIDDLE\">");
Act_FormStart (ActSeeDpt);
Par_PutHiddenParamUnsigned ("Order",(unsigned) Order);
Act_LinkFormSubmit (Txt_DEPARTMENTS_HELP_ORDER[Order],"TIT_TBL");
@ -117,7 +117,7 @@ void Dpt_SeeDepts (void)
fprintf (Gbl.F.Out,"</u>");
fprintf (Gbl.F.Out,"</a>");
Act_FormEnd ();
fprintf (Gbl.F.Out,"</td>");
fprintf (Gbl.F.Out,"</th>");
}
fprintf (Gbl.F.Out,"</tr>");
@ -951,26 +951,26 @@ static void Dpt_PutHeadDepartments (void)
extern const char *Txt_Teachers_ABBREVIATION;
fprintf (Gbl.F.Out,"<tr>"
"<td class=\"TIT_TBL CENTER_MIDDLE\">"
"</td>"
"<td class=\"TIT_TBL RIGHT_MIDDLE\">"
"<th class=\"TIT_TBL CENTER_MIDDLE\">"
"</th>"
"<th class=\"TIT_TBL RIGHT_MIDDLE\">"
"%s"
"</td>"
"<td class=\"TIT_TBL LEFT_MIDDLE\">"
"</th>"
"<th class=\"TIT_TBL LEFT_MIDDLE\">"
"%s"
"</td>"
"<td class=\"TIT_TBL LEFT_MIDDLE\">"
"</th>"
"<th class=\"TIT_TBL LEFT_MIDDLE\">"
"%s"
"</td>"
"<td class=\"TIT_TBL LEFT_MIDDLE\">"
"</th>"
"<th class=\"TIT_TBL LEFT_MIDDLE\">"
"%s"
"</td>"
"<td class=\"TIT_TBL LEFT_MIDDLE\">"
"</th>"
"<th class=\"TIT_TBL LEFT_MIDDLE\">"
"%s"
"</td>"
"<td class=\"TIT_TBL RIGHT_MIDDLE\">"
"</th>"
"<th class=\"TIT_TBL RIGHT_MIDDLE\">"
"%s"
"</td>"
"</th>"
"</tr>",
Txt_Code,
Txt_Institution,

View File

@ -804,7 +804,8 @@ static void Exa_ShowExamAnnouncement (long ExaCod,Exa_tTypeViewExamAnnouncement_
}
fprintf (Gbl.F.Out,"<table class=\"CELLS_PAD_2\""
" style=\"width:100%%; padding:20px;\">");
" style=\"width:100%%;"
" padding:20px 20px 100px 20px;\">"); // Bottom space used for signatures
/***** Institution logo *****/
fprintf (Gbl.F.Out,"<tr>" \
@ -1200,17 +1201,13 @@ static void Exa_ShowExamAnnouncement (long ExaCod,Exa_tTypeViewExamAnnouncement_
"</tr>" \
"</table>");
if (TypeViewExamAnnouncement == Exa_PRINT_VIEW)
/* Bottom space used for signatures */
fprintf (Gbl.F.Out,"<div style=\"height:100px;\"></div>");
/***** End frame *****/
fprintf (Gbl.F.Out,"</td>" \
"</tr>");
if (TypeViewExamAnnouncement == Exa_FORM_VIEW)
Lay_EndRoundFrameTableWithButton ((ExaCod > 0) ? Lay_CONFIRM_BUTTON :
Lay_CREATE_BUTTON,
Txt_Publish_announcement_OF_EXAM);
Lay_CREATE_BUTTON,
Txt_Publish_announcement_OF_EXAM);
else
Lay_EndRoundFrameTable ();

View File

@ -3084,9 +3084,8 @@ static void Brw_FormToChangeCrsGrpZone (void)
fprintf (Gbl.F.Out,"<li class=\"%s\">"
"<img src=\"%s/%s20x20.gif\""
" alt=\"\" title=\"\""
" class=\"LEFT_TOP\""
" style=\"width:20px; height:20px;"
" margin-left:5px;\" />"
" class=\"ICON20x20\""
" style=\"margin-left:5px;\" />"
"<input type=\"radio\" name=\"GrpCod\" value=\"%ld\"",
(IsGroupZone &&
GrpDat.GrpCod == Gbl.CurrentCrs.Grps.GrpCod) ? "BROWSER_TITLE" :
@ -7705,7 +7704,7 @@ static void Brw_PutFormToUploadFilesUsingDropzone (const char *FileNameToShow)
Lay_ShowAlert (Lay_INFO,Gbl.Message);
/***** Form to upload files using the library Dropzone.js *****/
// Use min-height:100px; or other number to stablish the height
// Use min-height:100px; or other number to stablish the height?
Gbl.NumForm++;
fprintf (Gbl.F.Out,"<form method=\"post\" action=\"%s/%s\""
" class=\"dropzone\""
@ -10847,12 +10846,12 @@ unsigned Brw_ListDocsFound (const char *Query,const char *Title)
/* Write header with number of documents found */
fprintf (Gbl.F.Out,"<tr>"
"<td colspan=\"7\" class=\"TIT_TBL CENTER_MIDDLE\">");
"<th colspan=\"7\" class=\"TIT_TBL CENTER_MIDDLE\">");
if (NumDocs == 1)
fprintf (Gbl.F.Out,"1 %s",Txt_document);
else
fprintf (Gbl.F.Out,"%u %s",NumDocs,Txt_documents);
fprintf (Gbl.F.Out,"</td>"
fprintf (Gbl.F.Out,"</th>"
"</tr>");
/* Heading row */
@ -10899,7 +10898,7 @@ unsigned Brw_ListDocsFound (const char *Query,const char *Title)
/***** Write footer *****/
/* Number of documents not hidden found */
fprintf (Gbl.F.Out,"<tr>"
"<td colspan=\"7\" class=\"TIT_TBL CENTER_MIDDLE\">"
"<th colspan=\"7\" class=\"TIT_TBL CENTER_MIDDLE\">"
"(");
NumDocsHidden = NumDocs - NumDocsNotHidden;
if (NumDocsHidden == 1)
@ -10907,7 +10906,7 @@ unsigned Brw_ListDocsFound (const char *Query,const char *Title)
else
fprintf (Gbl.F.Out,"%u %s",NumDocsHidden,Txt_DOCUM_hidden);
fprintf (Gbl.F.Out,")"
"</td>"
"</th>"
"</tr>");
/* Table end */

View File

@ -387,7 +387,7 @@ static void Fol_ShowFollowedOrFollowed (const struct UsrData *UsrDat)
fprintf (Gbl.F.Out,"<div class=\"ICON_HIGHLIGHT\">"
"<img src=\"%s/unfollow16x16.gif\""
" alt=\"%s\" title=\"%s\""
" style=\"width:16px; height:16px;\" />"
" class=\"ICON16x16\" />"
"</div>"
"</a>",
Gbl.Prefs.IconsURL,
@ -402,8 +402,7 @@ static void Fol_ShowFollowedOrFollowed (const struct UsrData *UsrDat)
fprintf (Gbl.F.Out,"<div class=\"ICON_HIGHLIGHT\">"
"<img src=\"%s/follow16x16.gif\""
" alt=\"%s\" title=\"%s\""
" style=\"width:16px; height:16px;"
" padding:0 2px;\" />"
" class=\"ICON16x16\" />"
"</div>"
"</a>",
Gbl.Prefs.IconsURL,

View File

@ -2487,23 +2487,22 @@ void For_ShowForumThrs (void)
/***** Heading row *****/
fprintf (Gbl.F.Out,"<tr>"
"<td class=\"TIT_TBL LEFT_MIDDLE\""
"<th class=\"TIT_TBL LEFT_MIDDLE\""
" style=\"width:14px;\">"
"&nbsp;"
"</td>"
"<td class=\"TIT_TBL LEFT_MIDDLE\""
"</th>"
"<th class=\"TIT_TBL LEFT_MIDDLE\""
" style=\"width:18px;\">"
"&nbsp;"
"</td>"
"<td class=\"TIT_TBL LEFT_MIDDLE\">"
"</th>"
"<th class=\"TIT_TBL LEFT_MIDDLE\">"
"%s"
"</td>",
"</th>",
Txt_MSG_Subject);
for (Order = For_FIRST_MSG;
Order <= For_LAST_MSG;
Order++)
{
fprintf (Gbl.F.Out,"<td colspan=\"3\" class=\"CENTER_MIDDLE\">");
fprintf (Gbl.F.Out,"<th colspan=\"3\" class=\"CENTER_MIDDLE\">");
Act_FormStart (For_ActionsSeeFor[Gbl.Forum.ForumType]);
Pag_PutHiddenParamPagNum (PaginationThrs.CurrentPage);
For_PutParamWhichForum ();
@ -2517,20 +2516,20 @@ void For_ShowForumThrs (void)
fprintf (Gbl.F.Out,"</u>");
fprintf (Gbl.F.Out,"</a>");
Act_FormEnd ();
fprintf (Gbl.F.Out,"</td>");
fprintf (Gbl.F.Out,"</th>");
}
fprintf (Gbl.F.Out,"<td class=\"TIT_TBL RIGHT_MIDDLE\">"
fprintf (Gbl.F.Out,"<th class=\"TIT_TBL RIGHT_MIDDLE\">"
"%s"
"</td>"
"<td class=\"TIT_TBL RIGHT_MIDDLE\">"
"</th>"
"<th class=\"TIT_TBL RIGHT_MIDDLE\">"
"%s"
"</td>"
"<td class=\"TIT_TBL RIGHT_MIDDLE\">"
"</th>"
"<th class=\"TIT_TBL RIGHT_MIDDLE\">"
"%s"
"</td>"
"<td class=\"TIT_TBL RIGHT_MIDDLE\">"
"</th>"
"<th class=\"TIT_TBL RIGHT_MIDDLE\">"
"%s"
"</td>"
"</th>"
"</tr>",
Txt_No_BR_msgs,
Txt_Unread_BR_msgs,

View File

@ -1927,19 +1927,19 @@ static void Grp_WriteGrpHead (struct GroupType *GrpTyp)
/***** Head row with title of each column *****/
fprintf (Gbl.F.Out,"<tr>"
"<td colspan=\"2\"></td>"
"<td class=\"TIT_TBL LEFT_MIDDLE\">"
"<th colspan=\"2\"></th>"
"<th class=\"TIT_TBL LEFT_MIDDLE\">"
"%s"
"</td>"
"<td class=\"TIT_TBL CENTER_MIDDLE\">"
"</th>"
"<th class=\"TIT_TBL CENTER_MIDDLE\">"
"%s"
"</td>"
"<td class=\"TIT_TBL CENTER_MIDDLE\">"
"</th>"
"<th class=\"TIT_TBL CENTER_MIDDLE\">"
"%s"
"</td>"
"<td class=\"TIT_TBL CENTER_MIDDLE\">"
"</th>"
"<th class=\"TIT_TBL CENTER_MIDDLE\">"
"%s"
"</td>"
"</th>"
"</tr>",
Txt_Group,
Txt_Max_BR_students,

View File

@ -102,7 +102,7 @@ void Hld_SeeHolidays (void)
Order <= Hld_ORDER_BY_START_DATE;
Order++)
{
fprintf (Gbl.F.Out,"<td class=\"TIT_TBL CENTER_MIDDLE\">");
fprintf (Gbl.F.Out,"<th class=\"TIT_TBL CENTER_MIDDLE\">");
Act_FormStart (ActSeeHld);
Par_PutHiddenParamUnsigned ("Order",(unsigned) Order);
Act_LinkFormSubmit (Txt_HOLIDAYS_HELP_ORDER[Order],"TIT_TBL");
@ -113,14 +113,14 @@ void Hld_SeeHolidays (void)
fprintf (Gbl.F.Out,"</u>");
fprintf (Gbl.F.Out,"</a>");
Act_FormEnd ();
fprintf (Gbl.F.Out,"</td>");
fprintf (Gbl.F.Out,"</th>");
}
fprintf (Gbl.F.Out,"<td class=\"TIT_TBL CENTER_MIDDLE\">"
fprintf (Gbl.F.Out,"<th class=\"TIT_TBL CENTER_MIDDLE\">"
"&nbsp;%s&nbsp;"
"</td>"
"<td class=\"TIT_TBL CENTER_MIDDLE\">"
"</th>"
"<th class=\"TIT_TBL CENTER_MIDDLE\">"
"%s"
"</td>"
"</th>"
"</tr>",
Txt_End_date,
Txt_Holiday);
@ -912,21 +912,21 @@ static void Hld_PutFormToCreateHoliday (void)
/***** Write heading *****/
fprintf (Gbl.F.Out,"<tr>"
"<td class=\"TIT_TBL LEFT_MIDDLE\">"
"<th class=\"TIT_TBL LEFT_MIDDLE\">"
"%s"
"</td>"
"<td class=\"TIT_TBL LEFT_MIDDLE\">"
"</th>"
"<th class=\"TIT_TBL LEFT_MIDDLE\">"
"%s"
"</td>"
"<td class=\"TIT_TBL LEFT_MIDDLE\">"
"</th>"
"<th class=\"TIT_TBL LEFT_MIDDLE\">"
"%s"
"</td>"
"<td class=\"TIT_TBL LEFT_MIDDLE\">"
"</th>"
"<th class=\"TIT_TBL LEFT_MIDDLE\">"
"%s"
"</td>"
"<td class=\"TIT_TBL LEFT_MIDDLE\">"
"</th>"
"<th class=\"TIT_TBL LEFT_MIDDLE\">"
"%s"
"</td>"
"</th>"
"</tr>",
Txt_Place,
Txt_Type,
@ -1014,25 +1014,25 @@ static void Hld_PutHeadHolidays (void)
extern const char *Txt_Holiday;
fprintf (Gbl.F.Out,"<tr>"
"<td class=\"BM\"></td>"
"<td class=\"TIT_TBL RIGHT_MIDDLE\">"
"<th class=\"BM\"></th>"
"<th class=\"TIT_TBL RIGHT_MIDDLE\">"
"%s"
"</td>"
"<td class=\"TIT_TBL LEFT_MIDDLE\">"
"</th>"
"<th class=\"TIT_TBL LEFT_MIDDLE\">"
"%s"
"</td>"
"<td class=\"TIT_TBL LEFT_MIDDLE\">"
"</th>"
"<th class=\"TIT_TBL LEFT_MIDDLE\">"
"%s"
"</td>"
"<td class=\"TIT_TBL LEFT_MIDDLE\">"
"</th>"
"<th class=\"TIT_TBL LEFT_MIDDLE\">"
"%s"
"</td>"
"<td class=\"TIT_TBL LEFT_MIDDLE\">"
"</th>"
"<th class=\"TIT_TBL LEFT_MIDDLE\">"
"%s"
"</td>"
"<td class=\"TIT_TBL LEFT_MIDDLE\">"
"</th>"
"<th class=\"TIT_TBL LEFT_MIDDLE\">"
"%s"
"</td>"
"</th>"
"</tr>",
Txt_Code,
Txt_Place,

View File

@ -545,7 +545,7 @@ static unsigned Imp_GetAndListImpGrpsAndStdsFromDB (bool ItsAFormToRegRemStds)
GrpCod,ExternalCrsCod);
/* Write degree, course and group */
fprintf (Gbl.F.Out,"<td colspan=\"2\" class=\"TIT_TBL LEFT_TOP\">"
fprintf (Gbl.F.Out,"<td colspan=\"2\" class=\"DAT LEFT_TOP\">"
"%s<br />%s %s<br />%s %s (%s)"
"</td>" \
"</tr>",

View File

@ -541,85 +541,80 @@ static void Ind_ShowTableOfCoursesWithIndicators (Ind_IndicatorsLayout_t Indicat
struct Ind_IndicatorsCrs Indicators;
/***** Table start *****/
fprintf (Gbl.F.Out,"<table class=\"CELLS_PAD_1\""
" style=\"margin:0 auto; border-spacing:1px;\">");
fprintf (Gbl.F.Out,"<table class=\"INDICATORS\">");
/***** Write table heading *****/
switch (IndicatorsLayout)
{
case Ind_INDICATORS_BRIEF:
fprintf (Gbl.F.Out,"<tr>"
"<td rowspan=\"3\" class=\"TIT_TBL LEFT_MIDDLE COLOR0\">"
"<th rowspan=\"3\" class=\"LEFT_MIDDLE COLOR0\">"
"%s"
"</td>"
"<td rowspan=\"3\" class=\"TIT_TBL LEFT_MIDDLE COLOR0\">"
"</th>"
"<th rowspan=\"3\" class=\"LEFT_MIDDLE COLOR0\">"
"%s"
"</td>"
"<td rowspan=\"3\" class=\"TIT_TBL LEFT_MIDDLE COLOR0\">"
"</th>"
"<th rowspan=\"3\" class=\"LEFT_MIDDLE COLOR0\">"
"%s"
"</td>"
"<td rowspan=\"3\" class=\"TIT_TBL LEFT_MIDDLE COLOR0\">"
"</th>"
"<th rowspan=\"3\" class=\"LEFT_MIDDLE COLOR0\">"
"%s"
"</td>"
"<td colspan=\"11\" class=\"TIT_TBL CENTER_MIDDLE COLOR0\">"
"</th>"
"<th colspan=\"11\" class=\"CENTER_MIDDLE COLOR0\">"
"%s"
"</td>"
"</th>"
"</tr>"
"<tr>"
"<td rowspan=\"2\" class=\"TIT_TBL CENTER_TOP COLOR0\">"
"<th rowspan=\"2\" class=\"CENTER_TOP COLOR0\">"
"%s"
"</td>"
"<td colspan=\"2\" class=\"TIT_TBL CENTER_TOP COLOR0\">"
"</th>"
"<th colspan=\"2\" class=\"CENTER_TOP COLOR0\">"
"(A) %s"
"</td>"
"<td colspan=\"2\" class=\"TIT_TBL CENTER_TOP COLOR0\">"
"</th>"
"<th colspan=\"2\" class=\"CENTER_TOP COLOR0\">"
"(B) %s"
"</td>"
"<td colspan=\"2\" class=\"TIT_TBL CENTER_TOP COLOR0\">"
"</th>"
"<th colspan=\"2\" class=\"CENTER_TOP COLOR0\">"
"(C) %s"
"</td>"
"<td colspan=\"2\" class=\"TIT_TBL CENTER_TOP COLOR0\">"
"</th>"
"<th colspan=\"2\" class=\"CENTER_TOP COLOR0\">"
"(D) %s"
"</td>"
"<td colspan=\"2\" class=\"TIT_TBL CENTER_TOP COLOR0\">"
"</th>"
"<th colspan=\"2\" class=\"CENTER_TOP COLOR0\">"
"(E) %s"
"</td>"
"</th>"
"</tr>"
"<tr>"
"<td class=\"TIT_TBL CENTER_MIDDLE COLOR0\">"
"<th class=\"CENTER_MIDDLE COLOR0\">"
"%s"
"</td>"
"<td class=\"TIT_TBL CENTER_MIDDLE COLOR0\">"
"</th>"
"<th class=\"CENTER_MIDDLE COLOR0\">"
"%s"
"</td>"
"<td class=\"TIT_TBL CENTER_MIDDLE COLOR0\">"
"</th>"
"<th class=\"CENTER_MIDDLE COLOR0\">"
"%s"
"</td>"
"<td class=\"TIT_TBL CENTER_MIDDLE COLOR0\">"
"</th>"
"<th class=\"CENTER_MIDDLE COLOR0\">"
"%s"
"</td>"
"<td class=\"TIT_TBL CENTER_MIDDLE COLOR0\">"
"</th>"
"<th class=\"CENTER_MIDDLE COLOR0\">"
"%s"
"</td>"
"<td class=\"TIT_TBL CENTER_MIDDLE COLOR0\">"
"</th>"
"<th class=\"CENTER_MIDDLE COLOR0\">"
"%s"
"</td>"
"<td class=\"TIT_TBL CENTER_MIDDLE COLOR0\">"
"</th>"
"<th class=\"CENTER_MIDDLE COLOR0\">"
"%s"
"</td>"
"<td class=\"TIT_TBL CENTER_MIDDLE COLOR0\">"
"</th>"
"<th class=\"CENTER_MIDDLE COLOR0\">"
"%s"
"</td>"
"<td class=\"TIT_TBL CENTER_MIDDLE COLOR0\">"
"</th>"
"<th class=\"CENTER_MIDDLE COLOR0\">"
"%s"
"</td>"
"<td class=\"TIT_TBL CENTER_MIDDLE COLOR0\">"
"</th>"
"<th class=\"CENTER_MIDDLE COLOR0\">"
"%s"
"</td>"
"</th>"
"</tr>",
Txt_Degree,
Txt_Course,
@ -651,122 +646,118 @@ static void Ind_ShowTableOfCoursesWithIndicators (Ind_IndicatorsLayout_t Indicat
break;
case Ind_INDICATORS_FULL:
fprintf (Gbl.F.Out,"<tr>"
"<td rowspan=\"3\" class=\"TIT_TBL LEFT_MIDDLE COLOR0\">"
"<th rowspan=\"3\" class=\"LEFT_MIDDLE COLOR0\">"
"%s"
"</td>"
"<td rowspan=\"3\" class=\"TIT_TBL LEFT_MIDDLE COLOR0\">"
"</th>"
"<th rowspan=\"3\" class=\"LEFT_MIDDLE COLOR0\">"
"%s"
"</td>"
"<td rowspan=\"3\" class=\"TIT_TBL LEFT_MIDDLE COLOR0\">"
"</th>"
"<th rowspan=\"3\" class=\"LEFT_MIDDLE COLOR0\">"
"%s"
"</td>"
"<td rowspan=\"3\" class=\"TIT_TBL LEFT_MIDDLE COLOR0\">"
"</th>"
"<th rowspan=\"3\" class=\"LEFT_MIDDLE COLOR0\">"
"%s"
"</td>"
"<td rowspan=\"3\" class=\"TIT_TBL LEFT_MIDDLE COLOR0\">"
"</th>"
"<th rowspan=\"3\" class=\"LEFT_MIDDLE COLOR0\">"
"%s"
"</td>"
"<td rowspan=\"3\" class=\"TIT_TBL LEFT_MIDDLE COLOR0\">"
"</th>"
"<th rowspan=\"3\" class=\"LEFT_MIDDLE COLOR0\">"
"%s"
"</td>"
"<td colspan=\"24\" class=\"TIT_TBL CENTER_MIDDLE COLOR0\">"
"</th>"
"<th colspan=\"24\" class=\"CENTER_MIDDLE COLOR0\">"
"%s"
"</td>"
"</th>"
"</tr>"
"<tr>"
"<td rowspan=\"2\" class=\"TIT_TBL CENTER_TOP COLOR0\">"
"<th rowspan=\"2\" class=\"CENTER_TOP COLOR0\">"
"%s"
"</td>"
"<td colspan=\"5\" class=\"TIT_TBL CENTER_TOP COLOR0\">"
"</th>"
"<th colspan=\"5\" class=\"CENTER_TOP COLOR0\">"
"(A) %s"
"</td>"
"<td colspan=\"5\" class=\"TIT_TBL CENTER_TOP COLOR0\">"
"</th>"
"<th colspan=\"5\" class=\"CENTER_TOP COLOR0\">"
"(B) %s"
"</td>"
"<td colspan=\"5\" class=\"TIT_TBL CENTER_TOP COLOR0\">"
"</th>"
"<th colspan=\"5\" class=\"CENTER_TOP COLOR0\">"
"(C) %s"
"</td>"
"<td colspan=\"4\" class=\"TIT_TBL CENTER_TOP COLOR0\">"
"</th>"
"<th colspan=\"4\" class=\"CENTER_TOP COLOR0\">"
"(D) %s"
"</td>"
"<td colspan=\"4\" class=\"TIT_TBL CENTER_TOP COLOR0\">"
"</th>"
"<th colspan=\"4\" class=\"CENTER_TOP COLOR0\">"
"(E) %s"
"</td>"
"</th>"
"</tr>"
"<tr>"
"<td class=\"TIT_TBL CENTER_MIDDLE COLOR0\">"
"<th class=\"CENTER_MIDDLE COLOR0\">"
"%s"
"</td>"
"<td class=\"TIT_TBL CENTER_MIDDLE COLOR0\">"
"</th>"
"<th class=\"CENTER_MIDDLE COLOR0\">"
"%s"
"</td>"
"<td class=\"TIT_TBL LEFT_MIDDLE COLOR0\">"
"</th>"
"<th class=\"LEFT_MIDDLE COLOR0\">"
"%s"
"</td>"
"<td class=\"TIT_TBL LEFT_MIDDLE COLOR0\">"
"</th>"
"<th class=\"LEFT_MIDDLE COLOR0\">"
"%s"
"</td>"
"<td class=\"TIT_TBL LEFT_MIDDLE COLOR0\">"
"</th>"
"<th class=\"LEFT_MIDDLE COLOR0\">"
"%s"
"</td>"
"<td class=\"TIT_TBL CENTER_MIDDLE COLOR0\">"
"</th>"
"<th class=\"CENTER_MIDDLE COLOR0\">"
"%s"
"</td>"
"<td class=\"TIT_TBL CENTER_MIDDLE COLOR0\">"
"</th>"
"<th class=\"CENTER_MIDDLE COLOR0\">"
"%s"
"</td>"
"<td class=\"TIT_TBL RIGHT_MIDDLE COLOR0\">"
"</th>"
"<th class=\"RIGHT_MIDDLE COLOR0\">"
"%s"
"</td>"
"<td class=\"TIT_TBL RIGHT_MIDDLE COLOR0\">"
"</th>"
"<th class=\"RIGHT_MIDDLE COLOR0\">"
"%s"
"</td>"
"<td class=\"TIT_TBL RIGHT_MIDDLE COLOR0\">"
"</th>"
"<th class=\"RIGHT_MIDDLE COLOR0\">"
"%s"
"</td>"
"<td class=\"TIT_TBL CENTER_MIDDLE COLOR0\">"
"</th>"
"<th class=\"CENTER_MIDDLE COLOR0\">"
"%s"
"</td>"
"<td class=\"TIT_TBL CENTER_MIDDLE COLOR0\">"
"</th>"
"<th class=\"CENTER_MIDDLE COLOR0\">"
"%s"
"</td>"
"<td class=\"TIT_TBL RIGHT_MIDDLE COLOR0\">"
"</th>"
"<th class=\"RIGHT_MIDDLE COLOR0\">"
"%s"
"</td>"
"<td class=\"TIT_TBL RIGHT_MIDDLE COLOR0\">"
"</th>"
"<th class=\"RIGHT_MIDDLE COLOR0\">"
"%s"
"</td>"
"<td class=\"TIT_TBL RIGHT_MIDDLE COLOR0\">"
"</th>"
"<th class=\"RIGHT_MIDDLE COLOR0\">"
"%s"
"</td>"
"<td class=\"TIT_TBL CENTER_MIDDLE COLOR0\">"
"</th>"
"<th class=\"CENTER_MIDDLE COLOR0\">"
"%s"
"</td>"
"<td class=\"TIT_TBL CENTER_MIDDLE COLOR0\">"
"</th>"
"<th class=\"CENTER_MIDDLE COLOR0\">"
"%s"
"</td>"
"<td class=\"TIT_TBL RIGHT_MIDDLE COLOR0\">"
"</th>"
"<th class=\"RIGHT_MIDDLE COLOR0\">"
"%s"
"</td>"
"<td class=\"TIT_TBL RIGHT_MIDDLE COLOR0\">"
"</th>"
"<th class=\"RIGHT_MIDDLE COLOR0\">"
"%s"
"</td>"
"<td class=\"TIT_TBL CENTER_MIDDLE COLOR0\">"
"</th>"
"<th class=\"CENTER_MIDDLE COLOR0\">"
"%s"
"</td>"
"<td class=\"TIT_TBL CENTER_MIDDLE COLOR0\">"
"</th>"
"<th class=\"CENTER_MIDDLE COLOR0\">"
"%s"
"</td>"
"<td class=\"TIT_TBL LEFT_MIDDLE COLOR0\">"
"</th>"
"<th class=\"LEFT_MIDDLE COLOR0\">"
"%s"
"</td>"
"<td class=\"TIT_TBL LEFT_MIDDLE COLOR0\">"
"</th>"
"<th class=\"LEFT_MIDDLE COLOR0\">"
"%s"
"</td>"
"</th>"
"</tr>",
Txt_Degree,
Txt_Course,

View File

@ -2083,12 +2083,12 @@ unsigned Ins_ListInssFound (const char *Query)
/* Number of institutions found */
fprintf (Gbl.F.Out,"<tr>"
"<td colspan=\"10\" class=\"TIT_TBL CENTER_MIDDLE\">");
"<th colspan=\"10\" class=\"TIT_TBL CENTER_MIDDLE\">");
if (NumInss == 1)
fprintf (Gbl.F.Out,"1 %s",Txt_institution);
else
fprintf (Gbl.F.Out,"%u %s",NumInss,Txt_institutions);
fprintf (Gbl.F.Out,"</td>"
fprintf (Gbl.F.Out,"</th>"
"</tr>");
Ins_PutHeadInstitutionsForSeeing (false); // Order not selectable

View File

@ -1691,8 +1691,7 @@ void Lay_IndentDependingOnLevel (unsigned Level,bool IsLastItemInLevel[])
i++)
fprintf (Gbl.F.Out,"<img src=\"%s/%s20x20.gif\""
" alt=\"\" title=\"\""
" class=\"LEFT_MIDDLE\""
" style=\"width:20px; height:20px;\" />",
" class=\"ICON20x20\" />",
Gbl.Prefs.IconsURL,
IsLastItemInLevel[i] ? "tr" :
"subleft");
@ -1700,8 +1699,7 @@ void Lay_IndentDependingOnLevel (unsigned Level,bool IsLastItemInLevel[])
/***** Level *****/
fprintf (Gbl.F.Out,"<img src=\"%s/%s20x20.gif\""
" alt=\"\" title=\"\""
" class=\"LEFT_MIDDLE\""
" style=\"width:20px; height:20px;\" />",
" class=\"ICON20x20\" />",
Gbl.Prefs.IconsURL,
IsLastItemInLevel[Level] ? "subend" :
"submid");

View File

@ -672,19 +672,19 @@ static void Lnk_PutHeadLinks (void)
extern const char *Txt_WWW;
fprintf (Gbl.F.Out,"<tr>"
"<td class=\"BM\"></td>"
"<td class=\"TIT_TBL RIGHT_MIDDLE\">"
"<th class=\"BM\"></th>"
"<th class=\"TIT_TBL RIGHT_MIDDLE\">"
"%s"
"</td>"
"<td class=\"TIT_TBL LEFT_MIDDLE\">"
"</th>"
"<th class=\"TIT_TBL LEFT_MIDDLE\">"
"%s"
"</td>"
"<td class=\"TIT_TBL LEFT_MIDDLE\">"
"</th>"
"<th class=\"TIT_TBL LEFT_MIDDLE\">"
"%s"
"</td>"
"<td class=\"TIT_TBL LEFT_MIDDLE\">"
"</th>"
"<th class=\"TIT_TBL LEFT_MIDDLE\">"
"%s"
"</td>"
"</th>"
"</tr>",
Txt_Code,
Txt_Short_name,

View File

@ -107,7 +107,7 @@ void Mai_SeeMailDomains (void)
Order <= Mai_ORDER_BY_USERS;
Order++)
{
fprintf (Gbl.F.Out,"<td class=\"TIT_TBL LEFT_MIDDLE\">");
fprintf (Gbl.F.Out,"<th class=\"TIT_TBL LEFT_MIDDLE\">");
Act_FormStart (ActSeeMai);
Par_PutHiddenParamUnsigned ("Order",(unsigned) Order);
Act_LinkFormSubmit (Txt_MAIL_DOMAIN_HELP_ORDER[Order],"TIT_TBL");
@ -118,7 +118,7 @@ void Mai_SeeMailDomains (void)
fprintf (Gbl.F.Out,"</u>");
fprintf (Gbl.F.Out,"</a>");
Act_FormEnd ();
fprintf (Gbl.F.Out,"</td>");
fprintf (Gbl.F.Out,"</th>");
}
fprintf (Gbl.F.Out,"</tr>");
@ -642,12 +642,12 @@ static void Mai_PutFormToCreateMailDomain (void)
/***** Write heading *****/
fprintf (Gbl.F.Out,"<tr>"
"<td class=\"TIT_TBL LEFT_MIDDLE\">"
"<th class=\"TIT_TBL LEFT_MIDDLE\">"
"%s"
"</td>"
"<td class=\"TIT_TBL LEFT_MIDDLE\">"
"</th>"
"<th class=\"TIT_TBL LEFT_MIDDLE\">"
"%s"
"</td>"
"</th>"
"</tr>",
Txt_MAIL_DOMAIN_ORDER[Mai_ORDER_BY_DOMAIN],
Txt_MAIL_DOMAIN_ORDER[Mai_ORDER_BY_INFO ]);
@ -685,19 +685,19 @@ static void Mai_PutHeadMailDomains (void)
extern const char *Txt_MAIL_DOMAIN_ORDER[3];
fprintf (Gbl.F.Out,"<tr>"
"<td class=\"BM\"></td>"
"<td class=\"TIT_TBL RIGHT_MIDDLE\">"
"<th class=\"BM\"></th>"
"<th class=\"TIT_TBL RIGHT_MIDDLE\">"
"%s"
"</td>"
"<td class=\"TIT_TBL LEFT_MIDDLE\">"
"</th>"
"<th class=\"TIT_TBL LEFT_MIDDLE\">"
"%s"
"</td>"
"<td class=\"TIT_TBL LEFT_MIDDLE\">"
"</th>"
"<th class=\"TIT_TBL LEFT_MIDDLE\">"
"%s"
"</td>"
"<td class=\"TIT_TBL RIGHT_MIDDLE\">"
"</th>"
"<th class=\"TIT_TBL RIGHT_MIDDLE\">"
"%s"
"</td>"
"</th>"
"</tr>",
Txt_Code,
Txt_MAIL_DOMAIN_ORDER[Mai_ORDER_BY_DOMAIN],

View File

@ -384,7 +384,7 @@ void Msg_WriteFormUsrsIDsOrNicksOtherRecipients (bool IsReply)
/***** Textarea with users' @nicknames, e-mails or IDs *****/
fprintf (Gbl.F.Out,"<tr>"
"<td class=\"TIT_TBL LEFT_MIDDLE LIGHT_BLUE\"");
"<th class=\"TIT_TBL LEFT_MIDDLE LIGHT_BLUE\"");
if (Gbl.Usrs.Me.IBelongToCurrentCrs || // If there is a course selected and I belong to it
Gbl.Usrs.Me.LoggedRole == Rol_SYS_ADM)
fprintf (Gbl.F.Out," colspan=\"%u\">%s:",
@ -393,7 +393,7 @@ void Msg_WriteFormUsrsIDsOrNicksOtherRecipients (bool IsReply)
fprintf (Gbl.F.Out," >%s:",
Txt_Recipients);
fprintf (Gbl.F.Out,"<span class=\"DAT\"> (%s)</span>"
"</td>"
"</th>"
"</tr>"
"<tr>"
"<td",

View File

@ -203,7 +203,7 @@ static void Net_ShowAWebOrSocialNet (const char *URL,
"<a href=\"%s\" target=\"_blank\" title=\"%s\">"
"<img src=\"%s/%s16x16.gif\""
" alt=\"%s\" title=\"%s\""
" style=\"width:16px; height:16px; margin:0 1px;\" />"
" class=\"ICON16x16\" />"
"</a>"
"</div>",
URL,Title,
@ -261,9 +261,8 @@ void Net_ShowFormMyWebsAndSocialNets (void)
"<td class=\"%s LEFT_MIDDLE\">"
"<img src=\"%s/%s16x16.gif\""
" alt=\"%s\" title=\"%s\""
" class=\"LEFT_MIDDLE\""
" style=\"width:16px; height:16px;"
" margin-right:10px;\" />"
" class=\"ICON16x16\""
" style=\"margin-right:10px;\" />"
"%s:</td>"
"<td class=\"LEFT_MIDDLE\" style=\"width:%upx;\">",
The_ClassForm[Gbl.Prefs.Theme],
@ -480,9 +479,8 @@ void Net_ShowWebAndSocialNetworksStats (void)
"<td class=\"DAT LEFT_MIDDLE\">"
"<img src=\"%s/%s16x16.gif\""
" alt=\"%s\" title=\"%s\""
" class=\"LEFT_MIDDLE\""
" style=\"width:16px; height:16px;"
" margin:0 2px;\" />"
" class=\"ICON16x16\""
" style=\"margin-right:10px;\" />"
"%s</td>"
"<td class=\"DAT RIGHT_MIDDLE\">"
"%u"

View File

@ -1828,8 +1828,7 @@ void Ntf_WriteNumberOfNewNtfs (void)
fprintf (Gbl.F.Out,"<br />"
"<img src=\"%s/bell16x16.png\""
" alt=\"%s\" title=\"%s\""
" class=\"LEFT_MIDDLE\""
" style=\"width:16px; height:16px;\" /> ",
" class=\"ICON16x16\" /> ",
Gbl.Prefs.PathTheme,
Txt_Notifications,
Txt_Notifications);

View File

@ -1957,20 +1957,20 @@ static void Pho_ShowOrPrintListDegrees (Pho_AvgPhotoSeeOrPrint_t SeeOrPrint)
/***** Write heading *****/
fprintf (Gbl.F.Out,"<tr>"
"<td class=\"TIT_TBL RIGHT_TOP\">"
"<th class=\"TIT_TBL RIGHT_TOP\">"
"%s"
"</td>"
"<td class=\"TIT_TBL CENTER_TOP\">"
"</th>"
"<th class=\"TIT_TBL CENTER_TOP\">"
"%s"
"</td>",
"</th>",
Txt_No_INDEX,
Txt_Degree);
for (Sex = (Usr_Sex_t) 0;
Sex < Usr_NUM_SEXS;
Sex++)
fprintf (Gbl.F.Out,"<td class=\"TIT_TBL CENTER_TOP\">"
fprintf (Gbl.F.Out,"<th class=\"TIT_TBL CENTER_TOP\">"
"%s"
"</td>",
"</th>",
Txt_SEX_PLURAL_Abc[Sex]);
fprintf (Gbl.F.Out,"</tr>");

View File

@ -103,7 +103,7 @@ void Plc_SeePlaces (void)
Order <= Plc_ORDER_BY_NUM_CTRS;
Order++)
{
fprintf (Gbl.F.Out,"<td class=\"TIT_TBL LEFT_MIDDLE\">");
fprintf (Gbl.F.Out,"<th class=\"TIT_TBL LEFT_MIDDLE\">");
Act_FormStart (ActSeePlc);
Par_PutHiddenParamUnsigned ("Order",(unsigned) Order);
Act_LinkFormSubmit (Txt_PLACES_HELP_ORDER[Order],"TIT_TBL");
@ -114,7 +114,7 @@ void Plc_SeePlaces (void)
fprintf (Gbl.F.Out,"</u>");
fprintf (Gbl.F.Out,"</a>");
Act_FormEnd ();
fprintf (Gbl.F.Out,"</td>");
fprintf (Gbl.F.Out,"</th>");
}
fprintf (Gbl.F.Out,"</tr>");
@ -679,12 +679,12 @@ static void Plc_PutFormToCreatePlace (void)
/***** Write heading *****/
fprintf (Gbl.F.Out,"<tr>"
"<td class=\"TIT_TBL LEFT_MIDDLE\">"
"<th class=\"TIT_TBL LEFT_MIDDLE\">"
"%s"
"</td>"
"<td class=\"TIT_TBL LEFT_MIDDLE\">"
"</th>"
"<th class=\"TIT_TBL LEFT_MIDDLE\">"
"%s"
"</td>"
"</th>"
"</tr>",
Txt_Short_name,
Txt_Full_name);
@ -723,19 +723,19 @@ static void Plc_PutHeadPlaces (void)
extern const char *Txt_Centres;
fprintf (Gbl.F.Out,"<tr>"
"<td class=\"BM\"></td>"
"<td class=\"TIT_TBL RIGHT_MIDDLE\">"
"<th class=\"BM\"></th>"
"<th class=\"TIT_TBL RIGHT_MIDDLE\">"
"%s"
"</td>"
"<td class=\"TIT_TBL LEFT_MIDDLE\">"
"</th>"
"<th class=\"TIT_TBL LEFT_MIDDLE\">"
"%s"
"</td>"
"<td class=\"TIT_TBL LEFT_MIDDLE\">"
"</th>"
"<th class=\"TIT_TBL LEFT_MIDDLE\">"
"%s"
"</td>"
"<td class=\"TIT_TBL RIGHT_MIDDLE\">"
"</th>"
"<th class=\"TIT_TBL RIGHT_MIDDLE\">"
"%s"
"</td>"
"</th>"
"</tr>",
Txt_Code,
Txt_Short_name,

View File

@ -99,11 +99,11 @@ void Plg_ListPlugins (void)
/***** Write table heading *****/
fprintf (Gbl.F.Out,"<tr>"
"<td style=\"width:32px;\">"
"</td>"
"<td class=\"TIT_TBL LEFT_MIDDLE\">"
"<th style=\"width:32px;\">"
"</th>"
"<th class=\"TIT_TBL LEFT_MIDDLE\">"
"%s"
"</td>"
"</th>"
"</tr>",
Txt_Plugin);
@ -117,12 +117,13 @@ void Plg_ListPlugins (void)
sprintf (URL,"%s%s",Plg->URL,Gbl.Session.Id);
/* Plugin logo */
// TODO: Change plugin icons to 32x32
fprintf (Gbl.F.Out,"<tr>"
"<td class=\"DAT LEFT_MIDDLE\" style=\"width:32px;\">"
"<td class=\"DAT LEFT_MIDDLE\" style=\"width:36px;\">"
"<a href=\"%s\" title=\"%s\" class=\"DAT\" target=\"_blank\">"
"<img src=\"%s/%s/%s24x24.gif\""
" alt=\"%s\" title=\"%s\""
" style=\"width:24px; height:24px;\" />"
" class=\"ICON32x32\" />"
"</a>"
"</td>"
"<td class=\"DAT LEFT_MIDDLE\">"
@ -381,10 +382,11 @@ static void Plg_ListPluginsForEdition (void)
Plg->PlgCod);
/* Plugin logo */
fprintf (Gbl.F.Out,"<td class=\"CENTER_MIDDLE\" style=\"width:28px;\">"
// TODO: Change plugin icons to 32x32
fprintf (Gbl.F.Out,"<td class=\"CENTER_MIDDLE\" style=\"width:36px;\">"
"<img src=\"%s/%s/%s24x24.gif\""
" alt=\"%s\" title=\"%s\""
" style=\"width:24px; height:24px;\" />"
" class=\"ICON32x32\" />"
"</td>",
Gbl.Prefs.IconsURL,Cfg_ICON_FOLDER_PLUGINS,
Gbl.Plugins.Lst[NumPlg].Logo,

View File

@ -344,14 +344,15 @@ static void Pre_PutIconsToSelectSideCols (void)
SideCols <= Lay_SHOW_BOTH_COLUMNS;
SideCols++)
{
fprintf (Gbl.F.Out,"<td class=\"%s\">",
fprintf (Gbl.F.Out,"<td class=\"%s CENTER_MIDDLE\">",
SideCols == Gbl.Prefs.SideCols ? "LAYOUT_ON" :
"LAYOUT_OFF");
Act_FormStart (ActChgCol);
Par_PutHiddenParamUnsigned ("SideCols",SideCols);
fprintf (Gbl.F.Out,"<input type=\"image\" src=\"%s/layout%u%u_32x20.gif\""
" alt=\"%s\" title=\"%s\" style=\"display:block;"
" width:32px; height:20px; margin:0 auto;\" />",
" alt=\"%s\" title=\"%s\""
" style=\"display:block;"
" width:32px; height:20px;\" />",
Gbl.Prefs.IconsURL,
SideCols >> 1,SideCols & 1,
Txt_LAYOUT_SIDE_COLUMNS[SideCols],

View File

@ -2183,8 +2183,7 @@ void Rec_ShowSharedUsrRecord (Rec_RecordViewType_t TypeOfView,
" style=\"display:inline;\" >"
"<img src=\"%s/edit16x16.gif\""
" alt=\"%s\" title=\"%s\""
" style=\"width:16px; height:16px;"
" padding:0 2px;\" />"
" class=\"ICON16x16\" />"
"</div>"
"</a>",
Gbl.Prefs.IconsURL,
@ -2209,8 +2208,7 @@ void Rec_ShowSharedUsrRecord (Rec_RecordViewType_t TypeOfView,
" style=\"display:inline;\" >"
"<img src=\"%s/card16x16.gif\""
" alt=\"%s\" title=\"%s\""
" style=\"width:16px; height:16px;"
" padding:0 2px;\" />"
" class=\"ICON16x16\" />"
"</div>"
"</a>",
Gbl.Prefs.IconsURL,
@ -2234,8 +2232,7 @@ void Rec_ShowSharedUsrRecord (Rec_RecordViewType_t TypeOfView,
" style=\"display:inline;\" >"
"<img src=\"%s/config16x16.gif\""
" alt=\"%s\" title=\"%s\""
" style=\"width:16px; height:16px;"
" padding:0 2px;\" />"
" class=\"ICON16x16\" />"
"</div>"
"</a>",
Gbl.Prefs.IconsURL,
@ -2263,8 +2260,7 @@ void Rec_ShowSharedUsrRecord (Rec_RecordViewType_t TypeOfView,
" style=\"display:inline;\" >"
"<img src=\"%s/folder16x16.gif\""
" alt=\"%s\" title=\"%s\""
" style=\"width:16px; height:16px;"
" padding:0 2px;\" />"
" class=\"ICON16x16\" />"
"</div>"
"</a>",
Gbl.Prefs.IconsURL,
@ -2286,8 +2282,7 @@ void Rec_ShowSharedUsrRecord (Rec_RecordViewType_t TypeOfView,
" style=\"display:inline;\" >"
"<img src=\"%s/file16x16.gif\""
" alt=\"%s\" title=\"%s\""
" style=\"width:16px; height:16px;"
" padding:0 2px;\" />"
" class=\"ICON16x16\" />"
"</div>"
"</a>",
Gbl.Prefs.IconsURL,
@ -2307,8 +2302,7 @@ void Rec_ShowSharedUsrRecord (Rec_RecordViewType_t TypeOfView,
" style=\"display:inline;\" >"
"<img src=\"%s/rollcall16x16.gif\""
" alt=\"%s\" title=\"%s\""
" style=\"width:16px; height:16px;"
" padding:0 2px;\" />"
" class=\"ICON16x16\" />"
"</div>"
"</a>",
Gbl.Prefs.IconsURL,
@ -2330,8 +2324,7 @@ void Rec_ShowSharedUsrRecord (Rec_RecordViewType_t TypeOfView,
" style=\"display:inline;\" >"
"<img src=\"%s/msg16x16.gif\""
" alt=\"%s\" title=\"%s\""
" style=\"width:16px; height:16px;"
" padding:0 2px;\" />"
" class=\"ICON16x16\" />"
"</div>"
"</a>",
Gbl.Prefs.IconsURL,
@ -2352,8 +2345,7 @@ void Rec_ShowSharedUsrRecord (Rec_RecordViewType_t TypeOfView,
" style=\"display:inline;\" >"
"<img src=\"%s/unfollow16x16.gif\""
" alt=\"%s\" title=\"%s\""
" style=\"width:16px; height:16px;"
" padding:0 2px;\" />"
" class=\"ICON16x16\" />"
"</div>"
"</a>",
Gbl.Prefs.IconsURL,
@ -2370,8 +2362,7 @@ void Rec_ShowSharedUsrRecord (Rec_RecordViewType_t TypeOfView,
" style=\"display:inline;\" >"
"<img src=\"%s/follow16x16.gif\""
" alt=\"%s\" title=\"%s\""
" style=\"width:16px; height:16px;"
" padding:0 2px;\" />"
" class=\"ICON16x16\" />"
"</div>"
"</a>",
Gbl.Prefs.IconsURL,

View File

@ -1723,24 +1723,24 @@ static void Sta_ShowNumAccessesPerUsr (unsigned long NumRows,MYSQL_RES *mysql_re
/***** Write heading *****/
fprintf (Gbl.F.Out,"<tr>"
"<td class=\"TIT_TBL RIGHT_TOP\">"
"<th class=\"TIT_TBL RIGHT_TOP\">"
"%s"
"</td>"
"<td class=\"TIT_TBL CENTER_TOP\">"
"</th>"
"<th class=\"TIT_TBL CENTER_TOP\">"
"%s"
"</td>"
"<td class=\"TIT_TBL CENTER_TOP\">"
"</th>"
"<th class=\"TIT_TBL CENTER_TOP\">"
"%s"
"</td>"
"<td class=\"TIT_TBL LEFT_TOP\">"
"</th>"
"<th class=\"TIT_TBL LEFT_TOP\">"
"%s"
"</td>"
"<td class=\"TIT_TBL CENTER_TOP\">"
"</th>"
"<th class=\"TIT_TBL CENTER_TOP\">"
"%s"
"</td>"
"<td colspan=\"2\" class=\"TIT_TBL LEFT_TOP\">"
"</th>"
"<th colspan=\"2\" class=\"TIT_TBL LEFT_TOP\">"
"%s"
"</td>"
"</th>"
"</tr>",
Txt_No_INDEX,
Txt_Photo,
@ -1849,15 +1849,15 @@ static void Sta_ShowNumAccessesPerDays (unsigned long NumRows,MYSQL_RES *mysql_r
/***** Write heading *****/
fprintf (Gbl.F.Out,"<tr>"
"<td class=\"TIT_TBL CENTER_TOP\">"
"<th class=\"TIT_TBL CENTER_TOP\">"
"%s&nbsp;"
"</td>"
"<td class=\"TIT_TBL CENTER_TOP\">"
"</th>"
"<th class=\"TIT_TBL CENTER_TOP\">"
"%s&nbsp;"
"</td>"
"<td class=\"TIT_TBL LEFT_TOP\">"
"</th>"
"<th class=\"TIT_TBL LEFT_TOP\">"
"%s"
"</td>"
"</th>"
"</tr>",
Txt_Date,
Txt_Day,
@ -2055,16 +2055,16 @@ static void Sta_ShowDistrAccessesPerDaysAndHour (unsigned long NumRows,MYSQL_RES
/***** Write heading *****/
fprintf (Gbl.F.Out,"<tr>"
"<td rowspan=\"3\" class=\"TIT_TBL CENTER_TOP\">"
"<th rowspan=\"3\" class=\"TIT_TBL CENTER_TOP\">"
"%s&nbsp;"
"</td>"
"<td rowspan=\"3\" class=\"TIT_TBL CENTER_TOP\">"
"</th>"
"<th rowspan=\"3\" class=\"TIT_TBL CENTER_TOP\">"
"%s&nbsp;"
"</td>"
"<td colspan=\"24\" class=\"TIT_TBL LEFT_TOP\""
"</th>"
"<th colspan=\"24\" class=\"TIT_TBL LEFT_TOP\""
" style=\"width:%upx;\">"
"%s"
"</td>"
"</th>"
"</tr>",
Txt_Date,
Txt_Day,
@ -2431,12 +2431,12 @@ static void Sta_ShowNumAccessesPerWeeks (unsigned long NumRows,MYSQL_RES *mysql_
/***** Write heading *****/
fprintf (Gbl.F.Out,"<tr>"
"<td class=\"TIT_TBL CENTER_TOP\">"
"<th class=\"TIT_TBL CENTER_TOP\">"
"%s&nbsp;"
"</td>"
"<td class=\"TIT_TBL LEFT_TOP\">"
"</th>"
"<th class=\"TIT_TBL LEFT_TOP\">"
"%s"
"</td>"
"</th>"
"</tr>",
Txt_Week,
Txt_STAT_TYPE_COUNT_CAPS[Gbl.Stat.CountType]);
@ -2536,12 +2536,12 @@ static void Sta_ShowNumAccessesPerMonths (unsigned long NumRows,MYSQL_RES *mysql
/***** Write heading *****/
fprintf (Gbl.F.Out,"<tr>"
"<td class=\"TIT_TBL CENTER_TOP\">"
"<th class=\"TIT_TBL CENTER_TOP\">"
"%s&nbsp;"
"</td>"
"<td class=\"TIT_TBL LEFT_TOP\">"
"</th>"
"<th class=\"TIT_TBL LEFT_TOP\">"
"%s"
"</td>"
"</th>"
"</tr>",
Txt_Month,
Txt_STAT_TYPE_COUNT_CAPS[Gbl.Stat.CountType]);
@ -2713,14 +2713,14 @@ static void Sta_WriteAccessHour (unsigned Hour,float NumPagesGenerated,float Max
AltoBarra = 1;
fprintf (Gbl.F.Out,"<img src=\"%s/c8x1.gif\""
" alt=\"\" title=\"\""
" style=\"width:8px; height:%upx;\" /><br />",
" style=\"width:8px; height:%upx;\" />",
Gbl.Prefs.IconsURL,AltoBarra);
}
else
fprintf (Gbl.F.Out,"0%%<br />0<br />");
fprintf (Gbl.F.Out,"0%%<br />0");
/* Write the hour */
fprintf (Gbl.F.Out,"%uh</td>",Hour);
fprintf (Gbl.F.Out,"<br />%uh</td>",Hour);
}
/*****************************************************************************/
@ -2949,12 +2949,12 @@ static void Sta_ShowNumAccessesPerAction (unsigned long NumRows,MYSQL_RES *mysql
/***** Write heading *****/
fprintf (Gbl.F.Out,"<tr>"
"<td class=\"TIT_TBL RIGHT_TOP\">"
"<th class=\"TIT_TBL RIGHT_TOP\">"
"%s&nbsp;"
"</td>"
"<td class=\"TIT_TBL LEFT_TOP\">"
"</th>"
"<th class=\"TIT_TBL LEFT_TOP\">"
"%s"
"</td>"
"</th>"
"</tr>",
Txt_Action,
Txt_STAT_TYPE_COUNT_CAPS[Gbl.Stat.CountType]);
@ -3019,12 +3019,12 @@ static void Sta_ShowNumAccessesPerPlugin (unsigned long NumRows,MYSQL_RES *mysql
/***** Write heading *****/
fprintf (Gbl.F.Out,"<tr>"
"<td class=\"TIT_TBL RIGHT_TOP\">"
"<th class=\"TIT_TBL RIGHT_TOP\">"
"%s&nbsp;"
"</td>"
"<td class=\"TIT_TBL LEFT_TOP\">"
"</th>"
"<th class=\"TIT_TBL LEFT_TOP\">"
"%s"
"</td>"
"</th>"
"</tr>",
Txt_Plugin,
Txt_STAT_TYPE_COUNT_CAPS[Gbl.Stat.CountType]);
@ -3085,12 +3085,12 @@ static void Sta_ShowNumAccessesPerWSFunction (unsigned long NumRows,MYSQL_RES *m
/***** Write heading *****/
fprintf (Gbl.F.Out,"<tr>"
"<td class=\"TIT_TBL LEFT_TOP\">"
"<th class=\"TIT_TBL LEFT_TOP\">"
"%s&nbsp;"
"</td>"
"<td class=\"TIT_TBL LEFT_TOP\">"
"</th>"
"<th class=\"TIT_TBL LEFT_TOP\">"
"%s"
"</td>"
"</th>"
"</tr>",
Txt_Function,
Txt_STAT_TYPE_COUNT_CAPS[Gbl.Stat.CountType]);
@ -3149,12 +3149,12 @@ static void Sta_ShowNumAccessesPerBanner (unsigned long NumRows,MYSQL_RES *mysql
/***** Write heading *****/
fprintf (Gbl.F.Out,"<tr>"
"<td class=\"TIT_TBL CENTER_TOP\">"
"<th class=\"TIT_TBL CENTER_TOP\">"
"%s&nbsp;"
"</td>"
"<td class=\"TIT_TBL LEFT_TOP\">"
"</th>"
"<th class=\"TIT_TBL LEFT_TOP\">"
"%s"
"</td>"
"</th>"
"</tr>",
Txt_Banner,
Txt_STAT_TYPE_COUNT_CAPS[Gbl.Stat.CountType]);
@ -3190,8 +3190,8 @@ static void Sta_ShowNumAccessesPerBanner (unsigned long NumRows,MYSQL_RES *mysql
"<a href=\"%s\" title=\"%s\" class=\"DAT\" target=\"_blank\">"
"<img src=\"%s/%s/%s\""
" alt=\"%s\" title=\"%s\""
" style=\"width:60px; height:20px;"
" margin:0 8px 4px 0;\" />"
" class=\"BANNER_SMALL\""
" style=\"margin:0 8px 4px 0;\" />"
"</a>",
Ban.WWW,
Ban.FullName,
@ -3224,15 +3224,15 @@ static void Sta_ShowNumAccessesPerDegree (unsigned long NumRows,MYSQL_RES *mysql
/***** Write heading *****/
fprintf (Gbl.F.Out,"<tr>"
"<td class=\"TIT_TBL CENTER_TOP\">"
"<th class=\"TIT_TBL CENTER_TOP\">"
"%s"
"</td>"
"<td class=\"TIT_TBL CENTER_TOP\">"
"</th>"
"<th class=\"TIT_TBL CENTER_TOP\">"
"%s"
"</td>"
"<td class=\"TIT_TBL LEFT_TOP\">"
"</th>"
"<th class=\"TIT_TBL LEFT_TOP\">"
"%s"
"</td>"
"</th>"
"</tr>",
Txt_No_INDEX,
Txt_Degree,
@ -3306,21 +3306,21 @@ static void Sta_ShowNumAccessesPerCourse (unsigned long NumRows,MYSQL_RES *mysql
/***** Write heading *****/
fprintf (Gbl.F.Out,"<tr>"
"<td class=\"TIT_TBL CENTER_TOP\">"
"<th class=\"TIT_TBL CENTER_TOP\">"
"%s"
"</td>"
"<td class=\"TIT_TBL CENTER_TOP\">"
"</th>"
"<th class=\"TIT_TBL CENTER_TOP\">"
"%s"
"</td>"
"<td class=\"TIT_TBL CENTER_TOP\">"
"</th>"
"<th class=\"TIT_TBL CENTER_TOP\">"
"%s"
"</td>"
"<td class=\"TIT_TBL CENTER_TOP\">"
"</th>"
"<th class=\"TIT_TBL CENTER_TOP\">"
"%s"
"</td>"
"<td class=\"TIT_TBL LEFT_TOP\">"
"</th>"
"<th class=\"TIT_TBL LEFT_TOP\">"
"%s"
"</td>"
"</th>"
"</tr>",
Txt_No_INDEX,
Txt_Degree,

View File

@ -2947,16 +2947,16 @@ static void Svy_ListSvyQuestions (struct Survey *Svy,struct SurveyQuestion *SvyQ
/***** Write the heading *****/
fprintf (Gbl.F.Out,"<tr>");
if (Svy->Status.ICanEdit)
fprintf (Gbl.F.Out,"<td colspan=\"2\"></td>");
fprintf (Gbl.F.Out,"<td class=\"TIT_TBL CENTER_TOP\">"
fprintf (Gbl.F.Out,"<th colspan=\"2\"></th>");
fprintf (Gbl.F.Out,"<th class=\"TIT_TBL CENTER_TOP\">"
"%s"
"</td>"
"<td class=\"TIT_TBL CENTER_TOP\">"
"</th>"
"<th class=\"TIT_TBL CENTER_TOP\">"
"%s"
"</td>"
"<td class=\"TIT_TBL LEFT_TOP\">"
"</th>"
"<th class=\"TIT_TBL LEFT_TOP\">"
"%s"
"</td>"
"</th>"
"</tr>",
Txt_No_INDEX,
Txt_Type,

View File

@ -1461,7 +1461,7 @@ void Usr_WelcomeUsr (void)
Usr_InsertMyBirthday ();
fprintf (Gbl.F.Out,"<img src=\"%s/%s/cake128x128.gif\""
" alt=\"%s\" title=\"%s\""
" style=\"width:128px; height:128px;\" />",
" class=\"ICON128x128\" />",
Gbl.Prefs.PathIconSet,Cfg_ICON_128x128,
Txt_Happy_birthday,
Txt_Happy_birthday);
@ -4865,7 +4865,7 @@ void Usr_PutCheckboxToSelectAllTheUsers (Rol_Role_t Role)
Usr_Sex_t Sex;
fprintf (Gbl.F.Out,"<tr>"
"<td colspan=\"%u\" class=\"TIT_TBL LEFT_MIDDLE LIGHT_BLUE\">",
"<th colspan=\"%u\" class=\"TIT_TBL LEFT_MIDDLE LIGHT_BLUE\">",
Usr_GetColumnsForSelectUsrs ());
if (Role == Rol_STUDENT)
{
@ -4878,7 +4878,8 @@ void Usr_PutCheckboxToSelectAllTheUsers (Rol_Role_t Role)
LstUsrs = &Gbl.Usrs.LstTchs;
}
Sex = Usr_GetSexOfUsrsLst (LstUsrs);
fprintf (Gbl.F.Out,"%s:</td>"
fprintf (Gbl.F.Out,"%s:"
"</th>"
"</tr>",
LstUsrs->NumUsrs == 1 ? Txt_ROLES_SINGUL_Abc[Role][Sex] :
Txt_ROLES_PLURAL_Abc [Role][Sex]);
@ -5006,18 +5007,18 @@ static void Usr_ListMainDataGsts (bool PutCheckBoxToSelectUsr)
/* First column used for selection */
if (PutCheckBoxToSelectUsr)
fprintf (Gbl.F.Out,"<td class=\"TIT_TBL LEFT_MIDDLE LIGHT_BLUE\">"
fprintf (Gbl.F.Out,"<th class=\"TIT_TBL LEFT_MIDDLE LIGHT_BLUE\">"
"&nbsp;"
"</td>");
"</th>");
/* Columns for the data */
for (NumCol = 0;
NumCol < Usr_NUM_MAIN_FIELDS_DATA_USR;
NumCol++)
if (NumCol != 2 || Gbl.Usrs.Listing.WithPhotos) // Skip photo column if I don't want this column
fprintf (Gbl.F.Out,"<td class=\"TIT_TBL LEFT_MIDDLE LIGHT_BLUE\">"
fprintf (Gbl.F.Out,"<th class=\"TIT_TBL LEFT_MIDDLE LIGHT_BLUE\">"
"%s&nbsp;"
"</td>",
"</th>",
Usr_UsrDatMainFieldNames[NumCol]);
/* End row */
@ -5089,18 +5090,18 @@ static void Usr_ListMainDataStds (bool PutCheckBoxToSelectUsr)
/* First column used for selection */
if (PutCheckBoxToSelectUsr)
fprintf (Gbl.F.Out,"<td class=\"TIT_TBL LEFT_MIDDLE LIGHT_BLUE\">"
fprintf (Gbl.F.Out,"<th class=\"TIT_TBL LEFT_MIDDLE LIGHT_BLUE\">"
"&nbsp;"
"</td>");
"</th>");
/* Columns for the data */
for (NumCol = 0;
NumCol < Usr_NUM_MAIN_FIELDS_DATA_USR;
NumCol++)
if (NumCol != 2 || Gbl.Usrs.Listing.WithPhotos) // Skip photo column if I don't want this column
fprintf (Gbl.F.Out,"<td class=\"TIT_TBL LEFT_MIDDLE LIGHT_BLUE\">"
fprintf (Gbl.F.Out,"<th class=\"TIT_TBL LEFT_MIDDLE LIGHT_BLUE\">"
"%s&nbsp;"
"</td>",
"</th>",
Usr_UsrDatMainFieldNames[NumCol]);
/* End row */
@ -5160,18 +5161,18 @@ static void Usr_ListMainDataTchs (bool PutCheckBoxToSelectUsr)
/* First column used for selection */
if (PutCheckBoxToSelectUsr)
fprintf (Gbl.F.Out,"<td class=\"TIT_TBL LEFT_MIDDLE LIGHT_BLUE\">"
fprintf (Gbl.F.Out,"<th class=\"TIT_TBL LEFT_MIDDLE LIGHT_BLUE\">"
"&nbsp;"
"</td>");
"</th>");
/* Columns for the data */
for (NumCol = 0;
NumCol < NumColumns;
NumCol++)
if (NumCol != 2 || Gbl.Usrs.Listing.WithPhotos) // Skip photo column if I don't want this column
fprintf (Gbl.F.Out,"<td class=\"TIT_TBL LEFT_MIDDLE LIGHT_BLUE\">"
fprintf (Gbl.F.Out,"<th class=\"TIT_TBL LEFT_MIDDLE LIGHT_BLUE\">"
"%s&nbsp;"
"</td>",
"</th>",
Usr_UsrDatMainFieldNames[NumCol]);
/* End row */
@ -5275,9 +5276,9 @@ void Usr_ListAllDataGsts (void)
1);
NumCol < NumColumnsCommonCard;
NumCol++)
fprintf (Gbl.F.Out,"<td class=\"TIT_TBL LEFT_MIDDLE LIGHT_BLUE\">"
fprintf (Gbl.F.Out,"<th class=\"TIT_TBL LEFT_MIDDLE LIGHT_BLUE\">"
"%s&nbsp;"
"</td>",
"</th>",
FieldNames[NumCol]);
/* End row */
@ -5421,9 +5422,9 @@ void Usr_ListAllDataStds (void)
1);
NumCol < NumColumnsCommonCard;
NumCol++)
fprintf (Gbl.F.Out,"<td class=\"TIT_TBL LEFT_MIDDLE LIGHT_BLUE\">"
fprintf (Gbl.F.Out,"<th class=\"TIT_TBL LEFT_MIDDLE LIGHT_BLUE\">"
"%s&nbsp;"
"</td>",
"</th>",
FieldNames[NumCol]);
/* 2. Columns for the groups */
@ -5434,9 +5435,9 @@ void Usr_ListAllDataStds (void)
NumGrpTyp < Gbl.CurrentCrs.Grps.GrpTypes.Num;
NumGrpTyp++)
if (Gbl.CurrentCrs.Grps.GrpTypes.LstGrpTypes[NumGrpTyp].NumGrps) // If current course tiene groups of este type
fprintf (Gbl.F.Out,"<td class=\"TIT_TBL LEFT_MIDDLE LIGHT_BLUE\">"
fprintf (Gbl.F.Out,"<th class=\"TIT_TBL LEFT_MIDDLE LIGHT_BLUE\">"
"%s %s&nbsp;"
"</td>",
"</th>",
Txt_Group,
Gbl.CurrentCrs.Grps.GrpTypes.LstGrpTypes[NumGrpTyp].GrpTypName);
@ -5446,13 +5447,14 @@ void Usr_ListAllDataStds (void)
for (NumField = 0;
NumField < Gbl.CurrentCrs.Records.LstFields.Num;
NumField++)
fprintf (Gbl.F.Out,"<td class=\"TIT_TBL LEFT_MIDDLE LIGHT_BLUE\">"
fprintf (Gbl.F.Out,"<th class=\"TIT_TBL LEFT_MIDDLE LIGHT_BLUE\">"
"%s&nbsp;"
"</td>",
"</th>",
Gbl.CurrentCrs.Records.LstFields.Lst[NumField].Name);
/* 4. Visibility type for the record fields that depend on the course, in other row */
fprintf (Gbl.F.Out,"</tr><tr>");
fprintf (Gbl.F.Out,"</tr>"
"<tr>");
for (NumCol = 0;
NumCol < NumColumnsCardAndGroups;
NumCol++)
@ -5462,9 +5464,9 @@ void Usr_ListAllDataStds (void)
for (NumField = 0;
NumField < Gbl.CurrentCrs.Records.LstFields.Num;
NumField++)
fprintf (Gbl.F.Out,"<td class=\"TIT_TBL LEFT_MIDDLE VERY_LIGHT_BLUE\">"
fprintf (Gbl.F.Out,"<th class=\"TIT_TBL LEFT_MIDDLE VERY_LIGHT_BLUE\">"
"(%s)&nbsp;"
"</td>",
"</th>",
Txt_RECORD_FIELD_VISIBILITY_RECORD[Gbl.CurrentCrs.Records.LstFields.Lst[NumField].Visibility]);
}
}
@ -5527,18 +5529,18 @@ void Usr_ListUsrsForSelection (Rol_Role_t Role)
/***** Heading row with column names *****/
/* Start row and first column used for selection */
fprintf (Gbl.F.Out,"<tr>"
"<td class=\"TIT_TBL LEFT_MIDDLE LIGHT_BLUE\">"
"<th class=\"TIT_TBL LEFT_MIDDLE LIGHT_BLUE\">"
"&nbsp;"
"</td>");
"</th>");
/* Columns for the data */
for (NumCol = 0;
NumCol < Usr_NUM_MAIN_FIELDS_DATA_USR;
NumCol++)
if (NumCol != 2 || Gbl.Usrs.Listing.WithPhotos) // Skip photo column if I don't want this column
fprintf (Gbl.F.Out,"<td class=\"TIT_TBL LEFT_MIDDLE LIGHT_BLUE\">"
fprintf (Gbl.F.Out,"<th class=\"TIT_TBL LEFT_MIDDLE LIGHT_BLUE\">"
"%s&nbsp;"
"</td>",
"</th>",
Usr_UsrDatMainFieldNames[NumCol]);
/* End row */
@ -5650,9 +5652,9 @@ void Usr_ListAllDataTchs (void)
1);
NumCol < NumColumns;
NumCol++)
fprintf (Gbl.F.Out,"<td class=\"TIT_TBL LEFT_MIDDLE LIGHT_BLUE\">"
fprintf (Gbl.F.Out,"<th class=\"TIT_TBL LEFT_MIDDLE LIGHT_BLUE\">"
"%s&nbsp;"
"</td>",
"</th>",
FieldNames[NumCol]);
/* End row */
@ -5722,7 +5724,7 @@ unsigned Usr_ListUsrsFound (Rol_Role_t Role,const char *UsrQuery)
/* Number of users found */
fprintf (Gbl.F.Out,"<tr>"
"<td colspan=\"%u\" class=\"TIT_TBL CENTER_MIDDLE\">",
"<th colspan=\"%u\" class=\"TIT_TBL CENTER_MIDDLE\">",
Usr_NUM_MAIN_FIELDS_DATA_USR);
if (NumUsrs == 1)
fprintf (Gbl.F.Out,"1 %s",
@ -5731,7 +5733,7 @@ unsigned Usr_ListUsrsFound (Rol_Role_t Role,const char *UsrQuery)
fprintf (Gbl.F.Out,"%u %s",
NumUsrs,
Txt_ROLES_PLURAL_abc[Role][Sex]);
fprintf (Gbl.F.Out,"</td>"
fprintf (Gbl.F.Out,"</th>"
"</tr>");
/***** Heading row with column names *****/
@ -5740,9 +5742,9 @@ unsigned Usr_ListUsrsFound (Rol_Role_t Role,const char *UsrQuery)
for (NumCol = 0;
NumCol < Usr_NUM_MAIN_FIELDS_DATA_USR;
NumCol++)
fprintf (Gbl.F.Out,"<td class=\"TIT_TBL LEFT_MIDDLE LIGHT_BLUE\">"
fprintf (Gbl.F.Out,"<th class=\"TIT_TBL LEFT_MIDDLE LIGHT_BLUE\">"
"%s&nbsp;"
"</td>",
"</th>",
Usr_UsrDatMainFieldNames[NumCol]);
/* End row */
@ -5880,9 +5882,9 @@ void Usr_ListDataAdms (void)
NumCol < NumColumns;
NumCol++)
if (NumCol != 1 || Gbl.Usrs.Listing.WithPhotos) // Skip photo column if I don't want this column
fprintf (Gbl.F.Out,"<td class=\"TIT_TBL LEFT_MIDDLE LIGHT_BLUE\">"
fprintf (Gbl.F.Out,"<th class=\"TIT_TBL LEFT_MIDDLE LIGHT_BLUE\">"
"%s&nbsp;"
"</td>",
"</th>",
FieldNames[NumCol]);
/* End row */