From 862ae4bb99ec6fe94bd15af187eaa7a6aba77048 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Antonio=20Ca=C3=B1as=20Vargas?= Date: Mon, 22 Dec 2014 01:31:23 +0100 Subject: [PATCH] Version 14.39.6 --- swad_action.c | 2 +- swad_centre.c | 4 ++-- swad_changelog.h | 3 ++- swad_connected.c | 4 ++-- swad_course.c | 4 ++-- swad_date.c | 2 +- swad_degree.c | 4 ++-- swad_exam.c | 2 +- swad_file_browser.c | 4 ++-- swad_forum.c | 7 ++++--- swad_indicator.c | 7 ++++--- swad_institution.c | 4 ++-- swad_layout.c | 20 ++++++++++---------- swad_link.c | 2 +- swad_mail.c | 2 +- swad_message.c | 4 ++-- swad_photo.c | 3 ++- swad_record.c | 2 +- swad_statistic.c | 4 ++-- swad_survey.c | 2 +- swad_syllabus.c | 2 +- swad_user.c | 6 +++--- 22 files changed, 49 insertions(+), 45 deletions(-) diff --git a/swad_action.c b/swad_action.c index 940df59f7..495a8c99a 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_centre.c b/swad_centre.c index 7b986b44e..e644d02aa 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 142f14d84..2700abd27 100644 --- a/swad_changelog.h +++ b/swad_changelog.h @@ -35,11 +35,12 @@ /****************************** 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: // 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.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. diff --git a/swad_connected.c b/swad_connected.c index 60c63e464..ea848c604 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,"" @@ -398,7 +398,7 @@ void Con_ShowConnectedUsrsBelongingToScope (void) break; case Con_SHOW_ON_RIGHT_COLUMN: fprintf (Gbl.F.Out,"
" - "
"); + "
"); break; } diff --git a/swad_course.c b/swad_course.c index 41cd0da0e..d29eccd26 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 989a8584f..b6c1116f3 100644 --- a/swad_date.c +++ b/swad_date.c @@ -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); diff --git a/swad_degree.c b/swad_degree.c index d41dec02e..a666e18d5 100644 --- a/swad_degree.c +++ b/swad_degree.c @@ -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_exam.c b/swad_exam.c index 1be70ca34..dd4fa131f 100644 --- a/swad_exam.c +++ b/swad_exam.c @@ -780,7 +780,7 @@ 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 1739a3ca6..78b4f8d4d 100644 --- a/swad_file_browser.c +++ b/swad_file_browser.c @@ -6325,7 +6325,7 @@ static void Brw_PutFormToCreateAFolder (const char *FileNameToShow) Brw_ParamListFiles (Brw_IS_FOLDER,Gbl.FileBrowser.Priv.PathInTreeExceptFileOrFolder,Gbl.FileBrowser.FilFolLnkName); /* Folder */ - fprintf (Gbl.F.Out,"
" + fprintf (Gbl.F.Out,"
" "" "" "
%s:
" @@ -6568,7 +6568,7 @@ static void Brw_PutFormToCreateALink (const char *FileNameToShow) Brw_ParamListFiles (Brw_IS_FOLDER,Gbl.FileBrowser.Priv.PathInTreeExceptFileOrFolder,Gbl.FileBrowser.FilFolLnkName); /* URL */ - fprintf (Gbl.F.Out,"" + fprintf (Gbl.F.Out,"
" "" "" "" "
%s:
" diff --git a/swad_forum.c b/swad_forum.c index 4c1c48d73..2f9ff7675 100644 --- a/swad_forum.c +++ b/swad_forum.c @@ -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,""); @@ -3452,7 +3452,8 @@ void For_WriteFormForumPst (bool IsReply,long ThrCod,const char *Subject) For_PutAllHiddenParamsForum (); fprintf (Gbl.F.Out,"
" - "
" + "
" + "" "" "", diff --git a/swad_indicator.c b/swad_indicator.c index d7e42f1bc..55facdf3d 100644 --- a/swad_indicator.c +++ b/swad_indicator.c @@ -935,7 +935,8 @@ static void Ind_ShowTableOfCoursesWithIndicators (Ind_IndicatorsLayout_t Indicat fprintf (Gbl.F.Out,"
%s" " (%s)
"); /***** Write number of courses with each number of indicators valid *****/ - fprintf (Gbl.F.Out,"" + fprintf (Gbl.F.Out,"
" + "" "" "" "", @@ -956,9 +957,9 @@ static void Ind_ShowTableOfCoursesWithIndicators (Ind_IndicatorsLayout_t Indicat "" "" "" - "", + "" + "
%s%s
%s%u(%.1f%%)
", Txt_Total,NumCrss,100.0); - fprintf (Gbl.F.Out,"
"); } /*****************************************************************************/ diff --git a/swad_institution.c b/swad_institution.c index 9610fa916..e898fb7bd 100644 --- a/swad_institution.c +++ b/swad_institution.c @@ -1172,7 +1172,7 @@ static void Ins_ListInstitutionsForEdition (void) UsrDat.UsrCod = Ins->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 a8f3bbd5c..f6a06e682 100644 --- a/swad_layout.c +++ b/swad_layout.c @@ -271,7 +271,7 @@ void Lay_WriteStartOfPage (void) 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; @@ -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 *****/ @@ -1818,7 +1818,7 @@ void Lay_WriteHeaderClassPhoto (unsigned NumColumns,bool PrintView,bool DrawingC /***** Table start *****/ fprintf (Gbl.F.Out,"" "
" - "" + "
" "", NumColumns); diff --git a/swad_link.c b/swad_link.c index 2255a2857..a47230a29 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 27ed2b731..decdbb712 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 544419532..78b9db1a1 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; @@ -2489,7 +2489,7 @@ static void Msg_ShowASentOrReceivedMessage (Msg_TypeOfMessages_t TypeOfMessages, /***** Put an icon with message status *****/ fprintf (Gbl.F.Out,"" "
" - "" + "
" "" ""); + fprintf (Gbl.F.Out,"
" "
" + ""); for (NumPhoto = 0; NumPhoto < 3; NumPhoto++) diff --git a/swad_record.c b/swad_record.c index e41deccd6..726400d9d 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); diff --git a/swad_statistic.c b/swad_statistic.c index 83cf634da..47770e2e2 100644 --- a/swad_statistic.c +++ b/swad_statistic.c @@ -1441,7 +1441,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) */ @@ -2135,7 +2135,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 9910cfeb4..e0fe56d42 100644 --- a/swad_survey.c +++ b/swad_survey.c @@ -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 /***** Write the answers *****/ - fprintf (Gbl.F.Out,"
0
"); + fprintf (Gbl.F.Out,"
"); for (NumAns = 0; NumAns < NumAnswers; NumAns++) diff --git a/swad_syllabus.c b/swad_syllabus.c index 2acebc0f7..23d214199 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_user.c b/swad_user.c index 7a636966c..7c6c60fc5 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);