diff --git a/swad_centre.c b/swad_centre.c index 4cdffdcf2..db887e07b 100644 --- a/swad_centre.c +++ b/swad_centre.c @@ -2401,11 +2401,11 @@ void Ctr_DrawCentreLogo (const char *Logo,const char *AltText, if (Logo) if (Logo[0]) { - sprintf (PathLogo,"%s/%s/%s/%s%ux%u.gif", + sprintf (PathLogo,"%s/%s/%s/%s64x64.gif", Cfg_PATH_SWAD_PUBLIC, Cfg_FOLDER_PUBLIC_ICON, Cfg_ICON_FOLDER_CENTRES, - Logo,Size,Size); + Logo); LogoExists = Fil_CheckIfPathExists (PathLogo); } @@ -2417,8 +2417,8 @@ void Ctr_DrawCentreLogo (const char *Logo,const char *AltText, else fprintf (Gbl.F.Out,"%s/ctr", Gbl.Prefs.IconsURL); - fprintf (Gbl.F.Out,"%ux%u.gif\" alt=\"%s\" class=\"ICON%ux%u\"", - Size,Size,AltText,Size,Size); + fprintf (Gbl.F.Out,"64x64.gif\" alt=\"%s\" class=\"ICON%ux%u\"", + AltText,Size,Size); if (Style) if (Style[0]) fprintf (Gbl.F.Out," style=\"%s\"",Style); diff --git a/swad_changelog.h b/swad_changelog.h index e5c9083c5..30d2162cc 100644 --- a/swad_changelog.h +++ b/swad_changelog.h @@ -39,11 +39,12 @@ /****************************** Public constants *****************************/ /*****************************************************************************/ -#define Log_PLATFORM_VERSION "SWAD 14.54.4 (2015/01/13)" +#define Log_PLATFORM_VERSION "SWAD 14.54.5 (2015/01/13)" // 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.54.5: Jan 13, 2015 Icons for institutions, centres and degrees always in 64x64 pixels. (173346 lines) Version 14.54.4: Jan 13, 2015 Fized bug in photos. (173345 lines) Version 14.54.3: Jan 06, 2015 Changes in themes and colors. (173344 lines) Version 14.54.2: Jan 05, 2015 Changes in yellow theme. (173339 lines) diff --git a/swad_chat.c b/swad_chat.c index 461159fa7..1e868d662 100644 --- a/swad_chat.c +++ b/swad_chat.c @@ -170,7 +170,7 @@ void Cht_ShowListOfAvailableChatRooms (void) /* Link to the room of this degree */ IsLastItemInLevel[1] = (NumMyDeg == Gbl.Usrs.Me.MyDegrees.Num-1); - sprintf (Icon,"", Gbl.Prefs.IconsURL,Cfg_ICON_FOLDER_DEGREES,Deg.Logo); sprintf (ThisRoomCode,"DEG_%ld",Deg.DegCod); diff --git a/swad_course.c b/swad_course.c index 94d915438..b91ff2c88 100644 --- a/swad_course.c +++ b/swad_course.c @@ -3308,7 +3308,7 @@ static void Crs_WriteRowCrsData (unsigned NumCrs,MYSQL_ROW row,bool WriteColumnA Deg_PutParamDegCod (DegCod); sprintf (Gbl.Title,Txt_Go_to_X,row[4]); Act_LinkFormSubmit (Gbl.Title,StyleNoBR); - fprintf (Gbl.F.Out,"\"%s\""" " %s (%s)" "" diff --git a/swad_degree.c b/swad_degree.c index 15c895ca4..823a1092b 100644 --- a/swad_degree.c +++ b/swad_degree.c @@ -3963,11 +3963,11 @@ void Deg_DrawDegreeLogo (const char *Logo,const char *AltText, if (Logo) if (Logo[0]) { - sprintf (PathLogo,"%s/%s/%s/%s%ux%u.gif", + sprintf (PathLogo,"%s/%s/%s/%s64x64.gif", Cfg_PATH_SWAD_PUBLIC, Cfg_FOLDER_PUBLIC_ICON, Cfg_ICON_FOLDER_DEGREES, - Logo,Size,Size); + Logo); LogoExists = Fil_CheckIfPathExists (PathLogo); } @@ -3979,8 +3979,8 @@ void Deg_DrawDegreeLogo (const char *Logo,const char *AltText, else fprintf (Gbl.F.Out,"%s/deg", Gbl.Prefs.IconsURL); - fprintf (Gbl.F.Out,"%ux%u.gif\" alt=\"%s\" class=\"ICON%ux%u\"", - Size,Size,AltText,Size,Size); + fprintf (Gbl.F.Out,"64x64.gif\" alt=\"%s\" class=\"ICON%ux%u\"", + AltText,Size,Size); if (Style) if (Style[0]) fprintf (Gbl.F.Out," style=\"%s\"",Style); diff --git a/swad_institution.c b/swad_institution.c index 9e2848b06..8e148792b 100644 --- a/swad_institution.c +++ b/swad_institution.c @@ -2106,11 +2106,11 @@ void Ins_DrawInstitutionLogo (const char *Logo,const char *AltText, if (Logo) if (Logo[0]) { - sprintf (PathLogo,"%s/%s/%s/%s%ux%u.gif", + sprintf (PathLogo,"%s/%s/%s/%s64x64.gif", Cfg_PATH_SWAD_PUBLIC, Cfg_FOLDER_PUBLIC_ICON, Cfg_ICON_FOLDER_INSTITUTIONS, - Logo,Size,Size); + Logo); LogoExists = Fil_CheckIfPathExists (PathLogo); } @@ -2122,8 +2122,8 @@ void Ins_DrawInstitutionLogo (const char *Logo,const char *AltText, else fprintf (Gbl.F.Out,"%s/ins", Gbl.Prefs.IconsURL); - fprintf (Gbl.F.Out,"%ux%u.gif\" alt=\"%s\" class=\"ICON%ux%u\"", - Size,Size,AltText,Size,Size); + fprintf (Gbl.F.Out,"64x64.gif\" alt=\"%s\" class=\"ICON%ux%u\"", + AltText,Size,Size); if (Style) if (Style[0]) fprintf (Gbl.F.Out," style=\"%s\"",Style);