mirror of https://github.com/acanas/swad-core.git
Version 16.61.1
This commit is contained in:
parent
6f99e0221a
commit
ea7499aab3
|
@ -722,7 +722,7 @@ void Ctr_ShowCtrsOfCurrentIns (void)
|
|||
Ctr_GetListCentres (Gbl.CurrentIns.Ins.InsCod);
|
||||
|
||||
/***** Write menu to select country and institution *****/
|
||||
Hie_WriteMenuAllCourses ();
|
||||
Hie_WriteMenuHierarchy ();
|
||||
|
||||
/***** List centres *****/
|
||||
Ctr_ListCentres ();
|
||||
|
@ -1765,7 +1765,7 @@ void Ctr_ChangeCtrInsInConfig (void)
|
|||
Gbl.CurrentIns.Ins.InsCod = NewIns.InsCod;
|
||||
|
||||
/***** Initialize again current course, degree, centre... *****/
|
||||
Hie_InitCurrentCourse ();
|
||||
Hie_InitHierarchy ();
|
||||
|
||||
/***** Write message to show the change made *****/
|
||||
sprintf (Gbl.Message,Txt_The_centre_X_has_been_moved_to_the_institution_Y,
|
||||
|
|
|
@ -157,13 +157,14 @@
|
|||
/****************************** Public constants *****************************/
|
||||
/*****************************************************************************/
|
||||
|
||||
#define Log_PLATFORM_VERSION "SWAD 16.61 (2016-11-14)"
|
||||
#define Log_PLATFORM_VERSION "SWAD 16.61.1 (2016-11-14)"
|
||||
#define CSS_FILE "swad16.60.1.css"
|
||||
#define JS_FILE "swad16.46.1.js"
|
||||
|
||||
// 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 16.61.1: Nov 14, 2016 Code refactoring in hierarchy. (207150 lines)
|
||||
Version 16.61: Nov 14, 2016 New module swad_hierarchy. (207159 lines)
|
||||
Version 16.60.1: Nov 14, 2016 Changes in layout of file browser. (207096 lines)
|
||||
Version 16.60: Nov 14, 2016 Code refactoring in file browser.
|
||||
|
|
|
@ -971,7 +971,7 @@ void Crs_ShowCrssOfCurrentDeg (void)
|
|||
Crs_GetListCoursesInDegree (Crs_ALL_COURSES_EXCEPT_REMOVED);
|
||||
|
||||
/***** Write menu to select country, institution, centre and degree *****/
|
||||
Hie_WriteMenuAllCourses ();
|
||||
Hie_WriteMenuHierarchy ();
|
||||
|
||||
/***** Show list of courses *****/
|
||||
Crs_ListCourses ();
|
||||
|
@ -2445,7 +2445,7 @@ void Crs_ChangeCrsDegInConfig (void)
|
|||
Gbl.CurrentDeg.Deg.DegCod = NewDeg.DegCod;
|
||||
|
||||
/***** Initialize again current course, degree, centre... *****/
|
||||
Hie_InitCurrentCourse ();
|
||||
Hie_InitHierarchy ();
|
||||
|
||||
/***** Create message to show the change made *****/
|
||||
sprintf (Gbl.Message,Txt_The_course_X_has_been_moved_to_the_degree_Y,
|
||||
|
|
|
@ -659,7 +659,7 @@ void Deg_ShowDegsOfCurrentCtr (void)
|
|||
Deg_GetListDegsOfCurrentCtr ();
|
||||
|
||||
/***** Write menu to select country, institution and centre *****/
|
||||
Hie_WriteMenuAllCourses ();
|
||||
Hie_WriteMenuHierarchy ();
|
||||
|
||||
/***** Show list of degrees *****/
|
||||
Deg_ListDegrees ();
|
||||
|
@ -2080,7 +2080,7 @@ void Deg_ChangeDegCtrInConfig (void)
|
|||
Gbl.CurrentCtr.Ctr.CtrCod = NewCtr.CtrCod;
|
||||
|
||||
/***** Initialize again current course, degree, centre... *****/
|
||||
Hie_InitCurrentCourse ();
|
||||
Hie_InitHierarchy ();
|
||||
|
||||
/***** Create message to show the change made *****/
|
||||
sprintf (Gbl.Message,Txt_The_degree_X_has_been_moved_to_the_centre_Y,
|
||||
|
|
|
@ -646,7 +646,7 @@ void Ins_ShowInssOfCurrentCty (void)
|
|||
Ins_GetListInstitutions (Gbl.CurrentCty.Cty.CtyCod,Ins_GET_EXTRA_DATA);
|
||||
|
||||
/***** Write menu to select country *****/
|
||||
Hie_WriteMenuAllCourses ();
|
||||
Hie_WriteMenuHierarchy ();
|
||||
|
||||
/***** List institutions *****/
|
||||
Ins_ListInstitutions ();
|
||||
|
@ -1792,7 +1792,7 @@ void Ins_ChangeInsCtyInConfig (void)
|
|||
Gbl.CurrentCty.Cty.CtyCod = NewCty.CtyCod;
|
||||
|
||||
/***** Initialize again current course, degree, centre... *****/
|
||||
Hie_InitCurrentCourse ();
|
||||
Hie_InitHierarchy ();
|
||||
|
||||
/***** Write message to show the change made *****/
|
||||
sprintf (Gbl.Message,Txt_The_country_of_the_institution_X_has_changed_to_Y,
|
||||
|
|
|
@ -114,7 +114,7 @@ int main (int argc, char *argv[])
|
|||
{
|
||||
Par_CreateListOfParams ();
|
||||
Par_GetMainParameters ();
|
||||
Hie_InitCurrentCourse ();
|
||||
Hie_InitHierarchy ();
|
||||
|
||||
if (!Gbl.WebService.IsWebService)
|
||||
{
|
||||
|
|
|
@ -2573,7 +2573,7 @@ static void Usr_SetUsrRoleAndPrefs (void)
|
|||
Gbl.CurrentCrs.Crs.CrsCod = Gbl.Usrs.Me.UsrLast.LastCrs;
|
||||
|
||||
/* Initialize again current course, degree, centre... */
|
||||
Hie_InitCurrentCourse ();
|
||||
Hie_InitHierarchy ();
|
||||
|
||||
/* Get again my role in this course */
|
||||
Gbl.Usrs.Me.UsrDat.RoleInCurrentCrsDB = Rol_GetRoleInCrs (Gbl.CurrentCrs.Crs.CrsCod,Gbl.Usrs.Me.UsrDat.UsrCod);
|
||||
|
|
|
@ -1357,7 +1357,7 @@ int swad__getCourseInfo (struct soap *soap,
|
|||
strcpy (getCourseInfo->infoSrc,NamesInWSForInfoSrc[InfoSrc]);
|
||||
|
||||
/***** Set paths *****/
|
||||
Hie_InitCurrentCourse ();
|
||||
Hie_InitHierarchy ();
|
||||
|
||||
/***** Get info text *****/
|
||||
getCourseInfo->infoTxt = NULL;
|
||||
|
@ -4606,7 +4606,7 @@ int swad__getFile (struct soap *soap,
|
|||
}
|
||||
|
||||
/***** Set paths *****/
|
||||
Hie_InitCurrentCourse ();
|
||||
Hie_InitHierarchy ();
|
||||
Brw_SetFullPathInTree (FileMetadata.PathInTreeUntilFilFolLnk,
|
||||
FileMetadata.FilFolLnkName);
|
||||
Brw_InitializeFileBrowser ();
|
||||
|
|
Loading…
Reference in New Issue