"
"");
diff --git a/swad_changelog.h b/swad_changelog.h
index 09e27df40..9a92eaaa1 100644
--- a/swad_changelog.h
+++ b/swad_changelog.h
@@ -487,12 +487,13 @@ enscript -2 --landscape --color --file-align=2 --highlight --line-numbers -o - *
En OpenSWAD:
ps2pdf source.ps destination.pdf
*/
-#define Log_PLATFORM_VERSION "SWAD 19.30.5 (2019-10-03)"
+#define Log_PLATFORM_VERSION "SWAD 19.30.6 (2019-10-03)"
#define CSS_FILE "swad19.29.css"
#define JS_FILE "swad19.30.js"
/*
// TODO: Perico: poner un candado de bloqueo de creación/edición de proyectos (por ejemplo en asignaturas obsoletas)
+ Version 19.30.6: Oct 03, 2019 Code refactoring in HTML tables. (246928 lines)
Version 19.30.5: Oct 03, 2019 Code refactoring in HTML tables. (246922 lines)
Version 19.30.4: Oct 03, 2019 Code refactoring in HTML tables. (246897 lines)
Version 19.30.3: Oct 03, 2019 Changes in help links. (246895 lines)
diff --git a/swad_connected.c b/swad_connected.c
index 0877e1706..5d838077c 100644
--- a/swad_connected.c
+++ b/swad_connected.c
@@ -288,7 +288,7 @@ static void Con_ShowConnectedUsrsBelongingToLocation (void)
Con_ShowConnectedUsrsWithARoleBelongingToCurrentLocationOnMainZone (Rol_STD);
if (Gbl.Usrs.Me.Role.Logged == Rol_SYS_ADM)
Con_ShowConnectedUsrsWithARoleBelongingToCurrentLocationOnMainZone (Rol_GST);
- fprintf (Gbl.F.Out,"");
+ Tbl_EndTable ();
/***** Put link to register students *****/
Enr_CheckStdsAndPutButtonToRegisterStdsInCurrentCrs ();
@@ -337,7 +337,7 @@ void Con_ShowConnectedUsrsBelongingToCurrentCrs (void)
Con_ShowConnectedUsrsWithARoleBelongingToCurrentCrsOnRightColumn (Rol_TCH);
Con_ShowConnectedUsrsWithARoleBelongingToCurrentCrsOnRightColumn (Rol_NET);
Con_ShowConnectedUsrsWithARoleBelongingToCurrentCrsOnRightColumn (Rol_STD);
- fprintf (Gbl.F.Out,"");
+ Tbl_EndTable ();
/***** End container *****/
fprintf (Gbl.F.Out,"");
diff --git a/swad_date.c b/swad_date.c
index d9bdaba58..9b5bacb61 100644
--- a/swad_date.c
+++ b/swad_date.c
@@ -37,6 +37,7 @@
#include "swad_global.h"
#include "swad_parameter.h"
#include "swad_setting.h"
+#include "swad_table.h"
/*****************************************************************************/
/************** External global variables from others modules ****************/
@@ -549,7 +550,7 @@ void Dat_WriteFormClientLocalDateTimeFromTimeUTC (const char *Id,
/***** Start table *****/
- fprintf (Gbl.F.Out,"
");
+ Tbl_StartTable ();
fprintf (Gbl.F.Out,"
");
/***** Year *****/
@@ -665,7 +666,7 @@ void Dat_WriteFormClientLocalDateTimeFromTimeUTC (const char *Id,
/***** End table *****/
fprintf (Gbl.F.Out,"
");
- fprintf (Gbl.F.Out,"
");
+ Tbl_EndTable ();
/***** Hidden field with UTC time (seconds since 1970) used to send time *****/
fprintf (Gbl.F.Out,"");
+ Tbl_StartTable ();
fprintf (Gbl.F.Out,"
");
/***** Year *****/
@@ -895,7 +896,7 @@ void Dat_WriteFormDate (unsigned FirstYear,unsigned LastYear,
/***** End table *****/
fprintf (Gbl.F.Out,"
");
- fprintf (Gbl.F.Out,"");
+ Tbl_EndTable ();
}
/*****************************************************************************/
diff --git a/swad_file_browser.c b/swad_file_browser.c
index fb8cb316a..f53fad27a 100644
--- a/swad_file_browser.c
+++ b/swad_file_browser.c
@@ -3670,7 +3670,7 @@ static void Brw_ShowFileBrowser (void)
false, // Tree not contracted
Gbl.FileBrowser.Priv.PathRootFolder,
Brw_RootFolderInternalNames[Gbl.FileBrowser.Type]);
- fprintf (Gbl.F.Out,"");
+ Tbl_EndTable ();
/***** Show and store number of documents found *****/
Brw_ShowAndStoreSizeOfFileTree ();
@@ -5591,7 +5591,7 @@ static bool Brw_WriteRowFileBrowser (unsigned Level,const char *RowId,
fprintf (Gbl.F.Out,"