mirror of https://github.com/acanas/swad-core.git
Version 14.134.9
This commit is contained in:
parent
0a3074523b
commit
1abefda3f4
|
@ -98,11 +98,12 @@
|
||||||
/****************************** Public constants *****************************/
|
/****************************** Public constants *****************************/
|
||||||
/*****************************************************************************/
|
/*****************************************************************************/
|
||||||
|
|
||||||
#define Log_PLATFORM_VERSION "SWAD 14.134.8 (2015/09/20)"
|
#define Log_PLATFORM_VERSION "SWAD 14.134.9 (2015/09/22)"
|
||||||
|
|
||||||
// Number of lines (includes comments but not blank lines) has been got with the following command:
|
// 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
|
// nl swad*.c swad*.h css/swad*.css py/swad*.py js/swad*.js soap/swad*.h sql/swad*.sql | tail -1
|
||||||
/*
|
/*
|
||||||
|
Version 14.134.9: Sep 22, 2015 Link in connected users to clicks in real time. (184923 lines)
|
||||||
Version 14.134.8: Sep 20, 2015 Fixed bug in list of guests.
|
Version 14.134.8: Sep 20, 2015 Fixed bug in list of guests.
|
||||||
Changes in listing of connected users. (184885 lines)
|
Changes in listing of connected users. (184885 lines)
|
||||||
Version 14.134.7: Sep 18, 2015 Fixed bug in list of guests. (184879 lines)
|
Version 14.134.7: Sep 18, 2015 Fixed bug in list of guests. (184879 lines)
|
||||||
|
|
|
@ -52,6 +52,8 @@ extern struct Globals Gbl;
|
||||||
/*************************** Internal prototypes *****************************/
|
/*************************** Internal prototypes *****************************/
|
||||||
/*****************************************************************************/
|
/*****************************************************************************/
|
||||||
|
|
||||||
|
static void Con_PutLinkToLastClicks (void);
|
||||||
|
|
||||||
static void Con_ComputeConnectedUsrsOfTypeBelongingToCurrentCrs (Rol_Role_t Role);
|
static void Con_ComputeConnectedUsrsOfTypeBelongingToCurrentCrs (Rol_Role_t Role);
|
||||||
static void Con_ShowConnectedUsrsWithARoleBelongingToCurrentLocationOnMainZone (Rol_Role_t Role);
|
static void Con_ShowConnectedUsrsWithARoleBelongingToCurrentLocationOnMainZone (Rol_Role_t Role);
|
||||||
static void Con_ShowConnectedUsrsWithARoleBelongingToCurrentLocationOnRightColumn (Rol_Role_t Role);
|
static void Con_ShowConnectedUsrsWithARoleBelongingToCurrentLocationOnRightColumn (Rol_Role_t Role);
|
||||||
|
@ -75,6 +77,14 @@ void Con_ShowConnectedUsrs (void)
|
||||||
extern const char *Txt_MONTHS_SMALL_SHORT[12];
|
extern const char *Txt_MONTHS_SMALL_SHORT[12];
|
||||||
extern const char *Txt_Connected_users;
|
extern const char *Txt_Connected_users;
|
||||||
|
|
||||||
|
/***** Link to log in *****/
|
||||||
|
if (Gbl.Usrs.Me.Logged)
|
||||||
|
{
|
||||||
|
fprintf (Gbl.F.Out,"<div class=\"CONTEXT_MENU\">");
|
||||||
|
Con_PutLinkToLastClicks ();
|
||||||
|
fprintf (Gbl.F.Out,"</div>");
|
||||||
|
}
|
||||||
|
|
||||||
/***** Set where to show connected users to main zone *****/
|
/***** Set where to show connected users to main zone *****/
|
||||||
Gbl.Usrs.Connected.WhereToShow = Con_SHOW_ON_MAIN_ZONE;
|
Gbl.Usrs.Connected.WhereToShow = Con_SHOW_ON_MAIN_ZONE;
|
||||||
|
|
||||||
|
@ -124,6 +134,18 @@ void Con_ShowConnectedUsrs (void)
|
||||||
Lay_EndRoundFrameTable ();
|
Lay_EndRoundFrameTable ();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
/*****************************************************************************/
|
||||||
|
/*************** Put a link to show last clicks in real time *****************/
|
||||||
|
/*****************************************************************************/
|
||||||
|
|
||||||
|
static void Con_PutLinkToLastClicks (void)
|
||||||
|
{
|
||||||
|
extern const char *Txt_Last_clicks;
|
||||||
|
|
||||||
|
Act_PutContextualLink (ActLstClk,NULL,
|
||||||
|
"click",Txt_Last_clicks);
|
||||||
|
}
|
||||||
|
|
||||||
/*****************************************************************************/
|
/*****************************************************************************/
|
||||||
/****************************** Show last clicks *****************************/
|
/****************************** Show last clicks *****************************/
|
||||||
/*****************************************************************************/
|
/*****************************************************************************/
|
||||||
|
|
21
swad_text.c
21
swad_text.c
|
@ -15099,6 +15099,27 @@ const char *Txt_Language =
|
||||||
"Lingua";
|
"Lingua";
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
const char *Txt_Last_clicks =
|
||||||
|
#if L==0
|
||||||
|
"Últims clics";
|
||||||
|
#elif L==1
|
||||||
|
"Letzte Klicks";
|
||||||
|
#elif L==2
|
||||||
|
"Last clicks";
|
||||||
|
#elif L==3
|
||||||
|
"Últimos clics";
|
||||||
|
#elif L==4
|
||||||
|
"Dernière clics";
|
||||||
|
#elif L==5
|
||||||
|
"Últimos clics"; // Okoteve traducción
|
||||||
|
#elif L==6
|
||||||
|
"Ultimi clic";
|
||||||
|
#elif L==7
|
||||||
|
"Ostatnie dwa kliknięcia";
|
||||||
|
#elif L==8
|
||||||
|
"Últimos cliques";
|
||||||
|
#endif
|
||||||
|
|
||||||
const char *Txt_Last_clicks_in_real_time =
|
const char *Txt_Last_clicks_in_real_time =
|
||||||
#if L==0
|
#if L==0
|
||||||
"Últims clics en temps real";
|
"Últims clics en temps real";
|
||||||
|
|
Loading…
Reference in New Issue