|
Revision 190, 1.1 kB
(checked in by argh, 5 years ago)
|
Updated the dhtml dump
|
- Property svn:eol-style set to
native
- Property svn:keywords set to
Author Date Id Revision
|
| Line | |
|---|
| 1 |
<!-- $Id$ --> |
|---|
| 2 |
<patTemplate:tmpl name="page"> |
|---|
| 3 |
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"> |
|---|
| 4 |
|
|---|
| 5 |
<html> |
|---|
| 6 |
<head> |
|---|
| 7 |
<title>Untitled</title> |
|---|
| 8 |
</head> |
|---|
| 9 |
|
|---|
| 10 |
<body> |
|---|
| 11 |
<patTemplate:tmpl name="list"> |
|---|
| 12 |
<table border="1"> |
|---|
| 13 |
<tr> |
|---|
| 14 |
<th>Superhero</th> |
|---|
| 15 |
<th>Realname</th> |
|---|
| 16 |
</tr> |
|---|
| 17 |
<patTemplate:tmpl name="list_entry"> |
|---|
| 18 |
<tr> |
|---|
| 19 |
<td><patTemplate:var name="superhero" modifier="strtoupper"/></td> |
|---|
| 20 |
<td>{REALNAME}</td> |
|---|
| 21 |
</tr> |
|---|
| 22 |
</patTemplate:tmpl> |
|---|
| 23 |
</table><br> |
|---|
| 24 |
</patTemplate:tmpl> |
|---|
| 25 |
|
|---|
| 26 |
<b>Condition template:</b><br> |
|---|
| 27 |
<pattemplate:tmpl name="with_conditions" type="condition" conditionvar="argh"> |
|---|
| 28 |
|
|---|
| 29 |
<patTemplate:comment> |
|---|
| 30 |
This comment is inside the tmpl template. |
|---|
| 31 |
</patTemplate:comment> |
|---|
| 32 |
|
|---|
| 33 |
<pattemplate:sub condition="__default"> |
|---|
| 34 |
<pattemplate:comment> |
|---|
| 35 |
Default condition |
|---|
| 36 |
</pattemplate:comment> |
|---|
| 37 |
.Default condition {ARGH}<br> |
|---|
| 38 |
</pattemplate:sub> |
|---|
| 39 |
|
|---|
| 40 |
<pattemplate:sub condition="argh"> |
|---|
| 41 |
.Argh condition <patTemplate:var name="argh" modifier="nl2br" default="foo"/><br> |
|---|
| 42 |
<pattemplate:link src="list"/> |
|---|
| 43 |
<patTemplate:comment> |
|---|
| 44 |
This comment is inside the sub template. |
|---|
| 45 |
</patTemplate:comment> |
|---|
| 46 |
</pattemplate:sub> |
|---|
| 47 |
|
|---|
| 48 |
</pattemplate:tmpl> |
|---|
| 49 |
|
|---|
| 50 |
</body> |
|---|
| 51 |
</html> |
|---|
| 52 |
</patTemplate:tmpl> |
|---|