-
Notifications
You must be signed in to change notification settings - Fork 7
/
Copy pathsearch.tpl
89 lines (49 loc) · 2.14 KB
/
search.tpl
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
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
{{ include file="_tpl/_html-head.tpl" }}
{{ include file="_tpl/header.tpl" }}
<div id="page" class="container">
<!-- Content -->
<section id="content">
{{ list_search_results length="10" ignore_issue="true" }}
{{if $gimme->current_list->at_beginning}}
<div class="bloger_news_items">
<div class="space_left_content">
<ul>
{{/if}}
<li class="news_item">
{{ image rendition="section" }}
<a href="{{url options="article"}}" class="thumbnail">
<img src="{{ $image->src }}" alt="{{ $image->caption }} (photo: {{ $image->photographer }})" class="thumbnail" />
</a>
{{/image}}
<div class="content content_text">
<h6 class="info">{{list_article_authors}}
{{if $gimme->current_list->index!=1}}, {{/if}}
{{ if $gimme->author->biography->first_name }}
{{ $gimme->author->biography->first_name }} {{
$gimme->author->biography->last_name }}
{{ else }}
{{ $gimme->author->name }}
{{ /if }}
{{if $gimme->current_list->at_end}}
-
{{/if}}
{{/list_article_authors}}{{ $gimme->article->publish_date|camp_date_format:"%d.%m.%Y " }}</h6>
<h3 class="title"><a href="{{url options="article"}}">{{$gimme->article->name}}</a></h3>
<p>{{$gimme->article->deck|strip_tags}}</p>
</div>
</li>
{{if $gimme->current_list->at_end}}
</ul>
</div>
</div>
{{ include file="_tpl/pagination-search.tpl" }}
{{/if}}
{{/list_search_results}}
{{ if $gimme->prev_list_empty }}
<p>{{'noSearchResults'|translate}}</p>
{{ /if }}
</section>
<!-- End Content -->
</div>
{{ include file="_tpl/footer.tpl" }}
{{ include file="_tpl/_html-foot.tpl" }}