From: Iain Patterson Date: Mon, 29 Apr 2013 16:20:57 +0000 (-0400) Subject: Added form() and end_form(). X-Git-Tag: 2013-05-13~31 X-Git-Url: http://git.iain.cx/?p=readifood.git;a=commitdiff_plain;h=bce1437d2d737e4fa94f5dd8b56e298364483070 Added form() and end_form(). Functions to start and end a form with optional classes and action URL. --- diff --git a/lib/forms.php b/lib/forms.php index af51c1c..7b707d7 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 "