mirror of https://github.com/acanas/swad-core.git
Version 17.11.8
This commit is contained in:
parent
43bafb0a9e
commit
794be41996
|
@ -252,13 +252,14 @@
|
||||||
/****************************** Public constants *****************************/
|
/****************************** 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 CSS_FILE "swad17.0.css"
|
||||||
#define JS_FILE "swad16.206.3.js"
|
#define JS_FILE "swad16.206.3.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 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.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.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.
|
Version 17.11.5: Oct 01, 2017 Changes in order of roles in projects.
|
||||||
|
|
|
@ -1964,7 +1964,7 @@ void Prj_ReqRemProject (void)
|
||||||
Prj_FreeMemProject (&Prj);
|
Prj_FreeMemProject (&Prj);
|
||||||
|
|
||||||
/***** Show projects again *****/
|
/***** Show projects again *****/
|
||||||
Prj_SeeProjects ();
|
Prj_ShowProjectsInCurrentPage ();
|
||||||
}
|
}
|
||||||
|
|
||||||
/*****************************************************************************/
|
/*****************************************************************************/
|
||||||
|
@ -2017,7 +2017,7 @@ void Prj_RemoveProject (void)
|
||||||
Prj_FreeMemProject (&Prj);
|
Prj_FreeMemProject (&Prj);
|
||||||
|
|
||||||
/***** Show projects again *****/
|
/***** Show projects again *****/
|
||||||
Prj_SeeProjects ();
|
Prj_ShowProjectsInCurrentPage ();
|
||||||
}
|
}
|
||||||
|
|
||||||
/*****************************************************************************/
|
/*****************************************************************************/
|
||||||
|
@ -2060,7 +2060,7 @@ void Prj_HideProject (void)
|
||||||
Prj_FreeMemProject (&Prj);
|
Prj_FreeMemProject (&Prj);
|
||||||
|
|
||||||
/***** Show projects again *****/
|
/***** Show projects again *****/
|
||||||
Prj_SeeProjects ();
|
Prj_ShowProjectsInCurrentPage ();
|
||||||
}
|
}
|
||||||
|
|
||||||
/*****************************************************************************/
|
/*****************************************************************************/
|
||||||
|
@ -2103,7 +2103,7 @@ void Prj_ShowProject (void)
|
||||||
Prj_FreeMemProject (&Prj);
|
Prj_FreeMemProject (&Prj);
|
||||||
|
|
||||||
/***** Show projects again *****/
|
/***** Show projects again *****/
|
||||||
Prj_SeeProjects ();
|
Prj_ShowProjectsInCurrentPage ();
|
||||||
}
|
}
|
||||||
|
|
||||||
/*****************************************************************************/
|
/*****************************************************************************/
|
||||||
|
@ -2164,7 +2164,7 @@ static void Prj_RequestCreatOrEditPrj (long PrjCod)
|
||||||
/***** Free memory of the project *****/
|
/***** Free memory of the project *****/
|
||||||
Prj_FreeMemProject (&Prj);
|
Prj_FreeMemProject (&Prj);
|
||||||
|
|
||||||
/***** Show current projects, if any *****/
|
/***** Show projects again *****/
|
||||||
Prj_ShowProjectsInCurrentPage ();
|
Prj_ShowProjectsInCurrentPage ();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -2405,7 +2405,11 @@ void Prj_RecFormProject (void)
|
||||||
/***** Allocate memory for the project *****/
|
/***** Allocate memory for the project *****/
|
||||||
Prj_AllocMemProject (&Prj);
|
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 */
|
/* Get the code of the project */
|
||||||
Prj.PrjCod = Prj_GetParamPrjCod ();
|
Prj.PrjCod = Prj_GetParamPrjCod ();
|
||||||
ItsANewProject = (Prj.PrjCod < 0);
|
ItsANewProject = (Prj.PrjCod < 0);
|
||||||
|
@ -2485,8 +2489,8 @@ void Prj_RecFormProject (void)
|
||||||
else
|
else
|
||||||
Prj_PutFormProject (&Prj,ItsANewProject);
|
Prj_PutFormProject (&Prj,ItsANewProject);
|
||||||
|
|
||||||
/***** Show projects again *****/
|
/***** Show again form to edit project *****/
|
||||||
Prj_SeeProjects ();
|
Prj_RequestCreatOrEditPrj (Prj.PrjCod);
|
||||||
}
|
}
|
||||||
else
|
else
|
||||||
Ale_ShowAlert (Ale_ERROR,"You don't have permission to edit this project.");
|
Ale_ShowAlert (Ale_ERROR,"You don't have permission to edit this project.");
|
||||||
|
|
|
@ -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
|
const char *Txt_Created_new_project_X = // Warning: it is very important to include %s in the following sentences
|
||||||
#if L==1
|
#if L==1
|
||||||
"Creat nou projecte <strong>%s</strong>."; // Necessita traduccio
|
"Creat nou projecte <strong>%s</strong>.";
|
||||||
#elif L==2
|
#elif L==2
|
||||||
"Neues Projekt <strong>%s</strong> eingegeben.";
|
"Neues Projekt <strong>%s</strong> eingegeben.";
|
||||||
#elif L==3
|
#elif L==3
|
||||||
|
|
Loading…
Reference in New Issue