Version 15.49.1

This commit is contained in:
Antonio Cañas Vargas 2015-11-27 23:17:28 +01:00
parent 621a17ffc0
commit 4ee4070ffb
3 changed files with 10 additions and 5 deletions

View File

@ -461,7 +461,7 @@ hr.YELLOW_SEPARA {height:0; border-top:0; border-bottom:#BD4815 dotted 1px;}
min-width:900px;
min-height:900px;
margin:-8px 0 0 0;
padding:10px 0;
padding:10px 20px;
border-radius:6px;
box-shadow:inset -2px -2px 1px 0 rgba(50,50,50,0.2);
text-align:center;

View File

@ -115,11 +115,12 @@
/****************************** Public constants *****************************/
/*****************************************************************************/
#define Log_PLATFORM_VERSION "SWAD 15.49 (2015/11/27)"
#define Log_PLATFORM_VERSION "SWAD 15.49.1 (2015/11/27)"
// 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 15.49.1: Nov 27, 2015 Length of country names limited in listing. of countries. (186460 lines)
Version 15.49: Nov 27, 2015 Fixed width in edition of institutional links.
Lot of fixing in CSS related to sizes. (186455 lines)
Version 15.48: Nov 27, 2015 Fixed problems in layout. (186384 lines)

View File

@ -151,7 +151,7 @@ void Cty_SeeCtyWithPendingInss (void)
"<td class=\"LEFT_MIDDLE %s\">",
BgColor);
Cty_DrawCountryMapAndNameWithLink (&Cty,ActSeeIns,
"DAT_NOBR","COUNTRY_MAP_SMALL");
"DAT_NOBR","COUNTRY_MAP_SMALL");
fprintf (Gbl.F.Out,"</td>");
/* Number of pending institutions (row[1]) */
@ -646,6 +646,7 @@ void Cty_DrawCountryMapAndNameWithLink (struct Country *Cty,Act_Action_t Action,
const char *ClassLink,const char *ClassMap)
{
extern const char *Txt_Go_to_X;
char CountryName[Cty_MAX_BYTES_COUNTRY_NAME+1];
/***** Start form *****/
Act_FormGoToStart (Action);
@ -658,9 +659,12 @@ void Cty_DrawCountryMapAndNameWithLink (struct Country *Cty,Act_Action_t Action,
/***** Draw country map *****/
Cty_DrawCountryMap (Cty,ClassMap);
/***** End link *****/
/***** Write country name and end link *****/
strncpy (CountryName,Cty->Name[Gbl.Prefs.Language],Cty_MAX_BYTES_COUNTRY_NAME);
CountryName[Cty_MAX_BYTES_COUNTRY_NAME] = '\0';
Str_LimitLengthHTMLStr (CountryName,30);
fprintf (Gbl.F.Out,"&nbsp;%s (%s)</a>",
Cty->Name[Gbl.Prefs.Language],
CountryName,
Cty->Alpha2);
/***** End form *****/