From: Jason Woofenden Date: Sat, 10 Jul 2010 21:38:27 +0000 (-0400) Subject: metaform: pretty captions in e-mails X-Git-Url: https://jasonwoof.com/gitweb/?a=commitdiff_plain;h=a6f8b885180ef3e009e28d723dd05734eb0d4ef5;p=wfpl.git metaform: pretty captions in e-mails --- diff --git a/metaform.php b/metaform.php index a4a7872..ed10c8d 100644 --- a/metaform.php +++ b/metaform.php @@ -467,7 +467,7 @@ function make_email() { foreach($fields as $field) { list($name, $type, $input, $format, $sql) = $field; $tem->set('name', $name); - $tem->set('caption', $name); # fixme + $tem->set('caption', format_caption($name)); if($type == 'textarea') { $tem->show('multi_line'); } elseif($type == 'checkbox') {