Version 17.12.1

This commit is contained in:
Antonio Cañas Vargas 2017-10-01 18:58:47 +02:00
parent 6cebad8c0a
commit 9282e5dab5
2 changed files with 14 additions and 9 deletions

View File

@ -252,13 +252,14 @@
/****************************** Public constants *****************************/
/*****************************************************************************/
#define Log_PLATFORM_VERSION "SWAD 17.12 (2017-10-01)"
#define Log_PLATFORM_VERSION "SWAD 17.12.1 (2017-10-01)"
#define CSS_FILE "swad17.0.css"
#define JS_FILE "swad17.12.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 17.12.1: Oct 01, 2017 Fixed bug when printing a project. (231717 lines)
Version 17.12: Oct 01, 2017 Changes in layout of projects. (231712 lines)
Copy the following icons to icon public directory:
sudo cp icon/more64x64.png /var/www/html/swad/icon/

View File

@ -909,11 +909,13 @@ static void Prj_ShowOneProjectTxtField (struct Project *Prj,
Str_InsertLinks (TxtField,Cns_MAX_BYTES_TEXT,60); // Insert links
/***** Write row with label and text *****/
fprintf (Gbl.F.Out,"<tr id=\"%s%u\" style=\"display:none;\">"
"<td colspan=\"3\" class=\"RIGHT_TOP",
id,UniqueId);
if (ProjectView == Prj_LIST_PROJECTS)
fprintf (Gbl.F.Out," COLOR%u",Gbl.RowEvenOdd);
fprintf (Gbl.F.Out,"<tr id=\"%s%u\" style=\"display:none;\">"
"<td colspan=\"3\" class=\"RIGHT_TOP COLOR%u",
id,UniqueId,Gbl.RowEvenOdd);
else
fprintf (Gbl.F.Out,"<tr>"
"<td colspan=\"3\" class=\"RIGHT_TOP");
fprintf (Gbl.F.Out," %s\">"
"%s:"
"</td>"
@ -963,11 +965,13 @@ static void Prj_ShowOneProjectURL (const struct Project *Prj,
/***** Write row with label and text *****/
PutLink = (ProjectView == Prj_LIST_PROJECTS && Prj->URL[0]);
fprintf (Gbl.F.Out,"<tr id=\"%s%u\" style=\"display:none;\">"
"<td colspan=\"3\" class=\"RIGHT_TOP",
id,UniqueId);
if (ProjectView == Prj_LIST_PROJECTS)
fprintf (Gbl.F.Out," COLOR%u",Gbl.RowEvenOdd);
fprintf (Gbl.F.Out,"<tr id=\"%s%u\" style=\"display:none;\">"
"<td colspan=\"3\" class=\"RIGHT_TOP COLOR%u",
id,UniqueId,Gbl.RowEvenOdd);
else
fprintf (Gbl.F.Out,"<tr>"
"<td colspan=\"3\" class=\"RIGHT_TOP");
fprintf (Gbl.F.Out," %s\">"
"%s:"
"</td>"