mirror of https://github.com/acanas/swad-core.git
Version 21.91.3: Apr 05, 2022 Changes in syllabus.
This commit is contained in:
parent
e1c94b1c84
commit
22c7189253
|
@ -606,10 +606,11 @@ TODO: Fix bug: error al enviar un mensaje a dos recipientes, error on duplicate
|
|||
|
||||
TODO: Attach pdf files in multimedia.
|
||||
*/
|
||||
#define Log_PLATFORM_VERSION "SWAD 21.91.2 (2022-04-05)"
|
||||
#define Log_PLATFORM_VERSION "SWAD 21.91.3 (2022-04-05)"
|
||||
#define CSS_FILE "swad21.91.2.css"
|
||||
#define JS_FILE "swad21.78.2.js"
|
||||
/*
|
||||
Version 21.91.3: Apr 05, 2022 Changes in syllabus. (323227 lines)
|
||||
Version 21.91.2: Apr 05, 2022 Working on design of dark theme. (323232 lines)
|
||||
Version 21.91.1: Apr 05, 2022 Working on design of dark theme. (323232 lines)
|
||||
Version 21.91: Apr 05, 2022 Working on design of dark theme. (323235 lines)
|
||||
|
|
10
swad_info.c
10
swad_info.c
|
@ -311,16 +311,6 @@ void Inf_ShowInfo (void)
|
|||
Gbl.Crs.Info.Type,
|
||||
&FromDB);
|
||||
|
||||
switch (Gbl.Crs.Info.Type)
|
||||
{
|
||||
case Inf_LECTURES:
|
||||
case Inf_PRACTICALS:
|
||||
Syl_PutFormWhichSyllabus (Syllabus.WhichSyllabus);
|
||||
break;
|
||||
default:
|
||||
break;
|
||||
}
|
||||
|
||||
switch (Gbl.Usrs.Me.Role.Logged)
|
||||
{
|
||||
case Rol_STD:
|
||||
|
|
|
@ -160,14 +160,14 @@ void Syl_PutFormWhichSyllabus (Syl_WhichSyllabus_t SyllabusSelected)
|
|||
|
||||
/***** Form to select which syllabus I want to see (lectures/practicals) *****/
|
||||
Frm_BeginForm (ActSeeSyl);
|
||||
HTM_DIV_Begin ("class=\"CM\"");
|
||||
HTM_UL_Begin ("class=\"LIST_LEFT\"");
|
||||
HTM_DIV_Begin ("class=\"SEL_BELOW_TITLE DAT_%s\"",The_GetSuffix ());
|
||||
HTM_UL_Begin (NULL);
|
||||
|
||||
for (WhichSyl = (Syl_WhichSyllabus_t) 0;
|
||||
WhichSyl <= (Syl_WhichSyllabus_t) (For_NUM_FORUM_SETS - 1);
|
||||
WhichSyl++)
|
||||
{
|
||||
HTM_LI_Begin ("class=\"LM DAT_%s\"",The_GetSuffix ());
|
||||
HTM_LI_Begin (NULL);
|
||||
HTM_LABEL_Begin (NULL);
|
||||
HTM_INPUT_RADIO ("WhichSyllabus",true,
|
||||
"value=\"%u\"%s",
|
||||
|
@ -526,19 +526,24 @@ static void Syl_ShowSyllabus (struct Syl_Syllabus *Syllabus)
|
|||
Gbl.Usrs.Me.Role.Logged == Rol_SYS_ADM;
|
||||
bool PutIconToEdit = ICanEdit && !Syllabus->EditionIsActive;
|
||||
|
||||
/***** Begin box and table *****/
|
||||
/***** Begin box *****/
|
||||
if (PutIconToEdit)
|
||||
Box_BoxTableBegin (NULL,Txt_INFO_TITLE[Gbl.Crs.Info.Type],
|
||||
Box_BoxBegin (NULL,Txt_INFO_TITLE[Gbl.Crs.Info.Type],
|
||||
Inf_PutIconToEditInfo,&Gbl.Crs.Info.Type,
|
||||
Syllabus->EditionIsActive ? Hlp_COURSE_Syllabus_edit :
|
||||
Hlp_COURSE_Syllabus,
|
||||
Box_NOT_CLOSABLE,0);
|
||||
Box_NOT_CLOSABLE);
|
||||
else
|
||||
Box_BoxTableBegin (NULL,Txt_INFO_TITLE[Gbl.Crs.Info.Type],
|
||||
Box_BoxBegin (NULL,Txt_INFO_TITLE[Gbl.Crs.Info.Type],
|
||||
NULL,NULL,
|
||||
Syllabus->EditionIsActive ? Hlp_COURSE_Syllabus_edit :
|
||||
Hlp_COURSE_Syllabus,
|
||||
Box_NOT_CLOSABLE,0);
|
||||
Box_NOT_CLOSABLE);
|
||||
|
||||
Syl_PutFormWhichSyllabus (Syllabus->WhichSyllabus);
|
||||
|
||||
/***** Begin table *****/
|
||||
HTM_TABLE_BeginWide ();
|
||||
|
||||
/***** Set width of columns of the table *****/
|
||||
HTM_Txt ("<colgroup>");
|
||||
|
|
36
swad_text.c
36
swad_text.c
|
@ -16824,44 +16824,44 @@ const char *Txt_INFO_TITLE[Inf_NUM_TYPES] =
|
|||
,
|
||||
[Inf_LECTURES] =
|
||||
#if L==1 // ca
|
||||
"Temari teoria"
|
||||
"Temari"
|
||||
#elif L==2 // de
|
||||
"Studienplan (Vorlesungen)"
|
||||
"Studienplan"
|
||||
#elif L==3 // en
|
||||
"Topics (lectures)"
|
||||
"Topics"
|
||||
#elif L==4 // es
|
||||
"Temario teoría"
|
||||
"Temario"
|
||||
#elif L==5 // fr
|
||||
"Plan théorie"
|
||||
"Plan"
|
||||
#elif L==6 // gn
|
||||
"Temario teoría" // Okoteve traducción
|
||||
"Temario" // Okoteve traducción
|
||||
#elif L==7 // it
|
||||
"Temi teoria"
|
||||
"Temi"
|
||||
#elif L==8 // pl
|
||||
"Sylabus (wyklady)"
|
||||
"Sylabus"
|
||||
#elif L==9 // pt
|
||||
"Conteúdo teoria"
|
||||
"Conteúdo"
|
||||
#endif
|
||||
,
|
||||
[Inf_PRACTICALS] =
|
||||
#if L==1 // ca
|
||||
"Temari pràctiques"
|
||||
"Temari"
|
||||
#elif L==2 // de
|
||||
"Studienplan (Übungen)"
|
||||
"Studienplan"
|
||||
#elif L==3 // en
|
||||
"Topics (practicals)"
|
||||
"Topics"
|
||||
#elif L==4 // es
|
||||
"Temario prácticas"
|
||||
"Temario"
|
||||
#elif L==5 // fr
|
||||
"Temi pratique"
|
||||
"Plan"
|
||||
#elif L==6 // gn
|
||||
"Temario prácticas" // Okoteve traducción
|
||||
"Temario" // Okoteve traducción
|
||||
#elif L==7 // it
|
||||
"Programma pratica"
|
||||
"Temi"
|
||||
#elif L==8 // pl
|
||||
"Sylabus (practicals)"
|
||||
"Sylabus"
|
||||
#elif L==9 // pt
|
||||
"Conteúdo prática"
|
||||
"Conteúdo"
|
||||
#endif
|
||||
,
|
||||
[Inf_BIBLIOGRAPHY] =
|
||||
|
|
Loading…
Reference in New Issue