|
Revision 2455, 1.6 kB
(checked in by bsmith, 18 months ago)
|
|
bugzid:79937 - Remove duplicate line in Search template
|
-
Property svn:keywords set to
Id Date Author Revision
|
| Line | |
|---|
| 1 | <div class="widget-search widget"> |
|---|
| 2 | <h3 class="widget-header"><__trans phrase="Search"></h3> |
|---|
| 3 | <div class="widget-content"> |
|---|
| 4 | <form method="get" action="<$mt:CGIPath$><$mt:SearchScript$>"> |
|---|
| 5 | <input type="text" id="search" class="ti" name="search" value="<$mt:SearchString$>" /> |
|---|
| 6 | <mt:If name="search_results"> |
|---|
| 7 | <input type="hidden" name="IncludeBlogs" value="<$mt:SearchIncludeBlogs$>" /> |
|---|
| 8 | <MTIgnore> |
|---|
| 9 | <!-- use these options only with MT::App::Search::Legacy --> |
|---|
| 10 | <ul class="search-options"> |
|---|
| 11 | <li><input type="checkbox" name="CaseSearch" /> <__trans phrase="Case sensitive"></li> |
|---|
| 12 | <li><input type="checkbox" name="RegexSearch" /> <__trans phrase="Regex search"></li> |
|---|
| 13 | </ul> |
|---|
| 14 | </MTIgnore> |
|---|
| 15 | <mt:else> |
|---|
| 16 | <input type="hidden" name="IncludeBlogs" value="<$mt:BlogID$>" /> |
|---|
| 17 | </mt:if> |
|---|
| 18 | <input type="hidden" name="limit" value="<MTSearchMaxResults>" /> |
|---|
| 19 | <input type="submit" accesskey="4" value="<__trans phrase="Search">" /> |
|---|
| 20 | </form> |
|---|
| 21 | </div> |
|---|
| 22 | </div> |
|---|
| 23 | <mt:If name="search_results"> |
|---|
| 24 | <mt:IfTagSearch> |
|---|
| 25 | <div class="widget-tags widget"> |
|---|
| 26 | <h3 class="widget-header"><__trans phrase="Tags"></h3> |
|---|
| 27 | <div class="widget-content"> |
|---|
| 28 | <ul class="widget-list"> |
|---|
| 29 | <mt:Tags> |
|---|
| 30 | <li class="widget-list-item"><a href="javascript:void(0)" onclick="location.href='<$MTTagSearchLink encode_js="1"$>';return false;"><__trans phrase="[_1] ([_2])" params="<$mt:TagName$>%%<$mt:TagCount$>"></a></li> |
|---|
| 31 | </mt:Tags> |
|---|
| 32 | </ul> |
|---|
| 33 | </div> |
|---|
| 34 | </div> |
|---|
| 35 | </mt:IfTagSearch> |
|---|
| 36 | </mt:If> |
|---|