Version 16.61.1

This commit is contained in:
Antonio Cañas Vargas 2016-11-14 17:26:32 +01:00
parent 6f99e0221a
commit ea7499aab3
8 changed files with 14 additions and 13 deletions

View File

@ -722,7 +722,7 @@ void Ctr_ShowCtrsOfCurrentIns (void)
Ctr_GetListCentres (Gbl.CurrentIns.Ins.InsCod); Ctr_GetListCentres (Gbl.CurrentIns.Ins.InsCod);
/***** Write menu to select country and institution *****/ /***** Write menu to select country and institution *****/
Hie_WriteMenuAllCourses (); Hie_WriteMenuHierarchy ();
/***** List centres *****/ /***** List centres *****/
Ctr_ListCentres (); Ctr_ListCentres ();
@ -1765,7 +1765,7 @@ void Ctr_ChangeCtrInsInConfig (void)
Gbl.CurrentIns.Ins.InsCod = NewIns.InsCod; Gbl.CurrentIns.Ins.InsCod = NewIns.InsCod;
/***** Initialize again current course, degree, centre... *****/ /***** Initialize again current course, degree, centre... *****/
Hie_InitCurrentCourse (); Hie_InitHierarchy ();
/***** Write message to show the change made *****/ /***** Write message to show the change made *****/
sprintf (Gbl.Message,Txt_The_centre_X_has_been_moved_to_the_institution_Y, sprintf (Gbl.Message,Txt_The_centre_X_has_been_moved_to_the_institution_Y,

View File

@ -157,13 +157,14 @@
/****************************** Public constants *****************************/ /****************************** 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 CSS_FILE "swad16.60.1.css"
#define JS_FILE "swad16.46.1.js" #define JS_FILE "swad16.46.1.js"
// Number of lines (includes comments but not blank lines) has been got with the following command: // 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 // 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.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.1: Nov 14, 2016 Changes in layout of file browser. (207096 lines)
Version 16.60: Nov 14, 2016 Code refactoring in file browser. Version 16.60: Nov 14, 2016 Code refactoring in file browser.

View File

@ -971,7 +971,7 @@ void Crs_ShowCrssOfCurrentDeg (void)
Crs_GetListCoursesInDegree (Crs_ALL_COURSES_EXCEPT_REMOVED); Crs_GetListCoursesInDegree (Crs_ALL_COURSES_EXCEPT_REMOVED);
/***** Write menu to select country, institution, centre and degree *****/ /***** Write menu to select country, institution, centre and degree *****/
Hie_WriteMenuAllCourses (); Hie_WriteMenuHierarchy ();
/***** Show list of courses *****/ /***** Show list of courses *****/
Crs_ListCourses (); Crs_ListCourses ();
@ -2445,7 +2445,7 @@ void Crs_ChangeCrsDegInConfig (void)
Gbl.CurrentDeg.Deg.DegCod = NewDeg.DegCod; Gbl.CurrentDeg.Deg.DegCod = NewDeg.DegCod;
/***** Initialize again current course, degree, centre... *****/ /***** Initialize again current course, degree, centre... *****/
Hie_InitCurrentCourse (); Hie_InitHierarchy ();
/***** Create message to show the change made *****/ /***** Create message to show the change made *****/
sprintf (Gbl.Message,Txt_The_course_X_has_been_moved_to_the_degree_Y, sprintf (Gbl.Message,Txt_The_course_X_has_been_moved_to_the_degree_Y,

View File

@ -659,7 +659,7 @@ void Deg_ShowDegsOfCurrentCtr (void)
Deg_GetListDegsOfCurrentCtr (); Deg_GetListDegsOfCurrentCtr ();
/***** Write menu to select country, institution and centre *****/ /***** Write menu to select country, institution and centre *****/
Hie_WriteMenuAllCourses (); Hie_WriteMenuHierarchy ();
/***** Show list of degrees *****/ /***** Show list of degrees *****/
Deg_ListDegrees (); Deg_ListDegrees ();
@ -2080,7 +2080,7 @@ void Deg_ChangeDegCtrInConfig (void)
Gbl.CurrentCtr.Ctr.CtrCod = NewCtr.CtrCod; Gbl.CurrentCtr.Ctr.CtrCod = NewCtr.CtrCod;
/***** Initialize again current course, degree, centre... *****/ /***** Initialize again current course, degree, centre... *****/
Hie_InitCurrentCourse (); Hie_InitHierarchy ();
/***** Create message to show the change made *****/ /***** Create message to show the change made *****/
sprintf (Gbl.Message,Txt_The_degree_X_has_been_moved_to_the_centre_Y, sprintf (Gbl.Message,Txt_The_degree_X_has_been_moved_to_the_centre_Y,

View File

@ -646,7 +646,7 @@ void Ins_ShowInssOfCurrentCty (void)
Ins_GetListInstitutions (Gbl.CurrentCty.Cty.CtyCod,Ins_GET_EXTRA_DATA); Ins_GetListInstitutions (Gbl.CurrentCty.Cty.CtyCod,Ins_GET_EXTRA_DATA);
/***** Write menu to select country *****/ /***** Write menu to select country *****/
Hie_WriteMenuAllCourses (); Hie_WriteMenuHierarchy ();
/***** List institutions *****/ /***** List institutions *****/
Ins_ListInstitutions (); Ins_ListInstitutions ();
@ -1792,7 +1792,7 @@ void Ins_ChangeInsCtyInConfig (void)
Gbl.CurrentCty.Cty.CtyCod = NewCty.CtyCod; Gbl.CurrentCty.Cty.CtyCod = NewCty.CtyCod;
/***** Initialize again current course, degree, centre... *****/ /***** Initialize again current course, degree, centre... *****/
Hie_InitCurrentCourse (); Hie_InitHierarchy ();
/***** Write message to show the change made *****/ /***** Write message to show the change made *****/
sprintf (Gbl.Message,Txt_The_country_of_the_institution_X_has_changed_to_Y, sprintf (Gbl.Message,Txt_The_country_of_the_institution_X_has_changed_to_Y,

View File

@ -114,7 +114,7 @@ int main (int argc, char *argv[])
{ {
Par_CreateListOfParams (); Par_CreateListOfParams ();
Par_GetMainParameters (); Par_GetMainParameters ();
Hie_InitCurrentCourse (); Hie_InitHierarchy ();
if (!Gbl.WebService.IsWebService) if (!Gbl.WebService.IsWebService)
{ {

View File

@ -2573,7 +2573,7 @@ static void Usr_SetUsrRoleAndPrefs (void)
Gbl.CurrentCrs.Crs.CrsCod = Gbl.Usrs.Me.UsrLast.LastCrs; Gbl.CurrentCrs.Crs.CrsCod = Gbl.Usrs.Me.UsrLast.LastCrs;
/* Initialize again current course, degree, centre... */ /* Initialize again current course, degree, centre... */
Hie_InitCurrentCourse (); Hie_InitHierarchy ();
/* Get again my role in this course */ /* Get again my role in this course */
Gbl.Usrs.Me.UsrDat.RoleInCurrentCrsDB = Rol_GetRoleInCrs (Gbl.CurrentCrs.Crs.CrsCod,Gbl.Usrs.Me.UsrDat.UsrCod); Gbl.Usrs.Me.UsrDat.RoleInCurrentCrsDB = Rol_GetRoleInCrs (Gbl.CurrentCrs.Crs.CrsCod,Gbl.Usrs.Me.UsrDat.UsrCod);

View File

@ -1357,7 +1357,7 @@ int swad__getCourseInfo (struct soap *soap,
strcpy (getCourseInfo->infoSrc,NamesInWSForInfoSrc[InfoSrc]); strcpy (getCourseInfo->infoSrc,NamesInWSForInfoSrc[InfoSrc]);
/***** Set paths *****/ /***** Set paths *****/
Hie_InitCurrentCourse (); Hie_InitHierarchy ();
/***** Get info text *****/ /***** Get info text *****/
getCourseInfo->infoTxt = NULL; getCourseInfo->infoTxt = NULL;
@ -4606,7 +4606,7 @@ int swad__getFile (struct soap *soap,
} }
/***** Set paths *****/ /***** Set paths *****/
Hie_InitCurrentCourse (); Hie_InitHierarchy ();
Brw_SetFullPathInTree (FileMetadata.PathInTreeUntilFilFolLnk, Brw_SetFullPathInTree (FileMetadata.PathInTreeUntilFilFolLnk,
FileMetadata.FilFolLnkName); FileMetadata.FilFolLnkName);
Brw_InitializeFileBrowser (); Brw_InitializeFileBrowser ();