Got questions, comments, patches, etc.?
Contact Jason Woofenden
gitweb
/
wfpl.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Merge branch 'master' of gitorious.org:wfpl/wfpl
[wfpl.git]
/
metaform.php
diff --git
a/metaform.php
b/metaform.php
index
a4a7872
..
3e8c380
100644
(file)
--- 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);
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') {
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(
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'),
".htaccess" => make_htaccess(),
#"run.php ->" => 'code/wfpl/run.php',
"style.css" => read_whole_file('code/wfpl/metaform/style.css'),