Release of v5.1.1-alpha5
Refactor initialization flow to accommodate future scalability and integration with all designated areas. Refactor the Creator Builders class. Refactor the FieldString and FieldXML classes.
This commit is contained in:
@ -332,15 +332,30 @@
|
||||
hint="COM_COMPONENTBUILDER_DYNAMIC_GET_DB_SELECTION_HINT"
|
||||
required="true"
|
||||
/>
|
||||
<!-- View_table_main Field. Type: Adminviews. (custom) -->
|
||||
<!-- View_table_main Field. Type: Modalselect. (custom) -->
|
||||
<field
|
||||
type="adminviews"
|
||||
type="ModalSelect"
|
||||
name="view_table_main"
|
||||
label="COM_COMPONENTBUILDER_DYNAMIC_GET_VIEW_TABLE_MAIN_LABEL"
|
||||
description="COM_COMPONENTBUILDER_DYNAMIC_GET_VIEW_TABLE_MAIN_DESCRIPTION"
|
||||
layout="joomla.form.field.list-fancy-select"
|
||||
multiple="false"
|
||||
sql_title_table="#__componentbuilder_admin_view"
|
||||
sql_title_column="system_name"
|
||||
data-key-name="guid"
|
||||
sql_title_key="guid"
|
||||
urlSelect="index.php?option=com_componentbuilder&view=admin_views&layout=modal&tmpl=component&titleKey=guid"
|
||||
urlNew="index.php?option=com_componentbuilder&task=admin_view.add&layout=modal&tmpl=component"
|
||||
urlEdit="index.php?option=com_componentbuilder&task=admin_view.edit&guid={id}&layout=modal&tmpl=component&titleKey=guid"
|
||||
titleSelect="COM_COMPONENTBUILDER_DYNAMIC_GET_VIEW_TABLE_MAIN_TITLESELECT"
|
||||
titleNew="COM_COMPONENTBUILDER_DYNAMIC_GET_VIEW_TABLE_MAIN_TITLENEW"
|
||||
titleEdit="COM_COMPONENTBUILDER_DYNAMIC_GET_VIEW_TABLE_MAIN_TITLEEDIT"
|
||||
iconSelect="icon-stack"
|
||||
select="true"
|
||||
new="true"
|
||||
edit="true"
|
||||
clear="true"
|
||||
required="true"
|
||||
class="input-large"
|
||||
description="COM_COMPONENTBUILDER_DYNAMIC_GET_VIEW_TABLE_MAIN_DESCRIPTION"
|
||||
hint="COM_COMPONENTBUILDER_DYNAMIC_GET_VIEW_TABLE_MAIN_HINT"
|
||||
/>
|
||||
<!-- Add_php_getlistquery Field. Type: Radio. (joomla) -->
|
||||
<field
|
||||
@ -1235,15 +1250,28 @@
|
||||
description="COM_COMPONENTBUILDER_DYNAMIC_GET_JOIN_VIEW_TABLE_DESCRIPTION"
|
||||
icon="list">
|
||||
<form hidden="true" name="list_join_view_table_modal" repeat="true">
|
||||
<!-- View_table Field. Type: Adminviews. (custom) -->
|
||||
<!-- View_table Field. Type: Modalselect. (custom) -->
|
||||
<field
|
||||
type="adminviews"
|
||||
type="ModalSelect"
|
||||
name="view_table"
|
||||
label="COM_COMPONENTBUILDER_DYNAMIC_GET_VIEW_TABLE_LABEL"
|
||||
description="COM_COMPONENTBUILDER_DYNAMIC_GET_VIEW_TABLE_DESCRIPTION"
|
||||
multiple="false"
|
||||
sql_title_table="#__componentbuilder_admin_view"
|
||||
sql_title_column="system_name"
|
||||
data-key-name="guid"
|
||||
sql_title_key="guid"
|
||||
urlSelect="index.php?option=com_componentbuilder&view=admin_views&layout=modal&tmpl=component&titleKey=guid"
|
||||
urlEdit="index.php?option=com_componentbuilder&task=admin_view.edit&guid={id}&layout=modal&tmpl=component&titleKey=guid"
|
||||
titleSelect="COM_COMPONENTBUILDER_DYNAMIC_GET_VIEW_TABLE_TITLESELECT"
|
||||
titleEdit="COM_COMPONENTBUILDER_DYNAMIC_GET_VIEW_TABLE_TITLEEDIT"
|
||||
iconSelect="icon-stack"
|
||||
select="true"
|
||||
new="false"
|
||||
edit="true"
|
||||
clear="true"
|
||||
required="true"
|
||||
button="false"
|
||||
class="input-large"
|
||||
description="COM_COMPONENTBUILDER_DYNAMIC_GET_VIEW_TABLE_DESCRIPTION"
|
||||
hint="COM_COMPONENTBUILDER_DYNAMIC_GET_VIEW_TABLE_HINT"
|
||||
/>
|
||||
<!-- Row_type Field. Type: List. (joomla) -->
|
||||
<field
|
||||
|
@ -31,14 +31,36 @@
|
||||
layout="joomla.form.field.list-fancy-select"
|
||||
/>
|
||||
<field
|
||||
type="snippettype"
|
||||
type="ModalSelect"
|
||||
sql_title_table="#__componentbuilder_snippet_type"
|
||||
sql_title_column="name"
|
||||
sql_title_key="guid"
|
||||
urlSelect="index.php?option=com_componentbuilder&view=snippet_types&layout=modal&tmpl=component&titleKey=guid"
|
||||
hint="COM_COMPONENTBUILDER_SNIPPET_TYPE_HINT"
|
||||
titleSelect="COM_COMPONENTBUILDER_SNIPPET_TYPE_TITLESELECT"
|
||||
iconSelect="icon-copy"
|
||||
select="true"
|
||||
edit="false"
|
||||
clear="true"
|
||||
onchange="form.submit()"
|
||||
name="type"
|
||||
label="COM_COMPONENTBUILDER_SNIPPET_TYPE_LABEL"
|
||||
multiple="false"
|
||||
class="js-select-submit-on-change"
|
||||
/>
|
||||
<field
|
||||
type="library"
|
||||
type="ModalSelect"
|
||||
sql_title_table="#__componentbuilder_library"
|
||||
sql_title_column="name"
|
||||
sql_title_key="guid"
|
||||
urlSelect="index.php?option=com_componentbuilder&view=libraries&layout=modal&tmpl=component&titleKey=guid"
|
||||
hint="COM_COMPONENTBUILDER_SNIPPET_LIBRARY_HINT"
|
||||
titleSelect="COM_COMPONENTBUILDER_SNIPPET_LIBRARY_TITLESELECT"
|
||||
iconSelect="icon-copy"
|
||||
select="true"
|
||||
edit="false"
|
||||
clear="true"
|
||||
onchange="form.submit()"
|
||||
name="library"
|
||||
label="COM_COMPONENTBUILDER_SNIPPET_LIBRARY_LABEL"
|
||||
multiple="false"
|
||||
|
@ -982,7 +982,6 @@
|
||||
class="fieldMedium"
|
||||
layout="joomla.form.field.list-fancy-select"
|
||||
multiple="false"
|
||||
default=""
|
||||
/>
|
||||
<!-- Spacer_hr_7 Field. Type: Spacer. A None Database Field. (joomla) -->
|
||||
<field type="spacer" name="spacer_hr_7" hr="true" class="spacer_hr_7" />
|
||||
|
@ -111,6 +111,32 @@
|
||||
message="COM_COMPONENTBUILDER_JOOMLA_POWER_SYSTEM_NAME_MESSAGE"
|
||||
hint="COM_COMPONENTBUILDER_JOOMLA_POWER_SYSTEM_NAME_HINT"
|
||||
/>
|
||||
<!-- Guid Field. Type: Text. (joomla) -->
|
||||
<field
|
||||
type="text"
|
||||
name="guid"
|
||||
label="COM_COMPONENTBUILDER_JOOMLA_POWER_GUID_LABEL"
|
||||
size="40"
|
||||
maxlength="40"
|
||||
description="COM_COMPONENTBUILDER_JOOMLA_POWER_GUID_DESCRIPTION"
|
||||
class="text_area"
|
||||
readonly="true"
|
||||
filter="CMD"
|
||||
validate="guid"
|
||||
hint="COM_COMPONENTBUILDER_JOOMLA_POWER_GUID_HINT"
|
||||
/>
|
||||
<!-- Description Field. Type: Textarea. (joomla) -->
|
||||
<field
|
||||
type="textarea"
|
||||
name="description"
|
||||
label="COM_COMPONENTBUILDER_JOOMLA_POWER_DESCRIPTION_LABEL"
|
||||
rows="11"
|
||||
cols="10"
|
||||
description="COM_COMPONENTBUILDER_JOOMLA_POWER_DESCRIPTION_DESCRIPTION"
|
||||
class="text_area span12"
|
||||
filter="HTML"
|
||||
hint="COM_COMPONENTBUILDER_JOOMLA_POWER_DESCRIPTION_HINT"
|
||||
/>
|
||||
<!-- Settings Field. Type: Subform. (joomla) -->
|
||||
<field
|
||||
type="subform"
|
||||
@ -161,32 +187,6 @@
|
||||
</field>
|
||||
</form>
|
||||
</field>
|
||||
<!-- Guid Field. Type: Text. (joomla) -->
|
||||
<field
|
||||
type="text"
|
||||
name="guid"
|
||||
label="COM_COMPONENTBUILDER_JOOMLA_POWER_GUID_LABEL"
|
||||
size="40"
|
||||
maxlength="40"
|
||||
description="COM_COMPONENTBUILDER_JOOMLA_POWER_GUID_DESCRIPTION"
|
||||
class="text_area"
|
||||
readonly="true"
|
||||
filter="CMD"
|
||||
validate="guid"
|
||||
hint="COM_COMPONENTBUILDER_JOOMLA_POWER_GUID_HINT"
|
||||
/>
|
||||
<!-- Description Field. Type: Textarea. (joomla) -->
|
||||
<field
|
||||
type="textarea"
|
||||
name="description"
|
||||
label="COM_COMPONENTBUILDER_JOOMLA_POWER_DESCRIPTION_LABEL"
|
||||
rows="11"
|
||||
cols="10"
|
||||
description="COM_COMPONENTBUILDER_JOOMLA_POWER_DESCRIPTION_DESCRIPTION"
|
||||
class="text_area span12"
|
||||
filter="HTML"
|
||||
hint="COM_COMPONENTBUILDER_JOOMLA_POWER_DESCRIPTION_HINT"
|
||||
/>
|
||||
</fieldset>
|
||||
|
||||
<!-- Access Control Fields. -->
|
||||
|
@ -392,7 +392,7 @@
|
||||
default="一_一"
|
||||
/>
|
||||
<!-- Note_approved_paths Field. Type: Note. A None Database Field. (joomla) -->
|
||||
<field type="note" name="note_approved_paths" label="COM_COMPONENTBUILDER_POWER_NOTE_APPROVED_PATHS_LABEL" description="COM_COMPONENTBUILDER_POWER_NOTE_APPROVED_PATHS_DESCRIPTION" heading="h4" class="alert alert-info note_approved_paths" showon="approved:1" />
|
||||
<field type="note" name="note_approved_paths" label="COM_COMPONENTBUILDER_POWER_NOTE_APPROVED_PATHS_LABEL" description="COM_COMPONENTBUILDER_POWER_NOTE_APPROVED_PATHS_DESCRIPTION" heading="h4" class="alert alert-info note_approved_paths" />
|
||||
<!-- Property_selection Field. Type: Subform. (joomla) -->
|
||||
<field
|
||||
type="subform"
|
||||
|
@ -154,12 +154,16 @@
|
||||
<!-- Option Set. -->
|
||||
<option value="">
|
||||
COM_COMPONENTBUILDER_REPOSITORY_SELECT_AN_OPTION</option>
|
||||
<option value="1">
|
||||
COM_COMPONENTBUILDER_REPOSITORY_SUPER_POWER</option>
|
||||
<option value="2">
|
||||
COM_COMPONENTBUILDER_REPOSITORY_JOOMLA_POWER</option>
|
||||
<option value="4">
|
||||
COM_COMPONENTBUILDER_REPOSITORY_JCB_PACKAGES</option>
|
||||
<option value="3">
|
||||
COM_COMPONENTBUILDER_REPOSITORY_JOOMLA_FIELD_TYPES</option>
|
||||
<option value="2">
|
||||
COM_COMPONENTBUILDER_REPOSITORY_JOOMLA_POWER</option>
|
||||
<option value="5">
|
||||
COM_COMPONENTBUILDER_REPOSITORY_SNIPPETS</option>
|
||||
<option value="1">
|
||||
COM_COMPONENTBUILDER_REPOSITORY_SUPER_POWER</option>
|
||||
</field>
|
||||
<!-- Type Field. Type: List. (joomla) -->
|
||||
<field
|
||||
|
@ -129,16 +129,30 @@
|
||||
message="COM_COMPONENTBUILDER_SNIPPET_URL_MESSAGE"
|
||||
hint="COM_COMPONENTBUILDER_SNIPPET_URL_HINT"
|
||||
/>
|
||||
<!-- Type Field. Type: Snippettype. (custom) -->
|
||||
<!-- Type Field. Type: Modalselect. (custom) -->
|
||||
<field
|
||||
type="snippettype"
|
||||
type="ModalSelect"
|
||||
name="type"
|
||||
label="COM_COMPONENTBUILDER_SNIPPET_TYPE_LABEL"
|
||||
description="COM_COMPONENTBUILDER_SNIPPET_TYPE_DESCRIPTION"
|
||||
class="list_class"
|
||||
layout="joomla.form.field.list-fancy-select"
|
||||
multiple="false"
|
||||
sql_title_table="#__componentbuilder_snippet_type"
|
||||
sql_title_column="name"
|
||||
data-key-name="guid"
|
||||
sql_title_key="guid"
|
||||
urlSelect="index.php?option=com_componentbuilder&view=snippet_types&layout=modal&tmpl=component&titleKey=guid"
|
||||
urlNew="index.php?option=com_componentbuilder&task=snippet_type.add&layout=modal&tmpl=component"
|
||||
urlEdit="index.php?option=com_componentbuilder&task=snippet_type.edit&guid={id}&layout=modal&tmpl=component&titleKey=guid"
|
||||
titleSelect="COM_COMPONENTBUILDER_SNIPPET_TYPE_TITLESELECT"
|
||||
titleNew="COM_COMPONENTBUILDER_SNIPPET_TYPE_TITLENEW"
|
||||
titleEdit="COM_COMPONENTBUILDER_SNIPPET_TYPE_TITLEEDIT"
|
||||
iconSelect="icon-copy"
|
||||
select="true"
|
||||
new="true"
|
||||
edit="true"
|
||||
clear="true"
|
||||
required="true"
|
||||
class="input-large"
|
||||
description="COM_COMPONENTBUILDER_SNIPPET_TYPE_DESCRIPTION"
|
||||
hint="COM_COMPONENTBUILDER_SNIPPET_TYPE_HINT"
|
||||
/>
|
||||
<!-- Heading Field. Type: Text. (joomla) -->
|
||||
<field
|
||||
@ -154,18 +168,30 @@
|
||||
message="COM_COMPONENTBUILDER_SNIPPET_HEADING_MESSAGE"
|
||||
hint="COM_COMPONENTBUILDER_SNIPPET_HEADING_HINT"
|
||||
/>
|
||||
<!-- Library Field. Type: Library. (custom) -->
|
||||
<!-- Library Field. Type: Modalselect. (custom) -->
|
||||
<field
|
||||
type="library"
|
||||
type="ModalSelect"
|
||||
name="library"
|
||||
label="COM_COMPONENTBUILDER_SNIPPET_LIBRARY_LABEL"
|
||||
description="COM_COMPONENTBUILDER_SNIPPET_LIBRARY_DESCRIPTION"
|
||||
class="list_class"
|
||||
layout="joomla.form.field.list-fancy-select"
|
||||
multiple="false"
|
||||
default="0"
|
||||
sql_title_table="#__componentbuilder_library"
|
||||
sql_title_column="name"
|
||||
data-key-name="guid"
|
||||
sql_title_key="guid"
|
||||
urlSelect="index.php?option=com_componentbuilder&view=libraries&layout=modal&tmpl=component&titleKey=guid"
|
||||
urlNew="index.php?option=com_componentbuilder&task=library.add&layout=modal&tmpl=component"
|
||||
urlEdit="index.php?option=com_componentbuilder&task=library.edit&guid={id}&layout=modal&tmpl=component&titleKey=guid"
|
||||
titleSelect="COM_COMPONENTBUILDER_SNIPPET_LIBRARY_TITLESELECT"
|
||||
titleNew="COM_COMPONENTBUILDER_SNIPPET_LIBRARY_TITLENEW"
|
||||
titleEdit="COM_COMPONENTBUILDER_SNIPPET_LIBRARY_TITLEEDIT"
|
||||
iconSelect="icon-copy"
|
||||
select="true"
|
||||
new="true"
|
||||
edit="true"
|
||||
clear="true"
|
||||
required="true"
|
||||
button="true"
|
||||
class="input-large"
|
||||
description="COM_COMPONENTBUILDER_SNIPPET_LIBRARY_DESCRIPTION"
|
||||
hint="COM_COMPONENTBUILDER_SNIPPET_LIBRARY_HINT"
|
||||
/>
|
||||
<!-- Guid Field. Type: Text. (joomla) -->
|
||||
<field
|
||||
|
Reference in New Issue
Block a user