From 079c478fd48781d53c769c59a7ce6d2ec8deb2bd Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Antonio=20Ca=C3=B1as=20Vargas?= Date: Fri, 26 Dec 2014 17:55:42 +0100 Subject: [PATCH] Version 14.42 --- swad_ID.c | 2 +- swad_QR.c | 4 ++-- swad_account.c | 10 ++++----- swad_action.c | 5 ++++- swad_announcement.c | 12 +++++----- swad_assignment.c | 7 +++--- swad_attendance.c | 15 ++++++++----- swad_banner.c | 2 +- swad_centre.c | 4 ++-- swad_changelog.h | 3 ++- swad_connected.c | 12 +++++----- swad_country.c | 6 +++-- swad_course.c | 10 ++++----- swad_date.c | 6 +++-- swad_degree.c | 8 ++++--- swad_department.c | 2 +- swad_enrollment.c | 53 +++++++++++++++++++++++++-------------------- swad_exam.c | 4 ++-- swad_file_browser.c | 14 +++++++----- swad_forum.c | 4 ++-- swad_group.c | 6 ++--- swad_holiday.c | 2 +- swad_indicator.c | 4 ++-- swad_info.c | 9 ++++---- swad_institution.c | 2 +- swad_layout.c | 37 ++++++++++++++++++++----------- swad_link.c | 2 +- swad_mail.c | 2 +- swad_message.c | 39 +++++++++++++++++++++------------ swad_network.c | 5 +++-- swad_notice.c | 10 ++++----- swad_notification.c | 5 +++-- swad_pagination.c | 2 +- swad_password.c | 7 +++--- swad_photo.c | 12 +++++----- swad_place.c | 2 +- swad_plugin.c | 2 +- swad_record.c | 43 +++++++++++++++++++++--------------- swad_search.c | 17 ++++++++------- swad_statistic.c | 9 ++++---- swad_survey.c | 15 ++++++++----- swad_syllabus.c | 5 +++-- swad_test.c | 27 +++++++++++++---------- swad_test_import.c | 4 ++-- swad_timetable.c | 6 ++--- swad_user.c | 46 ++++++++++++++++++++------------------- swad_zip.c | 2 +- 47 files changed, 289 insertions(+), 216 deletions(-) diff --git a/swad_ID.c b/swad_ID.c index a94fa7fb8..9c1e9b5b3 100644 --- a/swad_ID.c +++ b/swad_ID.c @@ -403,7 +403,7 @@ void ID_ShowFormOthIDs (void) /***** Form to change IDs *****/ /* Show user's record */ - fprintf (Gbl.F.Out,"
" + fprintf (Gbl.F.Out,"
" "" "" "
"); diff --git a/swad_QR.c b/swad_QR.c index c967a5935..78aab1cd5 100644 --- a/swad_QR.c +++ b/swad_QR.c @@ -123,7 +123,7 @@ void QR_PrintQRCode (void) static void QR_ImageQRCode (const char *QRString) { - fprintf (Gbl.F.Out,"
" + fprintf (Gbl.F.Out,"
" "\"%s\""
" @@ -231,7 +231,7 @@ void QR_ExamAnnnouncement (void) extern const char *Txt_Link_to_announcement_of_exam; /***** Show QR code with direct link to the exam announcement *****/ - fprintf (Gbl.F.Out,"
" + fprintf (Gbl.F.Out,"
" "\"%s\"" "
", diff --git a/swad_account.c b/swad_account.c index 70ecc2cc8..97ae113bc 100644 --- a/swad_account.c +++ b/swad_account.c @@ -110,15 +110,15 @@ static void Acc_ShowFormRequestNewAccountWithParams (const char *NewNicknameWith extern const char *Txt_Create_account; /***** Link to log in *****/ - fprintf (Gbl.F.Out,"
"); + fprintf (Gbl.F.Out,"
"); Act_FormStart (ActFrmLogIn); Act_LinkFormSubmit (Txt_Log_in,The_ClassFormul[Gbl.Prefs.Theme]); Lay_PutSendIcon ("login",Txt_Log_in,Txt_Log_in); fprintf (Gbl.F.Out,"" "
"); - /***** Form to enter the ID of the new user *****/ - fprintf (Gbl.F.Out,"
"); + /***** Form to enter some data of the new user *****/ + fprintf (Gbl.F.Out,"
"); Act_FormStart (ActCreUsrAcc); sprintf (Gbl.Title,Txt_New_on_PLATFORM_Sign_up,Cfg_PLATFORM_SHORT_NAME); Lay_StartRoundFrameTable10 (NULL,2,Gbl.Title); @@ -193,7 +193,7 @@ void Acc_ShowFormChangeMyAccount (void) Lay_ShowAlert (Lay_WARNING,Txt_Before_going_to_any_other_option_you_must_fill_your_ID); /***** Put links to change my password and to remove my account*****/ - fprintf (Gbl.F.Out,"
"); + fprintf (Gbl.F.Out,"
"); Pwd_PutLinkToChangeUsrPassword (&Gbl.Usrs.Me.UsrDat); if (Acc_CheckIfICanEliminateAccount (true)) // ItsMe = true Acc_PutLinkToRemoveMyAccount (); @@ -616,7 +616,7 @@ void Acc_AskIfCompletelyEliminateAccount (bool ItsMe) /* Ask for consent on dangerous actions */ Pwd_AskForConfirmationOnDangerousAction (); - fprintf (Gbl.F.Out,"
" + fprintf (Gbl.F.Out,"
" "" "
" "", diff --git a/swad_action.c b/swad_action.c index 3c555a218..1a66483c1 100644 --- a/swad_action.c +++ b/swad_action.c @@ -4135,7 +4135,10 @@ void Act_WriteSmallMFUActions (struct Act_ListMFUActions *ListMFUActions) /***** Start table *****/ Act_FormStart (ActMFUAct); Act_LinkFormSubmit (Txt_Frequent_actions,"MFU_ACT"); - fprintf (Gbl.F.Out," %s",Txt_Frequent_actions); + fprintf (Gbl.F.Out," %s" + "" + "", + Txt_Frequent_actions); fprintf (Gbl.F.Out,"
" ""); diff --git a/swad_announcement.c b/swad_announcement.c index 7656f80d5..1a747cf3b 100644 --- a/swad_announcement.c +++ b/swad_announcement.c @@ -74,7 +74,7 @@ void Ann_ShowAllAnnouncements (void) extern const char *The_ClassFormul[The_NUM_THEMES]; extern const char *Txt_New_announcement; - fprintf (Gbl.F.Out,"
"); + fprintf (Gbl.F.Out,"
"); /***** Put link (form) to create a new announcement *****/ if (Gbl.Usrs.Me.LoggedRole == Rol_ROLE_SUPERUSER) @@ -169,7 +169,7 @@ void Ann_ShowMyAnnouncementsNotMarkedAsSeen (void) /***** Show the announcements *****/ if (NumAnnouncements) { - fprintf (Gbl.F.Out,"
"); + fprintf (Gbl.F.Out,"
"); for (NumAnn = 0; NumAnn < NumAnnouncements; @@ -214,7 +214,8 @@ static void Ann_ShowAnnouncement (long AnnCod,const char *Subject,const char *Co bool RolesSelected; /***** Start yellow note *****/ - fprintf (Gbl.F.Out,"
"); + fprintf (Gbl.F.Out,"
"); /***** Write the content of the announcement *****/ fprintf (Gbl.F.Out,"
%s
", @@ -225,7 +226,8 @@ static void Ann_ShowAnnouncement (long AnnCod,const char *Subject,const char *Co Content); /***** Write form *****/ - fprintf (Gbl.F.Out,"
", + fprintf (Gbl.F.Out,"
", The_ClassFormul[Gbl.Prefs.Theme]); if (ShowAllAnnouncements) @@ -318,7 +320,7 @@ void Ann_ShowFormAnnouncement (void) extern const char *Txt_Users; extern const char *Txt_Create_announcement; - fprintf (Gbl.F.Out,"
"); + fprintf (Gbl.F.Out,"
"); Act_FormStart (ActRcvAnn); diff --git a/swad_assignment.c b/swad_assignment.c index b07f59928..56ae3e0ce 100644 --- a/swad_assignment.c +++ b/swad_assignment.c @@ -201,7 +201,7 @@ static void Asg_ShowAllAssignments (void) static void Asg_PutFormToSelectWhichGroupsToShow (void) { - fprintf (Gbl.F.Out,"
"); + fprintf (Gbl.F.Out,"
"); Act_FormStart (ActSeeAsg); Asg_PutHiddenParamAsgOrderType (); Pag_PutHiddenParamPagNum (Gbl.Pag.CurrentPage); @@ -466,7 +466,7 @@ static void Asg_PutFormToCreateNewAsg (void) extern const char *Txt_New_assignment; /***** Put form to create a new assignment *****/ - fprintf (Gbl.F.Out,"
"); + fprintf (Gbl.F.Out,"
"); Act_FormStart (ActFrmNewAsg); Asg_PutHiddenParamAsgOrderType (); Grp_PutParamWhichGrps (); @@ -925,7 +925,8 @@ void Asg_AskRemAssignment (void) sprintf (Gbl.Message,Txt_Do_you_really_want_to_remove_the_assignment_X, Asg.Title); Lay_ShowAlert (Lay_WARNING,Gbl.Message); - fprintf (Gbl.F.Out,"
" + fprintf (Gbl.F.Out,"
" + "
" "", Txt_Remove_assignment); diff --git a/swad_attendance.c b/swad_attendance.c index 3875fb02a..9faf15e34 100644 --- a/swad_attendance.c +++ b/swad_attendance.c @@ -117,7 +117,7 @@ void Att_SeeAttEvents (void) Pag_GetParamPagNum (Pag_ATT_EVENTS); /***** Put other options *****/ - fprintf (Gbl.F.Out,"
"); + fprintf (Gbl.F.Out,"
"); /* Put link (form) to create a bew attendance event */ switch (Gbl.Usrs.Me.LoggedRole) @@ -229,7 +229,7 @@ static void Att_ShowAllAttEvents (void) static void Att_PutFormToSelectWhichGroupsToShow (void) { - fprintf (Gbl.F.Out,"
"); + fprintf (Gbl.F.Out,"
"); Act_FormStart (ActSeeAtt); Att_PutHiddenParamAttOrderType (); Pag_PutHiddenParamPagNum (Gbl.Pag.CurrentPage); @@ -889,7 +889,10 @@ void Att_AskRemAttEvent (void) sprintf (Gbl.Message,Txt_Do_you_really_want_to_remove_the_event_X, Att.Title); Lay_ShowAlert (Lay_WARNING,Gbl.Message); - fprintf (Gbl.F.Out,"
", + fprintf (Gbl.F.Out,"
" + "" + "
" + "", Txt_Remove_event); /***** Show attendance events again *****/ @@ -2627,7 +2630,7 @@ void Usr_ReqListAttendanceStdsCrs (void) /***** Draw a class photo with students of the course *****/ /* Form start */ - fprintf (Gbl.F.Out,"
"); + fprintf (Gbl.F.Out,"
"); Act_FormStart (ActSeeLstAttStd); Grp_PutParamsCodGrps (); @@ -2895,7 +2898,7 @@ static void Att_PutFormToPrintListStds (bool ShowDetails,char *StrAttCodsSelecte extern const char *Txt_Print_view; /***** Link to print view *****/ - fprintf (Gbl.F.Out,"
"); + fprintf (Gbl.F.Out,"
"); Act_FormStart (ActPrnLstAttStd); if (ShowDetails) Par_PutHiddenParamChar ("ShowDetails",'Y'); @@ -2918,7 +2921,7 @@ static void Att_PutButtonToShowDetails (char *StrAttCodsSelected) extern const char *Txt_Show_more_details; /***** Button to show more details *****/ - fprintf (Gbl.F.Out,"
"); + fprintf (Gbl.F.Out,"
"); Act_FormStart (ActSeeLstAttStd); Par_PutHiddenParamChar ("ShowDetails",'Y'); Grp_PutParamsCodGrps (); diff --git a/swad_banner.c b/swad_banner.c index fdfc6c241..146251fa5 100644 --- a/swad_banner.c +++ b/swad_banner.c @@ -125,7 +125,7 @@ static void Ban_PutFormToEditBanners (void) extern const char *The_ClassFormul[The_NUM_THEMES]; extern const char *Txt_Edit; - fprintf (Gbl.F.Out,"
"); + fprintf (Gbl.F.Out,"
"); Act_FormStart (ActEdiBan); Act_LinkFormSubmit (Txt_Edit,The_ClassFormul[Gbl.Prefs.Theme]); Lay_PutSendIcon ("edit",Txt_Edit,Txt_Edit); diff --git a/swad_centre.c b/swad_centre.c index 551e09008..eb771ccb2 100644 --- a/swad_centre.c +++ b/swad_centre.c @@ -255,7 +255,7 @@ static void Ctr_Configuration (bool PrintView) /***** Links to print view and upload photo *****/ if (!PrintView) { - fprintf (Gbl.F.Out,"
"); + fprintf (Gbl.F.Out,"
"); /* Link to print view */ Lay_PutLinkToPrintView1 (ActPrnCtrInf); @@ -1811,7 +1811,7 @@ void Ctr_ReqPhoto (void) extern const char *Txt_File_with_the_photo; extern const char *Txt_Upload_photo; - fprintf (Gbl.F.Out,"
"); + fprintf (Gbl.F.Out,"
"); /***** Write help message *****/ sprintf (Gbl.Message,Txt_You_can_send_a_file_with_an_image_in_jpg_format_and_size_X_Y, diff --git a/swad_changelog.h b/swad_changelog.h index 825a0df37..7b5ebdd8a 100644 --- a/swad_changelog.h +++ b/swad_changelog.h @@ -35,11 +35,12 @@ /****************************** Public constants *****************************/ /*****************************************************************************/ -#define Log_PLATFORM_VERSION "SWAD 14.41 (2014/12/26)" +#define Log_PLATFORM_VERSION "SWAD 14.42 (2014/12/26)" // 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.42 :Dic 26, 2014 Changes in HTML and CSS to validate HTML5 in W3C validator. (173703 lines) Version 14.41 :Dic 26, 2014 Changes in HTML and CSS to validate HTML5 in W3C validator. (173630 lines) Version 14.40.12 :Dic 26, 2014 Changes in HTML and CSS to validate HTML5 in W3C validator. (173478 lines) Version 14.40.11 :Dic 25, 2014 Changes in HTML and CSS to validate HTML5 in W3C validator. (173288 lines) diff --git a/swad_connected.c b/swad_connected.c index fe862983d..f2480d501 100644 --- a/swad_connected.c +++ b/swad_connected.c @@ -76,7 +76,7 @@ void Con_ShowConnectedUsrs (void) extern const char *Txt_MONTHS_SMALL_SHORT[12]; extern const char *Txt_Connected_users; - fprintf (Gbl.F.Out,"
"); + fprintf (Gbl.F.Out,"
"); /***** Put form to update connected users *****/ Act_FormStart (ActLstCon); @@ -131,9 +131,9 @@ void Con_ShowLastClicks (void) fprintf (Gbl.F.Out,"
" "" ""); @@ -251,7 +251,8 @@ void Con_ShowGlobalConnectedUsrs (void) /***** Start table *****/ fprintf (Gbl.F.Out,"
" + " style=\"width:110px;" + " margin-left:auto; margin-right:auto; \">" "
"); - fprintf (Gbl.F.Out,"
"); // Used for AJAX based refresh + fprintf (Gbl.F.Out,"
"); // Used for AJAX based refresh Con_GetAndShowLastClicks (); - fprintf (Gbl.F.Out,"
"); // Used for AJAX based refresh + fprintf (Gbl.F.Out,"
"); // Used for AJAX based refresh fprintf (Gbl.F.Out,"
"); /***** Write total number of sessions *****/ @@ -963,7 +964,8 @@ static void Con_WriteRowConnectedUsrOnRightColumn (Rol_Role_t Role) " vertical-align:middle; background-color:%s;\">", Font,Color); - fprintf (Gbl.F.Out,"
",Gbl.Usrs.Connected.NumUsr); // Used for automatic update, only when displayed on right column + fprintf (Gbl.F.Out,"
", + Gbl.Usrs.Connected.NumUsr); // Used for automatic update, only when displayed on right column Hours = Gbl.Usrs.Connected.Lst[Gbl.Usrs.Connected.NumUsr].Seconds / (60*60); Minutes = (Gbl.Usrs.Connected.Lst[Gbl.Usrs.Connected.NumUsr].Seconds / 60) % 60; Seconds = Gbl.Usrs.Connected.Lst[Gbl.Usrs.Connected.NumUsr].Seconds % 60; diff --git a/swad_country.c b/swad_country.c index 73dc70e75..670d83664 100644 --- a/swad_country.c +++ b/swad_country.c @@ -232,7 +232,7 @@ static void Cty_Configuration (bool PrintView) /***** Link to print view *****/ if (!PrintView) { - fprintf (Gbl.F.Out,"
"); + fprintf (Gbl.F.Out,"
"); Lay_PutLinkToPrintView1 (ActPrnCtyInf); Lay_PutLinkToPrintView2 (); fprintf (Gbl.F.Out,"
"); @@ -725,7 +725,9 @@ void Cty_ListCountries2 (void) /***** Div for Google Geochart *****/ if (Gbl.CurrentAct == ActSeeCty) - fprintf (Gbl.F.Out,"
"); + fprintf (Gbl.F.Out,"
" + "
"); /***** Free list of countries *****/ Cty_FreeListCountries (); diff --git a/swad_course.c b/swad_course.c index 58a06921d..ca8caa8a8 100644 --- a/swad_course.c +++ b/swad_course.c @@ -109,7 +109,7 @@ static void Crs_WriteRowCrsData (unsigned NumCrs,MYSQL_ROW row,bool WriteColumnA void Crs_ShowIntroduction (void) { /***** Course configuration *****/ - fprintf (Gbl.F.Out,"
"); + fprintf (Gbl.F.Out,"
"); Crs_Configuration (false); fprintf (Gbl.F.Out,"
"); @@ -181,7 +181,7 @@ static void Crs_Configuration (bool PrintView) } /* Link to print view */ - fprintf (Gbl.F.Out,"
"); + fprintf (Gbl.F.Out,"
"); Lay_PutLinkToPrintView1 (ActPrnCrsInf); Lay_PutLinkToPrintView2 (); fprintf (Gbl.F.Out,"
"); @@ -2709,7 +2709,7 @@ static void Crs_PutLinkToGoToCrs (struct Course *Crs) extern const char *The_ClassFormul[The_NUM_THEMES]; extern const char *Txt_Go_to_X; - fprintf (Gbl.F.Out,"
", + fprintf (Gbl.F.Out,"
", The_ClassFormul[Gbl.Prefs.Theme]); Act_FormGoToStart (ActSeeCrsInf); Crs_PutParamCrsCod (Crs->CrsCod); @@ -2730,7 +2730,7 @@ void Crs_ReqSelectOneOfMyCourses (void) extern const char *Txt_You_are_not_enrolled_in_any_course[Usr_NUM_SEXS]; /***** Search / select more courses *****/ - fprintf (Gbl.F.Out,"
"); + fprintf (Gbl.F.Out,"
"); Crs_PutLinkToSearchCourses (); if (Gbl.CurrentDeg.Deg.DegCod > 0) Crs_PutLinkToViewCoursesOfCurrentDeg (); @@ -3137,7 +3137,7 @@ void Crs_AskRemoveOldCrss (void) unsigned i; /***** Form to request number of months without clicks *****/ - fprintf (Gbl.F.Out,"
"); + fprintf (Gbl.F.Out,"
"); Act_FormStart (ActRemOldCrs); fprintf (Gbl.F.Out,"%s ", The_ClassFormul[Gbl.Prefs.Theme], diff --git a/swad_date.c b/swad_date.c index 9f5992505..99762547a 100644 --- a/swad_date.c +++ b/swad_date.c @@ -249,7 +249,7 @@ void Dat_DrawCalendar (void) if (!PrintView) { /* Link to print view */ - fprintf (Gbl.F.Out,"
"); + fprintf (Gbl.F.Out,"
"); Lay_PutLinkToPrintView1 (ActPrnCal); Lay_PutLinkToPrintView2 (); fprintf (Gbl.F.Out,"
"); @@ -354,7 +354,9 @@ void Dat_DrawMonth (unsigned RealYear,unsigned RealMonth, /***** Start of month *****/ fprintf (Gbl.F.Out,"
" - "
%s %u
" + "
" + "%s %u" + "
" "
", Txt_MONTHS_CAPS[RealMonth-1],RealYear); diff --git a/swad_degree.c b/swad_degree.c index d1cf0734b..b7c5e81a1 100644 --- a/swad_degree.c +++ b/swad_degree.c @@ -294,7 +294,7 @@ static void Deg_Configuration (bool PrintView) if (!PrintView) { /* Link to print view */ - fprintf (Gbl.F.Out,"
"); + fprintf (Gbl.F.Out,"
"); Lay_PutLinkToPrintView1 (ActPrnDegInf); Lay_PutLinkToPrintView2 (); fprintf (Gbl.F.Out,"
"); @@ -483,7 +483,7 @@ void Deg_WriteMenuAllCourses (Act_Action_t NextActionCty, extern const char *Txt_Degree; /***** Start of table *****/ - fprintf (Gbl.F.Out,"
" + fprintf (Gbl.F.Out,"
" "
"); /***** Write a 1st selector @@ -738,7 +738,9 @@ void Deg_WriteBigNameCtyInsCtrDegCrs (void) Deg_MAX_LENGTH_FULL_NAME); FullName[Deg_MAX_LENGTH_FULL_NAME] = '\0'; Str_LimitLengthHTMLStr (FullName,Deg_MAX_LENGTH_FULL_NAME_ON_PAGE_HEAD); - fprintf (Gbl.F.Out,"
%s
", + fprintf (Gbl.F.Out,"
" + "%s" + "
", The_ClassCourse[Gbl.Prefs.Theme],FullName); } } diff --git a/swad_department.c b/swad_department.c index 5380f43e5..cc9feaecc 100644 --- a/swad_department.c +++ b/swad_department.c @@ -214,7 +214,7 @@ static void Dpt_PutFormToEditDpts (void) extern const char *The_ClassFormul[The_NUM_THEMES]; extern const char *Txt_Edit; - fprintf (Gbl.F.Out,"
"); + fprintf (Gbl.F.Out,"
"); Act_FormStart (ActEdiDpt); Act_LinkFormSubmit (Txt_Edit,The_ClassFormul[Gbl.Prefs.Theme]); Lay_PutSendIcon ("edit",Txt_Edit,Txt_Edit); diff --git a/swad_enrollment.c b/swad_enrollment.c index 637672d46..96df00d4b 100644 --- a/swad_enrollment.c +++ b/swad_enrollment.c @@ -238,7 +238,7 @@ void Enr_WriteFormToReqAnotherUsrID (Act_Action_t NextAction) /***** Form to request user's ID, @nickname or e-mail address *****/ Act_FormStart (NextAction); - fprintf (Gbl.F.Out,"
" + fprintf (Gbl.F.Out,"
" "%s: " "" @@ -269,7 +269,7 @@ void Enr_ReqAcceptRegisterInCrs (void) Lay_ShowAlert (Lay_INFO,Gbl.Message); /***** Send button to accept register in the current course *****/ - fprintf (Gbl.F.Out,"
"); + fprintf (Gbl.F.Out,"
"); Act_FormStart (ActAccEnrCrs); Act_LinkFormSubmit (Txt_Confirm_my_enrollment,The_ClassFormul[Gbl.Prefs.Theme]); Lay_PutSendIcon ("ok_green",Txt_Confirm_my_enrollment,Txt_Confirm_my_enrollment); @@ -443,7 +443,7 @@ void Enr_ShowFormRegRemSeveralUsrs (void) extern const char *Txt_Step_5_Confirm_the_enrollment_removing; extern const char *Txt_Confirm; - fprintf (Gbl.F.Out,"
"); + fprintf (Gbl.F.Out,"
"); /***** Put link to remove all the students in the current course *****/ if (Gbl.CurrentCrs.Crs.CrsCod > 0) // Course selected @@ -457,14 +457,16 @@ void Enr_ShowFormRegRemSeveralUsrs (void) Act_FormStart (ActRcvFrmMdfUsrCrs); /***** Step 1: List of students to be enrolled / removed *****/ - fprintf (Gbl.F.Out,"
" - "
%s
", + fprintf (Gbl.F.Out,"
" + "
%s" + "
", The_ClassTitle[Gbl.Prefs.Theme], Txt_Step_1_Provide_a_list_of_users); /* Option a: get students from official lists */ - fprintf (Gbl.F.Out,"
" - "
%s
 
", + fprintf (Gbl.F.Out,"
" + "
%s
 " + "
", The_ClassTitle[Gbl.Prefs.Theme], Txt_Option_a_Import_students_from_the_official_lists); if (Cfg_EXTERNAL_LOGIN_CLIENT_COMMAND[0] == '\0') @@ -476,31 +478,35 @@ void Enr_ShowFormRegRemSeveralUsrs (void) } /* Option b: get students' IDs from pasted text */ - fprintf (Gbl.F.Out,"
" - "
%s
 
", + fprintf (Gbl.F.Out,"
" + "
%s
 " + "
", The_ClassTitle[Gbl.Prefs.Theme], Txt_Option_b_Type_or_paste_a_list_of_users); Lay_ShowAlert (Lay_INFO,Txt_Type_or_paste_a_list_of_IDs_nicks_or_emails_); Enr_PutAreaToEnterUsrsIDs (); /***** Step 2: Select type of user to register/remove to/from current course *****/ - fprintf (Gbl.F.Out,"
" - "
%s
 
", + fprintf (Gbl.F.Out,"
" + "
%s
 " + "
", The_ClassTitle[Gbl.Prefs.Theme], Txt_Step_2_Select_the_type_of_user_to_register_remove); if (Gbl.CurrentCrs.Crs.CrsCod > 0) // Course selected Rol_PutAllRolesRegRemUsrsCrs (); /***** Step 3: Put different actions to register/remove students to/from current course *****/ - fprintf (Gbl.F.Out,"
" - "
%s
 
", + fprintf (Gbl.F.Out,"
" + "
%s
 " + "
", The_ClassTitle[Gbl.Prefs.Theme], Txt_Step_3_Select_the_desired_action); Enr_PutActionsRegRemSeveralUsrs (); /***** Step 4: Select groups in which register / remove students *****/ - fprintf (Gbl.F.Out,"
" - "
%s
 
", + fprintf (Gbl.F.Out,"
" + "
%s
 " + "
", The_ClassTitle[Gbl.Prefs.Theme], Txt_Step_4_Optionally_select_groups); if (Gbl.CurrentCrs.Crs.CrsCod > 0) // Course selected @@ -520,8 +526,9 @@ void Enr_ShowFormRegRemSeveralUsrs (void) } /***** Step 5: Button to register / remove students *****/ - fprintf (Gbl.F.Out,"
" - "
%s
 
", + fprintf (Gbl.F.Out,"
" + "
%s
 " + "
", The_ClassTitle[Gbl.Prefs.Theme], Txt_Step_5_Confirm_the_enrollment_removing); Pwd_AskForConfirmationOnDangerousAction (); @@ -562,7 +569,7 @@ void Enr_AskRemoveOldUsrs (void) unsigned Months; /***** Form to request number of months without clicks *****/ - fprintf (Gbl.F.Out,"
"); + fprintf (Gbl.F.Out,"
"); Act_FormStart (ActRemOldUsr); fprintf (Gbl.F.Out,"%s ", The_ClassFormul[Gbl.Prefs.Theme], @@ -1919,7 +1926,7 @@ void Enr_ShowEnrollmentRequests (void) /***** Selection of scope and roles *****/ /* Start form */ Act_FormStart (ActSeeSignUpReq); - fprintf (Gbl.F.Out,"
" + fprintf (Gbl.F.Out,"
" "
"); /* Scope (whole platform, current centre, current degree or current course) */ @@ -2568,7 +2575,7 @@ static void Enr_ShowFormToEditOtherUsr (void) extern const char *Txt_Confirm; bool ItsMe = (Gbl.Usrs.Me.UsrDat.UsrCod == Gbl.Usrs.Other.UsrDat.UsrCod); - fprintf (Gbl.F.Out,"
"); + fprintf (Gbl.F.Out,"
"); /***** Buttons for edition *****/ if (Pwd_CheckIfICanChangeOtherUsrPassword (Gbl.Usrs.Other.UsrDat.UsrCod)) @@ -2826,7 +2833,7 @@ static void Enr_ReqAddAdmOfDeg (void) Act_FormStart (ActNewAdm); Usr_PutParamOtherUsrCodEncrypted (Gbl.Usrs.Other.UsrDat.EncryptedUsrCod); - fprintf (Gbl.F.Out,"
" + fprintf (Gbl.F.Out,"
" "" "
" "", @@ -3062,7 +3069,7 @@ static void Enr_AskIfRemoveUsrFromCrs (struct UsrData *UsrDat,bool ItsMe) Rec_ShowCommonRecordUnmodifiable (UsrDat); - fprintf (Gbl.F.Out,"
"); + fprintf (Gbl.F.Out,"
"); Act_FormStart (ActRemUsrCrs); Usr_PutParamOtherUsrCodEncrypted (UsrDat->EncryptedUsrCod); Pwd_AskForConfirmationOnDangerousAction (); @@ -3159,7 +3166,7 @@ static void Enr_AskIfRemAdmFromDeg (bool ItsMe) Act_FormStart (ActRemAdm); Usr_PutParamOtherUsrCodEncrypted (Gbl.Usrs.Other.UsrDat.EncryptedUsrCod); - fprintf (Gbl.F.Out,"
" + fprintf (Gbl.F.Out,"
" "" "
" "", diff --git a/swad_exam.c b/swad_exam.c index 85ee8cb57..1ad1772b1 100644 --- a/swad_exam.c +++ b/swad_exam.c @@ -443,7 +443,7 @@ static void Exa_ListExamAnnouncements (Exa_tTypeViewExamAnnouncement_t TypeViewE case Rol_ROLE_TEACHER: case Rol_ROLE_DEG_ADMIN: case Rol_ROLE_SUPERUSER: - fprintf (Gbl.F.Out,"
"); + fprintf (Gbl.F.Out,"
"); Act_FormStart (ActEdiExaAnn); Act_LinkFormSubmit (Txt_New_announcement_of_exam,The_ClassFormul[Gbl.Prefs.Theme]); Lay_PutSendIcon ("new",Txt_New_announcement_of_exam,Txt_New_announcement_of_exam); @@ -756,7 +756,7 @@ static void Exa_ShowExamAnnouncement (long ExaCod,Exa_tTypeViewExamAnnouncement_ { case Exa_NORMAL_VIEW: /***** Link to print view *****/ - fprintf (Gbl.F.Out,"
"); + fprintf (Gbl.F.Out,"
"); Lay_PutLinkToPrintView1 (ActPrnExaAnn); Par_PutHiddenParamLong ("ExaCod",ExaCod); Lay_PutLinkToPrintView2 (); diff --git a/swad_file_browser.c b/swad_file_browser.c index af77c859d..c00193e16 100644 --- a/swad_file_browser.c +++ b/swad_file_browser.c @@ -2061,7 +2061,7 @@ void Brw_AskEditWorksCrs (void) { /***** Draw class photos to select users *****/ /* Form start */ - fprintf (Gbl.F.Out,"
"); + fprintf (Gbl.F.Out,"
"); Act_FormStart (ActAdmAsgWrkCrs); Grp_PutParamsCodGrps (); Par_PutHiddenParamChar ("FullTree",'Y'); // By default, show all files @@ -2987,7 +2987,7 @@ static void Brw_PutFormToShowOrAdmin (Brw_ShowOrAdmin_t ShowOrAdmin, extern const char *Txt_View_as_a_student; extern const char *Txt_Edit; - fprintf (Gbl.F.Out,"
"); + fprintf (Gbl.F.Out,"
"); Act_FormStart (Action); if (Gbl.FileBrowser.FullTree) Par_PutHiddenParamChar ("FullTree",'Y'); @@ -3022,7 +3022,8 @@ static void Brw_WriteFormFullTree (void) extern const char *Txt_Show_all_files; /***** Start form depending on type of tree *****/ - fprintf (Gbl.F.Out,"
", + fprintf (Gbl.F.Out,"
", The_ClassFormul[Gbl.Prefs.Theme]); switch (Gbl.FileBrowser.Type) { @@ -4715,7 +4716,7 @@ void Brw_AskRemFileFromTree (void) sprintf (Gbl.Message,Txt_Do_you_really_want_to_remove_FILE_OR_LINK_X, FileNameToShow); Lay_ShowAlert (Lay_WARNING,Gbl.Message); - fprintf (Gbl.F.Out,"
" + fprintf (Gbl.F.Out,"
" "" "
" "", @@ -4869,7 +4870,7 @@ static void Brw_AskConfirmRemoveFolderNotEmpty (void) sprintf (Gbl.Message,Txt_Do_you_really_want_to_remove_the_folder_X, Gbl.FileBrowser.FilFolLnkName); Lay_ShowAlert (Lay_WARNING,Gbl.Message); - fprintf (Gbl.F.Out,"
" + fprintf (Gbl.F.Out,"
" "" "
" "", @@ -5073,7 +5074,8 @@ static void Brw_WriteCurrentClipboard (void) Crs_GetDataOfCourseByCod (&Crs); } - fprintf (Gbl.F.Out,"
%s: ", + fprintf (Gbl.F.Out,"
" + "%s: ", Txt_Copy_source); switch (Gbl.FileBrowser.Clipboard.FileBrowser) { diff --git a/swad_forum.c b/swad_forum.c index 65d69ff4e..a8f5e4b21 100644 --- a/swad_forum.c +++ b/swad_forum.c @@ -3500,7 +3500,7 @@ void For_WriteFormForumPst (bool IsReply,long ThrCod,const char *Subject) Act_FormStart (For_ActionsRecThrFor[Gbl.Forum.ForumType]); For_PutAllHiddenParamsForum (); - fprintf (Gbl.F.Out,"
" + fprintf (Gbl.F.Out,"
" "
" "" "" @@ -3759,7 +3759,7 @@ void For_ReqDelThr (void) Act_FormStart (For_ActionsDelThrFor[Gbl.Forum.ForumType]); For_PutAllHiddenParamsForum (); For_PutHiddenParamThrCod (ThrCod); - fprintf (Gbl.F.Out,"
" + fprintf (Gbl.F.Out,"
" "" "
", Txt_Remove_thread); diff --git a/swad_group.c b/swad_group.c index 583597983..7bd0cc8ba 100644 --- a/swad_group.c +++ b/swad_group.c @@ -232,7 +232,7 @@ static void Grp_ShowFormSeveralGrps (Act_Action_t NextAction) extern const char *Txt_Update_students_according_to_selected_groups; unsigned NumGrpTyp; - fprintf (Gbl.F.Out,"
"); + fprintf (Gbl.F.Out,"
"); /***** Start form to update the students listed depending on the groups selected *****/ @@ -3268,7 +3268,7 @@ static void Grp_AskConfirmRemGrpTypWithGrps (unsigned NumGrps) Lay_ShowAlert (Lay_WARNING,Gbl.Message); /***** Put button to confirm the removing *****/ - fprintf (Gbl.F.Out,"
"); + fprintf (Gbl.F.Out,"
"); Act_FormStart (ActRemGrpTyp); Grp_PutParamGrpTypCod (Gbl.CurrentCrs.Grps.GrpTyp.GrpTypCod); Lay_PutSendButton (Txt_Remove_type_of_group); @@ -3307,7 +3307,7 @@ static void Grp_AskConfirmRemGrp (void) Lay_ShowAlert (Lay_WARNING,Gbl.Message); /***** Put button to confirm the removing *****/ - fprintf (Gbl.F.Out,"
"); + fprintf (Gbl.F.Out,"
"); Act_FormStart (ActRemGrp); Grp_PutParamGrpCod (GrpDat.GrpCod); Lay_PutSendButton (Txt_Remove_group); diff --git a/swad_holiday.c b/swad_holiday.c index 6801c5d8a..d290cf887 100644 --- a/swad_holiday.c +++ b/swad_holiday.c @@ -198,7 +198,7 @@ static void Hld_PutFormToEditHlds (void) extern const char *The_ClassFormul[The_NUM_THEMES]; extern const char *Txt_Edit; - fprintf (Gbl.F.Out,"
"); + fprintf (Gbl.F.Out,"
"); Act_FormStart (ActEdiHld); Act_LinkFormSubmit (Txt_Edit,The_ClassFormul[Gbl.Prefs.Theme]); Lay_PutSendIcon ("edit",Txt_Edit,Txt_Edit); diff --git a/swad_indicator.c b/swad_indicator.c index e40ce01bb..63357d414 100644 --- a/swad_indicator.c +++ b/swad_indicator.c @@ -91,7 +91,7 @@ void Ind_ReqIndicatorsCourses (void) /***** Form to update indicators *****/ /* Start form */ Act_FormStart (ActReqStaCrs); - fprintf (Gbl.F.Out,"
" + fprintf (Gbl.F.Out,"
" "
"); /* Compute stats for anywhere, centre, degree or course? */ @@ -442,7 +442,7 @@ static void Ind_PutButtonToConfirmIWantToSeeBigList (unsigned NumCrss) extern const char *Txt_The_list_of_X_courses_is_too_large_to_be_displayed; extern const char *Txt_Show_anyway; - fprintf (Gbl.F.Out,"
"); + fprintf (Gbl.F.Out,"
"); /***** Show warning *****/ sprintf (Gbl.Message,Txt_The_list_of_X_courses_is_too_large_to_be_displayed, diff --git a/swad_info.c b/swad_info.c index 6df9bb8b3..14476a10c 100644 --- a/swad_info.c +++ b/swad_info.c @@ -402,7 +402,7 @@ static void Inf_PutFormToEditInfo (Inf_InfoType_t InfoType) extern const char *The_ClassFormul[The_NUM_THEMES]; extern const char *Txt_Edit; - fprintf (Gbl.F.Out,"
"); + fprintf (Gbl.F.Out,"
"); Act_FormStart (Inf_ActionsEditInfo[InfoType]); Act_LinkFormSubmit (Txt_Edit,The_ClassFormul[Gbl.Prefs.Theme]); Lay_PutSendIcon ("edit",Txt_Edit,Txt_Edit); @@ -419,7 +419,8 @@ static void Inf_PutFormToForceStdsToReadInfo (Inf_InfoType_t InfoType,bool MustB extern const char *The_ClassFormul[The_NUM_THEMES]; extern const char *Txt_Force_students_to_read_this_information; - fprintf (Gbl.F.Out,"
", + fprintf (Gbl.F.Out,"
", The_ClassFormul[Gbl.Prefs.Theme]); Act_FormStart (Inf_ActionsChangeForceReadInfo[InfoType]); fprintf (Gbl.F.Out,"", + fprintf (Gbl.F.Out,"
", The_ClassFormul[Gbl.Prefs.Theme]); Act_FormStart (Inf_ActionsIHaveReadInfo[InfoType]); fprintf (Gbl.F.Out,"" + fprintf (Gbl.F.Out,"
" "
" "" "
" diff --git a/swad_institution.c b/swad_institution.c index c42544bed..58af25ce0 100644 --- a/swad_institution.c +++ b/swad_institution.c @@ -237,7 +237,7 @@ static void Ins_Configuration (bool PrintView) /***** Link to print view *****/ if (!PrintView) { - fprintf (Gbl.F.Out,"
"); + fprintf (Gbl.F.Out,"
"); Lay_PutLinkToPrintView1 (ActPrnInsInf); Lay_PutLinkToPrintView2 (); fprintf (Gbl.F.Out,"
"); diff --git a/swad_layout.c b/swad_layout.c index 083cc7bc6..53aac8a87 100644 --- a/swad_layout.c +++ b/swad_layout.c @@ -266,7 +266,8 @@ void Lay_WriteStartOfPage (void) if (Act_Actions[Gbl.CurrentAct].BrowserWindow == Act_MAIN_WINDOW) fprintf (Gbl.F.Out,"
" "\"\"" - "
" + "
" + "
" "
", Gbl.Prefs.IconsURL); @@ -284,7 +285,8 @@ void Lay_WriteStartOfPage (void) } fprintf (Gbl.F.Out,"
" - "
" + "
" "" "", ColspanCentralPart, @@ -348,7 +350,8 @@ void Lay_WriteStartOfPage (void) if (Gbl.Now.Date.Month == 1 && Gbl.Now.Date.Day == 1) { - fprintf (Gbl.F.Out,"
"); + fprintf (Gbl.F.Out,"
"); fprintf (Gbl.F.Out,Txt_NEW_YEAR_GREETING,Gbl.Now.Date.Year); fprintf (Gbl.F.Out,"
"); } @@ -675,7 +678,7 @@ static void Lay_WritePageTopHeading (void) /***** 2nd. row, 2nd. column: degree and course *****/ fprintf (Gbl.F.Out,"
" - "
"); + "
"); Deg_WriteCtyInsCtrDeg (); Crs_WriteSelectorMyCourses (); Deg_WriteBigNameCtyInsCtrDegCrs (); @@ -1492,7 +1495,7 @@ void Lay_PutFormToEdit (Act_Action_t Action) extern const char *The_ClassFormul[The_NUM_THEMES]; extern const char *Txt_Edit; - fprintf (Gbl.F.Out,"
"); + fprintf (Gbl.F.Out,"
"); Act_FormStart (Action); Act_LinkFormSubmit (Txt_Edit,The_ClassFormul[Gbl.Prefs.Theme]); Lay_PutSendIcon ("edit",Txt_Edit,Txt_Edit); @@ -1519,7 +1522,7 @@ void Lay_PutSendIcon (const char *Icon,const char *Alt,const char *Text) void Lay_PutSendButton (const char *TextSendButton) { - fprintf (Gbl.F.Out,"
" + fprintf (Gbl.F.Out,"
" "" "
", TextSendButton); @@ -1531,7 +1534,10 @@ void Lay_PutSendButton (const char *TextSendButton) void Lay_WriteTitle (const char *Title) { - fprintf (Gbl.F.Out,"
%s
",Title); + fprintf (Gbl.F.Out,"
" + "%s" + "
", + Title); } /*****************************************************************************/ @@ -1541,14 +1547,17 @@ void Lay_WriteTitle (const char *Title) void Lay_StartRoundFrameTable10 (const char *Width,unsigned CellPadding,const char *Title) { - fprintf (Gbl.F.Out,"
" + fprintf (Gbl.F.Out,"
" "
"); if (Title) - fprintf (Gbl.F.Out,"
%s
", + fprintf (Gbl.F.Out,"
" + "%s" + "
", Title); fprintf (Gbl.F.Out,"" + fprintf (Gbl.F.Out,"
" "
" - "
" + fprintf (Gbl.F.Out,"
" + "
" "%s" "
" "
", @@ -1759,7 +1769,8 @@ void Lay_WritePageFooter (void) case Lay_LAYOUT_DESKTOP: Lay_WriteFootFromHTMLFile (); - fprintf (Gbl.F.Out,"
"); + fprintf (Gbl.F.Out,"
"); /***** Institution and centre hosting the platform *****/ fprintf (Gbl.F.Out,"" diff --git a/swad_link.c b/swad_link.c index baf80829f..f98633830 100644 --- a/swad_link.c +++ b/swad_link.c @@ -121,7 +121,7 @@ static void Lnk_PutFormToEditLinks (void) extern const char *The_ClassFormul[The_NUM_THEMES]; extern const char *Txt_Edit; - fprintf (Gbl.F.Out,"
"); + fprintf (Gbl.F.Out,"
"); Act_FormStart (ActEdiLnk); Act_LinkFormSubmit (Txt_Edit,The_ClassFormul[Gbl.Prefs.Theme]); Lay_PutSendIcon ("edit",Txt_Edit,Txt_Edit); diff --git a/swad_mail.c b/swad_mail.c index 4858bc8b4..401ecd668 100644 --- a/swad_mail.c +++ b/swad_mail.c @@ -177,7 +177,7 @@ static void Mai_PutFormToEditMailDomains (void) extern const char *The_ClassFormul[The_NUM_THEMES]; extern const char *Txt_Edit; - fprintf (Gbl.F.Out,"
" "" "
" + fprintf (Gbl.F.Out,"
" + "" "
" "", Txt_Delete_messages_received); @@ -798,7 +799,10 @@ void Msg_ReqDelAllSntMsgs (void) Lay_ShowAlert (Lay_WARNING,Gbl.Message); Act_FormStart (ActDelAllSntMsg); Msg_PutHiddenParamsMsgsFilters (); - fprintf (Gbl.F.Out,"
", + fprintf (Gbl.F.Out,"
" + "" + "
" + "", Txt_Delete_messages_sent); } @@ -1476,7 +1480,8 @@ void Msg_ShowRecMsgs (void) /***** Link to view banned users *****/ if (Msg_GetNumUsrsBannedByMe ()) { - fprintf (Gbl.F.Out,"
"); + fprintf (Gbl.F.Out,"
"); Msg_PutLinkToViewBannedUsers (); fprintf (Gbl.F.Out,"
"); } @@ -1538,7 +1543,7 @@ static void Msg_ShowSentOrReceivedMessages (Msg_TypeOfMessages_t TypeOfMessages) NumMsgs = (unsigned) NumRows; /* Write number of messages and number of new messages */ - fprintf (Gbl.F.Out,"
"); + fprintf (Gbl.F.Out,"
"); Msg_WriteNumMsgs (NumMsgs,NumUnreadMsgs); fprintf (Gbl.F.Out,"
"); @@ -2062,7 +2067,7 @@ void Msg_ShowFormDelSentOrRecMsgs (Msg_TypeOfMessages_t TypeOfMessages,unsigned char StrFilterContent[256+Msg_MAX_LENGTH_FILTER_CONTENT+1]; /***** Put link to request deletion of all sent or received messages *****/ - fprintf (Gbl.F.Out,"
"); + fprintf (Gbl.F.Out,"
"); Act_FormStart ((TypeOfMessages == Msg_MESSAGES_RECEIVED) ? ActReqDelAllRcvMsg : ActReqDelAllSntMsg); Msg_PutHiddenParamsMsgsFilters (); @@ -2188,7 +2193,7 @@ void Msg_ShowFormSelectCourseSentOrRecMsgs (Msg_TypeOfMessages_t TypeOfMessages) unsigned NumOriginCrs; /***** Course selection *****/ - fprintf (Gbl.F.Out,"
"); + fprintf (Gbl.F.Out,"
"); fprintf (Gbl.F.Out,"%s " ""); /***** Authors/recipients of the message *****/ @@ -2269,7 +2274,7 @@ static void Msg_ShowFormToShowOnlyUnreadMessages (void) extern const char *Txt_Show_only_unread_messages; /***** Put checkbox to select whether to show only unread (received) messages *****/ - fprintf (Gbl.F.Out,"
" + fprintf (Gbl.F.Out,"
" "(%s)
", + fprintf (Gbl.F.Out,"
" + "(%s)" + "
", Txt_from_this_course); else // Message sent from another course { /* Write course, including link */ Act_FormGoToStart (ActSeeCrsInf); Crs_PutParamCrsCod (Crs.CrsCod); - fprintf (Gbl.F.Out,"
("); + fprintf (Gbl.F.Out,"
" + "("); sprintf (Gbl.Title,Txt_Go_to_X,Crs.FullName); Act_LinkFormSubmit (Gbl.Title,"MSG_AUT"); - fprintf (Gbl.F.Out,"%s)
" + fprintf (Gbl.F.Out,"%s)" + "
" "", Crs.ShortName); } } } if (!ThereIsOrgCrs) // It's an old message without origin source specified, or is a message sent from none course - fprintf (Gbl.F.Out,"
(%s)
", + fprintf (Gbl.F.Out,"
" + "(%s)" + "
", Txt_no_course_of_origin); return FromThisCrs; diff --git a/swad_network.c b/swad_network.c index 19320802d..ded6105d5 100644 --- a/swad_network.c +++ b/swad_network.c @@ -136,7 +136,7 @@ void Net_ShowWebsAndSocialNets (long UsrCod) Net_WebsAndSocialNetworks_t NumURL; char URL[Cns_MAX_BYTES_URL+1]; - fprintf (Gbl.F.Out,"
"); + fprintf (Gbl.F.Out,"
"); for (NumURL = (Net_WebsAndSocialNetworks_t) 0; NumURL < Net_NUM_WEBS_AND_SOCIAL_NETWORKS; @@ -157,7 +157,8 @@ void Net_ShowWebsAndSocialNets (long UsrCod) URL[Cns_MAX_BYTES_URL] = '\0'; /***** Write link and icon *****/ - fprintf (Gbl.F.Out,"
" @@ -315,7 +315,7 @@ void Not_ShowNotices (Not_Listing_t TypeNoticesListing) Gbl.Usrs.Me.LoggedRole == Rol_ROLE_SUPERUSER) ); - fprintf (Gbl.F.Out,"
"); + fprintf (Gbl.F.Out,"
"); if (ICanEditNotices) { @@ -407,7 +407,7 @@ void Not_ShowNotices (Not_Listing_t TypeNoticesListing) RSS_UpdateRSSFileForACrs (&Gbl.CurrentCrs.Crs); /* Put a link to the RSS file */ - fprintf (Gbl.F.Out,"
" + fprintf (Gbl.F.Out,"
" "" @@ -568,7 +568,7 @@ static void Not_DrawANotice (Not_Listing_t TypeNoticesListing, Content); if (TypeNoticesListing == Not_LIST_BRIEF_NOTICES) { - fprintf (Gbl.F.Out,"
"); + fprintf (Gbl.F.Out,"
"); /* Form to view full notice */ Act_FormStart (ActShoNot); Not_PutHiddenParamNotCod (NotCod); @@ -594,7 +594,7 @@ static void Not_DrawANotice (Not_Listing_t TypeNoticesListing, /***** Write form to delete this notice *****/ if (ICanEditNotices) { - fprintf (Gbl.F.Out,"
", + fprintf (Gbl.F.Out,"
", The_ClassFormul[Gbl.Prefs.Theme]); /* Form to delete notice */ diff --git a/swad_notification.c b/swad_notification.c index 211410d19..4f30d61a2 100644 --- a/swad_notification.c +++ b/swad_notification.c @@ -279,7 +279,7 @@ void Ntf_ShowMyNotifications (void) NumNotifications = DB_QuerySELECT (Query,&mysql_res,"can not get your notifications"); /***** Buttons to change preferences and to mark all notifications as seen *****/ - fprintf (Gbl.F.Out,"
"); + fprintf (Gbl.F.Out,"
"); Ntf_PutLinkToChangePrefs (); // Put form to change notification preferences if (NumNotifications) Ntf_PutLinkToMarkAllNotifAsSeen (); // Put form to change notification preferences @@ -556,7 +556,8 @@ static void Ntf_WriteFormAllNotifications (bool AllNotifications) extern const char *Txt_Show_all_notifications; /***** Start form *****/ - fprintf (Gbl.F.Out,"
", + fprintf (Gbl.F.Out,"
", The_ClassFormul[Gbl.Prefs.Theme]); Act_FormStart (ActSeeNtf); diff --git a/swad_pagination.c b/swad_pagination.c index 4d94847c9..2a064126b 100644 --- a/swad_pagination.c +++ b/swad_pagination.c @@ -100,7 +100,7 @@ void Pag_CalculatePagination (struct Pagination *Pagination) void Pag_WriteLinksToPagesCentered (Pag_WhatPaginate_t WhatPaginate,long ThrCod,struct Pagination *Pagination) { - fprintf (Gbl.F.Out,"
"); + fprintf (Gbl.F.Out,"
"); Pag_WriteLinksToPages (WhatPaginate,ThrCod,Pagination,true,NULL,"TIT",false); fprintf (Gbl.F.Out,"
"); } diff --git a/swad_password.c b/swad_password.c index 297c1b1ae..f32c7d633 100644 --- a/swad_password.c +++ b/swad_password.c @@ -225,7 +225,8 @@ void Pwd_ShowFormSendNewPwd (void) Act_FormStart (ActSndNewPwd); /***** User's ID/nickname *****/ - fprintf (Gbl.F.Out,"
%s: " + fprintf (Gbl.F.Out,"
" + "%s: " "" "
", The_ClassFormul[Gbl.Prefs.Theme],Txt_nick_email_or_ID,Usr_MAX_LENGTH_USR_LOGIN,Gbl.Usrs.Me.UsrIdLogin); @@ -739,7 +740,7 @@ void Pwd_ShowFormOthPwd (void) /***** Form to change password *****/ /* Start form */ - fprintf (Gbl.F.Out,"
"); + fprintf (Gbl.F.Out,"
"); Act_FormStart (ActChgPwdOthUsr); Usr_PutParamOtherUsrCodEncrypted (Gbl.Usrs.Other.UsrDat.EncryptedUsrCod); @@ -830,7 +831,7 @@ void Pwd_AskForConfirmationOnDangerousAction (void) extern const char *Txt_I_understand_that_this_action_may_have_serious_consequences_and_can_not_be_undone; extern const char *Txt_For_security_enter_your_password; - fprintf (Gbl.F.Out,"
" + fprintf (Gbl.F.Out,"
" "" "%s
" "%s: " diff --git a/swad_photo.c b/swad_photo.c index be30e5f57..505ae98f3 100644 --- a/swad_photo.c +++ b/swad_photo.c @@ -178,7 +178,7 @@ static void Pho_PutLinkToRemoveUsrPhoto (const struct UsrData *UsrDat) extern const char *Txt_Remove_photo; /***** Link for changing / uploading the photo *****/ - fprintf (Gbl.F.Out,"
"); + fprintf (Gbl.F.Out,"
"); if (UsrDat->UsrCod == Gbl.Usrs.Me.UsrDat.UsrCod) // It's me Act_FormStart (ActRemMyPho); else // Not me @@ -231,7 +231,7 @@ void Pho_ReqPhoto (const struct UsrData *UsrDat,bool PhotoExists,const char *Pho extern const char *Txt_Upload_photo; bool ItsMe = (UsrDat->UsrCod == Gbl.Usrs.Me.UsrDat.UsrCod); - fprintf (Gbl.F.Out,"
"); + fprintf (Gbl.F.Out,"
"); /***** Write message about photo presence or ausence *****/ if (PhotoExists) // User has photo @@ -591,7 +591,7 @@ void Pho_ReceivePhotoAndDetectFaces (bool ItsMe,const struct UsrData *UsrDat) /***** Show map photo *****/ sprintf (FileNamePhotoMap,"%s/%s/%s/%s_map.jpg", Cfg_PATH_SWAD_PUBLIC,Cfg_FOLDER_PHOTO,Cfg_FOLDER_PHOTO_TMP,Gbl.UniqueNameEncrypted); - fprintf (Gbl.F.Out,"
" + fprintf (Gbl.F.Out,"
" "" "
", Cfg_HTTPS_URL_SWAD_PUBLIC,Cfg_FOLDER_PHOTO,Cfg_FOLDER_PHOTO_TMP,Gbl.UniqueNameEncrypted); @@ -1400,7 +1400,7 @@ void Pho_ShowOrPrintPhotoDegree (Pho_AvgPhotoSeeOrPrint_t SeeOrPrint) if (SeeOrPrint == Pho_DEGREES_SEE) { - fprintf (Gbl.F.Out,"
" + fprintf (Gbl.F.Out,"
" "
"); /***** Put a selector for the type of average *****/ @@ -1656,7 +1656,7 @@ static Pho_HowOrderDegrees_t Pho_GetHowOrderDegreesFromForm (void) static void Pho_PutLinkToPrintViewOfDegreeStats (void) { - fprintf (Gbl.F.Out,"
"); + fprintf (Gbl.F.Out,"
"); Lay_PutLinkToPrintView1 (ActPrnPhoDeg); Pho_PutHiddenParamTypeOfAvg (); Pho_PutHiddenParamPhotoSize (); @@ -1693,7 +1693,7 @@ static void Pho_PutLinkToCalculateDegreeStats (void) Deg_GetDataOfDegreeByCod (&Deg); /***** Start div and table *****/ - fprintf (Gbl.F.Out,"
"); + fprintf (Gbl.F.Out,"
"); /***** Start form *****/ Act_FormStart (ActCalPhoDeg); diff --git a/swad_place.c b/swad_place.c index 46baeba8c..00db7bd71 100644 --- a/swad_place.c +++ b/swad_place.c @@ -203,7 +203,7 @@ static void Plc_PutFormToEditPlcs (void) extern const char *The_ClassFormul[The_NUM_THEMES]; extern const char *Txt_Edit; - fprintf (Gbl.F.Out,"
"); + fprintf (Gbl.F.Out,"
"); Act_FormStart (ActEdiPlc); Act_LinkFormSubmit (Txt_Edit,The_ClassFormul[Gbl.Prefs.Theme]); Lay_PutSendIcon ("edit",Txt_Edit,Txt_Edit); diff --git a/swad_plugin.c b/swad_plugin.c index 58b5620d4..cb8311b4a 100644 --- a/swad_plugin.c +++ b/swad_plugin.c @@ -152,7 +152,7 @@ static void Plg_PutFormToEditPlugins (void) extern const char *The_ClassFormul[The_NUM_THEMES]; extern const char *Txt_Edit; - fprintf (Gbl.F.Out,"
"); + fprintf (Gbl.F.Out,"
"); Act_FormStart (ActEdiPlg); Act_LinkFormSubmit (Txt_Edit,The_ClassFormul[Gbl.Prefs.Theme]); Lay_PutSendIcon ("edit",Txt_Edit,Txt_Edit); diff --git a/swad_record.c b/swad_record.c index cbad27002..3610d7bd0 100644 --- a/swad_record.c +++ b/swad_record.c @@ -571,7 +571,9 @@ void Rec_AskConfirmRemFieldWithRecords (unsigned NumRecords) /***** Button to confirm removing *****/ Act_FormStart (ActRemFie); Par_PutHiddenParamLong ("FieldCod",Gbl.CurrentCrs.Records.Field.FieldCod); - fprintf (Gbl.F.Out,"
", + fprintf (Gbl.F.Out,"
" + "" + "
", Txt_Remove_record_field); fprintf (Gbl.F.Out,""); } @@ -904,7 +906,7 @@ void Rec_ListRecordsInvs (void) if (Gbl.CurrentAct == ActSeeRecSevInv) { - fprintf (Gbl.F.Out,"
"); + fprintf (Gbl.F.Out,"
"); /* Link to print view */ Act_FormStart (ActPrnRecSevInv); @@ -928,7 +930,8 @@ void Rec_ListRecordsInvs (void) Usr_GetUsrCodFromEncryptedUsrCod (&UsrDat); if (Usr_ChkUsrCodAndGetAllUsrDataFromUsrCod (&UsrDat)) // Get from the database the data of the student { - fprintf (Gbl.F.Out,"
"); + fprintf (Gbl.F.Out,"
"); /***** Link to edit record fields *****/ if (Gbl.Usrs.Me.LoggedRole == Rol_ROLE_TEACHER) @@ -988,7 +991,8 @@ void Rec_ListRecordOneStdCrs (void) { Gbl.Usrs.Other.UsrDat.Accepted = Usr_GetIfUserHasAcceptedEnrollmentInCurrentCrs (Gbl.Usrs.Other.UsrDat.UsrCod); - fprintf (Gbl.F.Out,"
"); + fprintf (Gbl.F.Out,"
"); /* Common record */ Rec_ShowCommonRecord (Rec_RECORD_LIST,&Gbl.Usrs.Other.UsrDat); @@ -1038,7 +1042,7 @@ void Rec_ListRecordsStdsCrs (void) if (Gbl.CurrentAct == ActSeeRecSevStd) { - fprintf (Gbl.F.Out,"
"); + fprintf (Gbl.F.Out,"
"); /* Link to edit record fields */ if (Gbl.Usrs.Me.LoggedRole == Rol_ROLE_TEACHER) @@ -1066,7 +1070,8 @@ void Rec_ListRecordsStdsCrs (void) { UsrDat.Accepted = Usr_GetIfUserHasAcceptedEnrollmentInCurrentCrs (UsrDat.UsrCod); - fprintf (Gbl.F.Out,"
"); + fprintf (Gbl.F.Out,"
"); /***** Show office hours? *****/ Rec_WriteFormShowOfficeHours (true,Gbl.Usrs.Other.UsrDat.EncryptedUsrCod); @@ -1131,7 +1136,8 @@ void Rec_ListRecordOneTchCrs (void) { Gbl.Usrs.Other.UsrDat.Accepted = Usr_GetIfUserHasAcceptedEnrollmentInCurrentCrs (Gbl.Usrs.Other.UsrDat.UsrCod); - fprintf (Gbl.F.Out,"
"); + fprintf (Gbl.F.Out,"
"); /* Common record */ Rec_ShowCommonRecord (Rec_RECORD_LIST,&Gbl.Usrs.Other.UsrDat); @@ -1187,7 +1193,7 @@ void Rec_ListRecordsTchsCrs (void) if (Gbl.CurrentAct == ActSeeRecSevTch) { - fprintf (Gbl.F.Out,"
"); + fprintf (Gbl.F.Out,"
"); /* Show office hours? */ Rec_WriteFormShowOfficeHours (ShowOfficeHours,Gbl.Usrs.Select.All); @@ -1218,7 +1224,8 @@ void Rec_ListRecordsTchsCrs (void) { UsrDat.Accepted = Usr_GetIfUserHasAcceptedEnrollmentInCurrentCrs (UsrDat.UsrCod); - fprintf (Gbl.F.Out,"
"); + fprintf (Gbl.F.Out,"
"); /***** Show record common to all courses *****/ /* Button for edition */ @@ -1770,7 +1777,7 @@ void Rec_ShowOtherCrsRecordUpdated (void) static void Rec_ShowCrsRecordAfterUpdate (Rec_RecordViewType_t TypeOfView,struct UsrData *UsrDat) { /***** Show user's record *****/ - fprintf (Gbl.F.Out,"
"); + fprintf (Gbl.F.Out,"
"); Rec_ShowCrsRecord (TypeOfView,UsrDat); fprintf (Gbl.F.Out,"
"); } @@ -1823,7 +1830,7 @@ void Rec_ShowFormSignUpWithMyCommonRecord (void) extern const char *Txt_Sign_up; /***** Show the form *****/ - fprintf (Gbl.F.Out,"
"); + fprintf (Gbl.F.Out,"
"); Act_FormStart (ActSignUp); Rec_ShowCommonRecord (Rec_FORM_SIGN_UP,&Gbl.Usrs.Me.UsrDat); Lay_PutSendButton (Txt_Sign_up); @@ -1851,7 +1858,7 @@ void Rec_ShowFormMyCommRecord (void) Lay_ShowAlert (Lay_WARNING,Txt_Before_going_to_any_other_option_you_must_fill_your_record_card_including_your_country_nationality); /***** Buttons for edition *****/ - fprintf (Gbl.F.Out,"
"); + fprintf (Gbl.F.Out,"
"); Rec_PutLinkToMyCrsRecord (); // Put link (form) to my record in this course Pho_PutLinkToChangeUsrPhoto (&Gbl.Usrs.Me.UsrDat); // Put link (form) to change my photo Rec_PutLinkToChangeMyInsCtrDpt (); // Put link (form) to change my institution, centre, department... @@ -1911,7 +1918,7 @@ void Rec_ShowFormOtherNewCommonRecord (struct UsrData *UsrDat) extern const char *Txt_Register; /***** Show the form *****/ - fprintf (Gbl.F.Out,"
"); + fprintf (Gbl.F.Out,"
"); Rec_ShowCommonRecord (Rec_FORM_NEW_RECORD_OTHER_NEW_USR,UsrDat); if (Gbl.CurrentCrs.Grps.NumGrps) // This course has groups? @@ -1934,7 +1941,7 @@ void Rec_ShowMyCommonRecordUpd (void) Lay_ShowAlert (Lay_SUCCESS,Txt_Your_personal_data_have_been_updated); /***** Show my record for checking *****/ - fprintf (Gbl.F.Out,"
"); + fprintf (Gbl.F.Out,"
"); Rec_ShowCommonRecord (Rec_MY_COMMON_RECORD_CHECK,&Gbl.Usrs.Me.UsrDat); fprintf (Gbl.F.Out,"
"); } @@ -1950,7 +1957,7 @@ void Rec_ShowCommonRecordUnmodifiable (struct UsrData *UsrDat) UsrDat->Accepted = Usr_GetIfUserHasAcceptedEnrollmentInCurrentCrs (UsrDat->UsrCod); /***** Show user's record *****/ - fprintf (Gbl.F.Out,"
"); + fprintf (Gbl.F.Out,"
"); Rec_ShowCommonRecord (Rec_OTHER_USR_COMMON_RECORD_CHECK,UsrDat); fprintf (Gbl.F.Out,"
"); } diff --git a/swad_search.c b/swad_search.c index 026da97cf..695185aa3 100644 --- a/swad_search.c +++ b/swad_search.c @@ -90,7 +90,7 @@ void Sch_ReqSysSearch (void) /***** Select one of my courses *****/ if (Gbl.Usrs.Me.Logged) { - fprintf (Gbl.F.Out,"
"); + fprintf (Gbl.F.Out,"
"); Crs_PutFormToSelectMyCourses (); fprintf (Gbl.F.Out,"
"); } @@ -109,7 +109,7 @@ void Sch_ReqCtySearch (void) /***** Select one of my courses *****/ if (Gbl.Usrs.Me.Logged) { - fprintf (Gbl.F.Out,"
"); + fprintf (Gbl.F.Out,"
"); Crs_PutFormToSelectMyCourses (); fprintf (Gbl.F.Out,"
"); } @@ -128,7 +128,7 @@ void Sch_ReqInsSearch (void) /***** Select one of my courses *****/ if (Gbl.Usrs.Me.Logged) { - fprintf (Gbl.F.Out,"
"); + fprintf (Gbl.F.Out,"
"); Crs_PutFormToSelectMyCourses (); fprintf (Gbl.F.Out,"
"); } @@ -147,7 +147,7 @@ void Sch_ReqCtrSearch (void) /***** Select one of my courses *****/ if (Gbl.Usrs.Me.Logged) { - fprintf (Gbl.F.Out,"
"); + fprintf (Gbl.F.Out,"
"); Crs_PutFormToSelectMyCourses (); fprintf (Gbl.F.Out,"
"); } @@ -166,7 +166,7 @@ void Sch_ReqDegSearch (void) /***** Select one of my courses *****/ if (Gbl.Usrs.Me.Logged) { - fprintf (Gbl.F.Out,"
"); + fprintf (Gbl.F.Out,"
"); Crs_PutFormToSelectMyCourses (); fprintf (Gbl.F.Out,"
"); } @@ -185,7 +185,7 @@ void Sch_ReqCrsSearch (void) /***** Select one of my courses *****/ if (Gbl.Usrs.Me.Logged) { - fprintf (Gbl.F.Out,"
"); + fprintf (Gbl.F.Out,"
"); Crs_PutFormToSelectMyCourses (); fprintf (Gbl.F.Out,"
"); } @@ -230,14 +230,15 @@ static void Sch_PutFormToSearchWithWhatToSearchAndScope (Act_Action_t Action,Sco Sch_WhatToSearch_t WhatToSearch; /***** Form start *****/ - fprintf (Gbl.F.Out,"
"); + fprintf (Gbl.F.Out,"
"); Act_FormStart (Action); Lay_StartRoundFrameTable10 (NULL,2,Txt_Search); fprintf (Gbl.F.Out,"
" "
"); /***** Scope (whole platform, current centre, current degree or current course) *****/ - fprintf (Gbl.F.Out,"
%s: ", + fprintf (Gbl.F.Out,"
" + "%s: ", The_ClassFormul[Gbl.Prefs.Theme],Txt_Scope); Gbl.Scope.Allowed = 1 << Sco_SCOPE_PLATFORM | 1 << Sco_SCOPE_COUNTRY | diff --git a/swad_statistic.c b/swad_statistic.c index f8d57d910..1ed1767cb 100644 --- a/swad_statistic.c +++ b/swad_statistic.c @@ -393,7 +393,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,"
" + fprintf (Gbl.F.Out,"
" "" "" "
"); @@ -513,7 +513,7 @@ void Sta_AskSeeGblAccesses (void) /***** Start form *****/ Act_FormStart (ActSeeAccGbl); - fprintf (Gbl.F.Out,"
" + fprintf (Gbl.F.Out,"
" ""); /***** Start and end dates for the search *****/ @@ -3562,11 +3562,12 @@ void Sta_ReqUseOfPlatform (void) Sta_UseStatType_t UseStatType; /***** Start form *****/ - fprintf (Gbl.F.Out,"
"); + fprintf (Gbl.F.Out,"
"); Act_FormStart (ActSeeUseGbl); /***** Compute stats for anywhere, degree or course? *****/ - fprintf (Gbl.F.Out,"
%s: ", + fprintf (Gbl.F.Out,"
" + "%s: ", The_ClassFormul[Gbl.Prefs.Theme],Txt_Scope); Gbl.Scope.Allowed = 1 << Sco_SCOPE_PLATFORM | 1 << Sco_SCOPE_COUNTRY | diff --git a/swad_survey.c b/swad_survey.c index 2901ba2c1..17d0ce12d 100644 --- a/swad_survey.c +++ b/swad_survey.c @@ -274,7 +274,7 @@ static bool Svy_CheckIfICanCreateSvy (void) static void Svy_PutFormToSelectWhichGroupsToShow (void) { - fprintf (Gbl.F.Out,"
"); + fprintf (Gbl.F.Out,"
"); Act_FormStart (ActSeeAllSvy); Svy_PutHiddenParamSvyOrderType (); Pag_PutHiddenParamPagNum (Gbl.Pag.CurrentPage); @@ -693,7 +693,7 @@ static void Svy_PutFormToCreateNewSvy (void) extern const char *The_ClassFormul[The_NUM_THEMES]; extern const char *Txt_New_survey; - fprintf (Gbl.F.Out,"
"); + fprintf (Gbl.F.Out,"
"); Act_FormStart (ActFrmNewSvy); Svy_PutHiddenParamSvyOrderType (); Grp_PutParamWhichGrps (); @@ -1266,7 +1266,9 @@ void Svy_AskRemSurvey (void) sprintf (Gbl.Message,Txt_Do_you_really_want_to_remove_the_survey_X, Svy.Title); Lay_ShowAlert (Lay_WARNING,Gbl.Message); - fprintf (Gbl.F.Out,"
" + fprintf (Gbl.F.Out,"
" + "" + "
" "", Txt_Remove_survey); @@ -1367,7 +1369,10 @@ void Svy_AskResetSurvey (void) sprintf (Gbl.Message,Txt_Do_you_really_want_to_reset_the_survey_X, Svy.Title); Lay_ShowAlert (Lay_WARNING,Gbl.Message); - fprintf (Gbl.F.Out,"
", + fprintf (Gbl.F.Out,"
" + "" + "
" + "", Txt_Reset_survey); /***** Show surveys again *****/ @@ -2443,7 +2448,7 @@ static void Svy_ShowFormEditOneQst (long SvyCod,struct SurveyQuestion *SvyQst,ch if (SvyQst->QstCod > 0) // If the question already has assigned a code Svy_PutParamQstCod (SvyQst->QstCod); - fprintf (Gbl.F.Out,"
"); + fprintf (Gbl.F.Out,"
"); /***** Show message *****/ if (SvyQst->QstCod > 0) // If the question already has assigned a code diff --git a/swad_syllabus.c b/swad_syllabus.c index 778f5347e..e75f35c0f 100644 --- a/swad_syllabus.c +++ b/swad_syllabus.c @@ -163,8 +163,9 @@ void Syl_EditSyllabus (void) Lay_EndRoundFrameTable10 (); if (!Gbl.CurrentCrs.Syllabus.EditionIsActive) - fprintf (Gbl.F.Out,"

" - "%s
", + fprintf (Gbl.F.Out,"
" + "
%s
", Txt_This_syllabus_has_been_edited_by_teachers_of_the_course_); } else diff --git a/swad_test.c b/swad_test.c index 0e8ed219d..bd31c531f 100644 --- a/swad_test.c +++ b/swad_test.c @@ -254,7 +254,7 @@ void Tst_ShowFormAskTst (void) if (Gbl.Usrs.Me.LoggedRole == Rol_ROLE_TEACHER || Gbl.Usrs.Me.LoggedRole == Rol_ROLE_SUPERUSER) { - fprintf (Gbl.F.Out,"
"); + fprintf (Gbl.F.Out,"
"); Tst_PutFormToEdit (); Tst_PutFormToConfigure (); fprintf (Gbl.F.Out,"
"); @@ -267,7 +267,7 @@ void Tst_ShowFormAskTst (void) if (Tst_CheckIfNextTstAllowed ()) { Act_FormStart (ActSeeTst); - fprintf (Gbl.F.Out,"
"); + fprintf (Gbl.F.Out,"
"); /***** Selection of tags *****/ Tst_ShowFormSelTags (NumRows,mysql_res,true); @@ -276,7 +276,8 @@ void Tst_ShowFormAskTst (void) Tst_ShowFormAnswerTypes (); /***** Number of questions to generate ****/ - fprintf (Gbl.F.Out,"
%s: " + fprintf (Gbl.F.Out,"
" + "%s: " "" + fprintf (Gbl.F.Out,"
" ""); + fprintf (Gbl.F.Out,"
"); Tst_PutFormToCreateNewTstQst (); // Put link (form) to create a new test question TsI_PutFormToImportQuestions (); // Put link (form) to import questions from XML file Tst_PutFormToConfigure (); // Put form to go to test configuration @@ -1108,7 +1110,7 @@ void Tst_ShowFormAskEditTsts (void) Act_FormStart (ActLstTstQst); Par_PutHiddenParamUnsigned ("Order",(unsigned) Tst_ORDER_STEM); - fprintf (Gbl.F.Out,"
"); + fprintf (Gbl.F.Out,"
"); /***** Selection of tags *****/ Tst_ShowFormSelTags (NumRows,mysql_res,false); @@ -1469,7 +1471,7 @@ static void Tst_ShowFormEditTags (void) else { /***** Start table *****/ - fprintf (Gbl.F.Out,"
"); + fprintf (Gbl.F.Out,"
"); Lay_StartRoundFrameTable10 (NULL,0,NULL); /***** Header of table with title *****/ @@ -2054,7 +2056,7 @@ void Tst_ListQuestionsToEdit (void) if ((NumRows = Tst_GetQuestionsForEdit (&mysql_res)) != 0) // Query database { /***** Buttons for edition *****/ - fprintf (Gbl.F.Out,"
"); + fprintf (Gbl.F.Out,"
"); Tst_PutFormToCreateNewTstQst (); // Put link (form) to create a new test question if (Gbl.Test.XML.CreateXML) TsI_CreateXML (NumRows,mysql_res); // Create XML file for exporting questions and put a link to download it @@ -2332,7 +2334,7 @@ static void Tst_ListOneQstToEdit (void) if (Tst_GetOneQuestionByCod (Gbl.Test.QstCod,&mysql_res)) { /***** Button to create a new question *****/ - fprintf (Gbl.F.Out,"
"); + fprintf (Gbl.F.Out,"
"); Tst_PutFormToCreateNewTstQst (); // Put link (form) to create a new test question fprintf (Gbl.F.Out,"
"); @@ -4193,7 +4195,8 @@ static void Tst_PutFormEditOneQst (char *Stem,char *Feedback) if (Gbl.Test.QstCod != -1) // If the question already has assigned a code Par_PutHiddenParamLong ("QstCod",Gbl.Test.QstCod); - fprintf (Gbl.F.Out,"
"); + fprintf (Gbl.F.Out,"
" + "
"); /***** Get tags already existing for questions in current course *****/ NumRows = Tst_GetAllTagsFromCurrentCrs (&mysql_res); @@ -5862,7 +5865,7 @@ void Tst_SelUsrsToSeeUsrsTstExams (void) /***** Form start *****/ Act_FormStart (ActSeeUsrTstExa); Grp_PutParamsCodGrps (); - fprintf (Gbl.F.Out,"
" + fprintf (Gbl.F.Out,"
" "
" "" "
"); @@ -5911,7 +5914,7 @@ void Tst_SelDatesToSeeMyTstExams (void) Act_FormStart (ActSeeMyTstExa); /***** Starting and ending dates in the search *****/ - fprintf (Gbl.F.Out,"
" + fprintf (Gbl.F.Out,"
" ""); Dat_WriteFormIniEndDates (); fprintf (Gbl.F.Out,"
" diff --git a/swad_test_import.c b/swad_test_import.c index 3c3b2f81c..69dfe5d95 100644 --- a/swad_test_import.c +++ b/swad_test_import.c @@ -131,7 +131,7 @@ void TsI_ShowFormImportQstsFromXML (void) extern const char *Txt_Upload_file; extern const char *Txt_XML_file; - fprintf (Gbl.F.Out,"
"); + fprintf (Gbl.F.Out,"
"); /***** Write help message *****/ Lay_ShowAlert (Lay_INFO,Txt_You_need_an_XML_file_containing_a_list_of_questions_to_import); @@ -492,7 +492,7 @@ static void TsI_ImportQuestionsFromXMLBuffer (const char *XMLBuffer) /***** Print XML tree *****/ Lay_WriteTitle (Txt_XML_file_content); - fprintf (Gbl.F.Out,"
" + fprintf (Gbl.F.Out,"
" "" diff --git a/swad_timetable.c b/swad_timetable.c index 602c246e5..434f4d2a1 100644 --- a/swad_timetable.c +++ b/swad_timetable.c @@ -248,7 +248,7 @@ void TT_ShowClassTimeTable (void) /***** Put buttons *****/ if (PutEditButton || PutEditOfficeHours || PrintView) { - fprintf (Gbl.F.Out,"
"); + fprintf (Gbl.F.Out,"
"); if (PutEditButton) { @@ -321,7 +321,7 @@ void TT_EditCrsTimeTable (void) extern const char *Txt_Show_timetable; /***** Link (form) to see my timetable *****/ - fprintf (Gbl.F.Out,"
"); + fprintf (Gbl.F.Out,"
"); Act_FormStart (ActSeeCrsTimTbl); Act_LinkFormSubmit (Txt_Show_timetable,The_ClassFormul[Gbl.Prefs.Theme]); Lay_PutSendIcon ("clock",Txt_Show_timetable,Txt_Show_timetable); @@ -353,7 +353,7 @@ void TT_ShowMyTutTimeTable (void) extern const char *Txt_Office_hours; /***** Link (form) to see my timetable *****/ - fprintf (Gbl.F.Out,"
"); + fprintf (Gbl.F.Out,"
"); Act_FormStart (ActSeeMyTimTbl); Act_LinkFormSubmit (Txt_Show_timetable,The_ClassFormul[Gbl.Prefs.Theme]); Lay_PutSendIcon ("clock",Txt_Show_timetable,Txt_Show_timetable); diff --git a/swad_user.c b/swad_user.c index 371d8e1a8..106b03003 100644 --- a/swad_user.c +++ b/swad_user.c @@ -194,7 +194,7 @@ void Usr_InformAboutNumClicksBeforePhoto (void) Pho_MAX_CLICKS_WITHOUT_PHOTO-Gbl.Usrs.Me.NumAccWithoutPhoto); Lay_ShowAlert (Lay_WARNING,Message); - fprintf (Gbl.F.Out,"
"); + fprintf (Gbl.F.Out,"
"); Pho_PutLinkToChangeUsrPhoto (&Gbl.Usrs.Me.UsrDat); fprintf (Gbl.F.Out,"
"); } @@ -1236,7 +1236,7 @@ void Usr_WriteFormLogin (void) extern const char *Txt_I_forgot_my_password; /***** Link to create a new account *****/ - fprintf (Gbl.F.Out,"
"); + fprintf (Gbl.F.Out,"
"); Act_FormStart (ActFrmUsrAcc); sprintf (Gbl.Title,Txt_New_on_PLATFORM_Sign_up,Cfg_PLATFORM_SHORT_NAME); Act_LinkFormSubmit (Gbl.Title,The_ClassFormul[Gbl.Prefs.Theme]); @@ -1257,7 +1257,7 @@ void Usr_WriteFormLogin (void) fprintf (Gbl.F.Out,"
"); /***** Form start *****/ - fprintf (Gbl.F.Out,"
"); + fprintf (Gbl.F.Out,"
"); Act_FormStart (ActAutUsrInt); Lay_StartRoundFrameTable10 (NULL,2,Txt_Log_in); @@ -1327,7 +1327,7 @@ void Usr_WelcomeUsr (void) { if (Gbl.Usrs.Me.UsrDat.Prefs.Language == Txt_Current_CGI_SWAD_Language) { - fprintf (Gbl.F.Out,"
"); + fprintf (Gbl.F.Out,"
"); /***** User's first name *****/ if (Gbl.Usrs.Me.UsrDat.FirstName[0]) @@ -2295,7 +2295,7 @@ void Usr_ShowFormsRoleAndLogout (void) extern const char *Txt_Role; /***** Link to log out *****/ - fprintf (Gbl.F.Out,"
"); + fprintf (Gbl.F.Out,"
"); Act_FormStart (ActLogOut); Act_LinkFormSubmit (Txt_Log_out,The_ClassFormul[Gbl.Prefs.Theme]); Lay_PutSendIcon ("logout",Txt_Log_out,Txt_Log_out); @@ -2311,7 +2311,8 @@ void Usr_ShowFormsRoleAndLogout (void) /***** Put a form to change my role *****/ if (Rol_GetNumAvailableRoles () > 1) { - fprintf (Gbl.F.Out,"
%s: ", + fprintf (Gbl.F.Out,"
" + "%s: ", The_ClassFormul[Gbl.Prefs.Theme],Txt_Role); Rol_PutFormToChangeMyRole (false); fprintf (Gbl.F.Out,"
"); @@ -4155,7 +4156,7 @@ static void Usr_PutButtonToConfirmIWantToSeeBigList (unsigned NumUsrs) extern const char *Txt_The_list_of_X_users_is_too_large_to_be_displayed; extern const char *Txt_Show_anyway; - fprintf (Gbl.F.Out,"
"); + fprintf (Gbl.F.Out,"
"); /***** Show warning *****/ sprintf (Gbl.Message,Txt_The_list_of_X_users_is_too_large_to_be_displayed, @@ -5721,7 +5722,7 @@ void Usr_ListDataAdms (void) Sco_GetScope (); /***** Form to select range of administrators *****/ - fprintf (Gbl.F.Out,"
" + fprintf (Gbl.F.Out,"
" "%s: ", The_ClassFormul[Gbl.Prefs.Theme],Txt_Scope); Act_FormStart (ActLstAdm); @@ -5736,7 +5737,7 @@ void Usr_ListDataAdms (void) if (Gbl.Usrs.LstAdms.NumUsrs) { /****** See the photos? *****/ - fprintf (Gbl.F.Out,"
"); + fprintf (Gbl.F.Out,"
"); Act_FormStart (ActLstAdm); Sco_PutParamScope (Gbl.Scope.Current); Usr_PutCheckboxListWithPhotos (); @@ -6149,7 +6150,7 @@ void Usr_SeeGuests (void) case Rol_ROLE_INS_ADMIN: case Rol_ROLE_SUPERUSER: /***** Form to select range of guests *****/ - fprintf (Gbl.F.Out,"
", + fprintf (Gbl.F.Out,"
", The_ClassFormul[Gbl.Prefs.Theme]); Act_FormStart (ActLstInv); Usr_PutParamUsrListType (Gbl.Usrs.Me.ListType); @@ -6181,14 +6182,14 @@ void Usr_SeeGuests (void) { case Usr_CLASS_PHOTO: /***** Link to print view *****/ - fprintf (Gbl.F.Out,"
"); + fprintf (Gbl.F.Out,"
"); Lay_PutLinkToPrintView1 (ActPrnInvPho); Lay_PutLinkToPrintView2 (); fprintf (Gbl.F.Out,"
"); break; case Usr_LIST: /****** Link to show all the data ******/ - fprintf (Gbl.F.Out,"
"); + fprintf (Gbl.F.Out,"
"); Act_FormStart (ActLstInvAll); Usr_PutParamListWithPhotos (); Usr_PutExtraParamsUsrList (ActLstInvAll); @@ -6200,7 +6201,7 @@ void Usr_SeeGuests (void) } /***** Draw a class photo with students of the course *****/ - fprintf (Gbl.F.Out,"
"); + fprintf (Gbl.F.Out,"
"); /* Form start */ Act_FormStart (ActSeeRecSevInv); @@ -6263,7 +6264,8 @@ void Usr_SeeStudents (void) (Gbl.Usrs.Me.LoggedRole == Rol_ROLE_TEACHER || // My role in current course is teacher... Gbl.Usrs.Me.LoggedRole == Rol_ROLE_SUPERUSER)) // ...or superuser { - fprintf (Gbl.F.Out,"
"); + fprintf (Gbl.F.Out,"
"); /***** Link to list official students *****/ Usr_PutLinkToListOfficialStudents (); @@ -6293,7 +6295,7 @@ void Usr_SeeStudents (void) case Rol_ROLE_DEG_ADMIN: case Rol_ROLE_SUPERUSER: /***** Form to select range of students *****/ - fprintf (Gbl.F.Out,"
", + fprintf (Gbl.F.Out,"
", The_ClassFormul[Gbl.Prefs.Theme]); Act_FormStart (ActLstStd); Usr_PutParamUsrListType (Gbl.Usrs.Me.ListType); @@ -6329,7 +6331,7 @@ void Usr_SeeStudents (void) { case Usr_CLASS_PHOTO: /***** Link to print view *****/ - fprintf (Gbl.F.Out,"
"); + fprintf (Gbl.F.Out,"
"); Lay_PutLinkToPrintView1 (ActPrnStdPho); Grp_PutParamsCodGrps (); Lay_PutLinkToPrintView2 (); @@ -6339,7 +6341,7 @@ void Usr_SeeStudents (void) if (Gbl.Usrs.Me.LoggedRole >= Rol_ROLE_TEACHER) { /****** Link to show all the data ******/ - fprintf (Gbl.F.Out,"
"); + fprintf (Gbl.F.Out,"
"); Act_FormStart (ActLstStdAll); Grp_PutParamsCodGrps (); Usr_PutParamListWithPhotos (); @@ -6353,7 +6355,7 @@ void Usr_SeeStudents (void) } /***** Draw a class photo with students of the course *****/ - fprintf (Gbl.F.Out,"
"); + fprintf (Gbl.F.Out,"
"); /* Form start */ if (ICanViewRecords) @@ -6447,7 +6449,7 @@ void Usr_SeeTeachers (void) ICanViewRecords = (Gbl.Scope.Current == Sco_SCOPE_COURSE); /***** Form to select scope *****/ - fprintf (Gbl.F.Out,"
", + fprintf (Gbl.F.Out,"
", The_ClassFormul[Gbl.Prefs.Theme]); Act_FormStart (ActLstTch); Usr_PutParamUsrListType (Gbl.Usrs.Me.ListType); @@ -6472,7 +6474,7 @@ void Usr_SeeTeachers (void) switch (Gbl.Usrs.Me.ListType) { case Usr_CLASS_PHOTO: - fprintf (Gbl.F.Out,"
"); + fprintf (Gbl.F.Out,"
"); Lay_PutLinkToPrintView1 (ActPrnTchPho); Sco_PutParamScope (Gbl.Scope.Current); Lay_PutLinkToPrintView2 (); @@ -6482,7 +6484,7 @@ void Usr_SeeTeachers (void) if (Gbl.Usrs.Me.LoggedRole >= Rol_ROLE_TEACHER) { /****** Link to show all the data ******/ - fprintf (Gbl.F.Out,"
"); + fprintf (Gbl.F.Out,"
"); Act_FormStart (ActLstTchAll); Sco_PutParamScope (Gbl.Scope.Current); Usr_PutParamListWithPhotos (); @@ -6495,7 +6497,7 @@ void Usr_SeeTeachers (void) } /***** Draw a class photo with teachers of the course *****/ - fprintf (Gbl.F.Out,"
"); + fprintf (Gbl.F.Out,"
"); /* Form start */ if (ICanViewRecords) diff --git a/swad_zip.c b/swad_zip.c index 13bc5bbf4..5e0beb4ac 100644 --- a/swad_zip.c +++ b/swad_zip.c @@ -105,7 +105,7 @@ void ZIP_PutButtonToCreateZIPAsgWrk (void) extern const char *The_ClassFormul[The_NUM_THEMES]; extern const char *Txt_Create_ZIP_file; - fprintf (Gbl.F.Out,"
"); + fprintf (Gbl.F.Out,"
"); Act_FormStart (ActAdmAsgWrkCrs); Usr_PutHiddenParUsrCodAll (ActAdmAsgWrkCrs,Gbl.Usrs.Select.All); if (Gbl.FileBrowser.FullTree)