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
{
display:inline-block;
padding:0 10px;
border-spacing:0;
margin:0 8px;
}
.PREF_OFF
{

View File

@ -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)

View File

@ -1243,18 +1243,6 @@ void Lay_PutIconRemove (void)
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 ************************/
/*****************************************************************************/

View File

@ -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);

View File

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