Version 16.48.4

This commit is contained in:
Antonio Cañas Vargas 2016-11-07 13:04:47 +01:00
parent 9b55f775d9
commit 19403fc4a2
3 changed files with 27 additions and 7 deletions

View File

@ -156,13 +156,14 @@
/****************************** Public constants *****************************/ /****************************** Public constants *****************************/
/*****************************************************************************/ /*****************************************************************************/
#define Log_PLATFORM_VERSION "SWAD 16.48.3 (2016-11-07)" #define Log_PLATFORM_VERSION "SWAD 16.48.4 (2016-11-07)"
#define CSS_FILE "swad16.32.1.css" #define CSS_FILE "swad16.32.1.css"
#define JS_FILE "swad16.46.1.js" #define JS_FILE "swad16.46.1.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.48.4: Nov 07, 2016 Icon in preferences-theme to show figure (statistics). (206465 lines)
Version 16.48.3: Nov 07, 2016 Icon in preferences-icons to show figure (statistics). (206449 lines) Version 16.48.3: Nov 07, 2016 Icon in preferences-icons to show figure (statistics). (206449 lines)
Version 16.48.2: Nov 07, 2016 Icon in preferences-first-day-of-week to show figure (statistics). (206433 lines) Version 16.48.2: Nov 07, 2016 Icon in preferences-first-day-of-week to show figure (statistics). (206433 lines)
Version 16.48.1: Nov 07, 2016 Icon in preferences-language to show figure (statistics). (206429 lines) Version 16.48.1: Nov 07, 2016 Icon in preferences-language to show figure (statistics). (206429 lines)

View File

@ -239,6 +239,12 @@ const char *The_ClassFormBold[The_NUM_THEMES] =
"YELLOW_FORM_BOLD", "YELLOW_FORM_BOLD",
}; };
/*****************************************************************************/
/****************************** Private prototypes ***************************/
/*****************************************************************************/
static void The_PutIconsTheme (void);
/*****************************************************************************/ /*****************************************************************************/
/************************ Put icons to select a theme ***********************/ /************************ Put icons to select a theme ***********************/
/*****************************************************************************/ /*****************************************************************************/
@ -248,8 +254,9 @@ void The_PutIconsToSelectTheme (void)
extern const char *Txt_Theme_SKIN; extern const char *Txt_Theme_SKIN;
The_Theme_t Theme; The_Theme_t Theme;
Lay_StartRoundFrameTable (NULL,0,Txt_Theme_SKIN); Lay_StartRoundFrame (NULL,Txt_Theme_SKIN,The_PutIconsTheme);
fprintf (Gbl.F.Out,"<tr>"); fprintf (Gbl.F.Out,"<table class=\"CELLS_PAD_2\" style=\"margin:0 auto;\">"
"<tr>");
for (Theme = (The_Theme_t) 0; for (Theme = (The_Theme_t) 0;
Theme < The_NUM_THEMES; Theme < The_NUM_THEMES;
Theme++) Theme++)
@ -271,8 +278,20 @@ void The_PutIconsToSelectTheme (void)
Act_FormEnd (); Act_FormEnd ();
fprintf (Gbl.F.Out,"</td>"); fprintf (Gbl.F.Out,"</td>");
} }
fprintf (Gbl.F.Out,"</tr>"); fprintf (Gbl.F.Out,"</tr>"
Lay_EndRoundFrameTable (); "</table>");
Lay_EndRoundFrame ();
}
/*****************************************************************************/
/***************** Put contextual icons in theme preference ******************/
/*****************************************************************************/
static void The_PutIconsTheme (void)
{
/***** Put icon to show a figure *****/
Gbl.Stat.FigureType = Sta_THEMES;
Sta_PutIconToShowFigure ();
} }
/*****************************************************************************/ /*****************************************************************************/

View File

@ -276,8 +276,8 @@ void TT_ShowClassTimeTable (void)
/***** Show form to change first day of week *****/ /***** Show form to change first day of week *****/
Cal_ShowFormToSelFirstDayOfWeek (Gbl.TimeTable.Type == TT_COURSE_TIMETABLE ? ActChgCrsTT1stDay : Cal_ShowFormToSelFirstDayOfWeek (Gbl.TimeTable.Type == TT_COURSE_TIMETABLE ? ActChgCrsTT1stDay :
ActChgMyTT1stDay, ActChgMyTT1stDay,
"ICON25x25"); "ICON25x25");
} }
/***** Show the time table *****/ /***** Show the time table *****/