|
Revision 419, 499 bytes
(checked in by schst, 3 years ago)
|
Fixed bug #74: Attributes "maxloop" and "conditions" causes PHP crash
|
| Line | |
|---|
| 1 |
<patTemplate:tmpl name="page"> |
|---|
| 2 |
<table border="1"> |
|---|
| 3 |
<patTemplate:tmpl name="list_row" type="condition" conditionvar="myvar"> |
|---|
| 4 |
<patTemplate:sub condition="yes"> |
|---|
| 5 |
<tr bgcolor="#990000"> |
|---|
| 6 |
<patTemplate:link src="list_entry" /> |
|---|
| 7 |
</tr> |
|---|
| 8 |
</patTemplate:sub> |
|---|
| 9 |
<patTemplate:sub condition="__default"> |
|---|
| 10 |
<tr> |
|---|
| 11 |
<patTemplate:tmpl name="list_entry" maxloop="3"> |
|---|
| 12 |
<td>{PAT_ROW_VAR} {SOMETHING}</td> |
|---|
| 13 |
</patTemplate:tmpl> |
|---|
| 14 |
</tr> |
|---|
| 15 |
</patTemplate:sub> |
|---|
| 16 |
</patTemplate:tmpl> |
|---|
| 17 |
</table> |
|---|
| 18 |
</patTemplate:tmpl> |
|---|