From a03c54b5701f971cc692c8358ff3028f90edd7e8 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Antonio=20Ca=C3=B1as=20Vargas?= Date: Sun, 18 Jan 2015 19:45:02 +0100 Subject: [PATCH] Version 14.58.1 --- swad_changelog.h | 3 ++- swad_country.c | 8 +++++--- swad_course.c | 3 ++- swad_degree.c | 2 +- 4 files changed, 10 insertions(+), 6 deletions(-) diff --git a/swad_changelog.h b/swad_changelog.h index 3a45f0a3d..bef6ce161 100644 --- a/swad_changelog.h +++ b/swad_changelog.h @@ -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) diff --git a/swad_country.c b/swad_country.c index 4bf6aad62..2504bcc85 100644 --- a/swad_country.c +++ b/swad_country.c @@ -688,9 +688,11 @@ void Cty_ListCountries2 (void) /***** Div for Google Geochart *****/ if (Gbl.CurrentAct == ActSeeCty) - fprintf (Gbl.F.Out,"
" - "
"); + { + fprintf (Gbl.F.Out,"
" + "
"); + } /***** Free list of countries *****/ Cty_FreeListCountries (); diff --git a/swad_course.c b/swad_course.c index 32ec5a8b1..3c20ed620 100644 --- a/swad_course.c +++ b/swad_course.c @@ -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)" "" "" diff --git a/swad_degree.c b/swad_degree.c index 9b2c402d2..54568d1f0 100644 --- a/swad_degree.c +++ b/swad_degree.c @@ -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 *****/