52
0
plg_content_componentbuilde.../forms/admin_view.xml

142 lines
4.4 KiB
XML

<?xml version="1.0" encoding="utf-8"?>
<!-- default paths of admin_view form points to componentbuilder -->
<form>
<fields name="params">
<!-- default paths of admin_view_headers fieldset points to the plugin -->
<fieldset name="admin_view_headers" label="PLG_CONTENT_COMPONENTBUILDERADMINHEADERSTABS_CLASS_HEADERS"
addrulepath="/plugins/content/componentbuilderadminheaderstabs/rules"
addfieldpath="/plugins/content/componentbuilderadminheaderstabs/fields"
>
<fields name="admin_view_headers">
<!-- Add_admin_view_controller Field. Type: Radio. (joomla) -->
<field
type="radio"
name="add_admin_view_controller"
label="PLG_CONTENT_COMPONENTBUILDERADMINHEADERSTABS_ADD_ADMIN_VIEW_CONTROLLER_LABEL"
class="btn-group btn-group-yesno"
default="0"
required="true">
<!-- Option Set. -->
<option value="1">
PLG_CONTENT_COMPONENTBUILDERADMINHEADERSTABS_YES</option>
<option value="0">
PLG_CONTENT_COMPONENTBUILDERADMINHEADERSTABS_NO</option>
</field>
<!-- Admin_view_controller Field. Type: Editor. (joomla) -->
<field
type="editor"
name="admin_view_controller"
label="PLG_CONTENT_COMPONENTBUILDERADMINHEADERSTABS_ADMIN_VIEW_CONTROLLER_LABEL"
description="PLG_CONTENT_COMPONENTBUILDERADMINHEADERSTABS_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_admin_view_controller:1"
/>
<!-- Add_admin_view_model Field. Type: Radio. (joomla) -->
<field
type="radio"
name="add_admin_view_model"
label="PLG_CONTENT_COMPONENTBUILDERADMINHEADERSTABS_ADD_ADMIN_VIEW_MODEL_LABEL"
class="btn-group btn-group-yesno"
default="0"
required="true">
<!-- Option Set. -->
<option value="1">
PLG_CONTENT_COMPONENTBUILDERADMINHEADERSTABS_YES</option>
<option value="0">
PLG_CONTENT_COMPONENTBUILDERADMINHEADERSTABS_NO</option>
</field>
<!-- Admin_view_model Field. Type: Editor. (joomla) -->
<field
type="editor"
name="admin_view_model"
label="PLG_CONTENT_COMPONENTBUILDERADMINHEADERSTABS_ADMIN_VIEW_MODEL_LABEL"
description="PLG_CONTENT_COMPONENTBUILDERADMINHEADERSTABS_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_admin_view_model:1"
/>
<!-- Add_admin_views_controller Field. Type: Radio. (joomla) -->
<field
type="radio"
name="add_admin_views_controller"
label="PLG_CONTENT_COMPONENTBUILDERADMINHEADERSTABS_ADD_ADMIN_VIEWS_CONTROLLER_LABEL"
class="btn-group btn-group-yesno"
default="0"
required="true">
<!-- Option Set. -->
<option value="1">
PLG_CONTENT_COMPONENTBUILDERADMINHEADERSTABS_YES</option>
<option value="0">
PLG_CONTENT_COMPONENTBUILDERADMINHEADERSTABS_NO</option>
</field>
<!-- Admin_views_controller Field. Type: Editor. (joomla) -->
<field
type="editor"
name="admin_views_controller"
label="PLG_CONTENT_COMPONENTBUILDERADMINHEADERSTABS_ADMIN_VIEWS_CONTROLLER_LABEL"
description="PLG_CONTENT_COMPONENTBUILDERADMINHEADERSTABS_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_admin_views_controller:1"
/>
<!-- Add_admin_views_model Field. Type: Radio. (joomla) -->
<field
type="radio"
name="add_admin_views_model"
label="PLG_CONTENT_COMPONENTBUILDERADMINHEADERSTABS_ADD_ADMIN_VIEWS_MODEL_LABEL"
class="btn-group btn-group-yesno"
default="0"
required="true">
<!-- Option Set. -->
<option value="1">
PLG_CONTENT_COMPONENTBUILDERADMINHEADERSTABS_YES</option>
<option value="0">
PLG_CONTENT_COMPONENTBUILDERADMINHEADERSTABS_NO</option>
</field>
<!-- Admin_views_model Field. Type: Editor. (joomla) -->
<field
type="editor"
name="admin_views_model"
label="PLG_CONTENT_COMPONENTBUILDERADMINHEADERSTABS_ADMIN_VIEWS_MODEL_LABEL"
description="PLG_CONTENT_COMPONENTBUILDERADMINHEADERSTABS_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_admin_views_model:1"
/>
</fields>
</fieldset>
</fields>
</form>