mirror of
https://github.com/acanas/swad-core.git
synced 2024-06-01 14:25:27 +02:00
Version 15.151.1
This commit is contained in:
parent
80d5291114
commit
43f215a44b
|
@ -134,13 +134,14 @@
|
||||||
/****************************** Public constants *****************************/
|
/****************************** Public constants *****************************/
|
||||||
/*****************************************************************************/
|
/*****************************************************************************/
|
||||||
|
|
||||||
#define Log_PLATFORM_VERSION "SWAD 15.150.10 (2016-03-18)"
|
#define Log_PLATFORM_VERSION "SWAD 15.151.1 (2016-03-18)"
|
||||||
#define CSS_FILE "swad15.150.2.css"
|
#define CSS_FILE "swad15.150.2.css"
|
||||||
#define JS_FILE "swad15.131.3.js"
|
#define JS_FILE "swad15.131.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 15.151.1: Mar 18, 2016 Changes in layout of groups. (195929 lines)
|
||||||
Version 15.151: Mar 18, 2016 Changes in layout of header class photo. (195930 lines)
|
Version 15.151: Mar 18, 2016 Changes in layout of header class photo. (195930 lines)
|
||||||
Version 15.150.10:Mar 18, 2016 Icon to print calendar integrated in frame. (195961 lines)
|
Version 15.150.10:Mar 18, 2016 Icon to print calendar integrated in frame. (195961 lines)
|
||||||
Version 15.150.9: Mar 18, 2016 Icons to print/show-all students/teachers integrated in frame. (195957 lines)
|
Version 15.150.9: Mar 18, 2016 Icons to print/show-all students/teachers integrated in frame. (195957 lines)
|
||||||
|
|
22
swad_group.c
22
swad_group.c
|
@ -247,46 +247,44 @@ static void Grp_ShowFormSeveralGrps (Act_Action_t NextAction)
|
||||||
/***** Put parameters needed depending on the action *****/
|
/***** Put parameters needed depending on the action *****/
|
||||||
Usr_PutExtraParamsUsrList (NextAction);
|
Usr_PutExtraParamsUsrList (NextAction);
|
||||||
|
|
||||||
/***** Start table *****/
|
/***** Start frame *****/
|
||||||
Lay_StartRoundFrameTable (NULL,2,Txt_Groups);
|
Lay_StartRoundFrame (NULL,Txt_Groups,NULL);
|
||||||
|
|
||||||
/***** Select all groups *****/
|
/***** Select all groups *****/
|
||||||
fprintf (Gbl.F.Out,"<tr>"
|
fprintf (Gbl.F.Out,"<div class=\"%s CENTER_MIDDLE\">"
|
||||||
"<td colspan=\"6\" class=\"%s CENTER_MIDDLE\">"
|
|
||||||
"<input type=\"checkbox\" id=\"AllGroups\" name=\"AllGroups\" value=\"Y\"",
|
"<input type=\"checkbox\" id=\"AllGroups\" name=\"AllGroups\" value=\"Y\"",
|
||||||
The_ClassForm[Gbl.Prefs.Theme]);
|
The_ClassForm[Gbl.Prefs.Theme]);
|
||||||
if (Gbl.Usrs.ClassPhoto.AllGroups)
|
if (Gbl.Usrs.ClassPhoto.AllGroups)
|
||||||
fprintf (Gbl.F.Out," checked=\"checked\"");
|
fprintf (Gbl.F.Out," checked=\"checked\"");
|
||||||
fprintf (Gbl.F.Out," onclick=\"togglecheckChildren(this,'GrpCods')\" />"
|
fprintf (Gbl.F.Out," onclick=\"togglecheckChildren(this,'GrpCods')\" />"
|
||||||
" %s"
|
" %s"
|
||||||
"</td>"
|
"</div>",
|
||||||
"</tr>",
|
|
||||||
Txt_All_groups);
|
Txt_All_groups);
|
||||||
|
|
||||||
/***** Get list of groups types and groups in this course *****/
|
/***** Get list of groups types and groups in this course *****/
|
||||||
Grp_GetListGrpTypesAndGrpsInThisCrs (Grp_ONLY_GROUP_TYPES_WITH_GROUPS);
|
Grp_GetListGrpTypesAndGrpsInThisCrs (Grp_ONLY_GROUP_TYPES_WITH_GROUPS);
|
||||||
|
|
||||||
/***** List the groups for each group type *****/
|
/***** List the groups for each group type *****/
|
||||||
|
fprintf (Gbl.F.Out,"<table class=\"FRAME_TABLE CELLS_PAD_2\">");
|
||||||
for (NumGrpTyp = 0;
|
for (NumGrpTyp = 0;
|
||||||
NumGrpTyp < Gbl.CurrentCrs.Grps.GrpTypes.Num;
|
NumGrpTyp < Gbl.CurrentCrs.Grps.GrpTypes.Num;
|
||||||
NumGrpTyp++)
|
NumGrpTyp++)
|
||||||
if (Gbl.CurrentCrs.Grps.GrpTypes.LstGrpTypes[NumGrpTyp].NumGrps)
|
if (Gbl.CurrentCrs.Grps.GrpTypes.LstGrpTypes[NumGrpTyp].NumGrps)
|
||||||
Grp_ListGrpsForMultipleSelection (&Gbl.CurrentCrs.Grps.GrpTypes.LstGrpTypes[NumGrpTyp]);
|
Grp_ListGrpsForMultipleSelection (&Gbl.CurrentCrs.Grps.GrpTypes.LstGrpTypes[NumGrpTyp]);
|
||||||
|
fprintf (Gbl.F.Out,"</table>");
|
||||||
|
|
||||||
/***** Free list of groups types and groups in this course *****/
|
/***** Free list of groups types and groups in this course *****/
|
||||||
Grp_FreeListGrpTypesAndGrps ();
|
Grp_FreeListGrpTypesAndGrps ();
|
||||||
|
|
||||||
/***** Submit button *****/
|
/***** Submit button *****/
|
||||||
fprintf (Gbl.F.Out,"<tr>"
|
fprintf (Gbl.F.Out,"<div class=\"CENTER_MIDDLE\""
|
||||||
"<td colspan=\"6\" class=\"CENTER_MIDDLE\""
|
|
||||||
" style=\"padding-top:12px;\">");
|
" style=\"padding-top:12px;\">");
|
||||||
Act_LinkFormSubmitAnimated (Txt_Update_students_according_to_selected_groups,The_ClassFormBold[Gbl.Prefs.Theme]);
|
Act_LinkFormSubmitAnimated (Txt_Update_students_according_to_selected_groups,The_ClassFormBold[Gbl.Prefs.Theme]);
|
||||||
Lay_PutCalculateIconWithText (Txt_Update_students_according_to_selected_groups,Txt_Update_students);
|
Lay_PutCalculateIconWithText (Txt_Update_students_according_to_selected_groups,Txt_Update_students);
|
||||||
fprintf (Gbl.F.Out,"</td>"
|
fprintf (Gbl.F.Out,"</div>");
|
||||||
"</tr>");
|
|
||||||
|
|
||||||
/***** End table *****/
|
/***** End frame *****/
|
||||||
Lay_EndRoundFrameTable ();
|
Lay_EndRoundFrame ();
|
||||||
|
|
||||||
/***** End form *****/
|
/***** End form *****/
|
||||||
Act_FormEnd ();
|
Act_FormEnd ();
|
||||||
|
|
Loading…
Reference in New Issue
Block a user