Made some changes to insure JCB is stable in PHP7, removed the related translations string from joomla_component view to speed up page load.

This commit is contained in:
2018-03-12 00:36:14 +02:00
parent eb56fd3b48
commit e715fa1614
76 changed files with 3297 additions and 3407 deletions

View File

@@ -138,69 +138,6 @@
multiple="false"
required="false"
button="true" />
<!-- Add_css_document Field. Type: Radio. (joomla)-->
<field type="radio"
name="add_css_document"
label="COM_COMPONENTBUILDER_CUSTOM_ADMIN_VIEW_ADD_CSS_DOCUMENT_LABEL"
class="btn-group btn-group-yesno"
default="0"
required="true">
<!-- Option Set.-->
<option value="1">COM_COMPONENTBUILDER_CUSTOM_ADMIN_VIEW_YES</option>
<option value="0">COM_COMPONENTBUILDER_CUSTOM_ADMIN_VIEW_NO</option>
</field>
<!-- Icon Field. Type: Media. (joomla)-->
<field type="media"
name="icon"
label="COM_COMPONENTBUILDER_CUSTOM_ADMIN_VIEW_ICON_LABEL"
description="COM_COMPONENTBUILDER_CUSTOM_ADMIN_VIEW_ICON_DESCRIPTION"
directory="" />
<!-- Libraries Field. Type: Libraries. (custom)-->
<field type="libraries"
name="libraries"
label="COM_COMPONENTBUILDER_CUSTOM_ADMIN_VIEW_LIBRARIES_LABEL"
description="COM_COMPONENTBUILDER_CUSTOM_ADMIN_VIEW_LIBRARIES_DESCRIPTION"
class="list_class"
multiple="true"
default="0"
required="false"
button="true" />
<!-- Add_php_ajax Field. Type: Radio. (joomla)-->
<field type="radio"
name="add_php_ajax"
label="COM_COMPONENTBUILDER_CUSTOM_ADMIN_VIEW_ADD_PHP_AJAX_LABEL"
class="btn-group btn-group-yesno"
default="0"
required="true">
<!-- Option Set.-->
<option value="1">COM_COMPONENTBUILDER_CUSTOM_ADMIN_VIEW_YES</option>
<option value="0">COM_COMPONENTBUILDER_CUSTOM_ADMIN_VIEW_NO</option>
</field>
<!-- Note_add_language_string Field. Type: Note. A None Database Field. (joomla)-->
<field type="note"
name="note_add_language_string"
label="COM_COMPONENTBUILDER_CUSTOM_ADMIN_VIEW_NOTE_ADD_LANGUAGE_STRING_LABEL"
description="COM_COMPONENTBUILDER_CUSTOM_ADMIN_VIEW_NOTE_ADD_LANGUAGE_STRING_DESCRIPTION"
heading="h4"
class="note_add_language_string" />
<!-- Php_document Field. Type: Textarea. (joomla)-->
<field type="textarea"
name="php_document"
label="COM_COMPONENTBUILDER_CUSTOM_ADMIN_VIEW_PHP_DOCUMENT_LABEL"
rows="17"
cols="5"
description="COM_COMPONENTBUILDER_CUSTOM_ADMIN_VIEW_PHP_DOCUMENT_DESCRIPTION"
class="text_area span12"
filter="raw"
hint="COM_COMPONENTBUILDER_CUSTOM_ADMIN_VIEW_PHP_DOCUMENT_HINT"
required="true" />
<!-- Note_libraries_selection Field. Type: Note. A None Database Field. (joomla)-->
<field type="note"
name="note_libraries_selection"
label="COM_COMPONENTBUILDER_CUSTOM_ADMIN_VIEW_NOTE_LIBRARIES_SELECTION_LABEL"
description="COM_COMPONENTBUILDER_CUSTOM_ADMIN_VIEW_NOTE_LIBRARIES_SELECTION_DESCRIPTION"
heading="h4"
class="alert alert-info note_libraries_selection" />
<!-- Php_jview_display Field. Type: Textarea. (joomla)-->
<field type="textarea"
name="php_jview_display"
@@ -212,23 +149,28 @@
filter="raw"
hint="COM_COMPONENTBUILDER_CUSTOM_ADMIN_VIEW_PHP_JVIEW_DISPLAY_HINT"
required="true" />
<!-- Add_css Field. Type: Radio. (joomla)-->
<field type="radio"
name="add_css"
label="COM_COMPONENTBUILDER_CUSTOM_ADMIN_VIEW_ADD_CSS_LABEL"
class="btn-group btn-group-yesno"
default="0"
required="true">
<!-- Option Set.-->
<option value="1">COM_COMPONENTBUILDER_CUSTOM_ADMIN_VIEW_YES</option>
<option value="0">COM_COMPONENTBUILDER_CUSTOM_ADMIN_VIEW_NO</option>
</field>
<!-- Note_uikit_snippet Field. Type: Note. A None Database Field. (joomla)-->
<field type="note"
name="note_uikit_snippet"
label="COM_COMPONENTBUILDER_CUSTOM_ADMIN_VIEW_NOTE_UIKIT_SNIPPET_LABEL"
heading="h4"
class="snippet-code note_uikit_snippet" />
<!-- Php_view Field. Type: Textarea. (joomla)-->
<field type="textarea"
name="php_view"
label="COM_COMPONENTBUILDER_CUSTOM_ADMIN_VIEW_PHP_VIEW_LABEL"
rows="17"
cols="5"
description="COM_COMPONENTBUILDER_CUSTOM_ADMIN_VIEW_PHP_VIEW_DESCRIPTION"
class="text_area span12"
filter="raw"
hint="COM_COMPONENTBUILDER_CUSTOM_ADMIN_VIEW_PHP_VIEW_HINT"
required="true" />
<!-- Php_document Field. Type: Textarea. (joomla)-->
<field type="textarea"
name="php_document"
label="COM_COMPONENTBUILDER_CUSTOM_ADMIN_VIEW_PHP_DOCUMENT_LABEL"
rows="17"
cols="5"
description="COM_COMPONENTBUILDER_CUSTOM_ADMIN_VIEW_PHP_DOCUMENT_DESCRIPTION"
class="text_area span12"
filter="raw"
hint="COM_COMPONENTBUILDER_CUSTOM_ADMIN_VIEW_PHP_DOCUMENT_HINT"
required="true" />
<!-- Ajax_input Field. Type: Subform. (joomla)-->
<field type="subform"
name="ajax_input"
@@ -336,23 +278,35 @@
class="inputbox" />
</form>
</field>
<!-- Note_snippet_usage Field. Type: Note. A None Database Field. (joomla)-->
<!-- Add_php_ajax Field. Type: Radio. (joomla)-->
<field type="radio"
name="add_php_ajax"
label="COM_COMPONENTBUILDER_CUSTOM_ADMIN_VIEW_ADD_PHP_AJAX_LABEL"
class="btn-group btn-group-yesno"
default="0"
required="true">
<!-- Option Set.-->
<option value="1">COM_COMPONENTBUILDER_CUSTOM_ADMIN_VIEW_YES</option>
<option value="0">COM_COMPONENTBUILDER_CUSTOM_ADMIN_VIEW_NO</option>
</field>
<!-- Add_css Field. Type: Radio. (joomla)-->
<field type="radio"
name="add_css"
label="COM_COMPONENTBUILDER_CUSTOM_ADMIN_VIEW_ADD_CSS_LABEL"
class="btn-group btn-group-yesno"
default="0"
required="true">
<!-- Option Set.-->
<option value="1">COM_COMPONENTBUILDER_CUSTOM_ADMIN_VIEW_YES</option>
<option value="0">COM_COMPONENTBUILDER_CUSTOM_ADMIN_VIEW_NO</option>
</field>
<!-- Note_add_language_string Field. Type: Note. A None Database Field. (joomla)-->
<field type="note"
name="note_snippet_usage"
label="COM_COMPONENTBUILDER_CUSTOM_ADMIN_VIEW_NOTE_SNIPPET_USAGE_LABEL"
name="note_add_language_string"
label="COM_COMPONENTBUILDER_CUSTOM_ADMIN_VIEW_NOTE_ADD_LANGUAGE_STRING_LABEL"
description="COM_COMPONENTBUILDER_CUSTOM_ADMIN_VIEW_NOTE_ADD_LANGUAGE_STRING_DESCRIPTION"
heading="h4"
class="snippet-usage note_snippet_usage" />
<!-- Php_view Field. Type: Textarea. (joomla)-->
<field type="textarea"
name="php_view"
label="COM_COMPONENTBUILDER_CUSTOM_ADMIN_VIEW_PHP_VIEW_LABEL"
rows="17"
cols="5"
description="COM_COMPONENTBUILDER_CUSTOM_ADMIN_VIEW_PHP_VIEW_DESCRIPTION"
class="text_area span12"
filter="raw"
hint="COM_COMPONENTBUILDER_CUSTOM_ADMIN_VIEW_PHP_VIEW_HINT"
required="true" />
class="note_add_language_string" />
<!-- Add_js_document Field. Type: Radio. (joomla)-->
<field type="radio"
name="add_js_document"
@@ -364,6 +318,34 @@
<option value="1">COM_COMPONENTBUILDER_CUSTOM_ADMIN_VIEW_YES</option>
<option value="0">COM_COMPONENTBUILDER_CUSTOM_ADMIN_VIEW_NO</option>
</field>
<!-- Default Field. Type: Textarea. (joomla)-->
<field type="textarea"
name="default"
label="COM_COMPONENTBUILDER_CUSTOM_ADMIN_VIEW_DEFAULT_LABEL"
rows="20"
cols="15"
class="text_area span12"
filter="raw"
hint="COM_COMPONENTBUILDER_CUSTOM_ADMIN_VIEW_DEFAULT_HINT"
required="true" />
<!-- Note_snippet_usage Field. Type: Note. A None Database Field. (joomla)-->
<field type="note"
name="note_snippet_usage"
label="COM_COMPONENTBUILDER_CUSTOM_ADMIN_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_CUSTOM_ADMIN_VIEW_NOTE_UIKIT_SNIPPET_LABEL"
heading="h4"
class="snippet-code note_uikit_snippet" />
<!-- Icon Field. Type: Media. (joomla)-->
<field type="media"
name="icon"
label="COM_COMPONENTBUILDER_CUSTOM_ADMIN_VIEW_ICON_LABEL"
description="COM_COMPONENTBUILDER_CUSTOM_ADMIN_VIEW_ICON_DESCRIPTION"
directory="" />
<!-- Php_jview Field. Type: Textarea. (joomla)-->
<field type="textarea"
name="php_jview"
@@ -375,16 +357,13 @@
filter="raw"
hint="COM_COMPONENTBUILDER_CUSTOM_ADMIN_VIEW_PHP_JVIEW_HINT"
required="true" />
<!-- Default Field. Type: Textarea. (joomla)-->
<field type="textarea"
name="default"
label="COM_COMPONENTBUILDER_CUSTOM_ADMIN_VIEW_DEFAULT_LABEL"
rows="20"
cols="15"
class="text_area span12"
filter="raw"
hint="COM_COMPONENTBUILDER_CUSTOM_ADMIN_VIEW_DEFAULT_HINT"
required="true" />
<!-- Note_libraries_selection Field. Type: Note. A None Database Field. (joomla)-->
<field type="note"
name="note_libraries_selection"
label="COM_COMPONENTBUILDER_CUSTOM_ADMIN_VIEW_NOTE_LIBRARIES_SELECTION_LABEL"
description="COM_COMPONENTBUILDER_CUSTOM_ADMIN_VIEW_NOTE_LIBRARIES_SELECTION_DESCRIPTION"
heading="h4"
class="alert alert-info note_libraries_selection" />
<!-- Add_javascript_file Field. Type: Radio. (joomla)-->
<field type="radio"
name="add_javascript_file"
@@ -397,6 +376,16 @@
<option value="1">COM_COMPONENTBUILDER_CUSTOM_ADMIN_VIEW_YES</option>
<option value="0">COM_COMPONENTBUILDER_CUSTOM_ADMIN_VIEW_NO</option>
</field>
<!-- Libraries Field. Type: Libraries. (custom)-->
<field type="libraries"
name="libraries"
label="COM_COMPONENTBUILDER_CUSTOM_ADMIN_VIEW_LIBRARIES_LABEL"
description="COM_COMPONENTBUILDER_CUSTOM_ADMIN_VIEW_LIBRARIES_DESCRIPTION"
class="list_class"
multiple="true"
default="0"
required="false"
button="true" />
<!-- Js_document Field. Type: Textarea. (joomla)-->
<field type="textarea"
name="js_document"
@@ -408,10 +397,17 @@
filter="raw"
hint="COM_COMPONENTBUILDER_CUSTOM_ADMIN_VIEW_JS_DOCUMENT_HINT"
required="true" />
<!-- Not_required Field. Type: Hidden. (joomla)-->
<field type="hidden"
name="not_required"
default="[]" />
<!-- Add_css_document Field. Type: Radio. (joomla)-->
<field type="radio"
name="add_css_document"
label="COM_COMPONENTBUILDER_CUSTOM_ADMIN_VIEW_ADD_CSS_DOCUMENT_LABEL"
class="btn-group btn-group-yesno"
default="0"
required="true">
<!-- Option Set.-->
<option value="1">COM_COMPONENTBUILDER_CUSTOM_ADMIN_VIEW_YES</option>
<option value="0">COM_COMPONENTBUILDER_CUSTOM_ADMIN_VIEW_NO</option>
</field>
<!-- Javascript_file Field. Type: Textarea. (joomla)-->
<field type="textarea"
name="javascript_file"
@@ -423,12 +419,10 @@
filter="raw"
hint="COM_COMPONENTBUILDER_CUSTOM_ADMIN_VIEW_JAVASCRIPT_FILE_HINT"
required="true" />
<!-- Custom_get Field. Type: Customgets. (custom)-->
<field type="customgets"
name="custom_get"
label="COM_COMPONENTBUILDER_CUSTOM_ADMIN_VIEW_CUSTOM_GET_LABEL"
description="COM_COMPONENTBUILDER_CUSTOM_ADMIN_VIEW_CUSTOM_GET_DESCRIPTION"
multiple="true" />
<!-- Not_required Field. Type: Hidden. (joomla)-->
<field type="hidden"
name="not_required"
default="[]" />
<!-- Css_document Field. Type: Textarea. (joomla)-->
<field type="textarea"
name="css_document"
@@ -440,14 +434,12 @@
filter="raw"
hint="COM_COMPONENTBUILDER_CUSTOM_ADMIN_VIEW_CSS_DOCUMENT_HINT"
required="true" />
<!-- Main_get Field. Type: Maingets. (custom)-->
<field type="maingets"
name="main_get"
label="COM_COMPONENTBUILDER_CUSTOM_ADMIN_VIEW_MAIN_GET_LABEL"
description="COM_COMPONENTBUILDER_CUSTOM_ADMIN_VIEW_MAIN_GET_DESCRIPTION"
multiple="false"
required="true"
button="true" />
<!-- Custom_get Field. Type: Customgets. (custom)-->
<field type="customgets"
name="custom_get"
label="COM_COMPONENTBUILDER_CUSTOM_ADMIN_VIEW_CUSTOM_GET_LABEL"
description="COM_COMPONENTBUILDER_CUSTOM_ADMIN_VIEW_CUSTOM_GET_DESCRIPTION"
multiple="true" />
<!-- Css Field. Type: Textarea. (joomla)-->
<field type="textarea"
name="css"
@@ -459,13 +451,14 @@
filter="raw"
hint="COM_COMPONENTBUILDER_CUSTOM_ADMIN_VIEW_CSS_HINT"
required="true" />
<!-- Dynamic_get Field. Type: Dynamicgets. (custom)-->
<field type="dynamicgets"
name="dynamic_get"
label="COM_COMPONENTBUILDER_CUSTOM_ADMIN_VIEW_DYNAMIC_GET_LABEL"
description="COM_COMPONENTBUILDER_CUSTOM_ADMIN_VIEW_DYNAMIC_GET_DESCRIPTION"
<!-- Main_get Field. Type: Maingets. (custom)-->
<field type="maingets"
name="main_get"
label="COM_COMPONENTBUILDER_CUSTOM_ADMIN_VIEW_MAIN_GET_LABEL"
description="COM_COMPONENTBUILDER_CUSTOM_ADMIN_VIEW_MAIN_GET_DESCRIPTION"
multiple="false"
required="false" />
required="true"
button="true" />
<!-- Php_ajaxmethod Field. Type: Textarea. (joomla)-->
<field type="textarea"
name="php_ajaxmethod"
@@ -477,6 +470,24 @@
filter="raw"
hint="COM_COMPONENTBUILDER_CUSTOM_ADMIN_VIEW_PHP_AJAXMETHOD_HINT"
required="true" />
<!-- Dynamic_get Field. Type: Dynamicgets. (custom)-->
<field type="dynamicgets"
name="dynamic_get"
label="COM_COMPONENTBUILDER_CUSTOM_ADMIN_VIEW_DYNAMIC_GET_LABEL"
description="COM_COMPONENTBUILDER_CUSTOM_ADMIN_VIEW_DYNAMIC_GET_DESCRIPTION"
multiple="false"
required="false" />
<!-- Add_php_document Field. Type: Radio. (joomla)-->
<field type="radio"
name="add_php_document"
label="COM_COMPONENTBUILDER_CUSTOM_ADMIN_VIEW_ADD_PHP_DOCUMENT_LABEL"
class="btn-group btn-group-yesno"
default="0"
required="true">
<!-- Option Set.-->
<option value="1">COM_COMPONENTBUILDER_CUSTOM_ADMIN_VIEW_YES</option>
<option value="0">COM_COMPONENTBUILDER_CUSTOM_ADMIN_VIEW_NO</option>
</field>
<!-- Dynamic_values Field. Type: Note. A None Database Field. (joomla)-->
<field type="note"
name="dynamic_values"
@@ -484,10 +495,10 @@
description="COM_COMPONENTBUILDER_CUSTOM_ADMIN_VIEW_DYNAMIC_VALUES_DESCRIPTION"
heading="h4"
class="dynamic_values" />
<!-- Add_php_document Field. Type: Radio. (joomla)-->
<!-- Add_php_view Field. Type: Radio. (joomla)-->
<field type="radio"
name="add_php_document"
label="COM_COMPONENTBUILDER_CUSTOM_ADMIN_VIEW_ADD_PHP_DOCUMENT_LABEL"
name="add_php_view"
label="COM_COMPONENTBUILDER_CUSTOM_ADMIN_VIEW_ADD_PHP_VIEW_LABEL"
class="btn-group btn-group-yesno"
default="0"
required="true">
@@ -506,10 +517,10 @@
<option value="1">COM_COMPONENTBUILDER_CUSTOM_ADMIN_VIEW_YES</option>
<option value="0">COM_COMPONENTBUILDER_CUSTOM_ADMIN_VIEW_NO</option>
</field>
<!-- Add_php_view Field. Type: Radio. (joomla)-->
<!-- Add_php_jview_display Field. Type: Radio. (joomla)-->
<field type="radio"
name="add_php_view"
label="COM_COMPONENTBUILDER_CUSTOM_ADMIN_VIEW_ADD_PHP_VIEW_LABEL"
name="add_php_jview_display"
label="COM_COMPONENTBUILDER_CUSTOM_ADMIN_VIEW_ADD_PHP_JVIEW_DISPLAY_LABEL"
class="btn-group btn-group-yesno"
default="0"
required="true">
@@ -804,10 +815,10 @@
</field>
</form>
</field>
<!-- Add_php_jview_display Field. Type: Radio. (joomla)-->
<!-- Add_php_jview Field. Type: Radio. (joomla)-->
<field type="radio"
name="add_php_jview_display"
label="COM_COMPONENTBUILDER_CUSTOM_ADMIN_VIEW_ADD_PHP_JVIEW_DISPLAY_LABEL"
name="add_php_jview"
label="COM_COMPONENTBUILDER_CUSTOM_ADMIN_VIEW_ADD_PHP_JVIEW_LABEL"
class="btn-group btn-group-yesno"
default="0"
required="true">
@@ -826,17 +837,13 @@
filter="raw"
hint="COM_COMPONENTBUILDER_CUSTOM_ADMIN_VIEW_PHP_CONTROLLER_HINT"
required="false" />
<!-- Add_php_jview Field. Type: Radio. (joomla)-->
<field type="radio"
name="add_php_jview"
label="COM_COMPONENTBUILDER_CUSTOM_ADMIN_VIEW_ADD_PHP_JVIEW_LABEL"
class="btn-group btn-group-yesno"
default="0"
required="true">
<!-- Option Set.-->
<option value="1">COM_COMPONENTBUILDER_CUSTOM_ADMIN_VIEW_YES</option>
<option value="0">COM_COMPONENTBUILDER_CUSTOM_ADMIN_VIEW_NO</option>
</field>
<!-- Note_linked_to_notice Field. Type: Note. A None Database Field. (joomla)-->
<field type="note"
name="note_linked_to_notice"
label="COM_COMPONENTBUILDER_CUSTOM_ADMIN_VIEW_NOTE_LINKED_TO_NOTICE_LABEL"
description="COM_COMPONENTBUILDER_CUSTOM_ADMIN_VIEW_NOTE_LINKED_TO_NOTICE_DESCRIPTION"
heading="h4"
class="note_linked_to_notice" />
<!-- Php_model Field. Type: Textarea. (joomla)-->
<field type="textarea"
name="php_model"
@@ -848,13 +855,6 @@
filter="raw"
hint="COM_COMPONENTBUILDER_CUSTOM_ADMIN_VIEW_PHP_MODEL_HINT"
required="false" />
<!-- Note_linked_to_notice Field. Type: Note. A None Database Field. (joomla)-->
<field type="note"
name="note_linked_to_notice"
label="COM_COMPONENTBUILDER_CUSTOM_ADMIN_VIEW_NOTE_LINKED_TO_NOTICE_LABEL"
description="COM_COMPONENTBUILDER_CUSTOM_ADMIN_VIEW_NOTE_LINKED_TO_NOTICE_DESCRIPTION"
heading="h4"
class="note_linked_to_notice" />
</fieldset>
<!-- Access Control Fields. -->