Version 14.54.5

This commit is contained in:
Antonio Cañas Vargas 2015-01-13 13:46:23 +01:00
parent 4ae84da015
commit cad6c59c86
6 changed files with 16 additions and 15 deletions

View File

@ -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);

View File

@ -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)

View File

@ -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,"<img src=\"%s/%s/%s16x16.gif\""
sprintf (Icon,"<img src=\"%s/%s/%s64x64.gif\""
" class=\"ICON16x16\" style=\"vertical-align:middle;\" />",
Gbl.Prefs.IconsURL,Cfg_ICON_FOLDER_DEGREES,Deg.Logo);
sprintf (ThisRoomCode,"DEG_%ld",Deg.DegCod);

View File

@ -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,"<img src=\"%s/%s/%s16x16.gif\" alt=\"%s\""
fprintf (Gbl.F.Out,"<img src=\"%s/%s/%s64x64.gif\" alt=\"%s\""
" class=\"ICON16x16\" style=\"vertical-align:top;\" />"
"&nbsp;%s (%s)"
"</a>"

View File

@ -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);

View File

@ -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);