mirror of
https://github.com/acanas/swad-core.git
synced 2024-09-23 00:00:50 +02:00
Version 16.48.7
This commit is contained in:
parent
916140e668
commit
f0e581b555
|
@ -156,13 +156,14 @@
|
||||||
/****************************** Public constants *****************************/
|
/****************************** Public constants *****************************/
|
||||||
/*****************************************************************************/
|
/*****************************************************************************/
|
||||||
|
|
||||||
#define Log_PLATFORM_VERSION "SWAD 16.48.6 (2016-11-07)"
|
#define Log_PLATFORM_VERSION "SWAD 16.48.7 (2016-11-07)"
|
||||||
#define CSS_FILE "swad16.48.4.css"
|
#define CSS_FILE "swad16.48.4.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.7: Nov 07, 2016 Icon in preferences-privacy to show figure (statistics). (206505 lines)
|
||||||
Version 16.48.6: Nov 07, 2016 Icon in preferences-columns to show figure (statistics). (206492 lines)
|
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.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.4: Nov 07, 2016 Icon in preferences-theme to show figure (statistics). (206465 lines)
|
||||||
|
|
|
@ -61,6 +61,8 @@ const char *Pri_VisibilityDB[Pri_NUM_OPTIONS_PRIVACY] =
|
||||||
/***************************** Private prototypes ****************************/
|
/***************************** Private prototypes ****************************/
|
||||||
/*****************************************************************************/
|
/*****************************************************************************/
|
||||||
|
|
||||||
|
static void Pri_PutIconsPrivacy (void);
|
||||||
|
|
||||||
static void Pri_PutFormVisibility (const char *TxtLabel,
|
static void Pri_PutFormVisibility (const char *TxtLabel,
|
||||||
Act_Action_t Action,const char *ParamName,
|
Act_Action_t Action,const char *ParamName,
|
||||||
Pri_Visibility_t CurrentVisibilityInDB,
|
Pri_Visibility_t CurrentVisibilityInDB,
|
||||||
|
@ -99,7 +101,8 @@ void Pri_EditMyPrivacy (void)
|
||||||
Lay_ShowAlert (Lay_WARNING,Txt_Please_review_your_privacy_preferences);
|
Lay_ShowAlert (Lay_WARNING,Txt_Please_review_your_privacy_preferences);
|
||||||
|
|
||||||
/***** Start table *****/
|
/***** Start table *****/
|
||||||
Lay_StartRoundFrameTable (NULL,2,Txt_Privacy);
|
Lay_StartRoundFrame (NULL,Txt_Privacy,Pri_PutIconsPrivacy);
|
||||||
|
fprintf (Gbl.F.Out,"<table class=\"CELLS_PAD_2\" style=\"margin:0 auto;\">");
|
||||||
|
|
||||||
/***** Edit photo visibility *****/
|
/***** Edit photo visibility *****/
|
||||||
Pri_PutFormVisibility (Txt_Photo,
|
Pri_PutFormVisibility (Txt_Photo,
|
||||||
|
@ -126,7 +129,19 @@ void Pri_EditMyPrivacy (void)
|
||||||
(1 << Pri_VISIBILITY_SYSTEM));
|
(1 << Pri_VISIBILITY_SYSTEM));
|
||||||
|
|
||||||
/***** End table *****/
|
/***** End table *****/
|
||||||
Lay_EndRoundFrameTable ();
|
fprintf (Gbl.F.Out,"</table>");
|
||||||
|
Lay_EndRoundFrame ();
|
||||||
|
}
|
||||||
|
|
||||||
|
/*****************************************************************************/
|
||||||
|
/****************** Put contextual icons in menu preference ******************/
|
||||||
|
/*****************************************************************************/
|
||||||
|
|
||||||
|
static void Pri_PutIconsPrivacy (void)
|
||||||
|
{
|
||||||
|
/***** Put icon to show a figure *****/
|
||||||
|
Gbl.Stat.FigureType = Sta_PRIVACY;
|
||||||
|
Sta_PutIconToShowFigure ();
|
||||||
}
|
}
|
||||||
|
|
||||||
/*****************************************************************************/
|
/*****************************************************************************/
|
||||||
|
|
Loading…
Reference in New Issue
Block a user