From eddc7e7849a0497e7e7fdb24c9513653d5373924 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Antonio=20Ca=C3=B1as=20Vargas?= Date: Thu, 23 Mar 2017 20:16:19 +0100 Subject: [PATCH] Version 16.162 --- swad_changelog.h | 3 ++- swad_degree_type.c | 22 ++-------------------- swad_text.c | 42 ------------------------------------------ 3 files changed, 4 insertions(+), 63 deletions(-) diff --git a/swad_changelog.h b/swad_changelog.h index ad63f5bd6..8b0d18fb0 100644 --- a/swad_changelog.h +++ b/swad_changelog.h @@ -209,13 +209,14 @@ /****************************** Public constants *****************************/ /*****************************************************************************/ -#define Log_PLATFORM_VERSION "SWAD 16.161.8 (2017-03-23)" +#define Log_PLATFORM_VERSION "SWAD 16.162 (2017-03-23)" #define CSS_FILE "swad16.161.css" #define JS_FILE "swad16.144.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.162: Mar 23, 2017 Changes in layout of types of degree. (217330 lines) Version 16.161.8: Mar 23, 2017 Some help URLs translated to spanish. (217386 lines) Version 16.161.7: Mar 23, 2017 Some help URLs translated to spanish. (217385 lines) Version 16.161.6: Mar 23, 2017 Some help URLs translated to spanish. (217384 lines) diff --git a/swad_degree_type.c b/swad_degree_type.c index 6b1fa001e..96c951ba2 100644 --- a/swad_degree_type.c +++ b/swad_degree_type.c @@ -192,8 +192,6 @@ static void DT_ListDegreeTypesForSeeing (void) { extern const char *Hlp_SYSTEM_Studies; extern const char *Txt_Types_of_degree; - extern const char *Txt_TYPES_OF_DEGREE_With_degrees; - extern const char *Txt_TYPES_OF_DEGREE_Without_degrees; unsigned NumDegTyp; const char *BgColor; @@ -213,24 +211,9 @@ static void DT_ListDegreeTypesForSeeing (void) Gbl.CurrentDegTyp.DegTyp.DegTypCod) ? "LIGHT_BLUE" : Gbl.ColorRows[Gbl.RowEvenOdd]; - /* Put green tip if degree type has degrees */ - fprintf (Gbl.F.Out,"" - "" - "\"%s\"" - "", - BgColor, - Gbl.Prefs.IconsURL, - Gbl.Degs.DegTypes.Lst[NumDegTyp].NumDegs ? "ok_green" : - "tr", - Gbl.Degs.DegTypes.Lst[NumDegTyp].NumDegs ? Txt_TYPES_OF_DEGREE_With_degrees : - Txt_TYPES_OF_DEGREE_Without_degrees, - Gbl.Degs.DegTypes.Lst[NumDegTyp].NumDegs ? Txt_TYPES_OF_DEGREE_With_degrees : - Txt_TYPES_OF_DEGREE_Without_degrees); - /* Name of degree type */ - fprintf (Gbl.F.Out,"" + fprintf (Gbl.F.Out,"" + "" "%s" "", BgColor,Gbl.Degs.DegTypes.Lst[NumDegTyp].DegTypName); @@ -380,7 +363,6 @@ static void DT_PutHeadDegreeTypesForSeeing (void) extern const char *Txt_Degrees; fprintf (Gbl.F.Out,"" - "" "" "%s" "" diff --git a/swad_text.c b/swad_text.c index 1ef6da7ae..73e28bb9f 100644 --- a/swad_text.c +++ b/swad_text.c @@ -49314,48 +49314,6 @@ const char *Txt_Types_of_degree = "Tipos de titulação"; #endif -const char *Txt_TYPES_OF_DEGREE_With_degrees = -#if L==1 - "Amb titulacions"; -#elif L==2 - "Mit Studiengang"; -#elif L==3 - "With degrees"; -#elif L==4 - "Con titulaciones"; -#elif L==5 - "Avec études"; -#elif L==6 - "Con titulaciones"; // Okoteve traducción -#elif L==7 - "Con lauree"; -#elif L==8 - "Z Stopnie"; -#elif L==9 - "Com titulaçoes"; -#endif - -const char *Txt_TYPES_OF_DEGREE_Without_degrees = -#if L==1 - "Sense titulacions"; -#elif L==2 - "Ohne Studiengang"; -#elif L==3 - "Without degrees"; -#elif L==4 - "Sin titulaciones"; -#elif L==5 - "Sans études"; -#elif L==6 - "Sin titulaciones"; // Okoteve traducción -#elif L==7 - "Senza lauree"; -#elif L==8 - "Bez Stopnie"; -#elif L==9 - "Sem titulaçoes"; -#endif - const char *Txt_Types_of_answers = // Answers of a test #if L==1 "Tipus de respostes";