diff --git a/swad_changelog.h b/swad_changelog.h
index 8fe66798..3a6470a9 100644
--- a/swad_changelog.h
+++ b/swad_changelog.h
@@ -223,13 +223,14 @@
/****************************** Public constants *****************************/
/*****************************************************************************/
-#define Log_PLATFORM_VERSION "SWAD 16.195 (2017-04-29)"
+#define Log_PLATFORM_VERSION "SWAD 16.195.1 (2017-04-29)"
#define CSS_FILE "swad16.193.4.css"
#define JS_FILE "swad16.181.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 16.195.1: Apr 29, 2017 Code refactoring in edition of groups. (? lines)
Version 16.195: Apr 29, 2017 Changes in edition of groups. (218470 lines)
Version 16.194.22:Apr 29, 2017 Changes in edition of groups. (218433 lines)
Version 16.194.21:Apr 29, 2017 Changes in edition of groups. (218435 lines)
diff --git a/swad_group.c b/swad_group.c
index 3d197313..a28a34f2 100644
--- a/swad_group.c
+++ b/swad_group.c
@@ -40,6 +40,9 @@
/*************************** Internal constants ******************************/
/*****************************************************************************/
+#define Grp_SECTION_GROUP_TYPES "grp_types"
+#define Grp_SECTION_GROUPS "grps"
+
/*****************************************************************************/
/***************************** Internal types ********************************/
/*****************************************************************************/
@@ -1144,7 +1147,7 @@ static void Grp_ListGroupTypesForEdition (void)
/* Put icon to remove group type */
fprintf (Gbl.F.Out,"
"
"");
- Act_FormStartAnchor (ActReqRemGrpTyp,"group_types");
+ Act_FormStartAnchor (ActReqRemGrpTyp,Grp_SECTION_GROUP_TYPES);
Grp_PutParamGrpTypCod (Gbl.CurrentCrs.Grps.GrpTypes.LstGrpTypes[NumGrpTyp].GrpTypCod);
Lay_PutIconRemove ();
Act_FormEnd ();
@@ -1152,7 +1155,7 @@ static void Grp_ListGroupTypesForEdition (void)
/* Name of group type */
fprintf (Gbl.F.Out," | ");
- Act_FormStartAnchor (ActRenGrpTyp,"group_types");
+ Act_FormStartAnchor (ActRenGrpTyp,Grp_SECTION_GROUP_TYPES);
Grp_PutParamGrpTypCod (Gbl.CurrentCrs.Grps.GrpTypes.LstGrpTypes[NumGrpTyp].GrpTypCod);
fprintf (Gbl.F.Out,"");
- Act_FormStartAnchor (ActChgMdtGrpTyp,"group_types");
+ Act_FormStartAnchor (ActChgMdtGrpTyp,Grp_SECTION_GROUP_TYPES);
Grp_PutParamGrpTypCod (Gbl.CurrentCrs.Grps.GrpTypes.LstGrpTypes[NumGrpTyp].GrpTypCod);
fprintf (Gbl.F.Out," |