A search interface for data from the Politics of Patents case study (part of Copim WP6): this parses data from the archive of RTF files and provides additional data from the European Patent Office API. https://patents.copim.ac.uk
Nevar pievienot vairāk kā 25 tēmas Tēmai ir jāsākas ar burtu vai ciparu, tā var saturēt domu zīmes ('-') un var būt līdz 35 simboliem gara.

text_functions.php 214B

123456789
  1. <?php
  2. function highlight_search_terms($array, $search_term){
  3. $replacement = "<span class='search_term'>$search_term</span>";
  4. $result = str_ireplace($search_term, $replacement, $array);
  5. return $result;
  6. }
  7. ?>