Version 18.20

This commit is contained in:
Antonio Cañas Vargas 2018-12-08 12:56:19 +01:00
parent 57c6ed0fa7
commit ce49fae610
5 changed files with 163 additions and 1299 deletions

View File

@ -72,51 +72,51 @@ CFLAGS = -Wall -Wextra -mtune=native -Os -s
all: swad_ca swad_de swad_en swad_es swad_fr swad_gn swad_it swad_pl swad_pt
swad_ca: $(OBJS) $(SOAPOBJS) $(SHAOBJS)
$(CC) $(CFLAGS) -c -D L=1 swad_help_URL.c swad_text.c
$(CC) $(CFLAGS) -o $@ $(OBJS) swad_help_URL.o swad_text.o $(SOAPOBJS) $(SHAOBJS) $(LIBS)
$(CC) $(CFLAGS) -c -D L=1 swad_help_URL.c swad_text.c swad_text_no_html.c
$(CC) $(CFLAGS) -o $@ $(OBJS) swad_help_URL.o swad_text.o swad_text_no_html.o $(SOAPOBJS) $(SHAOBJS) $(LIBS)
chmod a+x $@
swad_de: $(OBJS) $(SOAPOBJS)
$(CC) $(CFLAGS) -c -D L=2 swad_help_URL.c swad_text.c
$(CC) $(CFLAGS) -o $@ $(OBJS) swad_help_URL.o swad_text.o $(SOAPOBJS) $(SHAOBJS) $(LIBS)
$(CC) $(CFLAGS) -c -D L=2 swad_help_URL.c swad_text.c swad_text_no_html.c
$(CC) $(CFLAGS) -o $@ $(OBJS) swad_help_URL.o swad_text.o swad_text_no_html.o $(SOAPOBJS) $(SHAOBJS) $(LIBS)
chmod a+x $@
swad_en: $(OBJS) $(SOAPOBJS)
$(CC) $(CFLAGS) -c -D L=3 swad_help_URL.c swad_text.c
$(CC) $(CFLAGS) -o $@ $(OBJS) swad_help_URL.o swad_text.o $(SOAPOBJS) $(SHAOBJS) $(LIBS)
$(CC) $(CFLAGS) -c -D L=3 swad_help_URL.c swad_text.c swad_text_no_html.c
$(CC) $(CFLAGS) -o $@ $(OBJS) swad_help_URL.o swad_text.o swad_text_no_html.o $(SOAPOBJS) $(SHAOBJS) $(LIBS)
chmod a+x $@
swad_es: $(OBJS) $(SOAPOBJS)
$(CC) $(CFLAGS) -c -D L=4 swad_help_URL.c swad_text.c
$(CC) $(CFLAGS) -o $@ $(OBJS) swad_help_URL.o swad_text.o $(SOAPOBJS) $(SHAOBJS) $(LIBS)
$(CC) $(CFLAGS) -c -D L=4 swad_help_URL.c swad_text.c swad_text_no_html.c
$(CC) $(CFLAGS) -o $@ $(OBJS) swad_help_URL.o swad_text.o swad_text_no_html.o $(SOAPOBJS) $(SHAOBJS) $(LIBS)
chmod a+x $@
swad_fr: $(OBJS) $(SOAPOBJS)
$(CC) $(CFLAGS) -c -D L=5 swad_help_URL.c swad_text.c
$(CC) $(CFLAGS) -o $@ $(OBJS) swad_help_URL.o swad_text.o $(SOAPOBJS) $(SHAOBJS) $(LIBS)
$(CC) $(CFLAGS) -c -D L=5 swad_help_URL.c swad_text.c swad_text_no_html.c
$(CC) $(CFLAGS) -o $@ $(OBJS) swad_help_URL.o swad_text.o swad_text_no_html.o $(SOAPOBJS) $(SHAOBJS) $(LIBS)
chmod a+x $@
swad_gn: $(OBJS) $(SOAPOBJS)
$(CC) $(CFLAGS) -c -D L=6 swad_help_URL.c swad_text.c
$(CC) $(CFLAGS) -o $@ $(OBJS) swad_help_URL.o swad_text.o $(SOAPOBJS) $(SHAOBJS) $(LIBS)
$(CC) $(CFLAGS) -c -D L=6 swad_help_URL.c swad_text.c swad_text_no_html.c
$(CC) $(CFLAGS) -o $@ $(OBJS) swad_help_URL.o swad_text.o swad_text_no_html.o $(SOAPOBJS) $(SHAOBJS) $(LIBS)
chmod a+x $@
swad_it: $(OBJS) $(SOAPOBJS)
$(CC) $(CFLAGS) -c -D L=7 swad_help_URL.c swad_text.c
$(CC) $(CFLAGS) -o $@ $(OBJS) swad_help_URL.o swad_text.o $(SOAPOBJS) $(SHAOBJS) $(LIBS)
$(CC) $(CFLAGS) -c -D L=7 swad_help_URL.c swad_text.c swad_text_no_html.c
$(CC) $(CFLAGS) -o $@ $(OBJS) swad_help_URL.o swad_text.o swad_text_no_html.o $(SOAPOBJS) $(SHAOBJS) $(LIBS)
chmod a+x $@
swad_pl: $(OBJS) $(SOAPOBJS)
$(CC) $(CFLAGS) -c -D L=8 swad_help_URL.c swad_text.c
$(CC) $(CFLAGS) -o $@ $(OBJS) swad_help_URL.o swad_text.o $(SOAPOBJS) $(SHAOBJS) $(LIBS)
$(CC) $(CFLAGS) -c -D L=8 swad_help_URL.c swad_text.c swad_text_no_html.c
$(CC) $(CFLAGS) -o $@ $(OBJS) swad_help_URL.o swad_text.o swad_text_no_html.o $(SOAPOBJS) $(SHAOBJS) $(LIBS)
chmod a+x $@
swad_pt: $(OBJS) $(SOAPOBJS)
$(CC) $(CFLAGS) -c -D L=9 swad_help_URL.c swad_text.c
$(CC) $(CFLAGS) -o $@ $(OBJS) swad_help_URL.o swad_text.o $(SOAPOBJS) $(SHAOBJS) $(LIBS)
$(CC) $(CFLAGS) -c -D L=9 swad_help_URL.c swad_text.c swad_text_no_html.c
$(CC) $(CFLAGS) -o $@ $(OBJS) swad_help_URL.o swad_text.o swad_text_no_html.o $(SOAPOBJS) $(SHAOBJS) $(LIBS)
chmod a+x $@
.PHONY: clean
clean:
rm -f swad swad_ca swad_de swad_en swad_es swad_fr swad_gn swad_it swad_pl swad_pt swad_help_URL.o swad_text.o $(OBJS)
rm -f swad swad_ca swad_de swad_en swad_es swad_fr swad_gn swad_it swad_pl swad_pt swad_help_URL.o swad_text.o swad_text_no_html.o $(OBJS)

View File

@ -24,6 +24,16 @@
along with this program. If not, see <http://www.gnu.org/licenses/>.
*/
/*
Sabies que pots utilitzar SWAD en català? https://swad.ugr.es/ca
Wussten Sie, dass Sie verwenden können, SWAD auf Deutsch? https://swad.ugr.es/de
Did you know that you can use SWAD in English? https://swad.ugr.es/en
Saviez-vous que vous pouvez utiliser SWAD en français? https://swad.ugr.es/fr
Lo sapevate che è possibile utilizzare SWAD in italiano? https://swad.ugr.es/it
Czy wiesz, ze mozesz uzywac SWAD po polsku? https://swad.ugr.es/pl
Sabia que você pode usar SWAD em portugués? https://swad.ugr.es/pt
*/
/*****************************************************************************/
/*********************************** TODO ************************************/
/*****************************************************************************/
@ -350,10 +360,12 @@ En OpenSWAD:
ps2pdf source.ps destination.pdf
*/
#define Log_PLATFORM_VERSION "SWAD 18.19 (2018-12-03)"
#define Log_PLATFORM_VERSION "SWAD 18.20 (2018-12-08)"
#define CSS_FILE "swad18.4.css"
#define JS_FILE "swad17.17.1.js"
/*
Version 18.20: Dec 08, 2018 New module swad_text_no_html for messages without HTML entities.
Changed translation of degree in portuguese. (237124 lines)
Version 18.19: Dec 03, 2018 Links to attendance events in attendance list. (237054 lines)
Version 18.18.4: Dec 03, 2018 Removed MOOC advertisement. (237034 lines)
Version 18.18.3: Nov 20, 2018 Fixed bug in user's public profile. (237031 lines)

File diff suppressed because it is too large Load Diff

View File

@ -51,6 +51,10 @@ typedef enum
Txt_LANGUAGE_PT = 9,
} Txt_Language_t; // ISO 639-1 language codes
#ifndef L
#define L 3 // English
#endif
/*****************************************************************************/
/****************************** Public prototypes ****************************/
/*****************************************************************************/

View File

@ -2542,11 +2542,11 @@ void Usr_WelcomeUsr (void)
Ale_ShowAlert (Ale_INFO,Txt_Welcome[Gbl.Usrs.Me.UsrDat.Sex]);
/***** Institutional video *****/
/*
Ale_ShowAlert (Ale_INFO,
"<a href=\"https://abierta.ugr.es/creative_commons/\" target=\"_blank\">"
"Curso MOOC LICENCIAS CREATIVE COMMONS Y OER</a><br />"
// "Reconocimiento de 1 cr&eacute;dito por actividades universitarias<br />"
"Reconocimiento de 1 cr&eacute;dito por actividades universitarias<br />"
"&iexcl;&Uacute;ltimos d&iacute;as!<br />"
"<br />"
"<video style=\"width:480px; height:270px;\""
" poster=\"/img/abierta-ugr-creative-commons1280x720.jpg\""
@ -2557,7 +2557,6 @@ void Usr_WelcomeUsr (void)
" class=\"img-responsive\""
" alt=\"Responsive image\">"
"</video>");
*/
/***** Warning to confirm my email address *****/
if (Gbl.Usrs.Me.UsrDat.Email[0] &&