Version 16.48.6

This commit is contained in:
Antonio Cañas Vargas 2016-11-07 13:49:39 +01:00
parent 0a600be587
commit 916140e668
2 changed files with 20 additions and 5 deletions

View File

@ -156,13 +156,14 @@
/****************************** Public constants *****************************/
/*****************************************************************************/
#define Log_PLATFORM_VERSION "SWAD 16.48.5 (2016-11-07)"
#define Log_PLATFORM_VERSION "SWAD 16.48.6 (2016-11-07)"
#define CSS_FILE "swad16.48.4.css"
#define JS_FILE "swad16.46.1.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.48.6: Nov 07, 2016 Icon in preferences-columns to show figure (statistics). (206492 lines)
Version 16.48.5: Nov 07, 2016 Icon in preferences-menu to show figure (statistics). (206479 lines)
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)

View File

@ -58,6 +58,7 @@ extern struct Globals Gbl;
static void Pre_PutIconsLanguage (void);
static void Pre_PutIconsToSelectSideCols (void);
static void Pre_PutIconsSideColumns (void);
static void Pre_UpdateSideColsOnUsrDataTable (void);
/*****************************************************************************/
@ -379,8 +380,9 @@ static void Pre_PutIconsToSelectSideCols (void)
extern const char *Txt_LAYOUT_SIDE_COLUMNS[4];
unsigned SideCols;
Lay_StartRoundFrameTable (NULL,0,Txt_Columns);
fprintf (Gbl.F.Out,"<tr>");
Lay_StartRoundFrame (NULL,Txt_Columns,Pre_PutIconsSideColumns);
fprintf (Gbl.F.Out,"<table class=\"CELLS_PAD_2\" style=\"margin:0 auto;\">"
"<tr>");
for (SideCols = 0;
SideCols <= Lay_SHOW_BOTH_COLUMNS;
SideCols++)
@ -401,8 +403,20 @@ static void Pre_PutIconsToSelectSideCols (void)
Act_FormEnd ();
fprintf (Gbl.F.Out,"</td>");
}
fprintf (Gbl.F.Out,"</tr>");
Lay_EndRoundFrameTable ();
fprintf (Gbl.F.Out,"</tr>"
"</table>");
Lay_EndRoundFrame ();
}
/*****************************************************************************/
/************* Put contextual icons in side-columns preference ***************/
/*****************************************************************************/
static void Pre_PutIconsSideColumns (void)
{
/***** Put icon to show a figure *****/
Gbl.Stat.FigureType = Sta_SIDE_COLUMNS;
Sta_PutIconToShowFigure ();
}
/*****************************************************************************/