Version 16.144.6

This commit is contained in:
Antonio Cañas Vargas 2017-03-02 01:02:15 +01:00
parent f779e978dc
commit 1f3e6c9e15
2 changed files with 5 additions and 9 deletions

View File

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

View File

@ -1142,15 +1142,10 @@ void Pho_ShowUsrPhoto (const struct UsrData *UsrDat,const char *PhotoURL,
fprintf (Gbl.F.Out,"<div id=\"%s\" class=\"NOT_SHOWN\">",
IdCaption);
/* First name */
/* First name and surnames */
fprintf (Gbl.F.Out,"<div class=\"ZOOM_TXT_LINE DAT_N\">"
"%s"
"</div>",
UsrDat->FirstName);
/* Surnames */
fprintf (Gbl.F.Out,"<div class=\"ZOOM_TXT_LINE DAT_N\">%s",
UsrDat->Surname1);
"%s<br />%s",
UsrDat->FirstName,UsrDat->Surname1);
if (UsrDat->Surname2[0])
fprintf (Gbl.F.Out," %s",UsrDat->Surname2);
fprintf (Gbl.F.Out,"</div>");