Version 16.104.2

This commit is contained in:
Antonio Cañas Vargas 2016-12-19 02:22:04 +01:00
parent 00c00a7c29
commit 1cf4391a88
2 changed files with 11 additions and 4 deletions

View File

@ -187,13 +187,14 @@
/****************************** Public constants *****************************/
/*****************************************************************************/
#define Log_PLATFORM_VERSION "SWAD 16.104.1 (2016-12-19)"
#define Log_PLATFORM_VERSION "SWAD 16.104.2 (2016-12-19)"
#define CSS_FILE "swad16.104.css"
#define JS_FILE "swad16.101.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 16.104.2: Dec 19, 2016 New links to phones. (211194 lines)
Version 16.104.1: Dec 19, 2016 New address element. (211187 lines)
Version 16.104: Dec 19, 2016 Change in checkbox to confirm that I have read a course info.
Changes in layout of lists. (211183 lines)

View File

@ -3174,7 +3174,9 @@ static void Rec_ShowLocalPhone (struct UsrData *UsrDat,
Usr_MAX_LENGTH_PHONE,
UsrDat->LocalPhone);
else if (UsrDat->LocalPhone[0])
fprintf (Gbl.F.Out,"%s",UsrDat->LocalPhone);
fprintf (Gbl.F.Out,"<a href=\"tel:%s\" class=\"REC_DAT_BOLD\">%s</a>",
UsrDat->LocalPhone,
UsrDat->LocalPhone);
}
fprintf (Gbl.F.Out,"</td>"
"</tr>");
@ -3236,7 +3238,9 @@ static void Rec_ShowFamilyPhone (struct UsrData *UsrDat,
Usr_MAX_LENGTH_PHONE,
UsrDat->FamilyPhone);
else if (UsrDat->FamilyPhone[0])
fprintf (Gbl.F.Out,"%s",UsrDat->FamilyPhone);
fprintf (Gbl.F.Out,"<a href=\"tel:%s\" class=\"REC_DAT_BOLD\">%s</a>",
UsrDat->FamilyPhone,
UsrDat->FamilyPhone);
}
fprintf (Gbl.F.Out,"</td>"
"</tr>");
@ -3416,7 +3420,9 @@ static void Rec_ShowOfficePhone (struct UsrData *UsrDat,
"<td class=\"REC_C2_BOT REC_DAT_BOLD LEFT_MIDDLE\">",
ClassForm,Txt_Phone);
if (ShowData)
fprintf (Gbl.F.Out,"%s",UsrDat->Tch.OfficePhone);
fprintf (Gbl.F.Out,"<a href=\"tel:%s\" class=\"REC_DAT_BOLD\">%s</a>",
UsrDat->Tch.OfficePhone,
UsrDat->Tch.OfficePhone);
fprintf (Gbl.F.Out,"</td>"
"</tr>");
}