diff --git a/css/swad_desktop.css b/css/swad_desktop.css index b601043fb..2b09b163c 100644 --- a/css/swad_desktop.css +++ b/css/swad_desktop.css @@ -101,7 +101,7 @@ hr.YELLOW_SEPARA {height:0; border-top:0; border-bottom:#BD4815 dotted 1px;} padding:6px; border-radius:6px; font-family:Arial,"Nimbus Sans L","DejaVu LGC Sans","Bitstream Vera Sans",sans-serif; - font-size:13pt; + font-size:14pt; color:#398000; overflow:hidden; } diff --git a/css/swad_mobile.css b/css/swad_mobile.css index e062e65e5..b734eef6d 100644 --- a/css/swad_mobile.css +++ b/css/swad_mobile.css @@ -73,7 +73,7 @@ form {margin:0; display:inline;} padding:6px; border-radius:6px; font-family:Arial,"Nimbus Sans L","DejaVu LGC Sans","Bitstream Vera Sans",sans-serif; - font-size:13pt; + font-size:14pt; color:#398000; overflow:hidden; } diff --git a/swad_QR.c b/swad_QR.c index a516c1509..4f689be10 100644 --- a/swad_QR.c +++ b/swad_QR.c @@ -41,7 +41,7 @@ /***************************** Internal constants ****************************/ /*****************************************************************************/ -#define QR_CODE_SIZE ((6+25+6)*9) // Changed! +#define QR_CODE_SIZE ((6+25+6)*9) #define QR_DEFAULT_TYPE QR_ID /*****************************************************************************/ @@ -106,11 +106,11 @@ void QR_PrintQRCode (void) static void QR_ImageQRCode (const char *QRString) { - fprintf (Gbl.F.Out,"
" // Changed! + fprintf (Gbl.F.Out,"
" "\"%s\"" // Changed! + " style=\"width:%upx; height:%upx;" + " border:1px dashed silver;\" />" "
" "%s" "
", @@ -133,10 +133,10 @@ void QR_LinkTo (unsigned Size,const char *ParamStr,long Cod) extern const char *Txt_STR_LANG_ID[Txt_NUM_LANGUAGES]; /***** Show QR code with direct link to the current centre *****/ - fprintf (Gbl.F.Out,"\"%s\"", // Changed! - Size,Size, // Changed! + " style=\"width:%upx; height:%upx;\" />", + Size,Size, Cfg_HTTPS_URL_SWAD_CGI,Txt_STR_LANG_ID[Gbl.Prefs.Language],ParamStr,Cod, Txt_Shortcut, Txt_Shortcut, @@ -155,9 +155,9 @@ void QR_ExamAnnnouncement (void) fprintf (Gbl.F.Out,"
" "\"%s\"" // Changed! + " style=\"width:300px; height:300px;\" />" "
", - 300,300, // Changed! + 300,300, Cfg_HTTPS_URL_SWAD_CGI,Gbl.CurrentCrs.Crs.CrsCod,Act_Actions[ActSeeExaAnn].ActCod, Txt_Link_to_announcement_of_exam, Txt_Link_to_announcement_of_exam); diff --git a/swad_QR.h b/swad_QR.h index 99b96f7a2..2415496ae 100644 --- a/swad_QR.h +++ b/swad_QR.h @@ -42,7 +42,7 @@ void QR_PutLinkToPrintQRCode (struct UsrData *UsrDat,bool PrintText); void QR_PrintQRCode (void); -void QR_LinkTo (unsigned Size,const char *ParamStr,long Cod); // Changed! +void QR_LinkTo (unsigned Size,const char *ParamStr,long Cod); void QR_ExamAnnnouncement (void); #endif diff --git a/swad_action.c b/swad_action.c index a9bca220c..49e6fdefb 100644 --- a/swad_action.c +++ b/swad_action.c @@ -4874,12 +4874,12 @@ void Act_WriteBigMFUActions (struct Act_ListMFUActions *ListMFUActions) /* Icon and text */ fprintf (Gbl.F.Out,"" ""); // Changed! + " style=\"padding-left:3px;\">"); Act_FormStart (Action); Act_LinkFormSubmit (TabMenuStr,The_ClassFormNoWrap[Gbl.Prefs.Theme]); fprintf (Gbl.F.Out,"\"%s\"", // Changed! + " class=\"ICON32x32\" style=\"margin:6px;\" />", Gbl.Prefs.PathIconSet,Cfg_ICON_ACTION, Act_Actions[Action].Icon, MenuStr,TabMenuStr); @@ -4944,7 +4944,7 @@ void Act_WriteSmallMFUActions (struct Act_ListMFUActions *ListMFUActions) fprintf (Gbl.F.Out,"\"%s\"", // Changed! + " style=\"margin:1px;\" />", Gbl.Prefs.PathIconSet,Cfg_ICON_ACTION, Act_Actions[Action].Icon, MenuStr,TabMenuStr); diff --git a/swad_announcement.c b/swad_announcement.c index 0974180a3..5d6211da2 100644 --- a/swad_announcement.c +++ b/swad_announcement.c @@ -209,7 +209,7 @@ static void Ann_ShowAnnouncement (long AnnCod,const char *Subject,const char *Co /***** Start yellow note *****/ fprintf (Gbl.F.Out,"
"); // Changed! + " style=\"width:600px;\">"); /***** Write the content of the announcement *****/ fprintf (Gbl.F.Out,"
%s
", @@ -220,7 +220,7 @@ static void Ann_ShowAnnouncement (long AnnCod,const char *Subject,const char *Co Content); /***** Write form *****/ - fprintf (Gbl.F.Out,"
"); // Changed! + fprintf (Gbl.F.Out,"
"); if (ShowAllAnnouncements) { diff --git a/swad_attendance.c b/swad_attendance.c index 282808ffc..df9dda96f 100644 --- a/swad_attendance.c +++ b/swad_attendance.c @@ -1887,7 +1887,7 @@ static void Att_ListAttOnlyMeAsStudent (struct AttendanceEvent *Att) "" ""); if (Gbl.Usrs.Listing.WithPhotos) - fprintf (Gbl.F.Out,""); // Changed! + fprintf (Gbl.F.Out,""); fprintf (Gbl.F.Out,"" "%s" "" @@ -1958,7 +1958,7 @@ static void Att_ListAttStudents (struct AttendanceEvent *Att) "" ""); if (Gbl.Usrs.Listing.WithPhotos) - fprintf (Gbl.F.Out,""); // Changed! + fprintf (Gbl.F.Out,""); fprintf (Gbl.F.Out,"" "%s" "" @@ -3158,7 +3158,7 @@ static void Att_WriteRowStdSeveralAttEvents (unsigned NumStd,struct UsrData *Usr if (Gbl.Usrs.Listing.WithPhotos) { fprintf (Gbl.F.Out,"", // Changed! + " style=\"width:27px;\">", Gbl.RowEvenOdd); ShowPhoto = Pho_ShowUsrPhotoIsAllowed (UsrDat,PhotoURL); Pho_ShowUsrPhoto (UsrDat,ShowPhoto ? PhotoURL : @@ -3292,7 +3292,7 @@ static void Att_ListAttEventsForAStd (unsigned NumStd,struct UsrData *UsrDat) /***** Show student's photo *****/ fprintf (Gbl.F.Out,"", // Changed! + " style=\"width:27px;\">", Gbl.RowEvenOdd); ShowPhoto = Pho_ShowUsrPhotoIsAllowed (UsrDat,PhotoURL); Pho_ShowUsrPhoto (UsrDat,ShowPhoto ? PhotoURL : diff --git a/swad_banner.c b/swad_banner.c index 527f2636e..b81200d77 100644 --- a/swad_banner.c +++ b/swad_banner.c @@ -906,7 +906,7 @@ void Ban_WriteMenuWithBanners (void) { /* Write data of this banner */ fprintf (Gbl.F.Out,"" - ""); // Changed! + ""); Act_FormStart (ActClkBan); Ban_PutParamBanCod (Gbl.Banners.Lst[NumBan].BanCod); Par_PutHiddenParamString ("URL",Gbl.Banners.Lst[NumBan].WWW); diff --git a/swad_calendar.c b/swad_calendar.c index cf6856c1b..8ce0f056d 100644 --- a/swad_calendar.c +++ b/swad_calendar.c @@ -142,7 +142,7 @@ void Cal_DrawCalendar (void) /***** Draw several months *****/ fprintf (Gbl.F.Out,"" "" - ""); // Changed! + "
"); for (Row = 0; Row < 4; Row++) @@ -152,7 +152,7 @@ void Cal_DrawCalendar (void) Col < 4; Col++) { - fprintf (Gbl.F.Out,""); if (++Month == 13) diff --git a/swad_centre.c b/swad_centre.c index a7792abf4..449fe4fc9 100644 --- a/swad_centre.c +++ b/swad_centre.c @@ -432,7 +432,7 @@ static void Ctr_Configuration (bool PrintView) "" ""); } @@ -1046,7 +1046,7 @@ void Ctr_WriteSelectorOfCentre (void) /***** Start form *****/ Act_FormGoToStart (ActSeeDeg); - fprintf (Gbl.F.Out,""); @@ -1175,7 +1175,7 @@ static void Ctr_ListCentresForEdition (void) { Act_FormStart (ActChgCtrIns); Ctr_PutParamOtherCtrCod (Ctr->CtrCod); - fprintf (Gbl.F.Out,"", Gbl.FormId); fprintf (Gbl.F.Out,"
"); // Changed! + fprintf (Gbl.F.Out,""); Cal_DrawMonth (Year,Month,true,!PrintView,(Gbl.CurrentAct == ActPrnCal)); fprintf (Gbl.F.Out,"", The_ClassForm[Gbl.Prefs.Theme], Txt_QR_code); - QR_LinkTo (300,"ctr",Gbl.CurrentCtr.Ctr.CtrCod); // Changed! + QR_LinkTo (300,"ctr",Gbl.CurrentCtr.Ctr.CtrCod); fprintf (Gbl.F.Out,"
", // Changed! + " style=\"width:30px;\">", Ctr->FullName); Log_DrawLogo (Sco_SCOPE_CTR,Ctr->CtrCod,Ctr->ShortName,16,NULL,true); fprintf (Gbl.F.Out,"" // Changed! - "" // Changed! + fprintf (Gbl.F.Out,"" @@ -1960,13 +1960,13 @@ static void Ctr_PutFormToCreateCentre (void) fprintf (Gbl.F.Out,""); /***** Centre logo *****/ - fprintf (Gbl.F.Out,""); /***** Institution *****/ fprintf (Gbl.F.Out,"
" + "" ""); - Msg_WriteMsgAuthor (&UsrDat,120,10,"DAT",true,NULL); // Changed! + Msg_WriteMsgAuthor (&UsrDat,120,10,"DAT",true,NULL); fprintf (Gbl.F.Out,"" "
" "
"); // Changed! + fprintf (Gbl.F.Out,""); Log_DrawLogo (Sco_SCOPE_CTR,-1L,"",16,NULL,true); fprintf (Gbl.F.Out,"" - "" - "" "" // Changed! - "" // Changed! + fprintf (Gbl.F.Out,"" @@ -2128,7 +2128,7 @@ static void Ctr_PutHeadCentresForEdition (void) "" - "" // Changed! + "" "" diff --git a/swad_changelog.h b/swad_changelog.h index c95565c1f..c5533022d 100644 --- a/swad_changelog.h +++ b/swad_changelog.h @@ -98,13 +98,14 @@ /****************************** Public constants *****************************/ /*****************************************************************************/ -#define Log_PLATFORM_VERSION "SWAD 15.0.1 (2015/09/23)" +#define Log_PLATFORM_VERSION "SWAD 15.0.2 (2015/09/24)" // 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 sql/swad*.sql | tail -1 /* BUG: Enlace a "Instituciones" sale erróneamente en País > Información > Imprimir. + Version 15.0.2: Sep 24, 2015 New layout in preferences. (185011 lines) Version 15.0.1: Sep 23, 2015 Fix bugs in size of background images. (185006 lines) Version 15.0: Sep 23, 2015 All sizes are multiplied by 1.5 (50% bigger). (184885 lines) Version 14.135: Sep 23, 2015 Option to show last clicks in real time is moved inside "Users - Connected". (184883 lines) diff --git a/swad_chat.c b/swad_chat.c index ec6f34be1..e69e56e14 100644 --- a/swad_chat.c +++ b/swad_chat.c @@ -121,7 +121,7 @@ void Cht_ShowListOfAvailableChatRooms (void) "
    "); /***** Title of top level *****/ - fprintf (Gbl.F.Out,"
  • " // Changed! + fprintf (Gbl.F.Out,"
  • " "\"%s\"" @@ -301,7 +301,7 @@ static void Cht_WriteLinkToChat1 (const char *RoomCode,const char *RoomShortName { extern const char *The_ClassForm[The_NUM_THEMES]; - fprintf (Gbl.F.Out,"
  • "); // Changed! + fprintf (Gbl.F.Out,"
  • "); Lay_IndentDependingOnLevel (Level,IsLastItemInLevel); Act_FormStart (ActCht); Cht_WriteParamsRoomCodeAndNames (RoomCode,RoomShortName,RoomFullName); diff --git a/swad_config.h b/swad_config.h index 32287b86c..6a48b1ac1 100644 --- a/swad_config.h +++ b/swad_config.h @@ -73,8 +73,8 @@ #define Cfg_ABOUT_NAME "Centro de Educación Virtual de la Universidad Nacional de Asunción" #define Cfg_ABOUT_URL "http://www.cevuna.una.py/" #define Cfg_ABOUT_LOGO "cevuna.una.py100x32.gif" -#define Cfg_ABOUT_LOGO_WIDTH 150 // Changed! -#define Cfg_ABOUT_LOGO_HEIGHT 48 // Changed! +#define Cfg_ABOUT_LOGO_WIDTH 150 +#define Cfg_ABOUT_LOGO_HEIGHT 48 #define Cfg_DEFAULT_COLUMNS Lay_SHOW_BOTH_COLUMNS #define Cfg_DEFAULT_ACTION_WHEN_NO_USR_LOGGED ActFrmUsrAcc diff --git a/swad_connected.c b/swad_connected.c index 6d8f0caa7..fb380495e 100644 --- a/swad_connected.c +++ b/swad_connected.c @@ -101,7 +101,7 @@ void Con_ShowConnectedUsrs (void) /***** Put form to update connected users *****/ fprintf (Gbl.F.Out,"
" "
" + "" ""); - Msg_WriteMsgAuthor (&Gbl.Usrs.Me.UsrDat,120,10,"DAT",true,NULL); // Changed! + Msg_WriteMsgAuthor (&Gbl.Usrs.Me.UsrDat,120,10,"DAT",true,NULL); fprintf (Gbl.F.Out,"" "
" "
" "%s" "" "%s" "
"); // Changed! + " style=\"padding-bottom:15px;\">"); Act_FormStart (ActLstCon); Gbl.Scope.Current = Sco_SCOPE_CRS; if (Gbl.Usrs.Me.LoggedRole >= Rol_DEG_ADM) @@ -201,23 +201,23 @@ void Con_GetAndShowLastClicks (void) fprintf (Gbl.F.Out,"" "" "" "" "" "" "" "", @@ -297,12 +297,12 @@ void Con_ShowGlobalConnectedUsrs (void) /***** Start table *****/ fprintf (Gbl.F.Out,"
" // Changed! - "
" // Changed! + " style=\"width:105px;\">" "%s" "" // Changed! + " style=\"width:90px;\">" "%s" "" // Changed! + " style=\"width:150px;\">" "%s" "" // Changed! + " style=\"width:225px;\">" "%s" "" // Changed! + " style=\"width:330px;\">" "%s" "
"); // Changed! + " style=\"width:165px; \">" + "
"); /***** Write total number of sessions *****/ fprintf (Gbl.F.Out,"" - "" "", @@ -312,7 +312,7 @@ void Con_ShowGlobalConnectedUsrs (void) /***** Write total number of users *****/ fprintf (Gbl.F.Out,"" - "" "", @@ -322,7 +322,7 @@ void Con_ShowGlobalConnectedUsrs (void) /***** Write total number of students *****/ fprintf (Gbl.F.Out,"" - "" "", @@ -332,7 +332,7 @@ void Con_ShowGlobalConnectedUsrs (void) /***** Write total number of teachers *****/ fprintf (Gbl.F.Out,"" - "" "", @@ -343,7 +343,7 @@ void Con_ShowGlobalConnectedUsrs (void) /***** Write total number of users who do not belong to any course *****/ if (WithoutCoursesTotal) fprintf (Gbl.F.Out,"" - "" "", @@ -457,12 +457,12 @@ void Con_ShowConnectedUsrsBelongingToScope (void) switch (Gbl.Usrs.Connected.WhereToShow) { case Con_SHOW_ON_MAIN_ZONE: - fprintf (Gbl.F.Out,"
" // Changed! + fprintf (Gbl.F.Out,"
" "
" // Changed! + "" "%u %s" "
" // Changed! + "" "%u %s:" "
" // Changed! + "" "%u %s" "
" // Changed! + "" "%u %s" "
" // Changed! + "" "%u %s" "
"); break; case Con_SHOW_ON_RIGHT_COLUMN: - fprintf (Gbl.F.Out,"
" // Changed! - "
"); // Changed! + fprintf (Gbl.F.Out,"
" + "
"); break; } @@ -601,7 +601,7 @@ static void Con_ShowConnectedUsrsWithARoleBelongingToCurrentLocationOnRightColum Gbl.Usrs.Connected.NumUsrsToList = Cfg_MAX_CONNECTED_SHOWN; fprintf (Gbl.F.Out,"" "" "", @@ -1017,7 +1017,7 @@ static void Con_WriteRowConnectedUsrOnRightColumn (Rol_Role_t Role) /***** Show photo *****/ fprintf (Gbl.F.Out,"" "" "" ""); } @@ -663,8 +663,8 @@ void Cty_ListCountries2 (void) /***** Div for Google Geochart *****/ if (Gbl.CurrentAct == ActSeeCty) { - fprintf (Gbl.F.Out,"
" // Changed! + fprintf (Gbl.F.Out,"
" "
"); } @@ -970,7 +970,7 @@ void Cty_WriteSelectorOfCountry (void) /***** Start form *****/ Act_FormGoToStart (ActSeeIns); - fprintf (Gbl.F.Out,"
" ""); } @@ -568,7 +568,7 @@ static void Crs_WriteListMyCoursesToSelectOne (void) "
    "); /***** Write link to platform *****/ - fprintf (Gbl.F.Out,"
  • "); // Changed! + fprintf (Gbl.F.Out,"
  • "); Act_FormGoToStart (ActMnu); Par_PutHiddenParamUnsigned ("NxtTab",(unsigned) TabSys); Act_LinkFormSubmit (Txt_System, @@ -604,7 +604,7 @@ static void Crs_WriteListMyCoursesToSelectOne (void) Lay_ShowErrorAndExit ("Country not found."); /***** Write link to country *****/ - fprintf (Gbl.F.Out,"
  • "); // Changed! + fprintf (Gbl.F.Out,"
  • "); IsLastItemInLevel[1] = (NumCty == NumCtys - 1); Lay_IndentDependingOnLevel (1,IsLastItemInLevel); Act_FormStart (ActSeeCtyInf); @@ -647,7 +647,7 @@ static void Crs_WriteListMyCoursesToSelectOne (void) Lay_ShowErrorAndExit ("Institution not found."); /***** Write link to institution *****/ - fprintf (Gbl.F.Out,"
  • "); // Changed! + fprintf (Gbl.F.Out,"
  • "); IsLastItemInLevel[2] = (NumIns == NumInss - 1); Lay_IndentDependingOnLevel (2,IsLastItemInLevel); Act_FormStart (ActSeeInsInf); @@ -685,7 +685,7 @@ static void Crs_WriteListMyCoursesToSelectOne (void) Lay_ShowErrorAndExit ("Centre not found."); /***** Write link to centre *****/ - fprintf (Gbl.F.Out,"
  • "); // Changed! + fprintf (Gbl.F.Out,"
  • "); IsLastItemInLevel[3] = (NumCtr == NumCtrs - 1); Lay_IndentDependingOnLevel (3,IsLastItemInLevel); Act_FormStart (ActSeeCtrInf); @@ -723,7 +723,7 @@ static void Crs_WriteListMyCoursesToSelectOne (void) Lay_ShowErrorAndExit ("Degree not found."); /***** Write link to degree *****/ - fprintf (Gbl.F.Out,"
  • "); // Changed! + fprintf (Gbl.F.Out,"
  • "); IsLastItemInLevel[4] = (NumDeg == NumDegs - 1); Lay_IndentDependingOnLevel (4,IsLastItemInLevel); Act_FormStart (ActSeeDegInf); @@ -761,7 +761,7 @@ static void Crs_WriteListMyCoursesToSelectOne (void) Lay_ShowErrorAndExit ("Course not found."); /***** Write link to course *****/ - fprintf (Gbl.F.Out,"
  • "); // Changed! + fprintf (Gbl.F.Out,"
  • "); IsLastItemInLevel[5] = (NumCrs == NumCrss - 1); Lay_IndentDependingOnLevel (5,IsLastItemInLevel); Act_FormStart (ActSeeCrsInf); @@ -942,7 +942,7 @@ void Crs_WriteSelectorOfCourse (void) /***** Start form *****/ Act_FormGoToStart (ActSeeCrsInf); - fprintf (Gbl.F.Out,"", SelectorWidth[Gbl.Prefs.Layout],Gbl.FormId); @@ -1454,7 +1454,7 @@ static void Crs_ListCoursesForEdition (void) Act_FormStart (ActChgCrsDeg); Crs_PutParamOtherCrsCod (Crs->CrsCod); fprintf (Gbl.F.Out,"", Gbl.FormId); for (YearAux = 0; @@ -1576,7 +1576,7 @@ static void Crs_ListCoursesForEdition (void) Act_FormStart (ActChgCrsSta); Crs_PutParamOtherCrsCod (Crs->CrsCod); fprintf (Gbl.F.Out,"
" @@ -1721,7 +1721,7 @@ static void Crs_PutFormToCreateCourse (void) /***** Degree *****/ fprintf (Gbl.F.Out,"", @@ -1730,7 +1730,7 @@ static void Crs_PutFormToCreateCourse (void) /***** Year *****/ fprintf (Gbl.F.Out,"
" // Changed! + " style=\"width:165px;\">" "%u %s" "
", // Changed! + " style=\"width:27px;\">", Gbl.RowEvenOdd); sprintf (Gbl.FormId,"form_con_%d",++Gbl.NumFormConnectedUsrs); Act_FormStartId (ActSeePubPrf,Gbl.FormId); @@ -1033,7 +1033,7 @@ static void Con_WriteRowConnectedUsrOnRightColumn (Rol_Role_t Role) /***** Write full name and link *****/ fprintf (Gbl.F.Out,"", // Changed! + " style=\"width:81px;\">", Font,Gbl.RowEvenOdd); sprintf (Gbl.FormId,"form_con_%d",++Gbl.NumFormConnectedUsrs); Act_FormStartId ((Role == Rol_STUDENT) ? ActSeeRecOneStd : @@ -1048,7 +1048,7 @@ static void Con_WriteRowConnectedUsrOnRightColumn (Rol_Role_t Role) /***** Write time from last access *****/ fprintf (Gbl.F.Out,"", // Changed! + " style=\"width:57px;\">", Font,Gbl.RowEvenOdd); fprintf (Gbl.F.Out,"
", @@ -1214,7 +1214,7 @@ static void Con_ShowConnectedUsrsCurrentLocationOneByOneOnMainZone (Rol_Role_t R /***** Show photo *****/ fprintf (Gbl.F.Out,"
", // Changed! + " style=\"width:27px;\">", Gbl.RowEvenOdd); ShowPhoto = Pho_ShowUsrPhotoIsAllowed (&UsrDat,PhotoURL); Pho_ShowUsrPhoto (&UsrDat,ShowPhoto ? PhotoURL : @@ -1224,7 +1224,7 @@ static void Con_ShowConnectedUsrsCurrentLocationOneByOneOnMainZone (Rol_Role_t R /***** Write full name and link *****/ fprintf (Gbl.F.Out,"", // Changed! + " style=\"width:384px;\">", Font,Gbl.RowEvenOdd); if (PutLinkToRecord) { @@ -1243,7 +1243,7 @@ static void Con_ShowConnectedUsrsCurrentLocationOneByOneOnMainZone (Rol_Role_t R /***** Write time from last access *****/ fprintf (Gbl.F.Out,"", // Changed! + " style=\"width:57px;\">", Font,Gbl.RowEvenOdd); Hours = Seconds / (60 * 60); Minutes = (Seconds / 60) % 60; diff --git a/swad_country.c b/swad_country.c index 2cacc32a9..c163b31c6 100644 --- a/swad_country.c +++ b/swad_country.c @@ -348,7 +348,7 @@ static void Cty_Configuration (bool PrintView) "", The_ClassForm[Gbl.Prefs.Theme], Txt_QR_code); - QR_LinkTo (300,"cty",Gbl.CurrentCty.Cty.CtyCod); // Changed! + QR_LinkTo (300,"cty",Gbl.CurrentCty.Cty.CtyCod); fprintf (Gbl.F.Out,"
", The_ClassForm[Gbl.Prefs.Theme], Txt_QR_code); - QR_LinkTo (300,"crs",Gbl.CurrentCrs.Crs.CrsCod); // Changed! + QR_LinkTo (300,"crs",Gbl.CurrentCrs.Crs.CrsCod); fprintf (Gbl.F.Out,"
" // Changed! + " style=\"width:150px;\">" "" // Changed! + " style=\"width:150px;\">" ""); - Msg_WriteMsgAuthor (&UsrDat,120,10,"DAT",true,NULL); // Changed! + Msg_WriteMsgAuthor (&UsrDat,120,10,"DAT",true,NULL); fprintf (Gbl.F.Out,"" "
" "
" "" "" - ""); for (Year = 0; Year <= Gbl.CurrentDeg.Deg.LastYear; Year++) @@ -1786,10 +1786,10 @@ static void Crs_PutFormToCreateCourse (void) Txt_COURSE_STATUS[Crs_STATUS_PENDING]); /***** Course requester *****/ - fprintf (Gbl.F.Out,"" // Changed! - "" // Changed! + fprintf (Gbl.F.Out,"" diff --git a/swad_date.c b/swad_date.c index 0194aa8a3..a75cdf9d2 100644 --- a/swad_date.c +++ b/swad_date.c @@ -160,7 +160,7 @@ void Dat_ShowCurrentDateTime (void) extern const char *The_ClassCurrentTime[The_NUM_THEMES]; extern const char *Txt_MONTHS_SMALL_SHORT[12]; - fprintf (Gbl.F.Out,"
" // Changed! + fprintf (Gbl.F.Out,"
" "%u %s, %u:%02u" "
", The_ClassCurrentTime[Gbl.Prefs.Theme], diff --git a/swad_degree.c b/swad_degree.c index af38d8e4c..31619c70c 100644 --- a/swad_degree.c +++ b/swad_degree.c @@ -416,7 +416,7 @@ static void Deg_Configuration (bool PrintView) "
" ""); } @@ -481,7 +481,7 @@ void Deg_WriteMenuAllCourses (void) /***** Start of table *****/ fprintf (Gbl.F.Out,"
" + "" ""); - Msg_WriteMsgAuthor (&Gbl.Usrs.Me.UsrDat,120,10,"DAT",true,NULL); // Changed! + Msg_WriteMsgAuthor (&Gbl.Usrs.Me.UsrDat,120,10,"DAT",true,NULL); fprintf (Gbl.F.Out,"" "
" "
", The_ClassForm[Gbl.Prefs.Theme], Txt_QR_code); - QR_LinkTo (300,"deg",Gbl.CurrentDeg.Deg.DegCod); // Changed! + QR_LinkTo (300,"deg",Gbl.CurrentDeg.Deg.DegCod); fprintf (Gbl.F.Out,"
"); // Changed! + " style=\"margin:0 auto 15px auto;\">"); /***** Write a 1st selector with all the countries *****/ @@ -575,7 +575,7 @@ static void Deg_WriteSelectorOfDegree (void) /***** Start form *****/ Act_FormGoToStart (ActSeeCrs); - fprintf (Gbl.F.Out,""); @@ -1423,7 +1423,7 @@ static void Deg_ListDegreesForEdition (void) { Act_FormStart (ActChgDegCtr); Deg_PutParamOtherDegCod (Deg->DegCod); - fprintf (Gbl.F.Out,"", Gbl.FormId); for (NumDegTyp = 0; @@ -1616,7 +1616,7 @@ static void Deg_ListDegreesForEdition (void) { Act_FormStart (ActChgDegSta); Deg_PutParamOtherDegCod (Deg->DegCod); - fprintf (Gbl.F.Out,"
", // Changed! + " style=\"width:30px;>", Deg->FullName); Log_DrawLogo (Sco_SCOPE_DEG,Deg->DegCod,Deg->ShortName,16,NULL,true); fprintf (Gbl.F.Out,"" // Changed! - "" // Changed! + fprintf (Gbl.F.Out,"" @@ -1809,7 +1809,7 @@ static void Deg_PutFormToCreateDegree (void) /***** Centre *****/ fprintf (Gbl.F.Out,"
" + "" ""); - Msg_WriteMsgAuthor (&UsrDat,120,10,"DAT",true,NULL); // Changed! + Msg_WriteMsgAuthor (&UsrDat,120,10,"DAT",true,NULL); fprintf (Gbl.F.Out,"" "
" "
" "" - ""); for (NumDegTyp = 0; NumDegTyp < Gbl.Degs.DegTypes.Num; NumDegTyp++) @@ -1899,10 +1899,10 @@ static void Deg_PutFormToCreateDegree (void) Txt_DEGREE_STATUS[Deg_STATUS_PENDING]); /***** Degree requester *****/ - fprintf (Gbl.F.Out,"" // Changed! - "" // Changed! + fprintf (Gbl.F.Out,"" @@ -2047,7 +2047,7 @@ static void Deg_PutHeadDegreesForEdition (void) "" - "" // Changed! + "" "" diff --git a/swad_department.c b/swad_department.c index 5383fd8fe..315c47f61 100644 --- a/swad_department.c +++ b/swad_department.c @@ -527,7 +527,7 @@ static void Dpt_ListDepartmentsForEdition (void) fprintf (Gbl.F.Out,"
" + "" ""); - Msg_WriteMsgAuthor (&Gbl.Usrs.Me.UsrDat,120,10,"DAT",true,NULL); // Changed! + Msg_WriteMsgAuthor (&Gbl.Usrs.Me.UsrDat,120,10,"DAT",true,NULL); fprintf (Gbl.F.Out,"" "
" "
" "%s" "" "%s" ""); Act_FormStart (ActChgDptIns); Dpt_PutParamDptCod (Dpt->DptCod); - fprintf (Gbl.F.Out,"" - "" "