diff --git a/swad_changelog.h b/swad_changelog.h index 0bbdcc054..f86d1146f 100644 --- a/swad_changelog.h +++ b/swad_changelog.h @@ -252,13 +252,14 @@ /****************************** Public constants *****************************/ /*****************************************************************************/ -#define Log_PLATFORM_VERSION "SWAD 17.3.3 (2017-09-19)" +#define Log_PLATFORM_VERSION "SWAD 17.3.4 (2017-09-19)" #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.3.4: Sep 19, 2017 Changes in edition of projects. (230170 lines) Version 17.3.3: Sep 19, 2017 Changes in listing of projects. (230169 lines) Version 17.3.2: Sep 19, 2017 Changes in listing of projects. (230168 lines) Version 17.3.1: Sep 19, 2017 Fix bugs in projects. (230089 lines) diff --git a/swad_project.c b/swad_project.c index 233357f85..98e3ef714 100644 --- a/swad_project.c +++ b/swad_project.c @@ -1090,13 +1090,13 @@ void Prj_RequestCreatOrEditPrj (void) extern const char *Txt_New_project; extern const char *Txt_Edit_project; extern const char *Txt_Title; - extern const char *Txt_Preassigned_QUESTION; extern const char *Txt_No; extern const char *Txt_Yes; extern const char *Txt_Description; extern const char *Txt_Required_knowledge; extern const char *Txt_Required_materials; extern const char *Txt_URL; + extern const char *Txt_Preassigned_QUESTION; extern const char *Txt_Create_project; extern const char *Txt_Save; struct Project Prj; @@ -1164,30 +1164,6 @@ void Prj_RequestCreatOrEditPrj (void) /***** Project start and end dates *****/ Dat_PutFormStartEndClientLocalDateTimes (Prj.TimeUTC,Dat_FORM_SECONDS_ON); - /***** Preassigned? *****/ - fprintf (Gbl.F.Out,"" - "" - "%s:" - "" - "" - "" - "" - ""); - /***** Description of the project *****/ fprintf (Gbl.F.Out,"" "" @@ -1247,6 +1223,30 @@ void Prj_RequestCreatOrEditPrj (void) Txt_URL, Cns_MAX_CHARS_WWW,Prj.URL); + /***** Preassigned? *****/ + fprintf (Gbl.F.Out,"" + "" + "%s:" + "" + "" + "" + "" + ""); + /***** Groups *****/ Prj_ShowLstGrpsToEditProject (Prj.PrjCod); @@ -1401,10 +1401,6 @@ void Prj_RecFormProject (void) /* Get project title */ Par_GetParToText ("Title",Prj.Title,Prj_MAX_BYTES_PROJECT_TITLE); - /* Get whether the project is preassigned */ - Prj.Preassigned = (Par_GetParToBool ("Preassigned")) ? Prj_PREASSIGNED : - Prj_NOT_PREASSIGNED; - /* Get project description, required knowledge and required materials */ Par_GetParToHTML ("Description",Prj.Description,Cns_MAX_BYTES_TEXT); // Store in HTML format (not rigorous) Par_GetParToHTML ("Knowledge" ,Prj.Knowledge ,Cns_MAX_BYTES_TEXT); // Store in HTML format (not rigorous) @@ -1413,6 +1409,10 @@ void Prj_RecFormProject (void) /* Get degree WWW */ Par_GetParToText ("URL",Prj.URL,Cns_MAX_BYTES_WWW); + /* Get whether the project is preassigned */ + Prj.Preassigned = (Par_GetParToBool ("Preassigned")) ? Prj_PREASSIGNED : + Prj_NOT_PREASSIGNED; + /***** Adjust dates *****/ if (Prj.TimeUTC[Dat_START_TIME] == 0) Prj.TimeUTC[Dat_START_TIME] = Gbl.StartExecutionTimeUTC;