Version 14.43

This commit is contained in:
Antonio Cañas Vargas 2014-12-27 00:28:19 +01:00
parent 06ca8ba2f2
commit 281f129db7
13 changed files with 528 additions and 203 deletions

View File

@ -4,12 +4,12 @@
SWAD (Shared Workspace At a Distance),
is a web platform developed at the University of Granada (Spain),
and used to support university teaching.
Copyright (C) 1999-2012 Antonio Cañas-Vargas
& Daniel J. Calandria-Hernández,
University of Granada (SPAIN) (acanas@ugr.es)
This program is free software:you can redistribute it and/or modify
it under the terms of the GNU Affero General Public License as
This file is part of SWAD core.
Copyright (C) 1999-2014 Antonio Cañas Vargas
This program is free software: you can redistribute it and/or modify
it under the terms of the GNU Affero General 3 License as
published by the Free Software Foundation, either version 3 of the
License, or (at your option) any later version.
@ -375,7 +375,6 @@ hr.YELLOW_SEPARA {height:0; border-top:0; border-bottom:#BD4815 dotted 1px;}
text-align:center;
overflow:hidden;
vertical-align:top;
valign:top;
position:relative;
display:inline-block;
}
@ -618,19 +617,16 @@ a:hover img.CENTRE_PHOTO_SHOW
/**************************** Icon highlighting ******************************/
.ICON_HIDDEN
{
filter:progid:DXImageTransform.Microsoft.Alpha(opacity=20);
-moz-opacity:0.2;
opacity:0.2;
}
.ICON_HIGHLIGHT
{
filter:progid:DXImageTransform.Microsoft.Alpha(opacity=80);
-moz-opacity:0.8;
opacity:0.8;
}
.ICON_HIGHLIGHT:hover
{
filter:progid:DXImageTransform.Microsoft.Alpha(opacity=100);
-moz-opacity:1;
opacity:1;
}
@ -657,22 +653,8 @@ a:hover img.CENTRE_PHOTO_SHOW
.MENU_TEXT
{
height:32px;
/* Internet Explorer 10 */
display:-ms-flexbox;
-ms-flex-align:center;
/* Firefox */
display:-moz-box;
-moz-box-align:center;
/* Safari, Opera, and Chrome */
display:-webkit-box;
-webkit-box-align:center;
/* W3C */
display:box;
box-align:center;
display:table-cell;
vertical-align:middle;
}
.WHITE_MENU_OFF {font-family:Arial, Nimbus Sans L, DejaVu LGC Sans, Bitstream Vera Sans, sans-serif; color:#707070; font-size:11pt; font-weight:bold; line-height:110%;}
.GREY_MENU_OFF {font-family:Arial, Nimbus Sans L, DejaVu LGC Sans, Bitstream Vera Sans, sans-serif; color:#707070; font-size:11pt; font-weight:bold; line-height:110%;}

View File

@ -4,12 +4,12 @@
SWAD (Shared Workspace At a Distance),
is a web platform developed at the University of Granada (Spain),
and used to support university teaching.
Copyright (C) 1999-2012 Antonio Cañas-Vargas
& Daniel J. Calandria-Hernández,
University of Granada (SPAIN) (acanas@ugr.es)
This program is free software:you can redistribute it and/or modify
it under the terms of the GNU Affero General Public License as
This file is part of SWAD core.
Copyright (C) 1999-2014 Antonio Cañas Vargas
This program is free software: you can redistribute it and/or modify
it under the terms of the GNU Affero General 3 License as
published by the Free Software Foundation, either version 3 of the
License, or (at your option) any later version.
@ -455,19 +455,16 @@ a:hover img.CENTRE_PHOTO_SHOW
/**************************** Icon highlighting ******************************/
.ICON_HIDDEN
{
filter:progid:DXImageTransform.Microsoft.Alpha(opacity=20);
-moz-opacity:0.2;
opacity:0.2;
}
.ICON_HIGHLIGHT
{
filter:progid:DXImageTransform.Microsoft.Alpha(opacity=80);
-moz-opacity:0.8;
opacity:0.8;
}
.ICON_HIGHLIGHT:hover
{
filter:progid:DXImageTransform.Microsoft.Alpha(opacity=100);
-moz-opacity:1;
opacity:1;
}

View File

@ -35,11 +35,12 @@
/****************************** Public constants *****************************/
/*****************************************************************************/
#define Log_PLATFORM_VERSION "SWAD 14.42.1 (2014/12/26)"
#define Log_PLATFORM_VERSION "SWAD 14.43 (2014/12/27)"
// 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.43 :Dic 27, 2014 Changes in HTML and CSS to validate HTML5 in W3C validator. (174314 lines)
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)

View File

@ -129,9 +129,13 @@ void Ins_SeeInsWithPendingCtrs (void)
/***** Write heading *****/
Lay_StartRoundFrameTable10 (NULL,2,Txt_Institutions_with_pending_centres);
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_Institution,
Txt_Centres_ABBREVIATION);
@ -639,12 +643,12 @@ static void Ins_PutHeadInstitutionsForSeeing (bool OrderSelectable)
fprintf (Gbl.F.Out,"<tr>"
"<th></th>"
"<th width=\"20\" class=\"TIT_TBL\">&nbsp;</th>");
"<th style=\"width:20px;\"></th>");
for (Order = Ins_ORDER_BY_INSTITUTION;
Order <= Ins_ORDER_BY_NUM_USRS;
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 (ActSeeIns);
@ -663,12 +667,24 @@ static void Ins_PutHeadInstitutionsForSeeing (bool OrderSelectable)
}
fprintf (Gbl.F.Out,"</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>"
"<th align=\"right\" class=\"TIT_TBL\">%s</th>"
"<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:right;\">"
"%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:right;\">"
"%s"
"</th>"
"<th class=\"TIT_TBL\" style=\"text-align:left;\">"
"%s"
"</th>"
"</tr>",
Txt_Students_ABBREVIATION,
Txt_Teachers_ABBREVIATION,
@ -1856,17 +1872,35 @@ static void Ins_PutHeadInstitutionsForEdition (void)
extern const char *Txt_Requester;
fprintf (Gbl.F.Out,"<tr>"
"<th align=\"center\" class=\"TIT_TBL\">&nbsp;</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=\"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: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_Country,

View File

@ -390,9 +390,15 @@ void Net_ShowWebAndSocialNetworksStats (void)
Lay_StartRoundFrameTable10 (NULL,2,NULL);
fprintf (Gbl.F.Out,"<tr>"
"<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:right;\">"
"%s"
"</th>"
"<th class=\"TIT_TBL\" style=\"text-align:right;\">"
"%s"
"</th>"
"</tr>",
Txt_Web_social_network,
Txt_No_of_users,

View File

@ -301,11 +301,23 @@ void Ntf_ShowMyNotifications (void)
/***** Table start *****/
Lay_StartRoundFrameTable10 (NULL,2,Txt_Notifications);
fprintf (Gbl.F.Out,"<tr>"
"<th colspan=\"2\" align=\"left\" class=\"TIT_TBL\">%s</th>" \
"<th colspan=\"2\" 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=\"left\" class=\"TIT_TBL\">%s</th>" \
"<th colspan=\"2\" class=\"TIT_TBL\""
" style=\"text-align:left;\">"
"%s"
"</th>"
"<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:center;\">"
"%s"
"</th>"
"<th class=\"TIT_TBL\" style=\"text-align:left;\">"
"%s"
"</th>"
"</tr>",
Txt_Event,
Txt_MSG_From,
@ -1654,8 +1666,12 @@ void Ntf_PutFormChangeNotifSentByEMail (void)
"<table class=\"CELLS_PAD_2\">"
"<tr>"
"<th></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"
"</th>"
"</tr>",
Txt_Notifications,
Txt_Create_BR_notification,

View File

@ -391,7 +391,8 @@ static void Plg_ListPluginsForEdition (void)
Gbl.Prefs.IconsURL,Cfg_ICON_FOLDER_PLUGINS,Gbl.Plugins.Lst[NumPlg].Logo,Gbl.Plugins.Lst[NumPlg].Name);
/* Plugin name */
fprintf (Gbl.F.Out,"<td align=\"center\" valign=\"middle\">");
fprintf (Gbl.F.Out,"<td style=\"text-align:center;"
" vertical-align:middle;\">");
Act_FormStart (ActRenPlg);
Plg_PutParamPlgCod (Plg->PlgCod);
fprintf (Gbl.F.Out,"<input type=\"text\" name=\"Name\" size=\"10\" maxlength=\"%u\" value=\"%s\""
@ -842,12 +843,24 @@ static void Plg_PutFormToCreatePlugin (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 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>"
"<th class=\"TIT_TBL\" style=\"text-align:left;\">"
"%s"
"</th>"
"<th class=\"TIT_TBL\" style=\"text-align:left;\">"
"%s"
"</th>"
"</tr>",
Txt_Name,
Txt_Description,
@ -923,15 +936,29 @@ static void Plg_PutHeadPlugins (void)
extern const char *Txt_IP;
fprintf (Gbl.F.Out,"<tr>"
"<th align=\"center\" class=\"TIT_TBL\">&nbsp;</th>"
"<th align=\"right\" class=\"TIT_TBL\">%s</th>"
"<th align=\"left\" class=\"TIT_TBL\" width=\"28\">&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=\"left\" class=\"TIT_TBL\">%s</th>"
"<th></th>"
"<th class=\"TIT_TBL\" style=\"text-align:right;\">"
"%s"
"</th>"
"<th style=\"width:28px;\"></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:left;\">"
"%s"
"</th>"
"</tr>",
Txt_Code,
Txt_Name,

View File

@ -351,10 +351,16 @@ static void Rec_WriteHeadingRecordFields (void)
extern const char *Txt_Visible_by_BR_the_student;
fprintf (Gbl.F.Out,"<tr>"
"<th align=\"left\"></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></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_Field_BR_name,
Txt_No_of_BR_lines,

View File

@ -1532,13 +1532,34 @@ static void Sta_ShowDetailedAccessesList (unsigned long NumRows,MYSQL_RES *mysql
/***** Write heading *****/
fprintf (Gbl.F.Out,"<tr>"
"<th align=\"right\" valign=\"top\" class=\"TIT_TBL\">%s</th>"
"<th align=\"center\" valign=\"top\" 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\">%s</th>"
"<th align=\"left\" valign=\"top\" class=\"TIT_TBL\">%s</th>"
"<th align=\"left\" valign=\"top\" width=\"10%%\" class=\"TIT_TBL\">%s</th>"
"<th class=\"TIT_TBL\""
" style=\"text-align:right; vertical-align:top;\">"
"%s"
"</th>"
"<th class=\"TIT_TBL\""
" style=\"text-align:center; 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 class=\"TIT_TBL\""
" style=\"text-align:center; vertical-align:top;\">"
"%s"
"</th>"
"<th class=\"TIT_TBL\""
" style=\"text-align:left; vertical-align:top;\">"
"%s"
"</th>"
"<th class=\"TIT_TBL\" style=\"width:10%%;"
" text-align:left; vertical-align:top;\">"
"%s"
"</th>"
"</tr>",
Txt_No_INDEX,
Txt_User_ID,
@ -3726,14 +3747,28 @@ static void Sta_WriteHeadDegsCrssInSWAD (void)
extern const char *Txt_With_students;
fprintf (Gbl.F.Out,"<tr>"
"<th class=\"TIT_TBL\"></th>"
"<th align=\"right\" class=\"TIT_TBL\">%s</th>"
"<th align=\"right\" class=\"TIT_TBL\">%s</th>"
"<th align=\"right\" class=\"TIT_TBL\">%s</th>"
"<th align=\"right\" class=\"TIT_TBL\">%s</th>"
"<th align=\"right\" class=\"TIT_TBL\">%s</th>"
"<th align=\"right\" class=\"TIT_TBL\">%s</th>"
"<th align=\"right\" class=\"TIT_TBL\">%s</th>"
"<th></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:right;\">"
"%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:right;\">"
"%s"
"</th>"
"<th class=\"TIT_TBL\" style=\"text-align:right;\">"
"%s"
"</th>"
"</tr>",
Txt_Total,
Txt_With_institutions,
@ -4332,10 +4367,18 @@ static void Sta_ShowUsersStats (void)
Lay_StartRoundFrameTable10 (NULL,2,NULL);
fprintf (Gbl.F.Out,"<tr>"
"<th align=\"right\" class=\"TIT_TBL\">%s</th>"
"<th align=\"right\" 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:right;\">"
"%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:right;\">"
"%s"
"</th>"
"</tr>",
Txt_Users,
Txt_No_of_users,
@ -4410,19 +4453,45 @@ static void Sta_WriteStatsExpTreesTableHead (void)
extern const char *Txt_usr;
fprintf (Gbl.F.Out,"<tr>"
"<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=\"right\" class=\"TIT_TBL\">%s</th>"
"<th align=\"right\" class=\"TIT_TBL\">%s</th>"
"<th align=\"right\" class=\"TIT_TBL\">%s</th>"
"<th align=\"right\" class=\"TIT_TBL\">%s</th>"
"<th align=\"right\" class=\"TIT_TBL\">%s/<br />%s</th>"
"<th align=\"right\" class=\"TIT_TBL\">%s/<br />%s</th>"
"<th align=\"right\" class=\"TIT_TBL\">%s/<br />%s</th>"
"<th align=\"right\" class=\"TIT_TBL\">%s/<br />%s</th>"
"<th align=\"right\" class=\"TIT_TBL\">%s/<br />%s</th>"
"<th align=\"right\" class=\"TIT_TBL\">%s/<br />%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:right;\">"
"%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:right;\">"
"%s"
"</th>"
"<th class=\"TIT_TBL\" style=\"text-align:right;\">"
"%s/<br />%s"
"</th>"
"<th class=\"TIT_TBL\" style=\"text-align:right;\">"
"%s/<br />%s"
"</th>"
"<th class=\"TIT_TBL\" style=\"text-align:right;\">"
"%s/<br />%s"
"</th>"
"<th class=\"TIT_TBL\" style=\"text-align:right;\">"
"%s/<br />%s"
"</th>"
"<th class=\"TIT_TBL\" style=\"text-align:right;\">"
"%s/<br />%s"
"</th>"
"<th class=\"TIT_TBL\" style=\"text-align:right;\">"
"%s/<br />%s"
"</th>"
"</tr>",
Txt_File_zones,
Txt_Number_of_courses,
@ -4795,9 +4864,15 @@ static void Sta_ShowOERs (void)
/***** Write table heading *****/
fprintf (Gbl.F.Out,"<tr>"
"<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:right;\">"
"%s"
"</th>"
"<th class=\"TIT_TBL\" style=\"text-align:right;\">"
"%s"
"</th>"
"</tr>",
Txt_License,
Txt_No_of_private_files,
@ -4948,10 +5023,18 @@ static void Sta_ShowAssignmentsStats (void)
/***** Write table heading *****/
fprintf (Gbl.F.Out,"<tr>"
"<th align=\"right\" class=\"TIT_TBL\">%s</th>"
"<th align=\"right\" 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:right;\">"
"%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:right;\">"
"%s"
"</th>"
"</tr>",
Txt_Number_of_BR_assignments,
Txt_Number_of_BR_courses_with_BR_assignments,
@ -5009,15 +5092,33 @@ static void Sta_ShowTestsStats (void)
/***** Write table heading *****/
fprintf (Gbl.F.Out,"<tr>"
"<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=\"right\" class=\"TIT_TBL\">%s</th>"
"<th align=\"right\" class=\"TIT_TBL\">%s</th>"
"<th align=\"right\" class=\"TIT_TBL\">%s</th>"
"<th align=\"right\" 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:right;\">"
"%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:right;\">"
"%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:right;\">"
"%s"
"</th>"
"<th class=\"TIT_TBL\" style=\"text-align:right;\">"
"%s"
"</th>"
"</tr>",
Txt_Type_of_BR_answers,
Txt_Number_of_BR_courses_BR_with_test_BR_questions,
@ -5169,11 +5270,21 @@ static void Sta_ShowNoticesStats (void)
/***** Write table heading *****/
fprintf (Gbl.F.Out,"<tr>"
"<th align=\"right\" class=\"TIT_TBL\">%s</th>"
"<th align=\"right\" class=\"TIT_TBL\">%s</th>"
"<th align=\"right\" 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:right;\">"
"%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:right;\">"
"%s"
"</th>"
"<th class=\"TIT_TBL\" style=\"text-align:right;\">"
"%s"
"</th>"
"</tr>",
Txt_NOTICE_Active_BR_notices,
Txt_NOTICE_Obsolete_BR_notices,
@ -5239,11 +5350,21 @@ static void Sta_ShowMsgsStats (void)
/***** Write table heading *****/
fprintf (Gbl.F.Out,"<tr>"
"<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=\"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:right;\">"
"%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:right;\">"
"%s"
"</th>"
"</tr>",
Txt_Messages,
Txt_MSGS_Not_deleted,
@ -5327,18 +5448,43 @@ static void Sta_ShowForumStats (void)
/***** Write table heading *****/
fprintf (Gbl.F.Out,"<tr>"
"<th align=\"left\" valign=\"top\" width=\"16\">"
"<th style=\"width:16px;"
" text-align:left; vertical-align:top;\">"
"<img src=\"%s/forum16x16.gif\""
" class=\"ICON16x16\" style=\"vertical-align:top;\" />"
"</th>"
"<th align=\"left\" valign=\"top\" class=\"TIT_TBL\">%s</th>"
"<th align=\"right\" valign=\"top\" class=\"TIT_TBL\">%s</th>"
"<th align=\"right\" valign=\"top\" class=\"TIT_TBL\">%s</th>"
"<th align=\"right\" valign=\"top\" class=\"TIT_TBL\">%s</th>"
"<th align=\"right\" valign=\"top\" class=\"TIT_TBL\">%s</th>"
"<th align=\"right\" valign=\"top\" class=\"TIT_TBL\">%s</th>"
"<th align=\"right\" valign=\"top\" class=\"TIT_TBL\">%s</th>"
"<th align=\"right\" valign=\"top\" class=\"TIT_TBL\">%s</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 class=\"TIT_TBL\""
" style=\"text-align:right; vertical-align:top;\">"
"%s"
"</th>"
"<th class=\"TIT_TBL\""
" style=\"text-align:right; vertical-align:top;\">"
"%s"
"</th>"
"<th class=\"TIT_TBL\""
" style=\"text-align:right; vertical-align:top;\">"
"%s"
"</th>"
"<th class=\"TIT_TBL\""
" style=\"text-align:right; vertical-align:top;\">"
"%s"
"</th>"
"<th class=\"TIT_TBL\""
" style=\"text-align:right; vertical-align:top;\">"
"%s"
"</th>"
"<th class=\"TIT_TBL\""
" style=\"text-align:right; vertical-align:top;\">"
"%s"
"</th>"
"</tr>",
Gbl.Prefs.IconsURL,
Txt_Forums,
@ -5659,11 +5805,21 @@ static void Sta_ShowSurveysStats (void)
/***** Write table heading *****/
fprintf (Gbl.F.Out,"<tr>"
"<th align=\"right\" class=\"TIT_TBL\">%s</th>"
"<th align=\"right\" class=\"TIT_TBL\">%s</th>"
"<th align=\"right\" 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:right;\">"
"%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:right;\">"
"%s"
"</th>"
"<th class=\"TIT_TBL\" style=\"text-align:right;\">"
"%s"
"</th>"
"</tr>",
Txt_Number_of_BR_surveys,
Txt_Number_of_BR_courses_with_BR_surveys,
@ -5719,9 +5875,15 @@ static void Sta_GetAndShowNumUsrsPerLanguage (void)
/***** Heading row *****/
fprintf (Gbl.F.Out,"<tr>"
"<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:right;\">"
"%s"
"</th>"
"<th class=\"TIT_TBL\" style=\"text-align:right;\">"
"%s"
"</th>"
"</tr>",
Txt_Language,
Txt_No_of_users,
@ -5835,9 +5997,15 @@ static void Sta_GetAndShowNumUsrsPerLayout (void)
/***** Heading row *****/
fprintf (Gbl.F.Out,"<tr>"
"<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:right;\">"
"%s"
"</th>"
"<th class=\"TIT_TBL\" style=\"text-align:right;\">"
"%s"
"</th>"
"</tr>",
Txt_Layout,
Txt_No_of_users,
@ -5948,9 +6116,15 @@ static void Sta_GetAndShowNumUsrsPerTheme (void)
/***** Heading row *****/
fprintf (Gbl.F.Out,"<tr>"
"<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:right;\">"
"%s"
"</th>"
"<th class=\"TIT_TBL\" style=\"text-align:right;\">"
"%s"
"</th>"
"</tr>",
Txt_Theme_SKIN,
Txt_No_of_users,
@ -6061,9 +6235,15 @@ static void Sta_GetAndShowNumUsrsPerColumns (void)
/***** Heading row *****/
fprintf (Gbl.F.Out,"<tr>"
"<th align=\"center\" 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:center;\">"
"%s"
"</th>"
"<th class=\"TIT_TBL\" style=\"text-align:right;\">"
"%s"
"</th>"
"<th class=\"TIT_TBL\" style=\"text-align:right;\">"
"%s"
"</th>"
"</tr>",
Txt_Columns,
Txt_No_of_users,
@ -6173,9 +6353,15 @@ static void Sta_GetAndShowNumUsrsPerIconSet (void)
/***** Heading row *****/
fprintf (Gbl.F.Out,"<tr>"
"<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:right;\">"
"%s"
"</th>"
"<th class=\"TIT_TBL\" style=\"text-align:right;\">"
"%s"
"</th>"
"</tr>",
Txt_Icons,
Txt_No_of_users,
@ -6301,11 +6487,21 @@ static void Sta_GetAndShowNumUsrsPerNotifyEvent (void)
/***** Heading row *****/
fprintf (Gbl.F.Out,"<tr>"
"<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=\"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:right;\">"
"%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:right;\">"
"%s"
"</th>"
"</tr>",
Txt_Event,
Txt_No_of_users,

View File

@ -207,7 +207,7 @@ static void Svy_ListAllSurveys (struct SurveyQuestion *SvyQst)
Order <= Svy_ORDER_BY_END_DATE;
Order++)
{
fprintf (Gbl.F.Out,"<th align=\"center\" class=\"TIT_TBL\">");
fprintf (Gbl.F.Out,"<th class=\"TIT_TBL\" style=\"text-align:center;\">");
Act_FormStart (ActSeeAllSvy);
Grp_PutParamWhichGrps ();
Pag_PutHiddenParamPagNum (Gbl.Pag.CurrentPage);
@ -222,8 +222,12 @@ static void Svy_ListAllSurveys (struct SurveyQuestion *SvyQst)
"</form>"
"</th>");
}
fprintf (Gbl.F.Out,"<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:center;\">"
"%s"
"</th>"
"<th class=\"TIT_TBL\" style=\"text-align:center;\">"
"%s"
"</th>"
"</tr>",
Txt_Survey,
Txt_Status);

View File

@ -2408,13 +2408,31 @@ static void Tst_ListOneOrMoreQuestionsToEdit (unsigned long NumRows,MYSQL_RES *m
/***** Write the heading *****/
fprintf (Gbl.F.Out,"<tr>"
"<th align=\"left\" colspan=\"2\"></th>"
"<th align=\"center\" 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\">%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\">%s</th>",
"<th colspan=\"2\"></th>"
"<th class=\"TIT_TBL\""
" style=\"text-align:center; vertical-align:top;\">"
"%s"
"</th>"
"<th class=\"TIT_TBL\""
" style=\"text-align:center; vertical-align:top;\">"
"%s"
"</th>"
"<th class=\"TIT_TBL\""
" style=\"text-align:center; 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 class=\"TIT_TBL\""
" style=\"text-align:center; vertical-align:top;\">"
"%s"
"</th>",
Txt_No_INDEX,
Txt_Code,
Txt_Date,
@ -2429,7 +2447,8 @@ static void Tst_ListOneOrMoreQuestionsToEdit (unsigned long NumRows,MYSQL_RES *m
Order < (Tst_QuestionsOrder_t) Tst_NUM_TYPES_ORDER_QST;
Order++)
{
fprintf (Gbl.F.Out,"<th align=\"left\" valign=\"top\" class=\"TIT_TBL\">");
fprintf (Gbl.F.Out,"<th class=\"TIT_TBL\""
" style=\"text-align:left; vertical-align:top;\">");
if (NumRows > 1)
{
Act_FormStart (ActLstTstQst);
@ -6029,13 +6048,34 @@ static void Tst_ShowHeaderTestResults (void)
extern const char *Txt_out_of_PART_OF_A_SCORE;
fprintf (Gbl.F.Out,"<tr>"
"<th colspan=\"2\" align=\"center\" valign=\"top\" class=\"TIT_TBL\">%s</th>"
"<th align=\"right\" valign=\"top\" class=\"TIT_TBL\">%s</th>"
"<th align=\"right\" valign=\"top\" class=\"TIT_TBL\">%s</th>"
"<th align=\"right\" valign=\"top\" class=\"TIT_TBL\">%s</th>"
"<th align=\"right\" valign=\"top\" class=\"TIT_TBL\">%s</th>"
"<th align=\"right\" valign=\"top\" class=\"TIT_TBL\">%s</th>"
"<th align=\"right\" valign=\"top\" class=\"TIT_TBL\">%s<br />%s<br />%u</th>"
"<th colspan=\"2\" class=\"TIT_TBL\""
" style=\"text-align:center; vertical-align:top;\">"
"%s"
"</th>"
"<th class=\"TIT_TBL\""
" style=\"text-align:right; vertical-align:top;\">"
"%s"
"</th>"
"<th class=\"TIT_TBL\""
" style=\"text-align:right; vertical-align:top;\">"
"%s"
"</th>"
"<th class=\"TIT_TBL\""
" style=\"text-align:right; vertical-align:top;\">"
"%s"
"</th>"
"<th class=\"TIT_TBL\""
" style=\"text-align:right; vertical-align:top;\">"
"%s"
"</th>"
"<th class=\"TIT_TBL\""
" style=\"text-align:right; vertical-align:top;\">"
"%s"
"</th>"
"<th class=\"TIT_TBL\""
" style=\"text-align:right; vertical-align:top;\">"
"%s<br />%s<br />%u"
"</th>"
"<th></th>"
"</tr>",
Txt_User,

View File

@ -947,12 +947,27 @@ static void TsI_WriteHeadingListImportedQst (void)
/***** Write the heading *****/
fprintf (Gbl.F.Out,"<tr>"
"<th align=\"center\" valign=\"top\" class=\"TIT_TBL\"></th>"
"<th align=\"center\" 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\">%s</th>"
"<th align=\"center\" valign=\"top\" class=\"TIT_TBL\">%s</th>"
"<th align=\"left\" valign=\"top\" class=\"TIT_TBL\">%s</th>"
"<th></th>"
"<th class=\"TIT_TBL\""
" style=\"text-align:center; vertical-align:top;\">"
"%s"
"</th>"
"<th class=\"TIT_TBL\""
" style=\"text-align:center; vertical-align:top;\">"
"%s"
"</th>"
"<th class=\"TIT_TBL\""
" style=\"text-align:center; vertical-align:top;\">"
"%s"
"</th>"
"<th class=\"TIT_TBL\""
" style=\"text-align:center; vertical-align:top;\">"
"%s"
"</th>"
"<th class=\"TIT_TBL\""
" style=\"text-align:left; vertical-align:top;\">"
"%s"
"</th>"
"</tr>",
Txt_No_INDEX,
Txt_Tags,

View File

@ -536,7 +536,8 @@ static void ZIP_ShowLinkToDownloadZIP (const char *FileName,const char *URL,
/***** Link to download the file *****/
fprintf (Gbl.F.Out,"<tr>"
"<td colspan=\"2\" align=\"center\" valign=\"middle\" class=\"FILENAME\">"
"<td colspan=\"2\"class=\"FILENAME\""
" style=\"text-align:center; vertical-align:middle;\">"
"<a href=\"%s\" class=\"FILENAME\" title=\"%s\" target=\"_blank\">"
"<img src=\"%s/%s32x32/zip32x32.gif\" alt=\"%s\""
" class=\"ICON32x32\" />"