diff --git a/swad_changelog.h b/swad_changelog.h index 066eefbde..f24fe476e 100644 --- a/swad_changelog.h +++ b/swad_changelog.h @@ -128,13 +128,14 @@ /****************************** Public constants *****************************/ /*****************************************************************************/ -#define Log_PLATFORM_VERSION "SWAD 15.225.20 (2016-06-17)" +#define Log_PLATFORM_VERSION "SWAD 15.225.21 (2016-06-17)" #define CSS_FILE "swad15.225.11.css" #define JS_FILE "swad15.216.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.225.21:Jun 17, 2016 Fixed bug in photo zoom, reported by Javier Fernández Baldomero. (202894 lines) Version 15.225.20:Jun 17, 2016 Show details of user's profile in similar users. (202893 lines) Version 15.225.19:Jun 17, 2016 Changed layout of listing of similar users. (202927 lines) Version 15.225.18:Jun 17, 2016 Show number of files of a user in similar users. (202904 lines) diff --git a/swad_photo.c b/swad_photo.c index 7fcb6c021..3db7e2458 100644 --- a/swad_photo.c +++ b/swad_photo.c @@ -1186,7 +1186,7 @@ void Pho_ShowUsrPhoto (const struct UsrData *UsrDat,const char *PhotoURL, Str_ReplaceSpecialCharByCodes (SpecialSurnames,2*Usr_MAX_BYTES_NAME_SPEC_CHAR+1); strcat (SpecialShortName,"
"); strcat (SpecialShortName,SpecialSurnames); - fprintf (Gbl.F.Out," onmouseover=\"zoom(this,'%s','%s')\" onmouseout=\"noZoom();\"", + fprintf (Gbl.F.Out," onmouseover=\"zoom(this,'%s',"%s");\" onmouseout=\"noZoom();\"", PhotoURL,SpecialShortName); } @@ -2394,7 +2394,7 @@ static void Pho_ShowDegreeAvgPhotoAndStat (struct Degree *Deg, NumStdsWithPhoto,Txt_photos, NumStds > 0 ? (int) (((NumStdsWithPhoto * 100.0) / NumStds) + 0.5) : 0); - fprintf (Gbl.F.Out," onmouseover=\"zoom(this,'%s','%s')\" onmouseout=\"noZoom();\"", + fprintf (Gbl.F.Out," onmouseover=\"zoom(this,'%s',"%s");\" onmouseout=\"noZoom();\"", PhotoURL,PhotoCaption); } }