Version 16.106.5

This commit is contained in:
Antonio Cañas Vargas 2016-12-24 13:08:32 +01:00
parent 609f7d9892
commit b241335eca
5 changed files with 18 additions and 35 deletions

View File

@ -2098,8 +2098,7 @@ a:hover img.CENTRE_PHOTO_SHOW
.PREF_CONTAINER .PREF_CONTAINER
{ {
display:inline-block; display:inline-block;
padding:0 10px; margin:0 8px;
border-spacing:0;
} }
.PREF_OFF .PREF_OFF
{ {

View File

@ -188,13 +188,14 @@
/****************************** Public constants *****************************/ /****************************** Public constants *****************************/
/*****************************************************************************/ /*****************************************************************************/
#define Log_PLATFORM_VERSION "SWAD 16.106.4 (2016-12-24)" #define Log_PLATFORM_VERSION "SWAD 16.106.5 (2016-12-24)"
#define CSS_FILE "swad16.106.css" #define CSS_FILE "swad16.106.5.css"
#define JS_FILE "swad16.101.js" #define JS_FILE "swad16.101.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.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.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.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) Version 16.106.2: Dec 24, 2016 Changes in behaviour of labels in forms. (211409 lines)

View File

@ -1243,18 +1243,6 @@ void Lay_PutIconRemove (void)
Txt_Remove); Txt_Remove);
} }
void Lay_PutIconBRemove (void)
{
extern const char *Txt_Remove;
fprintf (Gbl.F.Out,"<input type=\"image\" src=\"%s/remove-on64x64.png\""
" alt=\"%s\" title=\"%s\""
" class=\"ICO20x20B\" />",
Gbl.Prefs.IconsURL,
Txt_Remove,
Txt_Remove);
}
/*****************************************************************************/ /*****************************************************************************/
/********************** Put a button to submit a form ************************/ /********************** Put a button to submit a form ************************/
/*****************************************************************************/ /*****************************************************************************/

View File

@ -89,7 +89,6 @@ void Lay_PutCalculateIconWithText (const char *Alt,const char *Text);
void Lay_PutIconRemovalNotAllowed (void); void Lay_PutIconRemovalNotAllowed (void);
void Lay_PutIconBRemovalNotAllowed (void); void Lay_PutIconBRemovalNotAllowed (void);
void Lay_PutIconRemove (void); void Lay_PutIconRemove (void);
void Lay_PutIconBRemove (void);
void Lay_PutCreateButton (const char *Text); void Lay_PutCreateButton (const char *Text);
void Lay_PutCreateButtonInline (const char *Text); void Lay_PutCreateButtonInline (const char *Text);

View File

@ -78,31 +78,27 @@ void Pre_EditPrefs (void)
Lay_EndRoundFrame (); Lay_EndRoundFrame ();
/***** Icon set, theme *****/ /***** Icon set, theme *****/
fprintf (Gbl.F.Out,"<table style=\"margin:0 auto; border-spacing:10px 0;\">" fprintf (Gbl.F.Out,"<div class=\"CENTER_MIDDLE\">"
"<tr>" "<div class=\"PREF_CONTAINER\">");
"<td>");
Ico_PutIconsToSelectIconSet (); // 2. Icon set Ico_PutIconsToSelectIconSet (); // 2. Icon set
fprintf (Gbl.F.Out,"</td>" fprintf (Gbl.F.Out,"</div>"
"<td>"); "<div class=\"PREF_CONTAINER\">");
Mnu_PutIconsToSelectMenu (); // 3. Menu Mnu_PutIconsToSelectMenu (); // 3. Menu
fprintf (Gbl.F.Out,"</td>" fprintf (Gbl.F.Out,"</div>"
"<td>"); "<div class=\"PREF_CONTAINER\">");
Cal_PutIconsToSelectFirstDayOfWeek (); // 4. First day of week Cal_PutIconsToSelectFirstDayOfWeek (); // 4. First day of week
fprintf (Gbl.F.Out,"</td>" fprintf (Gbl.F.Out,"</div>"
"</tr>" "</div>");
"</table>");
/***** Menu, side columns *****/ /***** Menu, side columns *****/
fprintf (Gbl.F.Out,"<table style=\"margin:0 auto; border-spacing:10px 0;\">" fprintf (Gbl.F.Out,"<div class=\"CENTER_MIDDLE\">"
"<tr>" "<div class=\"PREF_CONTAINER\">");
"<td>");
The_PutIconsToSelectTheme (); // 5. Theme The_PutIconsToSelectTheme (); // 5. Theme
fprintf (Gbl.F.Out,"</td>" fprintf (Gbl.F.Out,"</div>"
"<td>"); "<div class=\"PREF_CONTAINER\">");
Pre_PutIconsToSelectSideCols (); // 6. Side columns Pre_PutIconsToSelectSideCols (); // 6. Side columns
fprintf (Gbl.F.Out,"</td>" fprintf (Gbl.F.Out,"</div>"
"</tr>" "</div>");
"</table>");
if (Gbl.Usrs.Me.Logged) if (Gbl.Usrs.Me.Logged)
{ {