Version 17.26.6

This commit is contained in:
Antonio Cañas Vargas 2017-11-30 10:08:37 +01:00
parent b7a79e7b8a
commit 7d597c4322
4 changed files with 22 additions and 6 deletions

View File

@ -260,17 +260,33 @@
// TODO: After "Do not show it again" nothing is displayed.
// TODO: Non-editing teachers should can control assistance of students in their groups
// TODO: Enviar correo a todos los profesores de una asignatura, sugerido por Pedro Villar Castro
/*****************************************************************************/
/****************************** Public constants *****************************/
/*****************************************************************************/
#define Log_PLATFORM_VERSION "SWAD 17.26.3 (2017-11-13)"
#define Log_PLATFORM_VERSION "SWAD 17.26.6 (2017-11-30)"
#define CSS_FILE "swad17.25.4.css"
#define JS_FILE "swad17.17.1.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
/* Printing:
En local:
enscript -1 --file-align=2 --highlight --line-numbers -o - * > swad17.26.5_bn_1_columna.ps
enscript -1 --color --file-align=2 --highlight --line-numbers -o - * > swad17.26.5_color_1_columna.ps
enscript -2 --landscape --file-align=2 --highlight --line-numbers -o - * > swad17.26.5_bn_2_columnas.ps
enscript -2 --landscape --color --file-align=2 --highlight --line-numbers -o - * > swad17.26.5_color_2_columnas.ps
En OpenSWAD:
ps2pdf fuente.ps destino.pdf
*/
/*
Version 17.26.6: Nov 30, 2017 Fixed bug in surveys. (234400 lines)
Version 17.26.5: Nov 26, 2017 Maximum number of columns in class photo changed from 50 to 100. (234391 lines)
Version 17.26.4: Nov 13, 2017 Session expires in 8 hours. (234388 lines)
Version 17.26.3: Nov 13, 2017 Fixed bug converting string to Title (for example in surnames). (234387 lines)
Version 17.26.2: Nov 12, 2017 Fixed bug in marks, reported by Francisco Ocaña Lara. (234383 lines)
Version 17.26.1: Nov 10, 2017 Default theme is white. (234380 lines)

View File

@ -453,8 +453,8 @@
#define Cfg_TIMES_PER_SECOND_REFRESH_CONNECTED 2 // Execute this CGI to refresh connected users about these times per second
#define Cfg_MIN_TIME_TO_REFRESH_CONNECTED ((time_t)( 60UL)) // Refresh period of connected users in seconds
#define Cfg_MAX_TIME_TO_REFRESH_CONNECTED ((time_t)( 15UL * 60UL)) // Refresh period of connected users in seconds
#define Cfg_TIME_TO_CLOSE_SESSION_FROM_LAST_REFRESH ((time_t)(Cfg_MAX_TIME_TO_REFRESH_CONNECTED * 2)) // After these seconds without refresh of connected users, session is closed
#define Cfg_TIME_TO_CLOSE_SESSION_FROM_LAST_CLICK ((time_t)( 2 * 60UL * 60UL)) // After these seconds without user's clicks, session is closed
#define Cfg_TIME_TO_CLOSE_SESSION_FROM_LAST_REFRESH ((time_t)(Cfg_MAX_TIME_TO_REFRESH_CONNECTED * 4)) // After these seconds without refresh of connected users, session is closed
#define Cfg_TIME_TO_CLOSE_SESSION_FROM_LAST_CLICK ((time_t)( 8 * 60UL * 60UL)) // After these seconds without user's clicks, session is closed
#define Cfg_TIME_TO_REFRESH_LAST_CLICKS ((time_t)( 1UL * 1000UL)) // Refresh period of last clicks in miliseconds

View File

@ -3197,7 +3197,7 @@ static void Svy_ListSvyQuestions (struct Survey *Svy,struct SurveyQuestion *SvyQ
Tbl_StartTableWideMargin (2);
fprintf (Gbl.F.Out,"<tr>");
if (Svy->Status.ICanEdit)
fprintf (Gbl.F.Out,"<th colspan=\"2\"></th>");
fprintf (Gbl.F.Out,"<th></th>");
fprintf (Gbl.F.Out,"<th class=\"CENTER_TOP\">"
"%s"
"</th>"

View File

@ -71,8 +71,8 @@
#define Usr_MAX_CHARS_PHONE 16
#define Usr_MAX_BYTES_PHONE Usr_MAX_CHARS_PHONE
#define Usr_CLASS_PHOTO_COLS_DEF 10 // Default number of columns in a class photo
#define Usr_CLASS_PHOTO_COLS_MAX 50 // Maximum number of columns in a class photo
#define Usr_CLASS_PHOTO_COLS_DEF 10 // Default number of columns in a class photo
#define Usr_CLASS_PHOTO_COLS_MAX 100 // Maximum number of columns in a class photo
#define Usr_LIST_WITH_PHOTOS_DEF true