JasonWoof Got questions, comments, patches, etc.? Contact Jason Woofenden
fixed metaform so the variables in the generated html template for the listing are...
authorJason Woofenden <jason283@herkamire.com>
Tue, 5 May 2009 16:59:39 +0000 (12:59 -0400)
committerJason Woofenden <jason283@herkamire.com>
Wed, 27 May 2009 20:12:31 +0000 (16:12 -0400)
metaform.php
metaform/template.html

index a556f1a..b2d3c21 100644 (file)
@@ -272,6 +272,8 @@ function make_html($whole_file = true) {
                                        $tem->set('listing_enc', 'yesno');
                                } elseif($input == 'date') {
                                        $tem->set('listing_enc', 'mmddyyyy');
+                               } else {
+                                       $tem->set('listing_enc', 'html');
                                }
                                $tem->show('listing_head_col');
                                $tem->show('listing_row_col');
index 3dd3abb..68dac08 100644 (file)
@@ -85,7 +85,7 @@
   <p><a href="~file_name~?~file_name~_new=1">[Add a new ~singular~]</a></p>
 
   <table cellspacing="0" cellpadding="4" border="1" summary="">
-    <!--~listing_head_col start~--><th>~caption~</th><!--~end~--><th></th><!--~~listing_row start~~-->
+    <!--~listing_head_col start~--><th>~caption~</th><!--~end~--><th>&nbsp;</th><!--~~listing_row start~~-->
     <tr><!--~listing_row_col start~-->
       <td class="listing"><a href="~file_name~?~file_name~_<!--~opt_display_a_else start~-->edit_<!--~end~-->id=~~id~~">~~~name~.~listing_enc~~~</a></td><!--~end~-->
       <td><a href="~file_name~?~file_name~_delete_id=~~id~~" onclick="return confirm('Permanently delete?')">[delete this ~singular~]</a></td>