mirror of
https://github.com/acanas/swad-core.git
synced 2024-05-29 04:53:26 +02:00
Version 16.146.4
This commit is contained in:
parent
4158ab6a71
commit
58f0fc9223
|
@ -197,13 +197,14 @@
|
||||||
/****************************** Public constants *****************************/
|
/****************************** Public constants *****************************/
|
||||||
/*****************************************************************************/
|
/*****************************************************************************/
|
||||||
|
|
||||||
#define Log_PLATFORM_VERSION "SWAD 16.146.3 (2017-03-04)"
|
#define Log_PLATFORM_VERSION "SWAD 16.146.4 (2017-03-04)"
|
||||||
#define CSS_FILE "swad16.146.css"
|
#define CSS_FILE "swad16.146.css"
|
||||||
#define JS_FILE "swad16.144.js"
|
#define JS_FILE "swad16.144.js"
|
||||||
|
|
||||||
// Number of lines (includes comments but not blank lines) has been got with the following command:
|
// 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
|
// nl swad*.c swad*.h css/swad*.css py/swad*.py js/swad*.js soap/swad*?.h sql/swad*.sql | tail -1
|
||||||
/*
|
/*
|
||||||
|
Version 16.146.4: Mar 03, 2017 Changes in layout of surveys. (216349 lines)
|
||||||
Version 16.146.3: Mar 04, 2017 Changes in layout of edition of institutions, centres and degrees. (216363 lines)
|
Version 16.146.3: Mar 04, 2017 Changes in layout of edition of institutions, centres and degrees. (216363 lines)
|
||||||
Version 16.146.2: Mar 04, 2017 Changes in layout of authors. (216354 lines)
|
Version 16.146.2: Mar 04, 2017 Changes in layout of authors. (216354 lines)
|
||||||
Version 16.146.1: Mar 03, 2017 Changes in layout of assigments. (216350 lines)
|
Version 16.146.1: Mar 03, 2017 Changes in layout of assigments. (216350 lines)
|
||||||
|
|
|
@ -667,8 +667,6 @@ static void Svy_WriteAuthor (struct Survey *Svy)
|
||||||
{
|
{
|
||||||
bool ShowPhoto = false;
|
bool ShowPhoto = false;
|
||||||
char PhotoURL[PATH_MAX + 1];
|
char PhotoURL[PATH_MAX + 1];
|
||||||
char FirstName[Usr_MAX_BYTES_NAME + 1];
|
|
||||||
char Surnames[Usr_MAX_BYTES_SURNAMES + 1];
|
|
||||||
struct UsrData UsrDat;
|
struct UsrData UsrDat;
|
||||||
|
|
||||||
/***** Initialize structure with user's data *****/
|
/***** Initialize structure with user's data *****/
|
||||||
|
@ -685,23 +683,10 @@ static void Svy_WriteAuthor (struct Survey *Svy)
|
||||||
"PHOTO15x20",Pho_ZOOM,false);
|
"PHOTO15x20",Pho_ZOOM,false);
|
||||||
|
|
||||||
/***** Write name *****/
|
/***** Write name *****/
|
||||||
Str_Copy (FirstName,UsrDat.FirstName,
|
fprintf (Gbl.F.Out,"<div class=\"AUTHOR_1_LINE %s\">%s</div>",
|
||||||
Usr_MAX_BYTES_NAME);
|
|
||||||
Str_Copy (Surnames,UsrDat.Surname1,
|
|
||||||
Usr_MAX_BYTES_SURNAMES);
|
|
||||||
if (UsrDat.Surname2[0])
|
|
||||||
{
|
|
||||||
Str_Concat (Surnames," ",
|
|
||||||
Usr_MAX_BYTES_SURNAMES);
|
|
||||||
Str_Concat (Surnames,UsrDat.Surname2,
|
|
||||||
Usr_MAX_BYTES_SURNAMES);
|
|
||||||
}
|
|
||||||
Str_LimitLengthHTMLStr (FirstName,8);
|
|
||||||
Str_LimitLengthHTMLStr (Surnames,8);
|
|
||||||
fprintf (Gbl.F.Out,"<span class=\"%s\">%s %s</span>",
|
|
||||||
Svy->Status.Visible ? "AUTHOR_TXT" :
|
Svy->Status.Visible ? "AUTHOR_TXT" :
|
||||||
"AUTHOR_TXT_LIGHT",
|
"AUTHOR_TXT_LIGHT",
|
||||||
FirstName,Surnames);
|
UsrDat.FullName);
|
||||||
|
|
||||||
/***** Free memory used for user's data *****/
|
/***** Free memory used for user's data *****/
|
||||||
Usr_UsrDataDestructor (&UsrDat);
|
Usr_UsrDataDestructor (&UsrDat);
|
||||||
|
|
Loading…
Reference in New Issue
Block a user