diff --git a/swad_action.c b/swad_action.c index c9f9f1aec..65226b63d 100644 --- a/swad_action.c +++ b/swad_action.c @@ -4796,7 +4796,7 @@ void Act_WriteSmallMFUActions (struct Act_ListMFUActions *ListMFUActions) Act_LinkFormSubmit (Title,"MFU_ACT"); fprintf (Gbl.F.Out,"\"%s\"", Gbl.Prefs.PathIconSet,Cfg_ICON_ACTION, Act_Actions[Action].Icon, diff --git a/swad_changelog.h b/swad_changelog.h index 1b6f5fa6c..c31b51825 100644 --- a/swad_changelog.h +++ b/swad_changelog.h @@ -103,11 +103,12 @@ /****************************** Public constants *****************************/ /*****************************************************************************/ -#define Log_PLATFORM_VERSION "SWAD 14.126.1 (2015/09/05)" +#define Log_PLATFORM_VERSION "SWAD 14.126.2 (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.2: Sep 05, 2015 Changes in styles. (184250 lines) 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) diff --git a/swad_chat.c b/swad_chat.c index cbb81b2bf..46c1c55fd 100644 --- a/swad_chat.c +++ b/swad_chat.c @@ -124,7 +124,7 @@ void Cht_ShowListOfAvailableChatRooms (void) fprintf (Gbl.F.Out,"
  • " "\"%s\"" + " class=\"ICON16x16\" />" " %s" "
  • ", Gbl.Prefs.IconsURL, @@ -140,7 +140,7 @@ void Cht_ShowListOfAvailableChatRooms (void) Cht_WriteLinkToChat1 ("GBL_USR",Txt_SEX_PLURAL_Abc[Usr_SEX_ALL],ThisRoomFullName,1,IsLastItemInLevel); fprintf (Gbl.F.Out,"\"%s\"", + " class=\"ICON16x16\" />", Gbl.Prefs.IconsURL, ThisRoomFullName, ThisRoomFullName); @@ -154,7 +154,7 @@ void Cht_ShowListOfAvailableChatRooms (void) Cht_WriteLinkToChat1 ("GBL_STD",Txt_Students_ABBREVIATION,ThisRoomFullName,1,IsLastItemInLevel); fprintf (Gbl.F.Out,"\"%s\"", + " class=\"ICON16x16\" />", Gbl.Prefs.IconsURL, ThisRoomFullName,ThisRoomFullName); Cht_WriteLinkToChat2 ("GBL_STD",ThisRoomFullName); @@ -164,7 +164,7 @@ void Cht_ShowListOfAvailableChatRooms (void) Cht_WriteLinkToChat1 ("GBL_TCH",Txt_Teachers_ABBREVIATION,ThisRoomFullName,1,IsLastItemInLevel); fprintf (Gbl.F.Out,"\"%s\"", + " class=\"ICON16x16\" />", Gbl.Prefs.IconsURL, ThisRoomFullName,ThisRoomFullName); Cht_WriteLinkToChat2 ("GBL_TCH",ThisRoomFullName); @@ -215,7 +215,7 @@ void Cht_ShowListOfAvailableChatRooms (void) Cht_WriteLinkToChat1 (ThisRoomCode,ThisRoomShortName,ThisRoomFullName,2,IsLastItemInLevel); fprintf (Gbl.F.Out,"\"%s\"", + " class=\"ICON16x16\" />", Gbl.Prefs.IconsURL, ThisRoomFullName,ThisRoomFullName); Cht_WriteLinkToChat2 (ThisRoomCode,ThisRoomFullName); diff --git a/swad_course.c b/swad_course.c index 0389cd855..c81daca4c 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\" />" "" "" "", @@ -574,8 +574,7 @@ static void Crs_WriteListMyCoursesToSelectOne (void) The_ClassForm[Gbl.Prefs.Theme]); fprintf (Gbl.F.Out,"\"%s\"", + " class=\"ICON16x16\" />", Gbl.Prefs.IconsURL, Txt_System, Txt_System); @@ -614,8 +613,7 @@ static void Crs_WriteListMyCoursesToSelectOne (void) /* Country map */ fprintf (Gbl.F.Out,"\"%s\"", + " class=\"ICON16x16\" />", Gbl.Prefs.IconsURL,Cfg_ICON_FOLDER_COUNTRIES, Cty.Alpha2, Cty.Alpha2, @@ -772,7 +770,7 @@ static void Crs_WriteListMyCoursesToSelectOne (void) The_ClassForm[Gbl.Prefs.Theme]); fprintf (Gbl.F.Out,"\"%s\"", + " class=\"ICON16x16\" />", Gbl.Prefs.IconsURL, Crs.ShortName, Crs.FullName); @@ -797,7 +795,7 @@ static void Crs_WriteListMyCoursesToSelectOne (void) fprintf (Gbl.F.Out,"\" target=\"_blank\">" "\"RSS\"" + " class=\"ICON16x16\" />" "", Gbl.Prefs.IconsURL); @@ -1293,7 +1291,8 @@ static void Crs_ListCoursesForSeeing (void) fprintf (Gbl.F.Out,"" "" "\"%s\"" + " alt=\"%s\" title=\"%s\"" + " class=\"ICON16x16\" />" "", BgColor, Gbl.Prefs.IconsURL, @@ -3304,7 +3303,8 @@ static void Crs_WriteRowCrsData (unsigned NumCrs,MYSQL_ROW row,bool WriteColumnA Accepted = (Str_ConvertToUpperLetter (row[8][0]) == 'Y'); fprintf (Gbl.F.Out,"" "\"%s\"" + " alt=\"%s\" title=\"%s\"" + " class=\"ICON16x16\" />" "", BgColor, Gbl.Prefs.IconsURL, diff --git a/swad_degree.c b/swad_degree.c index f2328f102..4d18c4f7f 100644 --- a/swad_degree.c +++ b/swad_degree.c @@ -1083,7 +1083,8 @@ static void Deg_ListDegreeTypesForSeeing (void) fprintf (Gbl.F.Out,"" "" "\"%s\"" + " alt=\"%s\" title=\"%s\"" + " class=\"ICON16x16\" />" "", BgColor, Gbl.Prefs.IconsURL, @@ -1103,7 +1104,8 @@ static void Deg_ListDegreeTypesForSeeing (void) /* Direct log in is allowed for this degree type? */ fprintf (Gbl.F.Out,"" "\"%s\"" + " alt=\"%s\" title=\"%s\"" + " class=\"ICON16x16\" />" "", BgColor, Gbl.Prefs.IconsURL, @@ -1256,7 +1258,8 @@ static void Deg_ListOneDegreeForSeeing (struct Degree *Deg,unsigned NumDeg) fprintf (Gbl.F.Out,"" "" "\"%s\"" + " alt=\"%s\" title=\"%s\"" + " class=\"ICON16x16\" />" "", BgColor, Gbl.Prefs.IconsURL, @@ -1316,7 +1319,8 @@ static void Deg_ListOneDegreeForSeeing (struct Degree *Deg,unsigned NumDeg) /* Degree optional year */ fprintf (Gbl.F.Out,"" "\"%s\"" + " alt=\"%s\" title=\"%s\"" + " class=\"ICON16x16\" />" "", BgColor, Gbl.Prefs.IconsURL, @@ -1563,7 +1567,8 @@ static void Deg_ListDegreesForEdition (void) else /* Degree optional year */ fprintf (Gbl.F.Out,"\"%s\"", + " alt=\"%s\" title=\"%s\"" + " class=\"ICON16x16\" />", Gbl.Prefs.IconsURL, Deg->OptYear ? "ok_on" : "tr", @@ -3953,7 +3958,7 @@ void Deg_GetAndWriteDegreesAdminBy (long UsrCod,unsigned ColSpan) else fprintf (Gbl.F.Out,"\"%s\"" + " class=\"ICON16x16\" />" " %s", Gbl.Prefs.IconsURL, Txt_all_degrees, diff --git a/swad_file_browser.c b/swad_file_browser.c index df1c16bd0..f00bc88b7 100644 --- a/swad_file_browser.c +++ b/swad_file_browser.c @@ -5107,7 +5107,8 @@ static void Brw_PutIconCopy (Brw_FileType_t FileType, Brw_ParamListFiles (FileType,PathInTree,FileName); sprintf (Gbl.Title,Txt_Copy_FOLDER_FILE_OR_LINK_X,FileNameToShow); fprintf (Gbl.F.Out,"", + " alt=\"%s\" title=\"%s\"" + " class=\"ICON16x16B\" />", Gbl.Prefs.IconsURL, Gbl.Title, Gbl.Title); @@ -5153,7 +5154,8 @@ static void Brw_PutIconPasteOn (const char *PathInTree,const char *FileName,cons Brw_ParamListFiles (Brw_IS_FOLDER,PathInTree,FileName); sprintf (Gbl.Title,Txt_Paste_in_X,FileNameToShow); fprintf (Gbl.F.Out,"", + " alt=\"%s\" title=\"%s\"" + " class=\"ICON16x16B\" />", Gbl.Prefs.IconsURL, Gbl.Title, Gbl.Title); @@ -5171,7 +5173,8 @@ static void Brw_PutIconPasteOff (void) fprintf (Gbl.F.Out,"" "\"%s\"" + " alt=\"%s\" title=\"%s\"" + " class=\"ICON16x16B\" />" "", Gbl.RowEvenOdd,Gbl.Prefs.IconsURL, Txt_Copy_not_allowed, @@ -5225,7 +5228,8 @@ static void Brw_IndentAndWriteIconExpandContract (unsigned Level,Brw_ExpandTree_ Brw_ParamListFiles (Brw_IS_FOLDER,PathInTree,FileName); sprintf (Gbl.Title,Txt_Expand_FOLDER_X,FileNameToShow); fprintf (Gbl.F.Out,"", + " alt=\"%s\" title=\"%s\"" + " class=\"ICON16x16B\" />", Gbl.Prefs.IconsURL, Gbl.Title, Gbl.Title); @@ -5254,7 +5258,8 @@ static void Brw_IndentAndWriteIconExpandContract (unsigned Level,Brw_ExpandTree_ Brw_ParamListFiles (Brw_IS_FOLDER,PathInTree,FileName); sprintf (Gbl.Title,Txt_Contract_FOLDER_X,FileNameToShow); fprintf (Gbl.F.Out,"", + " alt=\"%s\" title=\"%s\"" + " class=\"ICON16x16B\" />", Gbl.Prefs.IconsURL, Gbl.Title, Gbl.Title); @@ -5310,7 +5315,8 @@ static void Brw_PutIconShow (unsigned Level,Brw_FileType_t FileType, Brw_ParamListFiles (FileType,PathInTree,FileName); sprintf (Gbl.Title,Txt_Show_FOLDER_FILE_OR_LINK_X,FileNameToShow); fprintf (Gbl.F.Out,"", + " alt=\"%s\" title=\"%s\"" + " class=\"ICON16x16B\" />", Gbl.Prefs.IconsURL, Brw_CheckIfAnyUpperLevelIsHidden (Level) ? "off" : "on", @@ -5343,7 +5349,8 @@ static void Brw_PutIconHide (unsigned Level,Brw_FileType_t FileType, Brw_ParamListFiles (FileType,PathInTree,FileName); sprintf (Gbl.Title,Txt_Hide_FOLDER_FILE_OR_LINK_X,FileNameToShow); fprintf (Gbl.F.Out,"", + " alt=\"%s\" title=\"%s\"" + " class=\"ICON16x16B\" />", Gbl.Prefs.IconsURL, Brw_CheckIfAnyUpperLevelIsHidden (Level) ? "off" : "on", @@ -5408,8 +5415,9 @@ static void Brw_PutIconFolder (unsigned Level,Brw_ExpandTree_t ExpandTree, Brw_ParamListFiles (Brw_IS_FOLDER,PathInTree,FileName); sprintf (Gbl.Title,Txt_Upload_file_or_create_folder_in_FOLDER,FileNameToShow); fprintf (Gbl.F.Out,"", + " src=\"%s/folder-%s-plus16x16.gif\"" + " alt=\"%s\" title=\"%s\"" + " class=\"ICON16x16B\" />", Gbl.Prefs.IconsURL, (ExpandTree == Brw_EXPAND_TREE_PLUS) ? "closed" : "open", @@ -5442,7 +5450,8 @@ static void Brw_PutIconNewFileOrFolder (void) /***** Icon that indicates new file *****/ fprintf (Gbl.F.Out,"" "\"%s\"" + " alt=\"%s\" title=\"%s\"" + " class=\"ICON16x16B\" />" "", Gbl.RowEvenOdd,Gbl.Prefs.IconsURL, Txt_New_FILE_OR_FOLDER, diff --git a/swad_forum.c b/swad_forum.c index 655c52fb2..abbbb095b 100644 --- a/swad_forum.c +++ b/swad_forum.c @@ -921,7 +921,7 @@ static void For_ShowThreadPosts (long ThrCod,char *LastSubject) fprintf (Gbl.F.Out,"\"%s\" ", + " class=\"ICON16x16\" /> ", Gbl.Prefs.IconsURL, Thr.NumUnreadPosts ? "msg-unread" : "msg-open", @@ -1080,7 +1080,8 @@ static void For_ShowAForumPost (struct ForumThread *Thr,unsigned PstNum,long Pst fprintf (Gbl.F.Out,"" "" "\"%s\"" + " alt=\"%s\" title=\"%s\"" + " class=\"ICON16x16\" />" "", NewPst ? "MSG_TIT_BG_NEW" : "MSG_TIT_BG", @@ -1146,7 +1147,8 @@ static void For_ShowAForumPost (struct ForumThread *Thr,unsigned PstNum,long Pst Txt_Post_X_banned_Click_to_unban_it, PstNum); fprintf (Gbl.F.Out,"", + " alt=\"%s\" title=\"%s\"" + " class=\"ICON16x16\" />", Gbl.Prefs.IconsURL, Enabled ? "visible" : "hidden", @@ -1785,7 +1787,7 @@ static void For_WriteLinkToTopLevelOfForums (void) Act_LinkFormSubmit (Txt_Forums,The_ClassForm[Gbl.Prefs.Theme]); fprintf (Gbl.F.Out,"\"%s\"" + " class=\"ICON16x16\" />" " %s" "", Gbl.Prefs.IconsURL, @@ -1989,7 +1991,7 @@ static void For_WriteLinkToAForum (For_ForumType_t ForumType,bool ShowNumOfPosts case For_FORUM_GLOBAL_TCHS: sprintf (Icon,"\"%s\"", + " class=\"ICON16x16\" />", Gbl.Prefs.IconsURL, ForumName,ForumName); break; @@ -1997,7 +1999,7 @@ static void For_WriteLinkToAForum (For_ForumType_t ForumType,bool ShowNumOfPosts case For_FORUM_SWAD_TCHS: sprintf (Icon,"\"%s\"", + " class=\"ICON16x16\" />", Gbl.Prefs.IconsURL, ForumName,ForumName); break; @@ -2012,7 +2014,7 @@ static void For_WriteLinkToAForum (For_ForumType_t ForumType,bool ShowNumOfPosts case For_FORUM_COURSE_TCHS: sprintf (Icon,"\"%s\"", + " class=\"ICON16x16\" />", Gbl.Prefs.IconsURL, ForumName,ForumName); break; @@ -2129,7 +2131,8 @@ static void For_WriteLinkToForum (For_ForumType_t ForumType,Act_Action_t NextAct /* Check if thread to move is yet in current forum */ if (For_CheckIfThrBelongsToForum (Gbl.Forum.ThreadToMove,ForumType)) fprintf (Gbl.F.Out,"\"%s\"", + " alt=\"%s\" title=\"%s\"" + " class=\"ICON16x16\" />", Gbl.Prefs.IconsURL, Txt_Copy_not_allowed,Txt_Copy_not_allowed); else @@ -2139,7 +2142,8 @@ static void For_WriteLinkToForum (For_ForumType_t ForumType,Act_Action_t NextAct For_PutAllHiddenParamsForum (); For_PutHiddenParamThrCod (Gbl.Forum.ThreadToMove); fprintf (Gbl.F.Out,"", + " alt=\"%s\" title=\"%s\"" + " class=\"ICON16x16\" />", Gbl.Prefs.IconsURL, Txt_Paste_thread, Txt_Paste_thread); @@ -3301,7 +3305,8 @@ void For_ListForumThrs (long ThrCods[Pag_ITEMS_PER_PAGE],struct Pagination *Pagi For_PutAllHiddenParamsForum (); For_PutHiddenParamThrCod (Thr.ThrCod); fprintf (Gbl.F.Out,"", + " alt=\"%s\" title=\"%s\"" + " class=\"ICON16x16\" />", Gbl.Prefs.IconsURL, Txt_Move_thread, Txt_Move_thread); diff --git a/swad_group.c b/swad_group.c index e20c74d10..5904404fc 100644 --- a/swad_group.c +++ b/swad_group.c @@ -1332,7 +1332,8 @@ static void Grp_ListGroupsForEdition (void) Txt_Group_X_closed_click_to_open_it, Grp->GrpName); fprintf (Gbl.F.Out,"", + " alt=\"%s\" title=\"%s\"" + " class=\"ICON16x16\" />", Gbl.Prefs.IconsURL, Grp->Open ? "open" : "closed", @@ -1351,7 +1352,8 @@ static void Grp_ListGroupsForEdition (void) Txt_File_zones_of_the_group_X_disabled_click_to_enable_them, Grp->GrpName); fprintf (Gbl.F.Out,"", + " alt=\"%s\" title=\"%s\"" + " class=\"ICON16x16\" />", Gbl.Prefs.IconsURL, Grp->FileZones ? "folder-yes" : "folder-no", diff --git a/swad_message.c b/swad_message.c index 5122e13e5..621915fe2 100644 --- a/swad_message.c +++ b/swad_message.c @@ -2992,7 +2992,8 @@ static void Msg_WriteMsgFrom (struct UsrData *UsrDat,bool Deleted) "" "" "\"%s\"" + " alt=\"%s\" title=\"%s\"" + " class=\"ICON16x16\" />" "", Gbl.Prefs.IconsURL, Deleted ? "msg-fwd-del" : @@ -3318,7 +3319,8 @@ static void Msg_PutFormToBanSender (struct UsrData *UsrDat) Msg_PutHiddenParamsMsgsFilters (); fprintf (Gbl.F.Out," " "", + " alt=\"%s\" title=\"%s\"" + " class=\"ICON16x16\" />", Gbl.Prefs.IconsURL, Txt_Sender_permitted_click_to_ban_him, Txt_Sender_permitted_click_to_ban_him); @@ -3339,7 +3341,8 @@ static void Msg_PutFormToUnbanSender (struct UsrData *UsrDat) Msg_PutHiddenParamsMsgsFilters (); fprintf (Gbl.F.Out," " "", + " alt=\"%s\" title=\"%s\"" + " class=\"ICON16x16\" />", Gbl.Prefs.IconsURL, Txt_Sender_banned_click_to_unban_him, Txt_Sender_banned_click_to_unban_him); @@ -3516,8 +3519,9 @@ void Msg_ListBannedUsrs (void) Act_FormStart (ActUnbUsrLst); Usr_PutParamUsrCodEncrypted (UsrDat.EncryptedUsrCod); fprintf (Gbl.F.Out,"", + " src=\"%s/closed_on16x16.gif\"" + " alt=\"%s\" title=\"%s\"" + " class=\"ICON16x16\" />", Gbl.Prefs.IconsURL, Txt_Sender_banned_click_to_unban_him, Txt_Sender_banned_click_to_unban_him); diff --git a/swad_notice.c b/swad_notice.c index eb7fd18c7..8e0c3cc06 100644 --- a/swad_notice.c +++ b/swad_notice.c @@ -495,8 +495,9 @@ static void Not_DrawANotice (Not_Listing_t TypeNoticesListing, Act_FormStart (ActHidNot); Not_PutHiddenParamNotCod (NotCod); fprintf (Gbl.F.Out,"", + " src=\"%s/visible_on16x16.gif\"" + " alt=%s\" title=\"%s\"" + " class=\"ICON16x16\" />", Gbl.Prefs.IconsURL, Txt_NOTICE_Active_Mark_as_obsolete, Txt_NOTICE_Active_Mark_as_obsolete); @@ -506,8 +507,9 @@ static void Not_DrawANotice (Not_Listing_t TypeNoticesListing, Act_FormStart (ActRevNot); Not_PutHiddenParamNotCod (NotCod); fprintf (Gbl.F.Out,"", + " src=\"%s/hidden_on16x16.gif\"" + " alt=\"%s\" title=\"%s\"" + " class=\"ICON16x16\" />", Gbl.Prefs.IconsURL, Txt_NOTICE_Obsolete_Mark_as_active, Txt_NOTICE_Obsolete_Mark_as_active); @@ -520,7 +522,8 @@ static void Not_DrawANotice (Not_Listing_t TypeNoticesListing, case Not_ACTIVE_NOTICE: fprintf (Gbl.F.Out,"" "\"%s\"" + " alt=\"%s\" title=\"%s\"" + " class=\"ICON16x16\" />" "", Txt_NOTICE_Active_SINGULAR, Gbl.Prefs.IconsURL, diff --git a/swad_notification.c b/swad_notification.c index fc4184122..520f02da1 100644 --- a/swad_notification.c +++ b/swad_notification.c @@ -430,7 +430,8 @@ void Ntf_ShowMyNotifications (void) { Ntf_StartFormGoToAction (NotifyEvent,Crs.CrsCod,Cod); fprintf (Gbl.F.Out,"", + " alt=\"%s\" title=\"%s\"" + " class=\"ICON16x16\" />", Gbl.Prefs.IconsURL, Ntf_Icons[NotifyEvent], Txt_NOTIFY_EVENTS_SINGULAR[NotifyEvent], diff --git a/swad_record.c b/swad_record.c index 5b96e75f8..75cb1b815 100644 --- a/swad_record.c +++ b/swad_record.c @@ -2642,7 +2642,7 @@ void Rec_ShowSharedUsrRecord (Rec_RecordViewType_t TypeOfView, fprintf (Gbl.F.Out," />" "\"%s\"" + " class=\"ICON16x16\" />" "%s", Gbl.Prefs.IconsURL,Usr_StringsSexDB[Sex], Txt_SEX_SINGULAR_Abc[Sex], diff --git a/swad_search.c b/swad_search.c index 6ffa0c5f0..b09363dd2 100644 --- a/swad_search.c +++ b/swad_search.c @@ -320,8 +320,7 @@ void Sch_PutFormToSearch (const char *IconURL) /***** Send button *****/ fprintf (Gbl.F.Out,"", + " class=\"ICON16x16\" />", IconURL, Txt_Search, Txt_Search); diff --git a/swad_statistic.c b/swad_statistic.c index 30d90eb5a..10c1a79ab 100644 --- a/swad_statistic.c +++ b/swad_statistic.c @@ -6722,7 +6722,7 @@ static void Sta_GetAndShowForumStats (void) "" "\"%s\"" + " class=\"ICON16x16\" />" "" "" "%s" diff --git a/swad_survey.c b/swad_survey.c index da3f49478..ac9d803d9 100644 --- a/swad_survey.c +++ b/swad_survey.c @@ -2996,7 +2996,8 @@ static void Svy_ListSvyQuestions (struct Survey *Svy,struct SurveyQuestion *SvyQ Svy_PutParamSvyCod (Svy->SvyCod); Svy_PutParamQstCod (SvyQst->QstCod); fprintf (Gbl.F.Out,"", + " alt=\"%s\" title=\"%s\"" + " class=\"ICON16x16\" />", Gbl.Prefs.IconsURL, Txt_Edit_question, Txt_Edit_question); diff --git a/swad_syllabus.c b/swad_syllabus.c index 175aa6c5c..912c86ce3 100644 --- a/swad_syllabus.c +++ b/swad_syllabus.c @@ -579,7 +579,8 @@ static void Syl_ShowRowSyllabus (Inf_InfoType_t InfoType,unsigned NumItem,int Le Txt_Move_up_X, StrItemCod); fprintf (Gbl.F.Out,"", + " alt=\"%s\" title=\"%s\"" + " class=\"ICON16x16\" />", Gbl.Prefs.IconsURL, Gbl.Title, Gbl.Title); @@ -607,8 +608,9 @@ static void Syl_ShowRowSyllabus (Inf_InfoType_t InfoType,unsigned NumItem,int Le Txt_Move_down_X, StrItemCod); fprintf (Gbl.F.Out,"", + " src=\"%s/down_on16x16.gif\"" + " alt=\"%s\" title=\"%s\"" + " class=\"ICON16x16\" />", Gbl.Prefs.IconsURL, Gbl.Title, Gbl.Title); @@ -633,8 +635,9 @@ static void Syl_ShowRowSyllabus (Inf_InfoType_t InfoType,unsigned NumItem,int Le sprintf (Gbl.Title,Txt_Increase_level_of_X, StrItemCod); fprintf (Gbl.F.Out,"", + " src=\"%s/left_on16x16.gif\"" + " alt=\"%s\" title=\"%s\"" + " class=\"ICON16x16\" />", Gbl.Prefs.IconsURL, Gbl.Title, Gbl.Title); @@ -660,8 +663,9 @@ static void Syl_ShowRowSyllabus (Inf_InfoType_t InfoType,unsigned NumItem,int Le sprintf (Gbl.Title,Txt_Decrease_level_of_X, StrItemCod); fprintf (Gbl.F.Out,"", + " src=\"%s/right_on16x16.gif\"" + " alt=\"%s\" title=\"%s\"" + " class=\"ICON16x16\" />", Gbl.Prefs.IconsURL, Gbl.Title, Gbl.Title); diff --git a/swad_test.c b/swad_test.c index c0bba109b..8e63b3fb1 100644 --- a/swad_test.c +++ b/swad_test.c @@ -1527,7 +1527,8 @@ static void Tst_PutIconEnable (long TagCod,const char *TagTxt) Par_PutHiddenParamLong ("TagCod",TagCod); sprintf (Gbl.Title,Txt_Tag_X_not_allowed_Click_to_allow_it,TagTxt); fprintf (Gbl.F.Out,"", + " alt=\"%s\" title=\"%s\"" + " class=\"ICON16x16\" />", Gbl.Prefs.IconsURL, Gbl.Title, Gbl.Title); @@ -1548,7 +1549,8 @@ static void Tst_PutIconDisable (long TagCod,const char *TagTxt) Par_PutHiddenParamLong ("TagCod",TagCod); sprintf (Gbl.Title,Txt_Tag_X_allowed_Click_to_disable_it,TagTxt); fprintf (Gbl.F.Out,"", + " alt=\"%s\" title=\"%s\"" + " class=\"ICON16x16\" />", Gbl.Prefs.IconsURL, Gbl.Title, Gbl.Title); @@ -2495,7 +2497,8 @@ static void Tst_ListOneOrMoreQuestionsToEdit (unsigned long NumRows,MYSQL_RES *m Act_FormStart (ActEdiOneTstQst); Par_PutHiddenParamLong ("QstCod",QstCod); fprintf (Gbl.F.Out,"", + " alt=\"%s\" title=\"%s\"" + " class=\"ICON16x16\" />", Gbl.Prefs.IconsURL, Txt_Edit_question, Txt_Edit_question);