Joomla-Sermon-Distributor/site/views/category/tmpl/default.xml
Llewellyn van der Merwe e726e758b4
Move all filters in the views to have the filters above the admin list view. (JCB improvement gh-378)
Add the new donation information to README.
Update the Repo URLs to point to Llewellyn's repo instead.
Improve the date methods in the Helper class. (JCB improvement)
Add a fix to the import export methods. (JCB improvement)
2020-11-30 19:17:42 +02:00

364 lines
12 KiB
XML

<?xml version="1.0" encoding="utf-8" ?>
<metadata>
<layout title="COM_SERMONDISTRIBUTOR_MENU_CATEGORY_TITLE" option="COM_SERMONDISTRIBUTOR_MENU_CATEGORY_OPTION">
<message>
<![CDATA[COM_SERMONDISTRIBUTOR_MENU_CATEGORY_DESC]]>
</message>
</layout>
<!-- Add fields to the request variables for the layout. -->
<fields name="request">
<fieldset name="request"
addrulepath="/administrator/components/com_sermondistributor/models/rules"
addfieldpath="/administrator/components/com_sermondistributor/models/fields">
<!-- Category_request_id Field. Type: Category. (joomla) -->
<field
type="category"
name="id"
label="COM_SERMONDISTRIBUTOR_CONFIG_CATEGORY_REQUEST_ID_LABEL"
extension="com_sermondistributor.sermon"
required="false"
default=""
description="COM_SERMONDISTRIBUTOR_CONFIG_CATEGORY_REQUEST_ID_DESCRIPTION"
class="inputbox"
/>
</fieldset>
</fields>
<!-- Adding page parameters -->
<fields name="params">
<fieldset name="basic" label="COM_SERMONDISTRIBUTOR"
addrulepath="/administrator/components/com_sermondistributor/models/rules"
addfieldpath="/administrator/components/com_sermondistributor/models/fields">
<!-- Category_default_icon Field. Type: Media. (joomla) -->
<field
type="media"
name="category_default_icon"
label="COM_SERMONDISTRIBUTOR_CONFIG_CATEGORY_DEFAULT_ICON_LABEL"
description="COM_SERMONDISTRIBUTOR_CONFIG_CATEGORY_DEFAULT_ICON_DESCRIPTION"
directory="Set the default icon for categories."
/>
<!-- Category_display Field. Type: Radio. (joomla) -->
<field
type="radio"
name="category_display"
label="COM_SERMONDISTRIBUTOR_CONFIG_CATEGORY_DISPLAY_LABEL"
description="COM_SERMONDISTRIBUTOR_CONFIG_CATEGORY_DISPLAY_DESCRIPTION"
class="btn-group btn-group-yesno"
default="">
<!-- Global & Option Set. -->
<option value="">
JGLOBAL_USE_GLOBAL</option>
<option value="1">
COM_SERMONDISTRIBUTOR_CONFIG_PANEL</option>
<option value="2">
COM_SERMONDISTRIBUTOR_CONFIG_BOX</option>
<option value="3">
COM_SERMONDISTRIBUTOR_CONFIG_SMALL</option>
</field>
<!-- Category_box_contrast Field. Type: Radio. (joomla) -->
<field
type="radio"
name="category_box_contrast"
label="COM_SERMONDISTRIBUTOR_CONFIG_CATEGORY_BOX_CONTRAST_LABEL"
description="COM_SERMONDISTRIBUTOR_CONFIG_CATEGORY_BOX_CONTRAST_DESCRIPTION"
class="btn-group btn-group-yesno"
default="">
<!-- Global & Option Set. -->
<option value="">
JGLOBAL_USE_GLOBAL</option>
<option value="1">
COM_SERMONDISTRIBUTOR_CONFIG_YES</option>
<option value="0">
COM_SERMONDISTRIBUTOR_CONFIG_NO</option>
</field>
<!-- Category_list_style Field. Type: List. (joomla) -->
<field
type="list"
name="category_list_style"
label="COM_SERMONDISTRIBUTOR_CONFIG_CATEGORY_LIST_STYLE_LABEL"
description="COM_SERMONDISTRIBUTOR_CONFIG_CATEGORY_LIST_STYLE_DESCRIPTION"
class="list_class"
multiple="false"
filter="string"
default="">
<!-- Global & Option Set. -->
<option value="">
JGLOBAL_USE_GLOBAL</option>
<option value="0">
COM_SERMONDISTRIBUTOR_CONFIG_PLAIN</option>
<option value="1">
COM_SERMONDISTRIBUTOR_CONFIG_LINES</option>
<option value="2">
COM_SERMONDISTRIBUTOR_CONFIG_STRIPED</option>
<option value="3">
COM_SERMONDISTRIBUTOR_CONFIG_SPACED</option>
</field>
<!-- Category_icon Field. Type: Radio. (joomla) -->
<field
type="radio"
name="category_icon"
label="COM_SERMONDISTRIBUTOR_CONFIG_CATEGORY_ICON_LABEL"
description="COM_SERMONDISTRIBUTOR_CONFIG_CATEGORY_ICON_DESCRIPTION"
class="btn-group btn-group-yesno"
default="">
<!-- Global & Option Set. -->
<option value="">
JGLOBAL_USE_GLOBAL</option>
<option value="1">
COM_SERMONDISTRIBUTOR_CONFIG_YES</option>
<option value="0">
COM_SERMONDISTRIBUTOR_CONFIG_NO</option>
</field>
<!-- Category_desc Field. Type: Radio. (joomla) -->
<field
type="radio"
name="category_desc"
label="COM_SERMONDISTRIBUTOR_CONFIG_CATEGORY_DESC_LABEL"
description="COM_SERMONDISTRIBUTOR_CONFIG_CATEGORY_DESC_DESCRIPTION"
class="btn-group btn-group-yesno"
default="">
<!-- Global & Option Set. -->
<option value="">
JGLOBAL_USE_GLOBAL</option>
<option value="1">
COM_SERMONDISTRIBUTOR_CONFIG_YES</option>
<option value="0">
COM_SERMONDISTRIBUTOR_CONFIG_NO</option>
</field>
<!-- Category_sermon_count Field. Type: Radio. (joomla) -->
<field
type="radio"
name="category_sermon_count"
label="COM_SERMONDISTRIBUTOR_CONFIG_CATEGORY_SERMON_COUNT_LABEL"
description="COM_SERMONDISTRIBUTOR_CONFIG_CATEGORY_SERMON_COUNT_DESCRIPTION"
class="btn-group btn-group-yesno"
default="">
<!-- Global & Option Set. -->
<option value="">
JGLOBAL_USE_GLOBAL</option>
<option value="1">
COM_SERMONDISTRIBUTOR_CONFIG_YES</option>
<option value="0">
COM_SERMONDISTRIBUTOR_CONFIG_NO</option>
</field>
<!-- Category_hits Field. Type: Radio. (joomla) -->
<field
type="radio"
name="category_hits"
label="COM_SERMONDISTRIBUTOR_CONFIG_CATEGORY_HITS_LABEL"
description="COM_SERMONDISTRIBUTOR_CONFIG_CATEGORY_HITS_DESCRIPTION"
class="btn-group btn-group-yesno"
default="">
<!-- Global & Option Set. -->
<option value="">
JGLOBAL_USE_GLOBAL</option>
<option value="1">
COM_SERMONDISTRIBUTOR_CONFIG_YES</option>
<option value="0">
COM_SERMONDISTRIBUTOR_CONFIG_NO</option>
</field>
<!-- Spacer_hr_two Field. Type: Spacer. A None Database Field. (joomla) -->
<field type="spacer" name="spacer_hr_two" hr="true" class="spacer_hr_two" />
<!-- Category_sermons_display Field. Type: Radio. (joomla) -->
<field
type="radio"
name="category_sermons_display"
label="COM_SERMONDISTRIBUTOR_CONFIG_CATEGORY_SERMONS_DISPLAY_LABEL"
description="COM_SERMONDISTRIBUTOR_CONFIG_CATEGORY_SERMONS_DISPLAY_DESCRIPTION"
class="btn-group btn-group-yesno"
default="">
<!-- Global & Option Set. -->
<option value="">
JGLOBAL_USE_GLOBAL</option>
<option value="1">
COM_SERMONDISTRIBUTOR_CONFIG_TABLE</option>
<option value="2">
COM_SERMONDISTRIBUTOR_CONFIG_GRID</option>
<option value="3">
COM_SERMONDISTRIBUTOR_CONFIG_LIST</option>
</field>
<!-- Category_sermons_list_style Field. Type: List. (joomla) -->
<field
type="list"
name="category_sermons_list_style"
label="COM_SERMONDISTRIBUTOR_CONFIG_CATEGORY_SERMONS_LIST_STYLE_LABEL"
description="COM_SERMONDISTRIBUTOR_CONFIG_CATEGORY_SERMONS_LIST_STYLE_DESCRIPTION"
class="list_class"
multiple="false"
filter="string"
default="">
<!-- Global & Option Set. -->
<option value="">
JGLOBAL_USE_GLOBAL</option>
<option value="0">
COM_SERMONDISTRIBUTOR_CONFIG_PLAIN</option>
<option value="1">
COM_SERMONDISTRIBUTOR_CONFIG_LINES</option>
<option value="2">
COM_SERMONDISTRIBUTOR_CONFIG_STRIPED</option>
<option value="3">
COM_SERMONDISTRIBUTOR_CONFIG_SPACED</option>
</field>
<!-- Category_sermons_table_color Field. Type: List. (joomla) -->
<field
type="list"
name="category_sermons_table_color"
label="COM_SERMONDISTRIBUTOR_CONFIG_CATEGORY_SERMONS_TABLE_COLOR_LABEL"
description="COM_SERMONDISTRIBUTOR_CONFIG_CATEGORY_SERMONS_TABLE_COLOR_DESCRIPTION"
class="list_class"
multiple="false"
filter="string"
default="">
<!-- Global & Option Set. -->
<option value="">
JGLOBAL_USE_GLOBAL</option>
<option value="0">
COM_SERMONDISTRIBUTOR_CONFIG_BLUE</option>
<option value="1">
COM_SERMONDISTRIBUTOR_CONFIG_RED</option>
<option value="2">
COM_SERMONDISTRIBUTOR_CONFIG_PURPLE</option>
<option value="3">
COM_SERMONDISTRIBUTOR_CONFIG_GREEN</option>
<option value="4">
COM_SERMONDISTRIBUTOR_CONFIG_DARK_BLUE</option>
<option value="5">
COM_SERMONDISTRIBUTOR_CONFIG_LEGACY</option>
<option value="6">
COM_SERMONDISTRIBUTOR_CONFIG_UIKIT</option>
<option value="7">
COM_SERMONDISTRIBUTOR_CONFIG_CUSTOM</option>
<option value="8">
COM_SERMONDISTRIBUTOR_CONFIG_NONE</option>
</field>
<!-- Category_sermons_icon Field. Type: Radio. (joomla) -->
<field
type="radio"
name="category_sermons_icon"
label="COM_SERMONDISTRIBUTOR_CONFIG_CATEGORY_SERMONS_ICON_LABEL"
description="COM_SERMONDISTRIBUTOR_CONFIG_CATEGORY_SERMONS_ICON_DESCRIPTION"
class="btn-group btn-group-yesno"
default="">
<!-- Global & Option Set. -->
<option value="">
JGLOBAL_USE_GLOBAL</option>
<option value="1">
COM_SERMONDISTRIBUTOR_CONFIG_YES</option>
<option value="0">
COM_SERMONDISTRIBUTOR_CONFIG_NO</option>
</field>
<!-- Category_sermons_desc Field. Type: Radio. (joomla) -->
<field
type="radio"
name="category_sermons_desc"
label="COM_SERMONDISTRIBUTOR_CONFIG_CATEGORY_SERMONS_DESC_LABEL"
description="COM_SERMONDISTRIBUTOR_CONFIG_CATEGORY_SERMONS_DESC_DESCRIPTION"
class="btn-group btn-group-yesno"
default="">
<!-- Global & Option Set. -->
<option value="">
JGLOBAL_USE_GLOBAL</option>
<option value="1">
COM_SERMONDISTRIBUTOR_CONFIG_YES</option>
<option value="0">
COM_SERMONDISTRIBUTOR_CONFIG_NO</option>
</field>
<!-- Category_sermons_preacher Field. Type: Radio. (joomla) -->
<field
type="radio"
name="category_sermons_preacher"
label="COM_SERMONDISTRIBUTOR_CONFIG_CATEGORY_SERMONS_PREACHER_LABEL"
description="COM_SERMONDISTRIBUTOR_CONFIG_CATEGORY_SERMONS_PREACHER_DESCRIPTION"
class="btn-group btn-group-yesno"
default="">
<!-- Global & Option Set. -->
<option value="">
JGLOBAL_USE_GLOBAL</option>
<option value="1">
COM_SERMONDISTRIBUTOR_CONFIG_YES</option>
<option value="0">
COM_SERMONDISTRIBUTOR_CONFIG_NO</option>
</field>
<!-- Category_sermons_series Field. Type: Radio. (joomla) -->
<field
type="radio"
name="category_sermons_series"
label="COM_SERMONDISTRIBUTOR_CONFIG_CATEGORY_SERMONS_SERIES_LABEL"
description="COM_SERMONDISTRIBUTOR_CONFIG_CATEGORY_SERMONS_SERIES_DESCRIPTION"
class="btn-group btn-group-yesno"
default="">
<!-- Global & Option Set. -->
<option value="">
JGLOBAL_USE_GLOBAL</option>
<option value="1">
COM_SERMONDISTRIBUTOR_CONFIG_YES</option>
<option value="0">
COM_SERMONDISTRIBUTOR_CONFIG_NO</option>
</field>
<!-- Category_sermons_download_counter Field. Type: Radio. (joomla) -->
<field
type="radio"
name="category_sermons_download_counter"
label="COM_SERMONDISTRIBUTOR_CONFIG_CATEGORY_SERMONS_DOWNLOAD_COUNTER_LABEL"
description="COM_SERMONDISTRIBUTOR_CONFIG_CATEGORY_SERMONS_DOWNLOAD_COUNTER_DESCRIPTION"
class="btn-group btn-group-yesno"
default="">
<!-- Global & Option Set. -->
<option value="">
JGLOBAL_USE_GLOBAL</option>
<option value="1">
COM_SERMONDISTRIBUTOR_CONFIG_YES</option>
<option value="0">
COM_SERMONDISTRIBUTOR_CONFIG_NO</option>
</field>
<!-- Category_sermons_hits Field. Type: Radio. (joomla) -->
<field
type="radio"
name="category_sermons_hits"
label="COM_SERMONDISTRIBUTOR_CONFIG_CATEGORY_SERMONS_HITS_LABEL"
description="COM_SERMONDISTRIBUTOR_CONFIG_CATEGORY_SERMONS_HITS_DESCRIPTION"
class="btn-group btn-group-yesno"
default="">
<!-- Global & Option Set. -->
<option value="">
JGLOBAL_USE_GLOBAL</option>
<option value="1">
COM_SERMONDISTRIBUTOR_CONFIG_YES</option>
<option value="0">
COM_SERMONDISTRIBUTOR_CONFIG_NO</option>
</field>
<!-- Category_sermons_downloads Field. Type: Radio. (joomla) -->
<field
type="radio"
name="category_sermons_downloads"
label="COM_SERMONDISTRIBUTOR_CONFIG_CATEGORY_SERMONS_DOWNLOADS_LABEL"
description="COM_SERMONDISTRIBUTOR_CONFIG_CATEGORY_SERMONS_DOWNLOADS_DESCRIPTION"
class="btn-group btn-group-yesno"
default="">
<!-- Global & Option Set. -->
<option value="">
JGLOBAL_USE_GLOBAL</option>
<option value="1">
COM_SERMONDISTRIBUTOR_CONFIG_YES</option>
<option value="0">
COM_SERMONDISTRIBUTOR_CONFIG_NO</option>
</field>
<!-- Category_sermons_open Field. Type: Radio. (joomla) -->
<field
type="radio"
name="category_sermons_open"
label="COM_SERMONDISTRIBUTOR_CONFIG_CATEGORY_SERMONS_OPEN_LABEL"
description="COM_SERMONDISTRIBUTOR_CONFIG_CATEGORY_SERMONS_OPEN_DESCRIPTION"
class="btn-group btn-group-yesno"
default="">
<!-- Global & Option Set. -->
<option value="">
JGLOBAL_USE_GLOBAL</option>
<option value="1">
COM_SERMONDISTRIBUTOR_CONFIG_YES</option>
<option value="0">
COM_SERMONDISTRIBUTOR_CONFIG_NO</option>
</field>
</fieldset>
</fields>
</metadata>