Version 16.192

This commit is contained in:
Antonio Cañas Vargas 2017-04-25 21:20:19 +02:00
parent fe14f4b40e
commit f978ef892c
6 changed files with 422 additions and 3605 deletions

File diff suppressed because it is too large Load Diff

View File

@ -219,14 +219,15 @@
/****************************** Public constants *****************************/
/*****************************************************************************/
#define Log_PLATFORM_VERSION "SWAD 16.191 (2017-04-25)"
#define CSS_FILE "swad16.189.css"
#define Log_PLATFORM_VERSION "SWAD 16.192 (2017-04-25)"
#define CSS_FILE "swad16.192.css"
#define JS_FILE "swad16.181.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 16.191: Apr 25, 2017 Changes in timetable. (218183 lines)
Version 16.192: Apr 25, 2017 Changes in layout and code refactoring in timetable. (? lines)
Version 16.191: Apr 25, 2017 Changes in layout of timetable. (218183 lines)
Version 16.190: Apr 25, 2017 Code refactoring in timetable. (218106 lines)
Version 16.189: Apr 25, 2017 Changes in timetable. (218027 lines)
7 changes necessary in database.

View File

@ -624,9 +624,7 @@ struct Globals
{
struct
{
unsigned StartHour; // Day starts at this hour
unsigned EndHour; // Day ends at this hour
unsigned MinutesPerInterval; // Number of minutes per interval
struct TT_Range Range;
unsigned HoursPerDay; // From start hour to end hour
unsigned SecondsPerInterval;
unsigned IntervalsPerHour;
@ -639,7 +637,7 @@ struct Globals
unsigned Interval;
unsigned Column;
TT_ClassType_t ClassType;
unsigned DurationNumIntervals;
unsigned DurationIntervals;
char Place[TT_MAX_BYTES_PLACE + 1];
char Group[Grp_MAX_BYTES_GROUP_NAME + 1];
long GrpCod; // Group code (-1 if no group selected)

View File

@ -45560,6 +45560,27 @@ const char *Txt_The_thread_X_is_already_in_this_forum = // Warning: it is very i
"The thread <strong>%s</strong> is already in this forum."; // Necessita de tradução
#endif
const char *Txt_The_timetable_is_empty =
#if L==1
"L'horari est&agrave; buit.";
#elif L==2
"Der Fahrplan ist leer.";
#elif L==3
"The timetable is empty.";
#elif L==4
"El horario est&aacute; vac&iacute;o.";
#elif L==5
"L'horaire est vide.";
#elif L==6
"El horario est&aacute; vac&iacute;o."; // Okoteve traducción
#elif L==7
"Il orario &egrave; vuoto.";
#elif L==8
"Harmonogram jest pusty.";
#elif L==9
"O hor&aacute;rio est&aacute; vazio.";
#endif
const char *Txt_The_type_of_degree_X_already_exists = // Warning: it is very important to include %s in the following sentences
#if L==1
"El tipo de titulaci&oacute;n <strong>%s</strong> ya existe."; // Necessita traduccio

File diff suppressed because it is too large Load Diff

View File

@ -60,6 +60,16 @@ typedef enum
TT_TUTORING = 3,
} TT_ClassType_t;
struct TT_Range
{
struct
{
unsigned Start; // Class or table starts at this hour
unsigned End; // Class or table ends at this hour
} Hours;
unsigned MinutesPerInterval; // 5, 15 or 30 minutes
};
/*****************************************************************************/
/****************************** Public prototypes ****************************/
/*****************************************************************************/