Version 15.73.4

This commit is contained in:
Antonio Cañas Vargas 2015-12-26 12:08:45 +01:00
parent a8f3c97a49
commit cb98083486
2 changed files with 16 additions and 5 deletions

View File

@ -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)

View File

@ -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,"<div id=\"head_row_2_hierarchy\">");
fprintf (Gbl.F.Out,"<div id=\"breadcrumb\">");
Deg_WriteCtyInsCtrDeg ();
Crs_WriteSelectorMyCourses ();
fprintf (Gbl.F.Out,"</div>");
Lay_WriteBreadcrumb ();
Deg_WriteBigNameCtyInsCtrDegCrs ();
fprintf (Gbl.F.Out,"</div>");
@ -782,6 +780,18 @@ static void Lay_WritePageTopHeading (void)
fprintf (Gbl.F.Out,"</div>");
}
/*****************************************************************************/
/*********** Write breadcrumb with the path to the current location **********/
/*****************************************************************************/
static void Lay_WriteBreadcrumb (void)
{
fprintf (Gbl.F.Out,"<div id=\"breadcrumb\">");
Deg_WriteCtyInsCtrDeg ();
Crs_WriteSelectorMyCourses ();
fprintf (Gbl.F.Out,"</div>");
}
/*****************************************************************************/
/*********** Write icon and title associated to the current action ***********/
/*****************************************************************************/