mirror of https://github.com/acanas/swad-core.git
Version 15.71.3
This commit is contained in:
parent
cd40a5065d
commit
a207626ade
|
@ -118,12 +118,13 @@
|
|||
/****************************** Public constants *****************************/
|
||||
/*****************************************************************************/
|
||||
|
||||
#define Log_PLATFORM_VERSION "SWAD 15.71.2 (2015/12/21)"
|
||||
#define Log_PLATFORM_VERSION "SWAD 15.71.3 (2015-12-22)"
|
||||
#define CSS_FILE "swad15.65.1.css"
|
||||
|
||||
// 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.71.3: Dec 22, 2015 Changes in birthday range of years. (187669 lines)
|
||||
Version 15.71.2: Dec 21, 2015 Fixed bugs in removing old files in briefcase. (187666 lines)
|
||||
Version 15.71.1: Dec 21, 2015 Fixed bugs in removing old files in briefcase. (187665 lines)
|
||||
Version 15.71: Dec 21, 2015 Removing old files in briefcase. Finished. (187614 lines)
|
||||
|
|
|
@ -59,6 +59,10 @@ extern struct Act_Actions Act_Actions[Act_NUM_ACTIONS];
|
|||
|
||||
#define Rec_INSTITUTION_LOGO_SIZE 64
|
||||
#define Rec_DEGREE_LOGO_SIZE 64
|
||||
|
||||
#define Rec_USR_MIN_AGE 12 // years old
|
||||
#define Rec_USR_MAX_AGE 120 // years old
|
||||
|
||||
#define Rec_SHOW_OFFICE_HOURS_DEFAULT true
|
||||
|
||||
/*****************************************************************************/
|
||||
|
@ -2850,8 +2854,8 @@ void Rec_ShowSharedUsrRecord (Rec_RecordViewType_t TypeOfView,
|
|||
if (ShowData)
|
||||
{
|
||||
if (DataForm)
|
||||
Dat_WriteFormDate (Gbl.Now.Date.Year - 99,
|
||||
Gbl.Now.Date.Year - 16,
|
||||
Dat_WriteFormDate (Gbl.Now.Date.Year - Rec_USR_MAX_AGE,
|
||||
Gbl.Now.Date.Year - Rec_USR_MIN_AGE,
|
||||
"Birth",
|
||||
&(UsrDat->Birthday),
|
||||
false,false);
|
||||
|
|
Loading…
Reference in New Issue