Version 14.58.1

This commit is contained in:
Antonio Cañas Vargas 2015-01-18 19:45:02 +01:00
parent 8d2cb37c90
commit a03c54b570
4 changed files with 10 additions and 6 deletions

View File

@ -39,11 +39,12 @@
/****************************** Public constants *****************************/
/*****************************************************************************/
#define Log_PLATFORM_VERSION "SWAD 14.58 (2015/01/18)"
#define Log_PLATFORM_VERSION "SWAD 14.58.1 (2015/01/18)"
// 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 | tail -1
/*
Version 14.58.1: Jan 18, 2015 Fixed minor bugs in layout. (174178 lines)
Version 14.58: Jan 18, 2015 New options to see/admin documents of degree, centre and institution (not finished). (174174 lines)
Version 14.57.3: Jan 18, 2015 Fixed bug in statistics. (173694 lines)
Version 14.57.2: Jan 18, 2015 Icon of institution, centre or degree is not drawn on title when logo does not exist. (173693 lines)

View File

@ -688,9 +688,11 @@ void Cty_ListCountries2 (void)
/***** Div for Google Geochart *****/
if (Gbl.CurrentAct == ActSeeCty)
fprintf (Gbl.F.Out,"<div id='chart_div'"
" style=\"text-align:center; margin-top:10px;\">"
"</div>");
{
fprintf (Gbl.F.Out,"<div id='chart_div' style=\"width:500px;"
" margin:10px auto;\">"
"</div>");
}
/***** Free list of countries *****/
Cty_FreeListCountries ();

View File

@ -3319,7 +3319,8 @@ static void Crs_WriteRowCrsData (unsigned NumCrs,MYSQL_ROW row,bool WriteColumnA
Deg_PutParamDegCod (Deg.DegCod);
sprintf (Gbl.Title,Txt_Go_to_X,row[2]);
Act_LinkFormSubmit (Gbl.Title,StyleNoBR);
Log_DrawLogo (Sco_SCOPE_DEGREE,Deg.DegCod,Deg.ShortName,64,NULL,true);
Log_DrawLogo (Sco_SCOPE_DEGREE,Deg.DegCod,Deg.ShortName,
16,"vertical-align:top;",true);
fprintf (Gbl.F.Out," %s (%s)"
"</a>"
"</form>"

View File

@ -3003,7 +3003,7 @@ static void Deg_GetDataOfDegreeFromRow (struct Degree *Deg,MYSQL_ROW row)
/***** Get optional year (row[9]) *****/
Deg->OptYear = (Str_ConvertToUpperLetter (row[9][0]) == 'Y');
/***** Get logo (row[10]) *****/
/***** Get WWW (row[10]) *****/
strcpy (Deg->WWW,row[10]);
/***** Get number of courses *****/