Version 15.199.3

This commit is contained in:
Antonio Cañas Vargas 2016-04-17 23:13:00 +02:00
parent 28ebd38569
commit 455fa0f7bf
2 changed files with 7 additions and 11 deletions

View File

@ -135,13 +135,14 @@
/****************************** Public constants *****************************/
/*****************************************************************************/
#define Log_PLATFORM_VERSION "SWAD 15.199.2 (2016-04-16)"
#define Log_PLATFORM_VERSION "SWAD 15.199.3 (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.3: Apr 17, 2016 Changes in title of results of searching institutions. (199663 lines)
Version 15.199.2: Apr 16, 2016 Fixed bug in social comments, reported by Javier Fernández Baldomero. (199666 lines)
Version 15.199.1: Apr 16, 2016 Fixed bug in Statistics > Degrees. (199665 lines)
Version 15.199: Apr 16, 2016 In Statistics > Degrees, show only degrees with students.

View File

@ -2261,17 +2261,12 @@ unsigned Ins_ListInssFound (const char *Query)
if ((NumInss = (unsigned) DB_QuerySELECT (Query,&mysql_res,"can not get institutions")))
{
/***** Write heading *****/
Lay_StartRoundFrameTable (NULL,2,Txt_Institutions);
/* Number of institutions found */
fprintf (Gbl.F.Out,"<tr>"
"<th colspan=\"9\" class=\"CENTER_MIDDLE\">");
if (NumInss == 1)
fprintf (Gbl.F.Out,"1 %s",Txt_institution);
else
fprintf (Gbl.F.Out,"%u %s",NumInss,Txt_institutions);
fprintf (Gbl.F.Out,"</th>"
"</tr>");
sprintf (Gbl.Title,"%u %s",
NumInss,NumInss == 1 ? Txt_institution :
Txt_institutions);
Lay_StartRoundFrameTable (NULL,2,Gbl.Title);
Ins_PutHeadInstitutionsForSeeing (false); // Order not selectable