From f035e55bd68e06f724a1281a791182763d3deb88 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Antonio=20Ca=C3=B1as=20Vargas?= Date: Mon, 8 Oct 2018 14:11:21 +0200 Subject: [PATCH] Version 18.2.2 --- Makefile | 2 +- css/{swad17.25.4.css => swad18.2.2.css} | 8 +++ swad_changelog.h | 5 +- swad_department.c | 6 +-- swad_department.h | 2 +- swad_indicator.c | 2 +- swad_project.c | 4 +- swad_record.c | 69 +++++++++++-------------- swad_text.c | 21 -------- 9 files changed, 48 insertions(+), 71 deletions(-) rename css/{swad17.25.4.css => swad18.2.2.css} (99%) diff --git a/Makefile b/Makefile index c687294ae..98233bab8 100644 --- a/Makefile +++ b/Makefile @@ -66,7 +66,7 @@ CC = gcc # LIBS when using MariaDB (also valid with MySQL): LIBS = -lssl -lcrypto -lpthread -lrt -lmysqlclient -lz -L/usr/lib64/mysql -lm -lgsoap -CFLAGS = -Wall -Wextra -mtune=native -O0 -s +CFLAGS = -Wall -Wextra -mtune=native -O2 -s all: swad_ca swad_de swad_en swad_es swad_fr swad_gn swad_it swad_pl swad_pt diff --git a/css/swad17.25.4.css b/css/swad18.2.2.css similarity index 99% rename from css/swad17.25.4.css rename to css/swad18.2.2.css index 4bbdefdf2..ce65cd20f 100644 --- a/css/swad17.25.4.css +++ b/css/swad18.2.2.css @@ -2272,6 +2272,10 @@ a:hover img.CENTRE_PHOTO_SHOW margin:0; padding-left:1em; } +.PRJ_INPUT + { + max-width:500px; + } /********************************** Tests ************************************/ .TAG_SEL {box-sizing:border-box; width:346px;} @@ -3269,6 +3273,10 @@ a.PAG:hover, .PAG_CUR font-size:12pt; font-weight:bold; } +.INDICATORS_INPUT + { + max-width:500px; + } /********************* Used to align buttons in account forms ****************/ .FORM_ACCOUNT diff --git a/swad_changelog.h b/swad_changelog.h index 7a6459f15..bc06d31c1 100644 --- a/swad_changelog.h +++ b/swad_changelog.h @@ -355,10 +355,11 @@ En OpenSWAD: ps2pdf source.ps destination.pdf */ -#define Log_PLATFORM_VERSION "SWAD 18.2.1 (2018-10-08)" -#define CSS_FILE "swad17.25.4.css" +#define Log_PLATFORM_VERSION "SWAD 18.2.2 (2018-10-08)" +#define CSS_FILE "swad18.2.2.css" #define JS_FILE "swad17.17.1.js" /* + Version 18.2.2: Oct 08, 2018 Changes in edition of user's institution, centre, department... (234968 lines) Version 18.2.1: Oct 08, 2018 Changes in edition of user's institution, centre, department... (234989 lines) Version 18.2: Oct 08, 2018 Changes in layout of record card. (234980 lines) Version 18.1.6: Oct 07, 2018 Icon to change user's institution is moved to record card. (234963 lines) diff --git a/swad_department.c b/swad_department.c index ae57fd319..a2bffb02c 100644 --- a/swad_department.c +++ b/swad_department.c @@ -1111,7 +1111,7 @@ unsigned Dpt_GetNumDptsInIns (long InsCod) /*****************************************************************************/ void Dpt_WriteSelectorDepartment (long InsCod,long DptCod, - unsigned SelectorWidth, // In pixels + const char *SelectClass, long FirstOption, const char *TextWhenNoDptSelected, bool SubmitFormOnChange) @@ -1126,9 +1126,9 @@ void Dpt_WriteSelectorDepartment (long InsCod,long DptCod, /***** Selector to select department *****/ /* Start selector */ fprintf (Gbl.F.Out,"" "