From: Jason Woofenden Date: Fri, 29 Jun 2012 17:59:36 +0000 (-0400) Subject: make template's upload_max_filesize global X-Git-Url: https://jasonwoof.com/gitweb/?p=wfpl.git;a=commitdiff_plain;h=653f560504621b6e0fc6d59ec1ba3d9bc7258f43 make template's upload_max_filesize global --- diff --git a/metaform/template.html b/metaform/template.html index 37a38f0..b2e791f 100644 --- a/metaform/template.html +++ b/metaform/template.html @@ -75,7 +75,7 @@

Add a new ~singular~Edit ~singular~ "~~~always_field~ html~~"Submit a ~singular~

-
+
~caption html~ diff --git a/metaform/template.php b/metaform/template.php index 9c88208..fa05c07 100644 --- a/metaform/template.php +++ b/metaform/template.php @@ -213,7 +213,7 @@ function ~file_name~_main_form($id = false) {~pulldowns {~ $data = array(); }~upload_max {~ - tem_set('upload_max_filesize', upload_max_filesize());~}~ + tem_set('$upload_max_filesize', upload_max_filesize());~}~ tem_set('form', $data);~show_extra_headers {~ tem_set('$head');~}~