diff --git a/swad_changelog.h b/swad_changelog.h index c94d2a477..4bd9acac8 100644 --- a/swad_changelog.h +++ b/swad_changelog.h @@ -46,7 +46,7 @@ // 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.74.8: Feb 10, 2015 Fixed bug in degree logo. (178039 lines) + Version 14.74.8: Feb 10, 2015 Fixed bug in degree logo. (178045 lines) Version 14.74.7: Feb 08, 2015 Link to register/remove several users. (178029 lines) Version 14.74.6: Feb 08, 2015 Changes in layout of form to register/remove one user. (178009 lines) Version 14.74.5: Feb 08, 2015 Changes in layout of form to register/remove users. (178038 lines) diff --git a/swad_config.h b/swad_config.h index 026614fa1..406a14d79 100644 --- a/swad_config.h +++ b/swad_config.h @@ -28,9 +28,9 @@ /** Uncomment one of the following installations of SWAD or create your own **/ /*****************************************************************************/ -#define LOCALHOST_UBUNTU // Comment this line if not applicable +//#define LOCALHOST_UBUNTU // Comment this line if not applicable //#define OPENSWAD_ORG // Comment this line if not applicable -//#define SWAD_UGR_ES // Comment this line if not applicable +#define SWAD_UGR_ES // Comment this line if not applicable //#define WWW_CEVUNA_UNA_PY // Comment this line if not applicable /*****************************************************************************/ diff --git a/swad_logo.c b/swad_logo.c index bef626fba..b253f5e87 100644 --- a/swad_logo.c +++ b/swad_logo.c @@ -100,6 +100,8 @@ void Log_DrawLogo (Sco_Scope_t Scope,long Cod,const char *AltText, (unsigned) DegCod, (unsigned) DegCod); LogoFound = Fil_CheckIfPathExists (PathLogo); + if (LogoFound) + Cod = DegCod; } /* Centre */ @@ -116,6 +118,8 @@ void Log_DrawLogo (Sco_Scope_t Scope,long Cod,const char *AltText, (unsigned) CtrCod, (unsigned) CtrCod); LogoFound = Fil_CheckIfPathExists (PathLogo); + if (LogoFound) + Cod = CtrCod; } /* Institution */ @@ -134,6 +138,8 @@ void Log_DrawLogo (Sco_Scope_t Scope,long Cod,const char *AltText, (unsigned) InsCod, (unsigned) InsCod); LogoFound = Fil_CheckIfPathExists (PathLogo); + if (LogoFound) + Cod = InsCod; } }