Commit 7d636ab8387d0cbb0854d58594d90a8b1b85e31f
1 parent
5d663327
webmail bugs fixed
Showing
3 changed files
with
10 additions
and
6 deletions
Show diff stats
calexium_lib/web/CXM_dojo.anubis
| @@ -552,7 +552,7 @@ public define HTML_In_Form | @@ -552,7 +552,7 @@ public define HTML_In_Form | ||
| 552 | InitialValue selected, | 552 | InitialValue selected, |
| 553 | )= | 553 | )= |
| 554 | // selector_c([attr("dojoType", "dijit.form.ComboBox") . attributes], label, id, name, 1, list_data, selected, non_mandatory). | 554 | // selector_c([attr("dojoType", "dijit.form.ComboBox") . attributes], label, id, name, 1, list_data, selected, non_mandatory). |
| 555 | - selector_c([], label, id, name, 1, list_data, selected). | 555 | + selector_c(attributes, label, id, name, 1, list_data, selected). |
| 556 | 556 | ||
| 557 | public define HTML_Off_Form | 557 | public define HTML_Off_Form |
| 558 | dojo_toaster | 558 | dojo_toaster |
calexium_lib/web/CXM_making_a_web_site.anubis
| @@ -1732,8 +1732,11 @@ public define String | @@ -1732,8 +1732,11 @@ public define String | ||
| 1732 | = | 1732 | = |
| 1733 | "<!DOCTYPE html PUBLIC \"-//W3C//DTD XHTML 1.0 Transitional//EN\" "+ | 1733 | "<!DOCTYPE html PUBLIC \"-//W3C//DTD XHTML 1.0 Transitional//EN\" "+ |
| 1734 | "\"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd\">\n". | 1734 | "\"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd\">\n". |
| 1735 | - | ||
| 1736 | 1735 | ||
| 1736 | +public define String | ||
| 1737 | + html_header | ||
| 1738 | + = | ||
| 1739 | + "<html xmlns=\"http://www.w3.org/1999/xhtml\">\n". | ||
| 1737 | 1740 | ||
| 1738 | 1741 | ||
| 1739 | *** [1] States. | 1742 | *** [1] States. |
| @@ -4297,7 +4300,7 @@ define Printable_tree | @@ -4297,7 +4300,7 @@ define Printable_tree | ||
| 4297 | if body is body(options,element) then | 4300 | if body is body(options,element) then |
| 4298 | with answer_body = | 4301 | with answer_body = |
| 4299 | [ doctype_w3c_header, | 4302 | [ doctype_w3c_header, |
| 4300 | - "<html xmlns=\"http://www.w3.org/1999/xhtml\">\n", | 4303 | + html_header, |
| 4301 | "<head>\n", | 4304 | "<head>\n", |
| 4302 | add_css_styles(css_styles), | 4305 | add_css_styles(css_styles), |
| 4303 | add_css_files(css_files), | 4306 | add_css_files(css_files), |
calexium_lib/web/CXM_mime.anubis
| @@ -63,6 +63,7 @@ public define String | @@ -63,6 +63,7 @@ public define String | ||
| 63 | String charset, | 63 | String charset, |
| 64 | String text | 64 | String text |
| 65 | )= | 65 | )= |
| 66 | - with text2 = "=?"+charset+"?B?"+to_string(base64_encode(to_byte_array(text)))+"?=", | ||
| 67 | - find_and_replace(text2, implode([13,10]), implode([13,10,32])). | ||
| 68 | - | 66 | + if length(text) > 0 then |
| 67 | + with text2 = "=?"+charset+"?B?"+to_string(base64_encode(to_byte_array(text)))+"?=", | ||
| 68 | + find_and_replace(text2, implode([13,10]), implode([13,10,32])) | ||
| 69 | + else "". |