mirror of
https://github.com/acanas/swad-core.git
synced 2024-06-16 13:44:06 +02:00
Version 15.32.2
This commit is contained in:
parent
69d7c6e575
commit
503cd4d3f9
|
@ -28,8 +28,8 @@
|
||||||
/** Uncomment one of the following installations of SWAD or create your own **/
|
/** Uncomment one of the following installations of SWAD or create your own **/
|
||||||
/*****************************************************************************/
|
/*****************************************************************************/
|
||||||
|
|
||||||
#define LOCALHOST_UBUNTU // 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 OPENSWAD_ORG // Comment this line if not applicable
|
||||||
//#define SWAD_UGR_ES // 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
|
//#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.
|
#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
|
// 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_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_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
|
#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
|
||||||
|
|
|
@ -89,10 +89,10 @@ void Con_ShowConnectedUsrs (void)
|
||||||
|
|
||||||
/***** Start frame *****/
|
/***** Start frame *****/
|
||||||
/* Current time */
|
/* Current time */
|
||||||
sprintf (Gbl.Title,"%s<br />%u %s, %u:%02u",
|
sprintf (Gbl.Title,"%s<br />%s %u, %u:%02u",
|
||||||
Txt_Connected_users,
|
Txt_Connected_users,
|
||||||
Gbl.Now.Date.Day,
|
|
||||||
Txt_MONTHS_SMALL_SHORT[Gbl.Now.Date.Month-1],
|
Txt_MONTHS_SMALL_SHORT[Gbl.Now.Date.Month-1],
|
||||||
|
Gbl.Now.Date.Day,
|
||||||
Gbl.Now.Time.Hour,
|
Gbl.Now.Time.Hour,
|
||||||
Gbl.Now.Time.Minute);
|
Gbl.Now.Time.Minute);
|
||||||
Lay_StartRoundFrameTable (NULL,0,Gbl.Title);
|
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");
|
NumRows = DB_QuerySELECT (Query,&mysql_res,"can not get last clicks");
|
||||||
|
|
||||||
/***** Write list of connected users *****/
|
/***** Write list of connected users *****/
|
||||||
fprintf (Gbl.F.Out,"<table class=\"CELLS_PAD_2\">"
|
fprintf (Gbl.F.Out,"<table class=\"CELLS_PAD_1\">"
|
||||||
"<tr>"
|
"<tr>"
|
||||||
"<th class=\"LEFT_MIDDLE\""
|
"<th class=\"LEFT_MIDDLE\""
|
||||||
" style=\"width:85px;\">"
|
" style=\"width:85px;\">"
|
||||||
|
|
Loading…
Reference in New Issue
Block a user