X-Git-Url: http://git.iain.cx/?a=blobdiff_plain;f=lib%2Ffunctions.php;h=2fcbe0e493e3dace99565a6bbb75e9bdf7674e4b;hb=3b2e8214805eb2bdebb7485ce29c072815361eef;hp=73ea46443743007dd483b8a2d5d80bc6dd888516;hpb=1fb7460a871d2342eca8a99d5e6a4af26c019372;p=readifood.git diff --git a/lib/functions.php b/lib/functions.php index 73ea464..2fcbe0e 100644 --- a/lib/functions.php +++ b/lib/functions.php @@ -486,32 +486,54 @@ } function show_date_form($name, $date = null) { - $past = 60; - $future = 60; - echo "\n"; - return; - if (! isset($date)) $date = date('Y-m-d'); - list($y, $m, $d) = iso8601_to_ymd($date); - - echo "Year: "; - echo "Month: "; - echo "Day: "; } function get_small_link() {