X-Git-Url: http://git.iain.cx/?a=blobdiff_plain;f=lib%2Fforms.php;h=ae08607fa9f2554eade66724954f35ab0e07e885;hb=70bb5379c5ed6328da193eb87c23ab8a9606409b;hp=7b707d797e3f4204fb1595eb3c27220feb8446b2;hpb=bce1437d2d737e4fa94f5dd8b56e298364483070;p=readifood.git diff --git a/lib/forms.php b/lib/forms.php index 7b707d7..ae08607 100644 --- a/lib/forms.php +++ b/lib/forms.php @@ -43,4 +43,42 @@ echo ">$text\n"; } + function datepicker($name, $value = null, $past = true, $past_picker = null, $future = true, $future_picker = null) { + $id = "datepicker_$name"; + echo ""; + echo "(Y-m-d)"; + } + ?>