diff --git a/css/swad19.44.2.css b/css/swad19.44.3.css similarity index 99% rename from css/swad19.44.2.css rename to css/swad19.44.3.css index 46396f34..8247d8ed 100644 --- a/css/swad19.44.2.css +++ b/css/swad19.44.3.css @@ -74,7 +74,7 @@ form } address { - font-style: normal; + font-style:normal; } /*********************** Text decoration of links ****************************/ @@ -2237,6 +2237,15 @@ a:hover img.CENTRE_PHOTO_SHOW height:25px; } +.LIST_I_MUST_READ + { + display:inline-block; + padding:0; + margin:12px 0; + text-align:left; + vertical-align:middle; + } + /******************************* File browsers *******************************/ .FILENAME { diff --git a/swad_HTML.c b/swad_HTML.c index 69242207..4314f342 100644 --- a/swad_HTML.c +++ b/swad_HTML.c @@ -60,6 +60,7 @@ static unsigned HTM_TR_NestingLevel = 0; static unsigned HTM_TH_NestingLevel = 0; static unsigned HTM_TD_NestingLevel = 0; static unsigned HTM_DIV_NestingLevel = 0; +static unsigned HTM_UL_NestingLevel = 0; /*****************************************************************************/ /***************************** Private prototypes ****************************/ @@ -76,6 +77,8 @@ static void HTM_TD_BeginWithoutAttr (void); static void HTM_DIV_BeginWithoutAttr (void); +static void HTM_UL_BeginWithoutAttr (void); + /*****************************************************************************/ /******************************* Start/end table *****************************/ /*****************************************************************************/ @@ -412,7 +415,7 @@ static void HTM_TD_BeginWithoutAttr (void) void HTM_TD_End (void) { - if (HTM_TD_NestingLevel == 0) // No TH open + if (HTM_TD_NestingLevel == 0) // No TD open Ale_ShowAlert (Ale_ERROR,"Trying to close unopened TD."); fprintf (Gbl.F.Out,""); @@ -490,12 +493,12 @@ static void HTM_DIV_BeginWithoutAttr (void) void HTM_DIV_End (void) { - if (HTM_DIV_NestingLevel == 0) // No TH open + if (HTM_DIV_NestingLevel == 0) // No DIV open Ale_ShowAlert (Ale_ERROR,"Trying to close unopened DIV."); fprintf (Gbl.F.Out,""); - HTM_TD_NestingLevel--; + HTM_DIV_NestingLevel--; } /*****************************************************************************/ @@ -543,13 +546,51 @@ void HTM_SECTION_End (void) /*****************************************************************************/ /****************************** Unordered lists ******************************/ /*****************************************************************************/ -/* -void HTM_UL_Begin (const char *SectionId) + +void HTM_UL_Begin (const char *fmt,...) { - fprintf (Gbl.F.Out,"