Version 16.67.1

This commit is contained in:
Antonio Cañas Vargas 2016-11-21 18:12:23 +01:00
parent 13d988a385
commit e10cb2a957
3 changed files with 14 additions and 3 deletions

View File

@ -172,13 +172,14 @@
/****************************** Public constants *****************************/
/*****************************************************************************/
#define Log_PLATFORM_VERSION "SWAD 16.67 (2016-11-21)"
#define Log_PLATFORM_VERSION "SWAD 16.67.1 (2016-11-21)"
#define CSS_FILE "swad16.60.1.css"
#define JS_FILE "swad16.46.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.67.1: Nov 21, 2016 Contextual help on connected users and last clicks in real time. (207346 lines)
Version 16.67: Nov 21, 2016 Refactoring in tests.
"Test exam" is now called "Test result". (207336 lines)
Version 16.66: Nov 21, 2016 Change icons for attendance.

View File

@ -75,6 +75,7 @@ static void Con_WriteHoursMinutesSecondsFromSeconds (time_t Seconds);
void Con_ShowConnectedUsrs (void)
{
extern const char *Hlp_USERS_Connected;
extern const char *Txt_Connected_users;
extern const char *Txt_MONTHS_SMALL_SHORT[12];
@ -98,7 +99,8 @@ void Con_ShowConnectedUsrs (void)
Gbl.Now.Date.Day,
Gbl.Now.Time.Hour,
Gbl.Now.Time.Minute);
Lay_StartRoundFrame (NULL,Gbl.Title,Con_PutIconToUpdateConnected,NULL);
Lay_StartRoundFrame (NULL,Gbl.Title,
Con_PutIconToUpdateConnected,Hlp_USERS_Connected);
/***** Number of connected users in the whole platform *****/
Con_ShowGlobalConnectedUsrs ();
@ -147,15 +149,20 @@ void Con_PutLinkToLastClicks (void)
void Con_ShowLastClicks (void)
{
extern const char *Hlp_USERS_Connected_last_clicks;
extern const char *Txt_Last_clicks_in_real_time;
Lay_StartRoundFrame (NULL,Txt_Last_clicks_in_real_time,NULL,NULL);
/***** Start frame *****/
Lay_StartRoundFrame (NULL,Txt_Last_clicks_in_real_time,
NULL,Hlp_USERS_Connected_last_clicks);
/***** Get and show last clicks *****/
fprintf (Gbl.F.Out,"<div id=\"lastclicks\"" // Used for AJAX based refresh
" class=\"CENTER_MIDDLE\">");
Con_GetAndShowLastClicks ();
fprintf (Gbl.F.Out,"</div>"); // Used for AJAX based refresh
/***** End frame *****/
Lay_EndRoundFrame ();
}

View File

@ -110,6 +110,9 @@ const char *Hlp_USERS_Duplicates_possibly_similar_users = WIKI "USERS.Duplicat
const char *Hlp_USERS_Attendance = WIKI "USERS.Attendance";
const char *Hlp_USERS_Connected = WIKI "USERS.Connected";
const char *Hlp_USERS_Connected_last_clicks = WIKI "USERS.Connected#last-clicks";
/***** SOCIAL tab *****/
const char *Hlp_SOCIAL_Activity = WIKI "SOCIAL.Activity";