Textpattern PHP Cross Reference Content Management Systems

Source: /textpattern/setup/themes/four-point-eight/forms/misc/search_display.txp - 42 lines - 1360 bytes - Text - Print

   1  <h1 itemprop="name"><txp:text item="search_results" /></h1>
   2  
   3  <txp:if_search_results>
   4  
   5      <!-- if search result count greater than 200 then display excessive results message, otherwise show search result count -->
   6      <txp:if_search_results max="200">
   7          <h3>
   8              <txp:search_result_count />
   9              <txp:text item="matching_search_request" />
  10              <q><txp:search_term /></q>
  11          </h3>
  12      <txp:else />
  13          <h3>
  14              <txp:text item="too_common_search_term" />
  15              <q><txp:search_term /></q>
  16          </h3>
  17      </txp:if_search_results>
  18  
  19  <!-- if no search results, then display no search results message -->
  20  <txp:else />
  21      <h3>
  22          <txp:text item="no_search_matches" />
  23      </h3>
  24  
  25  </txp:if_search_results>
  26  
  27  <!-- display resulting articles (10 per page; default setting) -->
  28  <txp:article class="article-list" wraptag="ul" />
  29  
  30  <!-- check if there are further results and provide pagination links depending on the result -->
  31  <txp:if_search_results min="11">
  32      <nav class="paginator" aria-label="<txp:text item="page_nav" />">
  33          <txp:evaluate>
  34              <txp:newer rel="prev">
  35                  <txp:text item="prev" />
  36              </txp:newer>
  37              <txp:older rel="next">
  38                  <txp:text item="next" />
  39              </txp:older>
  40          </txp:evaluate>
  41      </nav>
  42  </txp:if_search_results>

title

Description

title

Description

title

Description

title

title

Body