From 413024a654453b61bccab9c0904375c7aeb6fc84 Mon Sep 17 00:00:00 2001 From: totoro Date: Sun, 26 Mar 2017 19:58:05 +0200 Subject: [PATCH] add jqgrid init --- database/db_update_fields.anubis | 4 ++-- web/jQuery/jqgrid.anubis | 21 +++++++++++++++++++++ 2 files changed, 23 insertions(+), 2 deletions(-) create mode 100644 web/jQuery/jqgrid.anubis diff --git a/database/db_update_fields.anubis b/database/db_update_fields.anubis index cfdb6ed..74b6651 100644 --- a/database/db_update_fields.anubis +++ b/database/db_update_fields.anubis @@ -5,7 +5,7 @@ * Time: 00:11 * © Calexium */ - +read tools/basis.anubis read system/string.anubis public type SQLite3_update_field: @@ -23,7 +23,7 @@ public define (List(SQLite3Bind), String) [] then (so_far, join(", ",set_clause)), [ h . t ] then if h is field(column, bind) then - _make_update_clause_and_binds(t, [bind . so_far], ["\""+column+"\" = :v_"+column . set_clause]) + _make_update_clause_and_binds(t, [bind . so_far], ["\""+column+"\" = :v_"+column . set_clause]) } . diff --git a/web/jQuery/jqgrid.anubis b/web/jQuery/jqgrid.anubis new file mode 100644 index 0000000..e733cf4 --- /dev/null +++ b/web/jQuery/jqgrid.anubis @@ -0,0 +1,21 @@ +/* + * Created by PyramIDE. + * User: フランスのトトロ aka (David RENÉ) + * Date: 26/03/2017 + * Time: 18:28 + * © Calexium + */ + +read calexium_lib/web/CXM_making_a_web_site.anubis + +public define List(HTML_Head_Tag) + jqgrid_init + ( + String lang + )= + [ + js(js_file("jqGrid/jquery.jqgrid.min.js")), + css(css_file("jqGrid/css/ui.jqgrid.min.css")), + js(js_file("jqGrid/i18n/min/grid.locale-"+lang+".js")) + ] +. -- libgit2 0.21.4