JasonWoof Got questions, comments, patches, etc.? Contact Jason Woofenden
make metaform tarballs come with install doc
[wfpl.git] / doc / template.php.txt
index 0abfb73..416b6ac 100644 (file)
@@ -17,7 +17,7 @@ This should work for simple templates such as:  foo: '~foo~'
 
 <table>
 <tr><th>foo</th><th>bar</th></tr>
-<!--~foobar_row start~--><tr><td>~foo~</td><td><input value="~bar~"></tr><!--~end~-->
+<!--~foobar_row {~--><tr><td>~foo~</td><td><input value="~bar~"></tr><!--~}~-->
 </table>
 
 tem_load('foobar.html');
@@ -37,6 +37,3 @@ tem_load('foobar.html');
                sub templates:
                        key: foobar_row
                        value: <tr><td>~foo.....html~</td><td><input value="~bar.attr~"></tr>
-
-
-tmpl_insert('foobar_row');