root/trunk/search_templates/default.tmpl

Revision 4196, 10.8 kB (checked in by takayama, 3 months ago)

* Set svn keywords

  • Property svn:keywords set to Author Date Id Revision
Line 
1<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
2    "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
3<html xmlns="http://www.w3.org/1999/xhtml" id="sixapart-standard">
4<head>
5    <meta http-equiv="Content-Type" content="text/html; charset=<$MTPublishCharset$>" />
6    <meta name="generator" content="<$MTProductName version="1"$>" />
7<mt:IfBlog>
8    <mt:IfNonEmpty tag="Link" template="styles">
9    <link rel="stylesheet" href="<$MTLink template="styles"$>" type="text/css" />
10    <mt:else>
11    <link rel="stylesheet" href="<$MTBlogURL$>styles-site.css" type="text/css" />
12    </mt:IfNonEmpty>
13<mt:else>
14    <link rel="stylesheet" href="<$MTStaticWebPath$>themes-base/blog.css" type="text/css" />
15    <link rel="stylesheet" href="<$MTStaticWebPath$>themes/minimalist-red/screen.css" type="text/css" />
16</mt:IfBlog>
17<MTIgnore>
18 ##########  <MT_TRANS phrase="SEARCH FEED AUTODISCOVERY LINK PUBLISHED ONLY WHEN A SEARCH HAS BEEN EXECUTED">
19</MTIgnore>
20<MTNoSearch><MTElse>
21    <link type="application/atom+xml" rel="alternate" title="<MT_TRANS phrase="Blog Search Results">" href="<$MTCGIPath$><$MTSearchScript$>?<MTIfStraightSearch>search<MTElse>tag</MTElse></MTIfStraightSearch>=<$MTSearchString encode_url="1"$>&amp;Template=feed&amp;IncludeBlogs=<$MTSearchIncludeBlogs$>" />
22</MTElse></MTNoSearch>     
23    <title><MT_TRANS phrase="Search Results"></title>
24</head>
25<body class="<MTNoSearch>layout-one-column<MTElse>layout-two-column-right</MTElse></MTNoSearch> mt-search-results">
26   <div id="container">
27      <div id="container-inner" class="pkg">
28     
29         <div id="banner">
30            <div id="banner-inner" class="pkg">
31               <h1 id="banner-header"><MT_TRANS phrase="Blog search"></h1>
32            </div>
33         </div>
34
35         <div id="pagebody">
36            <div id="pagebody-inner" class="pkg">
37               <div id="alpha">
38                  <div id="alpha-inner" class="pkg">
39
40<MTIgnore>
41  ##########  <MT_TRANS phrase="STRAIGHT SEARCHES GET THE SEARCH QUERY FORM">
42</MTIgnore>
43                      <MTIfStraightSearch>
44                      <h2 class="search-results-header"><MT_TRANS phrase="Search this site"></h2>
45                      <form method="post" action="<$MTCGIPath$><$MTSearchScript$>" id="search-form">
46                         <input type="hidden" name="IncludeBlogs" value="<$MTSearchIncludeBlogs$>" />
47                         <p><input type="text" size="30" name="search" id="search" value="<$MTSearchString$>" /> <input type="submit" value="<MT_TRANS phrase="Search">" /></p>
48                         <p id="search-options"><input type="checkbox" name="CaseSearch" /> <MT_TRANS phrase="Match case"> <input type="checkbox" name="RegexSearch" /> <MT_TRANS phrase="Regex search"></p>
49                      </form>
50                      </MTIfStraightSearch>
51                     
52<MTIgnore>
53    ##########  <MT_TRANS phrase="SEARCH RESULTS DISPLAY">
54</MTIgnore>
55                      <MTSearchResults>
56                          <MTBlogResultHeader>
57                              <h3 class="search-results-header">
58                              <MTIfStraightSearch>
59                                  <MT_TRANS phrase="Matching entries from [_1]" params="<$MTBlogName encode_html="1" encode_html="1"$>">
60                              </MTIfStraightSearch>
61                              <MTIfTagSearch>
62                                  <MT_TRANS phrase="Entries from [_1] tagged with '[_2]'" params="<$MTBlogName encode_html="1" encode_html="1"$>%%<$MTSearchString encode_html="1"$>">
63                                  </MTIfTagSearch>
64                              </h3>
65                              <div class="search-results-container">
66                          </MTBlogResultHeader>
67                     
68                              <h3><a href="<$MTEntryPermalink$>"><$MTEntryTitle encode_html="1"$></a></h3>
69                              <p><$MTEntryExcerpt encode_html="1"$> <$MTEntryEditLink$></p>
70                              <MTIfTagSearch>
71                                  <div class="entry-tags">
72                                      <h4 class="entry-tags-header"><MT_TRANS phrase="Tags">:</h4>
73                                      <ul class="entry-tags-list">
74                                          <MTEntryTags>
75                                              <li class="entry-tag"><a href="<$MTTagSearchLink$>&amp;IncludeBlogs=<$MTSearchIncludeBlogs$>" rel="tag"><$MTTagName encode_html="1"$></a></li>
76                                          </MTEntryTags>
77                                      </ul>
78                                  </div>
79                              </MTIfTagSearch>
80                     
81                              <p class="entry-footer">
82                                  <span class="post-footers"><MT_TRANS phrase="Posted <MTIfNonEmpty tag="EntryAuthorDisplayName">by [_1] </MTIfNonEmpty>on [_2]" params="<$MTEntryAuthorDisplayName encode_html="1"$>%%<$MTEntryDate$>"></span>
83                              </p>
84                     
85                          <MTBlogResultFooter>
86                              </div>
87                          </MTBlogResultFooter>
88                          <MTIfMaxResultsCutoff>
89                          <MT_TRANS phrase="Showing the first [_1] results." params="<$MTMaxResults$>">
90                          </MTIfMaxResultsCutoff>
91                      </MTSearchResults>
92
93<MTIgnore>
94  ##########  <MT_TRANS phrase="NO RESULTS FOUND MESSAGE">
95</MTIgnore>
96                      <MTNoSearchResults>
97                          <h3 class="search-results-header">
98                              <MTIfStraightSearch>
99                                  <MT_TRANS phrase="Entries matching '[_1]'" params="<$MTSearchString encode_html="1"$>">
100                              </MTIfStraightSearch>
101                              <MTIfTagSearch>
102                                  <MT_TRANS phrase="Entries tagged with '[_1]'" params="<$MTSearchString encode_html="1"$>">
103                              </MTIfTagSearch>
104                          </h3>
105                          <p><MT_TRANS phrase="No pages were found containing '[_1]'." params="<$MTSearchString encode_html="1"$>"></p>
106                      </MTNoSearchResults>
107                     
108                      <MTNoSearch>
109                          <h3 class="search-results-header"><MT_TRANS phrase="Instructions"></h3>
110                          <p><MT_TRANS phrase="By default, this search engine looks for all words in any order. To search for an exact phrase, enclose the phrase in quotes">:</p>
111                          <blockquote>
112                              <p><code>"<MT_TRANS phrase="movable type">"</code></p>
113                          </blockquote>
114                          <p><MT_TRANS phrase="The search engine also supports AND, OR, and NOT keywords to specify boolean expressions">:</p>
115                          <blockquote>
116                              <p><code><MT_TRANS phrase="personal OR publishing"></code></p>
117                              <p><code><MT_TRANS phrase="publishing NOT personal"></code></p>
118                          </blockquote>
119                      </MTNoSearch>
120                  </div>
121               </div>
122<MTIgnore>
123    ##########  <MT_TRANS phrase="END OF ALPHA SEARCH RESULTS DIV">
124    ##########  <MT_TRANS phrase="BEGINNING OF BETA SIDEBAR FOR DISPLAY OF SEARCH INFORMATION">
125</MTIgnore>
126               <MTNoSearch>
127               <MTElse>
128                   <MTIgnore>
129                       ##########  <MT_TRANS phrase="SET VARIABLES FOR SEARCH vs TAG information">
130                   </MTIgnore>
131
132                   <MTSetVar name="search_feed_text" value="<MT_TRANS phrase="Subscribe to feed">">
133                   <MTIfTagSearch>
134                       <MTSetVar name="search_feed_param" value="tag">
135                       <MTSetVarBlock name="search_feed_description"><MT_TRANS phrase="If you use an RSS reader, you can subscribe to a feed of all future entries tagged '[_1]'." params="<$MTSearchString encode_html="1"$>"></MTSetVarBlock>
136                    <MTElse>   
137                       <MTSetVar name="search_feed_param" value="search">
138                       <MTSetVarBlock name="search_feed_description"><MT_TRANS phrase="If you use an RSS reader, you can subscribe to a feed of all future entries matching '[_1]'." params="<$MTSearchString encode_html="1"$>"></MTSetVarBlock>
139                   </MTElse>   
140                   </MTIfTagSearch>
141
142                   <div id="beta">
143                      <div id="beta-inner" class="pkg">
144
145                          <MTIgnore>
146                              ##########  <MT_TRANS phrase="SEARCH/TAG FEED SUBSCRIPTION INFORMATION">
147                          </MTIgnore>
148                          <div class="module-search-feed module">
149                             <h2 class="module-header"><MT_TRANS phrase="Feed Subscription"></h2>
150                             <div class="module-content">
151                                 <p><$MTGetVar name="search_feed_description">  [<a href="<MT_TRANS phrase="http://www.sixapart.com/about/feeds">"><MT_TRANS phrase="What is this?"></a>]</p>
152                                 <p>
153                                     <img src="<$MTStaticWebPath$>images/status_icons/feed.gif" alt="<$MTGetVar name="search_feed_text"$>" width="9" height="9" /> <a href="<$MTCGIPath$><$MTSearchScript$>?<$MTGetVar name="search_feed_param"$>=<$MTSearchString encode_url="1"$>&amp;Template=feed&amp;IncludeBlogs=<$MTSearchIncludeBlogs$>" title="<MT_TRANS phrase="Subscribe to feed">"><MT_TRANS phrase="Subscribe to feed"></a>
154                                 </p>
155                             </div>
156                          </div>
157
158                          <MTIgnore>
159                              ##########  <MT_TRANS phrase="TAG LISTING FOR TAG SEARCH ONLY">
160                          </MTIgnore>
161                          <MTIfTagSearch>
162                          <div class="module-tags module">
163                             <h2 class="module-header"><MT_TRANS phrase="Other Tags"></h2>
164                             <div class="module-content module-tagcloud">
165                                 <p></p>
166                                 <ul class="module-list">
167                                 <MTTags>
168                                     <li class="module-list-item taglevel<$MTTagRank$>"><a href="<$MTTagSearchLink$>" title="<$MTTagCount$>"><$MTTagName encode_html="1"$></a></li>
169                                 </MTTags>
170                                 </ul>
171                             </div>
172                          </div>
173                          </MTIfTagSearch>
174
175                      </div>
176                  </div>
177              </MTElse>
178              </MTNoSearch>
179
180            </div>
181         </div>  <MTIgnore>#### <MT_TRANS phrase="END OF PAGE BODY"> ####</MTIgnore>
182      </div>
183   </div> <MTIgnore>#### <MT_TRANS phrase="END OF CONTAINER"> ####</MTIgnore>
184</body>
185</html>
Note: See TracBrowser for help on using the browser.