Version 16.48.3

This commit is contained in:
Antonio Cañas Vargas 2016-11-07 12:59:44 +01:00
parent 90ab734ecb
commit 9b55f775d9
2 changed files with 25 additions and 5 deletions

View File

@ -156,13 +156,14 @@
/****************************** Public constants *****************************/
/*****************************************************************************/
#define Log_PLATFORM_VERSION "SWAD 16.48.2 (2016-11-07)"
#define Log_PLATFORM_VERSION "SWAD 16.48.3 (2016-11-07)"
#define CSS_FILE "swad16.32.1.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.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.1: Nov 07, 2016 Icon in preferences-language to show figure (statistics). (206429 lines)
Version 16.48: Nov 07, 2016 Icon in messages to show figure (statistics).

View File

@ -60,6 +60,12 @@ const char *Ico_IconSetNames[Ico_NUM_ICON_SETS] =
"Nuvola",
};
/*****************************************************************************/
/***************************** Private prototypes ****************************/
/*****************************************************************************/
static void Ico_PutIconsIconSet (void);
/*****************************************************************************/
/************************ Put icons to select a IconSet **********************/
/*****************************************************************************/
@ -69,8 +75,9 @@ void Ico_PutIconsToSelectIconSet (void)
extern const char *Txt_Icons;
Ico_IconSet_t IconSet;
Lay_StartRoundFrameTable (NULL,0,Txt_Icons);
fprintf (Gbl.F.Out,"<tr>");
Lay_StartRoundFrame (NULL,Txt_Icons,Ico_PutIconsIconSet);
fprintf (Gbl.F.Out,"<table class=\"CELLS_PAD_2\" style=\"margin:0 auto;\">"
"<tr>");
for (IconSet = (Ico_IconSet_t) 0;
IconSet < Ico_NUM_ICON_SETS;
IconSet++)
@ -92,8 +99,20 @@ void Ico_PutIconsToSelectIconSet (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 icon-set preference *****************/
/*****************************************************************************/
static void Ico_PutIconsIconSet (void)
{
/***** Put icon to show a figure *****/
Gbl.Stat.FigureType = Sta_ICON_SETS;
Sta_PutIconToShowFigure ();
}
/*****************************************************************************/