summaryrefslogtreecommitdiff
path: root/demos/quickstart/protected/pages/Search.page
blob: a37f91ef46ad065cf2c60c99fd1faa7500264e21 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
<com:TContent ID="body">
<div class="quicksearch">
	<div class="search">
	<com:SearchBox ID="search"  />
	</div>

	<com:TRepeater id="quickstart_results">
	<prop:HeaderTemplate>
	<div class="searchHeader">
		Found <%# $this->Parent->Data->Count %> results in the Quickstart Tutorial.
	</div>
	</prop:HeaderTemplate>
	<prop:ItemTemplate>
	<div class="searchItem">
		<div class="searchItemLink">
		<%# $this->ItemIndex + 1 %>.
		<a href="<%# $this->DataItem->link %>">
			<%# $this->DataItem->title %>
		</a>
		</div>
		<p class="searchItemBody"><%# $this->Page->HighlightSearch($this->DataItem->text) %></p>
	</div>
	</prop:ItemTemplate>
	</com:TRepeater>
	<com:TPanel id="emptyResult" CssClass="empty_search_result" Visible="false">
	No results available for "<%= htmlentities($this->Page->search->Text) %>".
	</com:TPanel>
</div>
<div class="last-modified">$Id$</div></com:TContent>