Changeset 1729

Show
Ignore:
Timestamp:
04/02/08 21:43:33 (6 months ago)
Author:
bsmith
Message:

bugzid:69530 - updated templates to use variables set by the app

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • branches/release-33/default_templates/search_results.mtml

    r1709 r1729  
    1 <MTSetVar name="search_results_template" value="1"> 
    21<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" 
    32    "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> 
  • branches/release-33/plugins/WidgetManager/default_widgets/search.mtml

    r1504 r1729  
    44        <form method="get" action="<$mt:CGIPath$><$mt:SearchScript$>"> 
    55            <input type="text" id="search" class="ti" name="search" value="<$mt:SearchString$>" /> 
    6 <mt:If name="search_results_template"> 
     6<mt:If name="search_results"> 
    77            <input type="hidden" name="IncludeBlogs" value="<$mt:SearchIncludeBlogs$>" /> 
    88            <input type="hidden" name="limit" value="<MTSearchMaxResults>" /> 
     
    2222    </div> 
    2323</div> 
    24 <mt:If name="search_results_template"> 
     24<mt:If name="search_results"> 
    2525    <mt:IfTagSearch> 
    2626<div class="widget-tags widget"> 
  • branches/release-33/plugins/WidgetManager/default_widgets/syndication.mtml

    r1659 r1729  
    33        <ul class="blog-feeds"> 
    44            <li class="blog feed"><img src="<$mt:StaticWebPath$>images/status_icons/feed.gif" alt="<__trans phrase="Subscribe to feed">" width="9" height="9" /> <a href="<$mt:Link template="feed_recent"$>"><__trans phrase="Subscribe to this blog's feed"></a></li> 
    5 <mt:If name="search_results_template"> 
     5<mt:If name="search_results"> 
    66    <mt:ifnonempty tag="mt:SearchString"> 
    77            <li class="search-results-feed"><img src="<$mt:StaticWebPath$>images/status_icons/feed.gif" alt="<__trans phrase="Subscribe to feed">" width="9" height="9" /> <a href="<$mt:CGIPath$><$mt:SearchScript$>?<mt:IfTagSearch>tag<mt:Else>search</mt:IfTagSearch>=<$mt:SearchString encode_url="1"$>&amp;Template=feed&amp;IncludeBlogs=<$mt:SearchIncludeBlogs$>&amp;limit=<MTSearchMaxResults>" title="<__trans phrase="Subscribe to feed">"><__trans phrase="Search results matching &ldquo;<$mt:SearchString$>&rdquo;"></a></li>