diff --git a/css/swad22.46.css b/css/swad22.48.css similarity index 99% rename from css/swad22.46.css rename to css/swad22.48.css index 1b77933c..99f89e69 100644 --- a/css/swad22.46.css +++ b/css/swad22.48.css @@ -113,6 +113,40 @@ a:hover /* Default ==> underlined */ text-decoration:underline; opacity:1; } +.NICK_WHITE, +.NICK_GREY, +.NICK_PURPLE, +.NICK_BLUE, +.NICK_YELLOW, +.NICK_PINK + { + background:transparent; + border:none; + padding:0; + font:inherit; + color:#4d88a1; + text-decoration:none; + } +.NICK_DARK + { + background:transparent; + border:none; + padding:0; + font:inherit; + color:#afc4cc; + } +.NICK_WHITE:hover, +.NICK_GREY:hover, +.NICK_PURPLE:hover, +.NICK_BLUE:hover, +.NICK_YELLOW:hover, +.NICK_PINK:hover, +.NICK_DARK:hover + { + cursor:pointer; + text-decoration:underline; + } + /****************** Layout (the whole page with a background) ****************/ #whole_page { diff --git a/swad_HTML.c b/swad_HTML.c index 143f83b3..ffd8c8c6 100644 --- a/swad_HTML.c +++ b/swad_HTML.c @@ -1486,10 +1486,6 @@ void HTM_BUTTON_Submit_Begin (const char *Title,const char *fmt,...) free (Attr); } } -/* - if (OnSubmit) // JavaScript function to be called before submitting the form - if (OnSubmit[0]) - HTM_TxtF (" onsubmit=\"%s;\"",OnSubmit); */ HTM_Txt (">"); HTM_BUTTON_NestingLevel++; diff --git a/swad_autolink.c b/swad_autolink.c index e45cbaaa..13b262b3 100644 --- a/swad_autolink.c +++ b/swad_autolink.c @@ -137,11 +137,10 @@ The web site of @rms is + @@ -554,8 +553,8 @@ static ALn_LinkType_t ALn_CheckNickname (char **PtrSrc,char PrevCh, /***** Store second part of anchor *****/ if (asprintf (&(*Link)->NickAnchor[1].Str, "\">" - "") < 0) + "%s%s", + "" + "" + "%s" + "%s", CaptionStr, ImgStr) < 0) Err_NotEnoughMemoryExit (); diff --git a/swad_browser.c b/swad_browser.c index eb8f3808..92a5336b 100644 --- a/swad_browser.c +++ b/swad_browser.c @@ -6890,7 +6890,6 @@ static void Brw_PutFormToUploadFilesUsingDropzone (const char *FileNameToShow) /***** Form to upload files using the library Dropzone.js *****/ // Use min-height:125px; or other number to stablish the height? - Gbl.Form.Num++; HTM_TxtF ("