Changeset 2135 for trunk/template


Ignore:
Timestamp:
Oct 12, 2007, 5:27:34 AM (17 years ago)
Author:
rvelices
Message:
  • fix plugin menu link broken with xamp (realpath behaves differently)
  • complete quick search rewriting
    • now we can quote phrases as in google "New York" is not the same as New York
    • user comments not searched anymore (faster)
    • the big full text query does not use joins anymore (faster)
    • related tags not shown on the index page, but now you can see the matching tags and matching categories
Location:
trunk/template/yoga
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/template/yoga/default-layout.css

    r2091 r2135  
    257257  display: inline;
    258258  white-space: nowrap;
     259  margin: 0 2px;
    259260}
    260261
  • trunk/template/yoga/index.tpl

    r1900 r2135  
    2525
    2626      <!-- BEGIN search_rules -->
    27       <li><a href="{search_rules.URL}" style="border:none;" onclick="popuphelp(this.href); return false;" title="{lang:Search rules}"><img src="{pwg_root}{themeconf:icon_dir}/search_rules.png" class="button" alt="(?)"></a></li>
     27      <li><a href="{search_rules.URL}" style="border:none;" onclick="popuphelp(this.href); return false;" title="{lang:Search rules}" rel="nofollow"><img src="{pwg_root}{themeconf:icon_dir}/search_rules.png" class="button" alt="(?)"></a></li>
    2828      <!-- END search_rules -->
    2929
     
    6565
    6666{PLUGIN_INDEX_CONTENT_BEGIN}
     67
     68<!-- BEGIN category_search_results -->
     69<div style="font-size:16px;text-align:left;margin:10px">{lang:Category results for} <strong>{QUERY_SEARCH}</strong> : <em><strong>{category_search_results.CONTENT}</strong></em></div>
     70<!-- END category_search_results -->
     71<!-- BEGIN tag_search_results -->
     72<div style="font-size:16px;text-align:left;margin:10px">{lang:Tag results for} <strong>{QUERY_SEARCH}</strong> : <em><strong>{tag_search_results.CONTENT}</strong></em></div>
     73<!-- END tag_search_results -->
     74
     75
    6776<!-- BEGIN calendar -->
    6877<!-- BEGIN navbar -->
     
    98107<!-- END cat_infos -->
    99108
    100 <!-- BEGIN related_tags -->
    101   <ul id="fullTagCloud">
    102     <li>{lang:Related tags}:</li>
    103     <!-- BEGIN tag -->
    104     <li><a href="{related_tags.tag.URL}" class="{related_tags.tag.CLASS}" title="{related_tags.tag.TITLE}">{related_tags.tag.NAME}</a></li>
    105     <!-- END tag -->
    106   </ul>
    107 <!-- END related_tags -->
    108109
    109110{PLUGIN_INDEX_CONTENT_END}
Note: See TracChangeset for help on using the changeset viewer.