Version19.128.7

This commit is contained in:
Antonio Cañas Vargas 2020-02-19 21:54:23 +01:00
parent 3ca3b7e1fd
commit 60205a8c16
7 changed files with 31 additions and 18 deletions

View File

@ -609,6 +609,7 @@ CREATE TABLE IF NOT EXISTS gam_games (
Hidden ENUM('N','Y') NOT NULL DEFAULT 'N',
UsrCod INT NOT NULL,
MaxGrade DOUBLE PRECISION NOT NULL DEFAULT 1,
Visibility INT NOT NULL DEFAULT 0x1f,
Title VARCHAR(2047) NOT NULL,
Txt TEXT NOT NULL,
UNIQUE INDEX(GamCod),

View File

@ -497,7 +497,7 @@ enscript -2 --landscape --color --file-align=2 --highlight --line-numbers -o - *
En OpenSWAD:
ps2pdf source.ps destination.pdf
*/
#define Log_PLATFORM_VERSION "SWAD 19.128.6 (2020-02-19)"
#define Log_PLATFORM_VERSION "SWAD 19.128.7 (2020-02-19)"
#define CSS_FILE "swad19.118.css"
#define JS_FILE "swad19.91.1.js"
/*
@ -521,6 +521,8 @@ Param
// TODO: No se puede entrar con DNI '1' suponiendo que no tenga password ¿por qué?
// TODO: En la lista de conectados central, poner el logo de la institución a la que pertenece el usuario
Version 19.128.7: Feb 19, 2020 Programa is changed by Temario.
Fixed bug in plugins. (279167 lines)
Version 19.128.6: Feb 19, 2020 Visibility added to API function getTestConfig. (279156 lines)
Version 19.128.5: Feb 19, 2020 Visibility added to API function getGames. (279151 lines)
Version 19.128.4: Feb 19, 2020 Increased separation between answers in matches, suggested by Jesús González Peñalver. (279151 lines)

View File

@ -1313,18 +1313,19 @@ mysql> DESCRIBE forum_thread;
/***** Table gam_games *****/
/*
mysql> DESCRIBE gam_games;
+----------+---------------+------+-----+---------+----------------+
| Field | Type | Null | Key | Default | Extra |
+----------+---------------+------+-----+---------+----------------+
| GamCod | int(11) | NO | PRI | NULL | auto_increment |
| CrsCod | int(11) | NO | MUL | -1 | |
| Hidden | enum('N','Y') | NO | | N | |
| UsrCod | int(11) | NO | | NULL | |
| MaxGrade | double | NO | | 1 | |
| Title | varchar(2047) | NO | | NULL | |
| Txt | text | NO | | NULL | |
+----------+---------------+------+-----+---------+----------------+
7 rows in set (0.00 sec)
+------------+---------------+------+-----+---------+----------------+
| Field | Type | Null | Key | Default | Extra |
+------------+---------------+------+-----+---------+----------------+
| GamCod | int(11) | NO | PRI | NULL | auto_increment |
| CrsCod | int(11) | NO | MUL | -1 | |
| Hidden | enum('N','Y') | NO | | N | |
| UsrCod | int(11) | NO | | NULL | |
| MaxGrade | double | NO | | 1 | |
| Visibility | int(11) | NO | | 31 | |
| Title | varchar(2047) | NO | | NULL | |
| Txt | text | NO | | NULL | |
+------------+---------------+------+-----+---------+----------------+
8 rows in set (0.00 sec)
*/
DB_CreateTable ("CREATE TABLE IF NOT EXISTS gam_games ("
"GamCod INT NOT NULL AUTO_INCREMENT,"

View File

@ -391,6 +391,7 @@ static void Plg_ListPluginsForEdition (void)
{
Plg = &Gbl.Plugins.Lst[NumPlg];
/* Row begin */
HTM_TR_Begin (NULL);
/* Put icon to remove plugin */
@ -469,6 +470,8 @@ static void Plg_ListPluginsForEdition (void)
"size=\"10\"");
Frm_EndForm ();
HTM_TD_End ();
/* Row end */
HTM_TR_End ();
}
@ -871,6 +874,9 @@ static void Plg_PutFormToCreatePlugin (void)
HTM_TR_End ();
/***** Row begin *****/
HTM_TR_Begin (NULL);
/***** Plugin name *****/
HTM_TD_Begin ("class=\"CM\"");
HTM_INPUT_TEXT ("Name",Plg_MAX_CHARS_PLUGIN_NAME,Plg_EditingPlg->Name,false,
@ -908,6 +914,7 @@ static void Plg_PutFormToCreatePlugin (void)
"size=\"10\" required=\"required\"");
HTM_TD_End ();
/***** Row end *****/
HTM_TR_End ();
/***** End table, send button and end box *****/

View File

@ -29,6 +29,7 @@
#include <stdbool.h> // For boolean type
#include <stddef.h> // For NULL
#include <stdio.h> // For asprintf
#include <stdlib.h> // For free
#include "swad_action.h"
#include "swad_database.h"

View File

@ -27,6 +27,7 @@
#define _GNU_SOURCE // For asprintf
#include <stdio.h> // For asprintf
#include <stdlib.h> // For malloc, free
#include "swad_HTML.h"
#include "swad_parameter.h"

View File

@ -19246,23 +19246,23 @@ const char *Txt_MENU_TITLE[Tab_NUM_TABS][Act_MAX_OPTIONS_IN_MENU_PER_TAB] =
,
// 2: ActSeeSyl
#if L==1 // ca
"Programa"
"Temari"
#elif L==2 // de
"Studienplan"
#elif L==3 // en
"Syllabus"
#elif L==4 // es
"Programa"
"Temario"
#elif L==5 // fr
"Plan"
#elif L==6 // gn
"Programa" // Okoteve traducción
"Temario" // Okoteve traducción
#elif L==7 // it
"Programma"
#elif L==8 // pl
"Syllabus"
"Sylabus"
#elif L==9 // pt
"Programa"
"Conte&uacute;do"
#endif
,
// 3: ActSeeBib