Commit 61e55d80948bb41f5d419554234896422eb4bf27
1 parent
1cfeb79a
start to remove CXM_ prefix for nothing, since the files are located in folder x…
…lib. No need to have redundant name
Showing
56 changed files
with
98 additions
and
99 deletions
Show diff stats
asterisk/ami.anubis
| ... | ... | @@ -13,7 +13,7 @@ read network/dns.anubis |
| 13 | 13 | |
| 14 | 14 | transmit xlib/asterisk/ami_types.anubis |
| 15 | 15 | transmit xlib/asterisk/ami_commands.anubis |
| 16 | -transmit xlib/web/CXM_http_get_common.anubis | |
| 16 | +transmit xlib/web/http_get_common.anubis | |
| 17 | 17 | |
| 18 | 18 | define Maybe(List(String)) |
| 19 | 19 | receive | ... | ... |
database/db_types.anubis
| ... | ... | @@ -14,7 +14,7 @@ transmit xlib/database/types/db_date.anubis |
| 14 | 14 | transmit xlib/database/types/db_time.anubis |
| 15 | 15 | transmit xlib/database/types/db_datetime.anubis |
| 16 | 16 | transmit xlib/database/types/db_integer.anubis |
| 17 | -transmit xlib/web/CXM_json.anubis | |
| 17 | +transmit xlib/web/json.anubis | |
| 18 | 18 | |
| 19 | 19 | /* DB_id will is deprecated. Please use next version below all upper case */ |
| 20 | 20 | //public type DB_id: | ... | ... |
CXM_message_constants.anubis renamed to message_constants.anubis
net_services/CXM_generic_client.anubis
| ... | ... | @@ -13,9 +13,9 @@ read network/dns.anubis |
| 13 | 13 | |
| 14 | 14 | //transmit xlib/net_services_protocols/logger_service.anubis |
| 15 | 15 | |
| 16 | -transmit xlib/CXM_message_constants.anubis | |
| 17 | -transmit xlib/net_services/CXM_net_services.anubis | |
| 18 | -transmit xlib/net_services/CXM_generic_protocol.anubis | |
| 16 | +transmit xlib/message_constants.anubis | |
| 17 | +transmit xlib/net_services/net_services.anubis | |
| 18 | +transmit xlib/net_services/generic_protocol.anubis | |
| 19 | 19 | |
| 20 | 20 | // --Generic types--------------------------------------------------------------------- |
| 21 | 21 | public type NetServiceAnswer: | ... | ... |
net_services_protocols/logger_client.anubis
net_services_protocols/logger_service_deprecated.anubis
| ... | ... | @@ -18,9 +18,9 @@ read system/message_transceiver.anubis |
| 18 | 18 | |
| 19 | 19 | read system/files.anubis |
| 20 | 20 | |
| 21 | -read xlib/CXM_message_constants.anubis | |
| 22 | -read xlib/net_services/CXM_net_services.anubis | |
| 23 | -read xlib/net_services/CXM_generic_protocol.anubis | |
| 21 | +read xlib/message_constants.anubis | |
| 22 | +read xlib/net_services/net_services.anubis | |
| 23 | +read xlib/net_services/generic_protocol.anubis | |
| 24 | 24 | |
| 25 | 25 | // Special non-existing file. This is a work arround for a impossibility to define global configuration in anubis. |
| 26 | 26 | // So this file allows you to specify on which UDP port the logger server is listening. | ... | ... |
unit_test/test.anubis
| ... | ... | @@ -7,9 +7,9 @@ |
| 7 | 7 | */ |
| 8 | 8 | |
| 9 | 9 | |
| 10 | -read xlib/web/CXM_multihost_http_server.anubis | |
| 11 | -read xlib/web/CXM_web_arg_utils.anubis | |
| 12 | -read xlib/web/CXM_web_dump.anubis | |
| 10 | +read xlib/web/multihost_http_server.anubis | |
| 11 | +read xlib/web/web_arg_utils.anubis | |
| 12 | +read xlib/web/web_dump.anubis | |
| 13 | 13 | read tools/string.anubis |
| 14 | 14 | |
| 15 | 15 | global define One | ... | ... |
web/CXM_common.anubis renamed to web/common.anubis
web/controllers_web_site.anubis
| ... | ... | @@ -16,12 +16,12 @@ |
| 16 | 16 | read system/logger.anubis |
| 17 | 17 | read tools/printable_tree.anubis |
| 18 | 18 | |
| 19 | -transmit CXM_cookies.anubis | |
| 20 | -transmit CXM_web_session.anubis | |
| 19 | +transmit xlib/web/cookies.anubis | |
| 20 | +transmit xlib/web/web_session.anubis | |
| 21 | 21 | transmit types/controllers_web_site.anubis |
| 22 | 22 | read plugin/plugin.anubis |
| 23 | 23 | |
| 24 | -read CXM_making_a_web_site.anubis | |
| 24 | +read making_a_web_site.anubis | |
| 25 | 25 | |
| 26 | 26 | read xlib/web/plugin/plugin.anubis |
| 27 | 27 | read config/logger_config.anubis | ... | ... |
web/CXM_cookies.anubis renamed to web/cookies.anubis
web/CXM_form.anubis renamed to web/form.anubis
| ... | ... | @@ -11,11 +11,11 @@ |
| 11 | 11 | // ************************************************************************************* |
| 12 | 12 | read tools/basis.anubis |
| 13 | 13 | read system/string.anubis |
| 14 | -read xlib/web/CXM_common.anubis | |
| 15 | -read xlib/web/CXM_web_arg_utils.anubis | |
| 16 | -read xlib/web/CXM_making_a_web_site.anubis | |
| 17 | -read xlib/web/CXM_html_tooltip.anubis | |
| 18 | -read xlib/web/CXM_widgets.anubis | |
| 14 | +read xlib/web/common.anubis | |
| 15 | +read xlib/web/web_arg_utils.anubis | |
| 16 | +read xlib/web/making_a_web_site.anubis | |
| 17 | +read xlib/web/html_tooltip.anubis | |
| 18 | +read xlib/web/widgets.anubis | |
| 19 | 19 | read xlib/web/widgets/specialized_elements.anubis |
| 20 | 20 | |
| 21 | 21 | public type Mandatory: // used to mark fields as mandatory. | ... | ... |
web/CXM_html_tooltip.anubis renamed to web/html_tooltip.anubis
web/CXM_http_get_common.anubis renamed to web/http_get_common.anubis
web/jQuery/CXM_jquery_animate.anubis renamed to web/jQuery/jq_animate.anubis
web/jQuery/CXM_jquery_button.anubis renamed to web/jQuery/jq_button.anubis
| ... | ... | @@ -6,12 +6,12 @@ |
| 6 | 6 | * |
| 7 | 7 | */ |
| 8 | 8 | |
| 9 | -transmit xlib/web/CXM_making_a_web_site.anubis | |
| 10 | -transmit xlib/web/CXM_jquery.anubis | |
| 11 | -transmit xlib/web/jQuery/CXM_jquery_icons.anubis | |
| 9 | +transmit xlib/web/making_a_web_site.anubis | |
| 10 | +transmit xlib/web/jquery.anubis | |
| 11 | +transmit xlib/web/jQuery/jq_icons.anubis | |
| 12 | 12 | transmit xlib/web/widgets/button.anubis |
| 13 | 13 | transmit xlib/web/js_tools.anubis |
| 14 | -transmit xlib/web/CXM_json.anubis | |
| 14 | +transmit xlib/web/json.anubis | |
| 15 | 15 | transmit tools/basis.anubis |
| 16 | 16 | transmit system/string.anubis |
| 17 | 17 | transmit tools/random.anubis | ... | ... |
web/jQuery/CXM_jq_checkbox.anubis renamed to web/jQuery/jq_checkbox.anubis
web/jQuery/CXM_jquery_datatable.anubis renamed to web/jQuery/jq_datatable.anubis
| ... | ... | @@ -7,14 +7,14 @@ |
| 7 | 7 | * |
| 8 | 8 | */ |
| 9 | 9 | |
| 10 | -read xlib/web/CXM_making_a_web_site.anubis | |
| 11 | -read xlib/web/CXM_jquery.anubis | |
| 12 | -read xlib/web/jQuery/CXM_jquery_datatable_types.anubis | |
| 13 | -read xlib/web/jQuery/CXM_jquery_datatable_translation.anubis | |
| 10 | +read xlib/web/making_a_web_site.anubis | |
| 11 | +read xlib/web/jquery.anubis | |
| 12 | +read xlib/web/jQuery/jq_datatable_types.anubis | |
| 13 | +read xlib/web/jQuery/jq_datatable_translation.anubis | |
| 14 | 14 | read tools/basis.anubis |
| 15 | 15 | read system/string.anubis |
| 16 | 16 | read system/convert.anubis |
| 17 | -transmit xlib/web/jQuery/CXM_jquery_datatable_plugins.anubis | |
| 17 | +transmit xlib/web/jQuery/jq_datatable_plugins.anubis | |
| 18 | 18 | |
| 19 | 19 | |
| 20 | 20 | /* Initialize jQuery datatables */ | ... | ... |
web/jQuery/CXM_jquery_datatable_plugins.anubis renamed to web/jQuery/jq_datatable_plugins.anubis
| ... | ... | @@ -5,8 +5,8 @@ |
| 5 | 5 | * Time: 22:38 |
| 6 | 6 | * © David RENÉ |
| 7 | 7 | */ |
| 8 | -read xlib/web/CXM_jquery.anubis | |
| 9 | -read xlib/web/CXM_making_a_web_site.anubis | |
| 8 | +read xlib/web/jquery.anubis | |
| 9 | +read xlib/web/making_a_web_site.anubis | |
| 10 | 10 | |
| 11 | 11 | public define List(HTML_Head_Tag) jq_datatable_sorting |
| 12 | 12 | = | ... | ... |
web/jQuery/CXM_jquery_datatable_server_side.anubis renamed to web/jQuery/jq_datatable_server_side.anubis
web/jQuery/CXM_jquery_datatable_translation.anubis renamed to web/jQuery/jq_datatable_translation.anubis
web/jQuery/CXM_jquery_datatable_types.anubis renamed to web/jQuery/jq_datatable_types.anubis
web/jQuery/CXM_jquery_dialog.anubis renamed to web/jQuery/jq_dialog.anubis
| ... | ... | @@ -7,8 +7,8 @@ |
| 7 | 7 | */ |
| 8 | 8 | |
| 9 | 9 | read system/convert.anubis |
| 10 | -read xlib/web/CXM_making_a_web_site.anubis | |
| 11 | -transmit xlib/web/CXM_jquery.anubis | |
| 10 | +read xlib/web/making_a_web_site.anubis | |
| 11 | +transmit xlib/web/jquery.anubis | |
| 12 | 12 | |
| 13 | 13 | public type JQuery_dialog_id: |
| 14 | 14 | dialog_id(String id). | ... | ... |
web/jQuery/CXM_jquery_easing.anubis renamed to web/jQuery/jq_easing.anubis
web/jQuery/CXM_jquery_eudock.anubis renamed to web/jQuery/jq_eudock.anubis
web/jQuery/CXM_jquery_eudock_types.anubis renamed to web/jQuery/jq_eudock_types.anubis
web/jQuery/CXM_jq_form.anubis renamed to web/jQuery/jq_form.anubis
| ... | ... | @@ -7,10 +7,10 @@ |
| 7 | 7 | */ |
| 8 | 8 | |
| 9 | 9 | // needs include |
| 10 | - // js/cxm/cxm.js | |
| 11 | - // css/cxm/message.css | |
| 10 | + // /xlib/js/xlib.js | |
| 11 | + // xlib/css/message.css | |
| 12 | 12 | |
| 13 | -read xlib/web/CXM_making_a_web_site.anubis | |
| 13 | +read xlib/web/making_a_web_site.anubis | |
| 14 | 14 | |
| 15 | 15 | public define String |
| 16 | 16 | jq_form_submit |
| ... | ... | @@ -20,7 +20,7 @@ public define String |
| 20 | 20 | String container_id |
| 21 | 21 | )= |
| 22 | 22 | with container_id_str = if length(container_id) > 0 then ", '" + container_id + "'" else "", |
| 23 | - "CalexiumToolBox.jq_form_submit('" + form_id + "', '" + url + "'"+container_id_str+");". | |
| 23 | + "Xlib.jq_form_submit('" + form_id + "', '" + url + "'"+container_id_str+");". | |
| 24 | 24 | |
| 25 | 25 | public define String |
| 26 | 26 | jq_form_submit_and_close |
| ... | ... | @@ -34,5 +34,5 @@ public define String |
| 34 | 34 | with dialog_id_str = if length(dialog_id) > 0 then ", '" + dialog_id + "'" else "", |
| 35 | 35 | with call_back_str = if length(call_back) > 0 then ", "+call_back else "", |
| 36 | 36 | with url = format_web_action_name(action, extra_ops), |
| 37 | - "CalexiumToolBox.jq_form_submit_and_close('" + form_id + "', '" + url + "'"+dialog_id_str+call_back_str+");" | |
| 37 | + "Xlib.jq_form_submit_and_close('" + form_id + "', '" + url + "'"+dialog_id_str+call_back_str+");" | |
| 38 | 38 | . | ... | ... |
web/jQuery/jqgrid.anubis renamed to web/jQuery/jq_grid.anubis
web/jQuery/CXM_jquery_icons.anubis renamed to web/jQuery/jq_icons.anubis
web/jQuery/CXM_jquery_jqplot.anubis renamed to web/jQuery/jq_jqplot.anubis
web/jQuery/CXM_jq_radio.anubis renamed to web/jQuery/jq_radio.anubis
web/jQuery/CXM_jquery_tabs.anubis renamed to web/jQuery/jq_tabs.anubis
web/jQuery/CXM_jquery_tiptip.anubis renamed to web/jQuery/jq_tiptip.anubis
web/jQuery/CXM_jquery_toolbar.anubis renamed to web/jQuery/jq_toolbar.anubis
web/jQuery/ui-addon/datetimepicker.anubis
| ... | ... | @@ -6,8 +6,8 @@ |
| 6 | 6 | * © Calexium |
| 7 | 7 | */ |
| 8 | 8 | |
| 9 | -read xlib/web/CXM_making_a_web_site.anubis | |
| 10 | -read xlib/web/CXM_jquery.anubis | |
| 9 | +read xlib/web/making_a_web_site.anubis | |
| 10 | +read xlib/web/jquery.anubis | |
| 11 | 11 | |
| 12 | 12 | /* Initialize jQuery ui datetimepicker */ |
| 13 | 13 | public define List(HTML_Head_Tag) | ... | ... |
web/CXM_jquery.anubis renamed to web/jquery.anubis
web/js_tools.anubis
web/CXM_json.anubis renamed to web/json.anubis
web/load_content.anubis
| ... | ... | @@ -8,7 +8,7 @@ |
| 8 | 8 | |
| 9 | 9 | read system/convert.anubis |
| 10 | 10 | read xlib/web/types/making_a_web_site.anubis |
| 11 | -read xlib/web/CXM_web_action.anubis | |
| 11 | +read xlib/web/web_action.anubis | |
| 12 | 12 | //read xlib/web/CXM_jquery.anubis |
| 13 | 13 | read xlib/web/js_tools.anubis |
| 14 | 14 | |
| ... | ... | @@ -21,7 +21,7 @@ public define String |
| 21 | 21 | Bool replace |
| 22 | 22 | )= |
| 23 | 23 | |
| 24 | - "CalexiumToolBox.ajax_load_content('"+target+"', '"+format_web_action_name(web_action, extra_args)+"', "+to_String(replace)+");" | |
| 24 | + "Xlib.ajax_load_content('"+target+"', '"+format_web_action_name(web_action, extra_args)+"', "+to_String(replace)+");" | |
| 25 | 25 | . |
| 26 | 26 | |
| 27 | 27 | public define String |
| ... | ... | @@ -32,7 +32,7 @@ public define String |
| 32 | 32 | List((String,String)) extra_args, |
| 33 | 33 | Bool replace |
| 34 | 34 | )= |
| 35 | - to_JS_String("CalexiumToolBox.ajax_load_content('"+target+"', "+format_web_action_name_to_js(web_action, extra_args)+", "+to_String(replace)+")") | |
| 35 | + to_JS_String("Xlib.ajax_load_content('"+target+"', "+format_web_action_name_to_js(web_action, extra_args)+", "+to_String(replace)+")") | |
| 36 | 36 | . |
| 37 | 37 | |
| 38 | 38 | public define String |
| ... | ... | @@ -84,7 +84,7 @@ public define HTML_Partial_Content |
| 84 | 84 | Bool replace |
| 85 | 85 | )= |
| 86 | 86 | partial_content([ |
| 87 | - js(js_file("js/cxm/cxm.js")), | |
| 87 | + js(js_file("xlib/js/xlib.js")), | |
| 88 | 88 | js_inline(script("text/javascript","$(document).ready(function(){"+load_content(target, web_action, extra_args, replace)+"});")) |
| 89 | 89 | ], |
| 90 | 90 | empty) | ... | ... |
web/CXM_making_a_web_site.anubis renamed to web/making_a_web_site.anubis
| ... | ... | @@ -56,16 +56,16 @@ read tools/avlt_dictionaries.anubis |
| 56 | 56 | read system/lists.anubis |
| 57 | 57 | read system/string.anubis |
| 58 | 58 | read system/logger.anubis |
| 59 | -transmit CXM_common.anubis | |
| 60 | -transmit CXM_multihost_http_server.anubis | |
| 59 | +transmit xlib/web/common.anubis | |
| 60 | +transmit xlib/web/multihost_http_server.anubis | |
| 61 | 61 | read web/mime.anubis |
| 62 | 62 | |
| 63 | -read CXM_cookies.anubis | |
| 64 | -read CXM_json.anubis | |
| 65 | -transmit CXM_web_dump.anubis | |
| 66 | -transmit CXM_web_arg_utils.anubis | |
| 67 | -transmit CXM_web_session.anubis | |
| 68 | -transmit CXM_web_action.anubis | |
| 63 | +read xlib/web/cookies.anubis | |
| 64 | +read xlib/web/json.anubis | |
| 65 | +transmit xlib/web/web_dump.anubis | |
| 66 | +transmit xlib/web/web_arg_utils.anubis | |
| 67 | +transmit xlib/web/web_session.anubis | |
| 68 | +transmit xlib/web/web_action.anubis | |
| 69 | 69 | |
| 70 | 70 | transmit xlib/web/types/web_action_name.anubis |
| 71 | 71 | transmit xlib/web/types/making_a_web_site.anubis | ... | ... |
web/CXM_multihost_http_server.anubis renamed to web/multihost_http_server.anubis
| ... | ... | @@ -166,7 +166,7 @@ |
| 166 | 166 | type 'Web_arg' is defined in 'web/common.anubis'. It has two alternatives, one for |
| 167 | 167 | ordinary web arguments (pairs) and one for uploaded files. |
| 168 | 168 | |
| 169 | -read CXM_common.anubis | |
| 169 | +read xlib/web/common.anubis | |
| 170 | 170 | read tools/basis.anubis |
| 171 | 171 | read tools/printable_tree.anubis |
| 172 | 172 | read system/string.anubis | ... | ... |
web/CXM_page_message.anubis renamed to web/page_message.anubis
web/types/controllers_web_site.anubis
web/types/making_a_web_site.anubis
| ... | ... | @@ -6,10 +6,10 @@ |
| 6 | 6 | * © David RENÉ |
| 7 | 7 | */ |
| 8 | 8 | transmit xlib/web/types/web_action_name.anubis |
| 9 | -transmit xlib/web/CXM_common.anubis | |
| 9 | +transmit xlib/web/common.anubis | |
| 10 | 10 | |
| 11 | -transmit xlib/web/CXM_multihost_http_server.anubis | |
| 12 | -transmit xlib/web/CXM_json.anubis | |
| 11 | +transmit xlib/web/multihost_http_server.anubis | |
| 12 | +transmit xlib/web/json.anubis | |
| 13 | 13 | transmit xlib/web/widgets/left_menu.anubis |
| 14 | 14 | read web/mime.anubis |
| 15 | 15 | read tools/printable_tree.anubis | ... | ... |
web/types/web_session.anubis
web/CXM_urllib.anubis renamed to web/urllib.anubis
web/CXM_web_action.anubis renamed to web/web_action.anubis
web/CXM_web_arg_utils.anubis renamed to web/web_arg_utils.anubis
web/CXM_web_dump.anubis renamed to web/web_dump.anubis
| ... | ... | @@ -10,8 +10,8 @@ |
| 10 | 10 | read tools/basis.anubis |
| 11 | 11 | read system/string.anubis |
| 12 | 12 | read system/convert.anubis |
| 13 | -read CXM_common.anubis | |
| 14 | -read CXM_multihost_http_server.anubis | |
| 13 | +read xlib/web/common.anubis | |
| 14 | +read xlib/web/multihost_http_server.anubis | |
| 15 | 15 | |
| 16 | 16 | /* Provides a dump of Web_arg List */ |
| 17 | 17 | public define String | ... | ... |
web/CXM_web_session.anubis renamed to web/web_session.anubis
| ... | ... | @@ -11,8 +11,8 @@ read system/muscle.anubis |
| 11 | 11 | read xlib/database/db_types.anubis |
| 12 | 12 | transmit types/web_session.anubis |
| 13 | 13 | transmit xlib/generic/session.anubis |
| 14 | -read CXM_common.anubis | |
| 15 | -read CXM_web_dump.anubis | |
| 14 | +read xlib/web/common.anubis | |
| 15 | +read xlib/web/web_dump.anubis | |
| 16 | 16 | |
| 17 | 17 | reserved fields keywords |
| 18 | 18 | ... | ... |
web/CXM_widgets.anubis renamed to web/widgets.anubis
web/widgets/button.anubis
| ... | ... | @@ -6,9 +6,9 @@ |
| 6 | 6 | * © Calexium |
| 7 | 7 | */ |
| 8 | 8 | |
| 9 | -read xlib/web/CXM_making_a_web_site.anubis | |
| 10 | -transmit xlib/web/CXM_jquery.anubis | |
| 11 | -read xlib/web/CXM_json.anubis | |
| 9 | +read xlib/web/making_a_web_site.anubis | |
| 10 | +transmit xlib/web/jquery.anubis | |
| 11 | +read xlib/web/json.anubis | |
| 12 | 12 | read xlib/web/js_tools.anubis |
| 13 | 13 | transmit xlib/web/widgets/icons_set.anubis |
| 14 | 14 | read xlib/web/load_content.anubis |
| ... | ... | @@ -82,7 +82,7 @@ public define HTML_Partial_Content |
| 82 | 82 | List((String, String)) extra_ops |
| 83 | 83 | )= |
| 84 | 84 | |
| 85 | - with event_click = (CoreAttrs)event(onclick, "CalexiumToolBox.jq_query("+format_web_action_name_to_js(web_action, extra_ops)+")"), | |
| 85 | + with event_click = (CoreAttrs)event(onclick, "Xlib.jq_query("+format_web_action_name_to_js(web_action, extra_ops)+")"), | |
| 86 | 86 | partial_content(img([event_click, style("cursor: pointer")], img_path)) |
| 87 | 87 | . |
| 88 | 88 | |
| ... | ... | @@ -179,7 +179,7 @@ define inline String |
| 179 | 179 | String dlg_ok, |
| 180 | 180 | String dlg_cancel |
| 181 | 181 | ) = |
| 182 | - "CalexiumToolBox.data.confirm_dialog['" +(uid) + "'] = " + | |
| 182 | + "Xlib.data.confirm_dialog['" +(uid) + "'] = " + | |
| 183 | 183 | "{ title: " + to_JS_String(dlg_title) + |
| 184 | 184 | ", text: " + to_JS_String(dlg_text) + |
| 185 | 185 | ", ok : " + to_JS_String(dlg_ok) + |
| ... | ... | @@ -193,7 +193,7 @@ define List(CoreAttrs) |
| 193 | 193 | String uid, |
| 194 | 194 | JQuery_Actioner actioner |
| 195 | 195 | ) = |
| 196 | - core_attrs + [id(uid), style("cursor: pointer"), event(onclick, "CalexiumToolBox.make_confirm_dialog(this, "/* + to_js_string("/?a=" + url + format_extra_operands(extra_ops))+*/+ to_JS_String(jquery_button_get_onclick_action(actioner)) +");")]. | |
| 196 | + core_attrs + [id(uid), style("cursor: pointer"), event(onclick, "Xlib.make_confirm_dialog(this, "/* + to_js_string("/?a=" + url + format_extra_operands(extra_ops))+*/+ to_JS_String(jquery_button_get_onclick_action(actioner)) +");")]. | |
| 197 | 197 | |
| 198 | 198 | define List(CoreAttrs) |
| 199 | 199 | img_button_confirm_image_attrs |
| ... | ... | @@ -207,11 +207,11 @@ define List(CoreAttrs) |
| 207 | 207 | //action to execute if confirmation is ok |
| 208 | 208 | |
| 209 | 209 | with ok_action = if load_content_target = "" then |
| 210 | - to_JS_String("CalexiumToolBox.jq_query("+format_web_action_name_to_js(web_action, extra_ops)+")") | |
| 210 | + to_JS_String("Xlib.jq_query("+format_web_action_name_to_js(web_action, extra_ops)+")") | |
| 211 | 211 | else |
| 212 | - to_JS_String("CalexiumToolBox.ajax_load_content('"+load_content_target+"', "+format_web_action_name_to_js(web_action, extra_ops)+", true)"), | |
| 212 | + to_JS_String("Xlib.ajax_load_content('"+load_content_target+"', "+format_web_action_name_to_js(web_action, extra_ops)+", true)"), | |
| 213 | 213 | |
| 214 | - core_attrs + [id(uid), style("cursor: pointer"), event(onclick, "CalexiumToolBox.make_confirm_dialog(this, "+ ok_action +");")]. | |
| 214 | + core_attrs + [id(uid), style("cursor: pointer"), event(onclick, "Xlib.make_confirm_dialog(this, "+ ok_action +");")]. | |
| 215 | 215 | |
| 216 | 216 | public define HTML_Partial_Content |
| 217 | 217 | img_button_confirm |
| ... | ... | @@ -226,7 +226,7 @@ public define HTML_Partial_Content |
| 226 | 226 | )= |
| 227 | 227 | with uid = generate_random_string(20), |
| 228 | 228 | |
| 229 | - partial_content([js(js_file("js/cxm/cxm.js")), js_inline(jquery_ready(img_button_confirm_js(uid, dlg_title, dlg_text, dlg_ok, dlg_cancel)))], | |
| 229 | + partial_content([js(js_file("xlib/js/xlib.js")), js_inline(jquery_ready(img_button_confirm_js(uid, dlg_title, dlg_text, dlg_ok, dlg_cancel)))], | |
| 230 | 230 | img(img_button_confirm_image_attrs(core_attrs, uid, actioner), img_path)). |
| 231 | 231 | |
| 232 | 232 | public define HTML_Partial_Content |
| ... | ... | @@ -269,8 +269,8 @@ public define String |
| 269 | 269 | String dlg_ok_js_script |
| 270 | 270 | ) = |
| 271 | 271 | with uid = generate_random_string(10), |
| 272 | - "<script type=\"text/javascript\">$(document).ready(function(){CalexiumToolBox.data.confirm_dialog['" + uid + "'] = {title:" + dlg_title_js_escaped + ",text:" + dlg_text_js_escaped + ",ok:" + dlg_ok_js_escaped + ",cancel:" + dlg_cancel_js_escaped + | |
| 273 | - "};});</script><img " + inline_img_attrb + " id=\"" + uid + "\" style=\"cursor:pointer\" onclick=\"CalexiumToolBox.make_confirm_dialog(this," + dlg_ok_js_script + ");\" src=\"" + img_path + "\"></img>". | |
| 272 | + "<script type=\"text/javascript\">$(document).ready(function(){Xlib.data.confirm_dialog['" + uid + "'] = {title:" + dlg_title_js_escaped + ",text:" + dlg_text_js_escaped + ",ok:" + dlg_ok_js_escaped + ",cancel:" + dlg_cancel_js_escaped + | |
| 273 | + "};});</script><img " + inline_img_attrb + " id=\"" + uid + "\" style=\"cursor:pointer\" onclick=\"Xlib.make_confirm_dialog(this," + dlg_ok_js_script + ");\" src=\"" + img_path + "\"></img>". | |
| 274 | 274 | |
| 275 | 275 | public define String |
| 276 | 276 | img_button_confirm |
| ... | ... | @@ -301,7 +301,7 @@ public define HTML_Partial_Content |
| 301 | 301 | with uid = generate_random_string(20), |
| 302 | 302 | //with event_click = (CoreAttrs)event(onclick, "CalexiumToolBox.jq_query("+format_web_action_name_to_js(web_action, extra_ops)+")"), |
| 303 | 303 | |
| 304 | - partial_content([js(js_file("js/cxm/cxm.js")), js_inline(jquery_ready(img_button_confirm_js(uid, dlg_title, dlg_text, dlg_ok, dlg_cancel)))], | |
| 304 | + partial_content([js(js_file("xlib/js/xlib.js")), js_inline(jquery_ready(img_button_confirm_js(uid, dlg_title, dlg_text, dlg_ok, dlg_cancel)))], | |
| 305 | 305 | img(img_button_confirm_image_attrs(core_attrs, uid, web_action, extra_ops, load_content_target), img_path)) |
| 306 | 306 | . |
| 307 | 307 | ... | ... |
web/widgets/css_helper.anubis
| ... | ... | @@ -8,8 +8,8 @@ |
| 8 | 8 | |
| 9 | 9 | read tools/basis.anubis |
| 10 | 10 | |
| 11 | -read xlib/web/CXM_common.anubis | |
| 12 | -read xlib/web/CXM_making_a_web_site.anubis | |
| 11 | +read xlib/web/common.anubis | |
| 12 | +read xlib/web/making_a_web_site.anubis | |
| 13 | 13 | |
| 14 | 14 | /**** WAVE BOX ****/ |
| 15 | 15 | |
| ... | ... | @@ -222,7 +222,7 @@ public define HTML_Partial_Content |
| 222 | 222 | ( |
| 223 | 223 | List(ChangeListItem) items |
| 224 | 224 | )= |
| 225 | - partial_content([css(css_file("css/changelists.css"))], | |
| 225 | + partial_content([css(css_file("xlib/css/changelists.css"))], | |
| 226 | 226 | div([class("changelist")], |
| 227 | 227 | table([/*class("module"), */ attr("cellspacing","0")], make_changelist_rows(items, [], 1)))) |
| 228 | 228 | . | ... | ... |
web/widgets/icons_set.anubis
web/widgets/left_menu.anubis
web/widgets/specialized_elements.anubis
web_controllers/language/language_management.anubis
| ... | ... | @@ -10,7 +10,7 @@ read system/logger.anubis |
| 10 | 10 | read locale/L3.anubis |
| 11 | 11 | read locale/L3LanguageInfo.anubis |
| 12 | 12 | read xlib/web/types/controllers_web_site.anubis |
| 13 | -read xlib/web/CXM_web_session.anubis | |
| 13 | +read xlib/web/web_session.anubis | |
| 14 | 14 | |
| 15 | 15 | public define One set_dictionary(WEB_Session s, String n) = replace_String(s.fields, "AWS_CURRENT_DICTIONARY", n). |
| 16 | 16 | public define One set_dictionary(Var(List(Session_Field)) fields, String n) = replace_String(fields, "AWS_CURRENT_DICTIONARY", n). |
| ... | ... | @@ -104,8 +104,8 @@ public define HTML_Partial_Content |
| 104 | 104 | else |
| 105 | 105 | language_line(lang_code, self_name(lang_info)), |
| 106 | 106 | partial_content([ |
| 107 | - css(css_file("css/flags_menu.css")), | |
| 108 | - js(js_file("js/cxm/cxm.js")) | |
| 107 | + css(css_file("xlib/css/flags_menu.css")), | |
| 108 | + js(js_file("xlib/js/xlib.js")) | |
| 109 | 109 | ], |
| 110 | 110 | [ |
| 111 | 111 | dl([ | ... | ... |