From ea5db6ba53feb54d6dbe17f4819774f896831650 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Antonio=20Ca=C3=B1as=20Vargas?= Date: Mon, 18 Nov 2019 09:59:00 +0100 Subject: [PATCH] Version19.70.5 --- swad_changelog.h | 5 +++-- swad_chat.c | 8 +++++--- 2 files changed, 8 insertions(+), 5 deletions(-) diff --git a/swad_changelog.h b/swad_changelog.h index 1b96ebb3d..3676c7751 100644 --- a/swad_changelog.h +++ b/swad_changelog.h @@ -488,14 +488,15 @@ enscript -2 --landscape --color --file-align=2 --highlight --line-numbers -o - * En OpenSWAD: ps2pdf source.ps destination.pdf */ -#define Log_PLATFORM_VERSION "SWAD 19.70.4 (2019-11-17)" +#define Log_PLATFORM_VERSION "SWAD 19.70.5 (2019-11-17)" #define CSS_FILE "swad19.70.css" #define JS_FILE "swad19.70.js" /* // TODO: Hacer un nuevo rol en los TFG: tutor externo (profesor de áreas no vinculadas con el centro, profesionales de empresas, etc.) // TODO: Impedir la creación y edición de proyectos si no son editables. - Version 19.70.4: Nov 17, 2019 Converting links to buttons. (? lines) + Version 19.70.5: Nov 17, 2019 Converting links to buttons. (247064 lines) + Version 19.70.4: Nov 17, 2019 Converting links to buttons. (247063 lines) Version 19.70.3: Nov 17, 2019 Converting links to buttons. (247067 lines) Version 19.70.2: Nov 17, 2019 Converting links to buttons. (247062 lines) Version 19.70.1: Nov 17, 2019 Converting links to buttons. diff --git a/swad_chat.c b/swad_chat.c index 87acdfdce..58d5dc1e4 100644 --- a/swad_chat.c +++ b/swad_chat.c @@ -304,13 +304,14 @@ void Cht_ShowListOfChatRoomsWithUsrs (void) static void Cht_WriteLinkToChat1 (const char *RoomCode,const char *RoomShrtName,const char *RoomFullName, unsigned Level,bool IsLastItemInLevel[1 + Cht_CHAT_MAX_LEVELS]) { - extern const char *The_ClassFormInBox[The_NUM_THEMES]; + extern const char *The_ClassFormLink[The_NUM_THEMES]; HTM_LI_Begin (NULL); Lay_IndentDependingOnLevel (Level,IsLastItemInLevel); Frm_StartForm (ActCht); Cht_WriteParamsRoomCodeAndNames (RoomCode,RoomShrtName,RoomFullName); - Frm_LinkFormSubmit (RoomFullName,The_ClassFormInBox[Gbl.Prefs.Theme],NULL); + + HTM_BUTTON_Begin (RoomFullName,The_ClassFormLink[Gbl.Prefs.Theme],NULL); } static void Cht_WriteLinkToChat2 (const char *RoomCode,const char *RoomFullName) @@ -328,7 +329,8 @@ static void Cht_WriteLinkToChat2 (const char *RoomCode,const char *RoomFullName) HTM_TxtF (" [1 %s]",Txt_connected_SINGULAR); if (NumUsrsInRoom) HTM_STRONG_End (); - Frm_LinkFormEnd (); + HTM_BUTTON_End (); + Frm_EndForm (); HTM_LI_End (); }