diff --git a/css/swad16.32.1.css b/css/swad16.48.4.css similarity index 99% rename from css/swad16.32.1.css rename to css/swad16.48.4.css index 5bfec63ef..2b21f1eb1 100644 --- a/css/swad16.32.1.css +++ b/css/swad16.48.4.css @@ -1972,16 +1972,14 @@ a:hover img.CENTRE_PHOTO_SHOW .PREF_OFF { box-sizing:border-box; - height:42px; - padding:0; + height:44px; text-align:center; vertical-align:middle; } .PREF_ON { box-sizing:border-box; - height:42px; - padding:0; + height:44px; text-align:center; vertical-align:middle; border:solid 1px; @@ -1989,8 +1987,8 @@ a:hover img.CENTRE_PHOTO_SHOW background-color:#DDECF1; } -.LOG {font-family:"Arial Narrow","Nimbus Sans L","DejaVu LGC Sans Condensed",sans-serif; color:#606060; font-size:11pt;} -.LOG_R {font-family:"Arial Narrow","Nimbus Sans L","DejaVu LGC Sans Condensed",sans-serif; color:red; font-size:11pt;} +.LOG {font-family:"Arial Narrow","Nimbus Sans L","DejaVu LGC Sans Condensed",sans-serif; color:#606060; font-size:11pt;} +.LOG_R {font-family:"Arial Narrow","Nimbus Sans L","DejaVu LGC Sans Condensed",sans-serif; color:red; font-size:11pt;} /******************************** Image uploading ****************************/ .IMG_UPLOAD_CONTAINER diff --git a/swad_changelog.h b/swad_changelog.h index 315348d79..74b2086a1 100644 --- a/swad_changelog.h +++ b/swad_changelog.h @@ -156,13 +156,14 @@ /****************************** Public constants *****************************/ /*****************************************************************************/ -#define Log_PLATFORM_VERSION "SWAD 16.48.4 (2016-11-07)" -#define CSS_FILE "swad16.32.1.css" +#define Log_PLATFORM_VERSION "SWAD 16.48.5 (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.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) Version 16.48.2: Nov 07, 2016 Icon in preferences-first-day-of-week to show figure (statistics). (206433 lines) diff --git a/swad_menu.c b/swad_menu.c index effbf5060..40a450902 100644 --- a/swad_menu.c +++ b/swad_menu.c @@ -194,6 +194,12 @@ const Act_Action_t Mnu_MenuActions[Tab_NUM_TABS][Act_MAX_OPTIONS_IN_MENU_PER_TAB }, }; +/*****************************************************************************/ +/****************************** Private prototypes ***************************/ +/*****************************************************************************/ + +static void Mnu_PutIconsMenu (void); + /*****************************************************************************/ /******* When I change to another tab, go to the first option allowed ********/ /*****************************************************************************/ @@ -305,8 +311,9 @@ void Mnu_PutIconsToSelectMenu (void) extern const char *Txt_MENU_NAMES[Mnu_NUM_MENUS]; Mnu_Menu_t Menu; - Lay_StartRoundFrameTable (NULL,0,Txt_Menu); - fprintf (Gbl.F.Out,""); + Lay_StartRoundFrame (NULL,Txt_Menu,Mnu_PutIconsMenu); + fprintf (Gbl.F.Out,"" + ""); for (Menu = (Mnu_Menu_t) 0; Menu < Mnu_NUM_MENUS; Menu++) @@ -326,8 +333,20 @@ void Mnu_PutIconsToSelectMenu (void) Act_FormEnd (); fprintf (Gbl.F.Out,""); } - fprintf (Gbl.F.Out,""); - Lay_EndRoundFrameTable (); + fprintf (Gbl.F.Out,"" + "
"); + Lay_EndRoundFrame (); + } + +/*****************************************************************************/ +/****************** Put contextual icons in menu preference ******************/ +/*****************************************************************************/ + +static void Mnu_PutIconsMenu (void) + { + /***** Put icon to show a figure *****/ + Gbl.Stat.FigureType = Sta_MENUS; + Sta_PutIconToShowFigure (); } /*****************************************************************************/