All pastes #472260 Raw Edit

Untitled

public text v1 · immutable
·published 2007-05-05 13:16 UTC
rendered paste body
// Template:

<tpl:foo>
	<tpl:if test="12">
		...
	</tpl:if>
	<bar foo="blah"/>
	<lala>
		...
	</lala>
</tpl:foo>

// Compiled Template:

foo {
if(12){
$self->out( <<'EOTT' );
...
	
EOTT
}
$self->out( <<'EOTT' );
<bar foo='blah' />
EOTT
>
EOTT
$self->out( <<'EOTT' );
<lala>
EOTT
$self->out( <<'EOTT' );
...
	
EOTT
</lala>
EOTT
}