Version 21.32.3: Oct 14, 2021 Fixed bug in institutional links.

This commit is contained in:
acanas 2021-10-14 17:11:23 +02:00
parent 14bf9acd64
commit fe8f68723a
4 changed files with 15 additions and 10 deletions

View File

@ -602,13 +602,14 @@ TODO: FIX BUG, URGENT! En las fechas como par
TODO: En las encuestas, que los estudiantes no puedan ver los resultados hasta que no finalice el plazo.
*/
#define Log_PLATFORM_VERSION "SWAD 21.32.2 (2021-10-13)"
#define Log_PLATFORM_VERSION "SWAD 21.32.3 (2021-10-14)"
#define CSS_FILE "swad20.45.css"
#define JS_FILE "swad20.69.1.js"
/*
TODO: Rename CENTRE to CENTER in help wiki.
TODO: Rename ASSESSMENT.Announcements to ASSESSMENT.Calls_for_exams
Version 21.32.3: Oct 14, 2021 Fixed bug in institutional links. (319792 lines)
Version 21.32.2: Oct 13, 2021 Queries moved from RSS to other modules. (319785 lines)
Version 21.32.1: Oct 13, 2021 Queries moved to module swad_role_database. (319787 lines)
Version 21.32: Oct 13, 2021 New module swad_role_database for database queries related to user roles. (319611 lines)

View File

@ -348,13 +348,18 @@ static void Lnk_GetDataOfLink (MYSQL_RES *mysql_res,struct Link *Lnk)
/***** Get row *****/
row = mysql_fetch_row (mysql_res);
/***** Get the short name (row[0]),
the full name (row[1])
and the URL (row[2]) of the link *****/
Str_Copy (Lnk->ShrtName,row[0],sizeof (Lnk->ShrtName) - 1);
Str_Copy (Lnk->FullName,row[1],sizeof (Lnk->FullName) - 1);
Str_Copy (Lnk->WWW ,row[2],sizeof (Lnk->WWW ) - 1);
/*
row[0] LnkCod
row[1] ShortName
row[2] FullName
row[3] WWW
*/
/***** Get the short name (row[1]),
the full name (row[2])
and the URL (row[3]) of the link *****/
Str_Copy (Lnk->ShrtName,row[1],sizeof (Lnk->ShrtName) - 1);
Str_Copy (Lnk->FullName,row[2],sizeof (Lnk->FullName) - 1);
Str_Copy (Lnk->WWW ,row[3],sizeof (Lnk->WWW ) - 1);
}
/*****************************************************************************/

View File

@ -1376,4 +1376,3 @@ void Sch_PutLinkToSearchCoursesParams (__attribute__((unused)) void *Args)
Sco_PutParamScope ("ScopeSch",HieLvl_SYS);
Par_PutHiddenParamUnsigned (NULL,"WhatToSearch",(unsigned) Sch_SEARCH_COURSES);
}

View File

@ -18641,7 +18641,7 @@ const char *Txt_Links =
#elif L==5 // fr
"Liens";
#elif L==6 // gn
"Enlaces"; // Okoteve traducción
"Ambuére joaju";
#elif L==7 // it
"Link";
#elif L==8 // pl