mirror of
https://github.com/acanas/swad-core.git
synced 2024-06-14 04:36:32 +02:00
Version 15.151.2
This commit is contained in:
parent
43f215a44b
commit
30296f008e
|
@ -134,13 +134,14 @@
|
||||||
/****************************** Public constants *****************************/
|
/****************************** Public constants *****************************/
|
||||||
/*****************************************************************************/
|
/*****************************************************************************/
|
||||||
|
|
||||||
#define Log_PLATFORM_VERSION "SWAD 15.151.1 (2016-03-18)"
|
#define Log_PLATFORM_VERSION "SWAD 15.151.2 (2016-03-19)"
|
||||||
#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.2: Mar 19, 2016 Changes in layout of groups. (195935 lines)
|
||||||
Version 15.151.1: Mar 18, 2016 Changes in layout of groups. (195929 lines)
|
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)
|
||||||
|
|
17
swad_group.c
17
swad_group.c
|
@ -234,9 +234,17 @@ static void Grp_ShowFormSeveralGrps (Act_Action_t NextAction)
|
||||||
extern const char *Txt_Update_students;
|
extern const char *Txt_Update_students;
|
||||||
extern const char *Txt_Update_students_according_to_selected_groups;
|
extern const char *Txt_Update_students_according_to_selected_groups;
|
||||||
unsigned NumGrpTyp;
|
unsigned NumGrpTyp;
|
||||||
|
bool ICanEdit = !Gbl.Form.Inside &&
|
||||||
|
(Gbl.Usrs.Me.LoggedRole == Rol_TEACHER ||
|
||||||
|
Gbl.Usrs.Me.LoggedRole == Rol_SYS_ADM);
|
||||||
|
|
||||||
fprintf (Gbl.F.Out,"<div class=\"CENTER_MIDDLE\">");
|
fprintf (Gbl.F.Out,"<div class=\"CENTER_MIDDLE\">");
|
||||||
|
|
||||||
|
/***** Start frame *****/
|
||||||
|
Lay_StartRoundFrame (NULL,Txt_Groups,
|
||||||
|
ICanEdit ? Grp_PutIconToEditGroups :
|
||||||
|
NULL);
|
||||||
|
|
||||||
/***** Start form to update the students listed
|
/***** Start form to update the students listed
|
||||||
depending on the groups selected *****/
|
depending on the groups selected *****/
|
||||||
Act_FormStart (NextAction);
|
Act_FormStart (NextAction);
|
||||||
|
@ -247,9 +255,6 @@ 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 frame *****/
|
|
||||||
Lay_StartRoundFrame (NULL,Txt_Groups,NULL);
|
|
||||||
|
|
||||||
/***** Select all groups *****/
|
/***** Select all groups *****/
|
||||||
fprintf (Gbl.F.Out,"<div class=\"%s CENTER_MIDDLE\">"
|
fprintf (Gbl.F.Out,"<div class=\"%s CENTER_MIDDLE\">"
|
||||||
"<input type=\"checkbox\" id=\"AllGroups\" name=\"AllGroups\" value=\"Y\"",
|
"<input type=\"checkbox\" id=\"AllGroups\" name=\"AllGroups\" value=\"Y\"",
|
||||||
|
@ -283,11 +288,11 @@ static void Grp_ShowFormSeveralGrps (Act_Action_t NextAction)
|
||||||
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,"</div>");
|
fprintf (Gbl.F.Out,"</div>");
|
||||||
|
|
||||||
/***** End frame *****/
|
|
||||||
Lay_EndRoundFrame ();
|
|
||||||
|
|
||||||
/***** End form *****/
|
/***** End form *****/
|
||||||
Act_FormEnd ();
|
Act_FormEnd ();
|
||||||
|
|
||||||
|
/***** End frame *****/
|
||||||
|
Lay_EndRoundFrame ();
|
||||||
fprintf (Gbl.F.Out,"</div>");
|
fprintf (Gbl.F.Out,"</div>");
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue
Block a user