Version 17.11.8

This commit is contained in:
Antonio Cañas Vargas 2017-10-01 13:42:56 +02:00
parent 43bafb0a9e
commit 794be41996
3 changed files with 15 additions and 10 deletions

View File

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

View File

@ -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.");

View File

@ -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 <strong>%s</strong>."; // Necessita traduccio
"Creat nou projecte <strong>%s</strong>.";
#elif L==2
"Neues Projekt <strong>%s</strong> eingegeben.";
#elif L==3