PageRenderTime 22ms CodeModel.GetById 18ms app.highlight 1ms RepoModel.GetById 0ms app.codeStats 1ms

/components/com_finder/views/search/tmpl/default.xml

https://bitbucket.org/eternaware/joomus
XML | 178 lines | 177 code | 1 blank | 0 comment | 0 complexity | fc0e3fbda710784fefc020359d6aced3 MD5 | raw file
Possible License(s): LGPL-2.1
  1<?xml version="1.0" encoding="utf-8"?>
  2<metadata>
  3	<layout title="COM_FINDER_MENU_SEARCH_VIEW_DEFAULT_TITLE">
  4		<help
  5			key = "JHELP_MENUS_MENU_ITEM_FINDER_SEARCH"
  6		/>
  7		<message>
  8			<![CDATA[COM_FINDER_MENU_SEARCH_VIEW_DEFAULT_TEXT]]>
  9		</message>
 10	</layout>
 11
 12	<fields name="request" addfieldpath="/administrator/components/com_finder/models/fields">
 13		<fieldset name="request">
 14			<field name="q"
 15				type="text"
 16				label="COM_FINDER_SEARCH_SEARCH_QUERY_LABEL"
 17				description="COM_FINDER_SEARCH_SEARCH_QUERY_DESC"
 18				size="30"
 19			/>
 20			<field name="f"
 21				type="searchfilter"
 22				default=""
 23				label="COM_FINDER_SEARCH_FILTER_SEARCH_LABEL"
 24				description="COM_FINDER_SEARCH_FILTER_SEARCH_DESC"
 25			/>
 26		</fieldset>
 27	</fields>
 28	<fields name="params" addfieldpath="/administrator/components/com_finder/models/fields">
 29		<fieldset name="basic">
 30			<field name="show_date_filters"
 31				type="list"
 32				default=""
 33				validate="options"
 34				label="COM_FINDER_CONFIG_SHOW_DATE_FILTERS_LABEL"
 35				description="COM_FINDER_CONFIG_SHOW_DATE_FILTERS_DESC">
 36				<option value="1">JSHOW</option>
 37				<option value="0">JHIDE</option>
 38				<option value="">JGLOBAL_USE_GLOBAL</option>
 39			</field>
 40			<field name="show_advanced"
 41				type="list"
 42				default=""
 43				validate="options"
 44				label="COM_FINDER_CONFIG_SHOW_ADVANCED_LABEL"
 45				description="COM_FINDER_CONFIG_SHOW_ADVANCED_DESC">
 46				<option value="1">JSHOW</option>
 47				<option value="0">JHIDE</option>
 48				<option value="">JGLOBAL_USE_GLOBAL</option>
 49			</field>
 50			<field name="expand_advanced"
 51				type="list"
 52				default=""
 53				validate="options"
 54				label="COM_FINDER_CONFIG_EXPAND_ADVANCED_LABEL"
 55				description="COM_FINDER_CONFIG_EXPAND_ADVANCED_DESC">
 56				<option value="1">JSHOW</option>
 57				<option value="0">JHIDE</option>
 58				<option value="">JGLOBAL_USE_GLOBAL</option>
 59			</field>
 60			<field type="spacer" />
 61			<field name="show_description"
 62				type="list"
 63				default=""
 64				validate="options"
 65				label="COM_FINDER_CONFIG_SHOW_DESCRIPTION_LABEL"
 66				description="COM_FINDER_CONFIG_SHOW_DESCRIPTION_DESC">
 67				<option value="1">JSHOW</option>
 68				<option value="0">JHIDE</option>
 69				<option value="">JGLOBAL_USE_GLOBAL</option>
 70			</field>
 71			<field name="description_length"
 72				type="text"
 73				default="255"
 74				filter="integer"
 75				label="COM_FINDER_CONFIG_DESCRIPTION_LENGTH_LABEL"
 76				description="COM_FINDER_CONFIG_DESCRIPTION_LENGTH_DESC"
 77				size="5"
 78			/>
 79			<field name="show_url"
 80				type="list"
 81				default=""
 82				validate="options"
 83				label="COM_FINDER_CONFIG_SHOW_URL_LABEL"
 84				description="COM_FINDER_CONFIG_SHOW_URL_DESC">
 85				<option value="1">JSHOW</option>
 86				<option value="0">JHIDE</option>
 87				<option value="">JGLOBAL_USE_GLOBAL</option>
 88			</field>
 89			<field type="spacer" />
 90		</fieldset>
 91		<fieldset name="advanced">
 92			<field name="show_pagination_limit" type="list"
 93				label="JGLOBAL_DISPLAY_SELECT_LABEL"
 94				validate="options"
 95				description="JGLOBAL_DISPLAY_SELECT_DESC">
 96				<option value="">JGLOBAL_USE_GLOBAL</option>
 97				<option value="0">JHIDE</option>
 98				<option value="1">JSHOW</option>
 99			</field>
100			<field name="show_pagination" type="list"
101				description="JGLOBAL_PAGINATION_DESC"
102				validate="options"
103				label="JGLOBAL_PAGINATION_LABEL" >
104				<option value="">JGLOBAL_USE_GLOBAL</option>
105				<option value="0">JHIDE</option>
106				<option value="1">JSHOW</option>
107				<option value="2">JGLOBAL_AUTO</option>
108			</field>
109			<field name="show_pagination_results" type="list"
110				label="JGLOBAL_PAGINATION_RESULTS_LABEL"
111				validate="options"
112				description="JGLOBAL_PAGINATION_RESULTS_DESC" >
113				<option value="">JGLOBAL_USE_GLOBAL</option>
114				<option value="0">JHIDE</option>
115				<option value="1">JSHOW</option>
116			</field>
117			<field name="allow_empty_query"
118				type="radio"
119				default="0"
120				validate="options"
121				label="COM_FINDER_ALLOW_EMPTY_QUERY_LABEL"
122				description="COM_FINDER_ALLOW_EMPTY_QUERY_DESC">
123				<option value="1">JYES</option>
124				<option value="0">JNO</option>
125			</field>
126			<field name="sort_order"
127				type="list"
128				default=""
129				validate="options"
130				label="COM_FINDER_CONFIG_SORT_ORDER_LABEL"
131				description="COM_FINDER_CONFIG_SORT_ORDER_DESC">
132				<option value="">JGLOBAL_USE_GLOBAL</option>
133				<option value="relevance">COM_FINDER_CONFIG_SORT_OPTION_RELEVANCE</option>
134				<option value="date">COM_FINDER_CONFIG_SORT_OPTION_START_DATE</option>
135				<option value="price">COM_FINDER_CONFIG_SORT_OPTION_LIST_PRICE</option>
136			</field>
137			<field name="sort_direction"
138				type="list"
139				default=""
140				validate="options"
141				label="COM_FINDER_CONFIG_SORT_DIRECTION_LABEL"
142				description="COM_FINDER_CONFIG_SORT_DIRECTION_DESC">
143				<option value="">JGLOBAL_USE_GLOBAL</option>
144				<option value="desc">COM_FINDER_CONFIG_SORT_OPTION_DESCENDING</option>
145				<option value="asc">COM_FINDER_CONFIG_SORT_OPTION_ASCENDING</option>
146			</field>
147			<field type="spacer" />
148			<field name="show_feed"
149				type="radio"
150				default="0"
151				validate="options"
152				label="COM_FINDER_CONFIG_SHOW_FEED_LABEL"
153				description="COM_FINDER_CONFIG_SHOW_FEED_DESC">
154				<option value="1">JSHOW</option>
155				<option value="0">JHIDE</option>
156			</field>
157			<field name="show_feed_text"
158				type="radio"
159				default="0"
160				validate="options"
161				label="COM_FINDER_CONFIG_SHOW_FEED_TEXT_LABEL"
162				description="COM_FINDER_CONFIG_SHOW_FEED_TEXT_DESC">
163				<option value="1">JYES</option>
164				<option value="0">JNO</option>
165			</field>
166		</fieldset>
167		<fieldset name="integration">
168			<field name="show_feed_link" type="list"
169				description="JGLOBAL_SHOW_FEED_LINK_DESC"
170				validate="options"
171				label="JGLOBAL_SHOW_FEED_LINK_LABEL" >
172				<option value="">JGLOBAL_USE_GLOBAL</option>
173				<option value="0">JHIDE</option>
174				<option value="1">JSHOW</option>
175			</field>
176		</fieldset>
177	</fields>
178</metadata>