summaryrefslogtreecommitdiff
path: root/demos/quickstart/protected/pages/pl/Search.page
blob: 859f2619ed65e902fa70c42648696b3ba949e883 (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">
		<%# $this->Parent->DataSource->Count %> znalezionych w 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">
	Nie znaleziono żadnych rezultatów dla frazy  "<%= htmlentities($this->Page->search->Text) %>".
	</com:TPanel>
</div>
</com:TContent>