mirror of https://github.com/acanas/swad-core.git
Version 16.206.2
This commit is contained in:
parent
26d16b8e7c
commit
dc04f24304
|
@ -232,13 +232,14 @@
|
|||
/****************************** Public constants *****************************/
|
||||
/*****************************************************************************/
|
||||
|
||||
#define Log_PLATFORM_VERSION "SWAD 16.206.1 (2017-05-05)"
|
||||
#define Log_PLATFORM_VERSION "SWAD 16.206.2 (2017-05-05)"
|
||||
#define CSS_FILE "swad16.205.css"
|
||||
#define JS_FILE "swad16.206.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.206.2: May 05, 2017 Changes in date and time of connected users. (218527 lines)
|
||||
Version 16.206.1: May 05, 2017 Changes in Javascript function to write local date and time. (218524 lines)
|
||||
Version 16.206: May 05, 2017 Date format applied to dates written directly instead of using Javascript. (218514 lines)
|
||||
Version 16.205.4: May 05, 2017 Help about date format. (218487 lines)
|
||||
|
|
|
@ -80,7 +80,6 @@ void Con_ShowConnectedUsrs (void)
|
|||
{
|
||||
extern const char *Hlp_USERS_Connected;
|
||||
extern const char *Txt_Connected_users;
|
||||
extern const char *Txt_MONTHS_SMALL_SHORT[12];
|
||||
|
||||
/***** Link to show last clicks in real time *****/
|
||||
if (Gbl.Usrs.Me.Logged)
|
||||
|
@ -96,14 +95,17 @@ void Con_ShowConnectedUsrs (void)
|
|||
|
||||
/***** Start frame *****/
|
||||
/* Current time */
|
||||
sprintf (Gbl.Title,"%s<br />%s %u, %u:%02u",
|
||||
Txt_Connected_users,
|
||||
Txt_MONTHS_SMALL_SHORT[Gbl.Now.Date.Month - 1],
|
||||
Gbl.Now.Date.Day,
|
||||
Gbl.Now.Time.Hour,
|
||||
Gbl.Now.Time.Minute);
|
||||
sprintf (Gbl.Title,"%s<div id=\"connected_current_time\"></div>",
|
||||
Txt_Connected_users);
|
||||
Lay_StartRoundFrame (NULL,Gbl.Title,
|
||||
Con_PutIconToUpdateConnected,Hlp_USERS_Connected);
|
||||
fprintf (Gbl.F.Out,"<script type=\"text/javascript\">"
|
||||
"writeLocalDateHMSFromUTC('connected_current_time',%ld,"
|
||||
"%u,', ',null,false,true,0x7);"
|
||||
"</script>"
|
||||
"</td>",
|
||||
(long) Gbl.StartExecutionTimeUTC,
|
||||
(unsigned) Gbl.Prefs.DateFormat);
|
||||
|
||||
/***** Number of connected users in the whole platform *****/
|
||||
Con_ShowGlobalConnectedUsrs ();
|
||||
|
|
Loading…
Reference in New Issue