mirror of
https://github.com/acanas/swad-core.git
synced 2024-06-15 21:24:07 +02:00
Version 18.27.9
This commit is contained in:
parent
267af87d3c
commit
2549a8708d
|
@ -364,10 +364,11 @@ En OpenSWAD:
|
|||
ps2pdf source.ps destination.pdf
|
||||
*/
|
||||
|
||||
#define Log_PLATFORM_VERSION "SWAD 18.27.8 (2019-01-05)"
|
||||
#define Log_PLATFORM_VERSION "SWAD 18.27.9 (2019-01-05)"
|
||||
#define CSS_FILE "swad18.22.css"
|
||||
#define JS_FILE "swad17.17.1.js"
|
||||
/*
|
||||
Version 18.27.9: Jan 05, 2019 When a classroom is removed, if it is assigned to groups, remove the association in groups. (239136 lines)
|
||||
Version 18.27.8: Jan 05, 2019 Get classroom short name from database in listing of groups. (239130 lines)
|
||||
Version 18.27.7: Jan 04, 2019 Show classroom in listing of groups. (239121 lines)
|
||||
Version 18.27.6: Jan 04, 2019 Selection of classroom in form to edit group. (239099 lines)
|
||||
|
|
|
@ -569,6 +569,12 @@ void Cla_RemoveClassroom (void)
|
|||
/***** Get data of the classroom from database *****/
|
||||
Cla_GetDataOfClassroomByCod (Cla);
|
||||
|
||||
/***** Update groups assigned to this classroom *****/
|
||||
DB_QueryUPDATE ("can not update classroom in groups",
|
||||
"UPDATE crs_grp SET ClaCod=0" // 0 means another classroom
|
||||
" WHERE ClaCod=%ld",
|
||||
Cla->ClaCod);
|
||||
|
||||
/***** Remove classroom *****/
|
||||
DB_QueryDELETE ("can not remove a classroom",
|
||||
"DELETE FROM classrooms WHERE ClaCod=%ld",
|
||||
|
|
|
@ -2490,7 +2490,7 @@ static void Grp_WriteRowGrp (struct Group *Grp,bool Highlight)
|
|||
Grp->GrpName);
|
||||
|
||||
/***** Classroom *****/
|
||||
fprintf (Gbl.F.Out,"<td class=\"DAT CENTER_MIDDLE");
|
||||
fprintf (Gbl.F.Out,"<td class=\"DAT LEFT_MIDDLE");
|
||||
if (Highlight)
|
||||
fprintf (Gbl.F.Out," LIGHT_BLUE");
|
||||
fprintf (Gbl.F.Out,"\">"
|
||||
|
|
Loading…
Reference in New Issue
Block a user