Commit 413024a654453b61bccab9c0904375c7aeb6fc84
1 parent
1f0a2cf3
add jqgrid init
Showing
2 changed files
with
23 additions
and
2 deletions
Show diff stats
database/db_update_fields.anubis
| @@ -5,7 +5,7 @@ | @@ -5,7 +5,7 @@ | ||
| 5 | * Time: 00:11 | 5 | * Time: 00:11 |
| 6 | * © Calexium | 6 | * © Calexium |
| 7 | */ | 7 | */ |
| 8 | - | 8 | +read tools/basis.anubis |
| 9 | read system/string.anubis | 9 | read system/string.anubis |
| 10 | 10 | ||
| 11 | public type SQLite3_update_field: | 11 | public type SQLite3_update_field: |
| @@ -23,7 +23,7 @@ public define (List(SQLite3Bind), String) | @@ -23,7 +23,7 @@ public define (List(SQLite3Bind), String) | ||
| 23 | [] then (so_far, join(", ",set_clause)), | 23 | [] then (so_far, join(", ",set_clause)), |
| 24 | [ h . t ] then | 24 | [ h . t ] then |
| 25 | if h is field(column, bind) then | 25 | if h is field(column, bind) then |
| 26 | - _make_update_clause_and_binds(t, [bind . so_far], ["\""+column+"\" = :v_"+column . set_clause]) | 26 | + _make_update_clause_and_binds(t, [bind . so_far], ["\""+column+"\" = :v_"+column . set_clause]) |
| 27 | } | 27 | } |
| 28 | . | 28 | . |
| 29 | 29 |
| 1 | +/* | ||
| 2 | + * Created by PyramIDE. | ||
| 3 | + * User: フランスのトトロ aka (David RENÉ) | ||
| 4 | + * Date: 26/03/2017 | ||
| 5 | + * Time: 18:28 | ||
| 6 | + * © Calexium | ||
| 7 | + */ | ||
| 8 | + | ||
| 9 | +read calexium_lib/web/CXM_making_a_web_site.anubis | ||
| 10 | + | ||
| 11 | +public define List(HTML_Head_Tag) | ||
| 12 | + jqgrid_init | ||
| 13 | + ( | ||
| 14 | + String lang | ||
| 15 | + )= | ||
| 16 | + [ | ||
| 17 | + js(js_file("jqGrid/jquery.jqgrid.min.js")), | ||
| 18 | + css(css_file("jqGrid/css/ui.jqgrid.min.css")), | ||
| 19 | + js(js_file("jqGrid/i18n/min/grid.locale-"+lang+".js")) | ||
| 20 | + ] | ||
| 21 | +. |