From 89bba447014a924656d6cc234a729ba82001393a Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Antonio=20Ca=C3=B1as=20Vargas?= Date: Fri, 11 Jan 2019 12:59:41 +0100 Subject: [PATCH] Version 18.31.6 --- swad_changelog.h | 3 ++- swad_enrolment.c | 13 ++++++++----- 2 files changed, 10 insertions(+), 6 deletions(-) diff --git a/swad_changelog.h b/swad_changelog.h index 725e071a2..ffab62fac 100644 --- a/swad_changelog.h +++ b/swad_changelog.h @@ -365,10 +365,11 @@ En OpenSWAD: ps2pdf source.ps destination.pdf */ -#define Log_PLATFORM_VERSION "SWAD 18.31.5 (2019-01-11)" +#define Log_PLATFORM_VERSION "SWAD 18.31.6 (2019-01-11)" #define CSS_FILE "swad18.31.css" #define JS_FILE "swad17.17.1.js" /* + Version 18.31.6: Jan 11, 2019 Fixed bug in user administration. (239587 lines) Version 18.31.5: Jan 11, 2019 Fixed bug in link to my courses. (239583 lines) Version 18.31.4: Jan 11, 2019 Option for last clicks is moved to analytics tab. (239587 lines) Version 18.31.3: Jan 11, 2019 Changes in some icons. (239533 lines) diff --git a/swad_enrolment.c b/swad_enrolment.c index 16687748d..19689558e 100644 --- a/swad_enrolment.c +++ b/swad_enrolment.c @@ -3143,13 +3143,16 @@ void Enr_ReqRegRemOth (void) void Enr_ReqRegRemStd (void) { - /***** Put contextual links *****/ - fprintf (Gbl.F.Out,"
"); + if (Enr_ICanAdminOtherUsrs[Gbl.Usrs.Me.Role.Logged]) + { + /***** Put contextual links *****/ + fprintf (Gbl.F.Out,"
"); - /* Put link to go to admin several students */ - Enr_PutLinkToAdminSeveralUsrs (Rol_STD); + /* Put link to go to admin several students */ + Enr_PutLinkToAdminSeveralUsrs (Rol_STD); - fprintf (Gbl.F.Out,"
"); + fprintf (Gbl.F.Out,"
"); + } /***** Form to request user to be administered *****/ Enr_ReqRegRemUsr (Rol_STD);