mirror of
https://github.com/acanas/swad-core.git
synced 2024-09-22 00:00:40 +02:00
Version19.44.4
This commit is contained in:
parent
17f255aac8
commit
464b62c2c5
|
@ -405,14 +405,14 @@ static void Ale_ShowFixAlertAndButton1 (Ale_AlertType_t AlertType,const char *Tx
|
||||||
Lay_WriteStartOfPage ();
|
Lay_WriteStartOfPage ();
|
||||||
|
|
||||||
/***** Begin box *****/
|
/***** Begin box *****/
|
||||||
fprintf (Gbl.F.Out,"<div");
|
|
||||||
if (AlertClosable[AlertType])
|
if (AlertClosable[AlertType])
|
||||||
{
|
{
|
||||||
/* Create unique id for alert */
|
/* Create unique id for alert */
|
||||||
Frm_SetUniqueId (IdAlert);
|
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\"");
|
HTM_DIV_Begin ("class=\"ALERT\"");
|
||||||
|
|
||||||
/***** Icon to close the alert *****/
|
/***** Icon to close the alert *****/
|
||||||
|
|
|
@ -487,13 +487,14 @@ 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.44.3 (2019-10-26)"
|
#define Log_PLATFORM_VERSION "SWAD 19.44.4 (2019-10-26)"
|
||||||
#define CSS_FILE "swad19.44.3.css"
|
#define CSS_FILE "swad19.44.3.css"
|
||||||
#define JS_FILE "swad19.39.js"
|
#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: 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.
|
// 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.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.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)
|
Version 19.44.1: Oct 26, 2019 Remove course from project configuration when removing course. (246284 lines)
|
||||||
|
|
|
@ -587,8 +587,9 @@ static void Crs_WriteListMyCoursesToSelectOne (void)
|
||||||
|
|
||||||
/***** Write link to platform *****/
|
/***** Write link to platform *****/
|
||||||
Highlight = (Gbl.Hierarchy.Cty.CtyCod <= 0);
|
Highlight = (Gbl.Hierarchy.Cty.CtyCod <= 0);
|
||||||
fprintf (Gbl.F.Out,"<li class=\"%s\">",Highlight ? ClassHighlight :
|
fprintf (Gbl.F.Out,"<li class=\"MY_CRSS_LNK %s\">",
|
||||||
ClassNormal);
|
Highlight ? ClassHighlight :
|
||||||
|
ClassNormal);
|
||||||
Frm_StartForm (ActMyCrs);
|
Frm_StartForm (ActMyCrs);
|
||||||
Cty_PutParamCtyCod (-1L);
|
Cty_PutParamCtyCod (-1L);
|
||||||
Frm_LinkFormSubmit (Txt_System,
|
Frm_LinkFormSubmit (Txt_System,
|
||||||
|
@ -622,8 +623,9 @@ static void Crs_WriteListMyCoursesToSelectOne (void)
|
||||||
/***** Write link to country *****/
|
/***** Write link to country *****/
|
||||||
Highlight = (Gbl.Hierarchy.Ins.InsCod <= 0 &&
|
Highlight = (Gbl.Hierarchy.Ins.InsCod <= 0 &&
|
||||||
Gbl.Hierarchy.Cty.CtyCod == Cty.CtyCod);
|
Gbl.Hierarchy.Cty.CtyCod == Cty.CtyCod);
|
||||||
fprintf (Gbl.F.Out,"<li class=\"%s\">",Highlight ? ClassHighlight :
|
fprintf (Gbl.F.Out,"<li class=\"MY_CRSS_LNK %s\">",
|
||||||
ClassNormal);
|
Highlight ? ClassHighlight :
|
||||||
|
ClassNormal);
|
||||||
IsLastItemInLevel[1] = (NumCty == NumCtys - 1);
|
IsLastItemInLevel[1] = (NumCty == NumCtys - 1);
|
||||||
Lay_IndentDependingOnLevel (1,IsLastItemInLevel);
|
Lay_IndentDependingOnLevel (1,IsLastItemInLevel);
|
||||||
Frm_StartForm (ActMyCrs);
|
Frm_StartForm (ActMyCrs);
|
||||||
|
|
|
@ -159,8 +159,6 @@ void Lay_WriteStartOfPage (void)
|
||||||
// in httpd.conf to enable meta tag
|
// in httpd.conf to enable meta tag
|
||||||
fprintf (Gbl.F.Out,"<html lang=\"%s\">\n"
|
fprintf (Gbl.F.Out,"<html lang=\"%s\">\n"
|
||||||
"<head>\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 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=\"description\" content=\"A free-software, educational, online tool for managing courses and students.\" />\n"
|
||||||
"<meta name=\"keywords\" content=\""
|
"<meta name=\"keywords\" content=\""
|
||||||
|
|
|
@ -126,10 +126,10 @@ void Tab_DrawTabs (void)
|
||||||
NumTab == Gbl.Action.Tab ? The_TabOnBgColors[Gbl.Prefs.Theme] :
|
NumTab == Gbl.Action.Tab ? The_TabOnBgColors[Gbl.Prefs.Theme] :
|
||||||
The_TabOffBgColors[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)
|
||||||
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
|
||||||
fprintf (Gbl.F.Out," class=\"ICO_HIGHLIGHT\"");
|
else
|
||||||
fprintf (Gbl.F.Out,">");
|
HTM_DIV_Begin ("class=\"class=\"ICO_HIGHLIGHT\"");
|
||||||
|
|
||||||
Frm_StartForm (ActMnu);
|
Frm_StartForm (ActMnu);
|
||||||
Par_PutHiddenParamUnsigned ("NxtTab",(unsigned) NumTab);
|
Par_PutHiddenParamUnsigned ("NxtTab",(unsigned) NumTab);
|
||||||
|
|
Loading…
Reference in New Issue
Block a user