mirror of https://github.com/acanas/swad-core.git
Version 16.207.2
This commit is contained in:
parent
3df265695c
commit
a3540dcfc3
|
@ -1524,7 +1524,6 @@ a:hover /* Default ==> underlined */
|
||||||
.ICO25x25B {width:25px; height:25px; vertical-align:middle; display:block;}
|
.ICO25x25B {width:25px; height:25px; vertical-align:middle; display:block;}
|
||||||
.ICO40x25B {width:40px; height:25px; vertical-align:middle;}
|
.ICO40x25B {width:40px; height:25px; vertical-align:middle;}
|
||||||
.ICO40x40 {width:40px; height:40px; vertical-align:middle;}
|
.ICO40x40 {width:40px; height:40px; vertical-align:middle;}
|
||||||
.ICO40x40B {width:40px; height:40px; vertical-align:middle; display:block;}
|
|
||||||
.ICO64x64 {width:64px; height:64px; vertical-align:middle;}
|
.ICO64x64 {width:64px; height:64px; vertical-align:middle;}
|
||||||
.ICO160x160 {width:160px; height:160px; vertical-align:middle;}
|
.ICO160x160 {width:160px; height:160px; vertical-align:middle;}
|
||||||
.BANNER {width:150px; height:50px;}
|
.BANNER {width:150px; height:50px;}
|
||||||
|
|
|
@ -370,7 +370,7 @@ static void Asg_ShowOneAssignment (long AsgCod,bool PrintView)
|
||||||
|
|
||||||
/* Start date/time */
|
/* Start date/time */
|
||||||
UniqueId++;
|
UniqueId++;
|
||||||
fprintf (Gbl.F.Out,"<td id=\"asg_date_start_%u\" class=\"%s LEFT_TOP",
|
fprintf (Gbl.F.Out,"<td id=\"asg_date_start_%u\" class=\"%s LEFT_BOTTOM",
|
||||||
UniqueId,
|
UniqueId,
|
||||||
Asg.Hidden ? (Asg.Open ? "DATE_GREEN_LIGHT" :
|
Asg.Hidden ? (Asg.Open ? "DATE_GREEN_LIGHT" :
|
||||||
"DATE_RED_LIGHT") :
|
"DATE_RED_LIGHT") :
|
||||||
|
@ -389,7 +389,7 @@ static void Asg_ShowOneAssignment (long AsgCod,bool PrintView)
|
||||||
|
|
||||||
/* End date/time */
|
/* End date/time */
|
||||||
UniqueId++;
|
UniqueId++;
|
||||||
fprintf (Gbl.F.Out,"<td id=\"asg_date_end_%u\" class=\"%s LEFT_TOP",
|
fprintf (Gbl.F.Out,"<td id=\"asg_date_end_%u\" class=\"%s LEFT_BOTTOM",
|
||||||
UniqueId,
|
UniqueId,
|
||||||
Asg.Hidden ? (Asg.Open ? "DATE_GREEN_LIGHT" :
|
Asg.Hidden ? (Asg.Open ? "DATE_GREEN_LIGHT" :
|
||||||
"DATE_RED_LIGHT") :
|
"DATE_RED_LIGHT") :
|
||||||
|
|
|
@ -383,7 +383,7 @@ static void Att_ShowOneAttEvent (struct AttendanceEvent *Att,bool ShowOnlyThisAt
|
||||||
|
|
||||||
/* Start date/time */
|
/* Start date/time */
|
||||||
UniqueId++;
|
UniqueId++;
|
||||||
fprintf (Gbl.F.Out,"<td id=\"att_date_start_%u\" class=\"%s LEFT_TOP",
|
fprintf (Gbl.F.Out,"<td id=\"att_date_start_%u\" class=\"%s LEFT_BOTTOM",
|
||||||
UniqueId,
|
UniqueId,
|
||||||
Att->Hidden ? (Att->Open ? "DATE_GREEN_LIGHT" :
|
Att->Hidden ? (Att->Open ? "DATE_GREEN_LIGHT" :
|
||||||
"DATE_RED_LIGHT") :
|
"DATE_RED_LIGHT") :
|
||||||
|
@ -401,7 +401,7 @@ static void Att_ShowOneAttEvent (struct AttendanceEvent *Att,bool ShowOnlyThisAt
|
||||||
(unsigned) Gbl.Prefs.DateFormat,Txt_Today);
|
(unsigned) Gbl.Prefs.DateFormat,Txt_Today);
|
||||||
|
|
||||||
/* End date/time */
|
/* End date/time */
|
||||||
fprintf (Gbl.F.Out,"<td id=\"att_date_end_%u\" class=\"%s LEFT_TOP",
|
fprintf (Gbl.F.Out,"<td id=\"att_date_end_%u\" class=\"%s LEFT_BOTTOM",
|
||||||
UniqueId,
|
UniqueId,
|
||||||
Att->Hidden ? (Att->Open ? "DATE_GREEN_LIGHT" :
|
Att->Hidden ? (Att->Open ? "DATE_GREEN_LIGHT" :
|
||||||
"DATE_RED_LIGHT") :
|
"DATE_RED_LIGHT") :
|
||||||
|
|
|
@ -232,13 +232,15 @@
|
||||||
/****************************** Public constants *****************************/
|
/****************************** Public constants *****************************/
|
||||||
/*****************************************************************************/
|
/*****************************************************************************/
|
||||||
|
|
||||||
#define Log_PLATFORM_VERSION "SWAD 16.207 (2017-05-05)"
|
#define Log_PLATFORM_VERSION "SWAD 16.207.2 (2017-05-07)"
|
||||||
#define CSS_FILE "swad16.207.css"
|
#define CSS_FILE "swad16.207.css"
|
||||||
#define JS_FILE "swad16.206.3.js"
|
#define JS_FILE "swad16.206.3.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.207.2: May 05, 2017 Changes un help on preferences. (218621 lines)
|
||||||
|
Version 16.207.1: May 05, 2017 Minor changes in layout. (218577 lines)
|
||||||
Version 16.207: May 05, 2017 Changes in layout of preferences. (218577 lines)
|
Version 16.207: May 05, 2017 Changes in layout of preferences. (218577 lines)
|
||||||
Version 16.206.4: May 05, 2017 Changes in question to change language. (218534 lines)
|
Version 16.206.4: May 05, 2017 Changes in question to change language. (218534 lines)
|
||||||
Version 16.206.3: May 05, 2017 Fixed bug in Javascript function to write local date and time. (218527 lines)
|
Version 16.206.3: May 05, 2017 Fixed bug in Javascript function to write local date and time. (218527 lines)
|
||||||
|
|
|
@ -3184,6 +3184,27 @@ const char *Hlp_PROFILE_Photo =
|
||||||
"PROFILE.Photo.en";
|
"PROFILE.Photo.en";
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
const char *Hlp_PROFILE_Preferences_internationalization =
|
||||||
|
#if L==1
|
||||||
|
"PROFILE.Preferences.es#internacionalizaci%C3%B3n";
|
||||||
|
#elif L==2
|
||||||
|
"PROFILE.Preferences.en#internationalization";
|
||||||
|
#elif L==3
|
||||||
|
"PROFILE.Preferences.en#internationalization";
|
||||||
|
#elif L==4
|
||||||
|
"PROFILE.Preferences.es#internacionalizaci%C3%B3n";
|
||||||
|
#elif L==5
|
||||||
|
"PROFILE.Preferences.en#internationalization";
|
||||||
|
#elif L==6
|
||||||
|
"PROFILE.Preferences.es#internacionalizaci%C3%B3n";
|
||||||
|
#elif L==7
|
||||||
|
"PROFILE.Preferences.en#internationalization";
|
||||||
|
#elif L==8
|
||||||
|
"PROFILE.Preferences.en#internationalization";
|
||||||
|
#elif L==9
|
||||||
|
"PROFILE.Preferences.en#internationalization";
|
||||||
|
#endif
|
||||||
|
|
||||||
const char *Hlp_PROFILE_Preferences_language =
|
const char *Hlp_PROFILE_Preferences_language =
|
||||||
#if L==1
|
#if L==1
|
||||||
"PROFILE.Preferences.es#idioma";
|
"PROFILE.Preferences.es#idioma";
|
||||||
|
@ -3247,6 +3268,27 @@ const char *Hlp_PROFILE_Preferences_dates =
|
||||||
"PROFILE.Preferences.en#dates";
|
"PROFILE.Preferences.en#dates";
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
const char *Hlp_PROFILE_Preferences_design =
|
||||||
|
#if L==1
|
||||||
|
"PROFILE.Preferences.es#dise%C3%B1o";
|
||||||
|
#elif L==2
|
||||||
|
"PROFILE.Preferences.en#design";
|
||||||
|
#elif L==3
|
||||||
|
"PROFILE.Preferences.en#design";
|
||||||
|
#elif L==4
|
||||||
|
"PROFILE.Preferences.es#dise%C3%B1o";
|
||||||
|
#elif L==5
|
||||||
|
"PROFILE.Preferences.en#design";
|
||||||
|
#elif L==6
|
||||||
|
"PROFILE.Preferences.es#dise%C3%B1o";
|
||||||
|
#elif L==7
|
||||||
|
"PROFILE.Preferences.en#design";
|
||||||
|
#elif L==8
|
||||||
|
"PROFILE.Preferences.en#design";
|
||||||
|
#elif L==9
|
||||||
|
"PROFILE.Preferences.en#design";
|
||||||
|
#endif
|
||||||
|
|
||||||
const char *Hlp_PROFILE_Preferences_icons =
|
const char *Hlp_PROFILE_Preferences_icons =
|
||||||
#if L==1
|
#if L==1
|
||||||
"PROFILE.Preferences.es#iconos";
|
"PROFILE.Preferences.es#iconos";
|
||||||
|
|
|
@ -71,16 +71,19 @@ static void Pre_UpdateSideColsOnUsrDataTable (void);
|
||||||
|
|
||||||
void Pre_EditPrefs (void)
|
void Pre_EditPrefs (void)
|
||||||
{
|
{
|
||||||
|
extern const char *Hlp_PROFILE_Preferences_internationalization;
|
||||||
extern const char *Hlp_PROFILE_Preferences_language;
|
extern const char *Hlp_PROFILE_Preferences_language;
|
||||||
|
extern const char *Hlp_PROFILE_Preferences_design;
|
||||||
extern const char *Txt_Internationalization;
|
extern const char *Txt_Internationalization;
|
||||||
extern const char *Txt_Design;
|
extern const char *Txt_Design;
|
||||||
extern const char *Txt_Language;
|
extern const char *Txt_Language;
|
||||||
|
|
||||||
/***** Internationalization: language, first day of week, date format *****/
|
/***** Internationalization: language, first day of week, date format *****/
|
||||||
Lay_StartRoundFrame (NULL,Txt_Internationalization,NULL,NULL);
|
Lay_StartRoundFrame (NULL,Txt_Internationalization,NULL,
|
||||||
|
Hlp_PROFILE_Preferences_internationalization);
|
||||||
fprintf (Gbl.F.Out,"<div class=\"FRAME_INLINE\">");
|
fprintf (Gbl.F.Out,"<div class=\"FRAME_INLINE\">");
|
||||||
Lay_StartRoundFrame (NULL,Txt_Language,
|
Lay_StartRoundFrame (NULL,Txt_Language,Pre_PutIconsLanguage,
|
||||||
Pre_PutIconsLanguage,Hlp_PROFILE_Preferences_language);
|
Hlp_PROFILE_Preferences_language);
|
||||||
Pre_PutSelectorToSelectLanguage (); // 1. Language
|
Pre_PutSelectorToSelectLanguage (); // 1. Language
|
||||||
Lay_EndRoundFrame ();
|
Lay_EndRoundFrame ();
|
||||||
fprintf (Gbl.F.Out,"</div>"
|
fprintf (Gbl.F.Out,"</div>"
|
||||||
|
@ -93,7 +96,7 @@ void Pre_EditPrefs (void)
|
||||||
Lay_EndRoundFrame ();
|
Lay_EndRoundFrame ();
|
||||||
|
|
||||||
/***** Design: icon set, menu, theme, side columns *****/
|
/***** Design: icon set, menu, theme, side columns *****/
|
||||||
Lay_StartRoundFrame (NULL,Txt_Design,NULL,NULL);
|
Lay_StartRoundFrame (NULL,Txt_Design,NULL,Hlp_PROFILE_Preferences_design);
|
||||||
fprintf (Gbl.F.Out,"<div class=\"FRAME_INLINE\">");
|
fprintf (Gbl.F.Out,"<div class=\"FRAME_INLINE\">");
|
||||||
Ico_PutIconsToSelectIconSet (); // 4. Icon set
|
Ico_PutIconsToSelectIconSet (); // 4. Icon set
|
||||||
fprintf (Gbl.F.Out,"</div>"
|
fprintf (Gbl.F.Out,"</div>"
|
||||||
|
|
Loading…
Reference in New Issue