Version 16.225.3

This commit is contained in:
Antonio Cañas Vargas 2017-05-26 18:06:29 +02:00
parent d05a2ac8f5
commit c9debaf69f
2 changed files with 9 additions and 30 deletions

View File

@ -238,13 +238,14 @@
/****************************** Public constants *****************************/ /****************************** Public constants *****************************/
/*****************************************************************************/ /*****************************************************************************/
#define Log_PLATFORM_VERSION "SWAD 16.225.2 (2017-05-26)" #define Log_PLATFORM_VERSION "SWAD 16.225.3 (2017-05-26)"
#define CSS_FILE "swad16.222.css" #define CSS_FILE "swad16.222.css"
#define JS_FILE "swad16.206.3.js" #define JS_FILE "swad16.206.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 16.225.3: May 26, 2017 Removed link to show all data of guests. (220582 lines)
Version 16.225.2: May 26, 2017 Fixed bug in lists of teachers. (220601 lines) Version 16.225.2: May 26, 2017 Fixed bug in lists of teachers. (220601 lines)
Version 16.225.1: May 26, 2017 Fixed bug related with new role. (220580 lines) Version 16.225.1: May 26, 2017 Fixed bug related with new role. (220580 lines)
Version 16.225: May 25, 2017 Changes and bug fixing related with new role. (220580 lines) Version 16.225: May 25, 2017 Changes and bug fixing related with new role. (220580 lines)

View File

@ -199,7 +199,6 @@ static void Usr_PutIconToPrintGsts (void);
static void Usr_PutIconToPrintStds (void); static void Usr_PutIconToPrintStds (void);
static void Usr_PutIconToPrintTchs (void); static void Usr_PutIconToPrintTchs (void);
static void Usr_PutIconToShowGstsAllData (void); static void Usr_PutIconToShowGstsAllData (void);
static void Usr_PutLinkToShowGstsAllData (void);
static void Usr_PutIconToShowStdsAllData (void); static void Usr_PutIconToShowStdsAllData (void);
static void Usr_PutLinkToShowStdsAllData (void); static void Usr_PutLinkToShowStdsAllData (void);
static void Usr_PutIconToShowTchsAllData (void); static void Usr_PutIconToShowTchsAllData (void);
@ -7316,22 +7315,13 @@ void Usr_SeeGuests (void)
Usr_ShowFormsToSelectUsrListType (ActLstGst); Usr_ShowFormsToSelectUsrListType (ActLstGst);
/***** Draw a class photo with guests *****/ /***** Draw a class photo with guests *****/
switch (Gbl.Usrs.Me.ListType) if (Gbl.Usrs.Me.ListType == Usr_LIST_AS_CLASS_PHOTO)
{ Lay_WriteHeaderClassPhoto (false,true,
case Usr_LIST_AS_CLASS_PHOTO: (Gbl.Scope.Current == Sco_SCOPE_CTR ||
Lay_WriteHeaderClassPhoto (false,true, Gbl.Scope.Current == Sco_SCOPE_INS) ? Gbl.CurrentIns.Ins.InsCod :
(Gbl.Scope.Current == Sco_SCOPE_CTR || -1L,
Gbl.Scope.Current == Sco_SCOPE_INS) ? Gbl.CurrentIns.Ins.InsCod : -1L,
-1L, -1L);
-1L,
-1L);
break;
case Usr_LIST_AS_LISTING:
Usr_PutLinkToShowGstsAllData ();
break;
default:
break;
}
/* Start form */ /* Start form */
Act_FormStart (ActSeeRecSevGst); Act_FormStart (ActSeeRecSevGst);
@ -7836,18 +7826,6 @@ static void Usr_PutIconToShowGstsAllData (void)
NULL); NULL);
} }
static void Usr_PutLinkToShowGstsAllData (void)
{
extern const char *Txt_Show_all_data;
fprintf (Gbl.F.Out,"<div class=\"CONTEXT_MENU\">");
Lay_PutContextualLink (ActLstGstAll,NULL,Usr_ShowGstsAllDataParams,
"table64x64.gif",
Txt_Show_all_data,Txt_Show_all_data,
NULL);
fprintf (Gbl.F.Out,"</div>");
}
static void Usr_PutIconToShowStdsAllData (void) static void Usr_PutIconToShowStdsAllData (void)
{ {
extern const char *Txt_Show_all_data; extern const char *Txt_Show_all_data;