Component-Builder/admin/models/forms/site_view.xml
Robot c55fc67db4
Release of v3.2.3-alpha2
Fix missing scripts and styles fields and methods in the site admin view model. Update subform field layout across JCB for cleaner look. Remove expansion feature. Fix helper area.
2024-07-26 18:33:01 +02:00

1292 lines
44 KiB
XML

<?xml version="1.0" encoding="utf-8"?>
<form
addrulepath="/administrator/components/com_componentbuilder/models/rules"
addfieldpath="/administrator/components/com_componentbuilder/models/fields"
>
<fieldset name="details">
<!-- Default Fields. -->
<!-- Id Field. Type: Text (joomla) -->
<field
name="id"
type="text" class="readonly" label="JGLOBAL_FIELD_ID_LABEL"
description ="JGLOBAL_FIELD_ID_DESC" size="10" default="0"
readonly="true"
/>
<!-- Date Created Field. Type: Calendar (joomla) -->
<field
name="created"
type="calendar"
label="COM_COMPONENTBUILDER_SITE_VIEW_CREATED_DATE_LABEL"
description="COM_COMPONENTBUILDER_SITE_VIEW_CREATED_DATE_DESC"
size="22"
format="%Y-%m-%d %H:%M:%S"
filter="user_utc"
/>
<!-- User Created Field. Type: User (joomla) -->
<field
name="created_by"
type="user"
label="COM_COMPONENTBUILDER_SITE_VIEW_CREATED_BY_LABEL"
description="COM_COMPONENTBUILDER_SITE_VIEW_CREATED_BY_DESC"
/>
<!-- Published Field. Type: List (joomla) -->
<field name="published" type="list" label="JSTATUS"
description="JFIELD_PUBLISHED_DESC" class="chzn-color-state"
filter="intval" size="1" default="1" >
<option value="1">
JPUBLISHED</option>
<option value="0">
JUNPUBLISHED</option>
<option value="2">
JARCHIVED</option>
<option value="-2">
JTRASHED</option>
</field>
<!-- Date Modified Field. Type: Calendar (joomla) -->
<field name="modified" type="calendar" class="readonly"
label="COM_COMPONENTBUILDER_SITE_VIEW_MODIFIED_DATE_LABEL" description="COM_COMPONENTBUILDER_SITE_VIEW_MODIFIED_DATE_DESC"
size="22" readonly="true" format="%Y-%m-%d %H:%M:%S" filter="user_utc" />
<!-- User Modified Field. Type: User (joomla) -->
<field name="modified_by" type="user"
label="COM_COMPONENTBUILDER_SITE_VIEW_MODIFIED_BY_LABEL"
description="COM_COMPONENTBUILDER_SITE_VIEW_MODIFIED_BY_DESC"
class="readonly"
readonly="true"
filter="unset"
/>
<!-- Access Field. Type: Accesslevel (joomla) -->
<field name="access"
type="accesslevel"
label="JFIELD_ACCESS_LABEL"
description="JFIELD_ACCESS_DESC"
default="1"
required="false"
/>
<!-- Ordering Field. Type: Numbers (joomla) -->
<field
name="ordering"
type="number"
class="inputbox validate-ordering"
label="COM_COMPONENTBUILDER_SITE_VIEW_ORDERING_LABEL"
description=""
default="0"
size="6"
required="false"
/>
<!-- Version Field. Type: Text (joomla) -->
<field
name="version"
type="text"
class="readonly"
label="COM_COMPONENTBUILDER_SITE_VIEW_VERSION_LABEL"
description="COM_COMPONENTBUILDER_SITE_VIEW_VERSION_DESC"
size="6"
default="1"
readonly="true"
filter="unset"
/>
<!-- Was added due to Permissions JS needing a Title field -->
<!-- Let us know at gh-629 should this change -->
<!-- https://github.com/vdm-io/Joomla-Component-Builder/issues/629#issuecomment-750117235 -->
<field
name="title"
type="hidden"
default="componentbuilder site_view"
/>
<!-- Dynamic Fields. -->
<!-- System_name Field. Type: Text. (joomla) -->
<field
type="text"
name="system_name"
label="COM_COMPONENTBUILDER_SITE_VIEW_SYSTEM_NAME_LABEL"
size="10"
maxlength="50"
default=""
description="COM_COMPONENTBUILDER_SITE_VIEW_SYSTEM_NAME_DESCRIPTION"
class="text_area"
filter="STRING"
message="COM_COMPONENTBUILDER_SITE_VIEW_SYSTEM_NAME_MESSAGE"
hint="COM_COMPONENTBUILDER_SITE_VIEW_SYSTEM_NAME_HINT"
/>
<!-- Name Field. Type: Text. (joomla) -->
<field
type="text"
name="name"
label="COM_COMPONENTBUILDER_SITE_VIEW_NAME_LABEL"
size="40"
maxlength="150"
description="COM_COMPONENTBUILDER_SITE_VIEW_NAME_DESCRIPTION"
class="text_area"
readonly="false"
disabled="false"
required="true"
filter="STRING"
message="COM_COMPONENTBUILDER_SITE_VIEW_NAME_MESSAGE"
hint="COM_COMPONENTBUILDER_SITE_VIEW_NAME_HINT"
/>
<!-- Description Field. Type: Text. (joomla) -->
<field
type="text"
name="description"
label="COM_COMPONENTBUILDER_SITE_VIEW_DESCRIPTION_LABEL"
size="80"
maxlength="150"
description="COM_COMPONENTBUILDER_SITE_VIEW_DESCRIPTION_DESCRIPTION"
class="text_area"
readonly="false"
disabled="false"
required="true"
filter="STRING"
message="COM_COMPONENTBUILDER_SITE_VIEW_DESCRIPTION_MESSAGE"
hint="COM_COMPONENTBUILDER_SITE_VIEW_DESCRIPTION_HINT"
/>
<!-- Main_get Field. Type: Maingets. (custom) -->
<field
type="maingets"
name="main_get"
label="COM_COMPONENTBUILDER_SITE_VIEW_MAIN_GET_LABEL"
description="COM_COMPONENTBUILDER_SITE_VIEW_MAIN_GET_DESCRIPTION"
layout="joomla.form.field.list-fancy-select"
multiple="false"
default=""
required="true"
button="true"
/>
<!-- Add_php_jview_display Field. Type: Radio. (joomla) -->
<field
type="radio"
name="add_php_jview_display"
label="COM_COMPONENTBUILDER_SITE_VIEW_ADD_PHP_JVIEW_DISPLAY_LABEL"
class="btn-group btn-group-yesno"
default="0"
required="true">
<!-- Option Set. -->
<option value="1">
COM_COMPONENTBUILDER_SITE_VIEW_YES</option>
<option value="0">
COM_COMPONENTBUILDER_SITE_VIEW_NO</option>
</field>
<!-- Add_php_document Field. Type: Radio. (joomla) -->
<field
type="radio"
name="add_php_document"
label="COM_COMPONENTBUILDER_SITE_VIEW_ADD_PHP_DOCUMENT_LABEL"
class="btn-group btn-group-yesno"
default="0"
required="true">
<!-- Option Set. -->
<option value="1">
COM_COMPONENTBUILDER_SITE_VIEW_YES</option>
<option value="0">
COM_COMPONENTBUILDER_SITE_VIEW_NO</option>
</field>
<!-- Add_php_view Field. Type: Radio. (joomla) -->
<field
type="radio"
name="add_php_view"
label="COM_COMPONENTBUILDER_SITE_VIEW_ADD_PHP_VIEW_LABEL"
class="btn-group btn-group-yesno"
default="0"
required="true">
<!-- Option Set. -->
<option value="1">
COM_COMPONENTBUILDER_SITE_VIEW_YES</option>
<option value="0">
COM_COMPONENTBUILDER_SITE_VIEW_NO</option>
</field>
<!-- Js_document Field. Type: Editor. (joomla) -->
<field
type="editor"
name="js_document"
label="COM_COMPONENTBUILDER_SITE_VIEW_JS_DOCUMENT_LABEL"
description="COM_COMPONENTBUILDER_SITE_VIEW_JS_DOCUMENT_DESCRIPTION"
width="100%"
height="450px"
cols="15"
rows="30"
buttons="no"
syntax="javascript"
editor="codemirror|none"
filter="raw"
validate="code"
/>
<!-- Note_add_php_language_string Field. Type: Note. A None Database Field. (joomla) -->
<field type="note" name="note_add_php_language_string" label="COM_COMPONENTBUILDER_SITE_VIEW_NOTE_ADD_PHP_LANGUAGE_STRING_LABEL" description="COM_COMPONENTBUILDER_SITE_VIEW_NOTE_ADD_PHP_LANGUAGE_STRING_DESCRIPTION" heading="h4" class="note_add_php_language_string" />
<!-- Codename Field. Type: Text. (joomla) -->
<field
type="text"
name="codename"
label="COM_COMPONENTBUILDER_SITE_VIEW_CODENAME_LABEL"
size="80"
maxlength="150"
default=""
description="COM_COMPONENTBUILDER_SITE_VIEW_CODENAME_DESCRIPTION"
class="text_area"
filter="CMD"
message="COM_COMPONENTBUILDER_SITE_VIEW_CODENAME_MESSAGE"
hint="COM_COMPONENTBUILDER_SITE_VIEW_CODENAME_HINT"
/>
<!-- Javascript_file Field. Type: Editor. (joomla) -->
<field
type="editor"
name="javascript_file"
label="COM_COMPONENTBUILDER_SITE_VIEW_JAVASCRIPT_FILE_LABEL"
description="COM_COMPONENTBUILDER_SITE_VIEW_JAVASCRIPT_FILE_DESCRIPTION"
width="100%"
height="450px"
cols="15"
rows="30"
buttons="no"
syntax="javascript"
editor="codemirror|none"
filter="raw"
validate="code"
/>
<!-- Context Field. Type: Text. (joomla) -->
<field
type="text"
name="context"
label="COM_COMPONENTBUILDER_SITE_VIEW_CONTEXT_LABEL"
size="40"
maxlength="50"
description="COM_COMPONENTBUILDER_SITE_VIEW_CONTEXT_DESCRIPTION"
class="text_area"
filter="WORD"
message="COM_COMPONENTBUILDER_SITE_VIEW_CONTEXT_MESSAGE"
hint="COM_COMPONENTBUILDER_SITE_VIEW_CONTEXT_HINT"
/>
<!-- Not_required Field. Type: Hidden. (joomla) -->
<field
type="hidden"
name="not_required"
default="一_一"
/>
<!-- Default Field. Type: Editor. (joomla) -->
<field
type="editor"
name="default"
label="COM_COMPONENTBUILDER_SITE_VIEW_DEFAULT_LABEL"
description="COM_COMPONENTBUILDER_SITE_VIEW_DEFAULT_DESCRIPTION"
width="100%"
height="500px"
cols="15"
rows="30"
buttons="no"
syntax="html"
editor="codemirror|none"
filter="raw"
validate="code"
/>
<!-- Note_libraries_selection Field. Type: Note. A None Database Field. (joomla) -->
<field type="note" name="note_libraries_selection" label="COM_COMPONENTBUILDER_SITE_VIEW_NOTE_LIBRARIES_SELECTION_LABEL" description="COM_COMPONENTBUILDER_SITE_VIEW_NOTE_LIBRARIES_SELECTION_DESCRIPTION" heading="h4" class="alert alert-info note_libraries_selection" />
<!-- Note_snippet_usage Field. Type: Note. A None Database Field. (joomla) -->
<field type="note" name="note_snippet_usage" label="COM_COMPONENTBUILDER_SITE_VIEW_NOTE_SNIPPET_USAGE_LABEL" heading="h4" class="snippet-usage note_snippet_usage" />
<!-- Note_uikit_snippet Field. Type: Note. A None Database Field. (joomla) -->
<field type="note" name="note_uikit_snippet" label="COM_COMPONENTBUILDER_SITE_VIEW_NOTE_UIKIT_SNIPPET_LABEL" heading="h4" class="snippet-code note_uikit_snippet" />
<!-- Snippet Field. Type: Snippets. (custom) -->
<field
type="snippets"
name="snippet"
label="COM_COMPONENTBUILDER_SITE_VIEW_SNIPPET_LABEL"
description="COM_COMPONENTBUILDER_SITE_VIEW_SNIPPET_DESCRIPTION"
class="list_class"
layout="joomla.form.field.list-fancy-select"
multiple="false"
required="false"
button="true"
/>
<!-- Add_php_jview Field. Type: Radio. (joomla) -->
<field
type="radio"
name="add_php_jview"
label="COM_COMPONENTBUILDER_SITE_VIEW_ADD_PHP_JVIEW_LABEL"
class="btn-group btn-group-yesno"
default="0"
required="true">
<!-- Option Set. -->
<option value="1">
COM_COMPONENTBUILDER_SITE_VIEW_YES</option>
<option value="0">
COM_COMPONENTBUILDER_SITE_VIEW_NO</option>
</field>
<!-- Custom_get Field. Type: Customgets. (custom) -->
<field
type="customgets"
name="custom_get"
label="COM_COMPONENTBUILDER_SITE_VIEW_CUSTOM_GET_LABEL"
description="COM_COMPONENTBUILDER_SITE_VIEW_CUSTOM_GET_DESCRIPTION"
layout="joomla.form.field.list-fancy-select"
multiple="true"
/>
<!-- Note_linked_to_notice Field. Type: Note. A None Database Field. (joomla) -->
<field type="note" name="note_linked_to_notice" label="COM_COMPONENTBUILDER_SITE_VIEW_NOTE_LINKED_TO_NOTICE_LABEL" description="COM_COMPONENTBUILDER_SITE_VIEW_NOTE_LINKED_TO_NOTICE_DESCRIPTION" heading="h4" class="note_linked_to_notice" />
<!-- Css_document Field. Type: Editor. (joomla) -->
<field
type="editor"
name="css_document"
label="COM_COMPONENTBUILDER_SITE_VIEW_CSS_DOCUMENT_LABEL"
description="COM_COMPONENTBUILDER_SITE_VIEW_CSS_DOCUMENT_DESCRIPTION"
width="100%"
height="450px"
cols="15"
rows="30"
buttons="no"
syntax="css"
editor="codemirror|none"
filter="raw"
validate="code"
/>
<!-- Add_javascript_file Field. Type: Radio. (joomla) -->
<field
type="radio"
name="add_javascript_file"
label="COM_COMPONENTBUILDER_SITE_VIEW_ADD_JAVASCRIPT_FILE_LABEL"
description="COM_COMPONENTBUILDER_SITE_VIEW_ADD_JAVASCRIPT_FILE_DESCRIPTION"
class="btn-group btn-group-yesno"
default="0"
required="true">
<!-- Option Set. -->
<option value="1">
COM_COMPONENTBUILDER_SITE_VIEW_YES</option>
<option value="0">
COM_COMPONENTBUILDER_SITE_VIEW_NO</option>
</field>
<!-- Css Field. Type: Editor. (joomla) -->
<field
type="editor"
name="css"
label="COM_COMPONENTBUILDER_SITE_VIEW_CSS_LABEL"
description="COM_COMPONENTBUILDER_SITE_VIEW_CSS_DESCRIPTION"
width="100%"
height="450px"
cols="15"
rows="30"
buttons="no"
syntax="css"
editor="codemirror|none"
filter="raw"
validate="code"
/>
<!-- Add_js_document Field. Type: Radio. (joomla) -->
<field
type="radio"
name="add_js_document"
label="COM_COMPONENTBUILDER_SITE_VIEW_ADD_JS_DOCUMENT_LABEL"
class="btn-group btn-group-yesno"
default="0"
required="true">
<!-- Option Set. -->
<option value="1">
COM_COMPONENTBUILDER_SITE_VIEW_YES</option>
<option value="0">
COM_COMPONENTBUILDER_SITE_VIEW_NO</option>
</field>
<!-- Php_ajaxmethod Field. Type: Editor. (joomla) -->
<field
type="editor"
name="php_ajaxmethod"
label="COM_COMPONENTBUILDER_SITE_VIEW_PHP_AJAXMETHOD_LABEL"
description="COM_COMPONENTBUILDER_SITE_VIEW_PHP_AJAXMETHOD_DESCRIPTION"
width="100%"
height="450px"
cols="15"
rows="30"
buttons="no"
syntax="php"
editor="codemirror|none"
filter="raw"
validate="code"
/>
<!-- Add_css_document Field. Type: Radio. (joomla) -->
<field
type="radio"
name="add_css_document"
label="COM_COMPONENTBUILDER_SITE_VIEW_ADD_CSS_DOCUMENT_LABEL"
class="btn-group btn-group-yesno"
default="0"
required="true">
<!-- Option Set. -->
<option value="1">
COM_COMPONENTBUILDER_SITE_VIEW_YES</option>
<option value="0">
COM_COMPONENTBUILDER_SITE_VIEW_NO</option>
</field>
<!-- Libraries Field. Type: Libraries. (custom) -->
<field
type="libraries"
name="libraries"
label="COM_COMPONENTBUILDER_SITE_VIEW_LIBRARIES_LABEL"
description="COM_COMPONENTBUILDER_SITE_VIEW_LIBRARIES_DESCRIPTION"
class="list_class"
layout="joomla.form.field.list-fancy-select"
multiple="true"
default="0"
required="false"
button="true"
/>
<!-- Add_css Field. Type: Radio. (joomla) -->
<field
type="radio"
name="add_css"
label="COM_COMPONENTBUILDER_SITE_VIEW_ADD_CSS_LABEL"
class="btn-group btn-group-yesno"
default="0"
required="true">
<!-- Option Set. -->
<option value="1">
COM_COMPONENTBUILDER_SITE_VIEW_YES</option>
<option value="0">
COM_COMPONENTBUILDER_SITE_VIEW_NO</option>
</field>
<!-- Dynamic_get Field. Type: Dynamicgets. (custom) -->
<field
type="dynamicgets"
name="dynamic_get"
label="COM_COMPONENTBUILDER_SITE_VIEW_DYNAMIC_GET_LABEL"
description="COM_COMPONENTBUILDER_SITE_VIEW_DYNAMIC_GET_DESCRIPTION"
layout="joomla.form.field.list-fancy-select"
multiple="false"
default=""
required="false"
/>
<!-- Add_php_ajax Field. Type: Radio. (joomla) -->
<field
type="radio"
name="add_php_ajax"
label="COM_COMPONENTBUILDER_SITE_VIEW_ADD_PHP_AJAX_LABEL"
class="btn-group btn-group-yesno"
default="0"
required="true">
<!-- Option Set. -->
<option value="1">
COM_COMPONENTBUILDER_SITE_VIEW_YES</option>
<option value="0">
COM_COMPONENTBUILDER_SITE_VIEW_NO</option>
</field>
<!-- Dynamic_values Field. Type: Note. A None Database Field. (joomla) -->
<field type="note" name="dynamic_values" label="COM_COMPONENTBUILDER_SITE_VIEW_DYNAMIC_VALUES_LABEL" description="COM_COMPONENTBUILDER_SITE_VIEW_DYNAMIC_VALUES_DESCRIPTION" heading="h4" class="dynamic_values" />
<!-- Ajax_input Field. Type: Subform. (joomla) -->
<field
type="subform"
name="ajax_input"
label="COM_COMPONENTBUILDER_SITE_VIEW_AJAX_INPUT_LABEL"
layout="joomla.form.field.subform.repeatable-table"
multiple="true"
default=""
icon="list">
<form hidden="true" name="list_ajax_input_modal" repeat="true">
<!-- Value_name Field. Type: Text. (joomla) -->
<field
type="text"
name="value_name"
label="COM_COMPONENTBUILDER_SITE_VIEW_VALUE_NAME_LABEL"
size="40"
maxlength="150"
description="COM_COMPONENTBUILDER_SITE_VIEW_VALUE_NAME_DESCRIPTION"
class="text_area"
readonly="false"
disabled="false"
required="true"
filter="STRING"
message="COM_COMPONENTBUILDER_SITE_VIEW_VALUE_NAME_MESSAGE"
hint="COM_COMPONENTBUILDER_SITE_VIEW_VALUE_NAME_HINT"
/>
<!-- Task_name Field. Type: Text. (joomla) -->
<field
type="text"
name="task_name"
label="COM_COMPONENTBUILDER_SITE_VIEW_TASK_NAME_LABEL"
size="40"
maxlength="150"
description="COM_COMPONENTBUILDER_SITE_VIEW_TASK_NAME_DESCRIPTION"
class="text_area"
readonly="false"
disabled="false"
required="true"
filter="WORD"
message="COM_COMPONENTBUILDER_SITE_VIEW_TASK_NAME_MESSAGE"
hint="COM_COMPONENTBUILDER_SITE_VIEW_TASK_NAME_HINT"
/>
<!-- Input_default Field. Type: Text. (joomla) -->
<field
type="text"
name="input_default"
label="COM_COMPONENTBUILDER_SITE_VIEW_INPUT_DEFAULT_LABEL"
size="40"
maxlength="150"
default="NULL"
description="COM_COMPONENTBUILDER_SITE_VIEW_INPUT_DEFAULT_DESCRIPTION"
class="text_area"
readonly="false"
disabled="false"
required="true"
filter="STRING"
message="COM_COMPONENTBUILDER_SITE_VIEW_INPUT_DEFAULT_MESSAGE"
hint="COM_COMPONENTBUILDER_SITE_VIEW_INPUT_DEFAULT_HINT"
/>
<!-- Input_filter Field. Type: List. (joomla) -->
<field
type="list"
name="input_filter"
label="COM_COMPONENTBUILDER_SITE_VIEW_INPUT_FILTER_LABEL"
description="COM_COMPONENTBUILDER_SITE_VIEW_INPUT_FILTER_DESCRIPTION"
class="list_class"
multiple="false"
filter="ALNUM"
required="true"
default="INT">
<!-- Option Set. -->
<option value="INT">
COM_COMPONENTBUILDER_SITE_VIEW_INT</option>
<option value="UINT">
COM_COMPONENTBUILDER_SITE_VIEW_UINT</option>
<option value="FLOAT">
COM_COMPONENTBUILDER_SITE_VIEW_FLOAT</option>
<option value="BOOLEAN">
COM_COMPONENTBUILDER_SITE_VIEW_BOOLEAN</option>
<option value="WORD">
COM_COMPONENTBUILDER_SITE_VIEW_WORD</option>
<option value="ALNUM">
COM_COMPONENTBUILDER_SITE_VIEW_ALNUM</option>
<option value="CMD">
COM_COMPONENTBUILDER_SITE_VIEW_CMD</option>
<option value="BASE64">
COM_COMPONENTBUILDER_SITE_VIEW_BASE64</option>
<option value="STRING">
COM_COMPONENTBUILDER_SITE_VIEW_STRING</option>
<option value="HTML">
COM_COMPONENTBUILDER_SITE_VIEW_HTML</option>
<option value="ARRAY">
COM_COMPONENTBUILDER_SITE_VIEW_ARRAY</option>
<option value="PATH">
COM_COMPONENTBUILDER_SITE_VIEW_PATH</option>
<option value="USERNAME">
COM_COMPONENTBUILDER_SITE_VIEW_USERNAME</option>
<option value="RAW">
COM_COMPONENTBUILDER_SITE_VIEW_RAW</option>
<option value="unknown">
COM_COMPONENTBUILDER_SITE_VIEW_UNKNOWN</option>
</field>
<!-- Method_name Field. Type: Text. (joomla) -->
<field
type="text"
name="method_name"
label="COM_COMPONENTBUILDER_SITE_VIEW_METHOD_NAME_LABEL"
size="40"
maxlength="150"
default="getValueNow"
description="COM_COMPONENTBUILDER_SITE_VIEW_METHOD_NAME_DESCRIPTION"
class="text_area"
readonly="false"
disabled="false"
required="true"
filter="WORD"
message="COM_COMPONENTBUILDER_SITE_VIEW_METHOD_NAME_MESSAGE"
hint="COM_COMPONENTBUILDER_SITE_VIEW_METHOD_NAME_HINT"
/>
<!-- Allow_zero Field. Type: Checkbox. (joomla) -->
<field
type="checkbox"
name="allow_zero"
label="COM_COMPONENTBUILDER_SITE_VIEW_ALLOW_ZERO_LABEL"
value="1"
description="COM_COMPONENTBUILDER_SITE_VIEW_ALLOW_ZERO_DESCRIPTION"
class="inputbox"
/>
<!-- User_check Field. Type: Checkbox. (joomla) -->
<field
type="checkbox"
name="user_check"
label="COM_COMPONENTBUILDER_SITE_VIEW_USER_CHECK_LABEL"
value="1"
default="1"
description="COM_COMPONENTBUILDER_SITE_VIEW_USER_CHECK_DESCRIPTION"
class="inputbox"
/>
</form>
</field>
<!-- Add_custom_button Field. Type: Radio. (joomla) -->
<field
type="radio"
name="add_custom_button"
label="COM_COMPONENTBUILDER_SITE_VIEW_ADD_CUSTOM_BUTTON_LABEL"
class="btn-group btn-group-yesno"
default="0"
required="true">
<!-- Option Set. -->
<option value="1">
COM_COMPONENTBUILDER_SITE_VIEW_YES</option>
<option value="0">
COM_COMPONENTBUILDER_SITE_VIEW_NO</option>
</field>
<!-- Php_document Field. Type: Editor. (joomla) -->
<field
type="editor"
name="php_document"
label="COM_COMPONENTBUILDER_SITE_VIEW_PHP_DOCUMENT_LABEL"
description="COM_COMPONENTBUILDER_SITE_VIEW_PHP_DOCUMENT_DESCRIPTION"
width="100%"
height="450px"
cols="15"
rows="50"
buttons="no"
syntax="php"
editor="codemirror|none"
filter="raw"
validate="code"
/>
<!-- Button_position Field. Type: List. (joomla) -->
<field
type="list"
name="button_position"
label="COM_COMPONENTBUILDER_SITE_VIEW_BUTTON_POSITION_LABEL"
description="COM_COMPONENTBUILDER_SITE_VIEW_BUTTON_POSITION_DESCRIPTION"
class="list_class"
layout="joomla.form.field.list-fancy-select"
multiple="false"
filter="INT"
required="true"
default="2">
<!-- Option Set. -->
<option value="0">
COM_COMPONENTBUILDER_SITE_VIEW_NONE</option>
<option value="1">
COM_COMPONENTBUILDER_SITE_VIEW_TOP_RIGHT</option>
<option value="2">
COM_COMPONENTBUILDER_SITE_VIEW_TOP_LEFT</option>
<option value="3">
COM_COMPONENTBUILDER_SITE_VIEW_BOTTOM_RIGHT</option>
<option value="4">
COM_COMPONENTBUILDER_SITE_VIEW_BOTTOM_LEFT</option>
<option value="5">
COM_COMPONENTBUILDER_SITE_VIEW_CUSTOM</option>
</field>
<!-- Php_view Field. Type: Editor. (joomla) -->
<field
type="editor"
name="php_view"
label="COM_COMPONENTBUILDER_SITE_VIEW_PHP_VIEW_LABEL"
description="COM_COMPONENTBUILDER_SITE_VIEW_PHP_VIEW_DESCRIPTION"
width="100%"
height="450px"
cols="15"
rows="30"
buttons="no"
syntax="php"
editor="codemirror|none"
filter="raw"
validate="code"
/>
<!-- Note_custom_toolbar_placeholder Field. Type: Note. A None Database Field. (joomla) -->
<field type="note" name="note_custom_toolbar_placeholder" description="COM_COMPONENTBUILDER_SITE_VIEW_NOTE_CUSTOM_TOOLBAR_PLACEHOLDER_DESCRIPTION" heading="h4" class="note_custom_toolbar_placeholder" showon="button_position:5" />
<!-- Php_jview_display Field. Type: Editor. (joomla) -->
<field
type="editor"
name="php_jview_display"
label="COM_COMPONENTBUILDER_SITE_VIEW_PHP_JVIEW_DISPLAY_LABEL"
description="COM_COMPONENTBUILDER_SITE_VIEW_PHP_JVIEW_DISPLAY_DESCRIPTION"
width="100%"
height="450px"
cols="15"
rows="30"
buttons="no"
syntax="php"
editor="codemirror|none"
filter="raw"
validate="code"
/>
<!-- Custom_button Field. Type: Subform. (joomla) -->
<field
type="subform"
name="custom_button"
label="COM_COMPONENTBUILDER_SITE_VIEW_CUSTOM_BUTTON_LABEL"
layout="joomla.form.field.subform.repeatable-table"
multiple="true"
icon="list"
max="20">
<form hidden="true" name="list_custom_button_modal" repeat="true">
<!-- Icomoon Field. Type: List. (joomla) -->
<field
type="list"
name="icomoon"
label="COM_COMPONENTBUILDER_SITE_VIEW_ICOMOON_LABEL"
description="COM_COMPONENTBUILDER_SITE_VIEW_ICOMOON_DESCRIPTION"
class="icomoon342"
layout="joomla.form.field.list-fancy-select"
multiple="false"
onchange="getIconImage(this);">
<!-- Option Set. -->
<option value="joomla">
COM_COMPONENTBUILDER_SITE_VIEW_JOOMLA</option>
<option value="address">
COM_COMPONENTBUILDER_SITE_VIEW_ADDRESS</option>
<option value="pencil">
COM_COMPONENTBUILDER_SITE_VIEW_PENCIL</option>
<option value="archive">
COM_COMPONENTBUILDER_SITE_VIEW_ARCHIVE</option>
<option value="arrow-down-2">
COM_COMPONENTBUILDER_SITE_VIEW_ARROW_DOWN_2</option>
<option value="arrow-down-3">
COM_COMPONENTBUILDER_SITE_VIEW_ARROW_DOWN_3</option>
<option value="arrow-down-4">
COM_COMPONENTBUILDER_SITE_VIEW_ARROW_DOWN_4</option>
<option value="arrow-first">
COM_COMPONENTBUILDER_SITE_VIEW_ARROW_FIRST</option>
<option value="arrow-last">
COM_COMPONENTBUILDER_SITE_VIEW_ARROW_LAST</option>
<option value="arrow-left-2">
COM_COMPONENTBUILDER_SITE_VIEW_ARROW_LEFT_2</option>
<option value="arrow-left-3">
COM_COMPONENTBUILDER_SITE_VIEW_ARROW_LEFT_3</option>
<option value="arrow-left-4">
COM_COMPONENTBUILDER_SITE_VIEW_ARROW_LEFT_4</option>
<option value="arrow-right-2">
COM_COMPONENTBUILDER_SITE_VIEW_ARROW_RIGHT_2</option>
<option value="arrow-right-3">
COM_COMPONENTBUILDER_SITE_VIEW_ARROW_RIGHT_3</option>
<option value="arrow-right-4">
COM_COMPONENTBUILDER_SITE_VIEW_ARROW_RIGHT_4</option>
<option value="arrow-up-2">
COM_COMPONENTBUILDER_SITE_VIEW_ARROW_UP_2</option>
<option value="arrow-up-3">
COM_COMPONENTBUILDER_SITE_VIEW_ARROW_UP_3</option>
<option value="arrow-up-4">
COM_COMPONENTBUILDER_SITE_VIEW_ARROW_UP_4</option>
<option value="attachment">
COM_COMPONENTBUILDER_SITE_VIEW_ATTACHMENT</option>
<option value="reply">
COM_COMPONENTBUILDER_SITE_VIEW_REPLY</option>
<option value="backward-circle">
COM_COMPONENTBUILDER_SITE_VIEW_BACKWARD_CIRCLE</option>
<option value="ban-circle">
COM_COMPONENTBUILDER_SITE_VIEW_BAN_CIRCLE</option>
<option value="bars">
COM_COMPONENTBUILDER_SITE_VIEW_BARS</option>
<option value="basket">
COM_COMPONENTBUILDER_SITE_VIEW_BASKET</option>
<option value="book">
COM_COMPONENTBUILDER_SITE_VIEW_BOOK</option>
<option value="bookmark">
COM_COMPONENTBUILDER_SITE_VIEW_BOOKMARK</option>
<option value="bookmark-2">
COM_COMPONENTBUILDER_SITE_VIEW_BOOKMARK_2</option>
<option value="box-add">
COM_COMPONENTBUILDER_SITE_VIEW_BOX_ADD</option>
<option value="box-remove">
COM_COMPONENTBUILDER_SITE_VIEW_BOX_REMOVE</option>
<option value="briefcase">
COM_COMPONENTBUILDER_SITE_VIEW_BRIEFCASE</option>
<option value="wifi">
COM_COMPONENTBUILDER_SITE_VIEW_WIFI</option>
<option value="brush">
COM_COMPONENTBUILDER_SITE_VIEW_BRUSH</option>
<option value="calendar">
COM_COMPONENTBUILDER_SITE_VIEW_CALENDAR</option>
<option value="calendar-2">
COM_COMPONENTBUILDER_SITE_VIEW_CALENDAR_2</option>
<option value="calendar-3">
COM_COMPONENTBUILDER_SITE_VIEW_CALENDAR_3</option>
<option value="camera">
COM_COMPONENTBUILDER_SITE_VIEW_CAMERA</option>
<option value="camera-2 / video">
COM_COMPONENTBUILDER_SITE_VIEW_CAMERA_2_VIDEO</option>
<option value="cancel-circle">
COM_COMPONENTBUILDER_SITE_VIEW_CANCEL_CIRCLE</option>
<option value="cart">
COM_COMPONENTBUILDER_SITE_VIEW_CART</option>
<option value="chart">
COM_COMPONENTBUILDER_SITE_VIEW_CHART</option>
<option value="checkbox-partial">
COM_COMPONENTBUILDER_SITE_VIEW_CHECKBOX_PARTIAL</option>
<option value="checkbox-unchecked">
COM_COMPONENTBUILDER_SITE_VIEW_CHECKBOX_UNCHECKED</option>
<option value="lock">
COM_COMPONENTBUILDER_SITE_VIEW_LOCK</option>
<option value="checkbox">
COM_COMPONENTBUILDER_SITE_VIEW_CHECKBOX</option>
<option value="checkmark-2">
COM_COMPONENTBUILDER_SITE_VIEW_CHECKMARK_2</option>
<option value="checkmark-circle">
COM_COMPONENTBUILDER_SITE_VIEW_CHECKMARK_CIRCLE</option>
<option value="arrow-down">
COM_COMPONENTBUILDER_SITE_VIEW_ARROW_DOWN</option>
<option value="arrow-left">
COM_COMPONENTBUILDER_SITE_VIEW_ARROW_LEFT</option>
<option value="arrow-right">
COM_COMPONENTBUILDER_SITE_VIEW_ARROW_RIGHT</option>
<option value="arrow-up">
COM_COMPONENTBUILDER_SITE_VIEW_ARROW_UP</option>
<option value="circle">
COM_COMPONENTBUILDER_SITE_VIEW_CIRCLE</option>
<option value="clock">
COM_COMPONENTBUILDER_SITE_VIEW_CLOCK</option>
<option value="cogs">
COM_COMPONENTBUILDER_SITE_VIEW_COGS</option>
<option value="comment">
COM_COMPONENTBUILDER_SITE_VIEW_COMMENT</option>
<option value="comments-2">
COM_COMPONENTBUILDER_SITE_VIEW_COMMENTS_2</option>
<option value="compass">
COM_COMPONENTBUILDER_SITE_VIEW_COMPASS</option>
<option value="contract">
COM_COMPONENTBUILDER_SITE_VIEW_CONTRACT</option>
<option value="contract-2">
COM_COMPONENTBUILDER_SITE_VIEW_CONTRACT_2</option>
<option value="credit">
COM_COMPONENTBUILDER_SITE_VIEW_CREDIT</option>
<option value="credit-2">
COM_COMPONENTBUILDER_SITE_VIEW_CREDIT_2</option>
<option value="cube">
COM_COMPONENTBUILDER_SITE_VIEW_CUBE</option>
<option value="dashboard">
COM_COMPONENTBUILDER_SITE_VIEW_DASHBOARD</option>
<option value="database">
COM_COMPONENTBUILDER_SITE_VIEW_DATABASE</option>
<option value="delete">
COM_COMPONENTBUILDER_SITE_VIEW_DELETE</option>
<option value="download">
COM_COMPONENTBUILDER_SITE_VIEW_DOWNLOAD</option>
<option value="enter">
COM_COMPONENTBUILDER_SITE_VIEW_ENTER</option>
<option value="envelope">
COM_COMPONENTBUILDER_SITE_VIEW_ENVELOPE</option>
<option value="envelope-opened">
COM_COMPONENTBUILDER_SITE_VIEW_ENVELOPE_OPENED</option>
<option value="equalizer">
COM_COMPONENTBUILDER_SITE_VIEW_EQUALIZER</option>
<option value="exit">
COM_COMPONENTBUILDER_SITE_VIEW_EXIT</option>
<option value="expand">
COM_COMPONENTBUILDER_SITE_VIEW_EXPAND</option>
<option value="expand-2">
COM_COMPONENTBUILDER_SITE_VIEW_EXPAND_2</option>
<option value="expired">
COM_COMPONENTBUILDER_SITE_VIEW_EXPIRED</option>
<option value="eye-close">
COM_COMPONENTBUILDER_SITE_VIEW_EYE_CLOSE</option>
<option value="eye-open">
COM_COMPONENTBUILDER_SITE_VIEW_EYE_OPEN</option>
<option value="featured">
COM_COMPONENTBUILDER_SITE_VIEW_FEATURED</option>
<option value="feed">
COM_COMPONENTBUILDER_SITE_VIEW_FEED</option>
<option value="file">
COM_COMPONENTBUILDER_SITE_VIEW_FILE</option>
<option value="file-2">
COM_COMPONENTBUILDER_SITE_VIEW_FILE_2</option>
<option value="file-add">
COM_COMPONENTBUILDER_SITE_VIEW_FILE_ADD</option>
<option value="file-check">
COM_COMPONENTBUILDER_SITE_VIEW_FILE_CHECK</option>
<option value="file-minus">
COM_COMPONENTBUILDER_SITE_VIEW_FILE_MINUS</option>
<option value="file-remove">
COM_COMPONENTBUILDER_SITE_VIEW_FILE_REMOVE</option>
<option value="filter">
COM_COMPONENTBUILDER_SITE_VIEW_FILTER</option>
<option value="first">
COM_COMPONENTBUILDER_SITE_VIEW_FIRST</option>
<option value="flag">
COM_COMPONENTBUILDER_SITE_VIEW_FLAG</option>
<option value="flag-3">
COM_COMPONENTBUILDER_SITE_VIEW_FLAG_3</option>
<option value="folder-3">
COM_COMPONENTBUILDER_SITE_VIEW_FOLDER_3</option>
<option value="folder-close">
COM_COMPONENTBUILDER_SITE_VIEW_FOLDER_CLOSE</option>
<option value="folder-minus">
COM_COMPONENTBUILDER_SITE_VIEW_FOLDER_MINUS</option>
<option value="folder-open">
COM_COMPONENTBUILDER_SITE_VIEW_FOLDER_OPEN</option>
<option value="folder-plus">
COM_COMPONENTBUILDER_SITE_VIEW_FOLDER_PLUS</option>
<option value="folder-plus-2">
COM_COMPONENTBUILDER_SITE_VIEW_FOLDER_PLUS_2</option>
<option value="folder-remove">
COM_COMPONENTBUILDER_SITE_VIEW_FOLDER_REMOVE</option>
<option value="forward-2">
COM_COMPONENTBUILDER_SITE_VIEW_FORWARD_2</option>
<option value="forward-circle">
COM_COMPONENTBUILDER_SITE_VIEW_FORWARD_CIRCLE</option>
<option value="grid">
COM_COMPONENTBUILDER_SITE_VIEW_GRID</option>
<option value="grid-2">
COM_COMPONENTBUILDER_SITE_VIEW_GRID_2</option>
<option value="health">
COM_COMPONENTBUILDER_SITE_VIEW_HEALTH</option>
<option value="heart">
COM_COMPONENTBUILDER_SITE_VIEW_HEART</option>
<option value="heart-2">
COM_COMPONENTBUILDER_SITE_VIEW_HEART_2</option>
<option value="home">
COM_COMPONENTBUILDER_SITE_VIEW_HOME</option>
<option value="home-2">
COM_COMPONENTBUILDER_SITE_VIEW_HOME_2</option>
<option value="info">
COM_COMPONENTBUILDER_SITE_VIEW_INFO</option>
<option value="info-circle">
COM_COMPONENTBUILDER_SITE_VIEW_INFO_CIRCLE</option>
<option value="key">
COM_COMPONENTBUILDER_SITE_VIEW_KEY</option>
<option value="lamp">
COM_COMPONENTBUILDER_SITE_VIEW_LAMP</option>
<option value="last">
COM_COMPONENTBUILDER_SITE_VIEW_LAST</option>
<option value="flash">
COM_COMPONENTBUILDER_SITE_VIEW_FLASH</option>
<option value="link">
COM_COMPONENTBUILDER_SITE_VIEW_LINK</option>
<option value="list">
COM_COMPONENTBUILDER_SITE_VIEW_LIST</option>
<option value="list-2">
COM_COMPONENTBUILDER_SITE_VIEW_LIST_2</option>
<option value="location">
COM_COMPONENTBUILDER_SITE_VIEW_LOCATION</option>
<option value="loop">
COM_COMPONENTBUILDER_SITE_VIEW_LOOP</option>
<option value="menu">
COM_COMPONENTBUILDER_SITE_VIEW_MENU</option>
<option value="menu-2">
COM_COMPONENTBUILDER_SITE_VIEW_MENU_2</option>
<option value="menu-3">
COM_COMPONENTBUILDER_SITE_VIEW_MENU_3</option>
<option value="minus">
COM_COMPONENTBUILDER_SITE_VIEW_MINUS</option>
<option value="minus-sign">
COM_COMPONENTBUILDER_SITE_VIEW_MINUS_SIGN</option>
<option value="mobile">
COM_COMPONENTBUILDER_SITE_VIEW_MOBILE</option>
<option value="move">
COM_COMPONENTBUILDER_SITE_VIEW_MOVE</option>
<option value="music">
COM_COMPONENTBUILDER_SITE_VIEW_MUSIC</option>
<option value="plus">
COM_COMPONENTBUILDER_SITE_VIEW_PLUS</option>
<option value="next">
COM_COMPONENTBUILDER_SITE_VIEW_NEXT</option>
<option value="notification">
COM_COMPONENTBUILDER_SITE_VIEW_NOTIFICATION</option>
<option value="notification-circle">
COM_COMPONENTBUILDER_SITE_VIEW_NOTIFICATION_CIRCLE</option>
<option value="cog">
COM_COMPONENTBUILDER_SITE_VIEW_COG</option>
<option value="new-tab">
COM_COMPONENTBUILDER_SITE_VIEW_NEW_TAB</option>
<option value="new-tab-2">
COM_COMPONENTBUILDER_SITE_VIEW_NEW_TAB_2</option>
<option value="palette">
COM_COMPONENTBUILDER_SITE_VIEW_PALETTE</option>
<option value="paragraph-center">
COM_COMPONENTBUILDER_SITE_VIEW_PARAGRAPH_CENTER</option>
<option value="paragraph-justify">
COM_COMPONENTBUILDER_SITE_VIEW_PARAGRAPH_JUSTIFY</option>
<option value="paragraph-left">
COM_COMPONENTBUILDER_SITE_VIEW_PARAGRAPH_LEFT</option>
<option value="paragraph-right">
COM_COMPONENTBUILDER_SITE_VIEW_PARAGRAPH_RIGHT</option>
<option value="pause">
COM_COMPONENTBUILDER_SITE_VIEW_PAUSE</option>
<option value="pause-circle">
COM_COMPONENTBUILDER_SITE_VIEW_PAUSE_CIRCLE</option>
<option value="pencil-2">
COM_COMPONENTBUILDER_SITE_VIEW_PENCIL_2</option>
<option value="warning">
COM_COMPONENTBUILDER_SITE_VIEW_WARNING</option>
<option value="phone">
COM_COMPONENTBUILDER_SITE_VIEW_PHONE</option>
<option value="phone-2">
COM_COMPONENTBUILDER_SITE_VIEW_PHONE_2</option>
<option value="image">
COM_COMPONENTBUILDER_SITE_VIEW_IMAGE</option>
<option value="images">
COM_COMPONENTBUILDER_SITE_VIEW_IMAGES</option>
<option value="pie">
COM_COMPONENTBUILDER_SITE_VIEW_PIE</option>
<option value="pin">
COM_COMPONENTBUILDER_SITE_VIEW_PIN</option>
<option value="play">
COM_COMPONENTBUILDER_SITE_VIEW_PLAY</option>
<option value="youtube">
COM_COMPONENTBUILDER_SITE_VIEW_YOUTUBE</option>
<option value="play-circle">
COM_COMPONENTBUILDER_SITE_VIEW_PLAY_CIRCLE</option>
<option value="plus-circle">
COM_COMPONENTBUILDER_SITE_VIEW_PLUS_CIRCLE</option>
<option value="power-cord">
COM_COMPONENTBUILDER_SITE_VIEW_POWER_CORD</option>
<option value="previous">
COM_COMPONENTBUILDER_SITE_VIEW_PREVIOUS</option>
<option value="print">
COM_COMPONENTBUILDER_SITE_VIEW_PRINT</option>
<option value="publish">
COM_COMPONENTBUILDER_SITE_VIEW_PUBLISH</option>
<option value="purge">
COM_COMPONENTBUILDER_SITE_VIEW_PURGE</option>
<option value="puzzle">
COM_COMPONENTBUILDER_SITE_VIEW_PUZZLE</option>
<option value="question">
COM_COMPONENTBUILDER_SITE_VIEW_QUESTION</option>
<option value="question-2">
COM_COMPONENTBUILDER_SITE_VIEW_QUESTION_2</option>
<option value="quotes-left">
COM_COMPONENTBUILDER_SITE_VIEW_QUOTES_LEFT</option>
<option value="quotes-right">
COM_COMPONENTBUILDER_SITE_VIEW_QUOTES_RIGHT</option>
<option value="bubble-quote">
COM_COMPONENTBUILDER_SITE_VIEW_BUBBLE_QUOTE</option>
<option value="generic">
COM_COMPONENTBUILDER_SITE_VIEW_GENERIC</option>
<option value="radio-unchecked">
COM_COMPONENTBUILDER_SITE_VIEW_RADIO_UNCHECKED</option>
<option value="save-copy">
COM_COMPONENTBUILDER_SITE_VIEW_SAVE_COPY</option>
<option value="save-new">
COM_COMPONENTBUILDER_SITE_VIEW_SAVE_NEW</option>
<option value="scissors">
COM_COMPONENTBUILDER_SITE_VIEW_SCISSORS</option>
<option value="screen">
COM_COMPONENTBUILDER_SITE_VIEW_SCREEN</option>
<option value="screwdriver">
COM_COMPONENTBUILDER_SITE_VIEW_SCREWDRIVER</option>
<option value="search">
COM_COMPONENTBUILDER_SITE_VIEW_SEARCH</option>
<option value="share">
COM_COMPONENTBUILDER_SITE_VIEW_SHARE</option>
<option value="share-alt">
COM_COMPONENTBUILDER_SITE_VIEW_SHARE_ALT</option>
<option value="shield">
COM_COMPONENTBUILDER_SITE_VIEW_SHIELD</option>
<option value="shuffle">
COM_COMPONENTBUILDER_SITE_VIEW_SHUFFLE</option>
<option value="signup">
COM_COMPONENTBUILDER_SITE_VIEW_SIGNUP</option>
<option value="smiley">
COM_COMPONENTBUILDER_SITE_VIEW_SMILEY</option>
<option value="smiley-2">
COM_COMPONENTBUILDER_SITE_VIEW_SMILEY_2</option>
<option value="smiley-neutral">
COM_COMPONENTBUILDER_SITE_VIEW_SMILEY_NEUTRAL</option>
<option value="smiley-neutral-2">
COM_COMPONENTBUILDER_SITE_VIEW_SMILEY_NEUTRAL_2</option>
<option value="smiley-sad">
COM_COMPONENTBUILDER_SITE_VIEW_SMILEY_SAD</option>
<option value="smiley-sad-2">
COM_COMPONENTBUILDER_SITE_VIEW_SMILEY_SAD_2</option>
<option value="square">
COM_COMPONENTBUILDER_SITE_VIEW_SQUARE</option>
<option value="stack">
COM_COMPONENTBUILDER_SITE_VIEW_STACK</option>
<option value="star-2">
COM_COMPONENTBUILDER_SITE_VIEW_STAR_2</option>
<option value="stop">
COM_COMPONENTBUILDER_SITE_VIEW_STOP</option>
<option value="stop-circle">
COM_COMPONENTBUILDER_SITE_VIEW_STOP_CIRCLE</option>
<option value="support">
COM_COMPONENTBUILDER_SITE_VIEW_SUPPORT</option>
<option value="switch">
COM_COMPONENTBUILDER_SITE_VIEW_SWITCH</option>
<option value="tablet">
COM_COMPONENTBUILDER_SITE_VIEW_TABLET</option>
<option value="tag">
COM_COMPONENTBUILDER_SITE_VIEW_TAG</option>
<option value="tag-2">
COM_COMPONENTBUILDER_SITE_VIEW_TAG_2</option>
<option value="tags">
COM_COMPONENTBUILDER_SITE_VIEW_TAGS</option>
<option value="tags-2">
COM_COMPONENTBUILDER_SITE_VIEW_TAGS_2</option>
<option value="thumbs-down">
COM_COMPONENTBUILDER_SITE_VIEW_THUMBS_DOWN</option>
<option value="thumbs-up">
COM_COMPONENTBUILDER_SITE_VIEW_THUMBS_UP</option>
<option value="tree">
COM_COMPONENTBUILDER_SITE_VIEW_TREE</option>
<option value="tree-2">
COM_COMPONENTBUILDER_SITE_VIEW_TREE_2</option>
<option value="unarchive">
COM_COMPONENTBUILDER_SITE_VIEW_UNARCHIVE</option>
<option value="unblock">
COM_COMPONENTBUILDER_SITE_VIEW_UNBLOCK</option>
<option value="undo">
COM_COMPONENTBUILDER_SITE_VIEW_UNDO</option>
<option value="undo-2">
COM_COMPONENTBUILDER_SITE_VIEW_UNDO_2</option>
<option value="unfeatured">
COM_COMPONENTBUILDER_SITE_VIEW_UNFEATURED</option>
<option value="unlock">
COM_COMPONENTBUILDER_SITE_VIEW_UNLOCK</option>
<option value="unpublish">
COM_COMPONENTBUILDER_SITE_VIEW_UNPUBLISH</option>
<option value="upload">
COM_COMPONENTBUILDER_SITE_VIEW_UPLOAD</option>
<option value="user">
COM_COMPONENTBUILDER_SITE_VIEW_USER</option>
<option value="users">
COM_COMPONENTBUILDER_SITE_VIEW_USERS</option>
<option value="vcard">
COM_COMPONENTBUILDER_SITE_VIEW_VCARD</option>
<option value="wand">
COM_COMPONENTBUILDER_SITE_VIEW_WAND</option>
<option value="warning-circle">
COM_COMPONENTBUILDER_SITE_VIEW_WARNING_CIRCLE</option>
<option value="wrench">
COM_COMPONENTBUILDER_SITE_VIEW_WRENCH</option>
<option value="zoom-in">
COM_COMPONENTBUILDER_SITE_VIEW_ZOOM_IN</option>
<option value="zoom-out">
COM_COMPONENTBUILDER_SITE_VIEW_ZOOM_OUT</option>
</field>
<!-- Name Field. Type: Text. (joomla) -->
<field
type="text"
name="name"
label="COM_COMPONENTBUILDER_SITE_VIEW_NAME_LABEL"
size="40"
maxlength="150"
description="COM_COMPONENTBUILDER_SITE_VIEW_NAME_DESCRIPTION"
class="text_area"
readonly="false"
disabled="false"
required="true"
filter="STRING"
message="COM_COMPONENTBUILDER_SITE_VIEW_NAME_MESSAGE"
hint="COM_COMPONENTBUILDER_SITE_VIEW_NAME_HINT"
/>
<!-- Method Field. Type: Text. (joomla) -->
<field
type="text"
name="method"
label="COM_COMPONENTBUILDER_SITE_VIEW_METHOD_LABEL"
size="40"
maxlength="50"
default=""
description="COM_COMPONENTBUILDER_SITE_VIEW_METHOD_DESCRIPTION"
class="text_area"
required="false"
filter="CMD"
message="COM_COMPONENTBUILDER_SITE_VIEW_METHOD_MESSAGE"
hint="COM_COMPONENTBUILDER_SITE_VIEW_METHOD_HINT"
/>
<!-- Target Field. Type: List. (joomla) -->
<field
type="list"
name="target"
label="COM_COMPONENTBUILDER_SITE_VIEW_TARGET_LABEL"
description="COM_COMPONENTBUILDER_SITE_VIEW_TARGET_DESCRIPTION"
class="list_class fieldMedium"
filter="INT"
default="1">
<!-- Option Set. -->
<option value="1">
COM_COMPONENTBUILDER_SITE_VIEW_SINGLE</option>
<option value="2">
COM_COMPONENTBUILDER_SITE_VIEW_LIST</option>
<option value="3">
COM_COMPONENTBUILDER_SITE_VIEW_BOTH</option>
</field>
<!-- Type Field. Type: List. (joomla) -->
<field
type="list"
name="type"
label="COM_COMPONENTBUILDER_SITE_VIEW_TYPE_LABEL"
description="COM_COMPONENTBUILDER_SITE_VIEW_TYPE_DESCRIPTION"
class="list_class"
multiple="false"
default="0">
<!-- Option Set. -->
<option value="0">
COM_COMPONENTBUILDER_SITE_VIEW_DEFAULT</option>
<option value="1">
COM_COMPONENTBUILDER_SITE_VIEW_SELECTION</option>
<option value="2">
COM_COMPONENTBUILDER_SITE_VIEW_ONLY_FUNCTION</option>
</field>
</form>
</field>
<!-- Php_jview Field. Type: Editor. (joomla) -->
<field
type="editor"
name="php_jview"
label="COM_COMPONENTBUILDER_SITE_VIEW_PHP_JVIEW_LABEL"
description="COM_COMPONENTBUILDER_SITE_VIEW_PHP_JVIEW_DESCRIPTION"
width="100%"
height="450px"
cols="15"
rows="30"
buttons="no"
syntax="php"
editor="codemirror|none"
filter="raw"
validate="code"
/>
<!-- Php_controller Field. Type: Editor. (joomla) -->
<field
type="editor"
name="php_controller"
label="COM_COMPONENTBUILDER_SITE_VIEW_PHP_CONTROLLER_LABEL"
description="COM_COMPONENTBUILDER_SITE_VIEW_PHP_CONTROLLER_DESCRIPTION"
width="100%"
height="450px"
cols="15"
rows="30"
buttons="no"
syntax="php"
editor="codemirror|none"
filter="raw"
validate="code"
/>
<!-- Guid Field. Type: Text. (joomla) -->
<field
type="text"
name="guid"
label="COM_COMPONENTBUILDER_SITE_VIEW_GUID_LABEL"
size="40"
maxlength="40"
description="COM_COMPONENTBUILDER_SITE_VIEW_GUID_DESCRIPTION"
class="text_area"
readonly="true"
filter="CMD"
validate="guid"
hint="COM_COMPONENTBUILDER_SITE_VIEW_GUID_HINT"
/>
<!-- Php_model Field. Type: Editor. (joomla) -->
<field
type="editor"
name="php_model"
label="COM_COMPONENTBUILDER_SITE_VIEW_PHP_MODEL_LABEL"
description="COM_COMPONENTBUILDER_SITE_VIEW_PHP_MODEL_DESCRIPTION"
width="100%"
height="450px"
cols="15"
rows="30"
buttons="no"
syntax="php"
editor="codemirror|none"
filter="raw"
validate="code"
/>
</fieldset>
<!-- Access Control Fields. -->
<fieldset name="accesscontrol">
<!-- Asset Id Field. Type: Hidden (joomla) -->
<field
name="asset_id"
type="hidden"
filter="unset"
/>
<!-- Rules Field. Type: Rules (joomla) -->
<field
name="rules"
type="rules"
label="Permissions in relation to this site_view"
translate_label="false"
filter="rules"
validate="rules"
class="inputbox"
component="com_componentbuilder"
section="site_view"
/>
</fieldset>
</form>