summaryrefslogtreecommitdiff
path: root/demos/quickstart/protected/pages/Controls/Samples/TConditional/Home.page
blob: 0c099551c5f7d0ab8dc58301aca9c28c7a79a8fd (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
<com:TContent ID="body">
<h1>TConditional Samples</h1>

<com:TConditional Condition="Prado::getVersion()==='3.1.1'">
<prop:TrueTemplate>
  <com:TLabel Text="You are using PRADO 3.1.1" />
</prop:TrueTemplate>
<prop:FalseTemplate>
  <com:TLabel Text="You are using PRADO <%= Prado::getVersion() %>" />
</prop:FalseTemplate>
</com:TConditional>

<div class="last-modified">$Id$</div>
</com:TContent>