diff --git a/swad_changelog.h b/swad_changelog.h index 511b5f0a0..7721730d9 100644 --- a/swad_changelog.h +++ b/swad_changelog.h @@ -252,13 +252,14 @@ /****************************** Public constants *****************************/ /*****************************************************************************/ -#define Log_PLATFORM_VERSION "SWAD 17.11.7 (2017-10-01)" +#define Log_PLATFORM_VERSION "SWAD 17.11.8 (2017-10-01)" #define CSS_FILE "swad17.0.css" #define JS_FILE "swad16.206.3.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 17.11.8: Oct 01, 2017 Changes in edition of projects. (231638 lines) Version 17.11.7: Oct 01, 2017 Changes in layout of projects. (231634 lines) Version 17.11.6: Oct 01, 2017 Fixed bug in edition of projects. (231632 lines) Version 17.11.5: Oct 01, 2017 Changes in order of roles in projects. diff --git a/swad_project.c b/swad_project.c index 16bfe0a89..5f4aec67d 100644 --- a/swad_project.c +++ b/swad_project.c @@ -1964,7 +1964,7 @@ void Prj_ReqRemProject (void) Prj_FreeMemProject (&Prj); /***** Show projects again *****/ - Prj_SeeProjects (); + Prj_ShowProjectsInCurrentPage (); } /*****************************************************************************/ @@ -2017,7 +2017,7 @@ void Prj_RemoveProject (void) Prj_FreeMemProject (&Prj); /***** Show projects again *****/ - Prj_SeeProjects (); + Prj_ShowProjectsInCurrentPage (); } /*****************************************************************************/ @@ -2060,7 +2060,7 @@ void Prj_HideProject (void) Prj_FreeMemProject (&Prj); /***** Show projects again *****/ - Prj_SeeProjects (); + Prj_ShowProjectsInCurrentPage (); } /*****************************************************************************/ @@ -2103,7 +2103,7 @@ void Prj_ShowProject (void) Prj_FreeMemProject (&Prj); /***** Show projects again *****/ - Prj_SeeProjects (); + Prj_ShowProjectsInCurrentPage (); } /*****************************************************************************/ @@ -2164,7 +2164,7 @@ static void Prj_RequestCreatOrEditPrj (long PrjCod) /***** Free memory of the project *****/ Prj_FreeMemProject (&Prj); - /***** Show current projects, if any *****/ + /***** Show projects again *****/ Prj_ShowProjectsInCurrentPage (); } @@ -2405,7 +2405,11 @@ void Prj_RecFormProject (void) /***** Allocate memory for the project *****/ Prj_AllocMemProject (&Prj); - /***** Get parameters from form *****/ + /***** Get parameters *****/ + Prj_GetParamPrjOrder (); + Prj_GetParamWhichPrjs (); + Gbl.Prjs.CurrentPage = Pag_GetParamPagNum (Pag_PROJECTS); + /* Get the code of the project */ Prj.PrjCod = Prj_GetParamPrjCod (); ItsANewProject = (Prj.PrjCod < 0); @@ -2485,8 +2489,8 @@ void Prj_RecFormProject (void) else Prj_PutFormProject (&Prj,ItsANewProject); - /***** Show projects again *****/ - Prj_SeeProjects (); + /***** Show again form to edit project *****/ + Prj_RequestCreatOrEditPrj (Prj.PrjCod); } else Ale_ShowAlert (Ale_ERROR,"You don't have permission to edit this project."); diff --git a/swad_text.c b/swad_text.c index ba4544c25..7a6cb2663 100644 --- a/swad_text.c +++ b/swad_text.c @@ -7368,7 +7368,7 @@ const char *Txt_Created_new_plugin_X = // Warning: it is very important to inclu const char *Txt_Created_new_project_X = // Warning: it is very important to include %s in the following sentences #if L==1 - "Creat nou projecte %s."; // Necessita traduccio + "Creat nou projecte %s."; #elif L==2 "Neues Projekt %s eingegeben."; #elif L==3