-
Notifications
You must be signed in to change notification settings - Fork 1
/
searchresult.tpl
46 lines (46 loc) · 1.2 KB
/
searchresult.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
[searchposts]
[fullresult]
{include file="shortstory.tpl"}
[/fullresult]
[shortresult]
<article class="box story[fixed] fixed_story[/fixed]">
<div class="box_in">
<h2 class="title">[full-link]{title}[/full-link]</h2>
[not-group=5]
<ul class="story_icons">
<li class="edit_btn">
[edit]<i title="Edit">Edit</i>[/edit]
</li>
</ul>
[/not-group]
<div class="text">
{short-story limit="200"}...
</div>
</div>
<div class="meta">
<ul class="right">
<li class="category">
<svg class="icon icon-cat"><use xlink:href="#icon-cat"></use></svg>
<a href="{category-url}">{category}</a>
</li>
</ul>
<ul class="left">
<li><svg class="icon icon-info"><use xlink:href="#icon-info"></use></svg> {author}<span class="grey"> from <time datetime="{date=Y-m-d}">[day-news]{date}[/day-news]</time></span></li>
</ul>
</div>
</article>
[/shortresult]
[/searchposts]
[searchcomments]
[fullresult]
{include file="comments.tpl"}
[/fullresult]
[shortresult]
<div class="comment" id="{comment-id}">
<div class="com_content">
<h4 class="title" style="margin-top: 0;">{news_title}</h4>
<div class="text">{comment limit="200"}</div>
</div>
</div>
[/shortresult]
[/searchcomments]