diff --git a/Makefile b/Makefile
index fe632ed0..cf387ec4 100644
--- a/Makefile
+++ b/Makefile
@@ -76,7 +76,7 @@ OBJS = swad_account.o swad_account_database.o swad_action.o swad_admin.o \
swad_pagination.o swad_parameter.o swad_password.o \
swad_password_database.o swad_photo.o swad_photo_database.o \
swad_photo_shape.o swad_place.o swad_place_database.o swad_plugin.o \
- swad_plugin_database.o swad_privacy.o swad_profile.o \
+ swad_plugin_database.o swad_privacy.o swad_process.o swad_profile.o \
swad_profile_database.o swad_program.o swad_program_database.o \
swad_program_resource.o swad_project.o swad_project_database.o \
swad_project_resource.o \
diff --git a/swad_HTML.c b/swad_HTML.c
index b89fd515..ec66fd30 100644
--- a/swad_HTML.c
+++ b/swad_HTML.c
@@ -114,12 +114,12 @@ static void HTM_SPTxt (const char *Txt);
void HTM_TITLE_Begin (void)
{
- fputs ("
",Gbl.F.Out);
+ HTM_Txt ("");
}
void HTM_TITLE_End (void)
{
- fputs ("\n",Gbl.F.Out);
+ HTM_Txt ("\n");
}
/*****************************************************************************/
@@ -1871,7 +1871,7 @@ void HTM_Txt (const char *Txt)
{
if (Txt)
if (Txt[0])
- fputs (Txt,Gbl.F.Out);
+ fputs (Txt,Fil_GetOutputFile ());
}
void HTM_TxtColon (const char *Txt)
diff --git a/swad_changelog.h b/swad_changelog.h
index b721ded4..ffea9174 100644
--- a/swad_changelog.h
+++ b/swad_changelog.h
@@ -605,7 +605,7 @@ TODO: Fix bug: error al enviar un mensaje a dos recipientes, error on duplicate
TODO: Attach pdf files in multimedia.
*/
-#define Log_PLATFORM_VERSION "SWAD 22.50.7 (2022-10-21)"
+#define Log_PLATFORM_VERSION "SWAD 22.51 (2022-10-27)"
#define CSS_FILE "swad22.49.4.css"
#define JS_FILE "swad22.49.js"
/*
@@ -616,6 +616,8 @@ Que al subir un fichero por defecto est
Al subir cosas para los grupos, en documentos, resltar más los grupos porque no son conscientes...
Exportar listas en CSV.
+ Version 22.51: Oct 27, 2022 New module swad_process. (333586 lines)
+ Version 22.50.8: Oct 20, 2022 Code refactoring in files. (333498 lines)
Version 22.50.7: Oct 20, 2022 Code refactoring in files. (333496 lines)
Version 22.50.6: Oct 20, 2022 Code refactoring in syllabus. (333492 lines)
Version 22.50.5: Oct 20, 2022 Code refactoring in configuration. (333447 lines)
diff --git a/swad_chat.c b/swad_chat.c
index 9de33241..b4ba6adf 100644
--- a/swad_chat.c
+++ b/swad_chat.c
@@ -386,6 +386,7 @@ void Cht_OpenChatWindow (void)
char ListRoomShrtNames[Cht_MAX_BYTES_ROOM_SHRT_NAMES + 1];
char ListRoomFullNames [Cht_MAX_BYTES_ROOM_FULL_NAMES + 1];
FILE *FileChat;
+ FILE *FileOut = Fil_GetOutputFile ();
/***** Get the code and the nombre of the room *****/
Par_GetParToText ("RoomCode",RoomCode,Cht_MAX_BYTES_ROOM_CODE);
@@ -525,15 +526,15 @@ void Cht_OpenChatWindow (void)
Gbl.Layout.HTMLStartWritten = true;
/***** Copy index.html file until the end of the applet code *****/
- Str_WriteUntilStrFoundInFileIncludingStr (Gbl.F.Out,FileChat,"