web2py_ajax.html 788 B

12345678910111213141516
  1. <script type="text/javascript"><!--
  2. // These variables are used by the web2py_ajax_init function in web2py_ajax.js (which is loaded below).
  3. var w2p_ajax_confirm_message = "{{=T('Are you sure you want to delete this object?')}}";
  4. var w2p_ajax_date_format = "{{=T('%Y-%m-%d')}}";
  5. var w2p_ajax_datetime_format = "{{=T('%Y-%m-%d %H:%M:%S')}}";
  6. var ajax_error_500 = '{{=T.M('An error occured, please [[reload %s]] the page') % URL(args=request.args, vars=request.get_vars) }}'
  7. //--></script>
  8. {{
  9. response.files.insert(0,URL('static','js/jquery.js'))
  10. response.files.insert(1,URL('static','css/calendar.css'))
  11. response.files.insert(2,URL('static','js/calendar.js'))
  12. response.files.insert(3,URL('static','js/web2py.js'))
  13. response.include_meta()
  14. response.include_files()
  15. }}