From 41de2064a41eac1f2706874a20427a8f647cf5bd Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Antonio=20Ca=C3=B1as=20Vargas?= Date: Sat, 5 Sep 2015 11:48:44 +0200 Subject: [PATCH] Version 14.126.1 --- swad_action.c | 4 ++-- swad_changelog.h | 3 ++- swad_chat.c | 18 +++++++++--------- swad_course.c | 16 +++++++--------- swad_degree.c | 8 ++++---- swad_file_browser.c | 3 ++- swad_forum.c | 12 +++++------- swad_layout.c | 16 ++++++++-------- swad_network.c | 6 ++++-- swad_notification.c | 4 ++-- swad_record.c | 5 ++--- swad_search.c | 5 +++-- swad_statistic.c | 10 +++++----- swad_survey.c | 4 ++-- 14 files changed, 57 insertions(+), 57 deletions(-) diff --git a/swad_action.c b/swad_action.c index b9dfb6744..c9f9f1aec 100644 --- a/swad_action.c +++ b/swad_action.c @@ -4796,8 +4796,8 @@ void Act_WriteSmallMFUActions (struct Act_ListMFUActions *ListMFUActions) Act_LinkFormSubmit (Title,"MFU_ACT"); fprintf (Gbl.F.Out,"\"%s\"", + " class=\"ICON16x16 LEFT_MIDDLE\"" + " style=\"margin:1px;\" />", Gbl.Prefs.PathIconSet,Cfg_ICON_ACTION, Act_Actions[Action].Icon, MenuStr,TabMenuStr); diff --git a/swad_changelog.h b/swad_changelog.h index 76266fbd7..1b6f5fa6c 100644 --- a/swad_changelog.h +++ b/swad_changelog.h @@ -103,11 +103,12 @@ /****************************** Public constants *****************************/ /*****************************************************************************/ -#define Log_PLATFORM_VERSION "SWAD 14.126 (2015/09/04)" +#define Log_PLATFORM_VERSION "SWAD 14.126.1 (2015/09/05)" // 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 14.126.1: Sep 05, 2015 Changes in styles. (184213 lines) Version 14.126: Sep 04, 2015 Changes in styles. (184213 lines) Version 14.125.3: Sep 04, 2015 Changes in styles. (184263 lines) Version 14.125.2: Sep 04, 2015 Changes in styles. (184344 lines) diff --git a/swad_chat.c b/swad_chat.c index af436b9cf..cbb81b2bf 100644 --- a/swad_chat.c +++ b/swad_chat.c @@ -124,7 +124,7 @@ void Cht_ShowListOfAvailableChatRooms (void) fprintf (Gbl.F.Out,"
  • " "\"%s\"" + " class=\"ICON16x16 LEFT_MIDDLE\" />" " %s" "
  • ", Gbl.Prefs.IconsURL, @@ -139,8 +139,8 @@ void Cht_ShowListOfAvailableChatRooms (void) sprintf (ThisRoomFullName,"%s (%s)",Txt_General,Txt_SEX_PLURAL_abc[Usr_SEX_ALL]); Cht_WriteLinkToChat1 ("GBL_USR",Txt_SEX_PLURAL_Abc[Usr_SEX_ALL],ThisRoomFullName,1,IsLastItemInLevel); fprintf (Gbl.F.Out,"\"%s\"", + " alt=\"%s\" title=\"%s\"" + " class=\"ICON16x16 LEFT_MIDDLE\" />", Gbl.Prefs.IconsURL, ThisRoomFullName, ThisRoomFullName); @@ -153,8 +153,8 @@ void Cht_ShowListOfAvailableChatRooms (void) sprintf (ThisRoomFullName,"%s (%s)",Txt_General,Txt_ROLES_PLURAL_abc[Rol_STUDENT][Usr_SEX_ALL]); Cht_WriteLinkToChat1 ("GBL_STD",Txt_Students_ABBREVIATION,ThisRoomFullName,1,IsLastItemInLevel); fprintf (Gbl.F.Out,"\"%s\"", + " alt=\"%s\" title=\"%s\"" + " class=\"ICON16x16 LEFT_MIDDLE\" />", Gbl.Prefs.IconsURL, ThisRoomFullName,ThisRoomFullName); Cht_WriteLinkToChat2 ("GBL_STD",ThisRoomFullName); @@ -163,8 +163,8 @@ void Cht_ShowListOfAvailableChatRooms (void) sprintf (ThisRoomFullName,"%s (%s)",Txt_General,Txt_ROLES_PLURAL_abc[Rol_TEACHER][Usr_SEX_ALL]); Cht_WriteLinkToChat1 ("GBL_TCH",Txt_Teachers_ABBREVIATION,ThisRoomFullName,1,IsLastItemInLevel); fprintf (Gbl.F.Out,"\"%s\"", + " alt=\"%s\" title=\"%s\"" + " class=\"ICON16x16 LEFT_MIDDLE\" />", Gbl.Prefs.IconsURL, ThisRoomFullName,ThisRoomFullName); Cht_WriteLinkToChat2 ("GBL_TCH",ThisRoomFullName); @@ -214,8 +214,8 @@ void Cht_ShowListOfAvailableChatRooms (void) sprintf (ThisRoomFullName,"%s %s",Txt_Course,Crs.ShortName); Cht_WriteLinkToChat1 (ThisRoomCode,ThisRoomShortName,ThisRoomFullName,2,IsLastItemInLevel); fprintf (Gbl.F.Out,"\"%s\"", + " alt=\"%s\" title=\"%s\"" + " class=\"ICON16x16 LEFT_MIDDLE\" />", Gbl.Prefs.IconsURL, ThisRoomFullName,ThisRoomFullName); Cht_WriteLinkToChat2 (ThisRoomCode,ThisRoomFullName); diff --git a/swad_course.c b/swad_course.c index 7591b757b..0389cd855 100644 --- a/swad_course.c +++ b/swad_course.c @@ -406,7 +406,7 @@ static void Crs_Configuration (bool PrintView) "%u %s %u " "\"%u" + " class=\"ICON16x16 LEFT_MIDDLE\" />" "" "" "", @@ -574,8 +574,8 @@ static void Crs_WriteListMyCoursesToSelectOne (void) The_ClassForm[Gbl.Prefs.Theme]); fprintf (Gbl.F.Out,"\"%s\"", + " class=\"LEFT_MIDDLE\"" + " style=\"width:16px; height:16px;\" />", Gbl.Prefs.IconsURL, Txt_System, Txt_System); @@ -614,8 +614,8 @@ static void Crs_WriteListMyCoursesToSelectOne (void) /* Country map */ fprintf (Gbl.F.Out,"\"%s\"", + " class=\"LEFT_MIDDLE\"" + " style=\"width:16px; height:16px;\" />", Gbl.Prefs.IconsURL,Cfg_ICON_FOLDER_COUNTRIES, Cty.Alpha2, Cty.Alpha2, @@ -772,8 +772,7 @@ static void Crs_WriteListMyCoursesToSelectOne (void) The_ClassForm[Gbl.Prefs.Theme]); fprintf (Gbl.F.Out,"\"%s\"", + " class=\"ICON16x16 LEFT_MIDDLE\" />", Gbl.Prefs.IconsURL, Crs.ShortName, Crs.FullName); @@ -798,8 +797,7 @@ static void Crs_WriteListMyCoursesToSelectOne (void) fprintf (Gbl.F.Out,"\" target=\"_blank\">" "\"RSS\"" + " class=\"ICON16x16 LEFT_MIDDLE\" />" "", Gbl.Prefs.IconsURL); diff --git a/swad_degree.c b/swad_degree.c index 62ddb1742..f2328f102 100644 --- a/swad_degree.c +++ b/swad_degree.c @@ -3922,8 +3922,8 @@ void Deg_GetAndWriteDegreesAdminBy (long UsrCod,unsigned ColSpan) "" "\"\"" + " class=\"RIGHT_TOP\"" + " style=\"width:20px; height:20px;\" />" "", Gbl.RowEvenOdd,Gbl.Prefs.IconsURL, NumRow == NumRows ? "subend" : @@ -3946,14 +3946,14 @@ void Deg_GetAndWriteDegreesAdminBy (long UsrCod,unsigned ColSpan) sprintf (Gbl.Title,Txt_Go_to_X,row[2]); Act_LinkFormSubmit (Gbl.Title,"DAT_SMALL_NOBR"); Log_DrawLogo (Sco_SCOPE_DEG,DegCod,row[1], - 16,"CENTER_TOP",true); + 16,"LEFT_TOP",true); fprintf (Gbl.F.Out," %s",row[2]); Act_FormEnd (); } else fprintf (Gbl.F.Out,"\"%s\"" + " class=\"ICON16x16 LEFT_TOP\" />" " %s", Gbl.Prefs.IconsURL, Txt_all_degrees, diff --git a/swad_file_browser.c b/swad_file_browser.c index fa91a6169..df1c16bd0 100644 --- a/swad_file_browser.c +++ b/swad_file_browser.c @@ -3084,8 +3084,9 @@ static void Brw_FormToChangeCrsGrpZone (void) fprintf (Gbl.F.Out,"
  • " "\"\"" + " margin-left:5px;\" />" " ", + " class=\"ICON16x16 LEFT_MIDDLE\" /> ", Gbl.Prefs.IconsURL, Thr.NumUnreadPosts ? "msg-unread" : "msg-open", @@ -1786,7 +1785,7 @@ static void For_WriteLinkToTopLevelOfForums (void) Act_LinkFormSubmit (Txt_Forums,The_ClassForm[Gbl.Prefs.Theme]); fprintf (Gbl.F.Out,"\"%s\"" + " class=\"ICON16x16 LEFT_MIDDLE\" />" " %s" "", Gbl.Prefs.IconsURL, @@ -1990,7 +1989,7 @@ static void For_WriteLinkToAForum (For_ForumType_t ForumType,bool ShowNumOfPosts case For_FORUM_GLOBAL_TCHS: sprintf (Icon,"\"%s\"", + " class=\"ICON16x16 LEFT_MIDDLE\" />", Gbl.Prefs.IconsURL, ForumName,ForumName); break; @@ -1998,7 +1997,7 @@ static void For_WriteLinkToAForum (For_ForumType_t ForumType,bool ShowNumOfPosts case For_FORUM_SWAD_TCHS: sprintf (Icon,"\"%s\"", + " class=\"ICON16x16 LEFT_MIDDLE\" />", Gbl.Prefs.IconsURL, ForumName,ForumName); break; @@ -2013,8 +2012,7 @@ static void For_WriteLinkToAForum (For_ForumType_t ForumType,bool ShowNumOfPosts case For_FORUM_COURSE_TCHS: sprintf (Icon,"\"%s\"", + " class=\"ICON16x16 LEFT_MIDDLE\" />", Gbl.Prefs.IconsURL, ForumName,ForumName); break; diff --git a/swad_layout.c b/swad_layout.c index 7b161088d..fdd41d9fc 100644 --- a/swad_layout.c +++ b/swad_layout.c @@ -634,8 +634,8 @@ static void Lay_WritePageTopHeading (void) fprintf (Gbl.F.Out,"" "\"%s\"" + " class=\"CENTER_MIDDLE\"" + " style=\"width:%upx; height:%upx;\" />" "", Cfg_HTTPS_URL_SWAD_CGI,Gbl.Prefs.PathTheme, LogoLayout[Gbl.Prefs.Layout].Icon, @@ -698,8 +698,8 @@ static void Lay_WritePageTopHeading (void) case Lay_LAYOUT_DESKTOP: /***** 2nd. row, 1st. column *****/ /* Clock with hour:minute (server hour is shown) */ - fprintf (Gbl.F.Out,""); + fprintf (Gbl.F.Out,""); Dat_ShowCurrentDateTime (); fprintf (Gbl.F.Out,""); // End of first column @@ -1691,8 +1691,8 @@ void Lay_IndentDependingOnLevel (unsigned Level,bool IsLastItemInLevel[]) i++) fprintf (Gbl.F.Out,"\"\"", + " class=\"LEFT_MIDDLE\"" + " style=\"width:20px; height:20px;\" />", Gbl.Prefs.IconsURL, IsLastItemInLevel[i] ? "tr" : "subleft"); @@ -1700,8 +1700,8 @@ void Lay_IndentDependingOnLevel (unsigned Level,bool IsLastItemInLevel[]) /***** Level *****/ fprintf (Gbl.F.Out,"\"\"", + " class=\"LEFT_MIDDLE\"" + " style=\"width:20px; height:20px;\" />", Gbl.Prefs.IconsURL, IsLastItemInLevel[Level] ? "subend" : "submid"); diff --git a/swad_network.c b/swad_network.c index d61e0e9d6..eb87b20bc 100644 --- a/swad_network.c +++ b/swad_network.c @@ -261,8 +261,9 @@ void Net_ShowFormMyWebsAndSocialNets (void) "" "\"%s\"" + " margin-right:10px;\" />" "%s:" "", The_ClassForm[Gbl.Prefs.Theme], @@ -479,8 +480,9 @@ void Net_ShowWebAndSocialNetworksStats (void) "" "\"%s\"" + " margin:0 2px;\" />" "%s" "" "%u" diff --git a/swad_notification.c b/swad_notification.c index c2ec1ef38..fc4184122 100644 --- a/swad_notification.c +++ b/swad_notification.c @@ -1827,8 +1827,8 @@ void Ntf_WriteNumberOfNewNtfs (void) fprintf (Gbl.F.Out,"
    " "\"%s\" ", + " class=\"LEFT_MIDDLE\"" + " style=\"width:16px; height:16px;\" /> ", Gbl.Prefs.PathTheme, Txt_Notifications, Txt_Notifications); diff --git a/swad_record.c b/swad_record.c index e727f1685..5b96e75f8 100644 --- a/swad_record.c +++ b/swad_record.c @@ -1339,7 +1339,7 @@ static void Rec_WriteFormShowOfficeHours (bool ShowOfficeHours,const char *ListU "" "\"%s\"" "\"%s\"" + " class=\"ICON16x16 LEFT_BOTTOM\" />" "%s", Gbl.Prefs.IconsURL,Usr_StringsSexDB[Sex], Txt_SEX_SINGULAR_Abc[Sex], diff --git a/swad_search.c b/swad_search.c index 9aa5ea404..6ffa0c5f0 100644 --- a/swad_search.c +++ b/swad_search.c @@ -319,8 +319,9 @@ void Sch_PutFormToSearch (const char *IconURL) /***** Send button *****/ fprintf (Gbl.F.Out,"", + " alt=\"%s\" title=\"%s\"" + " class=\"ICON16x16 LEFT_TOP\"" + " style=\"padding-top:3px;\" />", IconURL, Txt_Search, Txt_Search); diff --git a/swad_statistic.c b/swad_statistic.c index 75ab6a19d..30d90eb5a 100644 --- a/swad_statistic.c +++ b/swad_statistic.c @@ -1812,8 +1812,8 @@ static void Sta_ShowNumAccessesPerUsr (unsigned long NumRows,MYSQL_RES *mysql_re if (BarWidth) fprintf (Gbl.F.Out,"\"\"" + " class=\"LEFT_TOP\"" + " style=\"width:%upx; height:14px;\" />" " ", Gbl.Prefs.IconsURL, UsrDat.RoleInCurrentCrsDB == Rol_STUDENT ? 'c' : @@ -3445,8 +3445,8 @@ static void Sta_DrawBarNumClicks (char Color,float NumPagesGenerated,float MaxPa BarWidth = 1; fprintf (Gbl.F.Out,"\"\"" + " class=\"LEFT_TOP\"" + " style=\"width:%upx; height:14px;\" />" " ", Gbl.Prefs.IconsURL,Color,BarWidth); @@ -6722,7 +6722,7 @@ static void Sta_GetAndShowForumStats (void) "" "\"%s\"" + " class=\"ICON16x16 LEFT_TOP\" />" "" "" "%s" diff --git a/swad_survey.c b/swad_survey.c index fe979b461..da3f49478 100644 --- a/swad_survey.c +++ b/swad_survey.c @@ -3223,8 +3223,8 @@ static void Svy_DrawBarNumUsrs (unsigned NumUsrs,unsigned MaxUsrs) BarWidth = 2; fprintf (Gbl.F.Out,"\"%s\"" + " class=\"LEFT_TOP\"" + " style=\"width:%upx; height:16px;\" />" " ", Gbl.Prefs.IconsURL, Gbl.Title,