mirror of
https://github.com/acanas/swad-core.git
synced 2024-06-17 22:15:43 +02:00
Version 14.63.2
This commit is contained in:
parent
6fb860e6ab
commit
5e807b3238
|
@ -39,11 +39,12 @@
|
||||||
/****************************** Public constants *****************************/
|
/****************************** Public constants *****************************/
|
||||||
/*****************************************************************************/
|
/*****************************************************************************/
|
||||||
|
|
||||||
#define Log_PLATFORM_VERSION "SWAD 14.63.1 (2015/01/21)"
|
#define Log_PLATFORM_VERSION "SWAD 14.63.2 (2015/01/21)"
|
||||||
|
|
||||||
// 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.63.2: Jan 21, 2015 Fixed bug in search of courses. (175542 lines)
|
||||||
Version 14.63.1: Jan 21, 2015 Remove last accesses to file browsers related with an institution, a centre or a degree. (175531 lines)
|
Version 14.63.1: Jan 21, 2015 Remove last accesses to file browsers related with an institution, a centre or a degree. (175531 lines)
|
||||||
Version 14.63: Jan 21, 2015 See/admin documents of degree, centre and institution. (175512 lines)
|
Version 14.63: Jan 21, 2015 See/admin documents of degree, centre and institution. (175512 lines)
|
||||||
1 change necessary in database:
|
1 change necessary in database:
|
||||||
|
@ -65,7 +66,7 @@ ALTER TABLE files ADD COLUMN InsCod INT NOT NULL DEFAULT -1 AFTER FilCod;
|
||||||
ALTER TABLE files ADD COLUMN CtrCod INT NOT NULL DEFAULT -1 AFTER InsCod;
|
ALTER TABLE files ADD COLUMN CtrCod INT NOT NULL DEFAULT -1 AFTER InsCod;
|
||||||
ALTER TABLE files ADD COLUMN DegCod INT NOT NULL DEFAULT -1 AFTER CtrCod;
|
ALTER TABLE files ADD COLUMN DegCod INT NOT NULL DEFAULT -1 AFTER CtrCod;
|
||||||
DROP INDEX CrsCod ON files;
|
DROP INDEX CrsCod ON files;
|
||||||
DROP INDEX CrsCod_GrpCod_FileBrowser ON files;
|
DROP INDEX CrsCod_GrpCod_ZoneUsrCod_FileBrowser ON files;
|
||||||
CREATE INDEX Location ON files (InsCod,CtrCod,DegCod,CrsCod,GrpCod,FileBrowser);
|
CREATE INDEX Location ON files (InsCod,CtrCod,DegCod,CrsCod,GrpCod,FileBrowser);
|
||||||
|
|
||||||
Version 14.60: Jan 20, 2015 See/admin documents of degree, centre and institution (not finished). (175079 lines)
|
Version 14.60: Jan 20, 2015 See/admin documents of degree, centre and institution (not finished). (175079 lines)
|
||||||
|
|
|
@ -3259,6 +3259,17 @@ static void Crs_WriteRowCrsData (unsigned NumCrs,MYSQL_ROW row,bool WriteColumnA
|
||||||
const char *BgColor;
|
const char *BgColor;
|
||||||
bool Accepted;
|
bool Accepted;
|
||||||
|
|
||||||
|
/*
|
||||||
|
SELECT degrees.DegCod, 0
|
||||||
|
courses.CrsCod, 1
|
||||||
|
degrees.ShortName, 2
|
||||||
|
degrees.FullName, 3
|
||||||
|
courses.Year, 4
|
||||||
|
courses.Semester, 5
|
||||||
|
courses.FullName, 6
|
||||||
|
centres.ShortName 7
|
||||||
|
*/
|
||||||
|
|
||||||
/***** Get degree code (row[0]) *****/
|
/***** Get degree code (row[0]) *****/
|
||||||
if ((Deg.DegCod = Str_ConvertStrCodToLongCod (row[0])) < 0)
|
if ((Deg.DegCod = Str_ConvertStrCodToLongCod (row[0])) < 0)
|
||||||
Lay_ShowErrorAndExit ("Wrong code of degree.");
|
Lay_ShowErrorAndExit ("Wrong code of degree.");
|
||||||
|
@ -3352,7 +3363,7 @@ static void Crs_WriteRowCrsData (unsigned NumCrs,MYSQL_ROW row,bool WriteColumnA
|
||||||
fprintf (Gbl.F.Out,"%s</a>"
|
fprintf (Gbl.F.Out,"%s</a>"
|
||||||
"</form>"
|
"</form>"
|
||||||
"</td>",
|
"</td>",
|
||||||
row[7]);
|
row[6]);
|
||||||
|
|
||||||
/***** Write number of students in course *****/
|
/***** Write number of students in course *****/
|
||||||
fprintf (Gbl.F.Out,"<td class=\"%s\" style=\"text-align:right;"
|
fprintf (Gbl.F.Out,"<td class=\"%s\" style=\"text-align:right;"
|
||||||
|
|
Loading…
Reference in New Issue
Block a user