mirror of
https://github.com/acanas/swad-core.git
synced 2024-06-04 07:45:27 +02:00
Version 16.47.12
This commit is contained in:
parent
ee7d26fe06
commit
a7205acbab
|
@ -156,13 +156,14 @@
|
|||
/****************************** Public constants *****************************/
|
||||
/*****************************************************************************/
|
||||
|
||||
#define Log_PLATFORM_VERSION "SWAD 16.47.11 (2016-11-07)"
|
||||
#define Log_PLATFORM_VERSION "SWAD 16.47.12 (2016-11-07)"
|
||||
#define CSS_FILE "swad16.32.1.css"
|
||||
#define JS_FILE "swad16.46.1.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.47.12: Nov 07, 2016 Icon in list of teachers to show figure (statistics). (206278 lines)
|
||||
Version 16.47.11: Nov 07, 2016 Icon in list of students to show figure (statistics). (206262 lines)
|
||||
Version 16.47.10: Nov 07, 2016 Icon in list of surveys to show figure (statistics). (206246 lines)
|
||||
Version 16.47.9: Nov 07, 2016 Icon in list of courses to show figure (statistics). (206231 lines)
|
||||
|
|
28
swad_user.c
28
swad_user.c
|
@ -179,6 +179,7 @@ static void Usr_PutLinkToSeeAdmins (void);
|
|||
static void Usr_PutLinkToSeeGuests (void);
|
||||
|
||||
static void Usr_PutIconsListStds (void);
|
||||
static void Usr_PutIconsListTchs (void);
|
||||
|
||||
static void Usr_PutIconToPrintGsts (void);
|
||||
static void Usr_PutIconToPrintStds (void);
|
||||
|
@ -7032,11 +7033,7 @@ void Usr_SeeTeachers (void)
|
|||
if (Usr_GetIfShowBigList (Gbl.Usrs.LstUsrs[Rol_TEACHER].NumUsrs,NULL))
|
||||
{
|
||||
/***** Start frame *****/
|
||||
Lay_StartRoundFrame (NULL,Txt_ROLES_PLURAL_Abc[Rol_TEACHER][Usr_SEX_UNKNOWN],
|
||||
(Gbl.Usrs.Me.ListType == Usr_CLASS_PHOTO) ? (Gbl.Usrs.LstUsrs[Rol_TEACHER].NumUsrs ? Usr_PutIconToPrintTchs :
|
||||
NULL) :
|
||||
((Gbl.Usrs.Me.LoggedRole >= Rol_DEG_ADM) ? Usr_PutIconToShowTchsAllData :
|
||||
NULL));
|
||||
Lay_StartRoundFrame (NULL,Txt_ROLES_PLURAL_Abc[Rol_TEACHER][Usr_SEX_UNKNOWN],Usr_PutIconsListTchs);
|
||||
|
||||
/***** Form to select scope *****/
|
||||
fprintf (Gbl.F.Out,"<div class=\"CENTER_MIDDLE\">");
|
||||
|
@ -7137,6 +7134,27 @@ static void Usr_PutIconsListStds (void)
|
|||
Sta_PutIconToShowFigure ();
|
||||
}
|
||||
|
||||
/*****************************************************************************/
|
||||
/**************** Put contextual icons in list of teachers *******************/
|
||||
/*****************************************************************************/
|
||||
|
||||
static void Usr_PutIconsListTchs (void)
|
||||
{
|
||||
if (Gbl.Usrs.Me.ListType == Usr_CLASS_PHOTO)
|
||||
{
|
||||
if (Gbl.Usrs.LstUsrs[Rol_TEACHER].NumUsrs)
|
||||
/***** Put icon to print teachers *****/
|
||||
Usr_PutIconToPrintTchs ();
|
||||
}
|
||||
else if (Gbl.Usrs.Me.LoggedRole >= Rol_DEG_ADM)
|
||||
/***** Put icon to show all data of teachers *****/
|
||||
Usr_PutIconToShowTchsAllData ();
|
||||
|
||||
/***** Put icon to show a figure *****/
|
||||
Gbl.Stat.FigureType = Sta_USERS;
|
||||
Sta_PutIconToShowFigure ();
|
||||
}
|
||||
|
||||
/*****************************************************************************/
|
||||
/***************** Functions used to print lists of users ********************/
|
||||
/*****************************************************************************/
|
||||
|
|
Loading…
Reference in New Issue
Block a user