2021-10-14 14:30:56 +00:00
|
|
|
<?xml version="1.0" encoding="utf-8"?>
|
|
|
|
<!-- default paths of joomla_component form points to componentbuilder -->
|
|
|
|
<form>
|
|
|
|
<fields name="params">
|
|
|
|
<!-- default paths of language_options fieldset points to the plugin -->
|
2022-05-09 12:26:07 +00:00
|
|
|
<fieldset name="language_options" label="PLG_CONTENT_COMPONENTBUILDERLANGUAGETABS_LANGUAGE_OPTIONS"
|
2021-10-14 14:30:56 +00:00
|
|
|
addrulepath="/plugins/content/componentbuilderlanguagetabs/rules"
|
|
|
|
addfieldpath="/plugins/content/componentbuilderlanguagetabs/fields"
|
|
|
|
>
|
|
|
|
<fields name="language_options">
|
|
|
|
<!-- Note_language_note Field. Type: Note. A None Database Field. (joomla) -->
|
2022-05-09 12:26:07 +00:00
|
|
|
<field type="note" name="note_language_note" label="PLG_CONTENT_COMPONENTBUILDERLANGUAGETABS_NOTE_LANGUAGE_NOTE_LABEL" description="PLG_CONTENT_COMPONENTBUILDERLANGUAGETABS_NOTE_LANGUAGE_NOTE_DESCRIPTION" heading="h2" class="alert alert-info note_language_note" />
|
2021-10-14 14:30:56 +00:00
|
|
|
<!-- Activate Field. Type: Radio. (joomla) -->
|
|
|
|
<field
|
|
|
|
type="radio"
|
|
|
|
name="activate"
|
2022-05-09 12:26:07 +00:00
|
|
|
label="PLG_CONTENT_COMPONENTBUILDERLANGUAGETABS_ACTIVATE_LABEL"
|
|
|
|
description="PLG_CONTENT_COMPONENTBUILDERLANGUAGETABS_ACTIVATE_DESCRIPTION"
|
2021-10-14 14:30:56 +00:00
|
|
|
class="btn-group btn-group-yesno"
|
|
|
|
default="0"
|
|
|
|
required="true">
|
|
|
|
<!-- Option Set. -->
|
|
|
|
<option value="1">
|
2022-05-09 12:26:07 +00:00
|
|
|
PLG_CONTENT_COMPONENTBUILDERLANGUAGETABS_YES</option>
|
2021-10-14 14:30:56 +00:00
|
|
|
<option value="0">
|
2022-05-09 12:26:07 +00:00
|
|
|
PLG_CONTENT_COMPONENTBUILDERLANGUAGETABS_NO</option>
|
2021-10-14 14:30:56 +00:00
|
|
|
</field>
|
|
|
|
<!-- Use_percentagelanguageadd Field. Type: Radio. (joomla) -->
|
|
|
|
<field
|
|
|
|
type="radio"
|
|
|
|
name="use_percentagelanguageadd"
|
2022-05-09 12:26:07 +00:00
|
|
|
label="PLG_CONTENT_COMPONENTBUILDERLANGUAGETABS_USE_PERCENTAGELANGUAGEADD_LABEL"
|
|
|
|
description="PLG_CONTENT_COMPONENTBUILDERLANGUAGETABS_USE_PERCENTAGELANGUAGEADD_DESCRIPTION"
|
2021-10-14 14:30:56 +00:00
|
|
|
class="btn-group btn-group-yesno"
|
|
|
|
default="1"
|
|
|
|
showon="activate:1">
|
|
|
|
<!-- Option Set. -->
|
|
|
|
<option value="1">
|
2022-05-09 12:26:07 +00:00
|
|
|
PLG_CONTENT_COMPONENTBUILDERLANGUAGETABS_GLOBAL</option>
|
2021-10-14 14:30:56 +00:00
|
|
|
<option value="2">
|
2022-05-09 12:26:07 +00:00
|
|
|
PLG_CONTENT_COMPONENTBUILDERLANGUAGETABS_LOCAL</option>
|
2021-10-14 14:30:56 +00:00
|
|
|
</field>
|
|
|
|
<!-- Percentagelanguageadd Field. Type: Number. (joomla) -->
|
|
|
|
<field
|
|
|
|
type="number"
|
|
|
|
name="percentagelanguageadd"
|
2022-05-09 12:26:07 +00:00
|
|
|
label="PLG_CONTENT_COMPONENTBUILDERLANGUAGETABS_PERCENTAGELANGUAGEADD_LABEL"
|
2021-10-14 14:30:56 +00:00
|
|
|
default="50"
|
2022-05-09 12:26:07 +00:00
|
|
|
description="PLG_CONTENT_COMPONENTBUILDERLANGUAGETABS_PERCENTAGELANGUAGEADD_DESCRIPTION"
|
2021-10-14 14:30:56 +00:00
|
|
|
class="text_area"
|
|
|
|
min="10"
|
|
|
|
max="100"
|
|
|
|
step="10"
|
|
|
|
showon="use_percentagelanguageadd:2[AND]activate:1"
|
|
|
|
/>
|
|
|
|
<!-- Note_languages_keep Field. Type: Note. A None Database Field. (joomla) -->
|
2022-05-09 12:26:07 +00:00
|
|
|
<field type="note" name="note_languages_keep" label="PLG_CONTENT_COMPONENTBUILDERLANGUAGETABS_NOTE_LANGUAGES_KEEP_LABEL" description="PLG_CONTENT_COMPONENTBUILDERLANGUAGETABS_NOTE_LANGUAGES_KEEP_DESCRIPTION" heading="h2" class="alert alert-info note_languages_keep" showon="activate:1" />
|
2021-10-14 14:30:56 +00:00
|
|
|
<!-- Languages Field. Type: Excludedlanguages. (custom) -->
|
|
|
|
<field
|
|
|
|
type="excludedlanguages"
|
|
|
|
name="languages"
|
2022-05-09 12:26:07 +00:00
|
|
|
label="PLG_CONTENT_COMPONENTBUILDERLANGUAGETABS_LANGUAGES_LABEL"
|
|
|
|
description="PLG_CONTENT_COMPONENTBUILDERLANGUAGETABS_LANGUAGES_DESCRIPTION"
|
2021-10-14 14:30:56 +00:00
|
|
|
class="list_class"
|
|
|
|
multiple="true"
|
|
|
|
default="en-GB"
|
|
|
|
showon="activate:1"
|
|
|
|
button="true"
|
|
|
|
/>
|
|
|
|
</fields>
|
|
|
|
</fieldset>
|
|
|
|
</fields>
|
|
|
|
</form>
|