You are here

adsense-oldsearch-form.html.twig in Google AdSense integration 8

AdSense pre-2007 form HTML code.

File

oldcode/templates/adsense-oldsearch-form.html.twig
View source
  1. {#
  2. /**
  3. * @file
  4. * AdSense pre-2007 form HTML code.
  5. */
  6. #}
  7. <!-- SiteSearch Google -->
  8. <form method="get" action="http://{{ country }}/custom" target="_top">
  9. <table border="0" bgcolor="{{ bg_color }}">
  10. <tr><td nowrap="nowrap" valign="top" align="left" height="32">
  11. {% if logo == 'adsense_search_logo_on_button' %}
  12. </td>
  13. <td nowrap="nowrap">
  14. {% else %}
  15. <a href="http://www.google.com/">
  16. <img src="http://www.google.com/logos/Logo_25{{ logo_color }}.gif" border="0" alt="Google" align="middle"></img></a>
  17. {% if logo == 'adsense_search_logo_google' %}
  18. </td>
  19. <td nowrap="nowrap">
  20. {% elseif logo == 'adsense_search_logo_above_textbox' %}
  21. <br/>
  22. {% endif %}
  23. {% endif %}
  24. {% if hidden_q %}
  25. <input type="hidden" name="q" value="." />
  26. {% endif %}
  27. <input type="hidden" name="domains" value="{{ domain }}"></input>
  28. <label for="sbi" style="display: none">Enter your search terms</label>
  29. <input type="text" name="q" size="{{ qsize }}" maxlength="255" value="" id="sbi"></input>
  30. {% if not search_button %}
  31. <label for="sbb" style="display: none">Submit search form</label>
  32. <input type="submit" name="sa" value="{{ btn }}" id="sbb"></input>
  33. {% endif %}
  34. </td></tr>
  35. <tr>
  36. {% if (logo == 'adsense_search_logo_on_button') or (logo == 'adsense_search_logo_google') %}
  37. <td>&nbsp;</td>
  38. {% endif %}
  39. <td nowrap="nowrap">
  40. <table>
  41. <tr>
  42. <td>
  43. <input type="radio" name="sitesearch" value="" checked id="ss0"></input>
  44. <label for="ss0" title="Search the Web"><font size="-1" color="{{ box_text_color }}">Web</font></label></td>
  45. {% if domain_0 %}
  46. <td>
  47. <input type="radio" name="sitesearch" value="{{ domain_0 }}" id="ss1"></input>
  48. <label for="ss1" title="Search {{ domain_0 }}"><font size="-1" color="{{ box_text_color }}">{{ domain_0 }}</font></label></td>
  49. {% endif %}
  50. </tr>
  51. {% if domain_1 %}
  52. <tr>
  53. <td>
  54. <input type="radio" name="sitesearch" value="{{ domain_1 }}" id="ss2"></input>
  55. <label for="ss2" title="Search {{ domain_1 }}"><font size="-1" color="{{ box_text_color }}">{{ domain_1 }}</font></label></td>
  56. {% if domain_2 %}
  57. <td>
  58. <input type="radio" name="sitesearch" value="{{ domain_2 }}" id="ss3"></input>
  59. <label for="ss3" title="Search {{ domain_2 }}"><font size="-1" color="{{ box_text_color }}">{{ domain_2 }}</font></label></td>
  60. {% else %}
  61. <td></td>
  62. {% endif %}
  63. </tr>
  64. {% endif %}
  65. </table>
  66. {% if search_button %}
  67. <label for="sbb" style="display: none">Submit search form</label>
  68. <input type="submit" name="sa" value="{{ btn }}" id="sbb"></input>
  69. {% endif %}
  70. <input type="hidden" name="client" value="{{ client }}"></input>
  71. <input type="hidden" name="forid" value="1"></input>
  72. {% if channel %}
  73. <input type="hidden" name="channel" value="{{ channel }}"></input>
  74. {% endif %}
  75. <input type="hidden" name="ie" value="{{ encoding }}"></input>
  76. <input type="hidden" name="oe" value="{{ encoding }}"></input>
  77. {% if safe_mode %}
  78. <input type="hidden" name="safe" value="active"></input>
  79. {% endif %}
  80. <input type="hidden" name="cof" value="GALT:{{ url }};GL:1;DIV:{{ border }};VLC:{{ visited }};AH:center;BGC:{{ bg }};LBGC:{{ logobg }};ALC:{{ title }};LC:{{ title }};T:{{ text }};GFNT:{{ light }};GIMP:{{ light }};FORID:11"></input>
  81. <input type="hidden" name="hl" value="{{ language }}"></input>
  82. </td></tr></table>
  83. </form>
  84. <!-- SiteSearch Google -->