Version19.34.2

This commit is contained in:
Antonio Cañas Vargas 2019-10-14 15:02:00 +02:00
parent f33b8a6333
commit 0d4fa88c2f
8 changed files with 13 additions and 16 deletions

View File

@ -2871,7 +2871,7 @@ a:hover img.CENTRE_PHOTO_SHOW
.BT_J {background-color:#f5e800; border-color:#b8ad00;} /* light yellow */ .BT_J {background-color:#f5e800; border-color:#b8ad00;} /* light yellow */
/******************************* Time table **********************************/ /******************************* Time table **********************************/
#timetable .TT
{ {
width:100%; width:100%;
margin:0 auto; margin:0 auto;

View File

@ -487,13 +487,16 @@ enscript -2 --landscape --color --file-align=2 --highlight --line-numbers -o - *
En OpenSWAD: En OpenSWAD:
ps2pdf source.ps destination.pdf ps2pdf source.ps destination.pdf
*/ */
#define Log_PLATFORM_VERSION "SWAD 19.34.1 (2019-10-14)" #define Log_PLATFORM_VERSION "SWAD 19.34.2 (2019-10-14)"
#define CSS_FILE "swad19.33.css" #define CSS_FILE "swad19.34.2.css"
#define JS_FILE "swad19.30.js" #define JS_FILE "swad19.30.js"
/* /*
// TODO: Perico: poner un candado de bloqueo de creación/edición de proyectos (por ejemplo en asignaturas obsoletas) // TODO: Perico: poner un candado de bloqueo de creación/edición de proyectos (por ejemplo en asignaturas obsoletas)
// TODO: Hacer un nuevo rol en los TFG: tutor externo (profesor de áreas no vinculadas con el centro, profesionales de empresas, etc.) // TODO: Hacer un nuevo rol en los TFG: tutor externo (profesor de áreas no vinculadas con el centro, profesionales de empresas, etc.)
Version 19.34.2: Oct 14, 2019 Fixed bug in IDs.
Fixed bug in timetable.
Fixed bug in messages. (245350 lines)
Version 19.34.1: Oct 14, 2019 Show warnings in projects. (245353 lines) Version 19.34.1: Oct 14, 2019 Show warnings in projects. (245353 lines)
Version 19.34: Oct 14, 2019 Code refactoring in projects. Version 19.34: Oct 14, 2019 Code refactoring in projects.
Show warning if preassigned project without students. (245320 lines) Show warning if preassigned project without students. (245320 lines)

View File

@ -109,7 +109,6 @@ void Con_ShowConnectedUsrs (void)
"</script>", "</script>",
(long) Gbl.StartExecutionTimeUTC, (long) Gbl.StartExecutionTimeUTC,
(unsigned) Gbl.Prefs.DateFormat); (unsigned) Gbl.Prefs.DateFormat);
Tbl_TR_End ();
/***** Number of connected users in the whole platform *****/ /***** Number of connected users in the whole platform *****/
Con_ShowGlobalConnectedUsrs (); Con_ShowGlobalConnectedUsrs ();

View File

@ -1308,7 +1308,7 @@ static bool Crs_ListCoursesOfAYearForSeeing (unsigned Year)
Tbl_TD_End (); Tbl_TD_End ();
/* Course year */ /* Course year */
Tbl_TD_Begin ("class=\"%s CENTER_MIDDLE %s\">", Tbl_TD_Begin ("class=\"%s CENTER_MIDDLE %s\"",
TxtClassNormal,BgColor); TxtClassNormal,BgColor);
fprintf (Gbl.F.Out,"%s",Txt_YEAR_OF_DEGREE[Crs->Year]); fprintf (Gbl.F.Out,"%s",Txt_YEAR_OF_DEGREE[Crs->Year]);
Tbl_TD_End (); Tbl_TD_End ();

View File

@ -196,8 +196,8 @@ void Hld_SeeHolidays (void)
Frm_EndForm (); Frm_EndForm ();
} }
/***** End table and box *****/ /***** End box *****/
Box_EndBoxTable (); Box_EndBox ();
/***** Free list of holidays *****/ /***** Free list of holidays *****/
Hld_FreeListHolidays (); Hld_FreeListHolidays ();

View File

@ -1366,7 +1366,6 @@ static void Mai_ShowFormChangeUsrEmail (const struct UsrData *UsrDat,bool ItsMe,
Btn_PutConfirmButtonInline ((ItsMe && NumEmail == 1) ? Txt_Confirm_email : Btn_PutConfirmButtonInline ((ItsMe && NumEmail == 1) ? Txt_Confirm_email :
Txt_Use_this_email); Txt_Use_this_email);
Frm_EndForm (); Frm_EndForm ();
Tbl_TD_End ();
} }
Tbl_TD_End (); Tbl_TD_End ();

View File

@ -493,7 +493,7 @@ static void Msg_WriteFormUsrsIDsOrNicksOtherRecipients (void)
/***** Textarea with users' @nicknames, emails or IDs *****/ /***** Textarea with users' @nicknames, emails or IDs *****/
Tbl_TR_Begin (NULL); Tbl_TR_Begin (NULL);
Tbl_TH_Begin (1,ColSpan,"LEFT_MIDDLE"); Tbl_TD_Begin ("colspan=\"%u\" class=\"LEFT_MIDDLE\"",ColSpan);
fprintf (Gbl.F.Out,"<textarea id=\"OtherRecipients\" name=\"OtherRecipients\"" fprintf (Gbl.F.Out,"<textarea id=\"OtherRecipients\" name=\"OtherRecipients\""
" class=\"MSG_RECIPIENTS\" rows=\"2\"" " class=\"MSG_RECIPIENTS\" rows=\"2\""
" placeholder=\"%s\">", " placeholder=\"%s\">",
@ -576,9 +576,7 @@ static void Msg_WriteFormSubjectAndContentMsgToUsrs (char Content[Cns_MAX_BYTES_
/* Write subject */ /* Write subject */
if (!SubjectAndContentComeFromForm) if (!SubjectAndContentComeFromForm)
fprintf (Gbl.F.Out,"Re: "); fprintf (Gbl.F.Out,"Re: ");
fprintf (Gbl.F.Out,"%s" fprintf (Gbl.F.Out,"%s</textarea>",Gbl.Msg.Subject);
"</textarea>",
Gbl.Msg.Subject);
Tbl_TD_End (); Tbl_TD_End ();
Tbl_TR_End (); Tbl_TR_End ();
@ -612,8 +610,7 @@ static void Msg_WriteFormSubjectAndContentMsgToUsrs (char Content[Cns_MAX_BYTES_
else // It's not a reply else // It's not a reply
{ {
/* End message subject */ /* End message subject */
fprintf (Gbl.F.Out,"%s</textarea>", fprintf (Gbl.F.Out,"%s</textarea>",Gbl.Msg.Subject);
Gbl.Msg.Subject);
Tbl_TD_End (); Tbl_TD_End ();
Tbl_TR_End (); Tbl_TR_End ();
@ -3092,7 +3089,6 @@ static void Msg_ShowASentOrReceivedMessage (long MsgNum,long MsgCod)
void Msg_GetNotifMessage (char SummaryStr[Ntf_MAX_BYTES_SUMMARY + 1], void Msg_GetNotifMessage (char SummaryStr[Ntf_MAX_BYTES_SUMMARY + 1],
char **ContentStr,long MsgCod,bool GetContent) char **ContentStr,long MsgCod,bool GetContent)
{ {
extern const char *Txt_MSG_Subject;
MYSQL_RES *mysql_res; MYSQL_RES *mysql_res;
MYSQL_ROW row; MYSQL_ROW row;
size_t Length; size_t Length;

View File

@ -1126,7 +1126,7 @@ static void TT_DrawTimeTable (void)
unsigned ContinuousFreeMinicolumns; unsigned ContinuousFreeMinicolumns;
/***** Start table *****/ /***** Start table *****/
Tbl_TABLE_Begin ("id=\"timetable\""); Tbl_TABLE_Begin ("TT");
/***** Top row used for column adjustement *****/ /***** Top row used for column adjustement *****/
TT_TimeTableDrawAdjustRow (); TT_TimeTableDrawAdjustRow ();