mirror of https://github.com/acanas/swad-core.git
Version 15.13
This commit is contained in:
parent
1b5cf06a11
commit
63ca430c01
|
@ -98,7 +98,7 @@
|
|||
/****************************** Public constants *****************************/
|
||||
/*****************************************************************************/
|
||||
|
||||
#define Log_PLATFORM_VERSION "SWAD 15.12 (2015/10/10)"
|
||||
#define Log_PLATFORM_VERSION "SWAD 15.13 (2015/10/11)"
|
||||
|
||||
// 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
|
||||
|
@ -108,10 +108,12 @@ TODO: Change link to Degree in Statistics > Visits > By degree to internal Degre
|
|||
TODO: Link to user's country in public profile
|
||||
TODO: Show guests in connected users.
|
||||
|
||||
Version 15.13: Oct 11, 2015 Code refactoring in module swad_statistic.
|
||||
New statistics distributed by country, institution and centre. (186282 lines)
|
||||
Version 15.12: Oct 10, 2015 Country, institution and centre are now stored in log. (185817 lines)
|
||||
2 slow changes necessary in database (may spend many minutes or even hours depending on the size of log tables):
|
||||
ALTER TABLE log_recent ADD COLUMN CtyCod INT NOT NULL DEFAULT -1 AFTER ActCod,ADD INDEX (CtyCod),ADD COLUMN InsCod INT NOT NULL DEFAULT -1 AFTER CtyCod,ADD INDEX (InsCod),ADD COLUMN CtrCod INT NOT NULL DEFAULT -1 AFTER InsCod,ADD INDEX (CtrCod);
|
||||
ALTER TABLE log ADD COLUMN CtyCod INT NOT NULL DEFAULT -1 AFTER ActCod,ADD INDEX (CtyCod),ADD COLUMN InsCod INT NOT NULL DEFAULT -1 AFTER CtyCod,ADD INDEX (InsCod),ADD COLUMN CtrCod INT NOT NULL DEFAULT -1 AFTER InsCod,ADD INDEX (CtrCod);
|
||||
ALTER TABLE log ADD COLUMN CtyCod INT NOT NULL DEFAULT -1 AFTER ActCod,ADD INDEX (CtyCod),ADD COLUMN InsCod INT NOT NULL DEFAULT -1 AFTER CtyCod,ADD INDEX (InsCod),ADD COLUMN CtrCod INT NOT NULL DEFAULT -1 AFTER InsCod,ADD INDEX (CtrCod);
|
||||
|
||||
Version 15.11: Oct 08, 2015 Changes in layout of sent / received messages. (185680 lines)
|
||||
Version 15.10.5: Oct 07, 2015 Change in layout of removal of old users. (185669 lines)
|
||||
|
|
|
@ -215,23 +215,23 @@ void Con_GetAndShowLastClicks (void)
|
|||
"%s" // Hour
|
||||
"</th>"
|
||||
"<th class=\"LEFT_MIDDLE\""
|
||||
" style=\"width:125px;\">"
|
||||
" style=\"width:100px;\">"
|
||||
"%s" // Role
|
||||
"</th>"
|
||||
"<th class=\"LEFT_MIDDLE\""
|
||||
" style=\"width:187px;\">"
|
||||
" style=\"width:100px;\">"
|
||||
"%s" // Country
|
||||
"</th>"
|
||||
"<th class=\"LEFT_MIDDLE\""
|
||||
" style=\"width:187px;\">"
|
||||
" style=\"width:100px;\">"
|
||||
"%s" // Institution
|
||||
"</th>"
|
||||
"<th class=\"LEFT_MIDDLE\""
|
||||
" style=\"width:187px;\">"
|
||||
" style=\"width:150px;\">"
|
||||
"%s" // Centre
|
||||
"</th>"
|
||||
"<th class=\"LEFT_MIDDLE\""
|
||||
" style=\"width:187px;\">"
|
||||
" style=\"width:200px;\">"
|
||||
"%s" // Degree
|
||||
"</th>"
|
||||
"<th class=\"LEFT_MIDDLE\""
|
||||
|
|
975
swad_statistic.c
975
swad_statistic.c
File diff suppressed because it is too large
Load Diff
|
@ -66,7 +66,7 @@ typedef enum
|
|||
Sta_CLICKS_GROUPED = 1,
|
||||
} Sta_ClicksDetailedOrGrouped_t;
|
||||
|
||||
#define Sta_NUM_CLICKS_GROUPED_BY 21
|
||||
#define Sta_NUM_CLICKS_GROUPED_BY 24
|
||||
typedef enum
|
||||
{
|
||||
Sta_CLICKS_CRS_DETAILED_LIST = 0,
|
||||
|
@ -90,8 +90,11 @@ typedef enum
|
|||
Sta_CLICKS_GBL_PER_PLUGIN = 16,
|
||||
Sta_CLICKS_GBL_PER_WEB_SERVICE_FUNCTION = 17,
|
||||
Sta_CLICKS_GBL_PER_BANNER = 18,
|
||||
Sta_CLICKS_GBL_PER_DEGREE = 19,
|
||||
Sta_CLICKS_GBL_PER_COURSE = 20,
|
||||
Sta_CLICKS_GBL_PER_COUNTRY = 19,
|
||||
Sta_CLICKS_GBL_PER_INSTITUTION = 20,
|
||||
Sta_CLICKS_GBL_PER_CENTRE = 21,
|
||||
Sta_CLICKS_GBL_PER_DEGREE = 22,
|
||||
Sta_CLICKS_GBL_PER_COURSE = 23,
|
||||
} Sta_ClicksGroupedBy_t;
|
||||
|
||||
#define Sta_NUM_FIGURES 21
|
||||
|
|
123
swad_text.c
123
swad_text.c
|
@ -4413,27 +4413,6 @@ const char *Txt_Clicks_per_day =
|
|||
"Cliques por dia";
|
||||
#endif
|
||||
|
||||
const char *Txt_Clicks_without_degree_selected =
|
||||
#if L==0
|
||||
"Clics sense seleccionar titulació";
|
||||
#elif L==1
|
||||
"Clicks without degree selected"; // Need Übersetzung
|
||||
#elif L==2
|
||||
"Clicks without degree selected";
|
||||
#elif L==3
|
||||
"Clics sin seleccionar titulación";
|
||||
#elif L==4
|
||||
"Clicks without degree selected"; // Besoin de traduction
|
||||
#elif L==5
|
||||
"Clics sin seleccionar titulación"; // Okoteve traducción
|
||||
#elif L==6
|
||||
"Clicca senza selezionare laurea";
|
||||
#elif L==7
|
||||
"Klikniec bez stopnia wybranych";
|
||||
#elif L==8
|
||||
"Clicks without degree selected"; // Necessita de tradução
|
||||
#endif
|
||||
|
||||
const char *Txt_Closed_survey =
|
||||
#if L==0
|
||||
"Enquesta tancada";
|
||||
|
@ -34712,6 +34691,27 @@ const char *Txt_Show_calendar =
|
|||
"Mostrar calendário";
|
||||
#endif
|
||||
|
||||
const char *Txt_Show_hits = // hits = visits, clicks, page views...
|
||||
#if L==0
|
||||
"Veure accessos";
|
||||
#elif L==1
|
||||
"Zeige Anmeldungen";
|
||||
#elif L==2
|
||||
"Show hits";
|
||||
#elif L==3
|
||||
"Ver accesos";
|
||||
#elif L==4
|
||||
"Voir visites";
|
||||
#elif L==5
|
||||
"Ver accesos"; // Okoteve traducción
|
||||
#elif L==6
|
||||
"Visualizza visite";
|
||||
#elif L==7
|
||||
"Show hits"; // Potrzebujesz tlumaczenie
|
||||
#elif L==8
|
||||
"Mostrar visitas";
|
||||
#endif
|
||||
|
||||
const char *Txt_Show_left_column =
|
||||
#if L==0
|
||||
"Mostrar columna izquierda"; // Necessita traduccio
|
||||
|
@ -35007,27 +35007,6 @@ const char *Txt_Show_timetable =
|
|||
"Veja horário";
|
||||
#endif
|
||||
|
||||
const char *Txt_Show_visits =
|
||||
#if L==0
|
||||
"Veure accessos";
|
||||
#elif L==1
|
||||
"Zeige Anmeldungen";
|
||||
#elif L==2
|
||||
"Show visits";
|
||||
#elif L==3
|
||||
"Ver accesos";
|
||||
#elif L==4
|
||||
"Voir visites";
|
||||
#elif L==5
|
||||
"Ver accesos"; // Okoteve traducción
|
||||
#elif L==6
|
||||
"Visualizza visite";
|
||||
#elif L==7
|
||||
"Show visits"; // Potrzebujesz tlumaczenie
|
||||
#elif L==8
|
||||
"Mostrar visitas";
|
||||
#endif
|
||||
|
||||
const char *Txt_Shuffle =
|
||||
#if L==0
|
||||
"Barrejar";
|
||||
|
@ -35578,6 +35557,66 @@ const char *Txt_STAT_CLICKS_GROUPED_BY[Sta_NUM_CLICKS_GROUPED_BY] =
|
|||
"banner"
|
||||
#endif
|
||||
,
|
||||
#if L==0
|
||||
"país"
|
||||
#elif L==1
|
||||
"Land"
|
||||
#elif L==2
|
||||
"country"
|
||||
#elif L==3
|
||||
"país"
|
||||
#elif L==4
|
||||
"pays;"
|
||||
#elif L==5
|
||||
"tetã"
|
||||
#elif L==6
|
||||
"paese"
|
||||
#elif L==7
|
||||
"kraj"
|
||||
#elif L==8
|
||||
"país"
|
||||
#endif
|
||||
,
|
||||
#if L==0
|
||||
"institució"
|
||||
#elif L==1
|
||||
"Hochschule"
|
||||
#elif L==2
|
||||
"institution"
|
||||
#elif L==3
|
||||
"institución"
|
||||
#elif L==4
|
||||
"établissement"
|
||||
#elif L==5
|
||||
"mbo'ehao"
|
||||
#elif L==6
|
||||
"istituzione"
|
||||
#elif L==7
|
||||
"instytucji"
|
||||
#elif L==8
|
||||
"institução"
|
||||
#endif
|
||||
,
|
||||
#if L==0
|
||||
"centre"
|
||||
#elif L==1
|
||||
"Lehrinstitut"
|
||||
#elif L==2
|
||||
"centre"
|
||||
#elif L==3
|
||||
"centro"
|
||||
#elif L==4
|
||||
"centre"
|
||||
#elif L==5
|
||||
"mbo'ehao"
|
||||
#elif L==6
|
||||
"centro"
|
||||
#elif L==7
|
||||
"centrum"
|
||||
#elif L==8
|
||||
"centro"
|
||||
#endif
|
||||
,
|
||||
#if L==0
|
||||
"titulació"
|
||||
#elif L==1
|
||||
|
|
Loading…
Reference in New Issue