52
0
Fork 0
plg_content_componentbuilde.../forms/joomla_component.xml

138 lines
4.0 KiB
XML

<?xml version="1.0" encoding="utf-8"?>
<!-- default paths of joomla_component form points to componentbuilder -->
<form>
<fields name="params">
<!-- default paths of joomla_component_headers fieldset points to the plugin -->
<fieldset name="joomla_component_headers" label="PLG_CONTENT_COMPONENTBUILDERCOMPONENTHEADERSTABS_CLASS_HEADERS"
addrulepath="/plugins/content/componentbuildercomponentheaderstabs/rules"
addfieldpath="/plugins/content/componentbuildercomponentheaderstabs/fields"
>
<fields name="joomla_component_headers">
<!-- Add_admin_component Field. Type: Radio. (joomla) -->
<field
type="radio"
name="add_admin_component"
label="PLG_CONTENT_COMPONENTBUILDERCOMPONENTHEADERSTABS_ADD_ADMIN_COMPONENT_LABEL"
class="btn-group btn-group-yesno"
default="0"
required="true">
<!-- Option Set. -->
<option value="1">
PLG_CONTENT_COMPONENTBUILDERCOMPONENTHEADERSTABS_YES</option>
<option value="0">
PLG_CONTENT_COMPONENTBUILDERCOMPONENTHEADERSTABS_NO</option>
</field>
<!-- Admin_component Field. Type: Editor. (joomla) -->
<field
type="editor"
name="admin_component"
label="PLG_CONTENT_COMPONENTBUILDERCOMPONENTHEADERSTABS_ADMIN_COMPONENT_LABEL"
width="100%"
height="100px"
cols="15"
rows="10"
buttons="no"
syntax="php"
editor="codemirror|none"
filter="raw"
required="false"
validate="code"
showon="add_admin_component:1"
/>
<!-- Add_site_component Field. Type: Radio. (joomla) -->
<field
type="radio"
name="add_site_component"
label="PLG_CONTENT_COMPONENTBUILDERCOMPONENTHEADERSTABS_ADD_SITE_COMPONENT_LABEL"
class="btn-group btn-group-yesno"
default="0"
required="true">
<!-- Option Set. -->
<option value="1">
PLG_CONTENT_COMPONENTBUILDERCOMPONENTHEADERSTABS_YES</option>
<option value="0">
PLG_CONTENT_COMPONENTBUILDERCOMPONENTHEADERSTABS_NO</option>
</field>
<!-- Site_component Field. Type: Editor. (joomla) -->
<field
type="editor"
name="site_component"
label="PLG_CONTENT_COMPONENTBUILDERCOMPONENTHEADERSTABS_SITE_COMPONENT_LABEL"
width="100%"
height="100px"
cols="15"
rows="10"
buttons="no"
syntax="php"
editor="codemirror|none"
filter="raw"
required="false"
validate="code"
showon="add_site_component:1"
/>
<!-- Add_admin_helper Field. Type: Radio. (joomla) -->
<field
type="radio"
name="add_admin_helper"
label="PLG_CONTENT_COMPONENTBUILDERCOMPONENTHEADERSTABS_ADD_ADMIN_HELPER_LABEL"
class="btn-group btn-group-yesno"
default="0"
required="true">
<!-- Option Set. -->
<option value="1">
PLG_CONTENT_COMPONENTBUILDERCOMPONENTHEADERSTABS_YES</option>
<option value="0">
PLG_CONTENT_COMPONENTBUILDERCOMPONENTHEADERSTABS_NO</option>
</field>
<!-- Admin_helper Field. Type: Editor. (joomla) -->
<field
type="editor"
name="admin_helper"
label="PLG_CONTENT_COMPONENTBUILDERCOMPONENTHEADERSTABS_ADMIN_HELPER_LABEL"
width="100%"
height="100px"
cols="15"
rows="10"
buttons="no"
syntax="php"
editor="codemirror|none"
filter="raw"
required="false"
validate="code"
showon="add_admin_helper:1"
/>
<!-- Add_site_helper Field. Type: Radio. (joomla) -->
<field
type="radio"
name="add_site_helper"
label="PLG_CONTENT_COMPONENTBUILDERCOMPONENTHEADERSTABS_ADD_SITE_HELPER_LABEL"
class="btn-group btn-group-yesno"
default="0"
required="true">
<!-- Option Set. -->
<option value="1">
PLG_CONTENT_COMPONENTBUILDERCOMPONENTHEADERSTABS_YES</option>
<option value="0">
PLG_CONTENT_COMPONENTBUILDERCOMPONENTHEADERSTABS_NO</option>
</field>
<!-- Site_helper Field. Type: Editor. (joomla) -->
<field
type="editor"
name="site_helper"
label="PLG_CONTENT_COMPONENTBUILDERCOMPONENTHEADERSTABS_SITE_HELPER_LABEL"
width="100%"
height="100px"
cols="15"
rows="10"
buttons="no"
syntax="php"
editor="codemirror|none"
filter="raw"
required="false"
validate="code"
showon="add_site_helper:1"
/>
</fields>
</fieldset>
</fields>
</form>