Your IP : 216.73.216.85


Current Path : /home/smartconb/www/armencom33/administrator/components/com_sobipro/field/
Upload File :
Current File : /home/smartconb/www/armencom33/administrator/components/com_sobipro/field/category.xml

<?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
 Email: sobi[at]sigsiu.net
 Url: https://www.Sigsiu.NET

 @copyright Copyright (C) 2006 - 2023 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 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 26 September 2023 by Sigrid Suski
-->

<definition>
	<header>
		<file type="script" filename="adm.tabs"/>
		<file type="script" filename="adm.fields.category"/>
	</header>

	<toolbar title="FM.SITE_TITLE" subtitle="{'field.add':'FM.ADD_FIELD','field.edit':'FM.FIELD_FULLINFO'}" class="field category">
		<buttons icon="globe" class="btn" buttons="languages-list" label="TB.LANGUAGES"/>
		<button task="field.apply" type="apply" invert-condition="trim" colour="save">
			<button type="save" task="field.save" colour="save"/>
			<button type="duplicate" task="field.clone" colour="save"/>
		</button>
		<button type="exit" task="field.cancel" colour="exit"/>
		<button type="help" target="_blank"/>
	</toolbar>

	<body disable-menu="true">
		<div class="row">
			<div class="col-lg-12 sp-main-area">
				<message id="spctrl-message"/>
				<tabs invert-condition="trim">
					<tab label="FMN.FIELD_GENERAL">
						<fieldset>
							<field type="toggle" name="field.enabled" value="field.enabled" label="ENABLED" prefix="yes_no"/>
						</fieldset>
						<fieldset>
							<field type="text" name="field.name" value="field.name" label="FMN.FIELD_LABEL" width="5" maxlength="255" required="true" translatable="true"/>
							<field type="text" name="field.nid" value="field.nid" label="FM.ALIAS" width="5" placeholder="FM.LABEL_PLACEHOLDER_ALIAS"/>
							<field type="text" name="field.cssClass" value="field.cssClass" label="FM.CSS_CLASS" width="6"/>
							<field type="textarea" name="field.notice" value="field.notice" label="FM.NOTICES" editor="false" width="8" style=""/>
						</fieldset>
						<fieldset label="FM.FIELD_TYPE">
							<field type="output" value="type" label="FMN.FIELD_TYPE" class="badge rounded-pill bg-secondary"/>
							<field type="output" value="field.version" label="VERSION" class="badge rounded-pill bg-secondary"/>
						</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="FMN.FIELD_ENTRYINPUT">
						<fieldset>
							<field type="textarea" name="field.description" value="field.description" label="FM.DESCRIPTION" editor="false" width="8" rows="4" style=""
							       translatable="true"/>
							<field type="select" label="TP.CONFIG.ENTRY_HELPPOSITION" name="field.helpposition" selected="field.helpposition" width="3">
								<values>
									<option value="popup" label="TP.CONFIG.ENTRY_HELPPOSITION_POPUP"/>
									<option value="above" label="TP.CONFIG.ENTRY_HELPPOSITION_ABOVE"/>
									<option value="below" label="TP.CONFIG.ENTRY_HELPPOSITION_BELOW"/>
									<option value="right" label="TP.CONFIG.ENTRY_HELPPOSITION_RIGHT"/>
								</values>
							</field>
							<field type="toggle" name="field.showEditLabel" value="field.showEditLabel" label="FM.SHOW_LABEL" prefix="yes_no"/>
							<field type="text" name="field.cssClassEdit" value="field.cssClassEdit" label="FM.CSS_CLASS" width="6"/>
							<field type="toggle" name="field.adminField" value="field.adminField" label="FMN.ADM_FIELD" prefix="yes_no"/>
							<field type="select" name="field.method" selected="field.method" label="FMN.CC_METHOD" width="4">
								<values>
									<option value="tree" label="FMN.CC_TREE"/>
									<option value="select" label="FMN.CC_SELECT_LIST"/>
									<option value="pselect" label="FMN.CC_POPULATED_SELECT_LIST"/>
									<option value="mselect" label="FMN.CC_MSELECT"/>
									<option value="fixed" label="FMN.CC_FIXED"/>
								</values>
							</field>

							<!-- Tree select -->
							<div class="hide sp-chooser-method" id="sp-chooser-tree">
								<fieldset label="FMN.CC_TREE">
									<field type="toggle" name="field.modal" value="field.modal" label="FMN.CC_TREE_MODAL" prefix="fmn.cc_modal"/>
									<field type="select" name="field.bsWidth" selected="field.bsWidth" label="FMN.FIELD_WIDTH" width="2">
										<values>
											<option value="4" label="4"/>
											<option value="5" label="5"/>
											<option value="6" label="6"/>
											<option value="7" label="7"/>
											<option value="8" label="8"/>
											<option value="9" label="9"/>
											<option value="10" label="10"/>
										</values>
									</field>
									<field type="text" name="field.height" value="field.height" label="FMN.FIELD_HEIGHT" maxlength="5" width="2">
										<add where="after">
											<text>px</text>
										</add>
									</field>
									<field type="text" name="field.catsMaxLimit" value="field.catsMaxLimit" label="FMN.CC_CATS_LIMIT" width="2">
										<add where="after">
											<call function="Sobi::Txt">
												<param>FMN.CC_CATS_LIMIT_SUFFIX</param>
											</call>
										</add>
									</field>
									<field type="toggle" name="field.catsWithChilds" value="field.catsWithChilds" label="FMN.CC_ALLOW_CATS_WITH_CHILDS" prefix="yes_no"/>
									<field type="toggle" name="field.preselect" value="field.preselect" label="FMN.CC_PRESELECT" prefix="yes_no"/>
									<field type="toggle" name="field.required" value="field.required" label="FMN.IS_REQUIRED" prefix="yes_no"/>
								</fieldset>
							</div>

							<!-- Single select -->
							<div class="hide sp-chooser-method" id="sp-chooser-select">
								<fieldset label="FMN.CC_SELECT_LIST">
									<field type="select" name="field.bsWidth" selected="field.bsWidth" label="FMN.FIELD_WIDTH" width="2">
										<values>
											<option value="1" label="1"/>
											<option value="2" label="2"/>
											<option value="3" label="3"/>
											<option value="4" label="4"/>
											<option value="5" label="5"/>
											<option value="6" label="6"/>
											<option value="7" label="7"/>
											<option value="8" label="8"/>
											<option value="9" label="9"/>
											<option value="10" label="10"/>
										</values>
									</field>
									<field type="select" name="field.orderCatsBy" selected="field.orderCatsBy" label="ORDER_BY" width="4">
										<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"/>
										</values>
									</field>
									<field type="toggle" name="field.catsWithChilds" value="field.catsWithChilds" label="FMN.CC_ALLOW_CATS_WITH_CHILDS" prefix="yes_no"/>
									<field type="toggle" name="field.isPrimary" value="field.isPrimary" label="FMN.CC_IS_PRIMARY" prefix="yes_no"/>
									<field type="toggle" name="field.required" value="field.required" label="FMN.IS_REQUIRED" prefix="yes_no"/>
								</fieldset>
							</div>

							<!-- Dependancy select -->
							<div class="hide sp-chooser-method" id="sp-chooser-pselect">
								<fieldset label="FMN.CC_POPULATED_SELECT_LIST">
									<field type="select" name="field.bsWidth" selected="field.bsWidth" label="FMN.FIELD_WIDTH" width="2">
										<values>
											<option value="1" label="1"/>
											<option value="2" label="2"/>
											<option value="3" label="3"/>
											<option value="4" label="4"/>
											<option value="5" label="5"/>
											<option value="6" label="6"/>
											<option value="7" label="7"/>
											<option value="8" label="8"/>
											<option value="9" label="9"/>
											<option value="10" label="10"/>
										</values>
									</field>
									<field type="select" name="field.orderCatsBy" selected="field.orderCatsBy" label="ORDER_BY" width="4">
										<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"/>
										</values>
									</field>
									<field type="toggle" name="field.catsWithChilds" value="field.catsWithChilds" label="FMN.CC_ALLOW_CATS_WITH_CHILDS" prefix="yes_no"/>
									<field type="toggle" name="field.isPrimary" value="field.isPrimary" label="FMN.CC_IS_PRIMARY" prefix="yes_no"/>
									<field type="toggle" name="field.preselect" value="field.preselect" label="FMN.CC_PRESELECT" prefix="yes_no"/>
									<field type="toggle" name="field.required" value="field.required" label="FMN.IS_REQUIRED" prefix="yes_no"/>
								</fieldset>
							</div>

							<!-- Multiselect -->
							<div class="hide sp-chooser-method" id="sp-chooser-mselect">
								<fieldset label="FMN.CC_MSELECT">
									<field type="select" name="field.bsWidth" selected="field.bsWidth" label="FMN.FIELD_WIDTH" width="2">
										<values>
											<option value="1" label="1"/>
											<option value="2" label="2"/>
											<option value="3" label="3"/>
											<option value="4" label="4"/>
											<option value="5" label="5"/>
											<option value="6" label="6"/>
											<option value="7" label="7"/>
											<option value="8" label="8"/>
											<option value="9" label="9"/>
											<option value="10" label="10"/>
											<option value="11" label="11"/>
											<option value="12" label="12"/>
										</values>
									</field>
									<field type="text" name="field.size" value="field.size" label="FMN.SEL.SIZE_IN_SEARCH" maxlength="5" width="2">
										<add where="after">
											<call function="Sobi::Txt">
												<param>FMN.LENGTH_ROWS</param>
											</call>
										</add>
									</field>
									<field type="select" name="field.orderCatsBy" selected="field.orderCatsBy" label="ORDER_BY" width="4">
										<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"/>
										</values>
									</field>
									<field type="text" name="field.catsMaxLimit" value="field.catsMaxLimit" label="FMN.CC_CATS_LIMIT" maxlength="5" width="2">
										<add where="after">
											<call function="Sobi::Txt">
												<param>FMN.CC_CATS_LIMIT_SUFFIX</param>
											</call>
										</add>
									</field>
									<field type="toggle" name="field.catsWithChilds" value="field.catsWithChilds" label="FMN.CC_ALLOW_CATS_WITH_CHILDS" prefix="yes_no"/>
									<field type="toggle" name="field.preselect" value="field.preselect" label="FMN.CC_PRESELECT" prefix="yes_no"/>
									<field type="toggle" name="field.required" value="field.required" label="FMN.IS_REQUIRED" prefix="yes_no"/>
								</fieldset>
							</div>

							<!-- Fix category -->
							<div class="hide sp-chooser-method" id="sp-chooser-fixed">
								<fieldset label="FMN.CC_FIXED">
									<field type="text" name="field.fixedCid" value="field.fixedCid" label="FMN.CC_FIXED_CID" width="2"/>
									<field type="toggle" name="field.isPrimary" value="field.isPrimary" label="FMN.CC_IS_PRIMARY" prefix="yes_no"/>
								</fieldset>
							</div>
						</fieldset>

						<fieldset label="FMN.FIELD_ENTRYINPUT_EDITS">
							<field type="toggle" name="field.editable" value="field.editable" label="FMN.IS_EDITABLE" prefix="yes_no"/>
							<field type="text" name="field.editLimit" value="field.editLimit" label="FM.EDIT_LIMITS" width="2"/>
						</fieldset>
						<fieldset label="FMN.FIELD_ENTRYINPUT_PAYMENT">
							<field type="toggle" name="field.isFree" value="field.isFree" label="FM.FOR_FREE" prefix="yes_no"/>
							<field type="text" name="field.fee" value="field.fee" label="FMN.FIELD_FEE" width="2">
								<add where="after">
									<call function="Sobi::Cfg">
										<param>payments.currency</param>
										<param>EUR</param>
									</call>
								</add>
							</field>
						</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="FMN.FIELD_SEARCH">
						<fieldset>
							<field type="toggle" name="field.inSearch" value="field.inSearch" label="FMN.IS_SEARCHABLE" prefix="yes_no"/>
							<field type="select" name="field.bsSearchWidth" selected="field.bsSearchWidth" label="FMN.FIELD_WIDTH" width="2">
								<values>
									<option value="1" label="1"/>
									<option value="2" label="2"/>
									<option value="3" label="3"/>
									<option value="4" label="4"/>
									<option value="5" label="5"/>
									<option value="6" label="6"/>
									<option value="7" label="7"/>
									<option value="8" label="8"/>
									<option value="9" label="9"/>
									<option value="10" label="10"/>
									<option value="11" label="11"/>
									<option value="12" label="12"/>
								</values>
							</field>
							<field type="select" name="field.searchMethod" selected="field.searchMethod" label="FM.SEARCH_METHOD" width="4">
								<values>
									<option value="select" label="FMN.SELECT_LIST_OPT"/>
									<option value="mselect" label="FM.MSELECT_LIST_OPT"/>
									<option value="pselect" label="FMN.CC_POPULATED_SELECT_LIST"/>
								</values>
							</field>
							<field type="text" name="field.ssize" value="field.ssize" label="FMN.SEL.SIZE_IN_SEARCH" maxlength="5" width="2">
								<add where="after">
									<call function="Sobi::Txt">
										<param>FMN.LENGTH_ROWS</param>
									</call>
								</add>
							</field>
							<field type="select" name="field.searchOrderCatsBy" selected="field.searchOrderCatsBy" label="ORDER_BY" width="4">
								<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"/>
								</values>
							</field>
							<field type="text" name="field.cssClassSearch" value="field.cssClassSearch" label="FM.CSS_CLASS" width="6"/>
						</fieldset>
					</tab>
				</tabs>
				<div class="sp-feature" condition="trim">
					<file filename="about.information.info" type="html" translatable="true" start-path="administrator"/>
				</div>
			</div>
		</div>
	</body>

	<config>
		<action value="index.php"/>
		<hidden>
			<field name="option" default="com_sobipro"/>
			<field name="field.fieldType" default="category"/>
			<field name="field.showIn" default="hidden"/>
			<field name="sp-language" default=""/>
			<field name="task" default=""/>
			<field name="method" default="xhr"/>
			<field name="format" default="raw"/>
		</hidden>
	</config>
</definition>