diff --git a/mail/send_mail.anubis b/mail/send_mail.anubis index 2338081..3ca9022 100644 --- a/mail/send_mail.anubis +++ b/mail/send_mail.anubis @@ -132,8 +132,8 @@ define Result(SmtpClientResult, One) if length(tail) > 0 then if send_rset(conn, sm_session, _sendmail_time_out, logger) is { - error(result) then error(result), - ok(_) then send_to_recipients_list(conn, param, tail, sm_session, progress_report, logger, handle_result, unique_recipient) + error(_result) then error(_result), + ok(_) then send_to_recipients_list(conn, param, tail, sm_session, progress_report, logger, handle_result, unique_recipient) } else if unique_recipient then diff --git a/web/CXM_common.anubis b/web/CXM_common.anubis index 7928a05..401ca0c 100644 --- a/web/CXM_common.anubis +++ b/web/CXM_common.anubis @@ -4,7 +4,7 @@ *Copyright* Copyright © Alain Prouté 2003~2007. - © David RENÉ2007~2019 + © David RENÉ 2007~2019 *Authors:* diff --git a/web/CXM_making_a_web_site.anubis b/web/CXM_making_a_web_site.anubis index 690f7ad..c207463 100644 --- a/web/CXM_making_a_web_site.anubis +++ b/web/CXM_making_a_web_site.anubis @@ -3704,7 +3704,8 @@ define String " tabindex=\"" + index + "\"", attr(name, value) then " " + name + "=\"" + value + "\"", - + bool_attr(bool, value)then + if bool then " "+value+" " else "", event(e, value) then " " + event_name(e) + "=\"" + value + "\"", tooltip(_) then "", //do nothing here, because we extract attributes at first in new_attrs diff --git a/web/CXM_web_action.anubis b/web/CXM_web_action.anubis index 772460f..c1c863c 100644 --- a/web/CXM_web_action.anubis +++ b/web/CXM_web_action.anubis @@ -68,7 +68,7 @@ public define String format_web_action_name ( WEB_Action_Name action, - List((String,String)) extra_ops, + List((String,String)) extra_ops )= format_web_action_name(action) + diff --git a/web/types/making_a_web_site.anubis b/web/types/making_a_web_site.anubis index e46bb9b..5afa290 100644 --- a/web/types/making_a_web_site.anubis +++ b/web/types/making_a_web_site.anubis @@ -559,6 +559,7 @@ public type CoreAttrs: //elements in the document. //Anubis specific attr (String, String), //intended to provide unknown attritute + bool_attr (Bool, String), //like checked in checkbox the attribute 'checked' is here if true else nothing event (HtmlEvents, String), tooltip (HTML_tooltip), @@ -614,4 +615,10 @@ public type HTTP_Answer: HTML_Partial_Content) . +public define HTTP_Answer + no_content + = + plain_text(http_no_content, "") +. + -- libgit2 0.21.4