From 503cd4d3f92291d8557077812e79522fc4662555 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Antonio=20Ca=C3=B1as=20Vargas?= Date: Sat, 31 Oct 2015 14:27:15 +0100 Subject: [PATCH] Version 15.32.2 --- swad_config.h | 6 +++--- swad_connected.c | 6 +++--- 2 files changed, 6 insertions(+), 6 deletions(-) diff --git a/swad_config.h b/swad_config.h index 6a4ce1412..38b231bf6 100644 --- a/swad_config.h +++ b/swad_config.h @@ -28,8 +28,8 @@ /** Uncomment one of the following installations of SWAD or create your own **/ /*****************************************************************************/ -#define LOCALHOST_UBUNTU // Comment this line if not applicable -//#define OPENSWAD_ORG // Comment this line if not applicable +//#define LOCALHOST_UBUNTU // Comment this line if not applicable +#define OPENSWAD_ORG // Comment this line if not applicable //#define SWAD_UGR_ES // Comment this line if not applicable //#define WWW_CEVUNA_UNA_PY // Comment this line if not applicable @@ -460,7 +460,7 @@ #define Cfg_DAYS_IN_RECENT_LOG 8 // Only accesses in these last days + 1 are stored in recent log. // Important!!! Must be 1 <= Cfg_DAYS_IN_RECENT_LOG <= 29 -#define Cfg_TIMES_PER_SECOND_REFRESH_CONNECTED 3 // Execute this CGI to refresh connected users about these times per second +#define Cfg_TIMES_PER_SECOND_REFRESH_CONNECTED 2 // Execute this CGI to refresh connected users about these times per second #define Cfg_MIN_TIME_TO_REFRESH_CONNECTED ((time_t)( 60UL)) // Refresh period of connected users in seconds #define Cfg_MAX_TIME_TO_REFRESH_CONNECTED ((time_t)( 15UL*60UL)) // Refresh period of connected users in seconds #define Cfg_TIME_TO_CLOSE_SESSION_FROM_LAST_REFRESH ((time_t)(Cfg_MAX_TIME_TO_REFRESH_CONNECTED * 2)) // After these seconds without refresh of connected users, session is closed diff --git a/swad_connected.c b/swad_connected.c index 254e0b754..dca1ddcaa 100644 --- a/swad_connected.c +++ b/swad_connected.c @@ -89,10 +89,10 @@ void Con_ShowConnectedUsrs (void) /***** Start frame *****/ /* Current time */ - sprintf (Gbl.Title,"%s
%u %s, %u:%02u", + sprintf (Gbl.Title,"%s
%s %u, %u:%02u", Txt_Connected_users, - Gbl.Now.Date.Day, Txt_MONTHS_SMALL_SHORT[Gbl.Now.Date.Month-1], + Gbl.Now.Date.Day, Gbl.Now.Time.Hour, Gbl.Now.Time.Minute); Lay_StartRoundFrameTable (NULL,0,Gbl.Title); @@ -206,7 +206,7 @@ void Con_GetAndShowLastClicks (void) NumRows = DB_QuerySELECT (Query,&mysql_res,"can not get last clicks"); /***** Write list of connected users *****/ - fprintf (Gbl.F.Out,"" + fprintf (Gbl.F.Out,"
" "" "
"