<?xml version="1.0" encoding="utf-8"?><!--
 @package SobiPro multi-directory component with content construction support

 @author
 Name: Sigrid Suski & Radek Suski, Sigsiu.NET GmbH
 Url: https://www.Sigsiu.NET

 @copyright Copyright (C) 2006–2024 Sigsiu.NET GmbH (https://www.sigsiu.net). All rights reserved.
 @license GNU/GPL Version 3
 This program is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License version 3
 as published by the Free Software Foundation, and under the additional terms according to section 7 of GPL v3.
 See https://www.gnu.org/licenses/gpl.html and https://www.sigsiu.net/licenses.

 This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of
 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details.

 @modified 05 July 2024 by Sigrid Suski
-->

<definition>
	<header>
		<file type="script" filename="adm.tabs"/>
		<file type="script" filename="adm.fields.general"/>
		<style>
			.deprecated::after { content: "DEPRECATED"; }
		</style>
	</header>

	<toolbar title="AMN.GEN_CFG" subtitle="var:[section]" class="config general">
		<buttons icon="globe" buttons="languages-list" label="TB.LANGUAGES"/>
		<button type="apply" task="config.save" colour="save"/>
		<button task="config.clean" icon="hand-sparkles" label="TB.CLEAN_CACHE"/>
		<buttons type="sections" buttons="sections-list"/>
		<buttons type="options">
			<button type="url" task="panel"/>
			<button type="url" task="config" condition="acl.config"/>
			<button type="url" task="acl" condition="acl.admin"/>
			<button type="url" task="extensions.installed" condition="acl.apps"/>
			<button type="url" task="template.info" condition="acl.config"/>
			<button type="url" task="error" condition="acl.admin"/>
			<button type="help" target="_blank"/>
		</buttons>
	</toolbar>

	<body>
		<div class="row">
			<div class="col-lg-3" id="spctrl-menu">
				<menu/>
			</div>
			<div class="col-lg-9 sp-main-area">
				<message id="spctrl-message"/>
				<tabs>
					<tab label="SECN.CFG.SECTION_CONFIGURATION">
						<fieldset>
							<field type="toggle" name="section.state" value="section.state" label="ENABLED" prefix="yes_no"/>
							<field type="text" name="section.name" value="section.name" label="SECN.CFG.SECTION_NAME" width="5" required="true" translatable="true"/>
							<field type="text" name="section.nid" value="section.nid" label="SECN.ADD_SECTION_ALIAS" width="5" placeholder="FM.NAME_PLACEHOLDER_ALIAS"
							       translatable="true"/>
							<field type="textarea" name="section.description" value="section.description" editor="true" label="SECN.CFG.SECTION_DESCRIPTION" translatable="true"
							       width="9" rows="4"
							       style=""/>
						</fieldset>
						<fieldset label="SECN.CFG.PUBLISHING">
							<field type="datepicker" label="CREATED_AT" name="section.createdTime" value="section.createdTime" width="4" dateFormat="cfg:publishing_format"
							       icon="calendar"/>
							<field type="datepicker" label="VALID_SINCE" name="section.validSince" value="section.validSince" width="4" dateFormat="cfg:publishing_format"
							       icon="unlock"/>
							<field type="datepicker" label="VALID_UNTIL" name="section.validUntil" value="section.validUntil" width="4" dateFormat="cfg:publishing_format"
							       icon="lock"/>
						</fieldset>

						<legend class="text-muted small">
							<param icon="fas fa-star dk-sup" value="ENTRY_REQUIRED_MESSAGE" parse="true"/>
							<param icon="fas fa-globe dk-sup" condition="multilingual" value="ENTRY_TRANSLATABLE_MESSAGE" parse="true"/>
						</legend>
					</tab>

					<tab label="SECN.CFG.TEMPLATE_DATA">
						<fieldset>
							<field type="select" invert-condition="trim" label="SECN.CFG.SECTION_TEMPLATE" name="spcfg[section.template]" selected="section.template"
							       values="templatesList" width="5" help-text="SECN.CFG.SECTION_TEMPLATE_HELP"/>
							<div condition="trim" class="col-lg-10 offset-lg-1">
								<file filename="about.information.info-template" type="html" translatable="true" start-path="administrator"/>
							</div>
							<field type="select" condition="trim" label="SECN.CFG.SECTION_TEMPLATE" name="spcfg[section.template]" selected="default8" width="5">
								<values>
									<option selected="selected" value="default8">Default Template V8</option>
								</values>
							</field>
							<field type="toggle" name="spcfg[general.top_menu]" value="general.top_menu" label="SECN.CFG.SHOW_TOP_MENU" prefix="show"/>
							<field type="toggle" name="spcfg[general.parse_template_content]" value="general.parse_template_content" label="SECN.CFG.PARSE_TPL_CONTENT"
							       prefix="yes_no"/>
						</fieldset>

						<div class="mt-5"/>
						<tabs>
							<tab label="SECN.CFG.GENERAL_SETTINGS">
								<fieldset label="TP.CONFIG.FRAMEWORK">
									<field type="select" name="spcfg[template.framework-style]" value="template.framework-style" label="TP.CONFIG.FRAMEWORK_LAYOUT"
									       selected="template.framework-style" width="3">
										<values>
											<option value="5" label="TP.CONFIG.FRAMEWORK_BS5"/>
											<option value="4" label="TP.CONFIG.FRAMEWORK_BS4"/>
											<option value="3" label="TP.CONFIG.FRAMEWORK_BS3"/>
											<option value="2" label="TP.CONFIG.FRAMEWORK_BS2"/>
										</values>
									</field>
									<field type="select" name="spcfg[template.framework-load]" value="template.framework-load" label="TP.CONFIG.FRAMEWORK_SOURCE"
									       selected="template.framework-load" width="3" data-spctrl="framework">
										<values>
											<option value="0" label="TP.CONFIG.FRAMEWORK_LOAD_NONE"/>
											<option value="1" label="TP.CONFIG.FRAMEWORK_LOAD_LOCAL"/>
											<option value="3" label="TP.CONFIG.FRAMEWORK_LOAD_STYLES"/>
											<option value="2" label="TP.CONFIG.FRAMEWORK_LOAD_CDN"/>
										</values>
									</field>
									<div data-spctrl="cdn">
										<field type="text" name="spcfg[template.cdn-version]" value="template.cdn-version" label="BOOTSTRAP_CDN_VERSION" width="3"/>
										<div class="mb-3 row">
											<label class="col-lg-3"/>
											<div class="col-lg-9 text-muted small">
												<text value="NORMALIZE_OFF"/>
											</div>
										</div>
									</div>
									<field type="toggle" name="spcfg[template.supportold]" value="template.supportold" label="TP.CONFIG.SUPPORTOLD" prefix="yes_no"/>
								</fieldset>
								<fieldset label="TP.CONFIG.SETTINGS_JS">
									<field type="toggle" name="spcfg[template.jquery-load]" value="template.jquery-load" label="TP.CONFIG.JQUERY_LOAD" prefix="load"/>
								</fieldset>
								<fieldset label="SECN.CFG.SETTINGS_FONTS">
									<field type="checkBoxGroup" label="SECN.CFG.USE_ICONS_FONTS" name="spcfg[template.icon_fonts_arr]" selected="template.icon_fonts_arr" width="5">
										<values>
											<option value="font-awesome-6" label="SECN.CFG.ICONS_FONT_AWESOME_6"/>
											<option value="font-awesome-5" label="SECN.CFG.ICONS_FONT_AWESOME_5"/>
											<option value="font-awesome-4" label="SECN.CFG.ICONS_FONT_AWESOME_4"/>
											<option value="font-awesome-3" label="SECN.CFG.ICONS_FONT_AWESOME_3"/>
											<option value="font-google-materials" label="SECN.CFG.ICONS_MATERIAL"/>
										</values>
									</field>
									<field type="toggle" name="spcfg[template.icon_fonts_load]" value="template.icon_fonts_load" label="SECN.CFG.LOAD_ICONS_FONTS" prefix="yes_no"/>
								</fieldset>
								<fieldset label="GBN.CFG.DEB_DEVELOP">
									<field type="toggle" name="spcfg[debug.xml_raw]" value="debug.xml_raw" label="GBN.CFG.DEB_XML_RAW" prefix="onoff"/>
									<field type="text" name="spcfg[debug.xml_ip]" value="debug.xml_ip" label="GBN.CFG.DEB_XML_IP" width="4"/>
								</fieldset>
							</tab>

							<tab label="SECN.CFG.CLISTING_SETTINGS">
								<fieldset>
									<field type="toggle" name="spcfg[category.show_desc]" value="category.show_desc" label="SECN.CFG.SHOW_CATEGORY_DESC" prefix="show"/>
								</fieldset>
								<!-- Categories -->
								<fieldset label="SECN.CFG.CAT_GLOBALS">
									<field type="toggle" name="spcfg[category.parse_desc]" value="category.parse_desc" label="SECN.CFG.PARSE_CATEGORY_DESC" prefix="yes_no"/>
									<field type="select" label="SECN.CFG.CATEGORY_ICON_SIZE" name="spcfg[category.iconsize]" selected="category.iconsize" width="3">
										<values>
											<option value="0" label="none"/>
											<option value="1" label="larger (33% increase)"/>
											<option value="2" label="2x"/>
											<option value="3" label="3x"/>
											<option value="4" label="4x"/>
											<option value="5" label="5x"/>
										</values>
									</field>
									<field type="toggle" name="spcfg[category.show_icon]" value="category.show_icon" label="CAT.SHOW_ICON" prefix="yes_no"/>
									<field type="toggle" name="spcfg[category.show_intro]" value="category.show_intro" label="CAT.SHOW_INTROTEXT" prefix="yes_no"/>
								</fieldset>
								<!-- Subcategories -->
								<fieldset label="SECN.CFG.CATEGORY_SETTINGS">
									<field type="toggle" name="spcfg[list.subcats]" value="list.subcats" label="SECN.CFG.SUBCATS" prefix="show"/>
									<field type="select" label="SECN.CFG.SUBCATSNUMBER" name="spcfg[list.num_subcats]" selected="list.num_subcats" width="5">
										<values>
											<option value="1"/>
											<option value="2"/>
											<option value="3"/>
											<option value="4"/>
											<option value="5"/>
											<option value="6"/>
											<option value="7"/>
											<option value="8"/>
											<option value="9"/>
											<option value="10"/>
											<option value="15"/>
											<option value="20"/>
											<option value="25" label="SELECT_25_NOT_RECOMMENDED"/>
											<option value="30" label="SELECT_30_NOT_RECOMMENDED"/>
										</values>
									</field>
									<field type="select" label="ORDER_BY" name="spcfg[list.subcats_ordering]" selected="list.subcats_ordering" width="5">
										<values>
											<option value="name.asc" label="ORDER_BY_NAME_ASC"/>
											<option value="name.desc" label="ORDER_BY_NAME_DESC"/>
											<option value="position.asc" label="ORDER_BY_POSITION_ASC"/>
											<option value="position.desc" label="ORDER_BY_POSITION_DESC"/>
											<option value="counter.asc" label="ORDER_BY_POPULARITY_ASC"/>
											<option value="counter.desc" label="ORDER_BY_POPULARITY_DESC"/>
											<option value="createdTime.asc" label="ORDER_BY_CREATION_DATE_ASC"/>
											<option value="createdTime.desc" label="ORDER_BY_CREATION_DATE_DESC"/>
											<option value="updatedTime.asc" label="ORDER_BY_UPDATE_DATE_ASC"/>
											<option value="updatedTime.desc" label="ORDER_BY_UPDATE_DATE_DESC"/>
											<option value="validUntil.asc" label="ORDER_BY_EXPIRATION_DATE_ASC"/>
											<option value="validUntil.desc" label="ORDER_BY_EXPIRATION_DATE_DESC"/>
										</values>
									</field>
								</fieldset>
								<fieldset label="SECN.CFG.PASS_TO_TEMPLATE">
									<field type="toggle" name="spcfg[list.cat_desc]" value="list.cat_desc" label="SECN.CFG.PASS_CAT_DESC_TO_TEMPLATE" prefix="yes_no"/>
									<field type="toggle" name="spcfg[list.cat_meta]" value="list.cat_meta" label="SECN.CFG.PASS_CAT_DATA_TO_TEMPLATE" prefix="yes_no"/>
									<field type="toggle" name="spcfg[list.cat_full]" value="list.cat_full" label="SECN.CFG.PASS_CAT_FULL_TO_TEMPLATE" prefix="yes_no"/>
								</fieldset>
							</tab>

							<tab label="SECN.CFG.ELISTING_SETTINGS">
								<fieldset>
									<field type="select" label="SECN.CFG.ENTRY_TITLE_FIELD" name="spcfg[entry.name_field]" selected="entry.name_field" values="nameFields"
									       width="5"/>
									<field type="text" name="spcfg[entry.publish_limit]" value="entry.publish_limit" label="SECN.CFG.STOP_PUBLISHING_ENTRY_AFTER" width="3">
										<add where="after">
											<call function="Sobi::Txt">
												<param>DAYS</param>
											</call>
										</add>
									</field>
									<field type="select" label="SECN.CFG.ORDER_FIELDS" multi="true" size="12" name="spcfg[ordering.fields_array]" selected="ordering.fields_array"
									       values="orderingFields" width="5"/>
								</fieldset>
								<fieldset label="SECN.CFG.PASS_TO_VCARD">
									<field type="toggle" name="spcfg[list.entry_meta]" value="list.entry_meta" label="SECN.CFG.PASS_ENTRY_META_TEMPLATE" prefix="yes_no"/>
									<field type="toggle" name="spcfg[list.entry_cats]" value="list.entry_cats" label="SECN.CFG.PASS_SEL_CATS_OF_ENTRY_TO_TEMPLATE" prefix="yes_no"/>
								</fieldset>
							</tab>

							<tab label="SEC.CFG.SEARCH_SETTINGS">
								<fieldset>
									<field type="toggle" name="spcfg[search.highlight-search]" value="search.highlight-search" label="SECN.CFG.SEARCH_HIGHLIGHT" prefix="yes_no"/>

									<field type="toggle" name="spcfg[search.wildcard-search]" value="search.wildcard-search" label="SECN.CFG.SEARCH_WILDCARD" prefix="yes_no"/>

									<field type="select" label="SECN.CFG.SEARCH_ORDER" name="spcfg[search.search_ordering]" selected="search.search_ordering" width="5"
									       data-spctrl="search-ordering" values="searchOrdering">
									</field>
									<div data-spctrl="sm-second">
										<field type="select" label="SECN.CFG.SEARCH_SETTINGS_ORDER" name="spcfg[search.entries_ordering]" selected="search.entries_ordering"
										       width="5" values="entriesOrdering">
										</field>
									</div>
									<div data-spctrl="sm-order-fields">
										<field type="select" label="SECN.CFG.ORDER_FIELDS" multi="true" size="12" name="spcfg[sordering.fields_array]"
										       selected="sordering.fields_array" values="searchorderingFields" width="5"/>
									</div>
								</fieldset>
							</tab>

							<tab label="FORMS">
								<fieldset label="SECN.CFG.META_DATA_INPUT">
									<field type="text" name="section.efTitle" value="section.efTitle" label="FORMS_TITLE" width="7" translatable="true"/>
									<field type="textarea" name="section.efDesc" value="section.efDesc" label="DESCRIPTION" editor="false" width="9" rows="2" style=""
									       translatable="true"/>
								</fieldset>
								<fieldset label="SECN.CFG.META_DATA_SEARCH">
									<field type="text" name="section.sfTitle" value="section.sfTitle" label="FORMS_TITLE" width="7" translatable="true"/>
									<field type="textarea" name="section.sfDesc" value="section.sfDesc" label="DESCRIPTION" editor="false" width="9" rows="2" style=""
									       translatable="true"/>
								</fieldset>

								<legend class="text-muted small">
									<param icon="fas fa-globe dk-sup" condition="multilingual" value="ENTRY_TRANSLATABLE_MESSAGE" parse="true"/>
								</legend>
							</tab>

							<tab label="SEC.CFG.ALPHAMENU_SETTINGS">
								<fieldset>
									<field type="toggle" name="spcfg[alphamenu.show]" value="alphamenu.show" label="SECN.CFG.SHOW_ALPHA_MENU" prefix="show"/>
									<field type="text" name="spcfg[alphamenu.letters]" value="alphamenu.letters" label="SECN.CFG.ALPHA_LETTERS" width="9"/>
									<field type="toggle" name="spcfg[alphamenu.verify]" value="alphamenu.verify" label="SECN.CFG.SHOW_ALPHA_VERIFY" prefix="yes_no"/>
									<field type="toggle" name="spcfg[alphamenu.catdependent]" value="alphamenu.catdependent" label="SECN.CFG.SHOW_ALPHA_CATDEP" prefix="yes_no"/>
									<field type="select" label="SECN.CFG.ALPHA_FIELD" name="spcfg[alphamenu.primary_field]" selected="alphamenu.primary_field"
									       values="alphaMenuFields" width="5"/>
									<field type="select" label="SECN.CFG.ALPHA_FIELDS" multi="true" size="12" name="spcfg[alphamenu.extra_fields_array]"
									       selected="alphamenu.extra_fields_array" values="alphaMenuFields" width="5"/>
								</fieldset>
							</tab>
						</tabs>
						<message label="SECN.CFG.WARNING" type="outline-info" dismiss-button="false" class="dk-config-alert-lg mt-5"/>
					</tab>

					<tab label="META_DATA">
						<fieldset label="SECN.CFG.META_DATA_SECTION">
							<field type="toggle" name="spcfg[meta.always_add_section]" value="meta.always_add_section" label="SECN.CFG.META_DATA_ADD" prefix="yes_no"/>
							<field type="text" name="spcfg[meta.separator]" value="meta.separator" label="FM.META_SEPARATOR" width="4" maxlength="4"/>
							<field type="textarea" name="section.metaDesc" value="section.metaDesc" label="DESCRIPTION" editor="false" width="9" rows="2" style=""
							       translatable="true"/>
							<field type="textarea" name="section.metaKeys" value="section.metaKeys" label="KEYS" editor="false" width="9" rows="2" style="" translatable="true"/>
							<field type="text" name="section.metaAuthor" value="section.metaAuthor" label="AUTHOR" width="5" maxlength="255"/>
							<field type="select" label="ROBOTS" name="section.metaRobots" selected="section.metaRobots" width="5">
								<values>
									<option value="" label="ROBOTS_NONE"/>
									<option value="index, follow" label="index, follow"/>
									<option value="index, nofollow" label="index, nofollow"/>
									<option value="noindex, follow" label="noindex, follow"/>
									<option value="noindex, nofollow" label="noindex, nofollow"/>
								</values>
							</field>
						</fieldset>
						<fieldset label="SECN.CFG.META_DATA_INPUT">
							<field type="textarea" name="section.efMetaDesc" value="section.efMetaDesc" label="DESCRIPTION" editor="false" width="9" rows="2" style=""
							       translatable="true"/>
							<field type="textarea" name="section.efMetaKeys" value="section.efMetaKeys" label="KEYS" editor="false" width="9" rows="2" style=""
							       translatable="true"/>
						</fieldset>
						<fieldset label="SECN.CFG.META_DATA_SEARCH">
							<field type="textarea" name="section.sfMetaDesc" value="section.sfMetaDesc" label="DESCRIPTION" editor="false" width="9" rows="2" style=""
							       translatable="true"/>
							<field type="textarea" name="section.sfMetaKeys" value="section.sfMetaKeys" label="KEYS" editor="false" width="9" rows="2" style=""
							       translatable="true"/>
						</fieldset>

						<legend class="text-muted small">
							<param icon="fas fa-globe dk-sup" condition="multilingual" value="ENTRY_TRANSLATABLE_MESSAGE" parse="true"/>
						</legend>
					</tab>

					<tab label="SEC.CFG.REDIRECTS">
						<message label="SECN.CFG.REDIRECT_INFO" type="outline-info" dismiss-button="false" class="dk-config-alert-lg"/>
						<tabs>
							<tab label="SECN.CFG.REDIRECT_SECTION">
								<fieldset label="SECN.CFG.REDIRECTS_SECTION_SPACER">
									<field type="select" label="SEC.CFG.REDIRECTS_DO" name="spcfg[redirects.section_access_enabled]" selected="redirects.section_access_enabled"
									       width="5">
										<values>
											<option value="0" label="SEC.CFG.REDIRECTS_ERR_OPT"/>
											<option value="1" label="SEC.CFG.REDIRECTS_RED_OPT"/>
										</values>
									</field>
									<field type="text" name="section.redirectSectionUrl" value="section.redirectSectionUrl" label="SEC.CFG.REDIRECTS_TO" translatable="true"
									       width="9"/>
									<field type="select" label="SEC.CFG.REDIRECTS_MSG_TYPE" name="spcfg[redirects.section_access_msgtype]"
									       selected="redirects.section_access_msgtype" width="5">
										<values>
											<option value="none" label="SEC.CFG.REDIRECTS_MSGTYPE_NONE_OPT"/>
											<option value="info" label="SEC.CFG.REDIRECTS_MSGTYPE_MSG_OPT"/>
											<option value="error" label="SEC.CFG.REDIRECTS_MSGTYPE_ERR_OPT"/>
										</values>
									</field>
									<field type="text" name="spcfg[redirects.section_msg]" value="redirects.section_access_msg" label="SEC.CFG.REDIRECTS_MSG" width="9"/>
								</fieldset>
								<fieldset label="SECN.CFG.REDIRECTS_SEARCH_SPACER">
									<field type="select" label="SEC.CFG.REDIRECTS_DO" name="spcfg[redirects.section_search_enabled]" selected="redirects.section_search_enabled"
									       width="5">
										<values>
											<option value="0" label="SEC.CFG.REDIRECTS_ERR_OPT"/>
											<option value="1" label="SEC.CFG.REDIRECTS_RED_OPT"/>
										</values>
									</field>
									<field type="text" name="section.redirectSearchUrl]" value="section.redirectSearchUrl" label="SEC.CFG.REDIRECTS_TO" translatable="true"
									       width="9"/>
									<field type="select" label="SEC.CFG.REDIRECTS_MSG_TYPE" name="spcfg[redirects.section_search_msgtype]"
									       selected="redirects.section_search_msgtype" width="5">
										<values>
											<option value="none" label="SEC.CFG.REDIRECTS_MSGTYPE_NONE_OPT"/>
											<option value="info" label="SEC.CFG.REDIRECTS_MSGTYPE_MSG_OPT"/>
											<option value="error" label="SEC.CFG.REDIRECTS_MSGTYPE_ERR_OPT"/>
										</values>
									</field>
									<field type="text" name="spcfg[redirects.section_search_msg]" value="redirects.section_search_msg" label="SEC.CFG.REDIRECTS_MSG" width="9"/>
								</fieldset>
							</tab>
							<tab label="SECN.CFG.REDIRECT_CATEGORY">
								<fieldset label="SECN.CFG.REDIRECTS_CAT_SPACER">
									<field type="select" label="SEC.CFG.REDIRECTS_DO" name="spcfg[redirects.category_access_enabled]" selected="redirects.category_access_enabled"
									       width="5">
										<values>
											<option value="0" label="SEC.CFG.REDIRECTS_ERR_OPT"/>
											<option value="1" label="SEC.CFG.REDIRECTS_RED_OPT"/>
										</values>
									</field>
									<field type="text" name="section.redirectCategoryUrl" value="section.redirectCategoryUrl" label="SEC.CFG.REDIRECTS_TO" translatable="true"
									       width="9"/>
									<field type="select" label="SEC.CFG.REDIRECTS_MSG_TYPE" name="spcfg[redirects.category_access_msgtype]"
									       selected="redirects.category_access_msgtype" width="5">
										<values>
											<option value="none" label="SEC.CFG.REDIRECTS_MSGTYPE_NONE_OPT"/>
											<option value="info" label="SEC.CFG.REDIRECTS_MSGTYPE_MSG_OPT"/>
											<option value="error" label="SEC.CFG.REDIRECTS_MSGTYPE_ERR_OPT"/>
										</values>
									</field>
									<field type="text" name="spcfg[redirects.category_access_msg]" value="redirects.category_access_msg" label="SEC.CFG.REDIRECTS_MSG" width="9"/>
								</fieldset>
							</tab>

							<tab label="SECN.CFG.REDIRECT_ENTRY">
								<fieldset label="SECN.CFG.REDIRECTS_ENTRY_SPACER">
									<field type="select" label="SEC.CFG.REDIRECTS_DO" name="spcfg[redirects.entry_access_enabled]" selected="redirects.entry_access_enabled"
									       width="5">
										<values>
											<option value="0" label="SEC.CFG.REDIRECTS_ERR_OPT"/>
											<option value="1" label="SEC.CFG.REDIRECTS_RED_OPT"/>
										</values>
									</field>
									<field type="text" name="section.redirectEntryUrl" value="section.redirectEntryUrl" label="SEC.CFG.REDIRECTS_TO" translatable="true" width="9"/>
									<field type="select" label="SEC.CFG.REDIRECTS_MSG_TYPE" name="spcfg[redirects.entry_access_msgtype]" selected="redirects.entry_access_msgtype"
									       width="5">
										<values>
											<option value="none" label="SEC.CFG.REDIRECTS_MSGTYPE_NONE_OPT"/>
											<option value="info" label="SEC.CFG.REDIRECTS_MSGTYPE_MSG_OPT"/>
											<option value="error" label="SEC.CFG.REDIRECTS_MSGTYPE_ERR_OPT"/>
										</values>
									</field>
									<field type="text" name="spcfg[redirects.entry_access_msg]" value="redirects.entry_access_msg" label="SEC.CFG.REDIRECTS_MSG" width="9"/>
								</fieldset>

								<fieldset label="SECN.CFG.REDIRECTS_INPUT">
									<field type="select" label="SEC.CFG.REDIRECTS_DO" name="spcfg[redirects.entry_add_enabled]" selected="redirects.entry_add_enabled" width="5">
										<values>
											<option value="0" label="SEC.CFG.REDIRECTS_ERR_OPT"/>
											<option value="1" label="SEC.CFG.REDIRECTS_RED_OPT"/>
										</values>
									</field>
									<field type="text" name="section.redirectEntryAddUrl" value="section.redirectEntryAddUrl" label="SEC.CFG.REDIRECTS_TO" translatable="true"
									       width="9"/>
									<field type="select" label="SEC.CFG.REDIRECTS_MSG_TYPE" name="spcfg[redirects.entry_add_msgtype]" selected="redirects.entry_add_msgtype"
									       width="5">
										<values>
											<option value="none" label="SEC.CFG.REDIRECTS_MSGTYPE_NONE_OPT"/>
											<option value="info" label="SEC.CFG.REDIRECTS_MSGTYPE_MSG_OPT"/>
											<option value="error" label="SEC.CFG.REDIRECTS_MSGTYPE_ERR_OPT"/>
										</values>
									</field>
									<field type="text" name="spcfg[redirects.entry_add_msg]" value="redirects.entry_add_msg" label="SEC.CFG.REDIRECTS_MSG" width="9"/>
								</fieldset>
								<fieldset label="SECN.CFG.REDIRECTS_SAVE">
									<field type="select" label="SEC.CFG.REDIRECTS_DO" name="spcfg[redirects.entry_save_enabled]" selected="redirects.entry_save_enabled" width="5">
										<values>
											<option value="0" label="SEC.CFG.REDIRECTS_TO_PARENT_CATEGORY"/>
											<option value="1" label="SEC.CFG.REDIRECTS_RED_OPT"/>
										</values>
									</field>
									<field type="text" name="section.redirectEntrySaveUrl" value="section.redirectEntrySaveUrl" label="SEC.CFG.REDIRECTS_TO" translatable="true"
									       width="9"/>
									<field type="select" label="SEC.CFG.REDIRECTS_MSG_TYPE" name="spcfg[redirects.entry_save_msgtype]" selected="redirects.entry_save_msgtype"
									       width="5">
										<values>
											<option value="none" label="SEC.CFG.REDIRECTS_MSGTYPE_NONE_OPT"/>
											<option value="info" label="SEC.CFG.REDIRECTS_MSGTYPE_MSG_OPT"/>
											<option value="error" label="SEC.CFG.REDIRECTS_MSGTYPE_ERR_OPT"/>
										</values>
									</field>
									<field type="text" name="spcfg[redirects.entry_save_msg]" value="redirects.entry_save_msg" label="SEC.CFG.REDIRECTS_MSG" width="9"/>
									<message label="SECN.CFG.REDIRECT_ENTRY_INFO" type="outline-warning" dismiss-button="false" class="dk-config-alert"/>
								</fieldset>
							</tab>
						</tabs>

						<legend class="text-muted small">
							<param icon="fas fa-globe dk-sup" condition="multilingual" value="ENTRY_TRANSLATABLE_MESSAGE" parse="true"/>
						</legend>
					</tab>

					<tab label="SECN.CFG.SECURITY_SETTINGS">
						<fieldset label="CFG.VERSIONING">
							<field type="toggle" invert-condition="trim" name="spcfg[entry.versioning]" value="entry.versioning" label="ENTRY_VERSIONING" prefix="enabled"/>
							<field type="toggle" invert-condition="trim" name="spcfg[entry.versioningAdminBehaviour]" value="entry.versioningAdminBehaviour"
							       label="ENTRY_VERSIONING_ADM_BEHAVIOUR" prefix="versioning_adm"/>
							<div condition="trim" class="col-lg-10 offset-lg-1">
								<file filename="about.information.info-history" type="html" translatable="true" start-path="administrator"/>
							</div>
							<field condition="trim" type="toggle" name="spcfg[entry.versioning]" value="0" label="ENTRY_VERSIONING" prefix="enabled"/>
							<field type="toggle" condition="trim" name="spcfg[entry.versioningAdminBehaviour]" value="entry.versioningAdminBehaviour"
							       label="ENTRY_VERSIONING_ADM_BEHAVIOUR" prefix="versioning_adm"/>
						</fieldset>
						<fieldset label="CFG.HTML_ELEMENTS">
							<field type="textarea" name="spcfg[html.allowed_tags_array]" value="html.allowed_tags_array" label="SEC.CFG.ALLOWED_TAGS" editor="false" width="8"
							       rows="2" style=""/>
							<field type="textarea" name="spcfg[html.allowed_attributes_array]" value="html.allowed_attributes_array" label="SEC.CFG.ALLOWED_ATTRIBUTES"
							       editor="false" width="8" rows="2" style=""/>
						</fieldset>
					</tab>
				</tabs>
			</div>
		</div>
	</body>
	<config>
		<action value="index.php"/>
		<hidden>
			<field name="sp-language" default=""/>
			<field name="spcfg[list.categories_in_line]" default="2"/>
			<field name="spcfg[list.categories_ordering]" default="name.asc"/>
			<field name="spcfg[list.entries_ordering]" default="updatedTime.desc"/>
			<field name="spcfg[list.entries_limit]" default="1"/>
			<field name="spcfg[list.entries_in_line]" default="1"/>
			<field name="option" default="com_sobipro"/>
			<field name="task" default=""/>
			<field name="method" default="xhr"/>
		</hidden>
	</config>
</definition>
