diff --git a/htdocs/public/test/test_forms.php b/htdocs/public/test/test_forms.php index d24171680b0..235c687472a 100644 --- a/htdocs/public/test/test_forms.php +++ b/htdocs/public/test/test_forms.php @@ -23,14 +23,12 @@ llxHeader(); ?> -

This page is a sample of page using Dolibarr HTML widget methods. It is designed to make test with
- css (add parameter &theme=newtheme to test another theme or edit css of current theme)
- jmobile (add parameter ">dol_use_jmobile=1&dol_optimize_smallscreen=1 and switch to small screen < 570 to enable with emulated jmobile)
- no javascript / usage for bind people (add parameter ">nojs=1 to force disable javascript)
- use with a text browser (add parameter ">textbrowser=1 to force detection of a text browser)
-

-
+

selectDate('', 'test1b', 1, 1, 0); print '

'."\n"; // Test2: form->selectDate using tzuser date -print "Test 2: We must have here 1970-01-01 00:00:00 selected (fields can be empty)
\n"; +print "Test 2: We must have here 1970-01-01 selected (fields can be empty)
\n"; print $form->selectDate(dol_get_first_day(1970, 1, false), 'test2', 1, 1, 1); print '

'."\n"; @@ -120,7 +118,7 @@ if (is_file(DOL_DOCUMENT_ROOT.'/includes/flowjs/flow.js')) { print '