diff --git a/swad_changelog.h b/swad_changelog.h index cddbe5fa1..63d8283fa 100644 --- a/swad_changelog.h +++ b/swad_changelog.h @@ -218,19 +218,19 @@ // TODO: Icon to view en "Fuente de información" // TODO: Change layout of contextual icons in assignments, surveys and attendance -// TODO: Fix problem printing view of students, teachers, etc. /*****************************************************************************/ /****************************** Public constants *****************************/ /*****************************************************************************/ -#define Log_PLATFORM_VERSION "SWAD 16.200 (2017-05-02)" +#define Log_PLATFORM_VERSION "SWAD 16.200.1 (2017-05-02)" #define CSS_FILE "swad16.195.8.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.200.1: May 02, 2017 Fixed problem printing view of students, teachers, etc. (? lines) Version 16.200: May 02, 2017 Print view of an assignment, suggested by Sandra Daniela Tazzioli Barroso. (218337 lines) 1 change necessary in database: INSERT INTO actions (ActCod,Language,Obsolete,Txt) VALUES ('1637','es','N','Imprimir actividad'); diff --git a/swad_user.c b/swad_user.c index 0f3d13cab..d31e9e178 100644 --- a/swad_user.c +++ b/swad_user.c @@ -7783,7 +7783,6 @@ void Usr_SeeGstClassPhotoPrn (void) if (Gbl.Usrs.LstUsrs[Rol__GUEST_].NumUsrs) { /***** Draw the guests' class photo *****/ - Lay_StartRoundFrame (NULL,NULL,NULL,NULL); Lay_WriteHeaderClassPhoto (true,true, (Gbl.Scope.Current == Sco_SCOPE_CTR || Gbl.Scope.Current == Sco_SCOPE_INS) ? Gbl.CurrentIns.Ins.InsCod : @@ -7792,7 +7791,6 @@ void Usr_SeeGstClassPhotoPrn (void) Lay_StartTableWide (0); Usr_DrawClassPhoto (Usr_CLASS_PHOTO_PRN,Rol__GUEST_); Lay_EndTable (); - Lay_EndRoundFrame (); } else Usr_ShowWarningNoUsersFound (Rol__GUEST_); @@ -7825,7 +7823,6 @@ void Usr_SeeStdClassPhotoPrn (void) if (Gbl.Usrs.LstUsrs[Rol_STUDENT].NumUsrs) { /***** Draw the students' class photo *****/ - Lay_StartRoundFrame (NULL,NULL,NULL,NULL); Lay_WriteHeaderClassPhoto (true,true, (Gbl.Scope.Current == Sco_SCOPE_CRS || Gbl.Scope.Current == Sco_SCOPE_DEG || @@ -7840,7 +7837,6 @@ void Usr_SeeStdClassPhotoPrn (void) Lay_StartTableWide (0); Usr_DrawClassPhoto (Usr_CLASS_PHOTO_PRN,Rol_STUDENT); Lay_EndTable (); - Lay_EndRoundFrame (); } else Usr_ShowWarningNoUsersFound (Rol_STUDENT); @@ -7879,7 +7875,6 @@ void Usr_SeeTchClassPhotoPrn (void) if (Gbl.Usrs.LstUsrs[Rol_TEACHER].NumUsrs) { /***** Draw the teachers' class photo *****/ - Lay_StartRoundFrame (NULL,NULL,NULL,NULL); Lay_WriteHeaderClassPhoto (true,true, (Gbl.Scope.Current == Sco_SCOPE_CRS || Gbl.Scope.Current == Sco_SCOPE_DEG || @@ -7894,7 +7889,6 @@ void Usr_SeeTchClassPhotoPrn (void) Lay_StartTableWide (0); Usr_DrawClassPhoto (Usr_CLASS_PHOTO_PRN,Rol_TEACHER); Lay_EndTable (); - Lay_EndRoundFrame (); } else /***** Show warning indicating no teachers found *****/