diff --git a/css/swad16.86.5.css b/css/swad16.86.5.css index 9b6895f3a..b516eb269 100644 --- a/css/swad16.86.5.css +++ b/css/swad16.86.5.css @@ -1995,16 +1995,14 @@ a:hover img.CENTRE_PHOTO_SHOW .PREF_OFF { box-sizing:border-box; - height:44px; - padding:0 10px; + padding:6px; text-align:center; vertical-align:middle; } .PREF_ON { box-sizing:border-box; - height:44px; - padding:0 10px; + padding:6px; text-align:center; vertical-align:middle; border:solid 1px; diff --git a/icon/lock-off64x64.png b/icon/lock-off64x64.png new file mode 100644 index 000000000..8e22095f8 Binary files /dev/null and b/icon/lock-off64x64.png differ diff --git a/icon/lock-on64x64.png b/icon/lock-on64x64.png new file mode 100644 index 000000000..b826b54e6 Binary files /dev/null and b/icon/lock-on64x64.png differ diff --git a/icon/lockunlock64x64.png b/icon/lockunlock64x64.png new file mode 100644 index 000000000..4d170a8ae Binary files /dev/null and b/icon/lockunlock64x64.png differ diff --git a/icon/unlock-off64x64.png b/icon/unlock-off64x64.png new file mode 100644 index 000000000..c00003fab Binary files /dev/null and b/icon/unlock-off64x64.png differ diff --git a/icon/unlock-on64x64.png b/icon/unlock-on64x64.png new file mode 100644 index 000000000..682783180 Binary files /dev/null and b/icon/unlock-on64x64.png differ diff --git a/icon/unlock64x64.png b/icon/unlock64x64.png new file mode 100644 index 000000000..f1963b28d Binary files /dev/null and b/icon/unlock64x64.png differ diff --git a/swad_agenda.c b/swad_agenda.c index 1ecd6e548..460841ac2 100644 --- a/swad_agenda.c +++ b/swad_agenda.c @@ -74,7 +74,7 @@ static void Agd_ShowEvents (Agd_AgendaType_t AgendaType); static void Agd_PutIconToCreateNewEvent (void); static void Agd_PutButtonToCreateNewEvent (void); static void Agd_PutParamsToCreateNewEvent (void); -static void Agd_ShowSelectorWhichEvents (void); +static void Agd_ShowFormToSelWhichEvents (Act_Action_t Action); static void Agd_GetParamWhichEvents (void); static void Agd_ShowOneEvent (Agd_AgendaType_t AgendaType,long AgdCod); static void Agd_WriteEventAuthor (struct AgendaEvent *AgdEvent); @@ -211,7 +211,7 @@ static void Agd_ShowEvents (Agd_AgendaType_t AgendaType) /***** Put form to choice whether to show all events or only public events *****/ Act_FormStart (ActSeeMyAgd); - Agd_ShowSelectorWhichEvents (); + Agd_ShowFormToSelWhichEvents (ActSeeMyAgd); Act_FormEnd (); break; } @@ -325,33 +325,36 @@ static void Agd_PutParamsToCreateNewEvent (void) } /*****************************************************************************/ -/** Show selector to choice whether to show all events or only public events */ +/*** Show form to choice whether to show all events or only public events ****/ /*****************************************************************************/ -static void Agd_ShowSelectorWhichEvents (void) +static void Agd_ShowFormToSelWhichEvents (Act_Action_t Action) { extern const char *Txt_Show_WHICH_events[2]; Agd_WhichEvents_t WhichEvents; - fprintf (Gbl.F.Out,"