diff --git a/swad_changelog.h b/swad_changelog.h index b76c30b81..2bbdb30f5 100644 --- a/swad_changelog.h +++ b/swad_changelog.h @@ -197,13 +197,14 @@ /****************************** Public constants *****************************/ /*****************************************************************************/ -#define Log_PLATFORM_VERSION "SWAD 16.144.5 (2017-03-02)" +#define Log_PLATFORM_VERSION "SWAD 16.144.6 (2017-03-02)" #define CSS_FILE "swad16.144.css" #define JS_FILE "swad16.144.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 16.144.6: Mar 02, 2017 Code refactoring in user's photo caption. (213439 lines) Version 16.144.5: Mar 02, 2017 Label with the user's institution under her/his enlarged photo. (213441 lines) Version 16.144.4: Mar 01, 2017 Fixed bug in link to another user's QR code from record card. (213338 lines) Version 16.144.3: Mar 01, 2017 Button to create a new place when no places have been created. (213334 lines) diff --git a/swad_photo.c b/swad_photo.c index 3f3c63cd1..af214474a 100644 --- a/swad_photo.c +++ b/swad_photo.c @@ -1142,15 +1142,10 @@ void Pho_ShowUsrPhoto (const struct UsrData *UsrDat,const char *PhotoURL, fprintf (Gbl.F.Out,"
", IdCaption); - /* First name */ + /* First name and surnames */ fprintf (Gbl.F.Out,"
" - "%s" - "
", - UsrDat->FirstName); - - /* Surnames */ - fprintf (Gbl.F.Out,"
%s", - UsrDat->Surname1); + "%s
%s", + UsrDat->FirstName,UsrDat->Surname1); if (UsrDat->Surname2[0]) fprintf (Gbl.F.Out," %s",UsrDat->Surname2); fprintf (Gbl.F.Out,"
");