mirror of https://github.com/acanas/swad-core.git
Version 16.48.5
This commit is contained in:
parent
19403fc4a2
commit
0a600be587
|
@ -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
|
|
@ -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)
|
||||
|
|
27
swad_menu.c
27
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,"<tr>");
|
||||
Lay_StartRoundFrame (NULL,Txt_Menu,Mnu_PutIconsMenu);
|
||||
fprintf (Gbl.F.Out,"<table class=\"CELLS_PAD_2\" style=\"margin:0 auto;\">"
|
||||
"<tr>");
|
||||
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,"</td>");
|
||||
}
|
||||
fprintf (Gbl.F.Out,"</tr>");
|
||||
Lay_EndRoundFrameTable ();
|
||||
fprintf (Gbl.F.Out,"</tr>"
|
||||
"</table>");
|
||||
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 ();
|
||||
}
|
||||
|
||||
/*****************************************************************************/
|
||||
|
|
Loading…
Reference in New Issue