From: Jason Woofenden Date: Tue, 24 May 2011 08:39:29 +0000 (-0400) Subject: metaform: removed unused only_used parameter X-Git-Url: https://jasonwoof.com/gitweb/?p=wfpl.git;a=commitdiff_plain;h=8d96ab09bfceb2ea5865215232c97d045417be0a metaform: removed unused only_used parameter --- diff --git a/metaform/main.html b/metaform/main.html index ef68b63..781dea1 100644 --- a/metaform/main.html +++ b/metaform/main.html @@ -30,7 +30,7 @@

Provide a "Display" page.

-

Password protect this form.
+

Password protect this page.
         But with publicly accessible submission form
         But with publicly accessible view page.

diff --git a/metaform/template.php b/metaform/template.php index 34ac04d..47bd90e 100644 --- a/metaform/template.php +++ b/metaform/template.php @@ -86,7 +86,7 @@ function ~public_file_name~_main() {~opt_public_display {~ }~}~ -function ~file_name~_main(~opt_display unset {~~opt_public_form {~$new_only = false~}~~}~) {~opt_pass {~ +function ~file_name~_main() {~opt_pass {~ if(logged_in_as_admin()) { tem_set('admin_privs'); } else {