root/branches/release-38/search_templates/default.tmpl @ 2345

Revision 2345, 10.4 kB (checked in by bsmith, 19 months ago)

bugzid:79256 - Updating stylesheet links for default search template

  • 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    <link rel="stylesheet" href="<$MTLink template="styles"$>" type="text/css" />
9<mt:else>
10    <link rel="stylesheet" href="<$MTStaticWebPath$>themes-base/blog.css" type="text/css" />
11    <link rel="stylesheet" href="<$MTStaticWebPath$>themes/minimalist-red/screen.css" type="text/css" />
12</mt:IfBlog>
13<MTIgnore>
14 ##########  <MT_TRANS phrase="SEARCH FEED AUTODISCOVERY LINK PUBLISHED ONLY WHEN A SEARCH HAS BEEN EXECUTED">
15</MTIgnore>
16<MTNoSearch><MTElse>
17    <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$>" />
18</MTElse></MTNoSearch>     
19    <title><MT_TRANS phrase="Search Results"></title>
20</head>
21<body class="<MTNoSearch>layout-one-column<MTElse>layout-two-column-right</MTElse></MTNoSearch> mt-search-results">
22   <div id="container">
23      <div id="container-inner" class="pkg">
24     
25         <div id="banner">
26            <div id="banner-inner" class="pkg">
27               <h1 id="banner-header"><MT_TRANS phrase="Blog search"></h1>
28            </div>
29         </div>
30
31         <div id="pagebody">
32            <div id="pagebody-inner" class="pkg">
33               <div id="alpha">
34                  <div id="alpha-inner" class="pkg">
35
36<MTIgnore>
37  ##########  <MT_TRANS phrase="STRAIGHT SEARCHES GET THE SEARCH QUERY FORM">
38</MTIgnore>
39                      <MTIfStraightSearch>
40                      <h2 class="search-results-header"><MT_TRANS phrase="Search this site"></h2>
41                      <form method="post" action="<$MTCGIPath$><$MTSearchScript$>" id="search-form">
42                         <input type="hidden" name="IncludeBlogs" value="<$MTSearchIncludeBlogs$>" />
43                         <p><input type="text" size="30" name="search" id="search" value="<$MTSearchString$>" /> <input type="submit" value="<MT_TRANS phrase="Search">" /></p>
44                         <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>
45                      </form>
46                      </MTIfStraightSearch>
47                     
48<MTIgnore>
49    ##########  <MT_TRANS phrase="SEARCH RESULTS DISPLAY">
50</MTIgnore>
51                      <MTSearchResults>
52                          <MTBlogResultHeader>
53                              <h3 class="search-results-header">
54                              <MTIfStraightSearch>
55                                  <MT_TRANS phrase="Matching entries from [_1]" params="<$MTBlogName$>">
56                              </MTIfStraightSearch>
57                              <MTIfTagSearch>
58                                  <MT_TRANS phrase="Entries from [_1] tagged with '[_2]'" params="<$MTBlogName$>%%<$MTSearchString$>">
59                                  </MTIfTagSearch>
60                              </h3>
61                              <div class="search-results-container">
62                          </MTBlogResultHeader>
63                     
64                              <h3><a href="<$MTEntryPermalink$>"><$MTEntryTitle$></a></h3>
65                              <p><$MTEntryExcerpt$> <$MTEntryEditLink$></p>
66                              <MTIfTagSearch>
67                                  <div class="entry-tags">
68                                      <h4 class="entry-tags-header"><MT_TRANS phrase="Tags">:</h4>
69                                      <ul class="entry-tags-list">
70                                          <MTEntryTags>
71                                              <li class="entry-tag"><a href="<$MTTagSearchLink$>&amp;IncludeBlogs=<$MTSearchIncludeBlogs$>" rel="tag"><$MTTagName$></a></li>
72                                          </MTEntryTags>
73                                      </ul>
74                                  </div>
75                              </MTIfTagSearch>
76                     
77                              <p class="entry-footer">
78                                  <span class="post-footers"><MT_TRANS phrase="Posted <MTIfNonEmpty tag="EntryAuthorDisplayName">by [_1] </MTIfNonEmpty>on [_2]" params="<$MTEntryAuthorDisplayName$>%%<$MTEntryDate$>"></span>
79                              </p>
80                     
81                          <MTBlogResultFooter>
82                              </div>
83                          </MTBlogResultFooter>
84                          <MTIfMaxResultsCutoff>
85                          <MT_TRANS phrase="Showing the first [_1] results." params="<$MTMaxResults$>">
86                          </MTIfMaxResultsCutoff>
87                      </MTSearchResults>
88
89<MTIgnore>
90  ##########  <MT_TRANS phrase="NO RESULTS FOUND MESSAGE">
91</MTIgnore>
92                      <MTNoSearchResults>
93                          <h3 class="search-results-header">
94                              <MTIfStraightSearch>
95                                  <MT_TRANS phrase="Entries matching '[_1]'" params="<$MTSearchString$>">
96                              </MTIfStraightSearch>
97                              <MTIfTagSearch>
98                                  <MT_TRANS phrase="Entries tagged with '[_1]'" params="<$MTSearchString$>">
99                              </MTIfTagSearch>
100                          </h3>
101                          <p><MT_TRANS phrase="No pages were found containing '[_1]'." params="<$MTSearchString$>"></p>
102                      </MTNoSearchResults>
103                     
104                      <MTNoSearch>
105                          <h3 class="search-results-header"><MT_TRANS phrase="Instructions"></h3>
106                          <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>
107                          <blockquote>
108                              <p><code>"<MT_TRANS phrase="movable type">"</code></p>
109                          </blockquote>
110                          <p><MT_TRANS phrase="The search engine also supports AND, OR, and NOT keywords to specify boolean expressions">:</p>
111                          <blockquote>
112                              <p><code><MT_TRANS phrase="personal OR publishing"></code></p>
113                              <p><code><MT_TRANS phrase="publishing NOT personal"></code></p>
114                          </blockquote>
115                      </MTNoSearch>
116                  </div>
117               </div>
118<MTIgnore>
119    ##########  <MT_TRANS phrase="END OF ALPHA SEARCH RESULTS DIV">
120    ##########  <MT_TRANS phrase="BEGINNING OF BETA SIDEBAR FOR DISPLAY OF SEARCH INFORMATION">
121</MTIgnore>
122               <MTNoSearch>
123               <MTElse>
124                   <MTIgnore>
125                       ##########  <MT_TRANS phrase="SET VARIABLES FOR SEARCH vs TAG information">
126                   </MTIgnore>
127
128                   <MTSetVar name="search_feed_text" value="<MT_TRANS phrase="Subscribe to feed">">
129                   <MTIfTagSearch>
130                       <MTSetVar name="search_feed_param" value="tag">
131                       <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$>"></MTSetVarBlock>
132                    <MTElse>   
133                       <MTSetVar name="search_feed_param" value="search">
134                       <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$>"></MTSetVarBlock>
135                   </MTElse>   
136                   </MTIfTagSearch>
137
138                   <div id="beta">
139                      <div id="beta-inner" class="pkg">
140
141                          <MTIgnore>
142                              ##########  <MT_TRANS phrase="SEARCH/TAG FEED SUBSCRIPTION INFORMATION">
143                          </MTIgnore>
144                          <div class="module-search-feed module">
145                             <h2 class="module-header"><MT_TRANS phrase="Feed Subscription"></h2>
146                             <div class="module-content">
147                                 <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>
148                                 <p>
149                                     <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>
150                                 </p>
151                             </div>
152                          </div>
153
154                          <MTIgnore>
155                              ##########  <MT_TRANS phrase="TAG LISTING FOR TAG SEARCH ONLY">
156                          </MTIgnore>
157                          <MTIfTagSearch>
158                          <div class="module-tags module">
159                             <h2 class="module-header"><MT_TRANS phrase="Other Tags"></h2>
160                             <div class="module-content module-tagcloud">
161                                 <p></p>
162                                 <ul class="module-list">
163                                 <MTTags>
164                                     <li class="module-list-item taglevel<$MTTagRank$>"><a href="<$MTTagSearchLink$>" title="<$MTTagCount$>"><$MTTagName$></a></li>
165                                 </MTTags>
166                                 </ul>
167                             </div>
168                          </div>
169                          </MTIfTagSearch>
170
171                      </div>
172                  </div>
173              </MTElse>
174              </MTNoSearch>
175
176            </div>
177         </div>  <MTIgnore>#### <MT_TRANS phrase="END OF PAGE BODY"> ####</MTIgnore>
178      </div>
179   </div> <MTIgnore>#### <MT_TRANS phrase="END OF CONTAINER"> ####</MTIgnore>
180</body>
181</html>
Note: See TracBrowser for help on using the browser.