Version 16.132.13

This commit is contained in:
Antonio Cañas Vargas 2017-02-01 19:56:46 +01:00
parent 96f8bf799c
commit df643e1fe9
2 changed files with 9 additions and 5 deletions

View File

@ -193,13 +193,14 @@
/****************************** Public constants *****************************/
/*****************************************************************************/
#define Log_PLATFORM_VERSION "SWAD 16.132.12 (2017-02-01)"
#define Log_PLATFORM_VERSION "SWAD 16.132.13 (2017-02-01)"
#define CSS_FILE "swad16.132.4.css"
#define JS_FILE "swad16.123.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.132.13:Feb 01, 2017 Global connected in right column is shown only for system admins. (211904 lines)
Version 16.132.12:Feb 01, 2017 Code refactoring and bug fixing in parameters related to users list type. (211900 lines)
Version 16.132.11:Feb 01, 2017 Help on indicators of courses. (211900 lines)
Version 16.132.10:Feb 01, 2017 Help on stats about visits. (211896 lines)

View File

@ -997,10 +997,13 @@ static void Lay_ShowRightColumn (void)
Ban_WriteMenuWithBanners ();
/***** Number of connected users in the whole platform *****/
fprintf (Gbl.F.Out,"<div id=\"globalconnected\"" // Used for AJAX based refresh
" class=\"LEFT_RIGHT_CELL\">");
Con_ShowGlobalConnectedUsrs ();
fprintf (Gbl.F.Out,"</div>"); // Used for AJAX based refresh
if (Gbl.Usrs.Me.LoggedRole == Rol_SYS_ADM)
{
fprintf (Gbl.F.Out,"<div id=\"globalconnected\"" // Used for AJAX based refresh
" class=\"LEFT_RIGHT_CELL\">");
Con_ShowGlobalConnectedUsrs ();
fprintf (Gbl.F.Out,"</div>"); // Used for AJAX based refresh
}
/***** Number of connected users in the current course *****/
if (Gbl.CurrentCrs.Crs.CrsCod > 0) // There is a course selected