mirror of
https://github.com/acanas/swad-core.git
synced 2024-05-29 04:53:26 +02:00
Version 15.199.6
This commit is contained in:
parent
17ab9c2ccb
commit
97993bb5f5
|
@ -135,13 +135,14 @@
|
|||
/****************************** Public constants *****************************/
|
||||
/*****************************************************************************/
|
||||
|
||||
#define Log_PLATFORM_VERSION "SWAD 15.199.5 (2016-04-17)"
|
||||
#define Log_PLATFORM_VERSION "SWAD 15.199.6 (2016-04-17)"
|
||||
#define CSS_FILE "swad15.198.css"
|
||||
#define JS_FILE "swad15.197.js"
|
||||
|
||||
// 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
|
||||
/*
|
||||
Version 15.199.6: Apr 17, 2016 Changes in title of results of searching courses. (199647 lines)
|
||||
Version 15.199.5: Apr 17, 2016 Changes in title of results of searching degrees. (199652 lines)
|
||||
Version 15.199.4: Apr 17, 2016 Changes in title of results of searching centres. (199657 lines)
|
||||
Version 15.199.3: Apr 17, 2016 Changes in title of results of searching institutions. (199663 lines)
|
||||
|
|
|
@ -2951,7 +2951,6 @@ void Crs_GetAndWriteCrssOfAUsr (long UsrCod,Rol_Role_t Role)
|
|||
|
||||
unsigned Crs_ListCrssFound (const char *Query)
|
||||
{
|
||||
extern const char *Txt_Courses;
|
||||
extern const char *Txt_course;
|
||||
extern const char *Txt_courses;
|
||||
extern const char *Txt_Degree;
|
||||
|
@ -2971,17 +2970,11 @@ unsigned Crs_ListCrssFound (const char *Query)
|
|||
if (NumCrss)
|
||||
{
|
||||
/***** Write heading *****/
|
||||
Lay_StartRoundFrameTable (NULL,2,Txt_Courses);
|
||||
|
||||
/* Number of courses found */
|
||||
fprintf (Gbl.F.Out,"<tr>"
|
||||
"<th colspan=\"6\" class=\"CENTER_MIDDLE\">");
|
||||
if (NumCrss == 1)
|
||||
fprintf (Gbl.F.Out,"1 %s",Txt_course);
|
||||
else
|
||||
fprintf (Gbl.F.Out,"%u %s",NumCrss,Txt_courses);
|
||||
fprintf (Gbl.F.Out,"</th>"
|
||||
"</tr>");
|
||||
sprintf (Gbl.Title,"%u %s",
|
||||
NumCrss,(NumCrss == 1) ? Txt_course :
|
||||
Txt_courses);
|
||||
Lay_StartRoundFrameTable (NULL,2,Gbl.Title);
|
||||
|
||||
/* Heading row */
|
||||
fprintf (Gbl.F.Out,"<tr>"
|
||||
|
|
Loading…
Reference in New Issue
Block a user