52
0
plg_content_componentbuilde.../forms/custom_admin_view.xml

146 lines
5.2 KiB
XML

<?xml version="1.0" encoding="utf-8"?>
<!-- default paths of custom_admin_view form points to componentbuilder -->
<form>
<fields name="params">
<!-- default paths of custom_admin_view_headers fieldset points to the plugin -->
<fieldset name="custom_admin_view_headers" label="PLG_CONTENT_COMPONENTBUILDERCUSTOMADMINHEADERSTABS_CLASS_HEADERS"
addrulepath="/plugins/content/componentbuildercustomadminheaderstabs/rules"
addfieldpath="/plugins/content/componentbuildercustomadminheaderstabs/fields"
>
<fields name="custom_admin_view_headers">
<!-- Add_custom_admin_view_controller Field. Type: Radio. (joomla) -->
<field
type="radio"
name="add_custom_admin_view_controller"
label="PLG_CONTENT_COMPONENTBUILDERCUSTOMADMINHEADERSTABS_ADD_CUSTOM_ADMIN_VIEW_CONTROLLER_LABEL"
description="PLG_CONTENT_COMPONENTBUILDERCUSTOMADMINHEADERSTABS_ADD_CUSTOM_ADMIN_VIEW_CONTROLLER_DESCRIPTION"
class="btn-group btn-group-yesno"
default="0"
required="true">
<!-- Option Set. -->
<option value="1">
PLG_CONTENT_COMPONENTBUILDERCUSTOMADMINHEADERSTABS_YES</option>
<option value="0">
PLG_CONTENT_COMPONENTBUILDERCUSTOMADMINHEADERSTABS_NO</option>
</field>
<!-- Custom_admin_view_controller Field. Type: Editor. (joomla) -->
<field
type="editor"
name="custom_admin_view_controller"
label="PLG_CONTENT_COMPONENTBUILDERCUSTOMADMINHEADERSTABS_CUSTOM_ADMIN_VIEW_CONTROLLER_LABEL"
description="PLG_CONTENT_COMPONENTBUILDERCUSTOMADMINHEADERSTABS_CUSTOM_ADMIN_VIEW_CONTROLLER_DESCRIPTION"
width="100%"
height="100px"
cols="15"
rows="10"
buttons="no"
syntax="php"
editor="codemirror|none"
filter="raw"
required="false"
validate="code"
showon="add_custom_admin_view_controller:1"
/>
<!-- Add_custom_admin_view_model Field. Type: Radio. (joomla) -->
<field
type="radio"
name="add_custom_admin_view_model"
label="PLG_CONTENT_COMPONENTBUILDERCUSTOMADMINHEADERSTABS_ADD_CUSTOM_ADMIN_VIEW_MODEL_LABEL"
description="PLG_CONTENT_COMPONENTBUILDERCUSTOMADMINHEADERSTABS_ADD_CUSTOM_ADMIN_VIEW_MODEL_DESCRIPTION"
class="btn-group btn-group-yesno"
default="0"
required="true">
<!-- Option Set. -->
<option value="1">
PLG_CONTENT_COMPONENTBUILDERCUSTOMADMINHEADERSTABS_YES</option>
<option value="0">
PLG_CONTENT_COMPONENTBUILDERCUSTOMADMINHEADERSTABS_NO</option>
</field>
<!-- Custom_admin_view_model Field. Type: Editor. (joomla) -->
<field
type="editor"
name="custom_admin_view_model"
label="PLG_CONTENT_COMPONENTBUILDERCUSTOMADMINHEADERSTABS_CUSTOM_ADMIN_VIEW_MODEL_LABEL"
description="PLG_CONTENT_COMPONENTBUILDERCUSTOMADMINHEADERSTABS_CUSTOM_ADMIN_VIEW_MODEL_DESCRIPTION"
width="100%"
height="100px"
cols="15"
rows="10"
buttons="no"
syntax="php"
editor="codemirror|none"
filter="raw"
required="false"
validate="code"
showon="add_custom_admin_view_model:1"
/>
<!-- Add_custom_admin_views_controller Field. Type: Radio. (joomla) -->
<field
type="radio"
name="add_custom_admin_views_controller"
label="PLG_CONTENT_COMPONENTBUILDERCUSTOMADMINHEADERSTABS_ADD_CUSTOM_ADMIN_VIEWS_CONTROLLER_LABEL"
description="PLG_CONTENT_COMPONENTBUILDERCUSTOMADMINHEADERSTABS_ADD_CUSTOM_ADMIN_VIEWS_CONTROLLER_DESCRIPTION"
class="btn-group btn-group-yesno"
default="0"
required="true">
<!-- Option Set. -->
<option value="1">
PLG_CONTENT_COMPONENTBUILDERCUSTOMADMINHEADERSTABS_YES</option>
<option value="0">
PLG_CONTENT_COMPONENTBUILDERCUSTOMADMINHEADERSTABS_NO</option>
</field>
<!-- Custom_admin_views_controller Field. Type: Editor. (joomla) -->
<field
type="editor"
name="custom_admin_views_controller"
label="PLG_CONTENT_COMPONENTBUILDERCUSTOMADMINHEADERSTABS_CUSTOM_ADMIN_VIEWS_CONTROLLER_LABEL"
description="PLG_CONTENT_COMPONENTBUILDERCUSTOMADMINHEADERSTABS_CUSTOM_ADMIN_VIEWS_CONTROLLER_DESCRIPTION"
width="100%"
height="100px"
cols="15"
rows="10"
buttons="no"
syntax="php"
editor="codemirror|none"
filter="raw"
required="false"
validate="code"
showon="add_custom_admin_views_controller:1"
/>
<!-- Add_custom_admin_views_model Field. Type: Radio. (joomla) -->
<field
type="radio"
name="add_custom_admin_views_model"
label="PLG_CONTENT_COMPONENTBUILDERCUSTOMADMINHEADERSTABS_ADD_CUSTOM_ADMIN_VIEWS_MODEL_LABEL"
description="PLG_CONTENT_COMPONENTBUILDERCUSTOMADMINHEADERSTABS_ADD_CUSTOM_ADMIN_VIEWS_MODEL_DESCRIPTION"
class="btn-group btn-group-yesno"
default="0"
required="true">
<!-- Option Set. -->
<option value="1">
PLG_CONTENT_COMPONENTBUILDERCUSTOMADMINHEADERSTABS_YES</option>
<option value="0">
PLG_CONTENT_COMPONENTBUILDERCUSTOMADMINHEADERSTABS_NO</option>
</field>
<!-- Custom_admin_views_model Field. Type: Editor. (joomla) -->
<field
type="editor"
name="custom_admin_views_model"
label="PLG_CONTENT_COMPONENTBUILDERCUSTOMADMINHEADERSTABS_CUSTOM_ADMIN_VIEWS_MODEL_LABEL"
description="PLG_CONTENT_COMPONENTBUILDERCUSTOMADMINHEADERSTABS_CUSTOM_ADMIN_VIEWS_MODEL_DESCRIPTION"
width="100%"
height="100px"
cols="15"
rows="10"
buttons="no"
syntax="php"
editor="codemirror|none"
filter="raw"
required="false"
validate="code"
showon="add_custom_admin_views_model:1"
/>
</fields>
</fieldset>
</fields>
</form>