From 781f87d7f2bf678dda93fbb6e15989803a0828dc Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Antonio=20Ca=C3=B1as=20Vargas?= Date: Sun, 21 Dec 2014 17:38:32 +0100 Subject: [PATCH] Version 14.39.4 --- css/swad_desktop.css | 7 ++++++- css/swad_mobile.css | 7 ++++++- swad_action.c | 2 +- swad_assignment.c | 8 ++++---- swad_attendance.c | 4 ++-- swad_centre.c | 4 ++-- swad_changelog.h | 3 ++- swad_chat.c | 2 +- swad_connected.c | 6 +++--- swad_course.c | 4 ++-- swad_date.c | 21 +++++++++++++-------- swad_degree.c | 6 +++--- swad_enrollment.c | 2 +- swad_exam.c | 4 ++-- swad_file_browser.c | 8 ++++---- swad_forum.c | 8 ++++---- swad_group.c | 6 +++--- swad_icon.c | 2 +- swad_indicator.c | 4 ++-- swad_info.c | 4 ++-- swad_institution.c | 4 ++-- swad_layout.c | 32 ++++++++++++++++---------------- swad_link.c | 2 +- swad_mail.c | 2 +- swad_message.c | 20 ++++++++++++-------- swad_notification.c | 2 +- swad_pagination.c | 2 +- swad_photo.c | 4 ++-- swad_preference.c | 9 ++++++--- swad_record.c | 4 ++-- swad_statistic.c | 8 ++++---- swad_survey.c | 10 +++++----- swad_syllabus.c | 2 +- swad_test.c | 33 +++++++++++++++++---------------- swad_test_import.c | 4 ++-- swad_theme.c | 2 +- swad_timetable.c | 2 +- swad_user.c | 6 +++--- swad_zip.c | 2 +- 39 files changed, 143 insertions(+), 119 deletions(-) diff --git a/css/swad_desktop.css b/css/swad_desktop.css index af4cb109d..63b915b14 100644 --- a/css/swad_desktop.css +++ b/css/swad_desktop.css @@ -34,7 +34,12 @@ body input {font-family:Arial, Nimbus Sans L, DejaVu LGC Sans, Bitstream Vera Sans, sans-serif; font-size:10pt;} select {font-family:Arial, Nimbus Sans L, DejaVu LGC Sans, Bitstream Vera Sans, sans-serif; font-size:10pt;} textarea {font-size:8pt;} -table {border-width:0px; border-style:none;} +table + { + border-width:0px; + border-style:none; + border-spacing:0px; + } img {border-width:0px; border-style:none;} form {margin:0px; display:inline;} p {margin:0px;} diff --git a/css/swad_mobile.css b/css/swad_mobile.css index 0cc48c65f..b3c070d68 100644 --- a/css/swad_mobile.css +++ b/css/swad_mobile.css @@ -34,7 +34,12 @@ body input {font-Family:Arial, Nimbus Sans L, DejaVu LGC Sans, Bitstream Vera Sans, sans-serif; font-size:16pt;} select {font-Family:Arial, Nimbus Sans L, DejaVu LGC Sans, Bitstream Vera Sans, sans-serif; font-size:16pt;} textarea {font-size:12pt;} -table {border-width:0px; border-style:none;} +table + { + border-width:0px; + border-style:none; + border-spacing:0px; + } img {border-width:0px; border-style:none;} form {margin:0px; display:inline;} p {margin:0px;} diff --git a/swad_action.c b/swad_action.c index 83bf4d6bb..7668d0010 100644 --- a/swad_action.c +++ b/swad_action.c @@ -4138,7 +4138,7 @@ void Act_WriteSmallMFUActions (struct Act_ListMFUActions *ListMFUActions) fprintf (Gbl.F.Out," %s",Txt_Frequent_actions); fprintf (Gbl.F.Out,"
" - ""); + "
"); /***** Write list of frequently used actions *****/ for (NumAct = 0; diff --git a/swad_assignment.c b/swad_assignment.c index f9df63a98..339f82295 100644 --- a/swad_assignment.c +++ b/swad_assignment.c @@ -266,7 +266,7 @@ static void Asg_ShowOneAssignment (long AsgCod) /* Send work? */ fprintf (Gbl.F.Out,"
" - "" + "
" "" "
" "SendWork == Asg_SEND_WORK) { /***** Folder icon *****/ - fprintf (Gbl.F.Out,"" + fprintf (Gbl.F.Out,"
" "" "
"); if (Asg->Open && @@ -484,7 +484,7 @@ static void Asg_PutFormsToRemEditOneAsg (long AsgCod,bool Hidden) extern const char *Txt_Hide; extern const char *Txt_Edit; - fprintf (Gbl.F.Out,"" + fprintf (Gbl.F.Out,"
" ""); /***** Put form to remove assignment *****/ @@ -1152,7 +1152,7 @@ void Asg_RequestCreatOrEditAsg (void) fprintf (Gbl.F.Out,"" "" "
%s:" - "" + "
" "" "
", Dates[StartOrEndTime]); diff --git a/swad_attendance.c b/swad_attendance.c index d6c2e0805..e30054015 100644 --- a/swad_attendance.c +++ b/swad_attendance.c @@ -468,7 +468,7 @@ static void Att_PutFormsToRemEditOneAttEvent (long AttCod,bool Hidden) extern const char *Txt_Edit; /***** Put form to remove attendance event *****/ - fprintf (Gbl.F.Out,"" + fprintf (Gbl.F.Out,"
" "" "" "" "
"); Act_FormStart (ActReqRemAtt); @@ -1104,7 +1104,7 @@ void Att_RequestCreatOrEditAttEvent (void) fprintf (Gbl.F.Out,"
%s:" - "" + "
" "" "
", Dates[StartOrEndTime]); diff --git a/swad_centre.c b/swad_centre.c index bbdf33b60..73e5ecf3b 100644 --- a/swad_centre.c +++ b/swad_centre.c @@ -1246,7 +1246,7 @@ static void Ctr_ListCentresForEdition (void) UsrDat.UsrCod = Ctr->RequesterUsrCod; Usr_ChkUsrCodAndGetAllUsrDataFromUsrCod (&UsrDat); fprintf (Gbl.F.Out,"" - "" + "
" ""); Msg_WriteMsgAuthor (&UsrDat,80,10,"DAT",true,NULL); fprintf (Gbl.F.Out,"" @@ -1943,7 +1943,7 @@ static void Ctr_PutFormToCreateCentre (void) /***** Centre requester *****/ fprintf (Gbl.F.Out,"
" - "" + "
" ""); Msg_WriteMsgAuthor (&Gbl.Usrs.Me.UsrDat,80,10,"DAT",true,NULL); fprintf (Gbl.F.Out,"" diff --git a/swad_changelog.h b/swad_changelog.h index 6a4a841be..04d10d022 100644 --- a/swad_changelog.h +++ b/swad_changelog.h @@ -35,11 +35,12 @@ /****************************** Public constants *****************************/ /*****************************************************************************/ -#define Log_PLATFORM_VERSION "SWAD 14.39.3 (2014/12/21)" +#define Log_PLATFORM_VERSION "SWAD 14.39.4 (2014/12/21)" // 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.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. Charset is changed from ISO-8859-1 to windows-1252. (170664 lines) Version 14.39.2 :Dic 21, 2014 Changes in layout and graphics. (170739 lines) diff --git a/swad_chat.c b/swad_chat.c index b32b0424a..64d734b8c 100644 --- a/swad_chat.c +++ b/swad_chat.c @@ -277,7 +277,7 @@ static void Cht_WriteLinkToChat (const char *Icon,const char *RoomCode,const cha fprintf (Gbl.F.Out,"" "
" - "" + "
" ""); Msg_IndentDependingOnLevel (Level,IsLastItemInLevel); diff --git a/swad_connected.c b/swad_connected.c index 0858a6062..aa900e334 100644 --- a/swad_connected.c +++ b/swad_connected.c @@ -251,7 +251,7 @@ void Con_ShowGlobalConnectedUsrs (void) /***** Start table *****/ fprintf (Gbl.F.Out,"
" - "
"); + "
"); /***** Write total number of sessions *****/ fprintf (Gbl.F.Out,"" @@ -394,11 +394,11 @@ void Con_ShowConnectedUsrsBelongingToScope (void) { case Con_SHOW_ON_MAIN_ZONE: fprintf (Gbl.F.Out,"
" - "
"); + "
"); break; case Con_SHOW_ON_RIGHT_COLUMN: fprintf (Gbl.F.Out,"
" - "
"); + "
"); break; } diff --git a/swad_course.c b/swad_course.c index 0bab299ed..5a37cf430 100644 --- a/swad_course.c +++ b/swad_course.c @@ -1246,7 +1246,7 @@ static void Crs_ListCoursesForEdition (void) UsrDat.UsrCod = Crs->RequesterUsrCod; Usr_ChkUsrCodAndGetAllUsrDataFromUsrCod (&UsrDat); fprintf (Gbl.F.Out,"
" - "" + "
" ""); Msg_WriteMsgAuthor (&UsrDat,80,10,"DAT",true,NULL); fprintf (Gbl.F.Out,"" @@ -1429,7 +1429,7 @@ static void Crs_PutFormToCreateCourse (void) /***** Course requester *****/ fprintf (Gbl.F.Out,"
" - "" + "
" ""); Msg_WriteMsgAuthor (&Gbl.Usrs.Me.UsrDat,80,10,"DAT",true,NULL); fprintf (Gbl.F.Out,"" diff --git a/swad_date.c b/swad_date.c index 3104f6da1..b11216b4b 100644 --- a/swad_date.c +++ b/swad_date.c @@ -266,7 +266,7 @@ void Dat_DrawCalendar (void) /***** Draw several months *****/ fprintf (Gbl.F.Out,"" "
" - ""); + "
"); for (Row = 0; Row < 4; Row++) @@ -354,7 +354,7 @@ void Dat_DrawMonth (unsigned RealYear,unsigned RealMonth, /***** Start of month *****/ fprintf (Gbl.F.Out,"
" "
%s %u
" - "
", + "
", Txt_MONTHS_CAPS[RealMonth-1],RealYear); /***** Month head: first letter for each day of week *****/ @@ -465,7 +465,7 @@ void Dat_DrawMonth (unsigned RealYear,unsigned RealMonth, if (PutLinkToEvents && ThisDayHasEvent) { Act_FormStart (ActSeeExaAnn); - fprintf (Gbl.F.Out,"
" + fprintf (Gbl.F.Out,"
" "" "
", ClassForDay); @@ -632,9 +632,10 @@ void Dat_WriteFormDate (unsigned FirstYear,unsigned LastYear, extern const char *Txt_MONTHS_SMALL[12]; /***** Day *****/ - fprintf (Gbl.F.Out,"" + fprintf (Gbl.F.Out,"
" "" - "" + "" + "
" + fprintf (Gbl.F.Out,"" + "" "" + fprintf (Gbl.F.Out,"" + "" "" "" "
" ""); + "
"); /***** Write a 1st selector with all the countries *****/ @@ -1542,7 +1542,7 @@ static void Deg_ListDegreesForEdition (void) UsrDat.UsrCod = Deg->RequesterUsrCod; Usr_ChkUsrCodAndGetAllUsrDataFromUsrCod (&UsrDat); fprintf (Gbl.F.Out,"
" - "" + "
" ""); Msg_WriteMsgAuthor (&UsrDat,80,10,"DAT",true,NULL); fprintf (Gbl.F.Out,"" @@ -1806,7 +1806,7 @@ static void Deg_PutFormToCreateDegree (void) /***** Degree requester *****/ fprintf (Gbl.F.Out,"
" - "" + "
" ""); Msg_WriteMsgAuthor (&Gbl.Usrs.Me.UsrDat,80,10,"DAT",true,NULL); fprintf (Gbl.F.Out,"" diff --git a/swad_enrollment.c b/swad_enrollment.c index 3eb083b70..13086cc0f 100644 --- a/swad_enrollment.c +++ b/swad_enrollment.c @@ -1917,7 +1917,7 @@ void Enr_ShowEnrollmentRequests (void) /* Start form */ Act_FormStart (ActSeeSignUpReq); fprintf (Gbl.F.Out,"
" - "
"); + "
"); /* Scope (whole platform, current centre, current degree or current course) */ fprintf (Gbl.F.Out,"" diff --git a/swad_exam.c b/swad_exam.c index 2028f7d76..056e03d9a 100644 --- a/swad_exam.c +++ b/swad_exam.c @@ -780,10 +780,10 @@ static void Exa_ShowExamAnnouncement (long ExaCod,Exa_tTypeViewExamAnnouncement_ Lay_StartRoundFrameTable10 ("500px",0,NULL); fprintf (Gbl.F.Out,"" \ "
" \ - "" \ + "
" \ "" \ "
" \ - ""); + "
"); /***** Institution logo *****/ fprintf (Gbl.F.Out,"" \ diff --git a/swad_file_browser.c b/swad_file_browser.c index c1db9b947..33cbecd1e 100644 --- a/swad_file_browser.c +++ b/swad_file_browser.c @@ -3542,7 +3542,7 @@ static bool Brw_WriteRowFileBrowser (unsigned Level, /***** Indentation depending on level, icon, and file/folder name *****/ /* Start of the column */ fprintf (Gbl.F.Out,"
" - "", + "
", Gbl.ColorRows[Gbl.RowEvenOdd]); /* Indent depending on level */ @@ -3909,7 +3909,7 @@ static void Brw_IndentAndWriteIconExpandContract (unsigned Level,Brw_ExpandTree_ extern const char *Txt_Contract_FOLDER_X; fprintf (Gbl.F.Out,"
" - "" + "
" ""); Brw_IndentDependingOnLevel (Level); fprintf (Gbl.F.Out,"
",Gbl.RowEvenOdd); @@ -4548,7 +4548,7 @@ static void Brw_WriteDatesAssignment (void) if (Gbl.FileBrowser.Asg.AsgCod > 0) { - fprintf (Gbl.F.Out,"" + fprintf (Gbl.F.Out,"
" ""); /***** Write start date *****/ @@ -7509,7 +7509,7 @@ void Brw_ShowFileMetadata (void) } /***** Start table *****/ - fprintf (Gbl.F.Out,"
"); + fprintf (Gbl.F.Out,"
"); /***** Link to download the file *****/ fprintf (Gbl.F.Out,"" diff --git a/swad_forum.c b/swad_forum.c index 056974d1b..438fc0ef2 100644 --- a/swad_forum.c +++ b/swad_forum.c @@ -858,7 +858,7 @@ static void For_ShowThreadPosts (long ThrCod,char *LastSubject) /* Write thread title */ fprintf (Gbl.F.Out,"" "
" - "" + "
" ""); IsLastItemInLevel[2] = true; Msg_IndentDependingOnLevel (2,IsLastItemInLevel); @@ -929,7 +929,7 @@ static void For_ShowThreadPosts (long ThrCod,char *LastSubject) Lay_StartRoundFrameTable10 (NULL,0,NULL); fprintf (Gbl.F.Out,"" "
" - ""); + "
"); mysql_data_seek (mysql_res,(my_ulonglong) (Pagination.FirstItemVisible-1)); 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) *****/ fprintf (Gbl.F.Out,"" "
" - ""); + "
"); /* Write author */ fprintf (Gbl.F.Out,""); @@ -2045,7 +2045,7 @@ static void For_WriteLinkToForum (For_ForumType_t ForumType,Act_Action_t NextAct /***** Start row *****/ fprintf (Gbl.F.Out,"" "
" - "" + "
" ""); /***** Indent forum title *****/ diff --git a/swad_group.c b/swad_group.c index 96eb7ab6d..4761e4ee4 100644 --- a/swad_group.c +++ b/swad_group.c @@ -1205,7 +1205,7 @@ static void Grp_ListGroupTypesForEdition (void) fprintf (Gbl.F.Out,"
"); Act_FormStart (ActChgTimGrpTyp); Grp_PutParamGrpTypCod (Gbl.CurrentCrs.Grps.GrpTypes.LstGrpTypes[NumGrpTyp].GrpTypCod); - fprintf (Gbl.F.Out,"" + fprintf (Gbl.F.Out,"
" "" "
" "" - "" + "
" "" "
" "\"\"" + fprintf (Gbl.F.Out,"" ""); for (WhichGrps = Grp_ONLY_MY_GROUPS; WhichGrps <= Grp_ALL_GROUPS; diff --git a/swad_icon.c b/swad_icon.c index a94b67f7d..6ed6d6985 100644 --- a/swad_icon.c +++ b/swad_icon.c @@ -68,7 +68,7 @@ void Ico_PutIconsToSelectIconSet (void) { Ico_IconSet_t IconSet; - fprintf (Gbl.F.Out,"
" + fprintf (Gbl.F.Out,"
" ""); for (IconSet = (Ico_IconSet_t) 0; IconSet < Ico_NUM_ICON_SETS; diff --git a/swad_indicator.c b/swad_indicator.c index 017dad1de..641f4317e 100644 --- a/swad_indicator.c +++ b/swad_indicator.c @@ -92,7 +92,7 @@ void Ind_ReqIndicatorsCourses (void) /* Start form */ Act_FormStart (ActReqStaCrs); fprintf (Gbl.F.Out,"
" - "
"); + "
"); /* Compute stats for anywhere, centre, degree or course? */ fprintf (Gbl.F.Out,"" @@ -495,7 +495,7 @@ static void Ind_ShowTableOfCoursesWithIndicators (Ind_IndicatorsLayout_t Indicat struct Ind_IndicatorsCrs Indicators; /***** Table start *****/ - fprintf (Gbl.F.Out,"
"); + fprintf (Gbl.F.Out,"
"); /***** Write table heading *****/ switch (IndicatorsLayout) diff --git a/swad_info.c b/swad_info.c index 3c443d42b..8036b348d 100644 --- a/swad_info.c +++ b/swad_info.c @@ -1041,7 +1041,7 @@ void Inf_FormToSendPage (Inf_InfoSrc_t InfoSrc,Inf_InfoType_t InfoType) Act_FormStart (Inf_ActionsInfo[InfoSrc][InfoType]); /***** File *****/ - fprintf (Gbl.F.Out,"
" + fprintf (Gbl.F.Out,"
" "" "" "
%s:" @@ -1074,7 +1074,7 @@ void Inf_FormToSendURL (Inf_InfoSrc_t InfoSrc,Inf_InfoType_t InfoType) Act_FormStart (Inf_ActionsInfo[InfoSrc][InfoType]); /***** Link *****/ - fprintf (Gbl.F.Out,"" + fprintf (Gbl.F.Out,"
" "" "
%s:" "RequesterUsrCod; Usr_ChkUsrCodAndGetAllUsrDataFromUsrCod (&UsrDat); fprintf (Gbl.F.Out,"" - "" + "
" ""); Msg_WriteMsgAuthor (&UsrDat,80,10,"DAT",true,NULL); fprintf (Gbl.F.Out,"" @@ -1705,7 +1705,7 @@ static void Ins_PutFormToCreateInstitution (void) /***** Centre requester *****/ fprintf (Gbl.F.Out,"
" - "" + "
" ""); Msg_WriteMsgAuthor (&Gbl.Usrs.Me.UsrDat,80,10,"DAT",true,NULL); fprintf (Gbl.F.Out,"" diff --git a/swad_layout.c b/swad_layout.c index 18c9a8d06..a6c752124 100644 --- a/swad_layout.c +++ b/swad_layout.c @@ -252,7 +252,7 @@ void Lay_WriteStartOfPage (void) fprintf (Gbl.F.Out,"\n"); /***** HTML body *****/ - fprintf (Gbl.F.Out,"\n"); @@ -266,12 +266,12 @@ void Lay_WriteStartOfPage (void) if (Act_Actions[Gbl.CurrentAct].BrowserWindow == Act_MAIN_WINDOW) fprintf (Gbl.F.Out,"
" "\"\"" - "
" + "
" "
", Gbl.Prefs.IconsURL); /***** Header of layout *****/ - fprintf (Gbl.F.Out,"
"); + fprintf (Gbl.F.Out,"
"); Lay_WritePageTopHeading (); @@ -284,7 +284,7 @@ void Lay_WriteStartOfPage (void) } fprintf (Gbl.F.Out,"
" "
" - "" + "
" "", ColspanCentralPart, The_TabOnBgColors[Gbl.Prefs.Theme]); @@ -604,7 +604,7 @@ static void Lay_WritePageTopHeading (void) Cfg_PLATFORM_FULL_NAME); fprintf (Gbl.F.Out,""); fprintf (Gbl.F.Out,"
" - "" + "
" ""); /***** 1st. row, 2nd. column: search, and logged user / language selection *****/ if (Gbl.Prefs.Layout == Lay_LAYOUT_DESKTOP) @@ -955,7 +955,7 @@ static void Lay_DrawTabsMobile (void) bool ICanViewTab; /***** Table start *****/ - fprintf (Gbl.F.Out,"
"); + fprintf (Gbl.F.Out,"
"); /***** Loop to write all tabs. Each row holds a tab *****/ for (NumTabVisible = 0, NumTab = (Act_Tab_t) 1; @@ -971,7 +971,7 @@ static void Lay_DrawTabsMobile (void) /* Icon at top and text at bottom */ fprintf (Gbl.F.Out,"
" - "" + "
" "" "
"); if (ICanViewTab) @@ -1201,7 +1201,7 @@ static void Lay_WriteMenuThisTabMobile (void) const char *Title; /***** Table start *****/ - fprintf (Gbl.F.Out,""); + fprintf (Gbl.F.Out,"
"); /***** Loop to write all options in menu. Each row holds an option *****/ for (NumOptInMenu = NumOptVisible = 0; @@ -1345,10 +1345,10 @@ static void Lay_ShowLeftColumn (void) { struct Act_ListMFUActions ListMFUActions; - fprintf (Gbl.F.Out,"
" + fprintf (Gbl.F.Out,"
" "" "
" - ""); + "
"); /***** Most frequently used actions *****/ if (Gbl.Usrs.Me.Logged) @@ -1400,11 +1400,11 @@ static void Lay_ShowRightColumn (void) Gbl.Usrs.Connected.WhereToShow = Con_SHOW_ON_RIGHT_COLUMN; /***** Connected users *****/ - fprintf (Gbl.F.Out,"
" + fprintf (Gbl.F.Out,"
" "" "
" - "", + "
", Gbl.Prefs.PathTheme); /***** Banners *****/ @@ -1524,7 +1524,7 @@ void Lay_StartRoundFrameTable10 (const char *Width,unsigned CellPadding,const ch if (Title) fprintf (Gbl.F.Out,"
%s
", Title); - fprintf (Gbl.F.Out,"
", + fprintf (Gbl.F.Out,"
", CellPadding); } @@ -1536,7 +1536,7 @@ void Lay_StartRoundFrameTable10Shadow (const char *Width,unsigned CellPadding) fprintf (Gbl.F.Out," style=\"width:%s\"", Width); fprintf (Gbl.F.Out,">" - "
", + "
", CellPadding); } @@ -1810,7 +1810,7 @@ void Lay_WriteHeaderClassPhoto (unsigned NumColumns,bool PrintView,bool DrawingC /***** Table start *****/ fprintf (Gbl.F.Out,"" "
" - "" "", NumColumns); @@ -1890,7 +1890,7 @@ void Lay_PutIconsToSelectLayout (void) extern const char *Txt_LAYOUT_NAMES[Lay_NUM_LAYOUTS]; Lay_Layout_t Layout; - fprintf (Gbl.F.Out,"
"); + fprintf (Gbl.F.Out,"
"); for (Layout = (Lay_Layout_t) 0; Layout < Lay_NUM_LAYOUTS; Layout++) diff --git a/swad_link.c b/swad_link.c index b68242ea5..5741c4d95 100644 --- a/swad_link.c +++ b/swad_link.c @@ -740,7 +740,7 @@ void Lnk_WriteMenuWithInstitutionalLinks (void) fprintf (Gbl.F.Out,"" \ "" "
" \ "
" \ - ""); + "
"); /***** Write all the links *****/ for (NumLnk = 0; diff --git a/swad_mail.c b/swad_mail.c index d2d685e74..fcef95492 100644 --- a/swad_mail.c +++ b/swad_mail.c @@ -779,7 +779,7 @@ void Mai_WriteMenuWithMailDomains (void) Txt_Mail_domains_allowed_for_notifications); /***** Start table *****/ - fprintf (Gbl.F.Out,"
" + fprintf (Gbl.F.Out,"
" "" "" "" diff --git a/swad_message.c b/swad_message.c index de1908305..748085edb 100644 --- a/swad_message.c +++ b/swad_message.c @@ -1574,7 +1574,7 @@ static void Msg_ShowSentOrReceivedMessages (Msg_TypeOfMessages_t TypeOfMessages) Lay_StartRoundFrameTable10 ("100%",0,NULL); fprintf (Gbl.F.Out,"" "
\"\"
" - ""); + "
"); mysql_data_seek (mysql_res,(my_ulonglong) (Pagination.FirstItemVisible-1)); for (NumRow = Pagination.FirstItemVisible; @@ -2209,7 +2209,8 @@ void Msg_ShowFormToFilterMsgs (Msg_TypeOfMessages_t TypeOfMessages) extern const char *Txt_MSG_Message; /***** Table start *****/ - fprintf (Gbl.F.Out,"
"); + fprintf (Gbl.F.Out,"
" + "
"); /***** Authors/recipients of the message *****/ fprintf (Gbl.F.Out,"" @@ -2224,14 +2225,17 @@ void Msg_ShowFormToFilterMsgs (Msg_TypeOfMessages_t TypeOfMessages) /***** Authors/recipients of the message *****/ fprintf (Gbl.F.Out,"" "" - "" + "" "", The_ClassFormul[Gbl.Prefs.Theme], Txt_MSG_Message, Msg_MAX_LENGTH_FILTER_CONTENT,Gbl.Msg.FilterContent); /***** Table end *****/ - fprintf (Gbl.F.Out,"
%s: " + "" + "
"); + fprintf (Gbl.F.Out,"
" + "
"); } /*****************************************************************************/ @@ -2485,7 +2489,7 @@ static void Msg_ShowASentOrReceivedMessage (Msg_TypeOfMessages_t TypeOfMessages, /***** Put an icon with message status *****/ fprintf (Gbl.F.Out,"
" - "" + "
" "" "" "
" "" "" - ""); + "
"); /***** Write course origin of message *****/ fprintf (Gbl.F.Out,"" @@ -2854,7 +2858,7 @@ static void Msg_WriteMsgFrom (struct UsrData *UsrDat,bool Deleted) char PhotoURL[PATH_MAX+1]; /***** Put an icon to show if user has read the message *****/ - fprintf (Gbl.F.Out,"
" + fprintf (Gbl.F.Out,"
" "" "" + "
" ""); + fprintf (Gbl.F.Out,""); /***** How many recipients will be shown? *****/ if (NumRecipientsKnown <= Msg_MAX_RECIPIENTS_TO_SHOW) diff --git a/swad_notification.c b/swad_notification.c index 3cfcdc69b..9574d815c 100644 --- a/swad_notification.c +++ b/swad_notification.c @@ -1641,7 +1641,7 @@ void Ntf_PutFormChangeNotifSentByEMail (void) /***** Start form *****/ Act_FormStart (ActChgNtfPrf); fprintf (Gbl.F.Out,"

%s

" - "
" + "
" "" "" "" diff --git a/swad_pagination.c b/swad_pagination.c index a612762a2..842718085 100644 --- a/swad_pagination.c +++ b/swad_pagination.c @@ -185,7 +185,7 @@ void Pag_WriteLinksToPages (Pag_WhatPaginate_t WhatPaginate,long ThrCod,struct P if (Pagination->MoreThanOnePage) { /***** Links to several pages start here *****/ - fprintf (Gbl.F.Out,"
%s
" + fprintf (Gbl.F.Out,"
" "" "" "", diff --git a/swad_photo.c b/swad_photo.c index cbeab321a..bb59422a6 100644 --- a/swad_photo.c +++ b/swad_photo.c @@ -1398,7 +1398,7 @@ void Pho_ShowOrPrintPhotoDegree (Pho_AvgPhotoSeeOrPrint_t SeeOrPrint) if (SeeOrPrint == Pho_DEGREES_SEE) { fprintf (Gbl.F.Out,"
" - "
[%s
"); + "
"); /***** Put a selector for the type of average *****/ Pho_PutSelectorForTypeOfAvg (); @@ -1874,7 +1874,7 @@ static void Pho_ShowOrPrintListDegrees (Pho_AvgPhotoSeeOrPrint_t SeeOrPrint) if (SeeOrPrint == Pho_DEGREES_SEE) Lay_StartRoundFrameTable10 (NULL,0,NULL); else - fprintf (Gbl.F.Out,"
"); + fprintf (Gbl.F.Out,"
"); /***** Write heading *****/ fprintf (Gbl.F.Out,"" diff --git a/swad_preference.c b/swad_preference.c index ea557b516..d9823f844 100644 --- a/swad_preference.c +++ b/swad_preference.c @@ -377,7 +377,7 @@ void Prf_PutIconsToSelectSideCols (void) unsigned SideCols; extern const char *Txt_LAYOUT_SIDE_COLUMNS[4]; - fprintf (Gbl.F.Out,"
"); + fprintf (Gbl.F.Out,"
"); for (SideCols = 0; SideCols <= 3; SideCols++) @@ -579,7 +579,8 @@ static void Prf_PutFormPublicPhoto (void) /***** Start form *****/ Act_FormStart (ActChgPubPho); - fprintf (Gbl.F.Out,"
"); + fprintf (Gbl.F.Out,"
" + ""); /***** Checkbox to select between public or private photo *****/ fprintf (Gbl.F.Out,"
" @@ -593,7 +594,9 @@ static void Prf_PutFormPublicPhoto (void) The_ClassFormul[Gbl.Prefs.Theme],Txt_Public_photo); /***** End form *****/ - fprintf (Gbl.F.Out,"
"); + fprintf (Gbl.F.Out,"
" + ""); } /*****************************************************************************/ diff --git a/swad_record.c b/swad_record.c index 01de160c1..14721fa76 100644 --- a/swad_record.c +++ b/swad_record.c @@ -1498,7 +1498,7 @@ void Rec_ShowCrsRecord (Rec_RecordViewType_t TypeOfView,struct UsrData *UsrDat) /***** Header *****/ fprintf (Gbl.F.Out,"
" - "" + "
" "" "" "
", Rec_DEGREE_LOGO_SIZE); @@ -2108,7 +2108,7 @@ void Rec_ShowCommonRecord (Rec_RecordViewType_t TypeOfView, /***** Institution *****/ fprintf (Gbl.F.Out,"
" - "" + "
" "" "
", Cols1and2Width, diff --git a/swad_statistic.c b/swad_statistic.c index 38f1e4f39..d69f473fc 100644 --- a/swad_statistic.c +++ b/swad_statistic.c @@ -395,7 +395,7 @@ void Sta_AskSeeCrsAccesses (void) /***** Draw two class photographs with the users: one for teachers of the course and another one for students *****/ /* Start the table */ fprintf (Gbl.F.Out,"
" - "" + "
" "" "
"); Lay_StartRoundFrameTable10 (NULL,0,NULL); @@ -510,7 +510,7 @@ void Sta_AskSeeGblAccesses (void) /***** Start form *****/ Act_FormStart (ActSeeAccGbl); fprintf (Gbl.F.Out,"
" - ""); + "
"); /***** Start and end dates for the search *****/ Dat_WriteFormIniEndDates (); @@ -1442,7 +1442,7 @@ static void Sta_ShowDetailedAccessesList (unsigned long NumRows,MYSQL_RES *mysql /***** Put heading with backward and forward buttons *****/ fprintf (Gbl.F.Out,"" "
" - "" + "
" ""); /* Put link to jump to previous page (older clicks) */ @@ -2136,7 +2136,7 @@ static void Sta_DrawBarColors (Sta_ColorType_t ColorType,float MaxPagesGenerated unsigned Interval,NumColor,R,G,B; /***** Write numbers from 0 to MaxPagesGenerated *****/ - fprintf (Gbl.F.Out,"
" + fprintf (Gbl.F.Out,"
" "" "", (GRAPH_DISTRIBUTION_PER_HOUR_TOTAL_WIDTH/5)/2,(GRAPH_DISTRIBUTION_PER_HOUR_TOTAL_WIDTH/5)/2); diff --git a/swad_survey.c b/swad_survey.c index 81e4e2cda..a5907e475 100644 --- a/swad_survey.c +++ b/swad_survey.c @@ -702,7 +702,7 @@ static void Svy_PutFormsToRemEditOneSvy (long SvyCod,bool Visible) extern const char *Txt_Hide; extern const char *Txt_Edit; - fprintf (Gbl.F.Out,"
0
"); + fprintf (Gbl.F.Out,"
"); /***** Put form to remove survey *****/ fprintf (Gbl.F.Out,"" "" "
"); @@ -1610,7 +1610,7 @@ void Svy_RequestCreatOrEditSvy (void) fprintf (Gbl.F.Out,"
%s:" - "" + "
" "" "" "" "
", Dates[StartOrEndTime]); @@ -2459,7 +2459,7 @@ static void Svy_ShowFormEditOneQst (long SvyCod,struct SurveyQuestion *SvyQst,ch fprintf (Gbl.F.Out,"
" - ""); + "
"); for (NumAns = 0; NumAns < Svy_MAX_ANSWERS_PER_QUESTION; NumAns++) @@ -2922,7 +2922,7 @@ static void Svy_ListSvyQuestions (struct Survey *Svy,struct SurveyQuestion *SvyQ fprintf (Gbl.F.Out,"" "
"); Lay_WriteTitle (Txt_Survey_questions); - fprintf (Gbl.F.Out,""); + fprintf (Gbl.F.Out,"
"); if (NumQsts) { @@ -3107,7 +3107,7 @@ static void Svy_WriteAnswersOfAQst (struct Survey *Svy,struct SurveyQuestion *Sv NumAnswers = Svy_GetAnswersQst (SvyQst->QstCod,&mysql_res); // Result: AnsInd,NumUsrs,Answer /***** Write the answers *****/ - fprintf (Gbl.F.Out,"
"); + fprintf (Gbl.F.Out,"
"); for (NumAns = 0; NumAns < NumAnswers; NumAns++) diff --git a/swad_syllabus.c b/swad_syllabus.c index d8e2167e8..81e4fc4ed 100644 --- a/swad_syllabus.c +++ b/swad_syllabus.c @@ -146,7 +146,7 @@ void Syl_EditSyllabus (void) Lay_StartRoundFrameTable10 (NULL,0,Txt_INFO_TITLE[InfoType]); fprintf (Gbl.F.Out,"" "" "" "
" - ""); + "
"); /***** Write the current syllabus *****/ Syl_ShowSyllabus (InfoType); diff --git a/swad_test.c b/swad_test.c index ad28253c0..595433806 100644 --- a/swad_test.c +++ b/swad_test.c @@ -1102,7 +1102,7 @@ void Tst_ShowFormAskEditTsts (void) Tst_ShowFormAnswerTypes (); /***** Starting and ending dates in the search *****/ - fprintf (Gbl.F.Out,"
"); + fprintf (Gbl.F.Out,"
"); Dat_WriteFormIniEndDates (); fprintf (Gbl.F.Out,"
"); @@ -1593,7 +1593,7 @@ static void Tst_ShowFormConfigTst (void) fprintf (Gbl.F.Out,"
%s:" - "", + "
", The_ClassFormul[Gbl.Prefs.Theme], Txt_No_of_questions); @@ -2663,7 +2663,7 @@ static void Tst_WriteAnswersOfAQstEdit (long QstCod) case Tst_ANS_UNIQUE_CHOICE: case Tst_ANS_MULTIPLE_CHOICE: case Tst_ANS_TEXT: - fprintf (Gbl.F.Out,"
"); + fprintf (Gbl.F.Out,"
"); for (NumOpt = 0; NumOpt < Gbl.Test.Answer.NumOptions; NumOpt++) @@ -2886,7 +2886,7 @@ static void Tst_WriteTFAnsAssessExam (unsigned NumQst,MYSQL_RES *mysql_res, } /***** Header with the title of each column *****/ - fprintf (Gbl.F.Out,"
"); + fprintf (Gbl.F.Out,"
"); Tst_WriteHeadUserCorrect (); fprintf (Gbl.F.Out,""); @@ -2943,7 +2943,7 @@ static void Tst_WriteChoiceAnsSeeExam (unsigned NumQst,long QstCod,bool Shuffle) char ParamName[3+6+1]; /***** Start of table *****/ - fprintf (Gbl.F.Out,"
"); + fprintf (Gbl.F.Out,"
"); /***** Get answers of a question from database *****/ Gbl.Test.Answer.NumOptions = Tst_GetAnswersQst (QstCod,&mysql_res,Shuffle); // Result: AnsInd,Answer,Correct @@ -3103,7 +3103,7 @@ static void Tst_WriteChoiceAnsAssessExam (unsigned NumQst,MYSQL_RES *mysql_res, } /***** Start of table *****/ - fprintf (Gbl.F.Out,"
" + fprintf (Gbl.F.Out,"
" ""); Tst_WriteHeadUserCorrect (); fprintf (Gbl.F.Out,"" @@ -3293,7 +3293,7 @@ static void Tst_WriteTextAnsAssessExam (unsigned NumQst,MYSQL_RES *mysql_res, } /***** Header with the title of each column *****/ - fprintf (Gbl.F.Out,"
" + fprintf (Gbl.F.Out,"
" ""); Tst_WriteHeadUserCorrect (); fprintf (Gbl.F.Out,""); @@ -3340,7 +3340,7 @@ static void Tst_WriteTextAnsAssessExam (unsigned NumQst,MYSQL_RES *mysql_res, Gbl.Test.Config.FeedbackType == Tst_FEEDBACK_FULL_FEEDBACK) { fprintf (Gbl.F.Out,"
" - ""); + "
"); for (NumOpt = 0; NumOpt < Gbl.Test.Answer.NumOptions; NumOpt++) @@ -3436,7 +3436,7 @@ static void Tst_WriteIntAnsAssessExam (unsigned NumQst,MYSQL_RES *mysql_res, Lay_ShowErrorAndExit ("Wrong integer answer."); /***** Header with the title of each column *****/ - fprintf (Gbl.F.Out,"
" + fprintf (Gbl.F.Out,"
" ""); Tst_WriteHeadUserCorrect (); fprintf (Gbl.F.Out,""); @@ -3551,7 +3551,7 @@ static void Tst_WriteFloatAnsAssessExam (unsigned NumQst,MYSQL_RES *mysql_res, } /***** Header with the title of each column *****/ - fprintf (Gbl.F.Out,"
" + fprintf (Gbl.F.Out,"
" ""); Tst_WriteHeadUserCorrect (); fprintf (Gbl.F.Out,""); @@ -3711,7 +3711,7 @@ static void Tst_GetAndWriteTagsQst (long QstCod) if ((NumRows = Tst_GetTagsQst (QstCod,&mysql_res))) // Result: TagTxt { /***** Write the tags *****/ - fprintf (Gbl.F.Out,"
"); + fprintf (Gbl.F.Out,"
"); for (NumRow = 0; NumRow < NumRows; NumRow++) @@ -4104,7 +4104,8 @@ static void Tst_PutFormEditOneQst (char *Stem,char *Feedback) /***** Write the tags *****/ fprintf (Gbl.F.Out,"" "" - "
%s:", + "
" + "", The_ClassFormul[Gbl.Prefs.Theme],Txt_Tags); for (NumTag = 0; NumTag < Tst_MAX_TAGS_PER_QUESTION; @@ -4246,7 +4247,7 @@ static void Tst_PutFormEditOneQst (char *Stem,char *Feedback) fprintf (Gbl.F.Out,"" "" "
" - "" + "
" "" "" "
" "" "" - "" + "
" "" "" "" @@ -5737,7 +5738,7 @@ void Tst_SelUsrsToSeeUsrsTstExams (void) Act_FormStart (ActSeeUsrTstExa); Grp_PutParamsCodGrps (); fprintf (Gbl.F.Out,"
" - "
%s
" + "
" "" "
"); @@ -5786,7 +5787,7 @@ void Tst_SelDatesToSeeMyTstExams (void) /***** Starting and ending dates in the search *****/ fprintf (Gbl.F.Out,"
" - ""); + "
"); Dat_WriteFormIniEndDates (); fprintf (Gbl.F.Out,"
" "
"); diff --git a/swad_test_import.c b/swad_test_import.c index 2d27b8327..40221d80b 100644 --- a/swad_test_import.c +++ b/swad_test_import.c @@ -1028,7 +1028,7 @@ static void TsI_WriteRowImportedQst (struct XMLElement *StemElem, if (Gbl.Test.NumTags) { /***** Write the tags *****/ - fprintf (Gbl.F.Out,""); + fprintf (Gbl.F.Out,"
"); for (NumTag = 0; NumTag < Gbl.Test.NumTags; NumTag++) @@ -1089,7 +1089,7 @@ static void TsI_WriteRowImportedQst (struct XMLElement *StemElem, case Tst_ANS_UNIQUE_CHOICE: case Tst_ANS_MULTIPLE_CHOICE: case Tst_ANS_TEXT: - fprintf (Gbl.F.Out,"
"); + fprintf (Gbl.F.Out,"
"); for (NumOpt = 0; NumOpt < Gbl.Test.Answer.NumOptions; NumOpt++) diff --git a/swad_theme.c b/swad_theme.c index 2cc8507e5..123a73ca8 100644 --- a/swad_theme.c +++ b/swad_theme.c @@ -232,7 +232,7 @@ void The_PutIconsToSelectTheme (void) { The_Theme_t Theme; - fprintf (Gbl.F.Out,"
" + fprintf (Gbl.F.Out,"
" ""); for (Theme = (The_Theme_t) 0; Theme < The_NUM_THEMES; diff --git a/swad_timetable.c b/swad_timetable.c index 79fe3ab4e..c5083c8c2 100644 --- a/swad_timetable.c +++ b/swad_timetable.c @@ -779,7 +779,7 @@ static void TT_DrawTimeTable (void) } /***** Table start *****/ - fprintf (Gbl.F.Out,"
"); /***** Top row used for column adjustement *****/ diff --git a/swad_user.c b/swad_user.c index 56051c94e..fd2c2f3cb 100644 --- a/swad_user.c +++ b/swad_user.c @@ -5071,7 +5071,7 @@ void Usr_ListAllDataGsts (void) /***** Start table with list of guests *****/ /* Start row */ - fprintf (Gbl.F.Out,"
" + fprintf (Gbl.F.Out,"
" ""); /* Columns for the data */ @@ -5203,7 +5203,7 @@ void Usr_ListAllDataStds (void) Lay_ShowErrorAndExit ("Not enough memory to store names of groups."); /***** Start table with list of students *****/ - fprintf (Gbl.F.Out,"
"); + fprintf (Gbl.F.Out,"
"); if (!Gbl.Usrs.ClassPhoto.AllGroups) { fprintf (Gbl.F.Out,"" @@ -5431,7 +5431,7 @@ void Usr_ListAllDataTchs (void) /***** Start table with list of teachers *****/ /* Start row */ - fprintf (Gbl.F.Out,"
" + fprintf (Gbl.F.Out,"
" ""); for (NumCol = (Gbl.Usrs.Listing.WithPhotos ? 0 : 1); diff --git a/swad_zip.c b/swad_zip.c index c9a5a140f..8806a94df 100644 --- a/swad_zip.c +++ b/swad_zip.c @@ -532,7 +532,7 @@ static void ZIP_ShowLinkToDownloadZIP (const char *FileName,const char *URL, Lay_StartRoundFrameTable10Shadow (NULL,0); fprintf (Gbl.F.Out,"" "
" - ""); + "
"); /***** Link to download the file *****/ fprintf (Gbl.F.Out,""