From cb980834862baf1a60d65e4ff8d4ad0d5acff15a Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Antonio=20Ca=C3=B1as=20Vargas?= Date: Sat, 26 Dec 2015 12:08:45 +0100 Subject: [PATCH] Version 15.73.4 --- swad_changelog.h | 3 ++- swad_layout.c | 18 ++++++++++++++---- 2 files changed, 16 insertions(+), 5 deletions(-) diff --git a/swad_changelog.h b/swad_changelog.h index 18703bbf5..96a56796a 100644 --- a/swad_changelog.h +++ b/swad_changelog.h @@ -117,12 +117,13 @@ /****************************** Public constants *****************************/ /*****************************************************************************/ -#define Log_PLATFORM_VERSION "SWAD 15.73.3 (2015-12-25)" +#define Log_PLATFORM_VERSION "SWAD 15.73.4 (2015-12-26)" #define CSS_FILE "swad15.73.3.css" // 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.73.4: Dec 26, 2015 Code refactoring in breadcrumb. (187719 lines) Version 15.73.3: Dec 25, 2015 Select one of my courses goes to the current action. (187710 lines) Version 15.73.2: Dec 25, 2015 Background of selected course in light blue. (187698 lines) Version 15.73.1: Dec 25, 2015 Background of selected privacy options in light blue. (187704 lines) diff --git a/swad_layout.c b/swad_layout.c index 5b32c54fb..9c97a7a80 100644 --- a/swad_layout.c +++ b/swad_layout.c @@ -84,6 +84,7 @@ static void Lay_WriteScriptConnectedUsrs (void); static void Lay_WriteScriptCustomDropzone (void); static void Lay_WritePageTopHeading (void); +static void Lay_WriteBreadcrumb (void); static void Lay_WriteTitleAction (void); @@ -759,10 +760,7 @@ static void Lay_WritePageTopHeading (void) /* 2nd. row, 2nd. column: degree and course */ fprintf (Gbl.F.Out,"
"); - fprintf (Gbl.F.Out,"
"); - Deg_WriteCtyInsCtrDeg (); - Crs_WriteSelectorMyCourses (); - fprintf (Gbl.F.Out,"
"); + Lay_WriteBreadcrumb (); Deg_WriteBigNameCtyInsCtrDegCrs (); fprintf (Gbl.F.Out,"
"); @@ -782,6 +780,18 @@ static void Lay_WritePageTopHeading (void) fprintf (Gbl.F.Out,""); } +/*****************************************************************************/ +/*********** Write breadcrumb with the path to the current location **********/ +/*****************************************************************************/ + +static void Lay_WriteBreadcrumb (void) + { + fprintf (Gbl.F.Out,"
"); + Deg_WriteCtyInsCtrDeg (); + Crs_WriteSelectorMyCourses (); + fprintf (Gbl.F.Out,"
"); + } + /*****************************************************************************/ /*********** Write icon and title associated to the current action ***********/ /*****************************************************************************/