diff --git a/swad_attendance.c b/swad_attendance.c index dac9a6028..82441455b 100644 --- a/swad_attendance.c +++ b/swad_attendance.c @@ -3016,8 +3016,10 @@ static void Att_ListEventsToSelect (Att_TypeOfView_t TypeOfView) { fprintf (Gbl.F.Out,"" ""); - Act_LinkFormSubmitAnimated (Txt_Update_attendance_according_to_selected_events,The_ClassFormBold[Gbl.Prefs.Theme]); - Lay_PutCalculateIconWithText (Txt_Update_attendance_according_to_selected_events,Txt_Update_attendance); + Act_LinkFormSubmitAnimated (Txt_Update_attendance_according_to_selected_events, + The_ClassFormBold[Gbl.Prefs.Theme]); + Lay_PutCalculateIconWithText (Txt_Update_attendance_according_to_selected_events, + Txt_Update_attendance); fprintf (Gbl.F.Out,"" ""); } diff --git a/swad_changelog.h b/swad_changelog.h index 16fe93219..7d32999a7 100644 --- a/swad_changelog.h +++ b/swad_changelog.h @@ -116,13 +116,14 @@ /****************************** Public constants *****************************/ /*****************************************************************************/ -#define Log_PLATFORM_VERSION "SWAD 15.80.1 (2015-12-29)" +#define Log_PLATFORM_VERSION "SWAD 15.80.2 (2015-12-29)" #define CSS_FILE "swad15.80.css" #define JS_FILE "swad15.77.7.js" // 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 /* + Version 15.80.2: Dec 29, 2015 Change in layout of social events (timeline). (188972 lines) Version 15.80.1: Dec 29, 2015 Message translated. (188967 lines) Version 15.80: Dec 29, 2015 Changes in layout of user's profile. (188944 lines) Version 15.79.2: Dec 29, 2015 Include my public activity in timeline. (188838 lines) diff --git a/swad_social.c b/swad_social.c index aedbf3650..bd82d6016 100644 --- a/swad_social.c +++ b/swad_social.c @@ -169,6 +169,7 @@ void Soc_ShowFollowingTimeline (void) static unsigned long Soc_ShowTimeline (const char *Query) { + extern const char *The_ClassForm[The_NUM_THEMES]; extern const char *Txt_Public_activity; extern const char *Txt_SOCIAL_EVENT[Soc_NUM_SOCIAL_EVENTS]; extern const char *Txt_Forum; @@ -297,9 +298,10 @@ static unsigned long Soc_ShowTimeline (const char *Query) /* Write event type and location */ if (SocialEvent != Soc_EVENT_SOCIAL_POST) { - fprintf (Gbl.F.Out,"
"); + fprintf (Gbl.F.Out,"
"); Soc_StartFormGoToAction (SocialEvent,Crs.CrsCod,Cod); - Act_LinkFormSubmit (Txt_SOCIAL_EVENT[SocialEvent],"DAT_N"); + Act_LinkFormSubmit (Txt_SOCIAL_EVENT[SocialEvent], + The_ClassForm[Gbl.Prefs.Theme]); fprintf (Gbl.F.Out,"%s", Txt_SOCIAL_EVENT[SocialEvent]); Act_FormEnd ();