mirror of https://github.com/acanas/swad-core.git
Version 15.10.3
This commit is contained in:
parent
e903454169
commit
2d39d78b47
|
@ -98,13 +98,14 @@
|
|||
/****************************** Public constants *****************************/
|
||||
/*****************************************************************************/
|
||||
|
||||
#define Log_PLATFORM_VERSION "SWAD 15.10.2 (2015/10/06)"
|
||||
#define Log_PLATFORM_VERSION "SWAD 15.10.3 (2015/10/07)"
|
||||
|
||||
// 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
|
||||
/*
|
||||
TODO: If photo zoom is out of the screen at left, put on right
|
||||
|
||||
Version 15.10.3: Oct 07, 2015 New contextual link in visits to last clicks. (185641 lines)
|
||||
Version 15.10.2: Oct 07, 2015 Fixed bug in nicknames, reported by Javier Fdez. Baldomero.
|
||||
New MIME type, suggested by Javier Fdez. Baldomero.
|
||||
Some code refactoring related to nicknames. (185639 lines)
|
||||
|
|
|
@ -52,8 +52,6 @@ extern struct Globals Gbl;
|
|||
/*************************** Internal prototypes *****************************/
|
||||
/*****************************************************************************/
|
||||
|
||||
static void Con_PutLinkToLastClicks (void);
|
||||
|
||||
static void Con_ComputeConnectedUsrsOfTypeBelongingToCurrentCrs (Rol_Role_t Role);
|
||||
static void Con_ShowConnectedUsrsWithARoleBelongingToCurrentLocationOnMainZone (Rol_Role_t Role);
|
||||
static void Con_ShowConnectedUsrsWithARoleBelongingToCurrentLocationOnRightColumn (Rol_Role_t Role);
|
||||
|
@ -77,7 +75,7 @@ void Con_ShowConnectedUsrs (void)
|
|||
extern const char *Txt_MONTHS_SMALL_SHORT[12];
|
||||
extern const char *Txt_Connected_users;
|
||||
|
||||
/***** Link to log in *****/
|
||||
/***** Link to show last clicks in real time *****/
|
||||
if (Gbl.Usrs.Me.Logged)
|
||||
{
|
||||
fprintf (Gbl.F.Out,"<div class=\"CONTEXT_MENU\">");
|
||||
|
@ -138,7 +136,7 @@ void Con_ShowConnectedUsrs (void)
|
|||
/*************** Put a link to show last clicks in real time *****************/
|
||||
/*****************************************************************************/
|
||||
|
||||
static void Con_PutLinkToLastClicks (void)
|
||||
void Con_PutLinkToLastClicks (void)
|
||||
{
|
||||
extern const char *Txt_Last_clicks;
|
||||
|
||||
|
|
|
@ -48,6 +48,7 @@ typedef enum
|
|||
/*****************************************************************************/
|
||||
|
||||
void Con_ShowConnectedUsrs (void);
|
||||
void Con_PutLinkToLastClicks (void);
|
||||
void Con_ShowLastClicks (void);
|
||||
void Con_GetAndShowLastClicks (void);
|
||||
void Con_ShowGlobalConnectedUsrs (void);
|
||||
|
|
|
@ -578,16 +578,20 @@ void Sta_AskSeeGblAccesses (void)
|
|||
Sta_Role_t RoleStat;
|
||||
Sta_ClicksGroupedBy_t ClicksGroupedBy;
|
||||
|
||||
/***** Put form to go to test edition and configuration *****/
|
||||
/***** Contextual links *****/
|
||||
fprintf (Gbl.F.Out,"<div class=\"CENTER_MIDDLE\""
|
||||
" style=\"padding-bottom:12px;\">");
|
||||
|
||||
/* Put form to go to test edition and configuration */
|
||||
if (Gbl.CurrentCrs.Crs.CrsCod > 0 && // Course selected
|
||||
(Gbl.Usrs.Me.LoggedRole == Rol_TEACHER ||
|
||||
Gbl.Usrs.Me.LoggedRole == Rol_SYS_ADM))
|
||||
{
|
||||
fprintf (Gbl.F.Out,"<div class=\"CENTER_MIDDLE\""
|
||||
" style=\"padding-bottom:12px;\">");
|
||||
Sta_PutFormToRequestAccessesCrs ();
|
||||
fprintf (Gbl.F.Out,"</div>");
|
||||
}
|
||||
|
||||
/* Link to show last clicks in real time */
|
||||
Con_PutLinkToLastClicks ();
|
||||
|
||||
fprintf (Gbl.F.Out,"</div>");
|
||||
|
||||
/***** Start form *****/
|
||||
Act_FormStart (ActSeeAccGbl);
|
||||
|
|
Loading…
Reference in New Issue