diff --git a/swad_changelog.h b/swad_changelog.h index 7b655bb54..bc7cd4daa 100644 --- a/swad_changelog.h +++ b/swad_changelog.h @@ -35,11 +35,12 @@ /****************************** Public constants *****************************/ /*****************************************************************************/ -#define Log_PLATFORM_VERSION "SWAD 14.52 (2015/01/02)" +#define Log_PLATFORM_VERSION "SWAD 14.52.1 (2015/01/02)" // 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.52.1 :Jan 02, 2014 Link to calendar in name of month. (173021 lines) Version 14.52 :Jan 02, 2014 Calendar is moved from course tab to assessment tab. (? lines) Version 14.51.2 :Jan 02, 2014 Changes in layout and titles of some options. (172987 lines) Version 14.51.1 :Jan 02, 2014 Changes in layout and titles of some options. (172963 lines) diff --git a/swad_date.c b/swad_date.c index cad82608e..179bc6b43 100644 --- a/swad_date.c +++ b/swad_date.c @@ -306,6 +306,7 @@ void Dat_DrawCalendar (void) void Dat_DrawMonth (unsigned RealYear,unsigned RealMonth, bool DrawingCalendar,bool PutLinkToEvents,bool PrintView) { + extern const char *Txt_Show_calendar; extern const char *Txt_DAYS_CAPS[7]; extern const char *Txt_MONTHS_CAPS[12]; extern const char *Txt_Exam_of_X; @@ -323,6 +324,7 @@ void Dat_DrawMonth (unsigned RealYear,unsigned RealMonth, unsigned NumExamAnnouncement; // Number of exam announcement int ResultOfCmpStartDate; bool ContinueSearching; + bool PutLinkToCalendar = !DrawingCalendar && Gbl.CurrentCrs.Crs.CrsCod > 0; bool ThisDayHasEvent = false; bool IsToday; @@ -353,15 +355,25 @@ void Dat_DrawMonth (unsigned RealYear,unsigned RealMonth, } /***** Start of month *****/ - fprintf (Gbl.F.Out,"