mirror of
https://github.com/acanas/swad-core.git
synced 2024-06-17 05:55:43 +02:00
Version 14.73.1
This commit is contained in:
parent
f947850cc7
commit
1c7d925de5
Binary file not shown.
Before Width: | Height: | Size: 159 B After Width: | Height: | Size: 166 B |
|
@ -958,13 +958,13 @@ long Ctr_GetInsCodOfCentreByCod (long CtrCod)
|
||||||
if (CtrCod > 0)
|
if (CtrCod > 0)
|
||||||
{
|
{
|
||||||
/***** Get the institution code of a centre from database *****/
|
/***** Get the institution code of a centre from database *****/
|
||||||
sprintf (Query,"SELECT InsCod FROM centres WHERE CtrCod ='%ld'",
|
sprintf (Query,"SELECT InsCod FROM centres WHERE CtrCod='%ld'",
|
||||||
CtrCod);
|
CtrCod);
|
||||||
if (DB_QuerySELECT (Query,&mysql_res,"can not get the institution of a centre") == 1)
|
if (DB_QuerySELECT (Query,&mysql_res,"can not get the institution of a centre") == 1)
|
||||||
{
|
{
|
||||||
/***** Get the institution code of this centre *****/
|
/***** Get the institution code of this centre *****/
|
||||||
row = mysql_fetch_row (mysql_res);
|
row = mysql_fetch_row (mysql_res);
|
||||||
CtrCod = Str_ConvertStrCodToLongCod (row[0]);
|
InsCod = Str_ConvertStrCodToLongCod (row[0]);
|
||||||
}
|
}
|
||||||
|
|
||||||
/***** Free structure that stores the query result *****/
|
/***** Free structure that stores the query result *****/
|
||||||
|
|
|
@ -31,19 +31,22 @@
|
||||||
// TODO: When notifications are marked as seen, do it in a priori function
|
// TODO: When notifications are marked as seen, do it in a priori function
|
||||||
// TODO: Use the library http://fukuchi.org/works/qrencode/index.html.en instead Google QR
|
// TODO: Use the library http://fukuchi.org/works/qrencode/index.html.en instead Google QR
|
||||||
// TODO: [Ceferino Bustos Valdivia]:
|
// TODO: [Ceferino Bustos Valdivia]:
|
||||||
// Enhorabuena por esta nueva aplicación. La he utilizado con los códigos QR y va muy bien.
|
// Enhorabuena por esta nueva aplicación. La he utilizado con los códigos QR y va muy bien.
|
||||||
// Me genera las listas de alumnos y es bastante rápida la lectura del código QR.
|
// Me genera las listas de alumnos y es bastante rápida la lectura del código QR.
|
||||||
// Sería completa esta aplicación, si la asistencia se incluyera, automáticamente, en el apartado de evaluación de cada alumno. De esta forma podríamos ver sus trabajos y asistencias de forma personalizada.
|
// Sería completa esta aplicación, si la asistencia se incluyera, automáticamente, en el apartado de evaluación de cada alumno. De esta forma podríamos ver sus trabajos y asistencias de forma personalizada.
|
||||||
|
// TODO: OpenSWAD.org: ¿Qué debería tener una buena gestión de grupos? Es para tomar ideas ;)
|
||||||
|
// José Raúl Canay @raulcanay: por ejemplo, que puedas sacar un listado exportable de en qué grupos está una persona de quienes están en un grupo.
|
||||||
|
|
||||||
/*****************************************************************************/
|
/*****************************************************************************/
|
||||||
/****************************** Public constants *****************************/
|
/****************************** Public constants *****************************/
|
||||||
/*****************************************************************************/
|
/*****************************************************************************/
|
||||||
|
|
||||||
#define Log_PLATFORM_VERSION "SWAD 14.73 (2015/02/03)"
|
#define Log_PLATFORM_VERSION "SWAD 14.73.1 (2015/02/04)"
|
||||||
|
|
||||||
// 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.73.1: Feb 04, 2015 Fixed bug in logo of centre. (177012 lines)
|
||||||
Version 14.73: Feb 03, 2015 New options to remove institution, centre and degree icons. (177007 lines)
|
Version 14.73: Feb 03, 2015 New options to remove institution, centre and degree icons. (177007 lines)
|
||||||
3 changes necessary in database:
|
3 changes necessary in database:
|
||||||
INSERT INTO actions (ActCod,Language,Obsolete,Txt) VALUES ('1341','es','N','Eliminar logo de institución');
|
INSERT INTO actions (ActCod,Language,Obsolete,Txt) VALUES ('1341','es','N','Eliminar logo de institución');
|
||||||
|
|
|
@ -28,9 +28,9 @@
|
||||||
/** Uncomment one of the following installations of SWAD or create your own **/
|
/** Uncomment one of the following installations of SWAD or create your own **/
|
||||||
/*****************************************************************************/
|
/*****************************************************************************/
|
||||||
|
|
||||||
#define LOCALHOST_UBUNTU // Comment this line if not applicable
|
//#define LOCALHOST_UBUNTU // Comment this line if not applicable
|
||||||
//#define OPENSWAD_ORG // Comment this line if not applicable
|
//#define OPENSWAD_ORG // Comment this line if not applicable
|
||||||
//#define SWAD_UGR_ES // Comment this line if not applicable
|
#define SWAD_UGR_ES // Comment this line if not applicable
|
||||||
//#define WWW_CEVUNA_UNA_PY // Comment this line if not applicable
|
//#define WWW_CEVUNA_UNA_PY // Comment this line if not applicable
|
||||||
|
|
||||||
/*****************************************************************************/
|
/*****************************************************************************/
|
||||||
|
|
|
@ -3098,7 +3098,7 @@ long Deg_GetInsCodOfDegreeByCod (long DegCod)
|
||||||
{
|
{
|
||||||
/***** Get the institution code of a degree from database *****/
|
/***** Get the institution code of a degree from database *****/
|
||||||
sprintf (Query,"SELECT centres.InsCod FROM degrees,centres"
|
sprintf (Query,"SELECT centres.InsCod FROM degrees,centres"
|
||||||
" WHERE degrees.DegCod ='%ld' AND degrees.CtrCod=centres.CtrCod",
|
" WHERE degrees.DegCod='%ld' AND degrees.CtrCod=centres.CtrCod",
|
||||||
DegCod);
|
DegCod);
|
||||||
if (DB_QuerySELECT (Query,&mysql_res,"can not get the institution of a degree") == 1)
|
if (DB_QuerySELECT (Query,&mysql_res,"can not get the institution of a degree") == 1)
|
||||||
{
|
{
|
||||||
|
|
Loading…
Reference in New Issue
Block a user