mirror of https://github.com/acanas/swad-core.git
Version 15.256.3
This commit is contained in:
parent
1c92aaa5a3
commit
80501aa159
|
@ -1262,6 +1262,7 @@ void Att_RecFormAttEvent (void)
|
|||
/* Get data of the old (current) attendance event from database */
|
||||
OldAtt.AttCod = ReceivedAtt.AttCod;
|
||||
Att_GetDataOfAttEventByCodAndCheckCrs (&OldAtt);
|
||||
ReceivedAtt.Hidden = OldAtt.Hidden;
|
||||
}
|
||||
|
||||
/***** Get start/end date-times *****/
|
||||
|
@ -1377,10 +1378,13 @@ void Att_UpdateAttEvent (struct AttendanceEvent *Att,const char *Txt)
|
|||
|
||||
/***** Update the data of the attendance event *****/
|
||||
sprintf (Query,"UPDATE att_events SET "
|
||||
"Hidden='%c',"
|
||||
"StartTime=FROM_UNIXTIME('%ld'),"
|
||||
"EndTime=FROM_UNIXTIME('%ld'),"
|
||||
"CommentTchVisible='%c',Title='%s',Txt='%s'"
|
||||
" WHERE AttCod='%ld' AND CrsCod='%ld'",
|
||||
Att->Hidden ? 'Y' :
|
||||
'N',
|
||||
Att->TimeUTC[Att_START_TIME],
|
||||
Att->TimeUTC[Att_END_TIME ],
|
||||
Att->CommentTchVisible ? 'Y' :
|
||||
|
|
|
@ -139,14 +139,15 @@
|
|||
/****************************** Public constants *****************************/
|
||||
/*****************************************************************************/
|
||||
|
||||
#define Log_PLATFORM_VERSION "SWAD 15.256.1 (2016-09-19)"
|
||||
#define Log_PLATFORM_VERSION "SWAD 15.256.3 (2016-09-19)"
|
||||
#define CSS_FILE "swad15.229.css"
|
||||
#define JS_FILE "swad15.238.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
|
||||
/*
|
||||
Version 15.256.2: Sep 19, 2016 Fixed bug in web service function removeAttendanceEvent, reported by Rubén Martín Hidalgo. (? lines)
|
||||
Version 15.256.3: Sep 19, 2016 Fixed bug in web service function sendAttendanceEvent, reported by Rubén Martín Hidalgo. (204755 lines)
|
||||
Version 15.256.2: Sep 19, 2016 Fixed bug in web service function removeAttendanceEvent, reported by Rubén Martín Hidalgo. (204750 lines)
|
||||
Version 15.256.1: Sep 19, 2016 Fixed bug in web service while sending a message.
|
||||
Added default values in some database fields. (204741 lines)
|
||||
6 changes necessary in database:
|
||||
|
|
|
@ -84,10 +84,10 @@ int main (int argc, char *argv[])
|
|||
"<head><title>%s</title></head>"
|
||||
"<body><br /><br /><br /><br />"
|
||||
"<h1 class=\"CENTER_MIDDLE\">"
|
||||
"Estamos migrando %s a un nuevo servidor"
|
||||
"%s está parado por mantenimiento durante unos minutos."
|
||||
"</h1>"
|
||||
"<h2 class=\"CENTER_MIDDLE\">"
|
||||
"Volverá a funcionar a lo largo del lunes 19 de septiembre"
|
||||
"Intente acceder más tarde, por favor."
|
||||
"</h2>"
|
||||
"</body>"
|
||||
"</html>",
|
||||
|
|
Loading…
Reference in New Issue