source: trunk/forum/styles/prosilver/template/search_results.html

Last change on this file was 702, checked in by george, 15 years ago
  • Upraveno: Aktualizace fóra.
File size: 6.8 KB
Line 
1<!-- INCLUDE overall_header.html -->
2
3<h2><!-- IF SEARCH_TITLE -->{SEARCH_TITLE}<!-- ELSE -->{SEARCH_MATCHES}<!-- ENDIF --><!-- IF SEARCH_WORDS -->: <a href="{U_SEARCH_WORDS}">{SEARCH_WORDS}</a><!-- ENDIF --></h2>
4<!-- IF IGNORED_WORDS --> <p>{L_IGNORED_TERMS}: <strong>{IGNORED_WORDS}</strong></p><!-- ENDIF -->
5
6<!-- IF SEARCH_TOPIC -->
7 <p><a class="{S_CONTENT_FLOW_BEGIN}" href="{U_SEARCH_TOPIC}">{L_RETURN_TO}: {SEARCH_TOPIC}</a></p>
8<!-- ELSE -->
9 <p><a class="{S_CONTENT_FLOW_BEGIN}" href="{U_SEARCH}" title="{L_SEARCH_ADV}">{L_RETURN_TO_SEARCH_ADV}</a></p>
10<!-- ENDIF -->
11
12<!-- IF PAGINATION or SEARCH_MATCHES or PAGE_NUMBER -->
13 <form method="post" action="{S_SEARCH_ACTION}">
14
15 <div class="topic-actions">
16
17 <!-- IF SEARCH_MATCHES -->
18 <div class="search-box">
19 <!-- IF SEARCH_IN_RESULTS -->
20 <label for="add_keywords">{L_SEARCH_IN_RESULTS}: <input type="text" name="add_keywords" id="add_keywords" value="" class="inputbox narrow" /></label>
21 <input class="button2" type="submit" name="submit" value="{L_SEARCH}" />
22 <!-- ENDIF -->
23 </div>
24 <!-- ENDIF -->
25
26 <div class="rightside pagination">
27 {SEARCH_MATCHES}<!-- IF PAGINATION --> &bull; <a href="#" onclick="jumpto(); return false;" title="{L_JUMP_TO_PAGE}">{PAGE_NUMBER}</a> &bull; <span>{PAGINATION}</span><!-- ELSE --> &bull; {PAGE_NUMBER}<!-- ENDIF -->
28 </div>
29 </div>
30
31 </form>
32<!-- ENDIF -->
33
34<!-- IF S_SHOW_TOPICS -->
35
36 <!-- IF .searchresults -->
37 <div class="forumbg">
38
39 <div class="inner"><span class="corners-top"><span></span></span>
40 <ul class="topiclist">
41 <li class="header">
42 <dl class="icon">
43 <dt>{L_TOPICS}</dt>
44 <dd class="posts">{L_REPLIES}</dd>
45 <dd class="views">{L_VIEWS}</dd>
46 <dd class="lastpost"><span>{L_LAST_POST}</span></dd>
47 </dl>
48 </li>
49 </ul>
50 <ul class="topiclist topics">
51
52 <!-- BEGIN searchresults -->
53 <li class="row<!-- IF searchresults.S_ROW_COUNT is even --> bg1<!-- ELSE --> bg2<!-- ENDIF -->">
54 <dl class="icon" style="background-image: url({searchresults.TOPIC_FOLDER_IMG_SRC}); background-repeat: no-repeat;">
55 <dt <!-- IF searchresults.TOPIC_ICON_IMG -->style="background-image: url({T_ICONS_PATH}{searchresults.TOPIC_ICON_IMG}); background-repeat: no-repeat;"<!-- ENDIF -->>
56 <!-- IF searchresults.S_UNREAD_TOPIC --><a href="{searchresults.U_NEWEST_POST}">{NEWEST_POST_IMG}</a> <!-- ENDIF -->
57 <a href="{searchresults.U_VIEW_TOPIC}" class="topictitle">{searchresults.TOPIC_TITLE}</a> {searchresults.ATTACH_ICON_IMG}
58 <!-- IF searchresults.S_TOPIC_UNAPPROVED or searchresults.S_POSTS_UNAPPROVED --><a href="{searchresults.U_MCP_QUEUE}">{searchresults.UNAPPROVED_IMG}</a> <!-- ENDIF -->
59 <!-- IF searchresults.S_TOPIC_REPORTED --><a href="{searchresults.U_MCP_REPORT}">{REPORTED_IMG}</a><!-- ENDIF --><br />
60 <!-- IF searchresults.PAGINATION --><strong class="pagination"><span>{searchresults.PAGINATION}</span></strong><!-- ENDIF -->
61 {L_POST_BY_AUTHOR} {searchresults.TOPIC_AUTHOR_FULL} &raquo; {searchresults.FIRST_POST_TIME}
62 <!-- IF not searchresults.S_TOPIC_GLOBAL -->{L_IN} <a href="{searchresults.U_VIEW_FORUM}">{searchresults.FORUM_TITLE}</a><!-- ELSE --> ({L_GLOBAL})<!-- ENDIF -->
63 </dt>
64 <dd class="posts">{searchresults.TOPIC_REPLIES}</dd>
65 <dd class="views">{searchresults.TOPIC_VIEWS}</dd>
66 <dd class="lastpost"><span>
67 {L_POST_BY_AUTHOR} {searchresults.LAST_POST_AUTHOR_FULL}
68 <!-- IF not S_IS_BOT --><a href="{searchresults.U_LAST_POST}">{LAST_POST_IMG}</a> <!-- ENDIF --><br />{searchresults.LAST_POST_TIME}<br /> </span>
69 </dd>
70 </dl>
71 </li>
72 <!-- END searchresults -->
73 </ul>
74
75 <span class="corners-bottom"><span></span></span></div>
76 </div>
77 <!-- ELSE -->
78 <div class="panel">
79 <div class="inner"><span class="corners-top"><span></span></span>
80 <strong>{L_NO_SEARCH_RESULTS}</strong>
81 <span class="corners-bottom"><span></span></span></div>
82 </div>
83 <!-- ENDIF -->
84
85<!-- ELSE -->
86
87 <!-- BEGIN searchresults -->
88 <div class="search post <!-- IF searchresults.S_ROW_COUNT is odd -->bg1<!-- ELSE -->bg2<!-- ENDIF --><!-- IF searchresults.S_POST_REPORTED --> reported<!-- ENDIF -->">
89 <div class="inner"><span class="corners-top"><span></span></span>
90
91 <!-- IF searchresults.S_IGNORE_POST -->
92 <div class="postbody">
93 {searchresults.L_IGNORE_POST}
94 </div>
95 <!-- ELSE -->
96 <div class="postbody">
97 <h3><a href="{searchresults.U_VIEW_POST}">{searchresults.POST_SUBJECT}</a></h3>
98 <div class="content">{searchresults.MESSAGE}</div>
99 </div>
100
101 <dl class="postprofile">
102 <dt class="author">{L_POST_BY_AUTHOR} {searchresults.POST_AUTHOR_FULL}</dt>
103 <dd>{searchresults.POST_DATE}</dd>
104 <dd>&nbsp;</dd>
105 <!-- IF searchresults.FORUM_TITLE -->
106 <dd>{L_FORUM}: <a href="{searchresults.U_VIEW_FORUM}">{searchresults.FORUM_TITLE}</a></dd>
107 <dd>{L_TOPIC}: <a href="{searchresults.U_VIEW_TOPIC}">{searchresults.TOPIC_TITLE}</a></dd>
108 <!-- ELSE -->
109 <dd>{L_GLOBAL}: <a href="{searchresults.U_VIEW_TOPIC}">{searchresults.TOPIC_TITLE}</a></dd>
110 <!-- ENDIF -->
111 <dd>{L_REPLIES}: <strong>{searchresults.TOPIC_REPLIES}</strong></dd>
112 <dd>{L_VIEWS}: <strong>{searchresults.TOPIC_VIEWS}</strong></dd>
113 </dl>
114 <!-- ENDIF -->
115
116 <!-- IF not searchresults.S_IGNORE_POST -->
117 <ul class="searchresults">
118 <li ><a href="{searchresults.U_VIEW_POST}" class="{S_CONTENT_FLOW_END}">{L_JUMP_TO_POST}</a></li>
119 </ul>
120 <!-- ENDIF -->
121
122 <span class="corners-bottom"><span></span></span></div>
123 </div>
124 <!-- BEGINELSE -->
125 <div class="panel">
126 <div class="inner"><span class="corners-top"><span></span></span>
127 <strong>{L_NO_SEARCH_RESULTS}</strong>
128 <span class="corners-bottom"><span></span></span></div>
129 </div>
130 <!-- END searchresults -->
131<!-- ENDIF -->
132
133<!-- IF PAGINATION or .searchresults or S_SELECT_SORT_KEY or S_SELECT_SORT_DAYS -->
134 <form method="post" action="{S_SEARCH_ACTION}">
135
136 <fieldset class="display-options">
137 <!-- IF PREVIOUS_PAGE --><a href="{PREVIOUS_PAGE}" class="left-box {S_CONTENT_FLOW_BEGIN}">{L_PREVIOUS}</a><!-- ENDIF -->
138 <!-- IF NEXT_PAGE --><a href="{NEXT_PAGE}" class="right-box {S_CONTENT_FLOW_END}">{L_NEXT}</a><!-- ENDIF -->
139 <!-- IF S_SELECT_SORT_DAYS or S_SELECT_SORT_KEY -->
140 <label><!-- IF S_SHOW_TOPICS -->{L_DISPLAY_POSTS}<!-- ELSE -->{L_SORT_BY}</label><label><!-- ENDIF --> {S_SELECT_SORT_DAYS}<!-- IF S_SELECT_SORT_KEY --></label> <label>{S_SELECT_SORT_KEY}</label>
141 <label>{S_SELECT_SORT_DIR}<!-- ENDIF --> <input type="submit" name="sort" value="{L_GO}" class="button2" /></label>
142 <!-- ENDIF -->
143 </fieldset>
144
145 </form>
146
147 <hr />
148<!-- ENDIF -->
149
150<!-- IF PAGINATION or .searchresults or PAGE_NUMBER -->
151 <ul class="linklist">
152 <li class="rightside pagination">
153 {SEARCH_MATCHES}<!-- IF PAGINATION --> &bull; <a href="#" onclick="jumpto(); return false;" title="{L_JUMP_TO_PAGE}">{PAGE_NUMBER}</a> &bull; <span>{PAGINATION}</span><!-- ELSE --> &bull; {PAGE_NUMBER}<!-- ENDIF -->
154 </li>
155 </ul>
156<!-- ENDIF -->
157
158<!-- INCLUDE jumpbox.html -->
159
160<!-- INCLUDE overall_footer.html -->
Note: See TracBrowser for help on using the repository browser.