Got questions, comments, patches, etc.?
Contact Jason Woofenden
gitweb
/
wfpl.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
make metaform tarballs come with install doc
[wfpl.git]
/
doc
/
template.php.txt
diff --git
a/doc/template.php.txt
b/doc/template.php.txt
index
0abfb73
..
416b6ac
100644
(file)
--- a/
doc/template.php.txt
+++ b/
doc/template.php.txt
@@
-17,7
+17,7
@@
This should work for simple templates such as: foo: '~foo~'
<table>
<tr><th>foo</th><th>bar</th></tr>
<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');
</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>
sub templates:
key: foobar_row
value: <tr><td>~foo.....html~</td><td><input value="~bar.attr~"></tr>
-
-
-tmpl_insert('foobar_row');