mirror of
https://github.com/acanas/swad-core.git
synced 2024-06-17 22:15:43 +02:00
Version 14.80.2
This commit is contained in:
parent
070c19627b
commit
b08791f2ac
|
@ -103,11 +103,12 @@
|
||||||
/****************************** Public constants *****************************/
|
/****************************** Public constants *****************************/
|
||||||
/*****************************************************************************/
|
/*****************************************************************************/
|
||||||
|
|
||||||
#define Log_PLATFORM_VERSION "SWAD 14.80.1 (2015/03/09)"
|
#define Log_PLATFORM_VERSION "SWAD 14.80.2 (2015/03/09)"
|
||||||
|
|
||||||
// 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 | tail -1
|
// nl swad*.c swad*.h css/swad*.css py/swad*.py js/swad*.js soap/swad*.h | tail -1
|
||||||
/*
|
/*
|
||||||
|
Version 14.80.2: Mar 09, 2015 Scope country for statistic of layout. (178936 lines)
|
||||||
Version 14.80.1: Mar 09, 2015 Scope country for statistic of language. (178923 lines)
|
Version 14.80.1: Mar 09, 2015 Scope country for statistic of language. (178923 lines)
|
||||||
Version 14.80: Mar 09, 2015 New statistic for privacy. (178909 lines)
|
Version 14.80: Mar 09, 2015 New statistic for privacy. (178909 lines)
|
||||||
Version 14.79.6: Mar 08, 2015 Check if file "swad.lock" exists to disable SWAD. (178736 lines)
|
Version 14.79.6: Mar 08, 2015 Check if file "swad.lock" exists to disable SWAD. (178736 lines)
|
||||||
|
|
|
@ -6675,6 +6675,18 @@ static void Sta_GetAndShowNumUsrsPerLayout (void)
|
||||||
" WHERE Layout='%u'",
|
" WHERE Layout='%u'",
|
||||||
(unsigned) Layout);
|
(unsigned) Layout);
|
||||||
break;
|
break;
|
||||||
|
case Sco_SCOPE_CTY:
|
||||||
|
sprintf (Query,"SELECT COUNT(DISTINCT usr_data.UsrCod)"
|
||||||
|
" FROM institutions,centres,degrees,courses,crs_usr,usr_data"
|
||||||
|
" WHERE institutions.CtyCod='%ld'"
|
||||||
|
" AND institutions.InsCod=centres.InsCod"
|
||||||
|
" AND centres.CtrCod=degrees.CtrCod"
|
||||||
|
" AND degrees.DegCod=courses.DegCod"
|
||||||
|
" AND courses.CrsCod=crs_usr.CrsCod"
|
||||||
|
" AND crs_usr.UsrCod=usr_data.UsrCod"
|
||||||
|
" AND usr_data.Layout='%u'",
|
||||||
|
Gbl.CurrentCty.Cty.CtyCod,(unsigned) Layout);
|
||||||
|
break;
|
||||||
case Sco_SCOPE_INS:
|
case Sco_SCOPE_INS:
|
||||||
sprintf (Query,"SELECT COUNT(DISTINCT usr_data.UsrCod)"
|
sprintf (Query,"SELECT COUNT(DISTINCT usr_data.UsrCod)"
|
||||||
" FROM centres,degrees,courses,crs_usr,usr_data"
|
" FROM centres,degrees,courses,crs_usr,usr_data"
|
||||||
|
|
Loading…
Reference in New Issue
Block a user