|
Revision 240, 409 bytes
(checked in by schst, 4 years ago)
|
added recursive parameter to clearTemplate() and example for the functionality
|
- Property svn:eol-style set to
native
- Property svn:keywords set to
Author Date Id Revision
|
| Line | |
|---|
| 1 |
<!-- $Id$ --> |
|---|
| 2 |
<patTemplate:tmpl name="root"> |
|---|
| 3 |
This is root: {FOO}<br /> |
|---|
| 4 |
|
|---|
| 5 |
<patTemplate:tmpl name="nested"> |
|---|
| 6 |
This is nested: {FOO}<br /> |
|---|
| 7 |
</patTemplate:tmpl> |
|---|
| 8 |
|
|---|
| 9 |
<patTemplate:tmpl name="cond" type="oddEven"> |
|---|
| 10 |
<patTemplate:sub condition="__odd"> |
|---|
| 11 |
This is odd: {FOO}<br /> |
|---|
| 12 |
</patTemplate:sub> |
|---|
| 13 |
<patTemplate:sub condition="__even"> |
|---|
| 14 |
This is even: {FOO}<br /> |
|---|
| 15 |
</patTemplate:sub> |
|---|
| 16 |
</patTemplate:tmpl> |
|---|
| 17 |
|
|---|
| 18 |
|
|---|
| 19 |
</patTemplate:tmpl> |
|---|
| 20 |
|
|---|