From: Jason Woofenden Date: Fri, 15 Jun 2007 12:00:34 +0000 (-0400) Subject: metaform: added pulldown support, added leftcheck X-Git-Url: https://jasonwoof.com/gitweb/?p=wfpl.git;a=commitdiff_plain;h=7add2ea3f61e40c5f0f5539ac6e02533c9390db4 metaform: added pulldown support, added leftcheck metaform now ships a seperate stylesheet. metaform captions are cleaned up (underscores to spaces and capitalization) metaform's generated php has less duplication added enc_upper() enc_whatever functions can recieve the field name as the second parameter format_options() forces the value to be something in the options list metaform's auto-generated submit button says "Send" if it's e-mail only --- diff --git a/encode.php b/encode.php index a4c4587..38b09bd 100644 --- a/encode.php +++ b/encode.php @@ -89,20 +89,119 @@ function enc_tab($str) { return substr($out, 0, -1); } +function enc_upper($str) { + return strtoupper($str); +} + # display