X-Git-Url: http://git.iain.cx/?a=blobdiff_plain;f=lib%2Fforms.php;h=ae08607fa9f2554eade66724954f35ab0e07e885;hb=3b2e8214805eb2bdebb7485ce29c072815361eef;hp=af51c1c53fe1f4b552c0e9a76edd8c33c0a23e26;hpb=6fdbfe32798452ec1c0fdbda57edabb892518409;p=readifood.git diff --git a/lib/forms.php b/lib/forms.php index af51c1c..ae08607 100644 --- a/lib/forms.php +++ b/lib/forms.php @@ -1,5 +1,18 @@ \n"; + } + + function end_form() { + echo "\n"; + } + function input($name, $value = null, $type = null) { 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)"; + } + ?>