{% endif %}
{% set Column = 0 %}
{% if Search_Result_Rows %}
{% if Mode == 'search_entry_box' and (Html_Page_Search_Results or Html_Page_Search_No_Results) %}
{% set Column = Column + 1 %}
{% endif %}
{% if Mode == 'search_entry_box' and Html_Page_Column_Heading_Text and not Html_Page_Search_No_Results %}
{{Html_Page_Column_Heading_Text|e}}
{% endif %}
{% if Html_Page_Search_Results %}
{{self.populateResults(Html_Page_Search_Results)}}
{% endif %}
{% if Html_Page_Search_No_Results %}
{{Html_No_Results_Text|e}}
{% endif %}
{% if Mode == 'search_entry_box' and (Html_Page_Search_Results or Html_Page_Search_No_Results) %}
{% endif %}
{% if Mode == 'search_entry_box' and (Document_Search_Results or Document_Search_No_Results) %}
{% set Column = Column + 1 %}
{% endif %}
{% if Mode == 'search_entry_box' and Document_Column_Heading_Text and not Document_Search_No_Results %}
{{Document_Column_Heading_Text|e}}
{% endif %}
{% if Document_Search_Results %}
{{self.populateResults(Document_Search_Results)}}
{% endif %}
{% if Document_Search_No_Results %}
{{Document_No_Results_Text|e}}
{% endif %}
{% if Mode == 'search_entry_box' and (Document_Search_Results or Document_Search_No_Results) %}
{% endif %}
{% if Mode == 'search_entry_box' and (News_Search_Results or News_Search_No_Results) %}
{% set Column = Column + 1 %}
{% endif %}
{% if Mode == 'search_entry_box' and News_Column_Heading_Text and not News_Search_No_Results %}
{{News_Column_Heading_Text|e}}
{% endif %}
{% if News_Search_Results %}
{{self.populateResults(News_Search_Results)}}
{% endif %}
{% if News_Search_No_Results %}
{{News_No_Results_Text|e}}
{% endif %}
{% if Mode == 'search_entry_box' and (News_Search_Results or News_Search_No_Results) %}
{% endif %}
{% endif %}
{# Pagination is only available in "Search page" mode. #}
{{Search_Pagination}}
{% endif %}