01.14 php
snippet
Note
snippet did not leave a note
  1. #----------------------------------
  2. # INDEXED SEARCH (tx_indexedsearch)
  3. #----------------------------------
  4. plugin.tx_indexedsearch {
  5. #        templateFile = fileadmin/templates/main/indexed_search_div.tmpl
  6.         show {
  7.                 rules = 0
  8.                 advancedSearchLink = 0
  9.         }
  10.         blind {
  11.                 type = 1
  12.                 defOp = 1
  13.                 sections = 0
  14.                 freeIndexUid = 1
  15.                 media = 1
  16.                 order = 1
  17.                 group = 1
  18.                 lang = 1
  19.                 desc = 1
  20.                 results = 1
  21.         }
  22.         _CSS_DEFAULT_STYLE >
  23. }
  24.  
  25. #---------
  26. # TOP MENU
  27. #---------
  28. lib.menu.top = COA
  29. lib.menu.top.10 = COA
  30. lib.menu.top.10 {
  31.         wrap =  <a name="top"></a><div class="search">|</div>
  32.  
  33.         10 = TEXT
  34.         10.typolink.returnLast = url
  35.         10.typolink.parameter = {$site.search.pid}
  36.         10.wrap = <form id="search_form" name="search_form" action="|" method="post">
  37.  
  38.         20 = TEXT
  39.         20.value (
  40. <input type="hidden" name="tx_indexedsearch[_sections]" value="0" />
  41. <input type="hidden" name="tx_indexedsearch[_freeIndexUid]" value="_" />
  42. <input type="hidden" name="tx_indexedsearch[pointer]" value="0" />
  43. <input type="hidden" name="tx_indexedsearch[ext]" value="0" />
  44. <input type="hidden" name="tx_indexedsearch[type]" value="1" />
  45. <input type="hidden" name="tx_indexedsearch[defOp]" value="1" />
  46. <input type="hidden" name="tx_indexedsearch[media]" value="-1" />
  47. <input type="hidden" name="tx_indexedsearch[order]" value="rank_flag" />
  48. <input type="hidden" name="tx_indexedsearch[group]" value="flat" />
  49. <input type="hidden" name="tx_indexedsearch[lang]" value="-1" />
  50. <input type="hidden" name="tx_indexedsearch[desc]" value="0" />
  51. <input type="hidden" name="tx_indexedsearch[results]" value="10" />
  52. <input id="search" type="text" class="text" name="tx_indexedsearch[sword]" accesskey="s" value=""
  53.  />
  54.         )
  55.         30 = TEXT
  56.         30.value = <input type="submit" class="bttn" value=" " /></form>
  57. }
  58.  
  59.  
Parsed in 0.125 seconds, using GeSHi 1.0.7.14

Modify this Paste