From 004d7c622549f56ea0bcc81b0cde9c18d8f35f46 Mon Sep 17 00:00:00 2001 From: Jason Woofenden Date: Wed, 28 Nov 2007 00:24:13 -0500 Subject: [PATCH] metaform: textarea is smaller, s/tem_sub/tem_show/ --- metaform/template.html | 2 +- metaform/template.php | 14 +++++++------- 2 files changed, 8 insertions(+), 8 deletions(-) diff --git a/metaform/template.html b/metaform/template.html index 08ba1b8..cabd660 100644 --- a/metaform/template.html +++ b/metaform/template.html @@ -36,7 +36,7 @@
- +
~caption.html~: ~caption.html~: ~caption.html~: dd/mm/yy~caption.html~: ~caption.html~: ~caption.html~:
~caption.html~: ~caption.html~: ~caption.html~: ~caption.html~? ~caption.html~?
~caption.html~: ~caption.html~: ~caption.html~: dd/mm/yy~caption.html~: ~caption.html~: ~caption.html~:
~caption.html~: ~caption.html~: ~caption.html~: ~caption.html~? ~caption.html~?
diff --git a/metaform/template.php b/metaform/template.php index 76ce31f..4858e4d 100644 --- a/metaform/template.php +++ b/metaform/template.php @@ -76,9 +76,9 @@ function ~form_name~_display_listing($where = 'order by ~always_field~ limit 100 $~always_field~ = '--'; } tem_set('~always_field~', $~always_field~); - tem_sub('listing_row'); + tem_show('listing_row'); } - tem_sub('listings'); + tem_show('listings'); return true; } @@ -106,7 +106,7 @@ function _~form_name~_main() { if($edit_id) { # add hidden field for database id of row we're editing tem_set('~form_name~_edit_id', $edit_id); - tem_sub('editing'); + tem_show('editing'); } $delete_id = format_int($_REQUEST['~form_name~_delete_id']); @@ -131,7 +131,7 @@ function _~form_name~_main() { } } - tem_sub('new_msg'); + tem_show('new_msg'); } if(isset($_REQUEST['~always_field~'])) { @@ -166,7 +166,7 @@ function _~form_name~_main() { } if($error !== true) { ~form_name~_display_listing(); - tem_sub('thankyou'); + tem_show('thankyou'); return; } } @@ -187,10 +187,10 @@ function _~form_name~_main() { # this has to be later in the file because it requres that ~always_field~ be set already if($edit_id) { - tem_sub('edit_msg'); + tem_show('edit_msg'); } - tem_sub('form'); + tem_show('form'); } ?> -- 1.7.10.4