File: repeat.html

package info (click to toggle)
libpetal-perl 2.05-1
  • links: PTS
  • area: main
  • in suites: sarge
  • size: 792 kB
  • ctags: 137
  • sloc: perl: 3,722; xml: 630; makefile: 39
file content (11 lines) | stat: -rw-r--r-- 260 bytes parent folder | download | duplicates (9)
1
2
3
4
5
6
7
8
9
10
11
<html>
<body>
	<!-- pass vars back to the templating engine in petal:repeat statements: -->
	<span petal:repeat="type test/sub_test/list foo">
		Object 1: $type
	</span>
	<?repeat name="type test/sub_test/list foo"?>
		Object 2: $type
	<?end?>
</body>
</html>