root/trunk/examples/templates/example_cache_template_file.tmpl

Revision 131, 497 bytes (checked in by schst, 5 years ago)

added templateCache example

  • 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>
24 </patTemplate:tmpl>
25 </body>
26 </html>
27 </patTemplate:tmpl>
Note: See TracBrowser for help on using the browser.