mirror of
https://github.com/acanas/swad-core.git
synced 2024-06-29 20:05:45 +02:00
Version 18.3
This commit is contained in:
parent
63e3674aca
commit
30e156be48
|
@ -439,6 +439,15 @@ a:hover /* Default ==> underlined */
|
|||
.BC_BLUE {color:#FFE880;}
|
||||
.BC_YELLOW {color:#FFC040;}
|
||||
|
||||
.BC_ICON
|
||||
{
|
||||
display:inline-block;
|
||||
width:20px;
|
||||
height:20px;
|
||||
vertical-align:middle;
|
||||
margin:-1px 0 1px 0;
|
||||
}
|
||||
|
||||
/******** Big name of country, institution, centre, degree or course *********/
|
||||
#main_title
|
||||
{
|
|
@ -355,10 +355,11 @@ En OpenSWAD:
|
|||
ps2pdf source.ps destination.pdf
|
||||
*/
|
||||
|
||||
#define Log_PLATFORM_VERSION "SWAD 18.2.11 (2018-10-09)"
|
||||
#define CSS_FILE "swad18.2.2.css"
|
||||
#define Log_PLATFORM_VERSION "SWAD 18.3 (2018-10-09)"
|
||||
#define CSS_FILE "swad18.3.css"
|
||||
#define JS_FILE "swad17.17.1.js"
|
||||
/*
|
||||
Version 18.3: Oct 09, 2018 New icon in breadcrumb to go to user's courses. (234878 lines)
|
||||
Version 18.2.11: Oct 09, 2018 Button to my courses is moved to left top corner of search box. (234850 lines)
|
||||
Version 18.2.10: Oct 09, 2018 Button to search courses is moved to left top corner of my courses. (234888 lines)
|
||||
Version 18.2.9: Oct 09, 2018 Changes in layout of user's record card. (234891 lines)
|
||||
|
|
|
@ -1043,7 +1043,7 @@ void Crs_FreeListCoursesInDegree (struct Degree *Deg)
|
|||
/********************** Write selector of my coursess ************************/
|
||||
/*****************************************************************************/
|
||||
|
||||
void Crs_WriteSelectorMyCourses (void)
|
||||
void Crs_WriteSelectorMyCoursesInBreadcrumb (void)
|
||||
{
|
||||
extern const char *Txt_Course;
|
||||
unsigned NumMyCrs;
|
||||
|
@ -2916,6 +2916,28 @@ static void Sch_PutLinkToSearchCoursesParams (void) // TODO: Move to search modu
|
|||
Par_PutHiddenParamUnsigned ("WhatToSearch",(unsigned) Sch_SEARCH_COURSES);
|
||||
}
|
||||
|
||||
/*****************************************************************************/
|
||||
/********** Put an icon (form) to select my courses in breadcrumb ************/
|
||||
/*****************************************************************************/
|
||||
|
||||
void Crs_PutIconToSelectMyCoursesInBreadcrumb (void)
|
||||
{
|
||||
extern const char *Txt_My_courses;
|
||||
|
||||
/***** Start form *****/
|
||||
Act_FormStartAnchor (ActMyCrs,NULL);
|
||||
|
||||
/***** Put icon with link *****/
|
||||
Act_LinkFormSubmit (Txt_My_courses,NULL,NULL);
|
||||
fprintf (Gbl.F.Out,"<img src=\"%s/hierarchy64x64.gif\" alt=\"%s\" title=\"%s\""
|
||||
" class=\"BC_ICON ICO_HIGHLIGHT\" />"
|
||||
"</a>",
|
||||
Gbl.Prefs.IconsURL,Txt_My_courses,Txt_My_courses);
|
||||
|
||||
/***** End form *****/
|
||||
Act_FormEnd ();
|
||||
}
|
||||
|
||||
/*****************************************************************************/
|
||||
/****************** Put an icon (form) to select my courses ******************/
|
||||
/*****************************************************************************/
|
||||
|
|
|
@ -106,7 +106,7 @@ unsigned Crs_GetNumCrssWithUsrs (Rol_Role_t Role,const char *SubQuery);
|
|||
void Crs_WriteSelectorOfCourse (void);
|
||||
void Crs_ShowCrssOfCurrentDeg (void);
|
||||
void Crs_FreeListCoursesInDegree (struct Degree *Deg);
|
||||
void Crs_WriteSelectorMyCourses (void);
|
||||
void Crs_WriteSelectorMyCoursesInBreadcrumb (void);
|
||||
|
||||
void Crs_EditCourses (void);
|
||||
|
||||
|
@ -129,6 +129,7 @@ void Crs_RenameCourseFullInConfig (void);
|
|||
void Crs_ChangeCrsStatus (void);
|
||||
void Crs_ContEditAfterChgCrs (void);
|
||||
|
||||
void Crs_PutIconToSelectMyCoursesInBreadcrumb (void);
|
||||
void Crs_PutIconToSelectMyCourses (void);
|
||||
void Crs_PutParamCrsCod (long CrsCod);
|
||||
|
||||
|
|
|
@ -180,7 +180,7 @@ void Hie_WriteMenuHierarchy (void)
|
|||
/************* Write hierarchy breadcrumb in the top of the page *************/
|
||||
/*****************************************************************************/
|
||||
|
||||
void Hie_WriteHierarchyBreadcrumb (void)
|
||||
void Hie_WriteHierarchyInBreadcrumb (void)
|
||||
{
|
||||
extern const char *The_ClassBreadcrumb[The_NUM_THEMES];
|
||||
extern const char *Txt_System;
|
||||
|
@ -191,7 +191,7 @@ void Hie_WriteHierarchyBreadcrumb (void)
|
|||
const char *ClassTxt = The_ClassBreadcrumb[Gbl.Prefs.Theme];
|
||||
|
||||
/***** Form to go to the system *****/
|
||||
fprintf (Gbl.F.Out,"<div class=\"BC %s\">",ClassTxt);
|
||||
fprintf (Gbl.F.Out,"<div class=\"BC %s\"> ",ClassTxt);
|
||||
|
||||
Act_FormGoToStart (ActMnu);
|
||||
Par_PutHiddenParamUnsigned ("NxtTab",(unsigned) TabSys);
|
||||
|
|
|
@ -48,7 +48,7 @@
|
|||
void Hie_SeePending (void);
|
||||
|
||||
void Hie_WriteMenuHierarchy (void);
|
||||
void Hie_WriteHierarchyBreadcrumb (void);
|
||||
void Hie_WriteHierarchyInBreadcrumb (void);
|
||||
void Hie_WriteBigNameCtyInsCtrDegCrs (void);
|
||||
void Hie_InitHierarchy (void);
|
||||
|
||||
|
|
|
@ -956,8 +956,9 @@ static void Lay_WritePageTopHeading (void)
|
|||
static void Lay_WriteBreadcrumb (void)
|
||||
{
|
||||
fprintf (Gbl.F.Out,"<nav id=\"breadcrumb\">");
|
||||
Hie_WriteHierarchyBreadcrumb ();
|
||||
Crs_WriteSelectorMyCourses ();
|
||||
Crs_PutIconToSelectMyCoursesInBreadcrumb ();
|
||||
Hie_WriteHierarchyInBreadcrumb ();
|
||||
Crs_WriteSelectorMyCoursesInBreadcrumb ();
|
||||
fprintf (Gbl.F.Out,"</nav>");
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue
Block a user