Show
Ignore:
Timestamp:
12/03/08 07:58:25 (12 months ago)
Author:
fumiakiy
Message:

Merging the latest of fireball branch to trunk. svn merge -r3095:3215 http://code.sixapart.com/svn/movabletype/branches/fireball . (two conflicts resolved; MT.pm, mt.php and mt-check.cgi merged manually.)

Location:
trunk/search_templates
Files:
4 modified

Legend:

Unmodified
Added
Removed
  • trunk/search_templates/comments.tmpl

    r2384 r3219  
    2424 
    2525<div id="banner"> 
    26 <h1><a href="<$MTBlogURL$>" accesskey="1"><$MTBlogName$></a></h1> 
    27 <h2><$MTBlogDescription$></h2> 
     26<h1><a href="<$MTBlogURL$>" accesskey="1"><$MTBlogName encode_html="1"$></a></h1> 
     27<h2><$MTBlogDescription encode_html="1"$></h2> 
    2828</div> 
    2929 
     
    5555 
    5656<MTSearchResults> 
    57 <h3><a href="<$MTEntryPermalink$>"><$MTEntryTitle$></a></h3> 
    58 <p><$MTEntryExcerpt$> <$MTEntryEditLink$></p> 
    59 <p class="posted"><MT_TRANS phrase="Posted in [_1] on [_2]" params="<$MTBlogName$>%%<$MTEntryDate$>"></p> 
     57<h3><a href="<$MTEntryPermalink$>"><$MTEntryTitle encode_html="1"$></a></h3> 
     58<p><$MTEntryExcerpt encode_html="1"$> <$MTEntryEditLink$></p> 
     59<p class="posted"><MT_TRANS phrase="Posted in [_1] on [_2]" params="<$MTBlogName encode_html="1" encode_html="1"$>%%<$MTEntryDate$>"></p> 
    6060</MTSearchResults> 
    6161 
  • trunk/search_templates/default.tmpl

    r2384 r3219  
    5757                              <h3 class="search-results-header"> 
    5858                              <MTIfStraightSearch> 
    59                                   <MT_TRANS phrase="Matching entries from [_1]" params="<$MTBlogName$>"> 
     59                                  <MT_TRANS phrase="Matching entries from [_1]" params="<$MTBlogName encode_html="1" encode_html="1"$>"> 
    6060                              </MTIfStraightSearch> 
    6161                              <MTIfTagSearch> 
    62                                   <MT_TRANS phrase="Entries from [_1] tagged with '[_2]'" params="<$MTBlogName$>%%<$MTSearchString$>"> 
     62                                  <MT_TRANS phrase="Entries from [_1] tagged with '[_2]'" params="<$MTBlogName encode_html="1" encode_html="1"$>%%<$MTSearchString encode_html="1"$>"> 
    6363                                  </MTIfTagSearch> 
    6464                              </h3> 
     
    6666                          </MTBlogResultHeader> 
    6767                       
    68                               <h3><a href="<$MTEntryPermalink$>"><$MTEntryTitle$></a></h3> 
    69                               <p><$MTEntryExcerpt$> <$MTEntryEditLink$></p> 
     68                              <h3><a href="<$MTEntryPermalink$>"><$MTEntryTitle encode_html="1"$></a></h3> 
     69                              <p><$MTEntryExcerpt encode_html="1"$> <$MTEntryEditLink$></p> 
    7070                              <MTIfTagSearch> 
    7171                                  <div class="entry-tags"> 
     
    7373                                      <ul class="entry-tags-list"> 
    7474                                          <MTEntryTags> 
    75                                               <li class="entry-tag"><a href="<$MTTagSearchLink$>&amp;IncludeBlogs=<$MTSearchIncludeBlogs$>" rel="tag"><$MTTagName$></a></li> 
     75                                              <li class="entry-tag"><a href="<$MTTagSearchLink$>&amp;IncludeBlogs=<$MTSearchIncludeBlogs$>" rel="tag"><$MTTagName encode_html="1"$></a></li> 
    7676                                          </MTEntryTags> 
    7777                                      </ul> 
     
    8080                       
    8181                              <p class="entry-footer"> 
    82                                   <span class="post-footers"><MT_TRANS phrase="Posted <MTIfNonEmpty tag="EntryAuthorDisplayName">by [_1] </MTIfNonEmpty>on [_2]" params="<$MTEntryAuthorDisplayName$>%%<$MTEntryDate$>"></span> 
     82                                  <span class="post-footers"><MT_TRANS phrase="Posted <MTIfNonEmpty tag="EntryAuthorDisplayName">by [_1] </MTIfNonEmpty>on [_2]" params="<$MTEntryAuthorDisplayName encode_html="1"$>%%<$MTEntryDate$>"></span> 
    8383                              </p> 
    8484                       
     
    9797                          <h3 class="search-results-header"> 
    9898                              <MTIfStraightSearch> 
    99                                   <MT_TRANS phrase="Entries matching '[_1]'" params="<$MTSearchString$>"> 
     99                                  <MT_TRANS phrase="Entries matching '[_1]'" params="<$MTSearchString encode_html="1"$>"> 
    100100                              </MTIfStraightSearch> 
    101101                              <MTIfTagSearch> 
    102                                   <MT_TRANS phrase="Entries tagged with '[_1]'" params="<$MTSearchString$>"> 
     102                                  <MT_TRANS phrase="Entries tagged with '[_1]'" params="<$MTSearchString encode_html="1"$>"> 
    103103                              </MTIfTagSearch> 
    104104                          </h3> 
    105                           <p><MT_TRANS phrase="No pages were found containing '[_1]'." params="<$MTSearchString$>"></p> 
     105                          <p><MT_TRANS phrase="No pages were found containing '[_1]'." params="<$MTSearchString encode_html="1"$>"></p> 
    106106                      </MTNoSearchResults> 
    107107                       
     
    133133                   <MTIfTagSearch> 
    134134                       <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$>"></MTSetVarBlock> 
     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> 
    136136                    <MTElse>     
    137137                       <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$>"></MTSetVarBlock> 
     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> 
    139139                   </MTElse>     
    140140                   </MTIfTagSearch> 
     
    166166                                 <ul class="module-list"> 
    167167                                 <MTTags> 
    168                                      <li class="module-list-item taglevel<$MTTagRank$>"><a href="<$MTTagSearchLink$>" title="<$MTTagCount$>"><$MTTagName$></a></li> 
     168                                     <li class="module-list-item taglevel<$MTTagRank$>"><a href="<$MTTagSearchLink$>" title="<$MTTagCount$>"><$MTTagName encode_html="1"$></a></li> 
    169169                                 </MTTags> 
    170170                                 </ul> 
  • trunk/search_templates/results_feed.tmpl

    r1098 r3219  
    33    xmlns="http://www.w3.org/2005/Atom"  
    44    xmlns:opensearch="http://a9.com/-/spec/opensearch/1.1/"> 
    5     <title><MT_TRANS phrase="Search Results for [_1]" params="<$MTSearchString remove_html="1" encode_xml="1"$>"></title> 
     5    <title><MT_TRANS phrase="Search Results for [_1]" params="<$MTSearchString remove_html="1" encode_html="1" encode_xml="1"$>"></title> 
    66    <id>tag:<$MTCGIHost exclude_port="1" encode_xml="1"$>,<$MTDate format="%Y"$>:<$MTCGIRelativeURL encode_xml="1"$>/feed/<$MTSearchString remove_html="1" encode_xml="1"$></id> 
    77    <link rel="self" type="application/atom+xml" href="<$MTCGIPath$><$MTSearchScript$>?search=<$MTSearchString$>&amp;Template=<$MTSearchTemplateID$>&amp;IncludeBlogs=<$MTSearchIncludeBlogs$>" /> 
  • trunk/search_templates/results_feed_rss2.tmpl

    r1098 r3219  
    22<rss version="2.0" xmlns:openSearch="http://a9.com/-/spec/opensearchrss/1.0/"> 
    33<channel> 
    4 <title><MT_TRANS phrase="Search Results for [_1]" params="<$MTSearchString remove_html="1" encode_xml="1"$>"></title> 
     4<title><MT_TRANS phrase="Search Results for [_1]" params="<$MTSearchString remove_html="1" encode_html="1" encode_xml="1"$>"></title> 
    55<link><$MTCGIPath$><$MTSearchScript$>?search=<$MTSearchString$>&amp;Template=<$MTSearchTemplateID$>&amp;IncludeBlogs=<$MTSearchIncludeBlogs$></link> 
    66<language>en-us</language>