From b241335ecaa306885ec381a85bb89b0c4b6fb679 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Antonio=20Ca=C3=B1as=20Vargas?= Date: Sat, 24 Dec 2016 13:08:32 +0100 Subject: [PATCH] Version 16.106.5 --- css/{swad16.106.css => swad16.106.5.css} | 3 +-- swad_changelog.h | 5 ++-- swad_layout.c | 12 --------- swad_layout.h | 1 - swad_preference.c | 32 +++++++++++------------- 5 files changed, 18 insertions(+), 35 deletions(-) rename css/{swad16.106.css => swad16.106.5.css} (99%) diff --git a/css/swad16.106.css b/css/swad16.106.5.css similarity index 99% rename from css/swad16.106.css rename to css/swad16.106.5.css index 91faf4449..4cad050c2 100644 --- a/css/swad16.106.css +++ b/css/swad16.106.5.css @@ -2098,8 +2098,7 @@ a:hover img.CENTRE_PHOTO_SHOW .PREF_CONTAINER { display:inline-block; - padding:0 10px; - border-spacing:0; + margin:0 8px; } .PREF_OFF { diff --git a/swad_changelog.h b/swad_changelog.h index 7b9359e66..1e07f8991 100644 --- a/swad_changelog.h +++ b/swad_changelog.h @@ -188,13 +188,14 @@ /****************************** Public constants *****************************/ /*****************************************************************************/ -#define Log_PLATFORM_VERSION "SWAD 16.106.4 (2016-12-24)" -#define CSS_FILE "swad16.106.css" +#define Log_PLATFORM_VERSION "SWAD 16.106.5 (2016-12-24)" +#define CSS_FILE "swad16.106.5.css" #define JS_FILE "swad16.101.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.106.5: Dec 24, 2016 Changes in layout of preferences. (211393 lines) Version 16.106.4: Dec 24, 2016 Changes in behaviour of labels in forms. (211408 lines) Version 16.106.3: Dec 24, 2016 Changes in behaviour of labels in forms. (211405 lines) Version 16.106.2: Dec 24, 2016 Changes in behaviour of labels in forms. (211409 lines) diff --git a/swad_layout.c b/swad_layout.c index 1d677492b..0f890f614 100644 --- a/swad_layout.c +++ b/swad_layout.c @@ -1243,18 +1243,6 @@ void Lay_PutIconRemove (void) Txt_Remove); } -void Lay_PutIconBRemove (void) - { - extern const char *Txt_Remove; - - fprintf (Gbl.F.Out,"", - Gbl.Prefs.IconsURL, - Txt_Remove, - Txt_Remove); - } - /*****************************************************************************/ /********************** Put a button to submit a form ************************/ /*****************************************************************************/ diff --git a/swad_layout.h b/swad_layout.h index 40e54918a..f750120cb 100644 --- a/swad_layout.h +++ b/swad_layout.h @@ -89,7 +89,6 @@ void Lay_PutCalculateIconWithText (const char *Alt,const char *Text); void Lay_PutIconRemovalNotAllowed (void); void Lay_PutIconBRemovalNotAllowed (void); void Lay_PutIconRemove (void); -void Lay_PutIconBRemove (void); void Lay_PutCreateButton (const char *Text); void Lay_PutCreateButtonInline (const char *Text); diff --git a/swad_preference.c b/swad_preference.c index aa28ad765..9eb36137d 100644 --- a/swad_preference.c +++ b/swad_preference.c @@ -78,31 +78,27 @@ void Pre_EditPrefs (void) Lay_EndRoundFrame (); /***** Icon set, theme *****/ - fprintf (Gbl.F.Out,"" - "" - "" - "" - "" - "" - "
"); + fprintf (Gbl.F.Out,"
" + "
"); Ico_PutIconsToSelectIconSet (); // 2. Icon set - fprintf (Gbl.F.Out,"
"); + fprintf (Gbl.F.Out,"" + "
"); Mnu_PutIconsToSelectMenu (); // 3. Menu - fprintf (Gbl.F.Out,"
"); + fprintf (Gbl.F.Out,"" + "
"); Cal_PutIconsToSelectFirstDayOfWeek (); // 4. First day of week - fprintf (Gbl.F.Out,"
"); + fprintf (Gbl.F.Out,"" + ""); /***** Menu, side columns *****/ - fprintf (Gbl.F.Out,"" - "" - "" - "" - "" - "
"); + fprintf (Gbl.F.Out,"
" + "
"); The_PutIconsToSelectTheme (); // 5. Theme - fprintf (Gbl.F.Out,"
"); + fprintf (Gbl.F.Out,"" + "
"); Pre_PutIconsToSelectSideCols (); // 6. Side columns - fprintf (Gbl.F.Out,"
"); + fprintf (Gbl.F.Out,"" + ""); if (Gbl.Usrs.Me.Logged) {