Version19.44.4

This commit is contained in:
Antonio Cañas Vargas 2019-10-26 13:21:02 +02:00
parent 17f255aac8
commit 464b62c2c5
5 changed files with 15 additions and 14 deletions

View File

@ -405,14 +405,14 @@ static void Ale_ShowFixAlertAndButton1 (Ale_AlertType_t AlertType,const char *Tx
Lay_WriteStartOfPage ();
/***** Begin box *****/
fprintf (Gbl.F.Out,"<div");
if (AlertClosable[AlertType])
{
/* Create unique id for alert */
Frm_SetUniqueId (IdAlert);
fprintf (Gbl.F.Out," id=\"%s\"",IdAlert);
HTM_DIV_Begin ("id=\"%s\" class=\"CM\"",IdAlert);
}
fprintf (Gbl.F.Out," class=\"CM\">");
else
HTM_DIV_Begin ("class=\"CM\"");
HTM_DIV_Begin ("class=\"ALERT\"");
/***** Icon to close the alert *****/

View File

@ -487,13 +487,14 @@ enscript -2 --landscape --color --file-align=2 --highlight --line-numbers -o - *
En OpenSWAD:
ps2pdf source.ps destination.pdf
*/
#define Log_PLATFORM_VERSION "SWAD 19.44.3 (2019-10-26)"
#define Log_PLATFORM_VERSION "SWAD 19.44.4 (2019-10-26)"
#define CSS_FILE "swad19.44.3.css"
#define JS_FILE "swad19.39.js"
/*
// TODO: Hacer un nuevo rol en los TFG: tutor externo (profesor de áreas no vinculadas con el centro, profesionales de empresas, etc.)
// TODO: Impedir la creación y edición de proyectos si no son editables.
Version 19.44.4: Oct 26, 2019 Fixed bug in HTML divs. (246370 lines)
Version 19.44.3: Oct 26, 2019 Code refactoring in HTML lists. (246369 lines)
Version 19.44.2: Oct 26, 2019 Changes in layout. (246318 lines)
Version 19.44.1: Oct 26, 2019 Remove course from project configuration when removing course. (246284 lines)

View File

@ -587,8 +587,9 @@ static void Crs_WriteListMyCoursesToSelectOne (void)
/***** Write link to platform *****/
Highlight = (Gbl.Hierarchy.Cty.CtyCod <= 0);
fprintf (Gbl.F.Out,"<li class=\"%s\">",Highlight ? ClassHighlight :
ClassNormal);
fprintf (Gbl.F.Out,"<li class=\"MY_CRSS_LNK %s\">",
Highlight ? ClassHighlight :
ClassNormal);
Frm_StartForm (ActMyCrs);
Cty_PutParamCtyCod (-1L);
Frm_LinkFormSubmit (Txt_System,
@ -622,8 +623,9 @@ static void Crs_WriteListMyCoursesToSelectOne (void)
/***** Write link to country *****/
Highlight = (Gbl.Hierarchy.Ins.InsCod <= 0 &&
Gbl.Hierarchy.Cty.CtyCod == Cty.CtyCod);
fprintf (Gbl.F.Out,"<li class=\"%s\">",Highlight ? ClassHighlight :
ClassNormal);
fprintf (Gbl.F.Out,"<li class=\"MY_CRSS_LNK %s\">",
Highlight ? ClassHighlight :
ClassNormal);
IsLastItemInLevel[1] = (NumCty == NumCtys - 1);
Lay_IndentDependingOnLevel (1,IsLastItemInLevel);
Frm_StartForm (ActMyCrs);

View File

@ -159,8 +159,6 @@ void Lay_WriteStartOfPage (void)
// in httpd.conf to enable meta tag
fprintf (Gbl.F.Out,"<html lang=\"%s\">\n"
"<head>\n"
// "<meta http-equiv=\"Page-Enter\" content=\"blendTrans(Duration=0)\">\n"
// "<meta http-equiv=\"Page-Exit\" content=\"blendTrans(Duration=0)\">\n"
"<meta http-equiv=\"Content-Type\" content=\"text/html;charset=windows-1252\" />\n"
"<meta name=\"description\" content=\"A free-software, educational, online tool for managing courses and students.\" />\n"
"<meta name=\"keywords\" content=\""

View File

@ -126,10 +126,10 @@ void Tab_DrawTabs (void)
NumTab == Gbl.Action.Tab ? The_TabOnBgColors[Gbl.Prefs.Theme] :
The_TabOffBgColors[Gbl.Prefs.Theme]);
fprintf (Gbl.F.Out,"<div"); // This div must be present even in current tab in order to render properly the tab
if (NumTab != Gbl.Action.Tab)
fprintf (Gbl.F.Out," class=\"ICO_HIGHLIGHT\"");
fprintf (Gbl.F.Out,">");
if (NumTab == Gbl.Action.Tab)
HTM_DIV_Begin (NULL); // This div must be present even in current tab in order to render properly the tab
else
HTM_DIV_Begin ("class=\"class=\"ICO_HIGHLIGHT\"");
Frm_StartForm (ActMnu);
Par_PutHiddenParamUnsigned ("NxtTab",(unsigned) NumTab);