X-Git-Url: https://jasonwoof.com/gitweb/?a=blobdiff_plain;f=metaform.php;h=3e8c380eab4e30db757fbcfae52a16268adc2dfa;hb=67367ba59ba215d2c7bb1eccf01d68774b32039d;hp=a4a7872b66c945c698ea7ad4c38bac1f229f1693;hpb=fb2d0e47e11293f8b2a98d13a76d19b6e6a4f77d;p=wfpl.git diff --git a/metaform.php b/metaform.php index a4a7872..3e8c380 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') { @@ -522,6 +522,7 @@ function preview() { function download_tar() { $name = $GLOBALS['file_name']; $data = array( + "INSTALL" => read_whole_file('code/wfpl/metaform/INSTALL'), ".htaccess" => make_htaccess(), #"run.php ->" => 'code/wfpl/run.php', "style.css" => read_whole_file('code/wfpl/metaform/style.css'),