X-Git-Url: https://scm.cri.ensmp.fr/git/Plinn.git/blobdiff_plain/3c4367d8e03450e9a73e61f4247145d2b6c86a33..959d888c17d1403d2eeecc19bc4b5e2c8d1debf6:/Products/Plinn/skins/jscalendar/test.php diff --git a/Products/Plinn/skins/jscalendar/test.php b/Products/Plinn/skins/jscalendar/test.php new file mode 100644 index 0000000..c9c2e28 --- /dev/null +++ b/Products/Plinn/skins/jscalendar/test.php @@ -0,0 +1,116 @@ + + + + + +Test for calendar.php + + + section; it will "echo" code that loads the calendar +// scripts and theme file. +$calendar->load_files(); + +?> + + + + + + + +

Form submitted

+ + $val) { + echo htmlspecialchars($key) . ' = ' . htmlspecialchars($val) . '
'; +} ?> + + + +

Calendar.php test

+ +
+ Select language: +
+ NOTE: as of this release, 0.9.6, only "EN" and "RO", which I + maintain, function correctly. Other language files do not work + because they need to be updated. If you update some language file, + please consider sending it back to me so that I can include it in the + calendar distribution. +
+
+ +
+ + + + + + + +
+ Date 1: + + make_input_field( + // calendar options go here; see the documentation and/or calendar-setup.js + array('firstDay' => 1, // show Monday first + 'showsTime' => true, + 'showOthers' => true, + 'ifFormat' => '%Y-%m-%d %I:%M %P', + 'timeFormat' => '12'), + // field attributes go here + array('style' => 'width: 15em; color: #840; background-color: #ff8; border: 1px solid #000; text-align: center', + 'name' => 'date1', + 'value' => strftime('%Y-%m-%d %I:%M %P', strtotime('now')))); ?> +
+ +
+ + +
+ + + + +