Edgewall Software

source: trunk/examples/bench/clearsilver/template.cs

Last change on this file was 299, checked in by cmlenz, 17 years ago

Fixed EOL style.

  • Property svn:eol-style set to native
File size: 662 bytes
RevLine 
[61]1<!DOCTYPE html
2    PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN"
3    "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
4<html xmlns="http://www.w3.org/1999/xhtml" lang="en">
5  <head>
6    <title><?cs var:title ?></title>
7  </head>
8  <body>
9    <?cs include:"header.cs" ?>
[81]10    <?cs call:greeting(user) ?>
[74]11    <?cs call:greeting('me') ?>
[81]12    <?cs call:greeting('world') ?>
[61]13   
14    <h2>Loop</h2>
15    <?cs if:len(items) ?>
16      <ul>
17        <?cs each:item = items ?>
[74]18          <li<?cs if:name(item) == len(items) ?> class="last"<?cs /if ?>><?cs var:item ?></li>
[61]19        <?cs /each ?>
20      </ul>
21    <?cs /if ?>
22   
23    <?cs include:"footer.cs" ?>
24  </body>
25</html>
Note: See TracBrowser for help on using the repository browser.