mirror of
https://github.com/acanas/swad-core.git
synced 2024-05-28 20:43:27 +02:00
Version 14.39.6
This commit is contained in:
parent
5d5db513fd
commit
862ae4bb99
|
@ -4138,7 +4138,7 @@ void Act_WriteSmallMFUActions (struct Act_ListMFUActions *ListMFUActions)
|
||||||
fprintf (Gbl.F.Out," %s</a></form>",Txt_Frequent_actions);
|
fprintf (Gbl.F.Out," %s</a></form>",Txt_Frequent_actions);
|
||||||
|
|
||||||
fprintf (Gbl.F.Out,"<div id=\"MFU_actions\">"
|
fprintf (Gbl.F.Out,"<div id=\"MFU_actions\">"
|
||||||
"<table width=\"120\">");
|
"<table style=\"width:120px;\">");
|
||||||
|
|
||||||
/***** Write list of frequently used actions *****/
|
/***** Write list of frequently used actions *****/
|
||||||
for (NumAct = 0;
|
for (NumAct = 0;
|
||||||
|
|
|
@ -1246,7 +1246,7 @@ static void Ctr_ListCentresForEdition (void)
|
||||||
UsrDat.UsrCod = Ctr->RequesterUsrCod;
|
UsrDat.UsrCod = Ctr->RequesterUsrCod;
|
||||||
Usr_ChkUsrCodAndGetAllUsrDataFromUsrCod (&UsrDat);
|
Usr_ChkUsrCodAndGetAllUsrDataFromUsrCod (&UsrDat);
|
||||||
fprintf (Gbl.F.Out,"<td align=\"left\" width=\"100\" valign=\"top\">"
|
fprintf (Gbl.F.Out,"<td align=\"left\" width=\"100\" valign=\"top\">"
|
||||||
"<table width=\"100\" class=\"CELLS_PAD_2\">"
|
"<table class=\"CELLS_PAD_2\" style=\"width:100px;\">"
|
||||||
"<tr>");
|
"<tr>");
|
||||||
Msg_WriteMsgAuthor (&UsrDat,80,10,"DAT",true,NULL);
|
Msg_WriteMsgAuthor (&UsrDat,80,10,"DAT",true,NULL);
|
||||||
fprintf (Gbl.F.Out,"</tr>"
|
fprintf (Gbl.F.Out,"</tr>"
|
||||||
|
@ -1943,7 +1943,7 @@ static void Ctr_PutFormToCreateCentre (void)
|
||||||
|
|
||||||
/***** Centre requester *****/
|
/***** Centre requester *****/
|
||||||
fprintf (Gbl.F.Out,"<td align=\"left\" width=\"100\" valign=\"top\">"
|
fprintf (Gbl.F.Out,"<td align=\"left\" width=\"100\" valign=\"top\">"
|
||||||
"<table width=\"100\" class=\"CELLS_PAD_2\">"
|
"<table class=\"CELLS_PAD_2\" style=\"width:100px;\">"
|
||||||
"<tr>");
|
"<tr>");
|
||||||
Msg_WriteMsgAuthor (&Gbl.Usrs.Me.UsrDat,80,10,"DAT",true,NULL);
|
Msg_WriteMsgAuthor (&Gbl.Usrs.Me.UsrDat,80,10,"DAT",true,NULL);
|
||||||
fprintf (Gbl.F.Out,"</tr>"
|
fprintf (Gbl.F.Out,"</tr>"
|
||||||
|
|
|
@ -35,11 +35,12 @@
|
||||||
/****************************** Public constants *****************************/
|
/****************************** Public constants *****************************/
|
||||||
/*****************************************************************************/
|
/*****************************************************************************/
|
||||||
|
|
||||||
#define Log_PLATFORM_VERSION "SWAD 14.39.5 (2014/12/21)"
|
#define Log_PLATFORM_VERSION "SWAD 14.39.6 (2014/12/22)"
|
||||||
|
|
||||||
// Number of lines (includes comments but not blank lines) has been got with the following command:
|
// 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
|
// nl swad*.c swad*.h css/swad*.css py/swad*.py js/swad*.js soap/swad*.h | tail -1
|
||||||
/*
|
/*
|
||||||
|
Version 14.39.6 :Dic 22, 2014 Changes in HTML and CSS to validate HTML5 in W3C validator. (? lines)
|
||||||
Version 14.39.5 :Dic 21, 2014 Changes in HTML and CSS to validate HTML5 in W3C validator. (170725 lines)
|
Version 14.39.5 :Dic 21, 2014 Changes in HTML and CSS to validate HTML5 in W3C validator. (170725 lines)
|
||||||
Version 14.39.4 :Dic 21, 2014 Changes in HTML and CSS to validate HTML5 in W3C validator. (170688 lines)
|
Version 14.39.4 :Dic 21, 2014 Changes in HTML and CSS to validate HTML5 in W3C validator. (170688 lines)
|
||||||
Version 14.39.3 :Dic 21, 2014 Changes to validate HTML5 in W3C validator.
|
Version 14.39.3 :Dic 21, 2014 Changes to validate HTML5 in W3C validator.
|
||||||
|
|
|
@ -251,7 +251,7 @@ void Con_ShowGlobalConnectedUsrs (void)
|
||||||
|
|
||||||
/***** Start table *****/
|
/***** Start table *****/
|
||||||
fprintf (Gbl.F.Out,"<div class=\"CONNECTED\" style=\"width:110px;\">"
|
fprintf (Gbl.F.Out,"<div class=\"CONNECTED\" style=\"width:110px;\">"
|
||||||
"<table width=\"110\">");
|
"<table style=\"width:110px;\">");
|
||||||
|
|
||||||
/***** Write total number of sessions *****/
|
/***** Write total number of sessions *****/
|
||||||
fprintf (Gbl.F.Out,"<tr>"
|
fprintf (Gbl.F.Out,"<tr>"
|
||||||
|
@ -398,7 +398,7 @@ void Con_ShowConnectedUsrsBelongingToScope (void)
|
||||||
break;
|
break;
|
||||||
case Con_SHOW_ON_RIGHT_COLUMN:
|
case Con_SHOW_ON_RIGHT_COLUMN:
|
||||||
fprintf (Gbl.F.Out,"<div class=\"CONNECTED\" style=\"width:110px;\">"
|
fprintf (Gbl.F.Out,"<div class=\"CONNECTED\" style=\"width:110px;\">"
|
||||||
"<table width=\"110\">");
|
"<table style=\"width:110px;\">");
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
@ -1246,7 +1246,7 @@ static void Crs_ListCoursesForEdition (void)
|
||||||
UsrDat.UsrCod = Crs->RequesterUsrCod;
|
UsrDat.UsrCod = Crs->RequesterUsrCod;
|
||||||
Usr_ChkUsrCodAndGetAllUsrDataFromUsrCod (&UsrDat);
|
Usr_ChkUsrCodAndGetAllUsrDataFromUsrCod (&UsrDat);
|
||||||
fprintf (Gbl.F.Out,"<td align=\"left\" width=\"100\" valign=\"top\">"
|
fprintf (Gbl.F.Out,"<td align=\"left\" width=\"100\" valign=\"top\">"
|
||||||
"<table width=\"100\" class=\"CELLS_PAD_2\">"
|
"<table class=\"CELLS_PAD_2\" style=\"width:100px;\">"
|
||||||
"<tr>");
|
"<tr>");
|
||||||
Msg_WriteMsgAuthor (&UsrDat,80,10,"DAT",true,NULL);
|
Msg_WriteMsgAuthor (&UsrDat,80,10,"DAT",true,NULL);
|
||||||
fprintf (Gbl.F.Out,"</tr>"
|
fprintf (Gbl.F.Out,"</tr>"
|
||||||
|
@ -1429,7 +1429,7 @@ static void Crs_PutFormToCreateCourse (void)
|
||||||
|
|
||||||
/***** Course requester *****/
|
/***** Course requester *****/
|
||||||
fprintf (Gbl.F.Out,"<td align=\"left\" width=\"100\" valign=\"top\">"
|
fprintf (Gbl.F.Out,"<td align=\"left\" width=\"100\" valign=\"top\">"
|
||||||
"<table width=\"100\" class=\"CELLS_PAD_2\">"
|
"<table class=\"CELLS_PAD_2\" style=\"width:100px;\">"
|
||||||
"<tr>");
|
"<tr>");
|
||||||
Msg_WriteMsgAuthor (&Gbl.Usrs.Me.UsrDat,80,10,"DAT",true,NULL);
|
Msg_WriteMsgAuthor (&Gbl.Usrs.Me.UsrDat,80,10,"DAT",true,NULL);
|
||||||
fprintf (Gbl.F.Out,"</tr>"
|
fprintf (Gbl.F.Out,"</tr>"
|
||||||
|
|
|
@ -465,7 +465,7 @@ void Dat_DrawMonth (unsigned RealYear,unsigned RealMonth,
|
||||||
if (PutLinkToEvents && ThisDayHasEvent)
|
if (PutLinkToEvents && ThisDayHasEvent)
|
||||||
{
|
{
|
||||||
Act_FormStart (ActSeeExaAnn);
|
Act_FormStart (ActSeeExaAnn);
|
||||||
fprintf (Gbl.F.Out,"<table width=\"100%%\">"
|
fprintf (Gbl.F.Out,"<table style=\"width:100%%;\">"
|
||||||
"<tr>"
|
"<tr>"
|
||||||
"<td align=\"center\" class=\"%s\">",
|
"<td align=\"center\" class=\"%s\">",
|
||||||
ClassForDay);
|
ClassForDay);
|
||||||
|
|
|
@ -1542,7 +1542,7 @@ static void Deg_ListDegreesForEdition (void)
|
||||||
UsrDat.UsrCod = Deg->RequesterUsrCod;
|
UsrDat.UsrCod = Deg->RequesterUsrCod;
|
||||||
Usr_ChkUsrCodAndGetAllUsrDataFromUsrCod (&UsrDat);
|
Usr_ChkUsrCodAndGetAllUsrDataFromUsrCod (&UsrDat);
|
||||||
fprintf (Gbl.F.Out,"<td align=\"left\" width=\"100\" valign=\"top\">"
|
fprintf (Gbl.F.Out,"<td align=\"left\" width=\"100\" valign=\"top\">"
|
||||||
"<table width=\"100\" class=\"CELLS_PAD_2\">"
|
"<table class=\"CELLS_PAD_2\" style=\"width:100px;\">"
|
||||||
"<tr>");
|
"<tr>");
|
||||||
Msg_WriteMsgAuthor (&UsrDat,80,10,"DAT",true,NULL);
|
Msg_WriteMsgAuthor (&UsrDat,80,10,"DAT",true,NULL);
|
||||||
fprintf (Gbl.F.Out,"</tr>"
|
fprintf (Gbl.F.Out,"</tr>"
|
||||||
|
@ -1806,7 +1806,7 @@ static void Deg_PutFormToCreateDegree (void)
|
||||||
|
|
||||||
/***** Degree requester *****/
|
/***** Degree requester *****/
|
||||||
fprintf (Gbl.F.Out,"<td align=\"left\" width=\"100\" valign=\"top\">"
|
fprintf (Gbl.F.Out,"<td align=\"left\" width=\"100\" valign=\"top\">"
|
||||||
"<table width=\"100\" class=\"CELLS_PAD_2\">"
|
"<table class=\"CELLS_PAD_2\" style=\"width:100px;\">"
|
||||||
"<tr>");
|
"<tr>");
|
||||||
Msg_WriteMsgAuthor (&Gbl.Usrs.Me.UsrDat,80,10,"DAT",true,NULL);
|
Msg_WriteMsgAuthor (&Gbl.Usrs.Me.UsrDat,80,10,"DAT",true,NULL);
|
||||||
fprintf (Gbl.F.Out,"</tr>"
|
fprintf (Gbl.F.Out,"</tr>"
|
||||||
|
|
|
@ -780,7 +780,7 @@ static void Exa_ShowExamAnnouncement (long ExaCod,Exa_tTypeViewExamAnnouncement_
|
||||||
Lay_StartRoundFrameTable10 ("500px",0,NULL);
|
Lay_StartRoundFrameTable10 ("500px",0,NULL);
|
||||||
fprintf (Gbl.F.Out,"<tr>" \
|
fprintf (Gbl.F.Out,"<tr>" \
|
||||||
"<td align=\"center\">" \
|
"<td align=\"center\">" \
|
||||||
"<table width=\"100%%\" style=\"padding:20px; border-spacing:3px;\">");
|
"<table style=\"width:100%%; padding:20px; border-spacing:3px;\">");
|
||||||
|
|
||||||
/***** Institution logo *****/
|
/***** Institution logo *****/
|
||||||
fprintf (Gbl.F.Out,"<tr>" \
|
fprintf (Gbl.F.Out,"<tr>" \
|
||||||
|
|
|
@ -6325,7 +6325,7 @@ static void Brw_PutFormToCreateAFolder (const char *FileNameToShow)
|
||||||
Brw_ParamListFiles (Brw_IS_FOLDER,Gbl.FileBrowser.Priv.PathInTreeExceptFileOrFolder,Gbl.FileBrowser.FilFolLnkName);
|
Brw_ParamListFiles (Brw_IS_FOLDER,Gbl.FileBrowser.Priv.PathInTreeExceptFileOrFolder,Gbl.FileBrowser.FilFolLnkName);
|
||||||
|
|
||||||
/* Folder */
|
/* Folder */
|
||||||
fprintf (Gbl.F.Out,"<table width=\"100%%\">"
|
fprintf (Gbl.F.Out,"<table style=\"width:100%%;\">"
|
||||||
"<tr>"
|
"<tr>"
|
||||||
"<td width=\"30%%\" align=\"right\" class=\"%s\">%s:<br /></td>"
|
"<td width=\"30%%\" align=\"right\" class=\"%s\">%s:<br /></td>"
|
||||||
"<td align=\"left\" width=\"70%%\">"
|
"<td align=\"left\" width=\"70%%\">"
|
||||||
|
@ -6568,7 +6568,7 @@ static void Brw_PutFormToCreateALink (const char *FileNameToShow)
|
||||||
Brw_ParamListFiles (Brw_IS_FOLDER,Gbl.FileBrowser.Priv.PathInTreeExceptFileOrFolder,Gbl.FileBrowser.FilFolLnkName);
|
Brw_ParamListFiles (Brw_IS_FOLDER,Gbl.FileBrowser.Priv.PathInTreeExceptFileOrFolder,Gbl.FileBrowser.FilFolLnkName);
|
||||||
|
|
||||||
/* URL */
|
/* URL */
|
||||||
fprintf (Gbl.F.Out,"<table width=\"100%%\">"
|
fprintf (Gbl.F.Out,"<table style=\"width:100%%;\">"
|
||||||
"<tr>"
|
"<tr>"
|
||||||
"<td width=\"30%%\" align=\"right\" class=\"%s\">%s:<br /></td>"
|
"<td width=\"30%%\" align=\"right\" class=\"%s\">%s:<br /></td>"
|
||||||
"<td align=\"left\" width=\"70%%\">"
|
"<td align=\"left\" width=\"70%%\">"
|
||||||
|
|
|
@ -929,7 +929,7 @@ static void For_ShowThreadPosts (long ThrCod,char *LastSubject)
|
||||||
Lay_StartRoundFrameTable10 (NULL,0,NULL);
|
Lay_StartRoundFrameTable10 (NULL,0,NULL);
|
||||||
fprintf (Gbl.F.Out,"<tr>"
|
fprintf (Gbl.F.Out,"<tr>"
|
||||||
"<td align=\"center\" width=\"100%%\">"
|
"<td align=\"center\" width=\"100%%\">"
|
||||||
"<table width=\"100%%\" class=\"CELLS_PAD_2\">");
|
"<table class=\"CELLS_PAD_2\" style=\"width:100%%;\">");
|
||||||
|
|
||||||
mysql_data_seek (mysql_res,(my_ulonglong) (Pagination.FirstItemVisible-1));
|
mysql_data_seek (mysql_res,(my_ulonglong) (Pagination.FirstItemVisible-1));
|
||||||
for (NumRow = Pagination.FirstItemVisible;
|
for (NumRow = Pagination.FirstItemVisible;
|
||||||
|
@ -1119,7 +1119,7 @@ static void For_ShowAForumPost (struct ForumThread *Thr,unsigned PstNum,long Pst
|
||||||
/***** Write author or destinatary, and form to reply (in case of received post) *****/
|
/***** Write author or destinatary, and form to reply (in case of received post) *****/
|
||||||
fprintf (Gbl.F.Out,"</td>"
|
fprintf (Gbl.F.Out,"</td>"
|
||||||
"<td align=\"left\" width=\"120\" colspan=\"2\" valign=\"top\">"
|
"<td align=\"left\" width=\"120\" colspan=\"2\" valign=\"top\">"
|
||||||
"<table width=\"120\" class=\"CELLS_PAD_2\">");
|
"<table class=\"CELLS_PAD_2\" style=\"width:120px;\">");
|
||||||
|
|
||||||
/* Write author */
|
/* Write author */
|
||||||
fprintf (Gbl.F.Out,"<tr>");
|
fprintf (Gbl.F.Out,"<tr>");
|
||||||
|
@ -3452,7 +3452,8 @@ void For_WriteFormForumPst (bool IsReply,long ThrCod,const char *Subject)
|
||||||
For_PutAllHiddenParamsForum ();
|
For_PutAllHiddenParamsForum ();
|
||||||
|
|
||||||
fprintf (Gbl.F.Out,"<div align=\"center\">"
|
fprintf (Gbl.F.Out,"<div align=\"center\">"
|
||||||
"<table><tr>"
|
"<table>"
|
||||||
|
"<tr>"
|
||||||
"<td align=\"left\"></td>"
|
"<td align=\"left\"></td>"
|
||||||
"<td align=\"left\"><span class=\"%s\">%s</span>"
|
"<td align=\"left\"><span class=\"%s\">%s</span>"
|
||||||
"<span class=\"DAT\"> (%s)</span></td>",
|
"<span class=\"DAT\"> (%s)</span></td>",
|
||||||
|
|
|
@ -935,7 +935,8 @@ static void Ind_ShowTableOfCoursesWithIndicators (Ind_IndicatorsLayout_t Indicat
|
||||||
fprintf (Gbl.F.Out,"</table>");
|
fprintf (Gbl.F.Out,"</table>");
|
||||||
|
|
||||||
/***** Write number of courses with each number of indicators valid *****/
|
/***** Write number of courses with each number of indicators valid *****/
|
||||||
fprintf (Gbl.F.Out,"<table><tr>"
|
fprintf (Gbl.F.Out,"<table>"
|
||||||
|
"<tr>"
|
||||||
"<th align=\"right\" class=\"TIT_TBL\">%s</th>"
|
"<th align=\"right\" class=\"TIT_TBL\">%s</th>"
|
||||||
"<th colspan=\"2\" align=\"right\" class=\"TIT_TBL\">%s</th>"
|
"<th colspan=\"2\" align=\"right\" class=\"TIT_TBL\">%s</th>"
|
||||||
"</tr>",
|
"</tr>",
|
||||||
|
@ -956,9 +957,9 @@ static void Ind_ShowTableOfCoursesWithIndicators (Ind_IndicatorsLayout_t Indicat
|
||||||
"<td align=\"right\" class=\"DAT_N\" style=\"border-style:solid none none none;border-width:1px;\">%s</td>"
|
"<td align=\"right\" class=\"DAT_N\" style=\"border-style:solid none none none;border-width:1px;\">%s</td>"
|
||||||
"<td align=\"right\" class=\"DAT_N\" style=\"border-style:solid none none none;border-width:1px;\">%u</td>"
|
"<td align=\"right\" class=\"DAT_N\" style=\"border-style:solid none none none;border-width:1px;\">%u</td>"
|
||||||
"<td align=\"right\" class=\"DAT_N\" style=\"border-style:solid none none none;border-width:1px;\">(%.1f%%)</td>"
|
"<td align=\"right\" class=\"DAT_N\" style=\"border-style:solid none none none;border-width:1px;\">(%.1f%%)</td>"
|
||||||
"</tr>",
|
"</tr>"
|
||||||
|
"</table>",
|
||||||
Txt_Total,NumCrss,100.0);
|
Txt_Total,NumCrss,100.0);
|
||||||
fprintf (Gbl.F.Out,"</table>");
|
|
||||||
}
|
}
|
||||||
|
|
||||||
/*****************************************************************************/
|
/*****************************************************************************/
|
||||||
|
|
|
@ -1172,7 +1172,7 @@ static void Ins_ListInstitutionsForEdition (void)
|
||||||
UsrDat.UsrCod = Ins->RequesterUsrCod;
|
UsrDat.UsrCod = Ins->RequesterUsrCod;
|
||||||
Usr_ChkUsrCodAndGetAllUsrDataFromUsrCod (&UsrDat);
|
Usr_ChkUsrCodAndGetAllUsrDataFromUsrCod (&UsrDat);
|
||||||
fprintf (Gbl.F.Out,"<td align=\"left\" width=\"100\" valign=\"top\">"
|
fprintf (Gbl.F.Out,"<td align=\"left\" width=\"100\" valign=\"top\">"
|
||||||
"<table width=\"100\" class=\"CELLS_PAD_2\">"
|
"<table class=\"CELLS_PAD_2\" style=\"width:100px;\">"
|
||||||
"<tr>");
|
"<tr>");
|
||||||
Msg_WriteMsgAuthor (&UsrDat,80,10,"DAT",true,NULL);
|
Msg_WriteMsgAuthor (&UsrDat,80,10,"DAT",true,NULL);
|
||||||
fprintf (Gbl.F.Out,"</tr>"
|
fprintf (Gbl.F.Out,"</tr>"
|
||||||
|
@ -1705,7 +1705,7 @@ static void Ins_PutFormToCreateInstitution (void)
|
||||||
|
|
||||||
/***** Centre requester *****/
|
/***** Centre requester *****/
|
||||||
fprintf (Gbl.F.Out,"<td align=\"left\" width=\"100\" valign=\"top\">"
|
fprintf (Gbl.F.Out,"<td align=\"left\" width=\"100\" valign=\"top\">"
|
||||||
"<table width=\"100\" class=\"CELLS_PAD_2\">"
|
"<table class=\"CELLS_PAD_2\" style=\"width:100px;\">"
|
||||||
"<tr>");
|
"<tr>");
|
||||||
Msg_WriteMsgAuthor (&Gbl.Usrs.Me.UsrDat,80,10,"DAT",true,NULL);
|
Msg_WriteMsgAuthor (&Gbl.Usrs.Me.UsrDat,80,10,"DAT",true,NULL);
|
||||||
fprintf (Gbl.F.Out,"</tr>"
|
fprintf (Gbl.F.Out,"</tr>"
|
||||||
|
|
|
@ -271,7 +271,7 @@ void Lay_WriteStartOfPage (void)
|
||||||
Gbl.Prefs.IconsURL);
|
Gbl.Prefs.IconsURL);
|
||||||
|
|
||||||
/***** Header of layout *****/
|
/***** Header of layout *****/
|
||||||
fprintf (Gbl.F.Out,"<table width=\"100%%\">");
|
fprintf (Gbl.F.Out,"<table style=\"width:100%%;\">");
|
||||||
|
|
||||||
Lay_WritePageTopHeading ();
|
Lay_WritePageTopHeading ();
|
||||||
|
|
||||||
|
@ -284,7 +284,7 @@ void Lay_WriteStartOfPage (void)
|
||||||
}
|
}
|
||||||
fprintf (Gbl.F.Out,"<td colspan=\"%u\" align=\"center\" valign=\"top\">"
|
fprintf (Gbl.F.Out,"<td colspan=\"%u\" align=\"center\" valign=\"top\">"
|
||||||
"<div id=\"CENTRAL_ZONE\" style=\"background-color:%s;vertical-align:top;\">"
|
"<div id=\"CENTRAL_ZONE\" style=\"background-color:%s;vertical-align:top;\">"
|
||||||
"<table width=\"100%%\" style=\"vertical-align:top;\">"
|
"<table style=\"width:100%%; vertical-align:top;\">"
|
||||||
"<tr>",
|
"<tr>",
|
||||||
ColspanCentralPart,
|
ColspanCentralPart,
|
||||||
The_TabOnBgColors[Gbl.Prefs.Theme]);
|
The_TabOnBgColors[Gbl.Prefs.Theme]);
|
||||||
|
@ -604,7 +604,7 @@ static void Lay_WritePageTopHeading (void)
|
||||||
Cfg_PLATFORM_FULL_NAME);
|
Cfg_PLATFORM_FULL_NAME);
|
||||||
fprintf (Gbl.F.Out,"</td>");
|
fprintf (Gbl.F.Out,"</td>");
|
||||||
fprintf (Gbl.F.Out,"<td align=\"center\" valign=\"middle\">"
|
fprintf (Gbl.F.Out,"<td align=\"center\" valign=\"middle\">"
|
||||||
"<table width=\"100%%\">"
|
"<table style=\"width:100%%;\">"
|
||||||
"<tr>");
|
"<tr>");
|
||||||
/***** 1st. row, 2nd. column: search, and logged user / language selection *****/
|
/***** 1st. row, 2nd. column: search, and logged user / language selection *****/
|
||||||
if (Gbl.Prefs.Layout == Lay_LAYOUT_DESKTOP)
|
if (Gbl.Prefs.Layout == Lay_LAYOUT_DESKTOP)
|
||||||
|
@ -955,7 +955,7 @@ static void Lay_DrawTabsMobile (void)
|
||||||
bool ICanViewTab;
|
bool ICanViewTab;
|
||||||
|
|
||||||
/***** Table start *****/
|
/***** Table start *****/
|
||||||
fprintf (Gbl.F.Out,"<table width=\"100%%\">");
|
fprintf (Gbl.F.Out,"<table style=\"width:100%%;\">");
|
||||||
|
|
||||||
/***** Loop to write all tabs. Each row holds a tab *****/
|
/***** Loop to write all tabs. Each row holds a tab *****/
|
||||||
for (NumTabVisible = 0, NumTab = (Act_Tab_t) 1;
|
for (NumTabVisible = 0, NumTab = (Act_Tab_t) 1;
|
||||||
|
@ -1201,7 +1201,7 @@ static void Lay_WriteMenuThisTabMobile (void)
|
||||||
const char *Title;
|
const char *Title;
|
||||||
|
|
||||||
/***** Table start *****/
|
/***** Table start *****/
|
||||||
fprintf (Gbl.F.Out,"<table width=\"100%%\">");
|
fprintf (Gbl.F.Out,"<table style=\"width:100%%;\">");
|
||||||
|
|
||||||
/***** Loop to write all options in menu. Each row holds an option *****/
|
/***** Loop to write all options in menu. Each row holds an option *****/
|
||||||
for (NumOptInMenu = NumOptVisible = 0;
|
for (NumOptInMenu = NumOptVisible = 0;
|
||||||
|
@ -1345,10 +1345,10 @@ static void Lay_ShowLeftColumn (void)
|
||||||
{
|
{
|
||||||
struct Act_ListMFUActions ListMFUActions;
|
struct Act_ListMFUActions ListMFUActions;
|
||||||
|
|
||||||
fprintf (Gbl.F.Out,"<table width=\"128\">"
|
fprintf (Gbl.F.Out,"<table style=\"width:128px;\">"
|
||||||
"<tr>"
|
"<tr>"
|
||||||
"<td align=\"left\" valign=\"top\">"
|
"<td align=\"left\" valign=\"top\">"
|
||||||
"<table width=\"128\" style=\"border-spacing:4px;\">");
|
"<table style=\"width:128px; border-spacing:4px;\">");
|
||||||
|
|
||||||
/***** Most frequently used actions *****/
|
/***** Most frequently used actions *****/
|
||||||
if (Gbl.Usrs.Me.Logged)
|
if (Gbl.Usrs.Me.Logged)
|
||||||
|
@ -1400,11 +1400,11 @@ static void Lay_ShowRightColumn (void)
|
||||||
Gbl.Usrs.Connected.WhereToShow = Con_SHOW_ON_RIGHT_COLUMN;
|
Gbl.Usrs.Connected.WhereToShow = Con_SHOW_ON_RIGHT_COLUMN;
|
||||||
|
|
||||||
/***** Connected users *****/
|
/***** Connected users *****/
|
||||||
fprintf (Gbl.F.Out,"<table width=\"100%%\">"
|
fprintf (Gbl.F.Out,"<table style=\"width:100%%;\">"
|
||||||
"<tr>"
|
"<tr>"
|
||||||
"<td align=\"right\" valign=\"top\""
|
"<td align=\"right\" valign=\"top\""
|
||||||
" style=\"background-image: url('%s/head_base_background_1x56.gif'); background-repeat: repeat-x;\">"
|
" style=\"background-image: url('%s/head_base_background_1x56.gif'); background-repeat: repeat-x;\">"
|
||||||
"<table width=\"100%%\" style=\"padding-top:56px; border-spacing:4px;\">",
|
"<table style=\"width:100%%; padding-top:56px; border-spacing:4px;\">",
|
||||||
Gbl.Prefs.PathTheme);
|
Gbl.Prefs.PathTheme);
|
||||||
|
|
||||||
/***** Banners *****/
|
/***** Banners *****/
|
||||||
|
@ -1818,7 +1818,7 @@ void Lay_WriteHeaderClassPhoto (unsigned NumColumns,bool PrintView,bool DrawingC
|
||||||
/***** Table start *****/
|
/***** Table start *****/
|
||||||
fprintf (Gbl.F.Out,"<tr>"
|
fprintf (Gbl.F.Out,"<tr>"
|
||||||
"<td align=\"center\" colspan=\"%u\">"
|
"<td align=\"center\" colspan=\"%u\">"
|
||||||
"<table width=\"100%%\" style=\"padding:10px;\">"
|
"<table style=\"width:100%%; padding:10px;\">"
|
||||||
"<tr>",
|
"<tr>",
|
||||||
NumColumns);
|
NumColumns);
|
||||||
|
|
||||||
|
|
|
@ -740,7 +740,7 @@ void Lnk_WriteMenuWithInstitutionalLinks (void)
|
||||||
fprintf (Gbl.F.Out,"<tr>" \
|
fprintf (Gbl.F.Out,"<tr>" \
|
||||||
"<td align=\"center\" width=\"120\" class=\"INS_LNK\">" \
|
"<td align=\"center\" width=\"120\" class=\"INS_LNK\">" \
|
||||||
"<div id=\"institutional_links\">" \
|
"<div id=\"institutional_links\">" \
|
||||||
"<table width=\"110\">");
|
"<table style=\"width:110px;\">");
|
||||||
|
|
||||||
/***** Write all the links *****/
|
/***** Write all the links *****/
|
||||||
for (NumLnk = 0;
|
for (NumLnk = 0;
|
||||||
|
|
|
@ -779,7 +779,7 @@ void Mai_WriteMenuWithMailDomains (void)
|
||||||
Txt_Mail_domains_allowed_for_notifications);
|
Txt_Mail_domains_allowed_for_notifications);
|
||||||
|
|
||||||
/***** Start table *****/
|
/***** Start table *****/
|
||||||
fprintf (Gbl.F.Out,"<table width=\"120\">"
|
fprintf (Gbl.F.Out,"<table style=\"width:120px;\">"
|
||||||
"<tr>"
|
"<tr>"
|
||||||
"<td align=\"left\" width=\"4\"><img src=\"%s/ewbw1_4x4.gif\" width=\"4\" height=\"4\" alt=\"\" /></td>"
|
"<td align=\"left\" width=\"4\"><img src=\"%s/ewbw1_4x4.gif\" width=\"4\" height=\"4\" alt=\"\" /></td>"
|
||||||
"<td align=\"left\" style=\"background-image: url('%s/mbw1_1x4.gif'); background-repeat: repeat-x;\"></td>"
|
"<td align=\"left\" style=\"background-image: url('%s/mbw1_1x4.gif'); background-repeat: repeat-x;\"></td>"
|
||||||
|
|
|
@ -1574,7 +1574,7 @@ static void Msg_ShowSentOrReceivedMessages (Msg_TypeOfMessages_t TypeOfMessages)
|
||||||
Lay_StartRoundFrameTable10 ("100%",0,NULL);
|
Lay_StartRoundFrameTable10 ("100%",0,NULL);
|
||||||
fprintf (Gbl.F.Out,"<tr>"
|
fprintf (Gbl.F.Out,"<tr>"
|
||||||
"<td align=\"center\" width=\"100%%\">"
|
"<td align=\"center\" width=\"100%%\">"
|
||||||
"<table width=\"100%%\" class=\"CELLS_PAD_2\">");
|
"<table class=\"CELLS_PAD_2\" style=\"width:100%%;\">");
|
||||||
|
|
||||||
mysql_data_seek (mysql_res,(my_ulonglong) (Pagination.FirstItemVisible-1));
|
mysql_data_seek (mysql_res,(my_ulonglong) (Pagination.FirstItemVisible-1));
|
||||||
for (NumRow = Pagination.FirstItemVisible;
|
for (NumRow = Pagination.FirstItemVisible;
|
||||||
|
@ -2489,7 +2489,7 @@ static void Msg_ShowASentOrReceivedMessage (Msg_TypeOfMessages_t TypeOfMessages,
|
||||||
/***** Put an icon with message status *****/
|
/***** Put an icon with message status *****/
|
||||||
fprintf (Gbl.F.Out,"<tr>"
|
fprintf (Gbl.F.Out,"<tr>"
|
||||||
"<td align=\"center\" valign=\"top\" width=\"16\" class=\"%s\">"
|
"<td align=\"center\" valign=\"top\" width=\"16\" class=\"%s\">"
|
||||||
"<table width=\"16\">"
|
"<table style=\"width:16px;\">"
|
||||||
"<tr>"
|
"<tr>"
|
||||||
"<td align=\"center\" valign=\"top\" width=\"16\">"
|
"<td align=\"center\" valign=\"top\" width=\"16\">"
|
||||||
"<img src=\"%s/msg-%s16x16.gif\""
|
"<img src=\"%s/msg-%s16x16.gif\""
|
||||||
|
|
|
@ -676,7 +676,8 @@ static void Pho_UpdatePhoto2 (void)
|
||||||
unsigned NumPhoto;
|
unsigned NumPhoto;
|
||||||
|
|
||||||
/***** Show the three images resulting of the processing *****/
|
/***** Show the three images resulting of the processing *****/
|
||||||
fprintf (Gbl.F.Out,"<table width=\"100%%\"><tr>");
|
fprintf (Gbl.F.Out,"<table style=\"width:100%%;\">"
|
||||||
|
"<tr>");
|
||||||
for (NumPhoto = 0;
|
for (NumPhoto = 0;
|
||||||
NumPhoto < 3;
|
NumPhoto < 3;
|
||||||
NumPhoto++)
|
NumPhoto++)
|
||||||
|
|
|
@ -1498,7 +1498,7 @@ void Rec_ShowCrsRecord (Rec_RecordViewType_t TypeOfView,struct UsrData *UsrDat)
|
||||||
/***** Header *****/
|
/***** Header *****/
|
||||||
fprintf (Gbl.F.Out,"<tr>"
|
fprintf (Gbl.F.Out,"<tr>"
|
||||||
"<td align=\"left\" colspan=\"2\" valign=\"top\">"
|
"<td align=\"left\" colspan=\"2\" valign=\"top\">"
|
||||||
"<table width=\"100%%\">"
|
"<table style=\"width:100%%;\">"
|
||||||
"<tr>"
|
"<tr>"
|
||||||
"<td align=\"left\" width=\"%u\">",
|
"<td align=\"left\" width=\"%u\">",
|
||||||
Rec_DEGREE_LOGO_SIZE);
|
Rec_DEGREE_LOGO_SIZE);
|
||||||
|
|
|
@ -1441,7 +1441,7 @@ static void Sta_ShowDetailedAccessesList (unsigned long NumRows,MYSQL_RES *mysql
|
||||||
/***** Put heading with backward and forward buttons *****/
|
/***** Put heading with backward and forward buttons *****/
|
||||||
fprintf (Gbl.F.Out,"<tr>"
|
fprintf (Gbl.F.Out,"<tr>"
|
||||||
"<td align=\"left\" colspan=\"7\">"
|
"<td align=\"left\" colspan=\"7\">"
|
||||||
"<table width=\"100%%\" class=\"CELLS_PAD_2\">"
|
"<table class=\"CELLS_PAD_2\" style=\"width:100%%;\">"
|
||||||
"<tr>");
|
"<tr>");
|
||||||
|
|
||||||
/* Put link to jump to previous page (older clicks) */
|
/* Put link to jump to previous page (older clicks) */
|
||||||
|
@ -2135,7 +2135,7 @@ static void Sta_DrawBarColors (Sta_ColorType_t ColorType,float MaxPagesGenerated
|
||||||
unsigned Interval,NumColor,R,G,B;
|
unsigned Interval,NumColor,R,G,B;
|
||||||
|
|
||||||
/***** Write numbers from 0 to MaxPagesGenerated *****/
|
/***** Write numbers from 0 to MaxPagesGenerated *****/
|
||||||
fprintf (Gbl.F.Out,"<table width=\"100%%\">"
|
fprintf (Gbl.F.Out,"<table style=\"width:100%%;\">"
|
||||||
"<tr>"
|
"<tr>"
|
||||||
"<td align=\"left\" valign=\"bottom\" width=\"%u\" colspan=\"%u\" class=\"LOG\">0</td>",
|
"<td align=\"left\" valign=\"bottom\" width=\"%u\" colspan=\"%u\" class=\"LOG\">0</td>",
|
||||||
(GRAPH_DISTRIBUTION_PER_HOUR_TOTAL_WIDTH/5)/2,(GRAPH_DISTRIBUTION_PER_HOUR_TOTAL_WIDTH/5)/2);
|
(GRAPH_DISTRIBUTION_PER_HOUR_TOTAL_WIDTH/5)/2,(GRAPH_DISTRIBUTION_PER_HOUR_TOTAL_WIDTH/5)/2);
|
||||||
|
|
|
@ -3108,7 +3108,7 @@ static void Svy_WriteAnswersOfAQst (struct Survey *Svy,struct SurveyQuestion *Sv
|
||||||
NumAnswers = Svy_GetAnswersQst (SvyQst->QstCod,&mysql_res); // Result: AnsInd,NumUsrs,Answer
|
NumAnswers = Svy_GetAnswersQst (SvyQst->QstCod,&mysql_res); // Result: AnsInd,NumUsrs,Answer
|
||||||
|
|
||||||
/***** Write the answers *****/
|
/***** Write the answers *****/
|
||||||
fprintf (Gbl.F.Out,"<table width=\"100%%\" class=\"CELLS_PAD_4\">");
|
fprintf (Gbl.F.Out,"<table class=\"CELLS_PAD_4\" style=\"width:100%%;\">");
|
||||||
for (NumAns = 0;
|
for (NumAns = 0;
|
||||||
NumAns < NumAnswers;
|
NumAns < NumAnswers;
|
||||||
NumAns++)
|
NumAns++)
|
||||||
|
|
|
@ -146,7 +146,7 @@ void Syl_EditSyllabus (void)
|
||||||
Lay_StartRoundFrameTable10 (NULL,0,Txt_INFO_TITLE[InfoType]);
|
Lay_StartRoundFrameTable10 (NULL,0,Txt_INFO_TITLE[InfoType]);
|
||||||
fprintf (Gbl.F.Out,"<tr>"
|
fprintf (Gbl.F.Out,"<tr>"
|
||||||
"<td align=\"left\">"
|
"<td align=\"left\">"
|
||||||
"<table width=\"100%%\" class=\"CELLS_PAD_1\">");
|
"<table class=\"CELLS_PAD_1\" style=\"width:100%%;\">");
|
||||||
|
|
||||||
/***** Write the current syllabus *****/
|
/***** Write the current syllabus *****/
|
||||||
Syl_ShowSyllabus (InfoType);
|
Syl_ShowSyllabus (InfoType);
|
||||||
|
|
|
@ -5071,7 +5071,7 @@ void Usr_ListAllDataGsts (void)
|
||||||
|
|
||||||
/***** Start table with list of guests *****/
|
/***** Start table with list of guests *****/
|
||||||
/* Start row */
|
/* Start row */
|
||||||
fprintf (Gbl.F.Out,"<table width=\"100%%\">"
|
fprintf (Gbl.F.Out,"<table style=\"width:100%%;\">"
|
||||||
"<tr>");
|
"<tr>");
|
||||||
|
|
||||||
/* Columns for the data */
|
/* Columns for the data */
|
||||||
|
@ -5203,7 +5203,7 @@ void Usr_ListAllDataStds (void)
|
||||||
Lay_ShowErrorAndExit ("Not enough memory to store names of groups.");
|
Lay_ShowErrorAndExit ("Not enough memory to store names of groups.");
|
||||||
|
|
||||||
/***** Start table with list of students *****/
|
/***** Start table with list of students *****/
|
||||||
fprintf (Gbl.F.Out,"<table width=\"100%%\">");
|
fprintf (Gbl.F.Out,"<table style=\"width:100%%;\">");
|
||||||
if (!Gbl.Usrs.ClassPhoto.AllGroups)
|
if (!Gbl.Usrs.ClassPhoto.AllGroups)
|
||||||
{
|
{
|
||||||
fprintf (Gbl.F.Out,"<tr>"
|
fprintf (Gbl.F.Out,"<tr>"
|
||||||
|
@ -5431,7 +5431,7 @@ void Usr_ListAllDataTchs (void)
|
||||||
|
|
||||||
/***** Start table with list of teachers *****/
|
/***** Start table with list of teachers *****/
|
||||||
/* Start row */
|
/* Start row */
|
||||||
fprintf (Gbl.F.Out,"<table width=\"100%%\">"
|
fprintf (Gbl.F.Out,"<table style=\"width:100%%;\">"
|
||||||
"<tr>");
|
"<tr>");
|
||||||
for (NumCol = (Gbl.Usrs.Listing.WithPhotos ? 0 :
|
for (NumCol = (Gbl.Usrs.Listing.WithPhotos ? 0 :
|
||||||
1);
|
1);
|
||||||
|
|
Loading…
Reference in New Issue
Block a user