mirror of https://github.com/acanas/swad-core.git
Version 16.205.4
This commit is contained in:
parent
6fb8c4752c
commit
8eada9b77e
|
@ -233,13 +233,14 @@
|
|||
/****************************** Public constants *****************************/
|
||||
/*****************************************************************************/
|
||||
|
||||
#define Log_PLATFORM_VERSION "SWAD 16.205.3 (2017-05-04)"
|
||||
#define Log_PLATFORM_VERSION "SWAD 16.205.4 (2017-05-05)"
|
||||
#define CSS_FILE "swad16.205.css"
|
||||
#define JS_FILE "swad16.205.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.205.4: May 05, 2017 Help about date format. (218487 lines)
|
||||
Version 16.205.3: May 04, 2017 Changes in statistics about date format. (218447 lines)
|
||||
Version 16.205.2: May 04, 2017 Changes in form to select date format. (218439 lines)
|
||||
Version 16.205.1: May 04, 2017 Removed unused code. (218440 lines)
|
||||
|
|
|
@ -97,14 +97,13 @@ static unsigned Dat_GetParamDateFormat (void);
|
|||
|
||||
void Dat_PutIconsToSelectDateFormat (void)
|
||||
{
|
||||
extern const char *Hlp_PROFILE_Preferences_calendar;
|
||||
extern const char *Hlp_PROFILE_Preferences_dates;
|
||||
extern const char *Txt_Dates;
|
||||
Dat_Format_t Format;
|
||||
|
||||
/***** Start frame *****/
|
||||
Lay_StartRoundFrame (NULL,Txt_Dates,
|
||||
Dat_PutIconsDateFormat,
|
||||
Hlp_PROFILE_Preferences_calendar);
|
||||
Lay_StartRoundFrame (NULL,Txt_Dates,Dat_PutIconsDateFormat,
|
||||
Hlp_PROFILE_Preferences_dates);
|
||||
|
||||
/***** Form with list of options *****/
|
||||
Act_FormStart (ActChgDatFmt);
|
||||
|
|
|
@ -2573,6 +2573,48 @@ const char *Hlp_STATS_Figures_language =
|
|||
"STATS.Figures.en#language";
|
||||
#endif
|
||||
|
||||
const char *Hlp_STATS_Figures_calendar =
|
||||
#if L==1
|
||||
"STATS.Figures.es#calendario";
|
||||
#elif L==2
|
||||
"STATS.Figures.en#calendar";
|
||||
#elif L==3
|
||||
"STATS.Figures.en#calendar";
|
||||
#elif L==4
|
||||
"STATS.Figures.es#calendario";
|
||||
#elif L==5
|
||||
"STATS.Figures.en#calendar";
|
||||
#elif L==6
|
||||
"STATS.Figures.es#calendario";
|
||||
#elif L==7
|
||||
"STATS.Figures.en#calendar";
|
||||
#elif L==8
|
||||
"STATS.Figures.en#calendar";
|
||||
#elif L==9
|
||||
"STATS.Figures.en#calendar";
|
||||
#endif
|
||||
|
||||
const char *Hlp_STATS_Figures_dates =
|
||||
#if L==1
|
||||
"STATS.Figures.es#fechas";
|
||||
#elif L==2
|
||||
"STATS.Figures.en#dates";
|
||||
#elif L==3
|
||||
"STATS.Figures.en#dates";
|
||||
#elif L==4
|
||||
"STATS.Figures.es#fechas";
|
||||
#elif L==5
|
||||
"STATS.Figures.en#dates";
|
||||
#elif L==6
|
||||
"STATS.Figures.es#fechas";
|
||||
#elif L==7
|
||||
"STATS.Figures.en#dates";
|
||||
#elif L==8
|
||||
"STATS.Figures.en#dates";
|
||||
#elif L==9
|
||||
"STATS.Figures.en#dates";
|
||||
#endif
|
||||
|
||||
const char *Hlp_STATS_Figures_icons =
|
||||
#if L==1
|
||||
"STATS.Figures.es#iconos";
|
||||
|
@ -2615,27 +2657,6 @@ const char *Hlp_STATS_Figures_menu =
|
|||
"STATS.Figures.en#menu";
|
||||
#endif
|
||||
|
||||
const char *Hlp_STATS_Figures_calendar =
|
||||
#if L==1
|
||||
"STATS.Figures.es#calendario";
|
||||
#elif L==2
|
||||
"STATS.Figures.en#calendar";
|
||||
#elif L==3
|
||||
"STATS.Figures.en#calendar";
|
||||
#elif L==4
|
||||
"STATS.Figures.es#calendario";
|
||||
#elif L==5
|
||||
"STATS.Figures.en#calendar";
|
||||
#elif L==6
|
||||
"STATS.Figures.es#calendario";
|
||||
#elif L==7
|
||||
"STATS.Figures.en#calendar";
|
||||
#elif L==8
|
||||
"STATS.Figures.en#calendar";
|
||||
#elif L==9
|
||||
"STATS.Figures.en#calendar";
|
||||
#endif
|
||||
|
||||
const char *Hlp_STATS_Figures_theme =
|
||||
#if L==1
|
||||
"STATS.Figures.es#tema";
|
||||
|
@ -3205,6 +3226,27 @@ const char *Hlp_PROFILE_Preferences_calendar =
|
|||
"PROFILE.Preferences.en#calendar";
|
||||
#endif
|
||||
|
||||
const char *Hlp_PROFILE_Preferences_dates =
|
||||
#if L==1
|
||||
"PROFILE.Preferences.es#fechas";
|
||||
#elif L==2
|
||||
"PROFILE.Preferences.en#dates";
|
||||
#elif L==3
|
||||
"PROFILE.Preferences.en#dates";
|
||||
#elif L==4
|
||||
"PROFILE.Preferences.es#fechas";
|
||||
#elif L==5
|
||||
"PROFILE.Preferences.en#dates";
|
||||
#elif L==6
|
||||
"PROFILE.Preferences.es#fechas";
|
||||
#elif L==7
|
||||
"PROFILE.Preferences.en#dates";
|
||||
#elif L==8
|
||||
"PROFILE.Preferences.en#dates";
|
||||
#elif L==9
|
||||
"PROFILE.Preferences.en#dates";
|
||||
#endif
|
||||
|
||||
const char *Hlp_PROFILE_Preferences_icons =
|
||||
#if L==1
|
||||
"PROFILE.Preferences.es#iconos";
|
||||
|
|
|
@ -8840,7 +8840,7 @@ static void Sta_GetAndShowNumUsrsPerFirstDayOfWeek (void)
|
|||
|
||||
static void Sta_GetAndShowNumUsrsPerDateFormat (void)
|
||||
{
|
||||
extern const char *Hlp_STATS_Figures_calendar; // TODO: Change!!!!!!!!!!!!!!!!
|
||||
extern const char *Hlp_STATS_Figures_dates;
|
||||
extern const char *Txt_STAT_USE_STAT_TYPES[Sta_NUM_FIGURES];
|
||||
extern const char *Txt_Format;
|
||||
extern const char *Txt_No_of_users;
|
||||
|
@ -8852,7 +8852,7 @@ static void Sta_GetAndShowNumUsrsPerDateFormat (void)
|
|||
|
||||
/***** Start table *****/
|
||||
Lay_StartRoundFrameTable (NULL,Txt_STAT_USE_STAT_TYPES[Sta_DATE_FORMAT],
|
||||
NULL,Hlp_STATS_Figures_calendar,2); // TODO: Change!!!!!!!!!!!!!!!!
|
||||
NULL,Hlp_STATS_Figures_dates,2);
|
||||
|
||||
/***** Heading row *****/
|
||||
fprintf (Gbl.F.Out,"<tr>"
|
||||
|
|
Loading…
Reference in New Issue