forked from joomla/Component-Builder
Added string manipulation back as a field building method, to insure JCB always works well accross shared server invironments. We did not remove the SimpleXMLElement method, but kept both options with a global selection option and internal error handeling. Resolved gh-197
This commit is contained in:
parent
e715fa1614
commit
42ae72d97e
@ -126,12 +126,12 @@ Component Builder is mapped as a component in itself on my local development env
|
||||
+ *Author*: [Llewellyn van der Merwe](mailto:llewellyn@joomlacomponentbuilder.com)
|
||||
+ *Name*: [Component Builder](http://joomlacomponentbuilder.com)
|
||||
+ *First Build*: 30th April, 2015
|
||||
+ *Last Build*: 11th March, 2018
|
||||
+ *Last Build*: 18th March, 2018
|
||||
+ *Version*: 2.6.18
|
||||
+ *Copyright*: Copyright (C) 2015. All Rights Reserved
|
||||
+ *License*: GNU/GPL Version 2 or later - http://www.gnu.org/licenses/gpl-2.0.html
|
||||
+ *Line count*: **183732**
|
||||
+ *Field count*: **1651**
|
||||
+ *Line count*: **186136**
|
||||
+ *Field count*: **994**
|
||||
+ *File count*: **1171**
|
||||
+ *Folder count*: **189**
|
||||
|
||||
|
@ -126,12 +126,12 @@ Component Builder is mapped as a component in itself on my local development env
|
||||
+ *Author*: [Llewellyn van der Merwe](mailto:llewellyn@joomlacomponentbuilder.com)
|
||||
+ *Name*: [Component Builder](http://joomlacomponentbuilder.com)
|
||||
+ *First Build*: 30th April, 2015
|
||||
+ *Last Build*: 11th March, 2018
|
||||
+ *Last Build*: 18th March, 2018
|
||||
+ *Version*: 2.6.18
|
||||
+ *Copyright*: Copyright (C) 2015. All Rights Reserved
|
||||
+ *License*: GNU/GPL Version 2 or later - http://www.gnu.org/licenses/gpl-2.0.html
|
||||
+ *Line count*: **183732**
|
||||
+ *Field count*: **1651**
|
||||
+ *Line count*: **186136**
|
||||
+ *Field count*: **994**
|
||||
+ *File count*: **1171**
|
||||
+ *Folder count*: **189**
|
||||
|
||||
|
686
admin/config.xml
686
admin/config.xml
@ -47,78 +47,113 @@
|
||||
/>
|
||||
<field type="spacer" name="spacerHistory" hr="true" />
|
||||
|
||||
<!-- Minify Field. Type: Radio. (joomla) -->
|
||||
<field type="radio"
|
||||
name="minify"
|
||||
label="COM_COMPONENTBUILDER_CONFIG_MINIFY_LABEL"
|
||||
description="COM_COMPONENTBUILDER_CONFIG_MINIFY_DESCRIPTION"
|
||||
class="btn-group btn-group-yesno"
|
||||
default="0">
|
||||
<!-- Option Set.-->
|
||||
<option value="1">COM_COMPONENTBUILDER_CONFIG_YES</option>
|
||||
<option value="0">COM_COMPONENTBUILDER_CONFIG_NO</option>
|
||||
</field>
|
||||
<!-- Percentagelanguageadd Field. Type: Number. (joomla) -->
|
||||
<field type="number"
|
||||
name="percentagelanguageadd"
|
||||
label="COM_COMPONENTBUILDER_CONFIG_PERCENTAGELANGUAGEADD_LABEL"
|
||||
default="50"
|
||||
description="COM_COMPONENTBUILDER_CONFIG_PERCENTAGELANGUAGEADD_DESCRIPTION"
|
||||
class="text_area"
|
||||
required="true"
|
||||
min="10"
|
||||
max="100"
|
||||
step="10" />
|
||||
<!-- Spacer_hr_one Field. Type: Spacer. A None Database Field. (joomla) -->
|
||||
<field type="spacer"
|
||||
name="spacer_hr_one"
|
||||
hr="true"
|
||||
class="spacer_hr_one" />
|
||||
<!-- Api Field. Type: User. (joomla) -->
|
||||
<field type="user"
|
||||
name="api"
|
||||
label="COM_COMPONENTBUILDER_CONFIG_API_LABEL"
|
||||
description="COM_COMPONENTBUILDER_CONFIG_API_DESCRIPTION" />
|
||||
<!-- Set_browser_storage Field. Type: Radio. (joomla) -->
|
||||
<field type="radio"
|
||||
name="set_browser_storage"
|
||||
label="COM_COMPONENTBUILDER_CONFIG_SET_BROWSER_STORAGE_LABEL"
|
||||
description="COM_COMPONENTBUILDER_CONFIG_SET_BROWSER_STORAGE_DESCRIPTION"
|
||||
class="btn-group btn-group-yesno"
|
||||
default="1"
|
||||
required="true">
|
||||
<!-- Option Set.-->
|
||||
<option value="1">COM_COMPONENTBUILDER_CONFIG_ACTIVE</option>
|
||||
<option value="0">COM_COMPONENTBUILDER_CONFIG_INACTIVE</option>
|
||||
</field>
|
||||
<!-- Storage_time_to_live Field. Type: List. (joomla) -->
|
||||
<field type="list"
|
||||
name="storage_time_to_live"
|
||||
label="COM_COMPONENTBUILDER_CONFIG_STORAGE_TIME_TO_LIVE_LABEL"
|
||||
description="COM_COMPONENTBUILDER_CONFIG_STORAGE_TIME_TO_LIVE_DESCRIPTION"
|
||||
class="list_class"
|
||||
multiple="false"
|
||||
default="global"
|
||||
showon="set_browser_storage:1">
|
||||
<!-- Option Set.-->
|
||||
<option value="global">COM_COMPONENTBUILDER_CONFIG_EVERY_SESSION</option>
|
||||
<option value="30">COM_COMPONENTBUILDER_CONFIG_EVERY_THIRTY_SECONDS</option>
|
||||
<option value="60">COM_COMPONENTBUILDER_CONFIG_EVERY_MINUTE</option>
|
||||
<option value="300">COM_COMPONENTBUILDER_CONFIG_EVERY_FIVE_MINUTES</option>
|
||||
<option value="900">COM_COMPONENTBUILDER_CONFIG_EVERY_FIFTEEN_MINUTES</option>
|
||||
<option value="1800">COM_COMPONENTBUILDER_CONFIG_EVERY_THIRTY_MINUTES</option>
|
||||
<option value="3600">COM_COMPONENTBUILDER_CONFIG_EVERY_HOUR</option>
|
||||
<option value="18000">COM_COMPONENTBUILDER_CONFIG_EVERY_FIVE_HOURS</option>
|
||||
<option value="36000">COM_COMPONENTBUILDER_CONFIG_EVERY_TEN_HOURS</option>
|
||||
<option value="86400">COM_COMPONENTBUILDER_CONFIG_EVERY_DAY</option>
|
||||
<option value="604800">COM_COMPONENTBUILDER_CONFIG_EVERY_WEEK</option>
|
||||
<option value="0">COM_COMPONENTBUILDER_CONFIG_NEVER_UPDATE</option>
|
||||
</field>
|
||||
<!-- Spacer_hr_two Field. Type: Spacer. A None Database Field. (joomla) -->
|
||||
<field type="spacer"
|
||||
name="spacer_hr_two"
|
||||
hr="true"
|
||||
class="spacer_hr_two" />
|
||||
<!-- Minify Field. Type: Radio. (joomla) -->
|
||||
<field
|
||||
type="radio"
|
||||
name="minify"
|
||||
label="COM_COMPONENTBUILDER_CONFIG_MINIFY_LABEL"
|
||||
description="COM_COMPONENTBUILDER_CONFIG_MINIFY_DESCRIPTION"
|
||||
class="btn-group btn-group-yesno"
|
||||
default="0">
|
||||
<!-- Option Set. -->
|
||||
<option value="1">
|
||||
COM_COMPONENTBUILDER_CONFIG_YES</option>
|
||||
<option value="0">
|
||||
COM_COMPONENTBUILDER_CONFIG_NO</option>
|
||||
</field>
|
||||
<!-- Percentagelanguageadd Field. Type: Number. (joomla) -->
|
||||
<field
|
||||
type="number"
|
||||
name="percentagelanguageadd"
|
||||
label="COM_COMPONENTBUILDER_CONFIG_PERCENTAGELANGUAGEADD_LABEL"
|
||||
default="50"
|
||||
description="COM_COMPONENTBUILDER_CONFIG_PERCENTAGELANGUAGEADD_DESCRIPTION"
|
||||
class="text_area"
|
||||
required="true"
|
||||
min="10"
|
||||
max="100"
|
||||
step="10"
|
||||
/>
|
||||
<!-- Spacer_hr_one Field. Type: Spacer. A None Database Field. (joomla) -->
|
||||
<field type="spacer" name="spacer_hr_one" hr="true" class="spacer_hr_one" />
|
||||
<!-- Compiler_field_builder_type Field. Type: List. (joomla) -->
|
||||
<field
|
||||
type="list"
|
||||
name="compiler_field_builder_type"
|
||||
label="COM_COMPONENTBUILDER_CONFIG_COMPILER_FIELD_BUILDER_TYPE_LABEL"
|
||||
description="COM_COMPONENTBUILDER_CONFIG_COMPILER_FIELD_BUILDER_TYPE_DESCRIPTION"
|
||||
class="list_class"
|
||||
filter="INT"
|
||||
required="true"
|
||||
default="2">
|
||||
<!-- Option Set. -->
|
||||
<option value="1">
|
||||
COM_COMPONENTBUILDER_CONFIG_STRING_MANIPULATION</option>
|
||||
<option value="2">
|
||||
COM_COMPONENTBUILDER_CONFIG_SIMPLEXMLELEMENT_CLASS</option>
|
||||
</field>
|
||||
<!-- Spacer_hr_two Field. Type: Spacer. A None Database Field. (joomla) -->
|
||||
<field type="spacer" name="spacer_hr_two" hr="true" class="spacer_hr_two" />
|
||||
<!-- Api Field. Type: User. (joomla) -->
|
||||
<field
|
||||
type="user"
|
||||
name="api"
|
||||
label="COM_COMPONENTBUILDER_CONFIG_API_LABEL"
|
||||
description="COM_COMPONENTBUILDER_CONFIG_API_DESCRIPTION"
|
||||
/>
|
||||
<!-- Set_browser_storage Field. Type: Radio. (joomla) -->
|
||||
<field
|
||||
type="radio"
|
||||
name="set_browser_storage"
|
||||
label="COM_COMPONENTBUILDER_CONFIG_SET_BROWSER_STORAGE_LABEL"
|
||||
description="COM_COMPONENTBUILDER_CONFIG_SET_BROWSER_STORAGE_DESCRIPTION"
|
||||
class="btn-group btn-group-yesno"
|
||||
default="1"
|
||||
required="true">
|
||||
<!-- Option Set. -->
|
||||
<option value="1">
|
||||
COM_COMPONENTBUILDER_CONFIG_ACTIVE</option>
|
||||
<option value="0">
|
||||
COM_COMPONENTBUILDER_CONFIG_INACTIVE</option>
|
||||
</field>
|
||||
<!-- Storage_time_to_live Field. Type: List. (joomla) -->
|
||||
<field
|
||||
type="list"
|
||||
name="storage_time_to_live"
|
||||
label="COM_COMPONENTBUILDER_CONFIG_STORAGE_TIME_TO_LIVE_LABEL"
|
||||
description="COM_COMPONENTBUILDER_CONFIG_STORAGE_TIME_TO_LIVE_DESCRIPTION"
|
||||
class="list_class"
|
||||
multiple="false"
|
||||
default="global"
|
||||
showon="set_browser_storage:1">
|
||||
<!-- Option Set. -->
|
||||
<option value="global">
|
||||
COM_COMPONENTBUILDER_CONFIG_EVERY_SESSION</option>
|
||||
<option value="30">
|
||||
COM_COMPONENTBUILDER_CONFIG_EVERY_THIRTY_SECONDS</option>
|
||||
<option value="60">
|
||||
COM_COMPONENTBUILDER_CONFIG_EVERY_MINUTE</option>
|
||||
<option value="300">
|
||||
COM_COMPONENTBUILDER_CONFIG_EVERY_FIVE_MINUTES</option>
|
||||
<option value="900">
|
||||
COM_COMPONENTBUILDER_CONFIG_EVERY_FIFTEEN_MINUTES</option>
|
||||
<option value="1800">
|
||||
COM_COMPONENTBUILDER_CONFIG_EVERY_THIRTY_MINUTES</option>
|
||||
<option value="3600">
|
||||
COM_COMPONENTBUILDER_CONFIG_EVERY_HOUR</option>
|
||||
<option value="18000">
|
||||
COM_COMPONENTBUILDER_CONFIG_EVERY_FIVE_HOURS</option>
|
||||
<option value="36000">
|
||||
COM_COMPONENTBUILDER_CONFIG_EVERY_TEN_HOURS</option>
|
||||
<option value="86400">
|
||||
COM_COMPONENTBUILDER_CONFIG_EVERY_DAY</option>
|
||||
<option value="604800">
|
||||
COM_COMPONENTBUILDER_CONFIG_EVERY_WEEK</option>
|
||||
<option value="0">
|
||||
COM_COMPONENTBUILDER_CONFIG_NEVER_UPDATE</option>
|
||||
</field>
|
||||
<!-- Spacer_hr_three Field. Type: Spacer. A None Database Field. (joomla) -->
|
||||
<field type="spacer" name="spacer_hr_three" hr="true" class="spacer_hr_three" />
|
||||
<field name="autorTitle"
|
||||
type="spacer"
|
||||
label="COM_COMPONENTBUILDER_CONFIG_AUTHOR"
|
||||
@ -540,268 +575,271 @@
|
||||
name="cronjob_custom_config"
|
||||
label="COM_COMPONENTBUILDER_CONFIG_CRONJOB">
|
||||
|
||||
<!-- Backupcronjob_note Field. Type: Note. A None Database Field. (joomla) -->
|
||||
<field type="note"
|
||||
name="backupcronjob_note"
|
||||
label="COM_COMPONENTBUILDER_CONFIG_BACKUPCRONJOB_NOTE_LABEL"
|
||||
description="COM_COMPONENTBUILDER_CONFIG_BACKUPCRONJOB_NOTE_DESCRIPTION"
|
||||
heading="h4"
|
||||
class="backupcronjob_note" />
|
||||
<!-- Cronjob_backup_type Field. Type: Radio. (joomla) -->
|
||||
<field type="radio"
|
||||
name="cronjob_backup_type"
|
||||
label="COM_COMPONENTBUILDER_CONFIG_CRONJOB_BACKUP_TYPE_LABEL"
|
||||
description="COM_COMPONENTBUILDER_CONFIG_CRONJOB_BACKUP_TYPE_DESCRIPTION"
|
||||
class="btn-group btn-group-yesno"
|
||||
default="1">
|
||||
<!-- Option Set.-->
|
||||
<option value="1">COM_COMPONENTBUILDER_CONFIG_LOCAL_FOLDER</option>
|
||||
<option value="2">COM_COMPONENTBUILDER_CONFIG_REMOTE_SERVER</option>
|
||||
</field>
|
||||
<!-- Cronjob_backup_server Field. Type: Servers. (custom) -->
|
||||
<field type="servers"
|
||||
name="cronjob_backup_server"
|
||||
label="COM_COMPONENTBUILDER_CONFIG_CRONJOB_BACKUP_SERVER_LABEL"
|
||||
description="COM_COMPONENTBUILDER_CONFIG_CRONJOB_BACKUP_SERVER_DESCRIPTION"
|
||||
class="list_class"
|
||||
multiple="false"
|
||||
default="0"
|
||||
showon="cronjob_backup_type:2"
|
||||
button="true" />
|
||||
<!-- Cronjob_backup_folder_path Field. Type: Text. (joomla) -->
|
||||
<field type="text"
|
||||
name="cronjob_backup_folder_path"
|
||||
label="COM_COMPONENTBUILDER_CONFIG_CRONJOB_BACKUP_FOLDER_PATH_LABEL"
|
||||
size="70"
|
||||
maxlength="150"
|
||||
description="COM_COMPONENTBUILDER_CONFIG_CRONJOB_BACKUP_FOLDER_PATH_DESCRIPTION"
|
||||
class="text_area"
|
||||
readonly="false"
|
||||
disabled="false"
|
||||
required="false"
|
||||
filter="PATH"
|
||||
message="COM_COMPONENTBUILDER_CONFIG_CRONJOB_BACKUP_FOLDER_PATH_MESSAGE"
|
||||
hint="COM_COMPONENTBUILDER_CONFIG_CRONJOB_BACKUP_FOLDER_PATH_HINT"
|
||||
showon="cronjob_backup_type:1" />
|
||||
<!-- Backup_email Field. Type: Text. (joomla) -->
|
||||
<field type="text"
|
||||
name="backup_email"
|
||||
label="COM_COMPONENTBUILDER_CONFIG_BACKUP_EMAIL_LABEL"
|
||||
size="10"
|
||||
maxlength="50"
|
||||
description="COM_COMPONENTBUILDER_CONFIG_BACKUP_EMAIL_DESCRIPTION"
|
||||
class="text_area"
|
||||
filter="STRING"
|
||||
validate="email"
|
||||
message="COM_COMPONENTBUILDER_CONFIG_BACKUP_EMAIL_MESSAGE"
|
||||
hint="COM_COMPONENTBUILDER_CONFIG_BACKUP_EMAIL_HINT" />
|
||||
<!-- Package_name_plaeholders Field. Type: Note. A None Database Field. (joomla) -->
|
||||
<field type="note"
|
||||
name="package_name_plaeholders"
|
||||
label="COM_COMPONENTBUILDER_CONFIG_PACKAGE_NAME_PLAEHOLDERS_LABEL"
|
||||
description="COM_COMPONENTBUILDER_CONFIG_PACKAGE_NAME_PLAEHOLDERS_DESCRIPTION"
|
||||
heading="h4"
|
||||
class="package_name_plaeholders" />
|
||||
<!-- Backup_package_name Field. Type: Text. (joomla) -->
|
||||
<field type="text"
|
||||
name="backup_package_name"
|
||||
label="COM_COMPONENTBUILDER_CONFIG_BACKUP_PACKAGE_NAME_LABEL"
|
||||
size="40"
|
||||
maxlength="150"
|
||||
default="JCB_Backup_[YEAR]_[MONTH]_[DAY]"
|
||||
description="COM_COMPONENTBUILDER_CONFIG_BACKUP_PACKAGE_NAME_DESCRIPTION"
|
||||
class="text_area"
|
||||
readonly="false"
|
||||
disabled="false"
|
||||
required="true"
|
||||
filter="STRING"
|
||||
message="COM_COMPONENTBUILDER_CONFIG_BACKUP_PACKAGE_NAME_MESSAGE"
|
||||
hint="COM_COMPONENTBUILDER_CONFIG_BACKUP_PACKAGE_NAME_HINT" />
|
||||
<!-- Backupcronjob_note Field. Type: Note. A None Database Field. (joomla) -->
|
||||
<field type="note" name="backupcronjob_note" label="COM_COMPONENTBUILDER_CONFIG_BACKUPCRONJOB_NOTE_LABEL" description="COM_COMPONENTBUILDER_CONFIG_BACKUPCRONJOB_NOTE_DESCRIPTION" heading="h4" class="backupcronjob_note" />
|
||||
<!-- Cronjob_backup_type Field. Type: Radio. (joomla) -->
|
||||
<field
|
||||
type="radio"
|
||||
name="cronjob_backup_type"
|
||||
label="COM_COMPONENTBUILDER_CONFIG_CRONJOB_BACKUP_TYPE_LABEL"
|
||||
description="COM_COMPONENTBUILDER_CONFIG_CRONJOB_BACKUP_TYPE_DESCRIPTION"
|
||||
class="btn-group btn-group-yesno"
|
||||
default="1">
|
||||
<!-- Option Set. -->
|
||||
<option value="1">
|
||||
COM_COMPONENTBUILDER_CONFIG_LOCAL_FOLDER</option>
|
||||
<option value="2">
|
||||
COM_COMPONENTBUILDER_CONFIG_REMOTE_SERVER</option>
|
||||
</field>
|
||||
<!-- Cronjob_backup_server Field. Type: Servers. (custom) -->
|
||||
<field
|
||||
type="servers"
|
||||
name="cronjob_backup_server"
|
||||
label="COM_COMPONENTBUILDER_CONFIG_CRONJOB_BACKUP_SERVER_LABEL"
|
||||
description="COM_COMPONENTBUILDER_CONFIG_CRONJOB_BACKUP_SERVER_DESCRIPTION"
|
||||
class="list_class"
|
||||
multiple="false"
|
||||
default="0"
|
||||
showon="cronjob_backup_type:2"
|
||||
button="true"
|
||||
/>
|
||||
<!-- Cronjob_backup_folder_path Field. Type: Text. (joomla) -->
|
||||
<field
|
||||
type="text"
|
||||
name="cronjob_backup_folder_path"
|
||||
label="COM_COMPONENTBUILDER_CONFIG_CRONJOB_BACKUP_FOLDER_PATH_LABEL"
|
||||
size="70"
|
||||
maxlength="150"
|
||||
description="COM_COMPONENTBUILDER_CONFIG_CRONJOB_BACKUP_FOLDER_PATH_DESCRIPTION"
|
||||
class="text_area"
|
||||
readonly="false"
|
||||
disabled="false"
|
||||
required="false"
|
||||
filter="PATH"
|
||||
message="COM_COMPONENTBUILDER_CONFIG_CRONJOB_BACKUP_FOLDER_PATH_MESSAGE"
|
||||
hint="COM_COMPONENTBUILDER_CONFIG_CRONJOB_BACKUP_FOLDER_PATH_HINT"
|
||||
showon="cronjob_backup_type:1"
|
||||
/>
|
||||
<!-- Backup_email Field. Type: Text. (joomla) -->
|
||||
<field
|
||||
type="text"
|
||||
name="backup_email"
|
||||
label="COM_COMPONENTBUILDER_CONFIG_BACKUP_EMAIL_LABEL"
|
||||
size="10"
|
||||
maxlength="50"
|
||||
description="COM_COMPONENTBUILDER_CONFIG_BACKUP_EMAIL_DESCRIPTION"
|
||||
class="text_area"
|
||||
filter="STRING"
|
||||
validate="email"
|
||||
message="COM_COMPONENTBUILDER_CONFIG_BACKUP_EMAIL_MESSAGE"
|
||||
hint="COM_COMPONENTBUILDER_CONFIG_BACKUP_EMAIL_HINT"
|
||||
/>
|
||||
<!-- Package_name_plaeholders Field. Type: Note. A None Database Field. (joomla) -->
|
||||
<field type="note" name="package_name_plaeholders" label="COM_COMPONENTBUILDER_CONFIG_PACKAGE_NAME_PLAEHOLDERS_LABEL" description="COM_COMPONENTBUILDER_CONFIG_PACKAGE_NAME_PLAEHOLDERS_DESCRIPTION" heading="h4" class="package_name_plaeholders" />
|
||||
<!-- Backup_package_name Field. Type: Text. (joomla) -->
|
||||
<field
|
||||
type="text"
|
||||
name="backup_package_name"
|
||||
label="COM_COMPONENTBUILDER_CONFIG_BACKUP_PACKAGE_NAME_LABEL"
|
||||
size="40"
|
||||
maxlength="150"
|
||||
default="JCB_Backup_[YEAR]_[MONTH]_[DAY]"
|
||||
description="COM_COMPONENTBUILDER_CONFIG_BACKUP_PACKAGE_NAME_DESCRIPTION"
|
||||
class="text_area"
|
||||
readonly="false"
|
||||
disabled="false"
|
||||
required="true"
|
||||
filter="STRING"
|
||||
message="COM_COMPONENTBUILDER_CONFIG_BACKUP_PACKAGE_NAME_MESSAGE"
|
||||
hint="COM_COMPONENTBUILDER_CONFIG_BACKUP_PACKAGE_NAME_HINT"
|
||||
/>
|
||||
</fieldset>
|
||||
<fieldset
|
||||
name="folder_paths_custom_config"
|
||||
label="COM_COMPONENTBUILDER_CONFIG_FOLDER_PATHS">
|
||||
|
||||
<!-- Note_compiler_folder_path Field. Type: Note. A None Database Field. (joomla) -->
|
||||
<field type="note"
|
||||
name="note_compiler_folder_path"
|
||||
label="COM_COMPONENTBUILDER_CONFIG_NOTE_COMPILER_FOLDER_PATH_LABEL"
|
||||
description="COM_COMPONENTBUILDER_CONFIG_NOTE_COMPILER_FOLDER_PATH_DESCRIPTION"
|
||||
heading="h4"
|
||||
class="alert alert-info note_compiler_folder_path" />
|
||||
<!-- Compiler_folder_path Field. Type: Text. (joomla) -->
|
||||
<field type="text"
|
||||
name="compiler_folder_path"
|
||||
label="COM_COMPONENTBUILDER_CONFIG_COMPILER_FOLDER_PATH_LABEL"
|
||||
size="70"
|
||||
maxlength="150"
|
||||
description="COM_COMPONENTBUILDER_CONFIG_COMPILER_FOLDER_PATH_DESCRIPTION"
|
||||
class="text_area"
|
||||
readonly="false"
|
||||
disabled="false"
|
||||
required="false"
|
||||
filter="PATH"
|
||||
message="COM_COMPONENTBUILDER_CONFIG_COMPILER_FOLDER_PATH_MESSAGE"
|
||||
hint="COM_COMPONENTBUILDER_CONFIG_COMPILER_FOLDER_PATH_HINT" />
|
||||
<!-- Note_custom_folder_path Field. Type: Note. A None Database Field. (joomla) -->
|
||||
<field type="note"
|
||||
name="note_custom_folder_path"
|
||||
label="COM_COMPONENTBUILDER_CONFIG_NOTE_CUSTOM_FOLDER_PATH_LABEL"
|
||||
description="COM_COMPONENTBUILDER_CONFIG_NOTE_CUSTOM_FOLDER_PATH_DESCRIPTION"
|
||||
heading="h4"
|
||||
class="alert alert-info note_custom_folder_path" />
|
||||
<!-- Custom_folder_path Field. Type: Text. (joomla) -->
|
||||
<field type="text"
|
||||
name="custom_folder_path"
|
||||
label="COM_COMPONENTBUILDER_CONFIG_CUSTOM_FOLDER_PATH_LABEL"
|
||||
size="70"
|
||||
maxlength="150"
|
||||
description="COM_COMPONENTBUILDER_CONFIG_CUSTOM_FOLDER_PATH_DESCRIPTION"
|
||||
class="text_area"
|
||||
readonly="false"
|
||||
disabled="false"
|
||||
required="false"
|
||||
filter="PATH"
|
||||
message="COM_COMPONENTBUILDER_CONFIG_CUSTOM_FOLDER_PATH_MESSAGE"
|
||||
hint="COM_COMPONENTBUILDER_CONFIG_CUSTOM_FOLDER_PATH_HINT" />
|
||||
<!-- Note_backup_folder_path Field. Type: Note. A None Database Field. (joomla) -->
|
||||
<field type="note"
|
||||
name="note_backup_folder_path"
|
||||
label="COM_COMPONENTBUILDER_CONFIG_NOTE_BACKUP_FOLDER_PATH_LABEL"
|
||||
description="COM_COMPONENTBUILDER_CONFIG_NOTE_BACKUP_FOLDER_PATH_DESCRIPTION"
|
||||
heading="h4"
|
||||
class="alert alert-info note_backup_folder_path" />
|
||||
<!-- Backup_folder_path Field. Type: Text. (joomla) -->
|
||||
<field type="text"
|
||||
name="backup_folder_path"
|
||||
label="COM_COMPONENTBUILDER_CONFIG_BACKUP_FOLDER_PATH_LABEL"
|
||||
size="70"
|
||||
maxlength="150"
|
||||
description="COM_COMPONENTBUILDER_CONFIG_BACKUP_FOLDER_PATH_DESCRIPTION"
|
||||
class="text_area"
|
||||
readonly="false"
|
||||
disabled="false"
|
||||
required="false"
|
||||
filter="PATH"
|
||||
message="COM_COMPONENTBUILDER_CONFIG_BACKUP_FOLDER_PATH_MESSAGE"
|
||||
hint="COM_COMPONENTBUILDER_CONFIG_BACKUP_FOLDER_PATH_HINT" />
|
||||
<!-- Note_git_folder_path Field. Type: Note. A None Database Field. (joomla) -->
|
||||
<field type="note"
|
||||
name="note_git_folder_path"
|
||||
label="COM_COMPONENTBUILDER_CONFIG_NOTE_GIT_FOLDER_PATH_LABEL"
|
||||
description="COM_COMPONENTBUILDER_CONFIG_NOTE_GIT_FOLDER_PATH_DESCRIPTION"
|
||||
heading="h4"
|
||||
class="alert alert-info note_git_folder_path" />
|
||||
<!-- Git_folder_path Field. Type: Text. (joomla) -->
|
||||
<field type="text"
|
||||
name="git_folder_path"
|
||||
label="COM_COMPONENTBUILDER_CONFIG_GIT_FOLDER_PATH_LABEL"
|
||||
size="70"
|
||||
maxlength="150"
|
||||
description="COM_COMPONENTBUILDER_CONFIG_GIT_FOLDER_PATH_DESCRIPTION"
|
||||
class="text_area"
|
||||
readonly="false"
|
||||
disabled="false"
|
||||
required="false"
|
||||
filter="PATH"
|
||||
message="COM_COMPONENTBUILDER_CONFIG_GIT_FOLDER_PATH_MESSAGE"
|
||||
hint="COM_COMPONENTBUILDER_CONFIG_GIT_FOLDER_PATH_HINT" />
|
||||
<!-- Note_compiler_folder_path Field. Type: Note. A None Database Field. (joomla) -->
|
||||
<field type="note" name="note_compiler_folder_path" label="COM_COMPONENTBUILDER_CONFIG_NOTE_COMPILER_FOLDER_PATH_LABEL" description="COM_COMPONENTBUILDER_CONFIG_NOTE_COMPILER_FOLDER_PATH_DESCRIPTION" heading="h4" class="alert alert-info note_compiler_folder_path" />
|
||||
<!-- Compiler_folder_path Field. Type: Text. (joomla) -->
|
||||
<field
|
||||
type="text"
|
||||
name="compiler_folder_path"
|
||||
label="COM_COMPONENTBUILDER_CONFIG_COMPILER_FOLDER_PATH_LABEL"
|
||||
size="70"
|
||||
maxlength="150"
|
||||
description="COM_COMPONENTBUILDER_CONFIG_COMPILER_FOLDER_PATH_DESCRIPTION"
|
||||
class="text_area"
|
||||
readonly="false"
|
||||
disabled="false"
|
||||
required="false"
|
||||
filter="PATH"
|
||||
message="COM_COMPONENTBUILDER_CONFIG_COMPILER_FOLDER_PATH_MESSAGE"
|
||||
hint="COM_COMPONENTBUILDER_CONFIG_COMPILER_FOLDER_PATH_HINT"
|
||||
/>
|
||||
<!-- Note_custom_folder_path Field. Type: Note. A None Database Field. (joomla) -->
|
||||
<field type="note" name="note_custom_folder_path" label="COM_COMPONENTBUILDER_CONFIG_NOTE_CUSTOM_FOLDER_PATH_LABEL" description="COM_COMPONENTBUILDER_CONFIG_NOTE_CUSTOM_FOLDER_PATH_DESCRIPTION" heading="h4" class="alert alert-info note_custom_folder_path" />
|
||||
<!-- Custom_folder_path Field. Type: Text. (joomla) -->
|
||||
<field
|
||||
type="text"
|
||||
name="custom_folder_path"
|
||||
label="COM_COMPONENTBUILDER_CONFIG_CUSTOM_FOLDER_PATH_LABEL"
|
||||
size="70"
|
||||
maxlength="150"
|
||||
description="COM_COMPONENTBUILDER_CONFIG_CUSTOM_FOLDER_PATH_DESCRIPTION"
|
||||
class="text_area"
|
||||
readonly="false"
|
||||
disabled="false"
|
||||
required="false"
|
||||
filter="PATH"
|
||||
message="COM_COMPONENTBUILDER_CONFIG_CUSTOM_FOLDER_PATH_MESSAGE"
|
||||
hint="COM_COMPONENTBUILDER_CONFIG_CUSTOM_FOLDER_PATH_HINT"
|
||||
/>
|
||||
<!-- Note_backup_folder_path Field. Type: Note. A None Database Field. (joomla) -->
|
||||
<field type="note" name="note_backup_folder_path" label="COM_COMPONENTBUILDER_CONFIG_NOTE_BACKUP_FOLDER_PATH_LABEL" description="COM_COMPONENTBUILDER_CONFIG_NOTE_BACKUP_FOLDER_PATH_DESCRIPTION" heading="h4" class="alert alert-info note_backup_folder_path" />
|
||||
<!-- Backup_folder_path Field. Type: Text. (joomla) -->
|
||||
<field
|
||||
type="text"
|
||||
name="backup_folder_path"
|
||||
label="COM_COMPONENTBUILDER_CONFIG_BACKUP_FOLDER_PATH_LABEL"
|
||||
size="70"
|
||||
maxlength="150"
|
||||
description="COM_COMPONENTBUILDER_CONFIG_BACKUP_FOLDER_PATH_DESCRIPTION"
|
||||
class="text_area"
|
||||
readonly="false"
|
||||
disabled="false"
|
||||
required="false"
|
||||
filter="PATH"
|
||||
message="COM_COMPONENTBUILDER_CONFIG_BACKUP_FOLDER_PATH_MESSAGE"
|
||||
hint="COM_COMPONENTBUILDER_CONFIG_BACKUP_FOLDER_PATH_HINT"
|
||||
/>
|
||||
<!-- Note_git_folder_path Field. Type: Note. A None Database Field. (joomla) -->
|
||||
<field type="note" name="note_git_folder_path" label="COM_COMPONENTBUILDER_CONFIG_NOTE_GIT_FOLDER_PATH_LABEL" description="COM_COMPONENTBUILDER_CONFIG_NOTE_GIT_FOLDER_PATH_DESCRIPTION" heading="h4" class="alert alert-info note_git_folder_path" />
|
||||
<!-- Git_folder_path Field. Type: Text. (joomla) -->
|
||||
<field
|
||||
type="text"
|
||||
name="git_folder_path"
|
||||
label="COM_COMPONENTBUILDER_CONFIG_GIT_FOLDER_PATH_LABEL"
|
||||
size="70"
|
||||
maxlength="150"
|
||||
description="COM_COMPONENTBUILDER_CONFIG_GIT_FOLDER_PATH_DESCRIPTION"
|
||||
class="text_area"
|
||||
readonly="false"
|
||||
disabled="false"
|
||||
required="false"
|
||||
filter="PATH"
|
||||
message="COM_COMPONENTBUILDER_CONFIG_GIT_FOLDER_PATH_MESSAGE"
|
||||
hint="COM_COMPONENTBUILDER_CONFIG_GIT_FOLDER_PATH_HINT"
|
||||
/>
|
||||
</fieldset>
|
||||
<fieldset
|
||||
name="company_custom_config"
|
||||
label="COM_COMPONENTBUILDER_CONFIG_COMPANY">
|
||||
|
||||
<!-- Export_company Field. Type: Text. (joomla) -->
|
||||
<field type="text"
|
||||
name="export_company"
|
||||
label="COM_COMPONENTBUILDER_CONFIG_EXPORT_COMPANY_LABEL"
|
||||
size="40"
|
||||
maxlength="150"
|
||||
description="COM_COMPONENTBUILDER_CONFIG_EXPORT_COMPANY_DESCRIPTION"
|
||||
class="text_area"
|
||||
readonly="false"
|
||||
disabled="false"
|
||||
required="true"
|
||||
filter="STRING"
|
||||
message="COM_COMPONENTBUILDER_CONFIG_EXPORT_COMPANY_MESSAGE"
|
||||
hint="COM_COMPONENTBUILDER_CONFIG_EXPORT_COMPANY_HINT" />
|
||||
<!-- Export_owner Field. Type: Text. (joomla) -->
|
||||
<field type="text"
|
||||
name="export_owner"
|
||||
label="COM_COMPONENTBUILDER_CONFIG_EXPORT_OWNER_LABEL"
|
||||
size="10"
|
||||
maxlength="120"
|
||||
description="COM_COMPONENTBUILDER_CONFIG_EXPORT_OWNER_DESCRIPTION"
|
||||
class="text_area"
|
||||
readonly="false"
|
||||
disabled="false"
|
||||
required="true"
|
||||
filter="HTML"
|
||||
message="COM_COMPONENTBUILDER_CONFIG_EXPORT_OWNER_MESSAGE"
|
||||
hint="COM_COMPONENTBUILDER_CONFIG_EXPORT_OWNER_HINT" />
|
||||
<!-- Export_email Field. Type: Text. (joomla) -->
|
||||
<field type="text"
|
||||
name="export_email"
|
||||
label="COM_COMPONENTBUILDER_CONFIG_EXPORT_EMAIL_LABEL"
|
||||
size="40"
|
||||
maxlength="150"
|
||||
description="COM_COMPONENTBUILDER_CONFIG_EXPORT_EMAIL_DESCRIPTION"
|
||||
class="text_area"
|
||||
required="true"
|
||||
filter="STRING"
|
||||
validate="email"
|
||||
message="COM_COMPONENTBUILDER_CONFIG_EXPORT_EMAIL_MESSAGE"
|
||||
hint="COM_COMPONENTBUILDER_CONFIG_EXPORT_EMAIL_HINT" />
|
||||
<!-- Export_website Field. Type: Url. (joomla) -->
|
||||
<field type="url"
|
||||
name="export_website"
|
||||
label="COM_COMPONENTBUILDER_CONFIG_EXPORT_WEBSITE_LABEL"
|
||||
size="60"
|
||||
maxlength="150"
|
||||
description="COM_COMPONENTBUILDER_CONFIG_EXPORT_WEBSITE_DESCRIPTION"
|
||||
class="text_area"
|
||||
required="true"
|
||||
filter="url"
|
||||
validated="url"
|
||||
message="COM_COMPONENTBUILDER_CONFIG_EXPORT_WEBSITE_MESSAGE"
|
||||
hint="COM_COMPONENTBUILDER_CONFIG_EXPORT_WEBSITE_HINT" />
|
||||
<!-- Export_license Field. Type: Textarea. (joomla) -->
|
||||
<field type="textarea"
|
||||
name="export_license"
|
||||
label="COM_COMPONENTBUILDER_CONFIG_EXPORT_LICENSE_LABEL"
|
||||
rows="7"
|
||||
cols="10"
|
||||
default="GNU/GPL Version 2 or later - http://www.gnu.org/licenses/gpl-2.0.html"
|
||||
description="COM_COMPONENTBUILDER_CONFIG_EXPORT_LICENSE_DESCRIPTION"
|
||||
class="text_area span12"
|
||||
filter="HTML"
|
||||
hint="COM_COMPONENTBUILDER_CONFIG_EXPORT_LICENSE_HINT"
|
||||
required="true" />
|
||||
<!-- Export_copyright Field. Type: Textarea. (joomla) -->
|
||||
<field type="textarea"
|
||||
name="export_copyright"
|
||||
label="COM_COMPONENTBUILDER_CONFIG_EXPORT_COPYRIGHT_LABEL"
|
||||
rows="7"
|
||||
cols="10"
|
||||
default="Copyright (C) 2015. All Rights Reserved"
|
||||
description="COM_COMPONENTBUILDER_CONFIG_EXPORT_COPYRIGHT_DESCRIPTION"
|
||||
class="text_area span12"
|
||||
filter="HTML"
|
||||
hint="COM_COMPONENTBUILDER_CONFIG_EXPORT_COPYRIGHT_HINT"
|
||||
required="true" />
|
||||
<!-- Export_buy_link Field. Type: Url. (joomla) -->
|
||||
<field type="url"
|
||||
name="export_buy_link"
|
||||
label="COM_COMPONENTBUILDER_CONFIG_EXPORT_BUY_LINK_LABEL"
|
||||
size="60"
|
||||
maxlength="150"
|
||||
description="COM_COMPONENTBUILDER_CONFIG_EXPORT_BUY_LINK_DESCRIPTION"
|
||||
class="text_area"
|
||||
required="false"
|
||||
filter="url"
|
||||
validated="url"
|
||||
message="COM_COMPONENTBUILDER_CONFIG_EXPORT_BUY_LINK_MESSAGE"
|
||||
hint="COM_COMPONENTBUILDER_CONFIG_EXPORT_BUY_LINK_HINT" />
|
||||
<!-- Export_company Field. Type: Text. (joomla) -->
|
||||
<field
|
||||
type="text"
|
||||
name="export_company"
|
||||
label="COM_COMPONENTBUILDER_CONFIG_EXPORT_COMPANY_LABEL"
|
||||
size="40"
|
||||
maxlength="150"
|
||||
description="COM_COMPONENTBUILDER_CONFIG_EXPORT_COMPANY_DESCRIPTION"
|
||||
class="text_area"
|
||||
readonly="false"
|
||||
disabled="false"
|
||||
required="true"
|
||||
filter="STRING"
|
||||
message="COM_COMPONENTBUILDER_CONFIG_EXPORT_COMPANY_MESSAGE"
|
||||
hint="COM_COMPONENTBUILDER_CONFIG_EXPORT_COMPANY_HINT"
|
||||
/>
|
||||
<!-- Export_owner Field. Type: Text. (joomla) -->
|
||||
<field
|
||||
type="text"
|
||||
name="export_owner"
|
||||
label="COM_COMPONENTBUILDER_CONFIG_EXPORT_OWNER_LABEL"
|
||||
size="10"
|
||||
maxlength="120"
|
||||
description="COM_COMPONENTBUILDER_CONFIG_EXPORT_OWNER_DESCRIPTION"
|
||||
class="text_area"
|
||||
readonly="false"
|
||||
disabled="false"
|
||||
required="true"
|
||||
filter="HTML"
|
||||
message="COM_COMPONENTBUILDER_CONFIG_EXPORT_OWNER_MESSAGE"
|
||||
hint="COM_COMPONENTBUILDER_CONFIG_EXPORT_OWNER_HINT"
|
||||
/>
|
||||
<!-- Export_email Field. Type: Text. (joomla) -->
|
||||
<field
|
||||
type="text"
|
||||
name="export_email"
|
||||
label="COM_COMPONENTBUILDER_CONFIG_EXPORT_EMAIL_LABEL"
|
||||
size="40"
|
||||
maxlength="150"
|
||||
description="COM_COMPONENTBUILDER_CONFIG_EXPORT_EMAIL_DESCRIPTION"
|
||||
class="text_area"
|
||||
required="true"
|
||||
filter="STRING"
|
||||
validate="email"
|
||||
message="COM_COMPONENTBUILDER_CONFIG_EXPORT_EMAIL_MESSAGE"
|
||||
hint="COM_COMPONENTBUILDER_CONFIG_EXPORT_EMAIL_HINT"
|
||||
/>
|
||||
<!-- Export_website Field. Type: Url. (joomla) -->
|
||||
<field
|
||||
type="url"
|
||||
name="export_website"
|
||||
label="COM_COMPONENTBUILDER_CONFIG_EXPORT_WEBSITE_LABEL"
|
||||
size="60"
|
||||
maxlength="150"
|
||||
description="COM_COMPONENTBUILDER_CONFIG_EXPORT_WEBSITE_DESCRIPTION"
|
||||
class="text_area"
|
||||
required="true"
|
||||
filter="url"
|
||||
validated="url"
|
||||
message="COM_COMPONENTBUILDER_CONFIG_EXPORT_WEBSITE_MESSAGE"
|
||||
hint="COM_COMPONENTBUILDER_CONFIG_EXPORT_WEBSITE_HINT"
|
||||
/>
|
||||
<!-- Export_license Field. Type: Textarea. (joomla) -->
|
||||
<field
|
||||
type="textarea"
|
||||
name="export_license"
|
||||
label="COM_COMPONENTBUILDER_CONFIG_EXPORT_LICENSE_LABEL"
|
||||
rows="7"
|
||||
cols="10"
|
||||
default="GNU/GPL Version 2 or later - http://www.gnu.org/licenses/gpl-2.0.html"
|
||||
description="COM_COMPONENTBUILDER_CONFIG_EXPORT_LICENSE_DESCRIPTION"
|
||||
class="text_area span12"
|
||||
filter="HTML"
|
||||
hint="COM_COMPONENTBUILDER_CONFIG_EXPORT_LICENSE_HINT"
|
||||
required="true"
|
||||
/>
|
||||
<!-- Export_copyright Field. Type: Textarea. (joomla) -->
|
||||
<field
|
||||
type="textarea"
|
||||
name="export_copyright"
|
||||
label="COM_COMPONENTBUILDER_CONFIG_EXPORT_COPYRIGHT_LABEL"
|
||||
rows="7"
|
||||
cols="10"
|
||||
default="Copyright (C) 2015. All Rights Reserved"
|
||||
description="COM_COMPONENTBUILDER_CONFIG_EXPORT_COPYRIGHT_DESCRIPTION"
|
||||
class="text_area span12"
|
||||
filter="HTML"
|
||||
hint="COM_COMPONENTBUILDER_CONFIG_EXPORT_COPYRIGHT_HINT"
|
||||
required="true"
|
||||
/>
|
||||
<!-- Export_buy_link Field. Type: Url. (joomla) -->
|
||||
<field
|
||||
type="url"
|
||||
name="export_buy_link"
|
||||
label="COM_COMPONENTBUILDER_CONFIG_EXPORT_BUY_LINK_LABEL"
|
||||
size="60"
|
||||
maxlength="150"
|
||||
description="COM_COMPONENTBUILDER_CONFIG_EXPORT_BUY_LINK_DESCRIPTION"
|
||||
class="text_area"
|
||||
required="false"
|
||||
filter="url"
|
||||
validated="url"
|
||||
message="COM_COMPONENTBUILDER_CONFIG_EXPORT_BUY_LINK_MESSAGE"
|
||||
hint="COM_COMPONENTBUILDER_CONFIG_EXPORT_BUY_LINK_HINT"
|
||||
/>
|
||||
</fieldset>
|
||||
<fieldset
|
||||
name="permissions"
|
||||
|
@ -428,6 +428,16 @@ class Get
|
||||
*/
|
||||
private $_fieldData = array();
|
||||
|
||||
/**
|
||||
* The field builder type
|
||||
*
|
||||
* 1 = StringManipulation
|
||||
* 2 = SimpleXMLElement
|
||||
*
|
||||
* @var int
|
||||
*/
|
||||
public $fieldBuilderType;
|
||||
|
||||
/**
|
||||
* Set unique Names
|
||||
*
|
||||
@ -610,6 +620,16 @@ class Get
|
||||
$this->tidy = extension_loaded('Tidy');
|
||||
// Set the params
|
||||
$this->params = JComponentHelper::getParams('com_componentbuilder');
|
||||
// set the field type builder
|
||||
$this->fieldBuilderType = $this->params->get('compiler_field_builder_type', 2);
|
||||
// check the field builder type logic
|
||||
if (!$this->tidy && $this->fieldBuilderType == 2)
|
||||
{
|
||||
// we do not have the tidy extention set fall back to StringManipulation
|
||||
$this->fieldBuilderType = 1;
|
||||
// load the sugestion to use string manipulation
|
||||
$this->app->enqueueMessage(JText::_('Since you do not have <b>Tidy</b> extentsion setup on your system, we could not use the SimpleXMLElement class. We instead used <b>string manipulation</b> to build all your fields, this is a faster method, you must inspect the xml files in your component package to see if you are satisfied with the result.<br />You can make this method your default by opening the global options of JCB and under the <b>Global</b> tab set the <b>Field Builder Type</b> to string manipulation.<hr />'), 'Notice');
|
||||
}
|
||||
// load the compiler path
|
||||
$this->compilerPath = $this->params->get('compiler_folder_path', JPATH_COMPONENT_ADMINISTRATOR . '/compiler');
|
||||
// set the component ID
|
||||
|
File diff suppressed because it is too large
Load Diff
@ -12902,13 +12902,23 @@ class Interpretation extends Fields
|
||||
$dbkey = 'g';
|
||||
foreach ($this->componentData->config as $field)
|
||||
{
|
||||
$newxmlField = $this->setDynamicField($field, $view, $viewType, $lang, $viewName, $listViewName, $placeholders, $dbkey, false);
|
||||
// tmp hack untill this whole area is also done in xml (TODO)
|
||||
if (isset($newxmlField->fieldXML))
|
||||
// check the field builder type
|
||||
if ($this->fieldBuilderType == 1)
|
||||
{
|
||||
$xmlField = dom_import_simplexml($newxmlField->fieldXML);
|
||||
$xmlField = PHP_EOL . "\t<!-- " . $newxmlField->comment . ' -->' . PHP_EOL . "\t" . $this->xmlPrettyPrint($xmlField, 'field');
|
||||
// string manipulation
|
||||
$xmlField = $this->setDynamicField($field, $view, $viewType, $lang, $viewName, $listViewName, $placeholders, $dbkey, false);
|
||||
}
|
||||
else
|
||||
{
|
||||
// simpleXMLElement class
|
||||
$newxmlField = $this->setDynamicField($field, $view, $viewType, $lang, $viewName, $listViewName, $placeholders, $dbkey, false);
|
||||
if (isset($newxmlField->fieldXML))
|
||||
{
|
||||
$xmlField = dom_import_simplexml($newxmlField->fieldXML);
|
||||
$xmlField = PHP_EOL . "\t<!-- " . $newxmlField->comment . ' -->' . PHP_EOL . "\t" . $this->xmlPrettyPrint($xmlField, 'field');
|
||||
}
|
||||
}
|
||||
// make sure the xml is set and a string
|
||||
if (isset($xmlField) && ComponentbuilderHelper::checkString($xmlField))
|
||||
{
|
||||
$this->configFieldSetsCustomField[$field['tabname']][] = $xmlField;
|
||||
@ -13097,7 +13107,7 @@ class Interpretation extends Fields
|
||||
}
|
||||
}
|
||||
// set the fields
|
||||
$this->configFieldSets[] = implode("\t\t", $bucket);
|
||||
$this->configFieldSets[] = implode("", $bucket);
|
||||
// close field set
|
||||
$this->configFieldSets[] = "\t</fieldset>";
|
||||
// remove after loading
|
||||
@ -13135,7 +13145,7 @@ class Interpretation extends Fields
|
||||
// add custom Target Groups fields
|
||||
if (isset($this->configFieldSetsCustomField['Target Groups']) && ComponentbuilderHelper::checkArray($this->configFieldSetsCustomField['Target Groups']))
|
||||
{
|
||||
$this->configFieldSets[] = implode("\t\t", $this->configFieldSetsCustomField['Target Groups']);
|
||||
$this->configFieldSets[] = implode("", $this->configFieldSetsCustomField['Target Groups']);
|
||||
unset($this->configFieldSetsCustomField['Target Groups']);
|
||||
}
|
||||
// close that fieldse
|
||||
@ -13261,7 +13271,7 @@ class Interpretation extends Fields
|
||||
// add custom global fields
|
||||
if (isset($this->configFieldSetsCustomField['Global']) && ComponentbuilderHelper::checkArray($this->configFieldSetsCustomField['Global']))
|
||||
{
|
||||
$this->configFieldSets[] = implode("\t\t", $this->configFieldSetsCustomField['Global']);
|
||||
$this->configFieldSets[] = implode("", $this->configFieldSetsCustomField['Global']);
|
||||
unset($this->configFieldSetsCustomField['Global']);
|
||||
}
|
||||
// set the author details
|
||||
@ -13619,7 +13629,7 @@ for developing fast and powerful web interfaces. For more info visit <a href=\"h
|
||||
// add custom Uikit Settings fields
|
||||
if (isset($this->configFieldSetsCustomField['Uikit Settings']) && ComponentbuilderHelper::checkArray($this->configFieldSetsCustomField['Uikit Settings']))
|
||||
{
|
||||
$this->configFieldSets[] = implode("\t\t", $this->configFieldSetsCustomField['Uikit Settings']);
|
||||
$this->configFieldSets[] = implode("", $this->configFieldSetsCustomField['Uikit Settings']);
|
||||
unset($this->configFieldSetsCustomField['Uikit Settings']);
|
||||
}
|
||||
// close that fieldset
|
||||
@ -13643,7 +13653,7 @@ for developing fast and powerful web interfaces. For more info visit <a href=\"h
|
||||
// add custom Mail Configurations
|
||||
if (isset($this->configFieldSetsCustomField['Mail Configuration']) && ComponentbuilderHelper::checkArray($this->configFieldSetsCustomField['Mail Configuration']))
|
||||
{
|
||||
$this->configFieldSets[] = implode("\t\t", $this->configFieldSetsCustomField['Mail Configuration']);
|
||||
$this->configFieldSets[] = implode("", $this->configFieldSetsCustomField['Mail Configuration']);
|
||||
unset($this->configFieldSetsCustomField['Mail Configuration']);
|
||||
}
|
||||
else
|
||||
@ -13905,7 +13915,7 @@ for developing fast and powerful web interfaces. For more info visit <a href=\"h
|
||||
// add custom DKIM fields
|
||||
if (isset($this->configFieldSetsCustomField['DKIM']) && ComponentbuilderHelper::checkArray($this->configFieldSetsCustomField['DKIM']))
|
||||
{
|
||||
$this->configFieldSets[] = implode("\t\t", $this->configFieldSetsCustomField['DKIM']);
|
||||
$this->configFieldSets[] = implode("", $this->configFieldSetsCustomField['DKIM']);
|
||||
unset($this->configFieldSetsCustomField['DKIM']);
|
||||
}
|
||||
else
|
||||
@ -14339,7 +14349,7 @@ function vdm_dkim() {
|
||||
// add custom Encryption Settings fields
|
||||
if (isset($this->configFieldSetsCustomField['Chart Settings']) && ComponentbuilderHelper::checkArray($this->configFieldSetsCustomField['Chart Settings']))
|
||||
{
|
||||
$this->configFieldSets[] = implode("\t\t", $this->configFieldSetsCustomField['Chart Settings']);
|
||||
$this->configFieldSets[] = implode("", $this->configFieldSetsCustomField['Chart Settings']);
|
||||
unset($this->configFieldSetsCustomField['Chart Settings']);
|
||||
}
|
||||
|
||||
@ -14540,7 +14550,7 @@ function vdm_dkim() {
|
||||
// add custom Encryption Settings fields
|
||||
if (isset($this->configFieldSetsCustomField[$dynamicAddField]) && ComponentbuilderHelper::checkArray($this->configFieldSetsCustomField[$dynamicAddField]))
|
||||
{
|
||||
$this->configFieldSets[] = implode("\t\t", $this->configFieldSetsCustomField[$dynamicAddField]);
|
||||
$this->configFieldSets[] = implode("", $this->configFieldSetsCustomField[$dynamicAddField]);
|
||||
unset($this->configFieldSetsCustomField[$dynamicAddField]);
|
||||
}
|
||||
}
|
||||
|
@ -1554,16 +1554,19 @@ abstract class ComponentbuilderHelper
|
||||
}
|
||||
|
||||
/**
|
||||
* get the localkey
|
||||
* the basic localkey
|
||||
**/
|
||||
protected static $localkey = false;
|
||||
|
||||
|
||||
/**
|
||||
* get the localkey
|
||||
**/
|
||||
public static function getLocalKey()
|
||||
{
|
||||
if (!self::$localkey)
|
||||
{
|
||||
// get the main key
|
||||
self::$localkey = md5(JComponentHelper::getParams('com_componentbuilder')->get('basic_key', 'localKey34fdWEkl'));
|
||||
// get the basic key
|
||||
self::$localkey = md5(self::getCryptKey('basic', 'localKey34fdWEkl'));
|
||||
}
|
||||
return self::$localkey;
|
||||
}
|
||||
@ -1636,8 +1639,18 @@ abstract class ComponentbuilderHelper
|
||||
}
|
||||
return false;
|
||||
}
|
||||
|
||||
public static function getBetween($content,$start,$end)
|
||||
|
||||
/**
|
||||
* get between
|
||||
*
|
||||
* @param string $content The content to search
|
||||
* @param string $start The starting value
|
||||
* @param string $end The ending value
|
||||
*
|
||||
* @return string On success / empty string on failure
|
||||
*
|
||||
*/
|
||||
public static function getBetween($content, $start, $end)
|
||||
{
|
||||
$r = explode($start, $content);
|
||||
if (isset($r[1]))
|
||||
@ -1647,17 +1660,32 @@ abstract class ComponentbuilderHelper
|
||||
}
|
||||
return '';
|
||||
}
|
||||
|
||||
public static function getAllBetween($content,$start,$end)
|
||||
|
||||
/**
|
||||
* get all between
|
||||
*
|
||||
* @param string $content The content to search
|
||||
* @param string $start The starting value
|
||||
* @param string $end The ending value
|
||||
*
|
||||
* @return array On success
|
||||
*
|
||||
*/
|
||||
public static function getAllBetween($content, $start, $end)
|
||||
{
|
||||
$buket = array();
|
||||
// reset bucket
|
||||
$bucket = array();
|
||||
for ($i = 0; ; $i++)
|
||||
{
|
||||
// search for string
|
||||
$found = self::getBetween($content,$start,$end);
|
||||
if (self::checkString($found))
|
||||
{
|
||||
$buket[] = $found;
|
||||
// add to bucket
|
||||
$bucket[] = $found;
|
||||
// build removal string
|
||||
$remove = $start.$found.$end;
|
||||
// remove from content
|
||||
$content = str_replace($remove,'',$content);
|
||||
}
|
||||
else
|
||||
@ -1670,9 +1698,10 @@ abstract class ComponentbuilderHelper
|
||||
break;
|
||||
}
|
||||
}
|
||||
return array_unique($buket);
|
||||
// only return unique array of values
|
||||
return array_unique($bucket);
|
||||
}
|
||||
|
||||
|
||||
public static function typeField($type,$option = 'default')
|
||||
{
|
||||
// list of default fields
|
||||
@ -2494,6 +2523,7 @@ abstract class ComponentbuilderHelper
|
||||
// return the object
|
||||
return self::$CRYPT[$TYPE];
|
||||
}
|
||||
|
||||
/**
|
||||
* Load the Component xml manifest.
|
||||
**/
|
||||
|
@ -2270,6 +2270,8 @@ COM_COMPONENTBUILDER_CONFIG_CHECK_TIMER_OPTION_SIX="Never"
|
||||
COM_COMPONENTBUILDER_CONFIG_CHECK_TIMER_OPTION_THREE="Once a day"
|
||||
COM_COMPONENTBUILDER_CONFIG_CHECK_TIMER_OPTION_TWO="Every twelve hours"
|
||||
COM_COMPONENTBUILDER_CONFIG_COMPANY="Company"
|
||||
COM_COMPONENTBUILDER_CONFIG_COMPILER_FIELD_BUILDER_TYPE_DESCRIPTION="Select the method to use when building the xml fields in the compiler. The <b>SimpleXMLElement Class</b> is best practice, and <b>String Manipulation</b> is faster and works without special extensions."
|
||||
COM_COMPONENTBUILDER_CONFIG_COMPILER_FIELD_BUILDER_TYPE_LABEL="Field Builder Type<br /><small>(in compiler)</small>"
|
||||
COM_COMPONENTBUILDER_CONFIG_COMPILER_FOLDER_PATH_DESCRIPTION="Here you can set the path to the compiler folder"
|
||||
COM_COMPONENTBUILDER_CONFIG_COMPILER_FOLDER_PATH_HINT="/home/user/compiler"
|
||||
COM_COMPONENTBUILDER_CONFIG_COMPILER_FOLDER_PATH_LABEL="Compiler Folder Path"
|
||||
@ -2437,6 +2439,7 @@ COM_COMPONENTBUILDER_CONFIG_SENDMAIL_HINT="/usr/sbin/sendmail"
|
||||
COM_COMPONENTBUILDER_CONFIG_SENDMAIL_LABEL="Sendmail Path"
|
||||
COM_COMPONENTBUILDER_CONFIG_SET_BROWSER_STORAGE_DESCRIPTION="Select if browser storage should be used to save on Ajax calls and speed up this components site pages."
|
||||
COM_COMPONENTBUILDER_CONFIG_SET_BROWSER_STORAGE_LABEL="Browser Storage"
|
||||
COM_COMPONENTBUILDER_CONFIG_SIMPLEXMLELEMENT_CLASS="SimpleXMLElement Class"
|
||||
COM_COMPONENTBUILDER_CONFIG_SMTP="SMTP"
|
||||
COM_COMPONENTBUILDER_CONFIG_SMTPAUTH_DESCRIPTION="Select yes if your SMTP host requires SMTP Authentication."
|
||||
COM_COMPONENTBUILDER_CONFIG_SMTPAUTH_LABEL="SMTP Authentication"
|
||||
@ -2456,6 +2459,7 @@ COM_COMPONENTBUILDER_CONFIG_SMTPUSER_LABEL="SMTP Username"
|
||||
COM_COMPONENTBUILDER_CONFIG_SSL="SSL"
|
||||
COM_COMPONENTBUILDER_CONFIG_STORAGE_TIME_TO_LIVE_DESCRIPTION="How long should the data that is stored in the browser memory remain unchanged before it is removed and updated."
|
||||
COM_COMPONENTBUILDER_CONFIG_STORAGE_TIME_TO_LIVE_LABEL="Update Cycle"
|
||||
COM_COMPONENTBUILDER_CONFIG_STRING_MANIPULATION="String Manipulation"
|
||||
COM_COMPONENTBUILDER_CONFIG_TLS="TLS"
|
||||
COM_COMPONENTBUILDER_CONFIG_UIKIT_DESC="<b>The Parameters for the uikit are set here.</b><br />Uikit is a lightweight and modular front-end framework
|
||||
for developing fast and powerful web interfaces. For more info visit <a href="https://getuikit.com/v2/" target="_blank">https://getuikit.com/v2/</a>"
|
||||
|
@ -4,242 +4,277 @@
|
||||
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" />
|
||||
<!-- Date Created Field. Type: Calendar (joomla)-->
|
||||
<field name="created"
|
||||
type="calendar"
|
||||
label="COM_COMPONENTBUILDER_ADMIN_FIELDS_CREATED_DATE_LABEL"
|
||||
description="COM_COMPONENTBUILDER_ADMIN_FIELDS_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_ADMIN_FIELDS_CREATED_BY_LABEL"
|
||||
description="COM_COMPONENTBUILDER_ADMIN_FIELDS_CREATED_BY_DESC" />
|
||||
<!-- Published Field. Type: List (joomla)-->
|
||||
<field name="published"
|
||||
type="list"
|
||||
label="JSTATUS">
|
||||
<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_ADMIN_FIELDS_MODIFIED_DATE_LABEL"
|
||||
description="COM_COMPONENTBUILDER_ADMIN_FIELDS_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_ADMIN_FIELDS_MODIFIED_BY_LABEL"
|
||||
description="COM_COMPONENTBUILDER_ADMIN_FIELDS_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_ADMIN_FIELDS_ORDERING_LABEL"
|
||||
description=""
|
||||
default="0"
|
||||
size="6"
|
||||
required="false" />
|
||||
<!-- Version Field. Type: Text (joomla)-->
|
||||
<field name="version"
|
||||
type="text"
|
||||
class="readonly"
|
||||
label="COM_COMPONENTBUILDER_ADMIN_FIELDS_VERSION_LABEL"
|
||||
description="COM_COMPONENTBUILDER_ADMIN_FIELDS_VERSION_DESC"
|
||||
size="6"
|
||||
readonly="true"
|
||||
filter="unset" />
|
||||
<!-- Dynamic Fields.-->
|
||||
<!-- Admin_view Field. Type: Adminviewsreadonly. (custom)-->
|
||||
<field type="adminviewsreadonly"
|
||||
name="admin_view"
|
||||
label="COM_COMPONENTBUILDER_ADMIN_FIELDS_ADMIN_VIEW_LABEL"
|
||||
description="COM_COMPONENTBUILDER_ADMIN_FIELDS_ADMIN_VIEW_DESCRIPTION"
|
||||
class="list_class"
|
||||
multiple="false"
|
||||
required="true"
|
||||
readonly="true"
|
||||
button="false" />
|
||||
<!-- Addfields Field. Type: Subform. (joomla)-->
|
||||
<field type="subform"
|
||||
name="addfields"
|
||||
label="COM_COMPONENTBUILDER_ADMIN_FIELDS_ADDFIELDS_LABEL"
|
||||
layout="joomla.form.field.subform.repeatable-table"
|
||||
multiple="true"
|
||||
description="COM_COMPONENTBUILDER_ADMIN_FIELDS_ADDFIELDS_DESCRIPTION"
|
||||
icon="list"
|
||||
maximum="800">
|
||||
<form hidden="true"
|
||||
name="list_addfields_modal"
|
||||
repeat="true">
|
||||
<!-- Field Field. Type: Fields. (custom)-->
|
||||
<field type="fields"
|
||||
name="field"
|
||||
label="COM_COMPONENTBUILDER_ADMIN_FIELDS_FIELD_LABEL"
|
||||
description="COM_COMPONENTBUILDER_ADMIN_FIELDS_FIELD_DESCRIPTION"
|
||||
class="list_class"
|
||||
multiple="false"
|
||||
required="false"
|
||||
button="false" />
|
||||
<!-- List Field. Type: Checkbox. (joomla)-->
|
||||
<field type="checkbox"
|
||||
name="list"
|
||||
label="COM_COMPONENTBUILDER_ADMIN_FIELDS_LIST_LABEL"
|
||||
value="1"
|
||||
required="false"
|
||||
description="COM_COMPONENTBUILDER_ADMIN_FIELDS_LIST_DESCRIPTION"
|
||||
class="inputbox" />
|
||||
<!-- Order_list Field. Type: Integer. (joomla)-->
|
||||
<field type="integer"
|
||||
name="order_list"
|
||||
label="COM_COMPONENTBUILDER_ADMIN_FIELDS_ORDER_LIST_LABEL"
|
||||
default="0"
|
||||
description="COM_COMPONENTBUILDER_ADMIN_FIELDS_ORDER_LIST_DESCRIPTION"
|
||||
class="fieldSmall"
|
||||
required="false"
|
||||
first="0"
|
||||
last="20"
|
||||
step="1" />
|
||||
<!-- Title Field. Type: Checkbox. (joomla)-->
|
||||
<field type="checkbox"
|
||||
name="title"
|
||||
label="COM_COMPONENTBUILDER_ADMIN_FIELDS_TITLE_LABEL"
|
||||
value="1"
|
||||
required="false"
|
||||
description="COM_COMPONENTBUILDER_ADMIN_FIELDS_TITLE_DESCRIPTION"
|
||||
class="inputbox" />
|
||||
<!-- Alias Field. Type: Checkbox. (joomla)-->
|
||||
<field type="checkbox"
|
||||
name="alias"
|
||||
label="COM_COMPONENTBUILDER_ADMIN_FIELDS_ALIAS_LABEL"
|
||||
value="1"
|
||||
required="false"
|
||||
description="COM_COMPONENTBUILDER_ADMIN_FIELDS_ALIAS_DESCRIPTION"
|
||||
class="inputbox" />
|
||||
<!-- Sort Field. Type: Checkbox. (joomla)-->
|
||||
<field type="checkbox"
|
||||
name="sort"
|
||||
label="COM_COMPONENTBUILDER_ADMIN_FIELDS_SORT_LABEL"
|
||||
value="1"
|
||||
required="false"
|
||||
description="COM_COMPONENTBUILDER_ADMIN_FIELDS_SORT_DESCRIPTION"
|
||||
class="inputbox" />
|
||||
<!-- Search Field. Type: Checkbox. (joomla)-->
|
||||
<field type="checkbox"
|
||||
name="search"
|
||||
label="COM_COMPONENTBUILDER_ADMIN_FIELDS_SEARCH_LABEL"
|
||||
value="1"
|
||||
required="false"
|
||||
description="COM_COMPONENTBUILDER_ADMIN_FIELDS_SEARCH_DESCRIPTION"
|
||||
class="inputbox" />
|
||||
<!-- Filter Field. Type: Checkbox. (joomla)-->
|
||||
<field type="checkbox"
|
||||
name="filter"
|
||||
label="COM_COMPONENTBUILDER_ADMIN_FIELDS_FILTER_LABEL"
|
||||
value="1"
|
||||
required="false"
|
||||
description="COM_COMPONENTBUILDER_ADMIN_FIELDS_FILTER_DESCRIPTION"
|
||||
class="inputbox" />
|
||||
<!-- Link Field. Type: Checkbox. (joomla)-->
|
||||
<field type="checkbox"
|
||||
name="link"
|
||||
label="COM_COMPONENTBUILDER_ADMIN_FIELDS_LINK_LABEL"
|
||||
value="1"
|
||||
required="false"
|
||||
description="COM_COMPONENTBUILDER_ADMIN_FIELDS_LINK_DESCRIPTION"
|
||||
class="inputbox" />
|
||||
<!-- Tab Field. Type: Viewtabs. (custom)-->
|
||||
<field type="viewtabs"
|
||||
name="tab"
|
||||
label="COM_COMPONENTBUILDER_ADMIN_FIELDS_TAB_LABEL"
|
||||
description="COM_COMPONENTBUILDER_ADMIN_FIELDS_TAB_DESCRIPTION"
|
||||
class="fieldMedium"
|
||||
multiple="false"
|
||||
default="1"
|
||||
required="false"
|
||||
button="false" />
|
||||
<!-- Alignment Field. Type: List. (joomla)-->
|
||||
<field type="list"
|
||||
name="alignment"
|
||||
label="COM_COMPONENTBUILDER_ADMIN_FIELDS_ALIGNMENT_LABEL"
|
||||
description="COM_COMPONENTBUILDER_ADMIN_FIELDS_ALIGNMENT_DESCRIPTION"
|
||||
class="fieldMedium"
|
||||
multiple="false"
|
||||
filter="INT"
|
||||
required="false"
|
||||
default="1">
|
||||
<!-- Option Set.-->
|
||||
<option value="1">COM_COMPONENTBUILDER_ADMIN_FIELDS_LEFT_IN_TAB</option>
|
||||
<option value="2">COM_COMPONENTBUILDER_ADMIN_FIELDS_RIGHT_IN_TAB</option>
|
||||
<option value="3">COM_COMPONENTBUILDER_ADMIN_FIELDS_FULL_WIDTH_IN_TAB</option>
|
||||
<option value="4">COM_COMPONENTBUILDER_ADMIN_FIELDS_ABOVE_TABS</option>
|
||||
<option value="5">COM_COMPONENTBUILDER_ADMIN_FIELDS_UNDERNEATH_TABS</option>
|
||||
<option value="6">COM_COMPONENTBUILDER_ADMIN_FIELDS_LEFT_OF_TABS</option>
|
||||
<option value="7">COM_COMPONENTBUILDER_ADMIN_FIELDS_RIGHT_OF_TABS</option>
|
||||
</field>
|
||||
<!-- Order_edit Field. Type: Integer. (joomla)-->
|
||||
<field type="integer"
|
||||
name="order_edit"
|
||||
label="COM_COMPONENTBUILDER_ADMIN_FIELDS_ORDER_EDIT_LABEL"
|
||||
default="0"
|
||||
description="COM_COMPONENTBUILDER_ADMIN_FIELDS_ORDER_EDIT_DESCRIPTION"
|
||||
class="fieldSmall"
|
||||
required="false"
|
||||
first="0"
|
||||
last="100"
|
||||
step="1" />
|
||||
<!-- Permission Field. Type: List. (joomla)-->
|
||||
<field type="list"
|
||||
name="permission"
|
||||
label="COM_COMPONENTBUILDER_ADMIN_FIELDS_PERMISSION_LABEL"
|
||||
description="COM_COMPONENTBUILDER_ADMIN_FIELDS_PERMISSION_DESCRIPTION"
|
||||
class="fieldMedium"
|
||||
multiple="false"
|
||||
required="false"
|
||||
default="0">
|
||||
<!-- Option Set.-->
|
||||
<option value="0">COM_COMPONENTBUILDER_ADMIN_FIELDS_NONE</option>
|
||||
<option value=" 1">COM_COMPONENTBUILDER_ADMIN_FIELDS_EDITING</option>
|
||||
</field>
|
||||
</form>
|
||||
</field>
|
||||
<!-- Note_on_views Field. Type: Note. A None Database Field. (joomla)-->
|
||||
<field type="note"
|
||||
name="note_on_views"
|
||||
label="COM_COMPONENTBUILDER_ADMIN_FIELDS_NOTE_ON_VIEWS_LABEL"
|
||||
description="COM_COMPONENTBUILDER_ADMIN_FIELDS_NOTE_ON_VIEWS_DESCRIPTION"
|
||||
heading="h4"
|
||||
class="alert alert-info note_on_views" />
|
||||
</fieldset>
|
||||
<!-- 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_ADMIN_FIELDS_CREATED_DATE_LABEL"
|
||||
description="COM_COMPONENTBUILDER_ADMIN_FIELDS_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_ADMIN_FIELDS_CREATED_BY_LABEL"
|
||||
description="COM_COMPONENTBUILDER_ADMIN_FIELDS_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_ADMIN_FIELDS_MODIFIED_DATE_LABEL" description="COM_COMPONENTBUILDER_ADMIN_FIELDS_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_ADMIN_FIELDS_MODIFIED_BY_LABEL"
|
||||
description="COM_COMPONENTBUILDER_ADMIN_FIELDS_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_ADMIN_FIELDS_ORDERING_LABEL"
|
||||
description=""
|
||||
default="0"
|
||||
size="6"
|
||||
required="false"
|
||||
/>
|
||||
<!-- Version Field. Type: Text (joomla) -->
|
||||
<field
|
||||
name="version"
|
||||
type="text"
|
||||
class="readonly"
|
||||
label="COM_COMPONENTBUILDER_ADMIN_FIELDS_VERSION_LABEL"
|
||||
description="COM_COMPONENTBUILDER_ADMIN_FIELDS_VERSION_DESC"
|
||||
size="6"
|
||||
readonly="true"
|
||||
filter="unset"
|
||||
/>
|
||||
<!-- Dynamic Fields. -->
|
||||
<!-- Admin_view Field. Type: Adminviewsreadonly. (custom) -->
|
||||
<field
|
||||
type="adminviewsreadonly"
|
||||
name="admin_view"
|
||||
label="COM_COMPONENTBUILDER_ADMIN_FIELDS_ADMIN_VIEW_LABEL"
|
||||
description="COM_COMPONENTBUILDER_ADMIN_FIELDS_ADMIN_VIEW_DESCRIPTION"
|
||||
class="list_class"
|
||||
multiple="false"
|
||||
required="true"
|
||||
readonly="true"
|
||||
button="false"
|
||||
/>
|
||||
<!-- Addfields Field. Type: Subform. (joomla) -->
|
||||
<field
|
||||
type="subform"
|
||||
name="addfields"
|
||||
label="COM_COMPONENTBUILDER_ADMIN_FIELDS_ADDFIELDS_LABEL"
|
||||
layout="joomla.form.field.subform.repeatable-table"
|
||||
multiple="true"
|
||||
description="COM_COMPONENTBUILDER_ADMIN_FIELDS_ADDFIELDS_DESCRIPTION"
|
||||
icon="list"
|
||||
maximum="800">
|
||||
<form hidden="true" name="list_addfields_modal" repeat="true">
|
||||
<!-- Field Field. Type: Fields. (custom) -->
|
||||
<field
|
||||
type="fields"
|
||||
name="field"
|
||||
label="COM_COMPONENTBUILDER_ADMIN_FIELDS_FIELD_LABEL"
|
||||
description="COM_COMPONENTBUILDER_ADMIN_FIELDS_FIELD_DESCRIPTION"
|
||||
class="list_class"
|
||||
multiple="false"
|
||||
required="false"
|
||||
button="false"
|
||||
/>
|
||||
<!-- List Field. Type: Checkbox. (joomla) -->
|
||||
<field
|
||||
type="checkbox"
|
||||
name="list"
|
||||
label="COM_COMPONENTBUILDER_ADMIN_FIELDS_LIST_LABEL"
|
||||
value="1"
|
||||
required="false"
|
||||
description="COM_COMPONENTBUILDER_ADMIN_FIELDS_LIST_DESCRIPTION"
|
||||
class="inputbox"
|
||||
/>
|
||||
<!-- Order_list Field. Type: Integer. (joomla) -->
|
||||
<field
|
||||
type="integer"
|
||||
name="order_list"
|
||||
label="COM_COMPONENTBUILDER_ADMIN_FIELDS_ORDER_LIST_LABEL"
|
||||
default="0"
|
||||
description="COM_COMPONENTBUILDER_ADMIN_FIELDS_ORDER_LIST_DESCRIPTION"
|
||||
class="fieldSmall"
|
||||
required="false"
|
||||
first="0"
|
||||
last="20"
|
||||
step="1"
|
||||
/>
|
||||
<!-- Title Field. Type: Checkbox. (joomla) -->
|
||||
<field
|
||||
type="checkbox"
|
||||
name="title"
|
||||
label="COM_COMPONENTBUILDER_ADMIN_FIELDS_TITLE_LABEL"
|
||||
value="1"
|
||||
required="false"
|
||||
description="COM_COMPONENTBUILDER_ADMIN_FIELDS_TITLE_DESCRIPTION"
|
||||
class="inputbox"
|
||||
/>
|
||||
<!-- Alias Field. Type: Checkbox. (joomla) -->
|
||||
<field
|
||||
type="checkbox"
|
||||
name="alias"
|
||||
label="COM_COMPONENTBUILDER_ADMIN_FIELDS_ALIAS_LABEL"
|
||||
value="1"
|
||||
required="false"
|
||||
description="COM_COMPONENTBUILDER_ADMIN_FIELDS_ALIAS_DESCRIPTION"
|
||||
class="inputbox"
|
||||
/>
|
||||
<!-- Sort Field. Type: Checkbox. (joomla) -->
|
||||
<field
|
||||
type="checkbox"
|
||||
name="sort"
|
||||
label="COM_COMPONENTBUILDER_ADMIN_FIELDS_SORT_LABEL"
|
||||
value="1"
|
||||
required="false"
|
||||
description="COM_COMPONENTBUILDER_ADMIN_FIELDS_SORT_DESCRIPTION"
|
||||
class="inputbox"
|
||||
/>
|
||||
<!-- Search Field. Type: Checkbox. (joomla) -->
|
||||
<field
|
||||
type="checkbox"
|
||||
name="search"
|
||||
label="COM_COMPONENTBUILDER_ADMIN_FIELDS_SEARCH_LABEL"
|
||||
value="1"
|
||||
required="false"
|
||||
description="COM_COMPONENTBUILDER_ADMIN_FIELDS_SEARCH_DESCRIPTION"
|
||||
class="inputbox"
|
||||
/>
|
||||
<!-- Filter Field. Type: Checkbox. (joomla) -->
|
||||
<field
|
||||
type="checkbox"
|
||||
name="filter"
|
||||
label="COM_COMPONENTBUILDER_ADMIN_FIELDS_FILTER_LABEL"
|
||||
value="1"
|
||||
required="false"
|
||||
description="COM_COMPONENTBUILDER_ADMIN_FIELDS_FILTER_DESCRIPTION"
|
||||
class="inputbox"
|
||||
/>
|
||||
<!-- Link Field. Type: Checkbox. (joomla) -->
|
||||
<field
|
||||
type="checkbox"
|
||||
name="link"
|
||||
label="COM_COMPONENTBUILDER_ADMIN_FIELDS_LINK_LABEL"
|
||||
value="1"
|
||||
required="false"
|
||||
description="COM_COMPONENTBUILDER_ADMIN_FIELDS_LINK_DESCRIPTION"
|
||||
class="inputbox"
|
||||
/>
|
||||
<!-- Tab Field. Type: Viewtabs. (custom) -->
|
||||
<field
|
||||
type="viewtabs"
|
||||
name="tab"
|
||||
label="COM_COMPONENTBUILDER_ADMIN_FIELDS_TAB_LABEL"
|
||||
description="COM_COMPONENTBUILDER_ADMIN_FIELDS_TAB_DESCRIPTION"
|
||||
class="fieldMedium"
|
||||
multiple="false"
|
||||
default="1"
|
||||
required="false"
|
||||
button="false"
|
||||
/>
|
||||
<!-- Alignment Field. Type: List. (joomla) -->
|
||||
<field
|
||||
type="list"
|
||||
name="alignment"
|
||||
label="COM_COMPONENTBUILDER_ADMIN_FIELDS_ALIGNMENT_LABEL"
|
||||
description="COM_COMPONENTBUILDER_ADMIN_FIELDS_ALIGNMENT_DESCRIPTION"
|
||||
class="fieldMedium"
|
||||
multiple="false"
|
||||
filter="INT"
|
||||
required="false"
|
||||
default="1">
|
||||
<!-- Option Set. -->
|
||||
<option value="1">
|
||||
COM_COMPONENTBUILDER_ADMIN_FIELDS_LEFT_IN_TAB</option>
|
||||
<option value="2">
|
||||
COM_COMPONENTBUILDER_ADMIN_FIELDS_RIGHT_IN_TAB</option>
|
||||
<option value="3">
|
||||
COM_COMPONENTBUILDER_ADMIN_FIELDS_FULL_WIDTH_IN_TAB</option>
|
||||
<option value="4">
|
||||
COM_COMPONENTBUILDER_ADMIN_FIELDS_ABOVE_TABS</option>
|
||||
<option value="5">
|
||||
COM_COMPONENTBUILDER_ADMIN_FIELDS_UNDERNEATH_TABS</option>
|
||||
<option value="6">
|
||||
COM_COMPONENTBUILDER_ADMIN_FIELDS_LEFT_OF_TABS</option>
|
||||
<option value="7">
|
||||
COM_COMPONENTBUILDER_ADMIN_FIELDS_RIGHT_OF_TABS</option>
|
||||
</field>
|
||||
<!-- Order_edit Field. Type: Integer. (joomla) -->
|
||||
<field
|
||||
type="integer"
|
||||
name="order_edit"
|
||||
label="COM_COMPONENTBUILDER_ADMIN_FIELDS_ORDER_EDIT_LABEL"
|
||||
default="0"
|
||||
description="COM_COMPONENTBUILDER_ADMIN_FIELDS_ORDER_EDIT_DESCRIPTION"
|
||||
class="fieldSmall"
|
||||
required="false"
|
||||
first="0"
|
||||
last="100"
|
||||
step="1"
|
||||
/>
|
||||
<!-- Permission Field. Type: List. (joomla) -->
|
||||
<field
|
||||
type="list"
|
||||
name="permission"
|
||||
label="COM_COMPONENTBUILDER_ADMIN_FIELDS_PERMISSION_LABEL"
|
||||
description="COM_COMPONENTBUILDER_ADMIN_FIELDS_PERMISSION_DESCRIPTION"
|
||||
class="fieldMedium"
|
||||
multiple="false"
|
||||
required="false"
|
||||
default="0">
|
||||
<!-- Option Set. -->
|
||||
<option value="0">
|
||||
COM_COMPONENTBUILDER_ADMIN_FIELDS_NONE</option>
|
||||
<option value=" 1">
|
||||
COM_COMPONENTBUILDER_ADMIN_FIELDS_EDITING</option>
|
||||
</field>
|
||||
</form>
|
||||
</field>
|
||||
<!-- Note_on_views Field. Type: Note. A None Database Field. (joomla) -->
|
||||
<field type="note" name="note_on_views" label="COM_COMPONENTBUILDER_ADMIN_FIELDS_NOTE_ON_VIEWS_LABEL" description="COM_COMPONENTBUILDER_ADMIN_FIELDS_NOTE_ON_VIEWS_DESCRIPTION" heading="h4" class="alert alert-info note_on_views" />
|
||||
</fieldset>
|
||||
|
||||
<!-- Access Control Fields. -->
|
||||
<fieldset name="accesscontrol">
|
||||
|
@ -4,193 +4,219 @@
|
||||
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" />
|
||||
<!-- Date Created Field. Type: Calendar (joomla)-->
|
||||
<field name="created"
|
||||
type="calendar"
|
||||
label="COM_COMPONENTBUILDER_ADMIN_FIELDS_CONDITIONS_CREATED_DATE_LABEL"
|
||||
description="COM_COMPONENTBUILDER_ADMIN_FIELDS_CONDITIONS_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_ADMIN_FIELDS_CONDITIONS_CREATED_BY_LABEL"
|
||||
description="COM_COMPONENTBUILDER_ADMIN_FIELDS_CONDITIONS_CREATED_BY_DESC" />
|
||||
<!-- Published Field. Type: List (joomla)-->
|
||||
<field name="published"
|
||||
type="list"
|
||||
label="JSTATUS">
|
||||
<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_ADMIN_FIELDS_CONDITIONS_MODIFIED_DATE_LABEL"
|
||||
description="COM_COMPONENTBUILDER_ADMIN_FIELDS_CONDITIONS_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_ADMIN_FIELDS_CONDITIONS_MODIFIED_BY_LABEL"
|
||||
description="COM_COMPONENTBUILDER_ADMIN_FIELDS_CONDITIONS_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_ADMIN_FIELDS_CONDITIONS_ORDERING_LABEL"
|
||||
description=""
|
||||
default="0"
|
||||
size="6"
|
||||
required="false" />
|
||||
<!-- Version Field. Type: Text (joomla)-->
|
||||
<field name="version"
|
||||
type="text"
|
||||
class="readonly"
|
||||
label="COM_COMPONENTBUILDER_ADMIN_FIELDS_CONDITIONS_VERSION_LABEL"
|
||||
description="COM_COMPONENTBUILDER_ADMIN_FIELDS_CONDITIONS_VERSION_DESC"
|
||||
size="6"
|
||||
readonly="true"
|
||||
filter="unset" />
|
||||
<!-- Dynamic Fields.-->
|
||||
<!-- Admin_view Field. Type: Adminviewsreadonly. (custom)-->
|
||||
<field type="adminviewsreadonly"
|
||||
name="admin_view"
|
||||
label="COM_COMPONENTBUILDER_ADMIN_FIELDS_CONDITIONS_ADMIN_VIEW_LABEL"
|
||||
description="COM_COMPONENTBUILDER_ADMIN_FIELDS_CONDITIONS_ADMIN_VIEW_DESCRIPTION"
|
||||
class="list_class"
|
||||
multiple="false"
|
||||
required="true"
|
||||
readonly="true"
|
||||
button="false" />
|
||||
<!-- Addconditions Field. Type: Subform. (joomla)-->
|
||||
<field type="subform"
|
||||
name="addconditions"
|
||||
label="COM_COMPONENTBUILDER_ADMIN_FIELDS_CONDITIONS_ADDCONDITIONS_LABEL"
|
||||
layout="joomla.form.field.subform.repeatable-table"
|
||||
multiple="true"
|
||||
description="COM_COMPONENTBUILDER_ADMIN_FIELDS_CONDITIONS_ADDCONDITIONS_DESCRIPTION"
|
||||
icon="list"
|
||||
maximum="500">
|
||||
<form hidden="true"
|
||||
name="list_addconditions_modal"
|
||||
repeat="true">
|
||||
<!-- Target_field Field. Type: Targetfields. (custom)-->
|
||||
<field type="targetfields"
|
||||
name="target_field"
|
||||
label="COM_COMPONENTBUILDER_ADMIN_FIELDS_CONDITIONS_TARGET_FIELD_LABEL"
|
||||
description="COM_COMPONENTBUILDER_ADMIN_FIELDS_CONDITIONS_TARGET_FIELD_DESCRIPTION"
|
||||
class="fieldMedium"
|
||||
multiple="true"
|
||||
required="false"
|
||||
button="false" />
|
||||
<!-- Target_behavior Field. Type: List. (joomla)-->
|
||||
<field type="list"
|
||||
name="target_behavior"
|
||||
label="COM_COMPONENTBUILDER_ADMIN_FIELDS_CONDITIONS_TARGET_BEHAVIOR_LABEL"
|
||||
description="COM_COMPONENTBUILDER_ADMIN_FIELDS_CONDITIONS_TARGET_BEHAVIOR_DESCRIPTION"
|
||||
class="list_class"
|
||||
multiple="false"
|
||||
filter="INT"
|
||||
required="false"
|
||||
default="1">
|
||||
<!-- Option Set.-->
|
||||
<option value="1">COM_COMPONENTBUILDER_ADMIN_FIELDS_CONDITIONS_SHOW</option>
|
||||
<option value="2">COM_COMPONENTBUILDER_ADMIN_FIELDS_CONDITIONS_HIDE</option>
|
||||
</field>
|
||||
<!-- Target_relation Field. Type: List. (joomla)-->
|
||||
<field type="list"
|
||||
name="target_relation"
|
||||
label="COM_COMPONENTBUILDER_ADMIN_FIELDS_CONDITIONS_TARGET_RELATION_LABEL"
|
||||
description="COM_COMPONENTBUILDER_ADMIN_FIELDS_CONDITIONS_TARGET_RELATION_DESCRIPTION"
|
||||
class="list_class"
|
||||
multiple="false"
|
||||
filter="INT"
|
||||
required="false"
|
||||
default="0">
|
||||
<!-- Option Set.-->
|
||||
<option value="0">COM_COMPONENTBUILDER_ADMIN_FIELDS_CONDITIONS_ISOLATE</option>
|
||||
<option value="1">COM_COMPONENTBUILDER_ADMIN_FIELDS_CONDITIONS_CHAIN</option>
|
||||
</field>
|
||||
<!-- Match_field Field. Type: Matchfield. (custom)-->
|
||||
<field type="matchfield"
|
||||
name="match_field"
|
||||
label="COM_COMPONENTBUILDER_ADMIN_FIELDS_CONDITIONS_MATCH_FIELD_LABEL"
|
||||
description="COM_COMPONENTBUILDER_ADMIN_FIELDS_CONDITIONS_MATCH_FIELD_DESCRIPTION"
|
||||
multiple="false"
|
||||
required="false"
|
||||
button="false" />
|
||||
<!-- Match_behavior Field. Type: List. (joomla)-->
|
||||
<field type="list"
|
||||
name="match_behavior"
|
||||
label="COM_COMPONENTBUILDER_ADMIN_FIELDS_CONDITIONS_MATCH_BEHAVIOR_LABEL"
|
||||
description="COM_COMPONENTBUILDER_ADMIN_FIELDS_CONDITIONS_MATCH_BEHAVIOR_DESCRIPTION"
|
||||
class="list_class"
|
||||
multiple="false"
|
||||
filter="INT"
|
||||
required="false"
|
||||
default="1">
|
||||
<!-- Option Set.-->
|
||||
<option value="1">COM_COMPONENTBUILDER_ADMIN_FIELDS_CONDITIONS_IS_ONLY_FOUR_LISTRADIOCHECKBOXES</option>
|
||||
<option value="2">COM_COMPONENTBUILDER_ADMIN_FIELDS_CONDITIONS_IS_NOT_ONLY_FOUR_LISTRADIOCHECKBOXES</option>
|
||||
<option value="3">COM_COMPONENTBUILDER_ADMIN_FIELDS_CONDITIONS_ANY_SELECTION_ONLY_FOUR_LISTRADIOCHECKBOXESDYNAMIC_LIST</option>
|
||||
<option value="4">COM_COMPONENTBUILDER_ADMIN_FIELDS_CONDITIONS_ACTIVE_ONLY_FOUR_TEXT_FIELD</option>
|
||||
<option value="5">COM_COMPONENTBUILDER_ADMIN_FIELDS_CONDITIONS_UNACTIVE_ONLY_FOUR_TEXT_FIELD</option>
|
||||
<option value="6">COM_COMPONENTBUILDER_ADMIN_FIELDS_CONDITIONS_KEY_WORD_ALL_CASESENSITIVE_ONLY_FOUR_TEXT_FIELD</option>
|
||||
<option value="7">COM_COMPONENTBUILDER_ADMIN_FIELDS_CONDITIONS_KEY_WORD_ANY_CASESENSITIVE_ONLY_FOUR_TEXT_FIELD</option>
|
||||
<option value="8">COM_COMPONENTBUILDER_ADMIN_FIELDS_CONDITIONS_KEY_WORD_ALL_CASEINSENSITIVE_ONLY_FOUR_TEXT_FIELD</option>
|
||||
<option value="9">COM_COMPONENTBUILDER_ADMIN_FIELDS_CONDITIONS_KEY_WORD_ANY_CASEINSENSITIVE_ONLY_FOUR_TEXT_FIELD</option>
|
||||
<option value="10">COM_COMPONENTBUILDER_ADMIN_FIELDS_CONDITIONS_MIN_LENGTH_ONLY_FOUR_TEXT_FIELD</option>
|
||||
<option value="11">COM_COMPONENTBUILDER_ADMIN_FIELDS_CONDITIONS_MAX_LENGTH_ONLY_FOUR_TEXT_FIELD</option>
|
||||
<option value="12">COM_COMPONENTBUILDER_ADMIN_FIELDS_CONDITIONS_EXACT_LENGTH_ONLY_FOUR_TEXT_FIELD</option>
|
||||
</field>
|
||||
<!-- Match_options Field. Type: Textarea. (joomla)-->
|
||||
<field type="textarea"
|
||||
name="match_options"
|
||||
label="COM_COMPONENTBUILDER_ADMIN_FIELDS_CONDITIONS_MATCH_OPTIONS_LABEL"
|
||||
rows="10"
|
||||
cols="5"
|
||||
class="text_area"
|
||||
filter="STRING"
|
||||
hint="COM_COMPONENTBUILDER_ADMIN_FIELDS_CONDITIONS_MATCH_OPTIONS_HINT"
|
||||
required="false" />
|
||||
</form>
|
||||
</field>
|
||||
<!-- Note_on_conditions Field. Type: Note. A None Database Field. (joomla)-->
|
||||
<field type="note"
|
||||
name="note_on_conditions"
|
||||
label="COM_COMPONENTBUILDER_ADMIN_FIELDS_CONDITIONS_NOTE_ON_CONDITIONS_LABEL"
|
||||
description="COM_COMPONENTBUILDER_ADMIN_FIELDS_CONDITIONS_NOTE_ON_CONDITIONS_DESCRIPTION"
|
||||
heading="h4"
|
||||
class="alert alert-info note_on_conditions"
|
||||
close="true" />
|
||||
</fieldset>
|
||||
<!-- 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_ADMIN_FIELDS_CONDITIONS_CREATED_DATE_LABEL"
|
||||
description="COM_COMPONENTBUILDER_ADMIN_FIELDS_CONDITIONS_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_ADMIN_FIELDS_CONDITIONS_CREATED_BY_LABEL"
|
||||
description="COM_COMPONENTBUILDER_ADMIN_FIELDS_CONDITIONS_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_ADMIN_FIELDS_CONDITIONS_MODIFIED_DATE_LABEL" description="COM_COMPONENTBUILDER_ADMIN_FIELDS_CONDITIONS_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_ADMIN_FIELDS_CONDITIONS_MODIFIED_BY_LABEL"
|
||||
description="COM_COMPONENTBUILDER_ADMIN_FIELDS_CONDITIONS_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_ADMIN_FIELDS_CONDITIONS_ORDERING_LABEL"
|
||||
description=""
|
||||
default="0"
|
||||
size="6"
|
||||
required="false"
|
||||
/>
|
||||
<!-- Version Field. Type: Text (joomla) -->
|
||||
<field
|
||||
name="version"
|
||||
type="text"
|
||||
class="readonly"
|
||||
label="COM_COMPONENTBUILDER_ADMIN_FIELDS_CONDITIONS_VERSION_LABEL"
|
||||
description="COM_COMPONENTBUILDER_ADMIN_FIELDS_CONDITIONS_VERSION_DESC"
|
||||
size="6"
|
||||
readonly="true"
|
||||
filter="unset"
|
||||
/>
|
||||
<!-- Dynamic Fields. -->
|
||||
<!-- Admin_view Field. Type: Adminviewsreadonly. (custom) -->
|
||||
<field
|
||||
type="adminviewsreadonly"
|
||||
name="admin_view"
|
||||
label="COM_COMPONENTBUILDER_ADMIN_FIELDS_CONDITIONS_ADMIN_VIEW_LABEL"
|
||||
description="COM_COMPONENTBUILDER_ADMIN_FIELDS_CONDITIONS_ADMIN_VIEW_DESCRIPTION"
|
||||
class="list_class"
|
||||
multiple="false"
|
||||
required="true"
|
||||
readonly="true"
|
||||
button="false"
|
||||
/>
|
||||
<!-- Addconditions Field. Type: Subform. (joomla) -->
|
||||
<field
|
||||
type="subform"
|
||||
name="addconditions"
|
||||
label="COM_COMPONENTBUILDER_ADMIN_FIELDS_CONDITIONS_ADDCONDITIONS_LABEL"
|
||||
layout="joomla.form.field.subform.repeatable-table"
|
||||
multiple="true"
|
||||
description="COM_COMPONENTBUILDER_ADMIN_FIELDS_CONDITIONS_ADDCONDITIONS_DESCRIPTION"
|
||||
icon="list"
|
||||
maximum="500">
|
||||
<form hidden="true" name="list_addconditions_modal" repeat="true">
|
||||
<!-- Target_field Field. Type: Targetfields. (custom) -->
|
||||
<field
|
||||
type="targetfields"
|
||||
name="target_field"
|
||||
label="COM_COMPONENTBUILDER_ADMIN_FIELDS_CONDITIONS_TARGET_FIELD_LABEL"
|
||||
description="COM_COMPONENTBUILDER_ADMIN_FIELDS_CONDITIONS_TARGET_FIELD_DESCRIPTION"
|
||||
class="fieldMedium"
|
||||
multiple="true"
|
||||
required="false"
|
||||
button="false"
|
||||
/>
|
||||
<!-- Target_behavior Field. Type: List. (joomla) -->
|
||||
<field
|
||||
type="list"
|
||||
name="target_behavior"
|
||||
label="COM_COMPONENTBUILDER_ADMIN_FIELDS_CONDITIONS_TARGET_BEHAVIOR_LABEL"
|
||||
description="COM_COMPONENTBUILDER_ADMIN_FIELDS_CONDITIONS_TARGET_BEHAVIOR_DESCRIPTION"
|
||||
class="list_class"
|
||||
multiple="false"
|
||||
filter="INT"
|
||||
required="false"
|
||||
default="1">
|
||||
<!-- Option Set. -->
|
||||
<option value="1">
|
||||
COM_COMPONENTBUILDER_ADMIN_FIELDS_CONDITIONS_SHOW</option>
|
||||
<option value="2">
|
||||
COM_COMPONENTBUILDER_ADMIN_FIELDS_CONDITIONS_HIDE</option>
|
||||
</field>
|
||||
<!-- Target_relation Field. Type: List. (joomla) -->
|
||||
<field
|
||||
type="list"
|
||||
name="target_relation"
|
||||
label="COM_COMPONENTBUILDER_ADMIN_FIELDS_CONDITIONS_TARGET_RELATION_LABEL"
|
||||
description="COM_COMPONENTBUILDER_ADMIN_FIELDS_CONDITIONS_TARGET_RELATION_DESCRIPTION"
|
||||
class="list_class"
|
||||
multiple="false"
|
||||
filter="INT"
|
||||
required="false"
|
||||
default="0">
|
||||
<!-- Option Set. -->
|
||||
<option value="0">
|
||||
COM_COMPONENTBUILDER_ADMIN_FIELDS_CONDITIONS_ISOLATE</option>
|
||||
<option value="1">
|
||||
COM_COMPONENTBUILDER_ADMIN_FIELDS_CONDITIONS_CHAIN</option>
|
||||
</field>
|
||||
<!-- Match_field Field. Type: Matchfield. (custom) -->
|
||||
<field
|
||||
type="matchfield"
|
||||
name="match_field"
|
||||
label="COM_COMPONENTBUILDER_ADMIN_FIELDS_CONDITIONS_MATCH_FIELD_LABEL"
|
||||
description="COM_COMPONENTBUILDER_ADMIN_FIELDS_CONDITIONS_MATCH_FIELD_DESCRIPTION"
|
||||
multiple="false"
|
||||
required="false"
|
||||
button="false"
|
||||
/>
|
||||
<!-- Match_behavior Field. Type: List. (joomla) -->
|
||||
<field
|
||||
type="list"
|
||||
name="match_behavior"
|
||||
label="COM_COMPONENTBUILDER_ADMIN_FIELDS_CONDITIONS_MATCH_BEHAVIOR_LABEL"
|
||||
description="COM_COMPONENTBUILDER_ADMIN_FIELDS_CONDITIONS_MATCH_BEHAVIOR_DESCRIPTION"
|
||||
class="list_class"
|
||||
multiple="false"
|
||||
filter="INT"
|
||||
required="false"
|
||||
default="1">
|
||||
<!-- Option Set. -->
|
||||
<option value="1">
|
||||
COM_COMPONENTBUILDER_ADMIN_FIELDS_CONDITIONS_IS_ONLY_FOUR_LISTRADIOCHECKBOXES</option>
|
||||
<option value="2">
|
||||
COM_COMPONENTBUILDER_ADMIN_FIELDS_CONDITIONS_IS_NOT_ONLY_FOUR_LISTRADIOCHECKBOXES</option>
|
||||
<option value="3">
|
||||
COM_COMPONENTBUILDER_ADMIN_FIELDS_CONDITIONS_ANY_SELECTION_ONLY_FOUR_LISTRADIOCHECKBOXESDYNAMIC_LIST</option>
|
||||
<option value="4">
|
||||
COM_COMPONENTBUILDER_ADMIN_FIELDS_CONDITIONS_ACTIVE_ONLY_FOUR_TEXT_FIELD</option>
|
||||
<option value="5">
|
||||
COM_COMPONENTBUILDER_ADMIN_FIELDS_CONDITIONS_UNACTIVE_ONLY_FOUR_TEXT_FIELD</option>
|
||||
<option value="6">
|
||||
COM_COMPONENTBUILDER_ADMIN_FIELDS_CONDITIONS_KEY_WORD_ALL_CASESENSITIVE_ONLY_FOUR_TEXT_FIELD</option>
|
||||
<option value="7">
|
||||
COM_COMPONENTBUILDER_ADMIN_FIELDS_CONDITIONS_KEY_WORD_ANY_CASESENSITIVE_ONLY_FOUR_TEXT_FIELD</option>
|
||||
<option value="8">
|
||||
COM_COMPONENTBUILDER_ADMIN_FIELDS_CONDITIONS_KEY_WORD_ALL_CASEINSENSITIVE_ONLY_FOUR_TEXT_FIELD</option>
|
||||
<option value="9">
|
||||
COM_COMPONENTBUILDER_ADMIN_FIELDS_CONDITIONS_KEY_WORD_ANY_CASEINSENSITIVE_ONLY_FOUR_TEXT_FIELD</option>
|
||||
<option value="10">
|
||||
COM_COMPONENTBUILDER_ADMIN_FIELDS_CONDITIONS_MIN_LENGTH_ONLY_FOUR_TEXT_FIELD</option>
|
||||
<option value="11">
|
||||
COM_COMPONENTBUILDER_ADMIN_FIELDS_CONDITIONS_MAX_LENGTH_ONLY_FOUR_TEXT_FIELD</option>
|
||||
<option value="12">
|
||||
COM_COMPONENTBUILDER_ADMIN_FIELDS_CONDITIONS_EXACT_LENGTH_ONLY_FOUR_TEXT_FIELD</option>
|
||||
</field>
|
||||
<!-- Match_options Field. Type: Textarea. (joomla) -->
|
||||
<field
|
||||
type="textarea"
|
||||
name="match_options"
|
||||
label="COM_COMPONENTBUILDER_ADMIN_FIELDS_CONDITIONS_MATCH_OPTIONS_LABEL"
|
||||
rows="10"
|
||||
cols="5"
|
||||
class="text_area"
|
||||
filter="STRING"
|
||||
hint="COM_COMPONENTBUILDER_ADMIN_FIELDS_CONDITIONS_MATCH_OPTIONS_HINT"
|
||||
required="false"
|
||||
/>
|
||||
</form>
|
||||
</field>
|
||||
<!-- Note_on_conditions Field. Type: Note. A None Database Field. (joomla) -->
|
||||
<field type="note" name="note_on_conditions" label="COM_COMPONENTBUILDER_ADMIN_FIELDS_CONDITIONS_NOTE_ON_CONDITIONS_LABEL" description="COM_COMPONENTBUILDER_ADMIN_FIELDS_CONDITIONS_NOTE_ON_CONDITIONS_DESCRIPTION" heading="h4" class="alert alert-info note_on_conditions" close="true" />
|
||||
</fieldset>
|
||||
|
||||
<!-- Access Control Fields. -->
|
||||
<fieldset name="accesscontrol">
|
||||
|
File diff suppressed because it is too large
Load Diff
File diff suppressed because it is too large
Load Diff
@ -4,142 +4,155 @@
|
||||
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" />
|
||||
<!-- Date Created Field. Type: Calendar (joomla)-->
|
||||
<field name="created"
|
||||
type="calendar"
|
||||
label="COM_COMPONENTBUILDER_COMPONENT_CONFIG_CREATED_DATE_LABEL"
|
||||
description="COM_COMPONENTBUILDER_COMPONENT_CONFIG_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_COMPONENT_CONFIG_CREATED_BY_LABEL"
|
||||
description="COM_COMPONENTBUILDER_COMPONENT_CONFIG_CREATED_BY_DESC" />
|
||||
<!-- Published Field. Type: List (joomla)-->
|
||||
<field name="published"
|
||||
type="list"
|
||||
label="JSTATUS">
|
||||
<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_COMPONENT_CONFIG_MODIFIED_DATE_LABEL"
|
||||
description="COM_COMPONENTBUILDER_COMPONENT_CONFIG_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_COMPONENT_CONFIG_MODIFIED_BY_LABEL"
|
||||
description="COM_COMPONENTBUILDER_COMPONENT_CONFIG_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_COMPONENT_CONFIG_ORDERING_LABEL"
|
||||
description=""
|
||||
default="0"
|
||||
size="6"
|
||||
required="false" />
|
||||
<!-- Version Field. Type: Text (joomla)-->
|
||||
<field name="version"
|
||||
type="text"
|
||||
class="readonly"
|
||||
label="COM_COMPONENTBUILDER_COMPONENT_CONFIG_VERSION_LABEL"
|
||||
description="COM_COMPONENTBUILDER_COMPONENT_CONFIG_VERSION_DESC"
|
||||
size="6"
|
||||
readonly="true"
|
||||
filter="unset" />
|
||||
<!-- Dynamic Fields.-->
|
||||
<!-- Joomla_component Field. Type: Joomlacomponents. (custom)-->
|
||||
<field type="joomlacomponents"
|
||||
name="joomla_component"
|
||||
label="COM_COMPONENTBUILDER_COMPONENT_CONFIG_JOOMLA_COMPONENT_LABEL"
|
||||
description="COM_COMPONENTBUILDER_COMPONENT_CONFIG_JOOMLA_COMPONENT_DESCRIPTION"
|
||||
class="list_class"
|
||||
multiple="false"
|
||||
required="true"
|
||||
readonly="true"
|
||||
button="false" />
|
||||
<!-- Addconfig Field. Type: Subform. (joomla)-->
|
||||
<field type="subform"
|
||||
name="addconfig"
|
||||
label="COM_COMPONENTBUILDER_COMPONENT_CONFIG_ADDCONFIG_LABEL"
|
||||
layout="joomla.form.field.subform.repeatable-table"
|
||||
multiple="true"
|
||||
description="COM_COMPONENTBUILDER_COMPONENT_CONFIG_ADDCONFIG_DESCRIPTION"
|
||||
icon="list"
|
||||
maximum="500">
|
||||
<form hidden="true"
|
||||
name="list_addconfig_modal"
|
||||
repeat="true">
|
||||
<!-- Field Field. Type: Fields. (custom)-->
|
||||
<field type="fields"
|
||||
name="field"
|
||||
label="COM_COMPONENTBUILDER_COMPONENT_CONFIG_FIELD_LABEL"
|
||||
description="COM_COMPONENTBUILDER_COMPONENT_CONFIG_FIELD_DESCRIPTION"
|
||||
class="list_class"
|
||||
multiple="false"
|
||||
required="false"
|
||||
button="false" />
|
||||
<!-- Custom_value Field. Type: Textarea. (joomla)-->
|
||||
<field type="textarea"
|
||||
name="custom_value"
|
||||
label="COM_COMPONENTBUILDER_COMPONENT_CONFIG_CUSTOM_VALUE_LABEL"
|
||||
rows="2"
|
||||
cols="4"
|
||||
description="COM_COMPONENTBUILDER_COMPONENT_CONFIG_CUSTOM_VALUE_DESCRIPTION"
|
||||
class="text_area"
|
||||
hint="COM_COMPONENTBUILDER_COMPONENT_CONFIG_CUSTOM_VALUE_HINT"
|
||||
required="false"
|
||||
readonly="false"
|
||||
disabled="false" />
|
||||
<!-- Tabname Field. Type: Text. (joomla)-->
|
||||
<field type="text"
|
||||
name="tabname"
|
||||
label="COM_COMPONENTBUILDER_COMPONENT_CONFIG_TABNAME_LABEL"
|
||||
size="40"
|
||||
maxlength="150"
|
||||
default="Global"
|
||||
description="COM_COMPONENTBUILDER_COMPONENT_CONFIG_TABNAME_DESCRIPTION"
|
||||
class="text_area"
|
||||
readonly="false"
|
||||
disabled="false"
|
||||
required="false"
|
||||
filter="STRING"
|
||||
message="COM_COMPONENTBUILDER_COMPONENT_CONFIG_TABNAME_MESSAGE"
|
||||
hint="COM_COMPONENTBUILDER_COMPONENT_CONFIG_TABNAME_HINT" />
|
||||
</form>
|
||||
</field>
|
||||
</fieldset>
|
||||
<!-- 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_COMPONENT_CONFIG_CREATED_DATE_LABEL"
|
||||
description="COM_COMPONENTBUILDER_COMPONENT_CONFIG_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_COMPONENT_CONFIG_CREATED_BY_LABEL"
|
||||
description="COM_COMPONENTBUILDER_COMPONENT_CONFIG_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_COMPONENT_CONFIG_MODIFIED_DATE_LABEL" description="COM_COMPONENTBUILDER_COMPONENT_CONFIG_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_COMPONENT_CONFIG_MODIFIED_BY_LABEL"
|
||||
description="COM_COMPONENTBUILDER_COMPONENT_CONFIG_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_COMPONENT_CONFIG_ORDERING_LABEL"
|
||||
description=""
|
||||
default="0"
|
||||
size="6"
|
||||
required="false"
|
||||
/>
|
||||
<!-- Version Field. Type: Text (joomla) -->
|
||||
<field
|
||||
name="version"
|
||||
type="text"
|
||||
class="readonly"
|
||||
label="COM_COMPONENTBUILDER_COMPONENT_CONFIG_VERSION_LABEL"
|
||||
description="COM_COMPONENTBUILDER_COMPONENT_CONFIG_VERSION_DESC"
|
||||
size="6"
|
||||
readonly="true"
|
||||
filter="unset"
|
||||
/>
|
||||
<!-- Dynamic Fields. -->
|
||||
<!-- Joomla_component Field. Type: Joomlacomponents. (custom) -->
|
||||
<field
|
||||
type="joomlacomponents"
|
||||
name="joomla_component"
|
||||
label="COM_COMPONENTBUILDER_COMPONENT_CONFIG_JOOMLA_COMPONENT_LABEL"
|
||||
description="COM_COMPONENTBUILDER_COMPONENT_CONFIG_JOOMLA_COMPONENT_DESCRIPTION"
|
||||
class="list_class"
|
||||
multiple="false"
|
||||
required="true"
|
||||
readonly="true"
|
||||
button="false"
|
||||
/>
|
||||
<!-- Addconfig Field. Type: Subform. (joomla) -->
|
||||
<field
|
||||
type="subform"
|
||||
name="addconfig"
|
||||
label="COM_COMPONENTBUILDER_COMPONENT_CONFIG_ADDCONFIG_LABEL"
|
||||
layout="joomla.form.field.subform.repeatable-table"
|
||||
multiple="true"
|
||||
description="COM_COMPONENTBUILDER_COMPONENT_CONFIG_ADDCONFIG_DESCRIPTION"
|
||||
icon="list"
|
||||
maximum="500">
|
||||
<form hidden="true" name="list_addconfig_modal" repeat="true">
|
||||
<!-- Field Field. Type: Fields. (custom) -->
|
||||
<field
|
||||
type="fields"
|
||||
name="field"
|
||||
label="COM_COMPONENTBUILDER_COMPONENT_CONFIG_FIELD_LABEL"
|
||||
description="COM_COMPONENTBUILDER_COMPONENT_CONFIG_FIELD_DESCRIPTION"
|
||||
class="list_class"
|
||||
multiple="false"
|
||||
required="false"
|
||||
button="false"
|
||||
/>
|
||||
<!-- Custom_value Field. Type: Textarea. (joomla) -->
|
||||
<field
|
||||
type="textarea"
|
||||
name="custom_value"
|
||||
label="COM_COMPONENTBUILDER_COMPONENT_CONFIG_CUSTOM_VALUE_LABEL"
|
||||
rows="2"
|
||||
cols="4"
|
||||
description="COM_COMPONENTBUILDER_COMPONENT_CONFIG_CUSTOM_VALUE_DESCRIPTION"
|
||||
class="text_area"
|
||||
hint="COM_COMPONENTBUILDER_COMPONENT_CONFIG_CUSTOM_VALUE_HINT"
|
||||
required="false"
|
||||
readonly="false"
|
||||
disabled="false"
|
||||
/>
|
||||
<!-- Tabname Field. Type: Text. (joomla) -->
|
||||
<field
|
||||
type="text"
|
||||
name="tabname"
|
||||
label="COM_COMPONENTBUILDER_COMPONENT_CONFIG_TABNAME_LABEL"
|
||||
size="40"
|
||||
maxlength="150"
|
||||
default="Global"
|
||||
description="COM_COMPONENTBUILDER_COMPONENT_CONFIG_TABNAME_DESCRIPTION"
|
||||
class="text_area"
|
||||
readonly="false"
|
||||
disabled="false"
|
||||
required="false"
|
||||
filter="STRING"
|
||||
message="COM_COMPONENTBUILDER_COMPONENT_CONFIG_TABNAME_MESSAGE"
|
||||
hint="COM_COMPONENTBUILDER_COMPONENT_CONFIG_TABNAME_HINT"
|
||||
/>
|
||||
</form>
|
||||
</field>
|
||||
</fieldset>
|
||||
|
||||
<!-- Access Control Fields. -->
|
||||
<fieldset name="accesscontrol">
|
||||
|
@ -4,188 +4,211 @@
|
||||
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" />
|
||||
<!-- Date Created Field. Type: Calendar (joomla)-->
|
||||
<field name="created"
|
||||
type="calendar"
|
||||
label="COM_COMPONENTBUILDER_COMPONENT_CUSTOM_ADMIN_MENUS_CREATED_DATE_LABEL"
|
||||
description="COM_COMPONENTBUILDER_COMPONENT_CUSTOM_ADMIN_MENUS_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_COMPONENT_CUSTOM_ADMIN_MENUS_CREATED_BY_LABEL"
|
||||
description="COM_COMPONENTBUILDER_COMPONENT_CUSTOM_ADMIN_MENUS_CREATED_BY_DESC" />
|
||||
<!-- Published Field. Type: List (joomla)-->
|
||||
<field name="published"
|
||||
type="list"
|
||||
label="JSTATUS">
|
||||
<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_COMPONENT_CUSTOM_ADMIN_MENUS_MODIFIED_DATE_LABEL"
|
||||
description="COM_COMPONENTBUILDER_COMPONENT_CUSTOM_ADMIN_MENUS_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_COMPONENT_CUSTOM_ADMIN_MENUS_MODIFIED_BY_LABEL"
|
||||
description="COM_COMPONENTBUILDER_COMPONENT_CUSTOM_ADMIN_MENUS_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_COMPONENT_CUSTOM_ADMIN_MENUS_ORDERING_LABEL"
|
||||
description=""
|
||||
default="0"
|
||||
size="6"
|
||||
required="false" />
|
||||
<!-- Version Field. Type: Text (joomla)-->
|
||||
<field name="version"
|
||||
type="text"
|
||||
class="readonly"
|
||||
label="COM_COMPONENTBUILDER_COMPONENT_CUSTOM_ADMIN_MENUS_VERSION_LABEL"
|
||||
description="COM_COMPONENTBUILDER_COMPONENT_CUSTOM_ADMIN_MENUS_VERSION_DESC"
|
||||
size="6"
|
||||
readonly="true"
|
||||
filter="unset" />
|
||||
<!-- Dynamic Fields.-->
|
||||
<!-- Joomla_component Field. Type: Joomlacomponents. (custom)-->
|
||||
<field type="joomlacomponents"
|
||||
name="joomla_component"
|
||||
label="COM_COMPONENTBUILDER_COMPONENT_CUSTOM_ADMIN_MENUS_JOOMLA_COMPONENT_LABEL"
|
||||
description="COM_COMPONENTBUILDER_COMPONENT_CUSTOM_ADMIN_MENUS_JOOMLA_COMPONENT_DESCRIPTION"
|
||||
class="list_class"
|
||||
multiple="false"
|
||||
required="true"
|
||||
readonly="true"
|
||||
button="false" />
|
||||
<!-- Addcustommenus Field. Type: Subform. (joomla)-->
|
||||
<field type="subform"
|
||||
name="addcustommenus"
|
||||
label="COM_COMPONENTBUILDER_COMPONENT_CUSTOM_ADMIN_MENUS_ADDCUSTOMMENUS_LABEL"
|
||||
layout="joomla.form.field.subform.repeatable-table"
|
||||
multiple="true"
|
||||
icon="list"
|
||||
maximum="50">
|
||||
<form hidden="true"
|
||||
name="list_addcustommenus_modal"
|
||||
repeat="true">
|
||||
<!-- Name Field. Type: Text. (joomla)-->
|
||||
<field type="text"
|
||||
name="name"
|
||||
label="COM_COMPONENTBUILDER_COMPONENT_CUSTOM_ADMIN_MENUS_NAME_LABEL"
|
||||
size="40"
|
||||
maxlength="150"
|
||||
description="COM_COMPONENTBUILDER_COMPONENT_CUSTOM_ADMIN_MENUS_NAME_DESCRIPTION"
|
||||
class="text_area"
|
||||
readonly="false"
|
||||
disabled="false"
|
||||
required="false"
|
||||
filter="STRING"
|
||||
message="COM_COMPONENTBUILDER_COMPONENT_CUSTOM_ADMIN_MENUS_NAME_MESSAGE"
|
||||
hint="COM_COMPONENTBUILDER_COMPONENT_CUSTOM_ADMIN_MENUS_NAME_HINT" />
|
||||
<!-- Name_code Field. Type: Text. (joomla)-->
|
||||
<field type="text"
|
||||
name="name_code"
|
||||
label="COM_COMPONENTBUILDER_COMPONENT_CUSTOM_ADMIN_MENUS_NAME_CODE_LABEL"
|
||||
size="40"
|
||||
maxlength="50"
|
||||
description="COM_COMPONENTBUILDER_COMPONENT_CUSTOM_ADMIN_MENUS_NAME_CODE_DESCRIPTION"
|
||||
class="text_area"
|
||||
required="false"
|
||||
filter="CMD"
|
||||
message="COM_COMPONENTBUILDER_COMPONENT_CUSTOM_ADMIN_MENUS_NAME_CODE_MESSAGE"
|
||||
hint="COM_COMPONENTBUILDER_COMPONENT_CUSTOM_ADMIN_MENUS_NAME_CODE_HINT" />
|
||||
<!-- Link Field. Type: Text. (joomla)-->
|
||||
<field type="text"
|
||||
name="link"
|
||||
label="COM_COMPONENTBUILDER_COMPONENT_CUSTOM_ADMIN_MENUS_LINK_LABEL"
|
||||
size="50"
|
||||
maxlength="150"
|
||||
description="COM_COMPONENTBUILDER_COMPONENT_CUSTOM_ADMIN_MENUS_LINK_DESCRIPTION"
|
||||
class="text_area"
|
||||
readonly="false"
|
||||
disabled="false"
|
||||
required="false"
|
||||
filter="STRING"
|
||||
message="COM_COMPONENTBUILDER_COMPONENT_CUSTOM_ADMIN_MENUS_LINK_MESSAGE"
|
||||
hint="COM_COMPONENTBUILDER_COMPONENT_CUSTOM_ADMIN_MENUS_LINK_HINT" />
|
||||
<!-- Icon Field. Type: Filelist. (joomla)-->
|
||||
<field type="filelist"
|
||||
name="icon"
|
||||
label="COM_COMPONENTBUILDER_COMPONENT_CUSTOM_ADMIN_MENUS_ICON_LABEL"
|
||||
directory="images"
|
||||
description="COM_COMPONENTBUILDER_COMPONENT_CUSTOM_ADMIN_MENUS_ICON_DESCRIPTION"
|
||||
hide_default="true" />
|
||||
<!-- Mainmenu Field. Type: Checkbox. (joomla)-->
|
||||
<field type="checkbox"
|
||||
name="mainmenu"
|
||||
label="COM_COMPONENTBUILDER_COMPONENT_CUSTOM_ADMIN_MENUS_MAINMENU_LABEL"
|
||||
value="1"
|
||||
default="1"
|
||||
required="false"
|
||||
description="COM_COMPONENTBUILDER_COMPONENT_CUSTOM_ADMIN_MENUS_MAINMENU_DESCRIPTION"
|
||||
class="inputbox" />
|
||||
<!-- Dashboard_list Field. Type: Checkbox. (joomla)-->
|
||||
<field type="checkbox"
|
||||
name="dashboard_list"
|
||||
label="COM_COMPONENTBUILDER_COMPONENT_CUSTOM_ADMIN_MENUS_DASHBOARD_LIST_LABEL"
|
||||
value="1"
|
||||
default="1"
|
||||
required="false"
|
||||
description="COM_COMPONENTBUILDER_COMPONENT_CUSTOM_ADMIN_MENUS_DASHBOARD_LIST_DESCRIPTION"
|
||||
class="inputbox" />
|
||||
<!-- Submenu Field. Type: Checkbox. (joomla)-->
|
||||
<field type="checkbox"
|
||||
name="submenu"
|
||||
label="COM_COMPONENTBUILDER_COMPONENT_CUSTOM_ADMIN_MENUS_SUBMENU_LABEL"
|
||||
value="1"
|
||||
default="1"
|
||||
required="false"
|
||||
description="COM_COMPONENTBUILDER_COMPONENT_CUSTOM_ADMIN_MENUS_SUBMENU_DESCRIPTION"
|
||||
class="inputbox" />
|
||||
<!-- Before Field. Type: Componentadminmenus. (custom)-->
|
||||
<field type="componentadminmenus"
|
||||
name="before"
|
||||
label="COM_COMPONENTBUILDER_COMPONENT_CUSTOM_ADMIN_MENUS_BEFORE_LABEL"
|
||||
description="COM_COMPONENTBUILDER_COMPONENT_CUSTOM_ADMIN_MENUS_BEFORE_DESCRIPTION"
|
||||
class="list_class fieldMedium"
|
||||
multiple="false"
|
||||
required="false"
|
||||
button="false" />
|
||||
</form>
|
||||
</field>
|
||||
</fieldset>
|
||||
<!-- 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_COMPONENT_CUSTOM_ADMIN_MENUS_CREATED_DATE_LABEL"
|
||||
description="COM_COMPONENTBUILDER_COMPONENT_CUSTOM_ADMIN_MENUS_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_COMPONENT_CUSTOM_ADMIN_MENUS_CREATED_BY_LABEL"
|
||||
description="COM_COMPONENTBUILDER_COMPONENT_CUSTOM_ADMIN_MENUS_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_COMPONENT_CUSTOM_ADMIN_MENUS_MODIFIED_DATE_LABEL" description="COM_COMPONENTBUILDER_COMPONENT_CUSTOM_ADMIN_MENUS_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_COMPONENT_CUSTOM_ADMIN_MENUS_MODIFIED_BY_LABEL"
|
||||
description="COM_COMPONENTBUILDER_COMPONENT_CUSTOM_ADMIN_MENUS_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_COMPONENT_CUSTOM_ADMIN_MENUS_ORDERING_LABEL"
|
||||
description=""
|
||||
default="0"
|
||||
size="6"
|
||||
required="false"
|
||||
/>
|
||||
<!-- Version Field. Type: Text (joomla) -->
|
||||
<field
|
||||
name="version"
|
||||
type="text"
|
||||
class="readonly"
|
||||
label="COM_COMPONENTBUILDER_COMPONENT_CUSTOM_ADMIN_MENUS_VERSION_LABEL"
|
||||
description="COM_COMPONENTBUILDER_COMPONENT_CUSTOM_ADMIN_MENUS_VERSION_DESC"
|
||||
size="6"
|
||||
readonly="true"
|
||||
filter="unset"
|
||||
/>
|
||||
<!-- Dynamic Fields. -->
|
||||
<!-- Joomla_component Field. Type: Joomlacomponents. (custom) -->
|
||||
<field
|
||||
type="joomlacomponents"
|
||||
name="joomla_component"
|
||||
label="COM_COMPONENTBUILDER_COMPONENT_CUSTOM_ADMIN_MENUS_JOOMLA_COMPONENT_LABEL"
|
||||
description="COM_COMPONENTBUILDER_COMPONENT_CUSTOM_ADMIN_MENUS_JOOMLA_COMPONENT_DESCRIPTION"
|
||||
class="list_class"
|
||||
multiple="false"
|
||||
required="true"
|
||||
readonly="true"
|
||||
button="false"
|
||||
/>
|
||||
<!-- Addcustommenus Field. Type: Subform. (joomla) -->
|
||||
<field
|
||||
type="subform"
|
||||
name="addcustommenus"
|
||||
label="COM_COMPONENTBUILDER_COMPONENT_CUSTOM_ADMIN_MENUS_ADDCUSTOMMENUS_LABEL"
|
||||
layout="joomla.form.field.subform.repeatable-table"
|
||||
multiple="true"
|
||||
icon="list"
|
||||
maximum="50">
|
||||
<form hidden="true" name="list_addcustommenus_modal" repeat="true">
|
||||
<!-- Name Field. Type: Text. (joomla) -->
|
||||
<field
|
||||
type="text"
|
||||
name="name"
|
||||
label="COM_COMPONENTBUILDER_COMPONENT_CUSTOM_ADMIN_MENUS_NAME_LABEL"
|
||||
size="40"
|
||||
maxlength="150"
|
||||
description="COM_COMPONENTBUILDER_COMPONENT_CUSTOM_ADMIN_MENUS_NAME_DESCRIPTION"
|
||||
class="text_area"
|
||||
readonly="false"
|
||||
disabled="false"
|
||||
required="false"
|
||||
filter="STRING"
|
||||
message="COM_COMPONENTBUILDER_COMPONENT_CUSTOM_ADMIN_MENUS_NAME_MESSAGE"
|
||||
hint="COM_COMPONENTBUILDER_COMPONENT_CUSTOM_ADMIN_MENUS_NAME_HINT"
|
||||
/>
|
||||
<!-- Name_code Field. Type: Text. (joomla) -->
|
||||
<field
|
||||
type="text"
|
||||
name="name_code"
|
||||
label="COM_COMPONENTBUILDER_COMPONENT_CUSTOM_ADMIN_MENUS_NAME_CODE_LABEL"
|
||||
size="40"
|
||||
maxlength="50"
|
||||
description="COM_COMPONENTBUILDER_COMPONENT_CUSTOM_ADMIN_MENUS_NAME_CODE_DESCRIPTION"
|
||||
class="text_area"
|
||||
required="false"
|
||||
filter="CMD"
|
||||
message="COM_COMPONENTBUILDER_COMPONENT_CUSTOM_ADMIN_MENUS_NAME_CODE_MESSAGE"
|
||||
hint="COM_COMPONENTBUILDER_COMPONENT_CUSTOM_ADMIN_MENUS_NAME_CODE_HINT"
|
||||
/>
|
||||
<!-- Link Field. Type: Text. (joomla) -->
|
||||
<field
|
||||
type="text"
|
||||
name="link"
|
||||
label="COM_COMPONENTBUILDER_COMPONENT_CUSTOM_ADMIN_MENUS_LINK_LABEL"
|
||||
size="50"
|
||||
maxlength="150"
|
||||
description="COM_COMPONENTBUILDER_COMPONENT_CUSTOM_ADMIN_MENUS_LINK_DESCRIPTION"
|
||||
class="text_area"
|
||||
readonly="false"
|
||||
disabled="false"
|
||||
required="false"
|
||||
filter="STRING"
|
||||
message="COM_COMPONENTBUILDER_COMPONENT_CUSTOM_ADMIN_MENUS_LINK_MESSAGE"
|
||||
hint="COM_COMPONENTBUILDER_COMPONENT_CUSTOM_ADMIN_MENUS_LINK_HINT"
|
||||
/>
|
||||
<!-- Icon Field. Type: Filelist. (joomla) -->
|
||||
<field
|
||||
type="filelist"
|
||||
name="icon"
|
||||
label="COM_COMPONENTBUILDER_COMPONENT_CUSTOM_ADMIN_MENUS_ICON_LABEL"
|
||||
directory="images"
|
||||
description="COM_COMPONENTBUILDER_COMPONENT_CUSTOM_ADMIN_MENUS_ICON_DESCRIPTION"
|
||||
hide_default="true"
|
||||
/>
|
||||
<!-- Mainmenu Field. Type: Checkbox. (joomla) -->
|
||||
<field
|
||||
type="checkbox"
|
||||
name="mainmenu"
|
||||
label="COM_COMPONENTBUILDER_COMPONENT_CUSTOM_ADMIN_MENUS_MAINMENU_LABEL"
|
||||
value="1"
|
||||
default="1"
|
||||
required="false"
|
||||
description="COM_COMPONENTBUILDER_COMPONENT_CUSTOM_ADMIN_MENUS_MAINMENU_DESCRIPTION"
|
||||
class="inputbox"
|
||||
/>
|
||||
<!-- Dashboard_list Field. Type: Checkbox. (joomla) -->
|
||||
<field
|
||||
type="checkbox"
|
||||
name="dashboard_list"
|
||||
label="COM_COMPONENTBUILDER_COMPONENT_CUSTOM_ADMIN_MENUS_DASHBOARD_LIST_LABEL"
|
||||
value="1"
|
||||
default="1"
|
||||
required="false"
|
||||
description="COM_COMPONENTBUILDER_COMPONENT_CUSTOM_ADMIN_MENUS_DASHBOARD_LIST_DESCRIPTION"
|
||||
class="inputbox"
|
||||
/>
|
||||
<!-- Submenu Field. Type: Checkbox. (joomla) -->
|
||||
<field
|
||||
type="checkbox"
|
||||
name="submenu"
|
||||
label="COM_COMPONENTBUILDER_COMPONENT_CUSTOM_ADMIN_MENUS_SUBMENU_LABEL"
|
||||
value="1"
|
||||
default="1"
|
||||
required="false"
|
||||
description="COM_COMPONENTBUILDER_COMPONENT_CUSTOM_ADMIN_MENUS_SUBMENU_DESCRIPTION"
|
||||
class="inputbox"
|
||||
/>
|
||||
<!-- Before Field. Type: Componentadminmenus. (custom) -->
|
||||
<field
|
||||
type="componentadminmenus"
|
||||
name="before"
|
||||
label="COM_COMPONENTBUILDER_COMPONENT_CUSTOM_ADMIN_MENUS_BEFORE_LABEL"
|
||||
description="COM_COMPONENTBUILDER_COMPONENT_CUSTOM_ADMIN_MENUS_BEFORE_DESCRIPTION"
|
||||
class="list_class fieldMedium"
|
||||
multiple="false"
|
||||
required="false"
|
||||
button="false"
|
||||
/>
|
||||
</form>
|
||||
</field>
|
||||
</fieldset>
|
||||
|
||||
<!-- Access Control Fields. -->
|
||||
<fieldset name="accesscontrol">
|
||||
|
File diff suppressed because it is too large
Load Diff
@ -4,155 +4,170 @@
|
||||
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" />
|
||||
<!-- Date Created Field. Type: Calendar (joomla)-->
|
||||
<field name="created"
|
||||
type="calendar"
|
||||
label="COM_COMPONENTBUILDER_COMPONENT_DASHBOARD_CREATED_DATE_LABEL"
|
||||
description="COM_COMPONENTBUILDER_COMPONENT_DASHBOARD_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_COMPONENT_DASHBOARD_CREATED_BY_LABEL"
|
||||
description="COM_COMPONENTBUILDER_COMPONENT_DASHBOARD_CREATED_BY_DESC" />
|
||||
<!-- Published Field. Type: List (joomla)-->
|
||||
<field name="published"
|
||||
type="list"
|
||||
label="JSTATUS">
|
||||
<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_COMPONENT_DASHBOARD_MODIFIED_DATE_LABEL"
|
||||
description="COM_COMPONENTBUILDER_COMPONENT_DASHBOARD_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_COMPONENT_DASHBOARD_MODIFIED_BY_LABEL"
|
||||
description="COM_COMPONENTBUILDER_COMPONENT_DASHBOARD_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_COMPONENT_DASHBOARD_ORDERING_LABEL"
|
||||
description=""
|
||||
default="0"
|
||||
size="6"
|
||||
required="false" />
|
||||
<!-- Version Field. Type: Text (joomla)-->
|
||||
<field name="version"
|
||||
type="text"
|
||||
class="readonly"
|
||||
label="COM_COMPONENTBUILDER_COMPONENT_DASHBOARD_VERSION_LABEL"
|
||||
description="COM_COMPONENTBUILDER_COMPONENT_DASHBOARD_VERSION_DESC"
|
||||
size="6"
|
||||
readonly="true"
|
||||
filter="unset" />
|
||||
<!-- Dynamic Fields.-->
|
||||
<!-- Joomla_component Field. Type: Joomlacomponents. (custom)-->
|
||||
<field type="joomlacomponents"
|
||||
name="joomla_component"
|
||||
label="COM_COMPONENTBUILDER_COMPONENT_DASHBOARD_JOOMLA_COMPONENT_LABEL"
|
||||
description="COM_COMPONENTBUILDER_COMPONENT_DASHBOARD_JOOMLA_COMPONENT_DESCRIPTION"
|
||||
class="list_class"
|
||||
multiple="false"
|
||||
required="true"
|
||||
readonly="true"
|
||||
button="false" />
|
||||
<!-- Dashboard_tab Field. Type: Subform. (joomla)-->
|
||||
<field type="subform"
|
||||
name="dashboard_tab"
|
||||
label="COM_COMPONENTBUILDER_COMPONENT_DASHBOARD_DASHBOARD_TAB_LABEL"
|
||||
layout="joomla.form.field.subform.repeatable-table"
|
||||
multiple="true"
|
||||
icon="list"
|
||||
maximum="10"
|
||||
filter="raw">
|
||||
<form hidden="true"
|
||||
name="list_dashboard_tab_modal"
|
||||
repeat="true">
|
||||
<!-- Name Field. Type: Text. (joomla)-->
|
||||
<field type="text"
|
||||
name="name"
|
||||
label="COM_COMPONENTBUILDER_COMPONENT_DASHBOARD_NAME_LABEL"
|
||||
size="40"
|
||||
maxlength="150"
|
||||
description="COM_COMPONENTBUILDER_COMPONENT_DASHBOARD_NAME_DESCRIPTION"
|
||||
class="text_area"
|
||||
readonly="false"
|
||||
disabled="false"
|
||||
required="false"
|
||||
filter="STRING"
|
||||
message="COM_COMPONENTBUILDER_COMPONENT_DASHBOARD_NAME_MESSAGE"
|
||||
hint="COM_COMPONENTBUILDER_COMPONENT_DASHBOARD_NAME_HINT" />
|
||||
<!-- Header Field. Type: Text. (joomla)-->
|
||||
<field type="text"
|
||||
name="header"
|
||||
label="COM_COMPONENTBUILDER_COMPONENT_DASHBOARD_HEADER_LABEL"
|
||||
size="40"
|
||||
maxlength="150"
|
||||
description="COM_COMPONENTBUILDER_COMPONENT_DASHBOARD_HEADER_DESCRIPTION"
|
||||
class="text_area"
|
||||
readonly="false"
|
||||
disabled="false"
|
||||
required="false"
|
||||
filter="STRING"
|
||||
message="COM_COMPONENTBUILDER_COMPONENT_DASHBOARD_HEADER_MESSAGE"
|
||||
hint="COM_COMPONENTBUILDER_COMPONENT_DASHBOARD_HEADER_HINT" />
|
||||
<!-- Html Field. Type: Textarea. (joomla)-->
|
||||
<field type="textarea"
|
||||
name="html"
|
||||
label="COM_COMPONENTBUILDER_COMPONENT_DASHBOARD_HTML_LABEL"
|
||||
rows="20"
|
||||
cols="30"
|
||||
class="text_area tab_html"
|
||||
filter="raw"
|
||||
hint="COM_COMPONENTBUILDER_COMPONENT_DASHBOARD_HTML_HINT"
|
||||
required="false" />
|
||||
</form>
|
||||
</field>
|
||||
<!-- Php_dashboard_methods Field. Type: Textarea. (joomla)-->
|
||||
<field type="textarea"
|
||||
name="php_dashboard_methods"
|
||||
label="COM_COMPONENTBUILDER_COMPONENT_DASHBOARD_PHP_DASHBOARD_METHODS_LABEL"
|
||||
rows="17"
|
||||
cols="5"
|
||||
description="COM_COMPONENTBUILDER_COMPONENT_DASHBOARD_PHP_DASHBOARD_METHODS_DESCRIPTION"
|
||||
class="text_area span12"
|
||||
filter="raw"
|
||||
hint="COM_COMPONENTBUILDER_COMPONENT_DASHBOARD_PHP_DASHBOARD_METHODS_HINT"
|
||||
required="false" />
|
||||
</fieldset>
|
||||
<!-- 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_COMPONENT_DASHBOARD_CREATED_DATE_LABEL"
|
||||
description="COM_COMPONENTBUILDER_COMPONENT_DASHBOARD_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_COMPONENT_DASHBOARD_CREATED_BY_LABEL"
|
||||
description="COM_COMPONENTBUILDER_COMPONENT_DASHBOARD_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_COMPONENT_DASHBOARD_MODIFIED_DATE_LABEL" description="COM_COMPONENTBUILDER_COMPONENT_DASHBOARD_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_COMPONENT_DASHBOARD_MODIFIED_BY_LABEL"
|
||||
description="COM_COMPONENTBUILDER_COMPONENT_DASHBOARD_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_COMPONENT_DASHBOARD_ORDERING_LABEL"
|
||||
description=""
|
||||
default="0"
|
||||
size="6"
|
||||
required="false"
|
||||
/>
|
||||
<!-- Version Field. Type: Text (joomla) -->
|
||||
<field
|
||||
name="version"
|
||||
type="text"
|
||||
class="readonly"
|
||||
label="COM_COMPONENTBUILDER_COMPONENT_DASHBOARD_VERSION_LABEL"
|
||||
description="COM_COMPONENTBUILDER_COMPONENT_DASHBOARD_VERSION_DESC"
|
||||
size="6"
|
||||
readonly="true"
|
||||
filter="unset"
|
||||
/>
|
||||
<!-- Dynamic Fields. -->
|
||||
<!-- Joomla_component Field. Type: Joomlacomponents. (custom) -->
|
||||
<field
|
||||
type="joomlacomponents"
|
||||
name="joomla_component"
|
||||
label="COM_COMPONENTBUILDER_COMPONENT_DASHBOARD_JOOMLA_COMPONENT_LABEL"
|
||||
description="COM_COMPONENTBUILDER_COMPONENT_DASHBOARD_JOOMLA_COMPONENT_DESCRIPTION"
|
||||
class="list_class"
|
||||
multiple="false"
|
||||
required="true"
|
||||
readonly="true"
|
||||
button="false"
|
||||
/>
|
||||
<!-- Dashboard_tab Field. Type: Subform. (joomla) -->
|
||||
<field
|
||||
type="subform"
|
||||
name="dashboard_tab"
|
||||
label="COM_COMPONENTBUILDER_COMPONENT_DASHBOARD_DASHBOARD_TAB_LABEL"
|
||||
layout="joomla.form.field.subform.repeatable-table"
|
||||
multiple="true"
|
||||
icon="list"
|
||||
maximum="10"
|
||||
filter="raw">
|
||||
<form hidden="true" name="list_dashboard_tab_modal" repeat="true">
|
||||
<!-- Name Field. Type: Text. (joomla) -->
|
||||
<field
|
||||
type="text"
|
||||
name="name"
|
||||
label="COM_COMPONENTBUILDER_COMPONENT_DASHBOARD_NAME_LABEL"
|
||||
size="40"
|
||||
maxlength="150"
|
||||
description="COM_COMPONENTBUILDER_COMPONENT_DASHBOARD_NAME_DESCRIPTION"
|
||||
class="text_area"
|
||||
readonly="false"
|
||||
disabled="false"
|
||||
required="false"
|
||||
filter="STRING"
|
||||
message="COM_COMPONENTBUILDER_COMPONENT_DASHBOARD_NAME_MESSAGE"
|
||||
hint="COM_COMPONENTBUILDER_COMPONENT_DASHBOARD_NAME_HINT"
|
||||
/>
|
||||
<!-- Header Field. Type: Text. (joomla) -->
|
||||
<field
|
||||
type="text"
|
||||
name="header"
|
||||
label="COM_COMPONENTBUILDER_COMPONENT_DASHBOARD_HEADER_LABEL"
|
||||
size="40"
|
||||
maxlength="150"
|
||||
description="COM_COMPONENTBUILDER_COMPONENT_DASHBOARD_HEADER_DESCRIPTION"
|
||||
class="text_area"
|
||||
readonly="false"
|
||||
disabled="false"
|
||||
required="false"
|
||||
filter="STRING"
|
||||
message="COM_COMPONENTBUILDER_COMPONENT_DASHBOARD_HEADER_MESSAGE"
|
||||
hint="COM_COMPONENTBUILDER_COMPONENT_DASHBOARD_HEADER_HINT"
|
||||
/>
|
||||
<!-- Html Field. Type: Textarea. (joomla) -->
|
||||
<field
|
||||
type="textarea"
|
||||
name="html"
|
||||
label="COM_COMPONENTBUILDER_COMPONENT_DASHBOARD_HTML_LABEL"
|
||||
rows="20"
|
||||
cols="30"
|
||||
class="text_area tab_html"
|
||||
filter="raw"
|
||||
hint="COM_COMPONENTBUILDER_COMPONENT_DASHBOARD_HTML_HINT"
|
||||
required="false"
|
||||
/>
|
||||
</form>
|
||||
</field>
|
||||
<!-- Php_dashboard_methods Field. Type: Textarea. (joomla) -->
|
||||
<field
|
||||
type="textarea"
|
||||
name="php_dashboard_methods"
|
||||
label="COM_COMPONENTBUILDER_COMPONENT_DASHBOARD_PHP_DASHBOARD_METHODS_LABEL"
|
||||
rows="17"
|
||||
cols="5"
|
||||
description="COM_COMPONENTBUILDER_COMPONENT_DASHBOARD_PHP_DASHBOARD_METHODS_DESCRIPTION"
|
||||
class="text_area span12"
|
||||
filter="raw"
|
||||
hint="COM_COMPONENTBUILDER_COMPONENT_DASHBOARD_PHP_DASHBOARD_METHODS_HINT"
|
||||
required="false"
|
||||
/>
|
||||
</fieldset>
|
||||
|
||||
<!-- Access Control Fields. -->
|
||||
<fieldset name="accesscontrol">
|
||||
|
@ -4,313 +4,316 @@
|
||||
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" />
|
||||
<!-- Date Created Field. Type: Calendar (joomla)-->
|
||||
<field name="created"
|
||||
type="calendar"
|
||||
label="COM_COMPONENTBUILDER_COMPONENT_FILES_FOLDERS_CREATED_DATE_LABEL"
|
||||
description="COM_COMPONENTBUILDER_COMPONENT_FILES_FOLDERS_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_COMPONENT_FILES_FOLDERS_CREATED_BY_LABEL"
|
||||
description="COM_COMPONENTBUILDER_COMPONENT_FILES_FOLDERS_CREATED_BY_DESC" />
|
||||
<!-- Published Field. Type: List (joomla)-->
|
||||
<field name="published"
|
||||
type="list"
|
||||
label="JSTATUS">
|
||||
<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_COMPONENT_FILES_FOLDERS_MODIFIED_DATE_LABEL"
|
||||
description="COM_COMPONENTBUILDER_COMPONENT_FILES_FOLDERS_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_COMPONENT_FILES_FOLDERS_MODIFIED_BY_LABEL"
|
||||
description="COM_COMPONENTBUILDER_COMPONENT_FILES_FOLDERS_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_COMPONENT_FILES_FOLDERS_ORDERING_LABEL"
|
||||
description=""
|
||||
default="0"
|
||||
size="6"
|
||||
required="false" />
|
||||
<!-- Version Field. Type: Text (joomla)-->
|
||||
<field name="version"
|
||||
type="text"
|
||||
class="readonly"
|
||||
label="COM_COMPONENTBUILDER_COMPONENT_FILES_FOLDERS_VERSION_LABEL"
|
||||
description="COM_COMPONENTBUILDER_COMPONENT_FILES_FOLDERS_VERSION_DESC"
|
||||
size="6"
|
||||
readonly="true"
|
||||
filter="unset" />
|
||||
<!-- Dynamic Fields.-->
|
||||
<!-- Joomla_component Field. Type: Joomlacomponents. (custom)-->
|
||||
<field type="joomlacomponents"
|
||||
name="joomla_component"
|
||||
label="COM_COMPONENTBUILDER_COMPONENT_FILES_FOLDERS_JOOMLA_COMPONENT_LABEL"
|
||||
description="COM_COMPONENTBUILDER_COMPONENT_FILES_FOLDERS_JOOMLA_COMPONENT_DESCRIPTION"
|
||||
class="list_class"
|
||||
multiple="false"
|
||||
required="true"
|
||||
readonly="true"
|
||||
button="false" />
|
||||
<!-- Note_constant_paths Field. Type: Note. A None Database Field. (joomla)-->
|
||||
<field type="note"
|
||||
name="note_constant_paths"
|
||||
label="COM_COMPONENTBUILDER_COMPONENT_FILES_FOLDERS_NOTE_CONSTANT_PATHS_LABEL"
|
||||
description="COM_COMPONENTBUILDER_COMPONENT_FILES_FOLDERS_NOTE_CONSTANT_PATHS_DESCRIPTION"
|
||||
heading="h4"
|
||||
class="alert alert-info note_constant_paths" />
|
||||
<!-- Addfoldersfullpath Field. Type: Subform. (joomla)-->
|
||||
<field type="subform"
|
||||
name="addfoldersfullpath"
|
||||
label="COM_COMPONENTBUILDER_COMPONENT_FILES_FOLDERS_ADDFOLDERSFULLPATH_LABEL"
|
||||
layout="joomla.form.field.subform.repeatable-table"
|
||||
multiple="true"
|
||||
description="COM_COMPONENTBUILDER_COMPONENT_FILES_FOLDERS_ADDFOLDERSFULLPATH_DESCRIPTION"
|
||||
icon="list"
|
||||
maximum="500">
|
||||
<form hidden="true"
|
||||
name="list_addfoldersfullpath_modal"
|
||||
repeat="true">
|
||||
<!-- Folderpath Field. Type: Text. (joomla)-->
|
||||
<field type="text"
|
||||
name="folderpath"
|
||||
label="COM_COMPONENTBUILDER_COMPONENT_FILES_FOLDERS_FOLDERPATH_LABEL"
|
||||
size="70"
|
||||
maxlength="300"
|
||||
description="COM_COMPONENTBUILDER_COMPONENT_FILES_FOLDERS_FOLDERPATH_DESCRIPTION"
|
||||
class="text_area"
|
||||
required="false"
|
||||
filter="PATH"
|
||||
message="COM_COMPONENTBUILDER_COMPONENT_FILES_FOLDERS_FOLDERPATH_MESSAGE"
|
||||
hint="COM_COMPONENTBUILDER_COMPONENT_FILES_FOLDERS_FOLDERPATH_HINT" />
|
||||
<!-- Path Field. Type: Text. (joomla)-->
|
||||
<field type="text"
|
||||
name="path"
|
||||
label="COM_COMPONENTBUILDER_COMPONENT_FILES_FOLDERS_PATH_LABEL"
|
||||
size="40"
|
||||
maxlength="150"
|
||||
description="COM_COMPONENTBUILDER_COMPONENT_FILES_FOLDERS_PATH_DESCRIPTION"
|
||||
class="text_area"
|
||||
readonly="false"
|
||||
disabled="false"
|
||||
required="false"
|
||||
filter="PATH"
|
||||
message="COM_COMPONENTBUILDER_COMPONENT_FILES_FOLDERS_PATH_MESSAGE"
|
||||
hint="COM_COMPONENTBUILDER_COMPONENT_FILES_FOLDERS_PATH_HINT" />
|
||||
<!-- Rename Field. Type: Checkbox. (joomla)-->
|
||||
<field type="checkbox"
|
||||
name="rename"
|
||||
label="COM_COMPONENTBUILDER_COMPONENT_FILES_FOLDERS_RENAME_LABEL"
|
||||
value="1"
|
||||
required="false"
|
||||
class="inputbox" />
|
||||
</form>
|
||||
</field>
|
||||
<!-- Note_add_folders_fullpath Field. Type: Note. A None Database Field. (joomla)-->
|
||||
<field type="note"
|
||||
name="note_add_folders_fullpath"
|
||||
label="COM_COMPONENTBUILDER_COMPONENT_FILES_FOLDERS_NOTE_ADD_FOLDERS_FULLPATH_LABEL"
|
||||
description="COM_COMPONENTBUILDER_COMPONENT_FILES_FOLDERS_NOTE_ADD_FOLDERS_FULLPATH_DESCRIPTION"
|
||||
heading="h4"
|
||||
class="alert alert-info note_add_folders_fullpath" />
|
||||
<!-- Addfilesfullpath Field. Type: Subform. (joomla)-->
|
||||
<field type="subform"
|
||||
name="addfilesfullpath"
|
||||
label="COM_COMPONENTBUILDER_COMPONENT_FILES_FOLDERS_ADDFILESFULLPATH_LABEL"
|
||||
layout="joomla.form.field.subform.repeatable-table"
|
||||
multiple="true"
|
||||
description="COM_COMPONENTBUILDER_COMPONENT_FILES_FOLDERS_ADDFILESFULLPATH_DESCRIPTION"
|
||||
icon="list"
|
||||
maximum="500">
|
||||
<form hidden="true"
|
||||
name="list_addfilesfullpath_modal"
|
||||
repeat="true">
|
||||
<!-- Filepath Field. Type: Text. (joomla)-->
|
||||
<field type="text"
|
||||
name="filepath"
|
||||
label="COM_COMPONENTBUILDER_COMPONENT_FILES_FOLDERS_FILEPATH_LABEL"
|
||||
size="70"
|
||||
maxlength="300"
|
||||
description="COM_COMPONENTBUILDER_COMPONENT_FILES_FOLDERS_FILEPATH_DESCRIPTION"
|
||||
class="text_area"
|
||||
required="false"
|
||||
filter="PATH"
|
||||
message="COM_COMPONENTBUILDER_COMPONENT_FILES_FOLDERS_FILEPATH_MESSAGE"
|
||||
hint="COM_COMPONENTBUILDER_COMPONENT_FILES_FOLDERS_FILEPATH_HINT" />
|
||||
<!-- Path Field. Type: Text. (joomla)-->
|
||||
<field type="text"
|
||||
name="path"
|
||||
label="COM_COMPONENTBUILDER_COMPONENT_FILES_FOLDERS_PATH_LABEL"
|
||||
size="40"
|
||||
maxlength="150"
|
||||
description="COM_COMPONENTBUILDER_COMPONENT_FILES_FOLDERS_PATH_DESCRIPTION"
|
||||
class="text_area"
|
||||
readonly="false"
|
||||
disabled="false"
|
||||
required="false"
|
||||
filter="PATH"
|
||||
message="COM_COMPONENTBUILDER_COMPONENT_FILES_FOLDERS_PATH_MESSAGE"
|
||||
hint="COM_COMPONENTBUILDER_COMPONENT_FILES_FOLDERS_PATH_HINT" />
|
||||
<!-- Notnew Field. Type: Checkbox. (joomla)-->
|
||||
<field type="checkbox"
|
||||
name="notnew"
|
||||
label="COM_COMPONENTBUILDER_COMPONENT_FILES_FOLDERS_NOTNEW_LABEL"
|
||||
value="1"
|
||||
required="false"
|
||||
description="COM_COMPONENTBUILDER_COMPONENT_FILES_FOLDERS_NOTNEW_DESCRIPTION"
|
||||
class="inputbox" />
|
||||
</form>
|
||||
</field>
|
||||
<!-- Note_add_files_fullpath Field. Type: Note. A None Database Field. (joomla)-->
|
||||
<field type="note"
|
||||
name="note_add_files_fullpath"
|
||||
label="COM_COMPONENTBUILDER_COMPONENT_FILES_FOLDERS_NOTE_ADD_FILES_FULLPATH_LABEL"
|
||||
description="COM_COMPONENTBUILDER_COMPONENT_FILES_FOLDERS_NOTE_ADD_FILES_FULLPATH_DESCRIPTION"
|
||||
heading="h4"
|
||||
class="alert alert-info note_add_files_fullpath" />
|
||||
<!-- Addfolders Field. Type: Subform. (joomla)-->
|
||||
<field type="subform"
|
||||
name="addfolders"
|
||||
label="COM_COMPONENTBUILDER_COMPONENT_FILES_FOLDERS_ADDFOLDERS_LABEL"
|
||||
layout="joomla.form.field.subform.repeatable-table"
|
||||
multiple="true"
|
||||
description="COM_COMPONENTBUILDER_COMPONENT_FILES_FOLDERS_ADDFOLDERS_DESCRIPTION"
|
||||
icon="list"
|
||||
maximum="500">
|
||||
<form hidden="true"
|
||||
name="list_addfolders_modal"
|
||||
repeat="true">
|
||||
<!-- Folder Field. Type: Customfolderlist. (custom)-->
|
||||
<field type="customfolderlist"
|
||||
name="folder"
|
||||
label="COM_COMPONENTBUILDER_COMPONENT_FILES_FOLDERS_FOLDER_LABEL"
|
||||
description="COM_COMPONENTBUILDER_COMPONENT_FILES_FOLDERS_FOLDER_DESCRIPTION"
|
||||
class="list_class"
|
||||
multiple="false"
|
||||
default="0"
|
||||
required="false"
|
||||
button="false" />
|
||||
<!-- Path Field. Type: Text. (joomla)-->
|
||||
<field type="text"
|
||||
name="path"
|
||||
label="COM_COMPONENTBUILDER_COMPONENT_FILES_FOLDERS_PATH_LABEL"
|
||||
size="40"
|
||||
maxlength="150"
|
||||
description="COM_COMPONENTBUILDER_COMPONENT_FILES_FOLDERS_PATH_DESCRIPTION"
|
||||
class="text_area"
|
||||
readonly="false"
|
||||
disabled="false"
|
||||
required="false"
|
||||
filter="PATH"
|
||||
message="COM_COMPONENTBUILDER_COMPONENT_FILES_FOLDERS_PATH_MESSAGE"
|
||||
hint="COM_COMPONENTBUILDER_COMPONENT_FILES_FOLDERS_PATH_HINT" />
|
||||
<!-- Rename Field. Type: Checkbox. (joomla)-->
|
||||
<field type="checkbox"
|
||||
name="rename"
|
||||
label="COM_COMPONENTBUILDER_COMPONENT_FILES_FOLDERS_RENAME_LABEL"
|
||||
value="1"
|
||||
required="false"
|
||||
class="inputbox" />
|
||||
</form>
|
||||
</field>
|
||||
<!-- Note_add_folders Field. Type: Note. A None Database Field. (joomla)-->
|
||||
<field type="note"
|
||||
name="note_add_folders"
|
||||
label="COM_COMPONENTBUILDER_COMPONENT_FILES_FOLDERS_NOTE_ADD_FOLDERS_LABEL"
|
||||
description="COM_COMPONENTBUILDER_COMPONENT_FILES_FOLDERS_NOTE_ADD_FOLDERS_DESCRIPTION"
|
||||
heading="h4"
|
||||
class="alert alert-info note_add_folders" />
|
||||
<!-- Addfiles Field. Type: Subform. (joomla)-->
|
||||
<field type="subform"
|
||||
name="addfiles"
|
||||
label="COM_COMPONENTBUILDER_COMPONENT_FILES_FOLDERS_ADDFILES_LABEL"
|
||||
layout="joomla.form.field.subform.repeatable-table"
|
||||
multiple="true"
|
||||
description="COM_COMPONENTBUILDER_COMPONENT_FILES_FOLDERS_ADDFILES_DESCRIPTION"
|
||||
icon="list"
|
||||
maximum="500">
|
||||
<form hidden="true"
|
||||
name="list_addfiles_modal"
|
||||
repeat="true">
|
||||
<!-- File Field. Type: Customfilelist. (custom)-->
|
||||
<field type="customfilelist"
|
||||
name="file"
|
||||
label="COM_COMPONENTBUILDER_COMPONENT_FILES_FOLDERS_FILE_LABEL"
|
||||
description="COM_COMPONENTBUILDER_COMPONENT_FILES_FOLDERS_FILE_DESCRIPTION"
|
||||
class="list_class"
|
||||
multiple="false"
|
||||
default="0"
|
||||
required="false"
|
||||
button="false" />
|
||||
<!-- Path Field. Type: Text. (joomla)-->
|
||||
<field type="text"
|
||||
name="path"
|
||||
label="COM_COMPONENTBUILDER_COMPONENT_FILES_FOLDERS_PATH_LABEL"
|
||||
size="40"
|
||||
maxlength="150"
|
||||
description="COM_COMPONENTBUILDER_COMPONENT_FILES_FOLDERS_PATH_DESCRIPTION"
|
||||
class="text_area"
|
||||
readonly="false"
|
||||
disabled="false"
|
||||
required="false"
|
||||
filter="PATH"
|
||||
message="COM_COMPONENTBUILDER_COMPONENT_FILES_FOLDERS_PATH_MESSAGE"
|
||||
hint="COM_COMPONENTBUILDER_COMPONENT_FILES_FOLDERS_PATH_HINT" />
|
||||
<!-- Notnew Field. Type: Checkbox. (joomla)-->
|
||||
<field type="checkbox"
|
||||
name="notnew"
|
||||
label="COM_COMPONENTBUILDER_COMPONENT_FILES_FOLDERS_NOTNEW_LABEL"
|
||||
value="1"
|
||||
required="false"
|
||||
description="COM_COMPONENTBUILDER_COMPONENT_FILES_FOLDERS_NOTNEW_DESCRIPTION"
|
||||
class="inputbox" />
|
||||
</form>
|
||||
</field>
|
||||
<!-- Note_add_files Field. Type: Note. A None Database Field. (joomla)-->
|
||||
<field type="note"
|
||||
name="note_add_files"
|
||||
label="COM_COMPONENTBUILDER_COMPONENT_FILES_FOLDERS_NOTE_ADD_FILES_LABEL"
|
||||
description="COM_COMPONENTBUILDER_COMPONENT_FILES_FOLDERS_NOTE_ADD_FILES_DESCRIPTION"
|
||||
heading="h4"
|
||||
class="alert alert-info note_add_files" />
|
||||
</fieldset>
|
||||
<!-- 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_COMPONENT_FILES_FOLDERS_CREATED_DATE_LABEL"
|
||||
description="COM_COMPONENTBUILDER_COMPONENT_FILES_FOLDERS_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_COMPONENT_FILES_FOLDERS_CREATED_BY_LABEL"
|
||||
description="COM_COMPONENTBUILDER_COMPONENT_FILES_FOLDERS_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_COMPONENT_FILES_FOLDERS_MODIFIED_DATE_LABEL" description="COM_COMPONENTBUILDER_COMPONENT_FILES_FOLDERS_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_COMPONENT_FILES_FOLDERS_MODIFIED_BY_LABEL"
|
||||
description="COM_COMPONENTBUILDER_COMPONENT_FILES_FOLDERS_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_COMPONENT_FILES_FOLDERS_ORDERING_LABEL"
|
||||
description=""
|
||||
default="0"
|
||||
size="6"
|
||||
required="false"
|
||||
/>
|
||||
<!-- Version Field. Type: Text (joomla) -->
|
||||
<field
|
||||
name="version"
|
||||
type="text"
|
||||
class="readonly"
|
||||
label="COM_COMPONENTBUILDER_COMPONENT_FILES_FOLDERS_VERSION_LABEL"
|
||||
description="COM_COMPONENTBUILDER_COMPONENT_FILES_FOLDERS_VERSION_DESC"
|
||||
size="6"
|
||||
readonly="true"
|
||||
filter="unset"
|
||||
/>
|
||||
<!-- Dynamic Fields. -->
|
||||
<!-- Joomla_component Field. Type: Joomlacomponents. (custom) -->
|
||||
<field
|
||||
type="joomlacomponents"
|
||||
name="joomla_component"
|
||||
label="COM_COMPONENTBUILDER_COMPONENT_FILES_FOLDERS_JOOMLA_COMPONENT_LABEL"
|
||||
description="COM_COMPONENTBUILDER_COMPONENT_FILES_FOLDERS_JOOMLA_COMPONENT_DESCRIPTION"
|
||||
class="list_class"
|
||||
multiple="false"
|
||||
required="true"
|
||||
readonly="true"
|
||||
button="false"
|
||||
/>
|
||||
<!-- Note_constant_paths Field. Type: Note. A None Database Field. (joomla) -->
|
||||
<field type="note" name="note_constant_paths" label="COM_COMPONENTBUILDER_COMPONENT_FILES_FOLDERS_NOTE_CONSTANT_PATHS_LABEL" description="COM_COMPONENTBUILDER_COMPONENT_FILES_FOLDERS_NOTE_CONSTANT_PATHS_DESCRIPTION" heading="h4" class="alert alert-info note_constant_paths" />
|
||||
<!-- Addfoldersfullpath Field. Type: Subform. (joomla) -->
|
||||
<field
|
||||
type="subform"
|
||||
name="addfoldersfullpath"
|
||||
label="COM_COMPONENTBUILDER_COMPONENT_FILES_FOLDERS_ADDFOLDERSFULLPATH_LABEL"
|
||||
layout="joomla.form.field.subform.repeatable-table"
|
||||
multiple="true"
|
||||
description="COM_COMPONENTBUILDER_COMPONENT_FILES_FOLDERS_ADDFOLDERSFULLPATH_DESCRIPTION"
|
||||
icon="list"
|
||||
maximum="500">
|
||||
<form hidden="true" name="list_addfoldersfullpath_modal" repeat="true">
|
||||
<!-- Folderpath Field. Type: Text. (joomla) -->
|
||||
<field
|
||||
type="text"
|
||||
name="folderpath"
|
||||
label="COM_COMPONENTBUILDER_COMPONENT_FILES_FOLDERS_FOLDERPATH_LABEL"
|
||||
size="70"
|
||||
maxlength="300"
|
||||
description="COM_COMPONENTBUILDER_COMPONENT_FILES_FOLDERS_FOLDERPATH_DESCRIPTION"
|
||||
class="text_area"
|
||||
required="false"
|
||||
filter="PATH"
|
||||
message="COM_COMPONENTBUILDER_COMPONENT_FILES_FOLDERS_FOLDERPATH_MESSAGE"
|
||||
hint="COM_COMPONENTBUILDER_COMPONENT_FILES_FOLDERS_FOLDERPATH_HINT"
|
||||
/>
|
||||
<!-- Path Field. Type: Text. (joomla) -->
|
||||
<field
|
||||
type="text"
|
||||
name="path"
|
||||
label="COM_COMPONENTBUILDER_COMPONENT_FILES_FOLDERS_PATH_LABEL"
|
||||
size="40"
|
||||
maxlength="150"
|
||||
description="COM_COMPONENTBUILDER_COMPONENT_FILES_FOLDERS_PATH_DESCRIPTION"
|
||||
class="text_area"
|
||||
readonly="false"
|
||||
disabled="false"
|
||||
required="false"
|
||||
filter="PATH"
|
||||
message="COM_COMPONENTBUILDER_COMPONENT_FILES_FOLDERS_PATH_MESSAGE"
|
||||
hint="COM_COMPONENTBUILDER_COMPONENT_FILES_FOLDERS_PATH_HINT"
|
||||
/>
|
||||
<!-- Rename Field. Type: Checkbox. (joomla) -->
|
||||
<field
|
||||
type="checkbox"
|
||||
name="rename"
|
||||
label="COM_COMPONENTBUILDER_COMPONENT_FILES_FOLDERS_RENAME_LABEL"
|
||||
value="1"
|
||||
required="false"
|
||||
class="inputbox"
|
||||
/>
|
||||
</form>
|
||||
</field>
|
||||
<!-- Note_add_folders_fullpath Field. Type: Note. A None Database Field. (joomla) -->
|
||||
<field type="note" name="note_add_folders_fullpath" label="COM_COMPONENTBUILDER_COMPONENT_FILES_FOLDERS_NOTE_ADD_FOLDERS_FULLPATH_LABEL" description="COM_COMPONENTBUILDER_COMPONENT_FILES_FOLDERS_NOTE_ADD_FOLDERS_FULLPATH_DESCRIPTION" heading="h4" class="alert alert-info note_add_folders_fullpath" />
|
||||
<!-- Addfilesfullpath Field. Type: Subform. (joomla) -->
|
||||
<field
|
||||
type="subform"
|
||||
name="addfilesfullpath"
|
||||
label="COM_COMPONENTBUILDER_COMPONENT_FILES_FOLDERS_ADDFILESFULLPATH_LABEL"
|
||||
layout="joomla.form.field.subform.repeatable-table"
|
||||
multiple="true"
|
||||
description="COM_COMPONENTBUILDER_COMPONENT_FILES_FOLDERS_ADDFILESFULLPATH_DESCRIPTION"
|
||||
icon="list"
|
||||
maximum="500">
|
||||
<form hidden="true" name="list_addfilesfullpath_modal" repeat="true">
|
||||
<!-- Filepath Field. Type: Text. (joomla) -->
|
||||
<field
|
||||
type="text"
|
||||
name="filepath"
|
||||
label="COM_COMPONENTBUILDER_COMPONENT_FILES_FOLDERS_FILEPATH_LABEL"
|
||||
size="70"
|
||||
maxlength="300"
|
||||
description="COM_COMPONENTBUILDER_COMPONENT_FILES_FOLDERS_FILEPATH_DESCRIPTION"
|
||||
class="text_area"
|
||||
required="false"
|
||||
filter="PATH"
|
||||
message="COM_COMPONENTBUILDER_COMPONENT_FILES_FOLDERS_FILEPATH_MESSAGE"
|
||||
hint="COM_COMPONENTBUILDER_COMPONENT_FILES_FOLDERS_FILEPATH_HINT"
|
||||
/>
|
||||
<!-- Path Field. Type: Text. (joomla) -->
|
||||
<field
|
||||
type="text"
|
||||
name="path"
|
||||
label="COM_COMPONENTBUILDER_COMPONENT_FILES_FOLDERS_PATH_LABEL"
|
||||
size="40"
|
||||
maxlength="150"
|
||||
description="COM_COMPONENTBUILDER_COMPONENT_FILES_FOLDERS_PATH_DESCRIPTION"
|
||||
class="text_area"
|
||||
readonly="false"
|
||||
disabled="false"
|
||||
required="false"
|
||||
filter="PATH"
|
||||
message="COM_COMPONENTBUILDER_COMPONENT_FILES_FOLDERS_PATH_MESSAGE"
|
||||
hint="COM_COMPONENTBUILDER_COMPONENT_FILES_FOLDERS_PATH_HINT"
|
||||
/>
|
||||
<!-- Notnew Field. Type: Checkbox. (joomla) -->
|
||||
<field
|
||||
type="checkbox"
|
||||
name="notnew"
|
||||
label="COM_COMPONENTBUILDER_COMPONENT_FILES_FOLDERS_NOTNEW_LABEL"
|
||||
value="1"
|
||||
required="false"
|
||||
description="COM_COMPONENTBUILDER_COMPONENT_FILES_FOLDERS_NOTNEW_DESCRIPTION"
|
||||
class="inputbox"
|
||||
/>
|
||||
</form>
|
||||
</field>
|
||||
<!-- Note_add_files_fullpath Field. Type: Note. A None Database Field. (joomla) -->
|
||||
<field type="note" name="note_add_files_fullpath" label="COM_COMPONENTBUILDER_COMPONENT_FILES_FOLDERS_NOTE_ADD_FILES_FULLPATH_LABEL" description="COM_COMPONENTBUILDER_COMPONENT_FILES_FOLDERS_NOTE_ADD_FILES_FULLPATH_DESCRIPTION" heading="h4" class="alert alert-info note_add_files_fullpath" />
|
||||
<!-- Addfolders Field. Type: Subform. (joomla) -->
|
||||
<field
|
||||
type="subform"
|
||||
name="addfolders"
|
||||
label="COM_COMPONENTBUILDER_COMPONENT_FILES_FOLDERS_ADDFOLDERS_LABEL"
|
||||
layout="joomla.form.field.subform.repeatable-table"
|
||||
multiple="true"
|
||||
description="COM_COMPONENTBUILDER_COMPONENT_FILES_FOLDERS_ADDFOLDERS_DESCRIPTION"
|
||||
icon="list"
|
||||
maximum="500">
|
||||
<form hidden="true" name="list_addfolders_modal" repeat="true">
|
||||
<!-- Folder Field. Type: Customfolderlist. (custom) -->
|
||||
<field
|
||||
type="customfolderlist"
|
||||
name="folder"
|
||||
label="COM_COMPONENTBUILDER_COMPONENT_FILES_FOLDERS_FOLDER_LABEL"
|
||||
description="COM_COMPONENTBUILDER_COMPONENT_FILES_FOLDERS_FOLDER_DESCRIPTION"
|
||||
class="list_class"
|
||||
multiple="false"
|
||||
default="0"
|
||||
required="false"
|
||||
button="false"
|
||||
/>
|
||||
<!-- Path Field. Type: Text. (joomla) -->
|
||||
<field
|
||||
type="text"
|
||||
name="path"
|
||||
label="COM_COMPONENTBUILDER_COMPONENT_FILES_FOLDERS_PATH_LABEL"
|
||||
size="40"
|
||||
maxlength="150"
|
||||
description="COM_COMPONENTBUILDER_COMPONENT_FILES_FOLDERS_PATH_DESCRIPTION"
|
||||
class="text_area"
|
||||
readonly="false"
|
||||
disabled="false"
|
||||
required="false"
|
||||
filter="PATH"
|
||||
message="COM_COMPONENTBUILDER_COMPONENT_FILES_FOLDERS_PATH_MESSAGE"
|
||||
hint="COM_COMPONENTBUILDER_COMPONENT_FILES_FOLDERS_PATH_HINT"
|
||||
/>
|
||||
<!-- Rename Field. Type: Checkbox. (joomla) -->
|
||||
<field
|
||||
type="checkbox"
|
||||
name="rename"
|
||||
label="COM_COMPONENTBUILDER_COMPONENT_FILES_FOLDERS_RENAME_LABEL"
|
||||
value="1"
|
||||
required="false"
|
||||
class="inputbox"
|
||||
/>
|
||||
</form>
|
||||
</field>
|
||||
<!-- Note_add_folders Field. Type: Note. A None Database Field. (joomla) -->
|
||||
<field type="note" name="note_add_folders" label="COM_COMPONENTBUILDER_COMPONENT_FILES_FOLDERS_NOTE_ADD_FOLDERS_LABEL" description="COM_COMPONENTBUILDER_COMPONENT_FILES_FOLDERS_NOTE_ADD_FOLDERS_DESCRIPTION" heading="h4" class="alert alert-info note_add_folders" />
|
||||
<!-- Addfiles Field. Type: Subform. (joomla) -->
|
||||
<field
|
||||
type="subform"
|
||||
name="addfiles"
|
||||
label="COM_COMPONENTBUILDER_COMPONENT_FILES_FOLDERS_ADDFILES_LABEL"
|
||||
layout="joomla.form.field.subform.repeatable-table"
|
||||
multiple="true"
|
||||
description="COM_COMPONENTBUILDER_COMPONENT_FILES_FOLDERS_ADDFILES_DESCRIPTION"
|
||||
icon="list"
|
||||
maximum="500">
|
||||
<form hidden="true" name="list_addfiles_modal" repeat="true">
|
||||
<!-- File Field. Type: Customfilelist. (custom) -->
|
||||
<field
|
||||
type="customfilelist"
|
||||
name="file"
|
||||
label="COM_COMPONENTBUILDER_COMPONENT_FILES_FOLDERS_FILE_LABEL"
|
||||
description="COM_COMPONENTBUILDER_COMPONENT_FILES_FOLDERS_FILE_DESCRIPTION"
|
||||
class="list_class"
|
||||
multiple="false"
|
||||
default="0"
|
||||
required="false"
|
||||
button="false"
|
||||
/>
|
||||
<!-- Path Field. Type: Text. (joomla) -->
|
||||
<field
|
||||
type="text"
|
||||
name="path"
|
||||
label="COM_COMPONENTBUILDER_COMPONENT_FILES_FOLDERS_PATH_LABEL"
|
||||
size="40"
|
||||
maxlength="150"
|
||||
description="COM_COMPONENTBUILDER_COMPONENT_FILES_FOLDERS_PATH_DESCRIPTION"
|
||||
class="text_area"
|
||||
readonly="false"
|
||||
disabled="false"
|
||||
required="false"
|
||||
filter="PATH"
|
||||
message="COM_COMPONENTBUILDER_COMPONENT_FILES_FOLDERS_PATH_MESSAGE"
|
||||
hint="COM_COMPONENTBUILDER_COMPONENT_FILES_FOLDERS_PATH_HINT"
|
||||
/>
|
||||
<!-- Notnew Field. Type: Checkbox. (joomla) -->
|
||||
<field
|
||||
type="checkbox"
|
||||
name="notnew"
|
||||
label="COM_COMPONENTBUILDER_COMPONENT_FILES_FOLDERS_NOTNEW_LABEL"
|
||||
value="1"
|
||||
required="false"
|
||||
description="COM_COMPONENTBUILDER_COMPONENT_FILES_FOLDERS_NOTNEW_DESCRIPTION"
|
||||
class="inputbox"
|
||||
/>
|
||||
</form>
|
||||
</field>
|
||||
<!-- Note_add_files Field. Type: Note. A None Database Field. (joomla) -->
|
||||
<field type="note" name="note_add_files" label="COM_COMPONENTBUILDER_COMPONENT_FILES_FOLDERS_NOTE_ADD_FILES_LABEL" description="COM_COMPONENTBUILDER_COMPONENT_FILES_FOLDERS_NOTE_ADD_FILES_DESCRIPTION" heading="h4" class="alert alert-info note_add_files" />
|
||||
</fieldset>
|
||||
|
||||
<!-- Access Control Fields. -->
|
||||
<fieldset name="accesscontrol">
|
||||
|
@ -4,154 +4,172 @@
|
||||
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" />
|
||||
<!-- Date Created Field. Type: Calendar (joomla)-->
|
||||
<field name="created"
|
||||
type="calendar"
|
||||
label="COM_COMPONENTBUILDER_COMPONENT_MYSQL_TWEAKS_CREATED_DATE_LABEL"
|
||||
description="COM_COMPONENTBUILDER_COMPONENT_MYSQL_TWEAKS_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_COMPONENT_MYSQL_TWEAKS_CREATED_BY_LABEL"
|
||||
description="COM_COMPONENTBUILDER_COMPONENT_MYSQL_TWEAKS_CREATED_BY_DESC" />
|
||||
<!-- Published Field. Type: List (joomla)-->
|
||||
<field name="published"
|
||||
type="list"
|
||||
label="JSTATUS">
|
||||
<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_COMPONENT_MYSQL_TWEAKS_MODIFIED_DATE_LABEL"
|
||||
description="COM_COMPONENTBUILDER_COMPONENT_MYSQL_TWEAKS_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_COMPONENT_MYSQL_TWEAKS_MODIFIED_BY_LABEL"
|
||||
description="COM_COMPONENTBUILDER_COMPONENT_MYSQL_TWEAKS_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_COMPONENT_MYSQL_TWEAKS_ORDERING_LABEL"
|
||||
description=""
|
||||
default="0"
|
||||
size="6"
|
||||
required="false" />
|
||||
<!-- Version Field. Type: Text (joomla)-->
|
||||
<field name="version"
|
||||
type="text"
|
||||
class="readonly"
|
||||
label="COM_COMPONENTBUILDER_COMPONENT_MYSQL_TWEAKS_VERSION_LABEL"
|
||||
description="COM_COMPONENTBUILDER_COMPONENT_MYSQL_TWEAKS_VERSION_DESC"
|
||||
size="6"
|
||||
readonly="true"
|
||||
filter="unset" />
|
||||
<!-- Dynamic Fields.-->
|
||||
<!-- Joomla_component Field. Type: Joomlacomponents. (custom)-->
|
||||
<field type="joomlacomponents"
|
||||
name="joomla_component"
|
||||
label="COM_COMPONENTBUILDER_COMPONENT_MYSQL_TWEAKS_JOOMLA_COMPONENT_LABEL"
|
||||
description="COM_COMPONENTBUILDER_COMPONENT_MYSQL_TWEAKS_JOOMLA_COMPONENT_DESCRIPTION"
|
||||
class="list_class"
|
||||
multiple="false"
|
||||
required="true"
|
||||
readonly="true"
|
||||
button="false" />
|
||||
<!-- Sql_tweak Field. Type: Subform. (joomla)-->
|
||||
<field type="subform"
|
||||
name="sql_tweak"
|
||||
label="COM_COMPONENTBUILDER_COMPONENT_MYSQL_TWEAKS_SQL_TWEAK_LABEL"
|
||||
layout="joomla.form.field.subform.repeatable-table"
|
||||
multiple="true"
|
||||
description="COM_COMPONENTBUILDER_COMPONENT_MYSQL_TWEAKS_SQL_TWEAK_DESCRIPTION"
|
||||
icon="list"
|
||||
maximum="50">
|
||||
<form hidden="true"
|
||||
name="list_sql_tweak_modal"
|
||||
repeat="true">
|
||||
<!-- Adminview Field. Type: Componentadminviews. (custom)-->
|
||||
<field type="componentadminviews"
|
||||
name="adminview"
|
||||
label="COM_COMPONENTBUILDER_COMPONENT_MYSQL_TWEAKS_ADMINVIEW_LABEL"
|
||||
description="COM_COMPONENTBUILDER_COMPONENT_MYSQL_TWEAKS_ADMINVIEW_DESCRIPTION"
|
||||
class="list_class fieldMedium"
|
||||
multiple="false"
|
||||
required="false"
|
||||
button="false" />
|
||||
<!-- Add_sql Field. Type: List. (joomla)-->
|
||||
<field type="list"
|
||||
name="add_sql"
|
||||
label="COM_COMPONENTBUILDER_COMPONENT_MYSQL_TWEAKS_ADD_SQL_LABEL"
|
||||
description="COM_COMPONENTBUILDER_COMPONENT_MYSQL_TWEAKS_ADD_SQL_DESCRIPTION"
|
||||
class="list_class"
|
||||
multiple="false"
|
||||
filter="INT"
|
||||
required="false"
|
||||
default="0">
|
||||
<!-- Option Set.-->
|
||||
<option value="0">COM_COMPONENTBUILDER_COMPONENT_MYSQL_TWEAKS_NO_DONT_ADD_ANY</option>
|
||||
<option value="1">COM_COMPONENTBUILDER_COMPONENT_MYSQL_TWEAKS_YES_INCLUDE_BASED_ON_OPTIONS</option>
|
||||
</field>
|
||||
<!-- Add_sql_options Field. Type: List. (joomla)-->
|
||||
<field type="list"
|
||||
name="add_sql_options"
|
||||
label="COM_COMPONENTBUILDER_COMPONENT_MYSQL_TWEAKS_ADD_SQL_OPTIONS_LABEL"
|
||||
description="COM_COMPONENTBUILDER_COMPONENT_MYSQL_TWEAKS_ADD_SQL_OPTIONS_DESCRIPTION"
|
||||
class="list_class"
|
||||
multiple="false"
|
||||
filter="INT"
|
||||
required="false">
|
||||
<!-- Option Set.-->
|
||||
<option value="">COM_COMPONENTBUILDER_COMPONENT_MYSQL_TWEAKS_SELECT_AN_OPTION</option>
|
||||
<option value="1">COM_COMPONENTBUILDER_COMPONENT_MYSQL_TWEAKS_ALL</option>
|
||||
<option value="2">COM_COMPONENTBUILDER_COMPONENT_MYSQL_TWEAKS_ID_BASED</option>
|
||||
</field>
|
||||
<!-- Ids Field. Type: Textarea. (joomla)-->
|
||||
<field type="textarea"
|
||||
name="ids"
|
||||
label="COM_COMPONENTBUILDER_COMPONENT_MYSQL_TWEAKS_IDS_LABEL"
|
||||
rows="20"
|
||||
cols="40"
|
||||
description="COM_COMPONENTBUILDER_COMPONENT_MYSQL_TWEAKS_IDS_DESCRIPTION"
|
||||
class="text_area ids_selection"
|
||||
filter="raw"
|
||||
hint="COM_COMPONENTBUILDER_COMPONENT_MYSQL_TWEAKS_IDS_HINT"
|
||||
required="false" />
|
||||
</form>
|
||||
</field>
|
||||
</fieldset>
|
||||
<!-- 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_COMPONENT_MYSQL_TWEAKS_CREATED_DATE_LABEL"
|
||||
description="COM_COMPONENTBUILDER_COMPONENT_MYSQL_TWEAKS_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_COMPONENT_MYSQL_TWEAKS_CREATED_BY_LABEL"
|
||||
description="COM_COMPONENTBUILDER_COMPONENT_MYSQL_TWEAKS_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_COMPONENT_MYSQL_TWEAKS_MODIFIED_DATE_LABEL" description="COM_COMPONENTBUILDER_COMPONENT_MYSQL_TWEAKS_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_COMPONENT_MYSQL_TWEAKS_MODIFIED_BY_LABEL"
|
||||
description="COM_COMPONENTBUILDER_COMPONENT_MYSQL_TWEAKS_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_COMPONENT_MYSQL_TWEAKS_ORDERING_LABEL"
|
||||
description=""
|
||||
default="0"
|
||||
size="6"
|
||||
required="false"
|
||||
/>
|
||||
<!-- Version Field. Type: Text (joomla) -->
|
||||
<field
|
||||
name="version"
|
||||
type="text"
|
||||
class="readonly"
|
||||
label="COM_COMPONENTBUILDER_COMPONENT_MYSQL_TWEAKS_VERSION_LABEL"
|
||||
description="COM_COMPONENTBUILDER_COMPONENT_MYSQL_TWEAKS_VERSION_DESC"
|
||||
size="6"
|
||||
readonly="true"
|
||||
filter="unset"
|
||||
/>
|
||||
<!-- Dynamic Fields. -->
|
||||
<!-- Joomla_component Field. Type: Joomlacomponents. (custom) -->
|
||||
<field
|
||||
type="joomlacomponents"
|
||||
name="joomla_component"
|
||||
label="COM_COMPONENTBUILDER_COMPONENT_MYSQL_TWEAKS_JOOMLA_COMPONENT_LABEL"
|
||||
description="COM_COMPONENTBUILDER_COMPONENT_MYSQL_TWEAKS_JOOMLA_COMPONENT_DESCRIPTION"
|
||||
class="list_class"
|
||||
multiple="false"
|
||||
required="true"
|
||||
readonly="true"
|
||||
button="false"
|
||||
/>
|
||||
<!-- Sql_tweak Field. Type: Subform. (joomla) -->
|
||||
<field
|
||||
type="subform"
|
||||
name="sql_tweak"
|
||||
label="COM_COMPONENTBUILDER_COMPONENT_MYSQL_TWEAKS_SQL_TWEAK_LABEL"
|
||||
layout="joomla.form.field.subform.repeatable-table"
|
||||
multiple="true"
|
||||
description="COM_COMPONENTBUILDER_COMPONENT_MYSQL_TWEAKS_SQL_TWEAK_DESCRIPTION"
|
||||
icon="list"
|
||||
maximum="50">
|
||||
<form hidden="true" name="list_sql_tweak_modal" repeat="true">
|
||||
<!-- Adminview Field. Type: Componentadminviews. (custom) -->
|
||||
<field
|
||||
type="componentadminviews"
|
||||
name="adminview"
|
||||
label="COM_COMPONENTBUILDER_COMPONENT_MYSQL_TWEAKS_ADMINVIEW_LABEL"
|
||||
description="COM_COMPONENTBUILDER_COMPONENT_MYSQL_TWEAKS_ADMINVIEW_DESCRIPTION"
|
||||
class="list_class fieldMedium"
|
||||
multiple="false"
|
||||
required="false"
|
||||
button="false"
|
||||
/>
|
||||
<!-- Add_sql Field. Type: List. (joomla) -->
|
||||
<field
|
||||
type="list"
|
||||
name="add_sql"
|
||||
label="COM_COMPONENTBUILDER_COMPONENT_MYSQL_TWEAKS_ADD_SQL_LABEL"
|
||||
description="COM_COMPONENTBUILDER_COMPONENT_MYSQL_TWEAKS_ADD_SQL_DESCRIPTION"
|
||||
class="list_class"
|
||||
multiple="false"
|
||||
filter="INT"
|
||||
required="false"
|
||||
default="0">
|
||||
<!-- Option Set. -->
|
||||
<option value="0">
|
||||
COM_COMPONENTBUILDER_COMPONENT_MYSQL_TWEAKS_NO_DONT_ADD_ANY</option>
|
||||
<option value="1">
|
||||
COM_COMPONENTBUILDER_COMPONENT_MYSQL_TWEAKS_YES_INCLUDE_BASED_ON_OPTIONS</option>
|
||||
</field>
|
||||
<!-- Add_sql_options Field. Type: List. (joomla) -->
|
||||
<field
|
||||
type="list"
|
||||
name="add_sql_options"
|
||||
label="COM_COMPONENTBUILDER_COMPONENT_MYSQL_TWEAKS_ADD_SQL_OPTIONS_LABEL"
|
||||
description="COM_COMPONENTBUILDER_COMPONENT_MYSQL_TWEAKS_ADD_SQL_OPTIONS_DESCRIPTION"
|
||||
class="list_class"
|
||||
multiple="false"
|
||||
filter="INT"
|
||||
required="false">
|
||||
<!-- Option Set. -->
|
||||
<option value="">
|
||||
COM_COMPONENTBUILDER_COMPONENT_MYSQL_TWEAKS_SELECT_AN_OPTION</option>
|
||||
<option value="1">
|
||||
COM_COMPONENTBUILDER_COMPONENT_MYSQL_TWEAKS_ALL</option>
|
||||
<option value="2">
|
||||
COM_COMPONENTBUILDER_COMPONENT_MYSQL_TWEAKS_ID_BASED</option>
|
||||
</field>
|
||||
<!-- Ids Field. Type: Textarea. (joomla) -->
|
||||
<field
|
||||
type="textarea"
|
||||
name="ids"
|
||||
label="COM_COMPONENTBUILDER_COMPONENT_MYSQL_TWEAKS_IDS_LABEL"
|
||||
rows="20"
|
||||
cols="40"
|
||||
description="COM_COMPONENTBUILDER_COMPONENT_MYSQL_TWEAKS_IDS_DESCRIPTION"
|
||||
class="text_area ids_selection"
|
||||
filter="raw"
|
||||
hint="COM_COMPONENTBUILDER_COMPONENT_MYSQL_TWEAKS_IDS_HINT"
|
||||
required="false"
|
||||
/>
|
||||
</form>
|
||||
</field>
|
||||
</fieldset>
|
||||
|
||||
<!-- Access Control Fields. -->
|
||||
<fieldset name="accesscontrol">
|
||||
|
@ -4,165 +4,179 @@
|
||||
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" />
|
||||
<!-- Date Created Field. Type: Calendar (joomla)-->
|
||||
<field name="created"
|
||||
type="calendar"
|
||||
label="COM_COMPONENTBUILDER_COMPONENT_SITE_VIEWS_CREATED_DATE_LABEL"
|
||||
description="COM_COMPONENTBUILDER_COMPONENT_SITE_VIEWS_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_COMPONENT_SITE_VIEWS_CREATED_BY_LABEL"
|
||||
description="COM_COMPONENTBUILDER_COMPONENT_SITE_VIEWS_CREATED_BY_DESC" />
|
||||
<!-- Published Field. Type: List (joomla)-->
|
||||
<field name="published"
|
||||
type="list"
|
||||
label="JSTATUS">
|
||||
<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_COMPONENT_SITE_VIEWS_MODIFIED_DATE_LABEL"
|
||||
description="COM_COMPONENTBUILDER_COMPONENT_SITE_VIEWS_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_COMPONENT_SITE_VIEWS_MODIFIED_BY_LABEL"
|
||||
description="COM_COMPONENTBUILDER_COMPONENT_SITE_VIEWS_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_COMPONENT_SITE_VIEWS_ORDERING_LABEL"
|
||||
description=""
|
||||
default="0"
|
||||
size="6"
|
||||
required="false" />
|
||||
<!-- Version Field. Type: Text (joomla)-->
|
||||
<field name="version"
|
||||
type="text"
|
||||
class="readonly"
|
||||
label="COM_COMPONENTBUILDER_COMPONENT_SITE_VIEWS_VERSION_LABEL"
|
||||
description="COM_COMPONENTBUILDER_COMPONENT_SITE_VIEWS_VERSION_DESC"
|
||||
size="6"
|
||||
readonly="true"
|
||||
filter="unset" />
|
||||
<!-- Dynamic Fields.-->
|
||||
<!-- Joomla_component Field. Type: Joomlacomponents. (custom)-->
|
||||
<field type="joomlacomponents"
|
||||
name="joomla_component"
|
||||
label="COM_COMPONENTBUILDER_COMPONENT_SITE_VIEWS_JOOMLA_COMPONENT_LABEL"
|
||||
description="COM_COMPONENTBUILDER_COMPONENT_SITE_VIEWS_JOOMLA_COMPONENT_DESCRIPTION"
|
||||
class="list_class"
|
||||
multiple="false"
|
||||
required="true"
|
||||
readonly="true"
|
||||
button="false" />
|
||||
<!-- Addsite_views Field. Type: Subform. (joomla)-->
|
||||
<field type="subform"
|
||||
name="addsite_views"
|
||||
label="COM_COMPONENTBUILDER_COMPONENT_SITE_VIEWS_ADDSITE_VIEWS_LABEL"
|
||||
layout="joomla.form.field.subform.repeatable-table"
|
||||
multiple="true"
|
||||
description="COM_COMPONENTBUILDER_COMPONENT_SITE_VIEWS_ADDSITE_VIEWS_DESCRIPTION"
|
||||
icon="list"
|
||||
maximum="500">
|
||||
<form hidden="true"
|
||||
name="list_addsite_views_modal"
|
||||
repeat="true">
|
||||
<!-- Siteview Field. Type: Siteviews. (custom)-->
|
||||
<field type="siteviews"
|
||||
name="siteview"
|
||||
label="COM_COMPONENTBUILDER_COMPONENT_SITE_VIEWS_SITEVIEW_LABEL"
|
||||
description="COM_COMPONENTBUILDER_COMPONENT_SITE_VIEWS_SITEVIEW_DESCRIPTION"
|
||||
class="fieldMedium"
|
||||
multiple="false"
|
||||
required="false"
|
||||
button="false" />
|
||||
<!-- Menu Field. Type: Checkbox. (joomla)-->
|
||||
<field type="checkbox"
|
||||
name="menu"
|
||||
label="COM_COMPONENTBUILDER_COMPONENT_SITE_VIEWS_MENU_LABEL"
|
||||
value="1"
|
||||
default="1"
|
||||
required="false"
|
||||
description="COM_COMPONENTBUILDER_COMPONENT_SITE_VIEWS_MENU_DESCRIPTION"
|
||||
class="inputbox" />
|
||||
<!-- Metadata Field. Type: Checkbox. (joomla)-->
|
||||
<field type="checkbox"
|
||||
name="metadata"
|
||||
label="COM_COMPONENTBUILDER_COMPONENT_SITE_VIEWS_METADATA_LABEL"
|
||||
value="1"
|
||||
default="1"
|
||||
required="false"
|
||||
description="COM_COMPONENTBUILDER_COMPONENT_SITE_VIEWS_METADATA_DESCRIPTION"
|
||||
class="inputbox" />
|
||||
<!-- Default_view Field. Type: Checkbox. (joomla)-->
|
||||
<field type="checkbox"
|
||||
name="default_view"
|
||||
label="COM_COMPONENTBUILDER_COMPONENT_SITE_VIEWS_DEFAULT_VIEW_LABEL"
|
||||
value="1"
|
||||
required="false"
|
||||
description="COM_COMPONENTBUILDER_COMPONENT_SITE_VIEWS_DEFAULT_VIEW_DESCRIPTION"
|
||||
class="inputbox" />
|
||||
<!-- Access Field. Type: Checkbox. (joomla)-->
|
||||
<field type="checkbox"
|
||||
name="access"
|
||||
label="COM_COMPONENTBUILDER_COMPONENT_SITE_VIEWS_ACCESS_LABEL"
|
||||
value="1"
|
||||
default="1"
|
||||
required="false"
|
||||
description="COM_COMPONENTBUILDER_COMPONENT_SITE_VIEWS_ACCESS_DESCRIPTION"
|
||||
class="inputbox" />
|
||||
<!-- Public_access Field. Type: Checkbox. (joomla)-->
|
||||
<field type="checkbox"
|
||||
name="public_access"
|
||||
label="COM_COMPONENTBUILDER_COMPONENT_SITE_VIEWS_PUBLIC_ACCESS_LABEL"
|
||||
value="1"
|
||||
required="false"
|
||||
description="COM_COMPONENTBUILDER_COMPONENT_SITE_VIEWS_PUBLIC_ACCESS_DESCRIPTION"
|
||||
class="inputbox" />
|
||||
</form>
|
||||
</field>
|
||||
<!-- Note_on_site_views Field. Type: Note. A None Database Field. (joomla)-->
|
||||
<field type="note"
|
||||
name="note_on_site_views"
|
||||
label="COM_COMPONENTBUILDER_COMPONENT_SITE_VIEWS_NOTE_ON_SITE_VIEWS_LABEL"
|
||||
description="COM_COMPONENTBUILDER_COMPONENT_SITE_VIEWS_NOTE_ON_SITE_VIEWS_DESCRIPTION"
|
||||
heading="h4"
|
||||
class="alert alert-info note_on_site_views" />
|
||||
</fieldset>
|
||||
<!-- 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_COMPONENT_SITE_VIEWS_CREATED_DATE_LABEL"
|
||||
description="COM_COMPONENTBUILDER_COMPONENT_SITE_VIEWS_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_COMPONENT_SITE_VIEWS_CREATED_BY_LABEL"
|
||||
description="COM_COMPONENTBUILDER_COMPONENT_SITE_VIEWS_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_COMPONENT_SITE_VIEWS_MODIFIED_DATE_LABEL" description="COM_COMPONENTBUILDER_COMPONENT_SITE_VIEWS_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_COMPONENT_SITE_VIEWS_MODIFIED_BY_LABEL"
|
||||
description="COM_COMPONENTBUILDER_COMPONENT_SITE_VIEWS_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_COMPONENT_SITE_VIEWS_ORDERING_LABEL"
|
||||
description=""
|
||||
default="0"
|
||||
size="6"
|
||||
required="false"
|
||||
/>
|
||||
<!-- Version Field. Type: Text (joomla) -->
|
||||
<field
|
||||
name="version"
|
||||
type="text"
|
||||
class="readonly"
|
||||
label="COM_COMPONENTBUILDER_COMPONENT_SITE_VIEWS_VERSION_LABEL"
|
||||
description="COM_COMPONENTBUILDER_COMPONENT_SITE_VIEWS_VERSION_DESC"
|
||||
size="6"
|
||||
readonly="true"
|
||||
filter="unset"
|
||||
/>
|
||||
<!-- Dynamic Fields. -->
|
||||
<!-- Joomla_component Field. Type: Joomlacomponents. (custom) -->
|
||||
<field
|
||||
type="joomlacomponents"
|
||||
name="joomla_component"
|
||||
label="COM_COMPONENTBUILDER_COMPONENT_SITE_VIEWS_JOOMLA_COMPONENT_LABEL"
|
||||
description="COM_COMPONENTBUILDER_COMPONENT_SITE_VIEWS_JOOMLA_COMPONENT_DESCRIPTION"
|
||||
class="list_class"
|
||||
multiple="false"
|
||||
required="true"
|
||||
readonly="true"
|
||||
button="false"
|
||||
/>
|
||||
<!-- Addsite_views Field. Type: Subform. (joomla) -->
|
||||
<field
|
||||
type="subform"
|
||||
name="addsite_views"
|
||||
label="COM_COMPONENTBUILDER_COMPONENT_SITE_VIEWS_ADDSITE_VIEWS_LABEL"
|
||||
layout="joomla.form.field.subform.repeatable-table"
|
||||
multiple="true"
|
||||
description="COM_COMPONENTBUILDER_COMPONENT_SITE_VIEWS_ADDSITE_VIEWS_DESCRIPTION"
|
||||
icon="list"
|
||||
maximum="500">
|
||||
<form hidden="true" name="list_addsite_views_modal" repeat="true">
|
||||
<!-- Siteview Field. Type: Siteviews. (custom) -->
|
||||
<field
|
||||
type="siteviews"
|
||||
name="siteview"
|
||||
label="COM_COMPONENTBUILDER_COMPONENT_SITE_VIEWS_SITEVIEW_LABEL"
|
||||
description="COM_COMPONENTBUILDER_COMPONENT_SITE_VIEWS_SITEVIEW_DESCRIPTION"
|
||||
class="fieldMedium"
|
||||
multiple="false"
|
||||
required="false"
|
||||
button="false"
|
||||
/>
|
||||
<!-- Menu Field. Type: Checkbox. (joomla) -->
|
||||
<field
|
||||
type="checkbox"
|
||||
name="menu"
|
||||
label="COM_COMPONENTBUILDER_COMPONENT_SITE_VIEWS_MENU_LABEL"
|
||||
value="1"
|
||||
default="1"
|
||||
required="false"
|
||||
description="COM_COMPONENTBUILDER_COMPONENT_SITE_VIEWS_MENU_DESCRIPTION"
|
||||
class="inputbox"
|
||||
/>
|
||||
<!-- Metadata Field. Type: Checkbox. (joomla) -->
|
||||
<field
|
||||
type="checkbox"
|
||||
name="metadata"
|
||||
label="COM_COMPONENTBUILDER_COMPONENT_SITE_VIEWS_METADATA_LABEL"
|
||||
value="1"
|
||||
default="1"
|
||||
required="false"
|
||||
description="COM_COMPONENTBUILDER_COMPONENT_SITE_VIEWS_METADATA_DESCRIPTION"
|
||||
class="inputbox"
|
||||
/>
|
||||
<!-- Default_view Field. Type: Checkbox. (joomla) -->
|
||||
<field
|
||||
type="checkbox"
|
||||
name="default_view"
|
||||
label="COM_COMPONENTBUILDER_COMPONENT_SITE_VIEWS_DEFAULT_VIEW_LABEL"
|
||||
value="1"
|
||||
required="false"
|
||||
description="COM_COMPONENTBUILDER_COMPONENT_SITE_VIEWS_DEFAULT_VIEW_DESCRIPTION"
|
||||
class="inputbox"
|
||||
/>
|
||||
<!-- Access Field. Type: Checkbox. (joomla) -->
|
||||
<field
|
||||
type="checkbox"
|
||||
name="access"
|
||||
label="COM_COMPONENTBUILDER_COMPONENT_SITE_VIEWS_ACCESS_LABEL"
|
||||
value="1"
|
||||
default="1"
|
||||
required="false"
|
||||
description="COM_COMPONENTBUILDER_COMPONENT_SITE_VIEWS_ACCESS_DESCRIPTION"
|
||||
class="inputbox"
|
||||
/>
|
||||
<!-- Public_access Field. Type: Checkbox. (joomla) -->
|
||||
<field
|
||||
type="checkbox"
|
||||
name="public_access"
|
||||
label="COM_COMPONENTBUILDER_COMPONENT_SITE_VIEWS_PUBLIC_ACCESS_LABEL"
|
||||
value="1"
|
||||
required="false"
|
||||
description="COM_COMPONENTBUILDER_COMPONENT_SITE_VIEWS_PUBLIC_ACCESS_DESCRIPTION"
|
||||
class="inputbox"
|
||||
/>
|
||||
</form>
|
||||
</field>
|
||||
<!-- Note_on_site_views Field. Type: Note. A None Database Field. (joomla) -->
|
||||
<field type="note" name="note_on_site_views" label="COM_COMPONENTBUILDER_COMPONENT_SITE_VIEWS_NOTE_ON_SITE_VIEWS_LABEL" description="COM_COMPONENTBUILDER_COMPONENT_SITE_VIEWS_NOTE_ON_SITE_VIEWS_DESCRIPTION" heading="h4" class="alert alert-info note_on_site_views" />
|
||||
</fieldset>
|
||||
|
||||
<!-- Access Control Fields. -->
|
||||
<fieldset name="accesscontrol">
|
||||
|
@ -4,144 +4,157 @@
|
||||
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" />
|
||||
<!-- Date Created Field. Type: Calendar (joomla)-->
|
||||
<field name="created"
|
||||
type="calendar"
|
||||
label="COM_COMPONENTBUILDER_COMPONENT_UPDATES_CREATED_DATE_LABEL"
|
||||
description="COM_COMPONENTBUILDER_COMPONENT_UPDATES_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_COMPONENT_UPDATES_CREATED_BY_LABEL"
|
||||
description="COM_COMPONENTBUILDER_COMPONENT_UPDATES_CREATED_BY_DESC" />
|
||||
<!-- Published Field. Type: List (joomla)-->
|
||||
<field name="published"
|
||||
type="list"
|
||||
label="JSTATUS">
|
||||
<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_COMPONENT_UPDATES_MODIFIED_DATE_LABEL"
|
||||
description="COM_COMPONENTBUILDER_COMPONENT_UPDATES_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_COMPONENT_UPDATES_MODIFIED_BY_LABEL"
|
||||
description="COM_COMPONENTBUILDER_COMPONENT_UPDATES_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_COMPONENT_UPDATES_ORDERING_LABEL"
|
||||
description=""
|
||||
default="0"
|
||||
size="6"
|
||||
required="false" />
|
||||
<!-- Version Field. Type: Text (joomla)-->
|
||||
<field name="version"
|
||||
type="text"
|
||||
class="readonly"
|
||||
label="COM_COMPONENTBUILDER_COMPONENT_UPDATES_VERSION_LABEL"
|
||||
description="COM_COMPONENTBUILDER_COMPONENT_UPDATES_VERSION_DESC"
|
||||
size="6"
|
||||
readonly="true"
|
||||
filter="unset" />
|
||||
<!-- Dynamic Fields.-->
|
||||
<!-- Joomla_component Field. Type: Joomlacomponents. (custom)-->
|
||||
<field type="joomlacomponents"
|
||||
name="joomla_component"
|
||||
label="COM_COMPONENTBUILDER_COMPONENT_UPDATES_JOOMLA_COMPONENT_LABEL"
|
||||
description="COM_COMPONENTBUILDER_COMPONENT_UPDATES_JOOMLA_COMPONENT_DESCRIPTION"
|
||||
class="list_class"
|
||||
multiple="false"
|
||||
required="true"
|
||||
readonly="true"
|
||||
button="false" />
|
||||
<!-- Version_update Field. Type: Subform. (joomla)-->
|
||||
<field type="subform"
|
||||
name="version_update"
|
||||
label="COM_COMPONENTBUILDER_COMPONENT_UPDATES_VERSION_UPDATE_LABEL"
|
||||
layout="joomla.form.field.subform.repeatable-table"
|
||||
multiple="true"
|
||||
description="COM_COMPONENTBUILDER_COMPONENT_UPDATES_VERSION_UPDATE_DESCRIPTION"
|
||||
icon="list"
|
||||
maximum="300">
|
||||
<form hidden="true"
|
||||
name="list_version_update_modal"
|
||||
repeat="true">
|
||||
<!-- Version Field. Type: Text. (joomla)-->
|
||||
<field type="text"
|
||||
name="version"
|
||||
label="COM_COMPONENTBUILDER_COMPONENT_UPDATES_VERSION_LABEL"
|
||||
size="10"
|
||||
maxlength="50"
|
||||
description="COM_COMPONENTBUILDER_COMPONENT_UPDATES_VERSION_DESCRIPTION"
|
||||
class="text_area"
|
||||
readonly="false"
|
||||
disabled="false"
|
||||
required="false"
|
||||
filter="STRING"
|
||||
message="COM_COMPONENTBUILDER_COMPONENT_UPDATES_VERSION_MESSAGE"
|
||||
hint="COM_COMPONENTBUILDER_COMPONENT_UPDATES_VERSION_HINT" />
|
||||
<!-- Mysql Field. Type: Textarea. (joomla)-->
|
||||
<field type="textarea"
|
||||
name="mysql"
|
||||
label="COM_COMPONENTBUILDER_COMPONENT_UPDATES_MYSQL_LABEL"
|
||||
rows="30"
|
||||
cols="15"
|
||||
description="COM_COMPONENTBUILDER_COMPONENT_UPDATES_MYSQL_DESCRIPTION"
|
||||
class="text_area mysql_update"
|
||||
filter="raw"
|
||||
hint="COM_COMPONENTBUILDER_COMPONENT_UPDATES_MYSQL_HINT"
|
||||
required="false" />
|
||||
<!-- Url Field. Type: Url. (joomla)-->
|
||||
<field type="url"
|
||||
name="url"
|
||||
label="COM_COMPONENTBUILDER_COMPONENT_UPDATES_URL_LABEL"
|
||||
size="60"
|
||||
maxlength="150"
|
||||
description="COM_COMPONENTBUILDER_COMPONENT_UPDATES_URL_DESCRIPTION"
|
||||
class="text_area version_url"
|
||||
required="false"
|
||||
filter="raw"
|
||||
validated="url"
|
||||
message="COM_COMPONENTBUILDER_COMPONENT_UPDATES_URL_MESSAGE"
|
||||
hint="COM_COMPONENTBUILDER_COMPONENT_UPDATES_URL_HINT" />
|
||||
</form>
|
||||
</field>
|
||||
</fieldset>
|
||||
<!-- 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_COMPONENT_UPDATES_CREATED_DATE_LABEL"
|
||||
description="COM_COMPONENTBUILDER_COMPONENT_UPDATES_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_COMPONENT_UPDATES_CREATED_BY_LABEL"
|
||||
description="COM_COMPONENTBUILDER_COMPONENT_UPDATES_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_COMPONENT_UPDATES_MODIFIED_DATE_LABEL" description="COM_COMPONENTBUILDER_COMPONENT_UPDATES_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_COMPONENT_UPDATES_MODIFIED_BY_LABEL"
|
||||
description="COM_COMPONENTBUILDER_COMPONENT_UPDATES_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_COMPONENT_UPDATES_ORDERING_LABEL"
|
||||
description=""
|
||||
default="0"
|
||||
size="6"
|
||||
required="false"
|
||||
/>
|
||||
<!-- Version Field. Type: Text (joomla) -->
|
||||
<field
|
||||
name="version"
|
||||
type="text"
|
||||
class="readonly"
|
||||
label="COM_COMPONENTBUILDER_COMPONENT_UPDATES_VERSION_LABEL"
|
||||
description="COM_COMPONENTBUILDER_COMPONENT_UPDATES_VERSION_DESC"
|
||||
size="6"
|
||||
readonly="true"
|
||||
filter="unset"
|
||||
/>
|
||||
<!-- Dynamic Fields. -->
|
||||
<!-- Joomla_component Field. Type: Joomlacomponents. (custom) -->
|
||||
<field
|
||||
type="joomlacomponents"
|
||||
name="joomla_component"
|
||||
label="COM_COMPONENTBUILDER_COMPONENT_UPDATES_JOOMLA_COMPONENT_LABEL"
|
||||
description="COM_COMPONENTBUILDER_COMPONENT_UPDATES_JOOMLA_COMPONENT_DESCRIPTION"
|
||||
class="list_class"
|
||||
multiple="false"
|
||||
required="true"
|
||||
readonly="true"
|
||||
button="false"
|
||||
/>
|
||||
<!-- Version_update Field. Type: Subform. (joomla) -->
|
||||
<field
|
||||
type="subform"
|
||||
name="version_update"
|
||||
label="COM_COMPONENTBUILDER_COMPONENT_UPDATES_VERSION_UPDATE_LABEL"
|
||||
layout="joomla.form.field.subform.repeatable-table"
|
||||
multiple="true"
|
||||
description="COM_COMPONENTBUILDER_COMPONENT_UPDATES_VERSION_UPDATE_DESCRIPTION"
|
||||
icon="list"
|
||||
maximum="300">
|
||||
<form hidden="true" name="list_version_update_modal" repeat="true">
|
||||
<!-- Version Field. Type: Text. (joomla) -->
|
||||
<field
|
||||
type="text"
|
||||
name="version"
|
||||
label="COM_COMPONENTBUILDER_COMPONENT_UPDATES_VERSION_LABEL"
|
||||
size="10"
|
||||
maxlength="50"
|
||||
description="COM_COMPONENTBUILDER_COMPONENT_UPDATES_VERSION_DESCRIPTION"
|
||||
class="text_area"
|
||||
readonly="false"
|
||||
disabled="false"
|
||||
required="false"
|
||||
filter="STRING"
|
||||
message="COM_COMPONENTBUILDER_COMPONENT_UPDATES_VERSION_MESSAGE"
|
||||
hint="COM_COMPONENTBUILDER_COMPONENT_UPDATES_VERSION_HINT"
|
||||
/>
|
||||
<!-- Mysql Field. Type: Textarea. (joomla) -->
|
||||
<field
|
||||
type="textarea"
|
||||
name="mysql"
|
||||
label="COM_COMPONENTBUILDER_COMPONENT_UPDATES_MYSQL_LABEL"
|
||||
rows="30"
|
||||
cols="15"
|
||||
description="COM_COMPONENTBUILDER_COMPONENT_UPDATES_MYSQL_DESCRIPTION"
|
||||
class="text_area mysql_update"
|
||||
filter="raw"
|
||||
hint="COM_COMPONENTBUILDER_COMPONENT_UPDATES_MYSQL_HINT"
|
||||
required="false"
|
||||
/>
|
||||
<!-- Url Field. Type: Url. (joomla) -->
|
||||
<field
|
||||
type="url"
|
||||
name="url"
|
||||
label="COM_COMPONENTBUILDER_COMPONENT_UPDATES_URL_LABEL"
|
||||
size="60"
|
||||
maxlength="150"
|
||||
description="COM_COMPONENTBUILDER_COMPONENT_UPDATES_URL_DESCRIPTION"
|
||||
class="text_area version_url"
|
||||
required="false"
|
||||
filter="raw"
|
||||
validated="url"
|
||||
message="COM_COMPONENTBUILDER_COMPONENT_UPDATES_URL_MESSAGE"
|
||||
hint="COM_COMPONENTBUILDER_COMPONENT_UPDATES_URL_HINT"
|
||||
/>
|
||||
</form>
|
||||
</field>
|
||||
</fieldset>
|
||||
|
||||
<!-- Access Control Fields. -->
|
||||
<fieldset name="accesscontrol">
|
||||
|
File diff suppressed because it is too large
Load Diff
@ -4,234 +4,259 @@
|
||||
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" />
|
||||
<!-- Date Created Field. Type: Calendar (joomla)-->
|
||||
<field name="created"
|
||||
type="calendar"
|
||||
label="COM_COMPONENTBUILDER_CUSTOM_CODE_CREATED_DATE_LABEL"
|
||||
description="COM_COMPONENTBUILDER_CUSTOM_CODE_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_CUSTOM_CODE_CREATED_BY_LABEL"
|
||||
description="COM_COMPONENTBUILDER_CUSTOM_CODE_CREATED_BY_DESC" />
|
||||
<!-- Published Field. Type: List (joomla)-->
|
||||
<field name="published"
|
||||
type="list"
|
||||
label="JSTATUS">
|
||||
<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_CUSTOM_CODE_MODIFIED_DATE_LABEL"
|
||||
description="COM_COMPONENTBUILDER_CUSTOM_CODE_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_CUSTOM_CODE_MODIFIED_BY_LABEL"
|
||||
description="COM_COMPONENTBUILDER_CUSTOM_CODE_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_CUSTOM_CODE_ORDERING_LABEL"
|
||||
description=""
|
||||
default="0"
|
||||
size="6"
|
||||
required="false" />
|
||||
<!-- Version Field. Type: Text (joomla)-->
|
||||
<field name="version"
|
||||
type="text"
|
||||
class="readonly"
|
||||
label="COM_COMPONENTBUILDER_CUSTOM_CODE_VERSION_LABEL"
|
||||
description="COM_COMPONENTBUILDER_CUSTOM_CODE_VERSION_DESC"
|
||||
size="6"
|
||||
readonly="true"
|
||||
filter="unset" />
|
||||
<!-- Dynamic Fields.-->
|
||||
<!-- Component Field. Type: Component. (custom)-->
|
||||
<field type="component"
|
||||
name="component"
|
||||
label="COM_COMPONENTBUILDER_CUSTOM_CODE_COMPONENT_LABEL"
|
||||
description="JFIELD_TITLE_DESC"
|
||||
class="list_class"
|
||||
multiple="false"
|
||||
default="0"
|
||||
required="true"
|
||||
button="true" />
|
||||
<!-- Path Field. Type: Text. (joomla)-->
|
||||
<field type="text"
|
||||
name="path"
|
||||
label="COM_COMPONENTBUILDER_CUSTOM_CODE_PATH_LABEL"
|
||||
size="100"
|
||||
maxlength="250"
|
||||
description="COM_COMPONENTBUILDER_CUSTOM_CODE_PATH_DESCRIPTION"
|
||||
class="text_area span12"
|
||||
required="true"
|
||||
filter="PATH"
|
||||
message="COM_COMPONENTBUILDER_CUSTOM_CODE_PATH_MESSAGE"
|
||||
hint="COM_COMPONENTBUILDER_CUSTOM_CODE_PATH_HINT" />
|
||||
<!-- Target Field. Type: Radio. (joomla)-->
|
||||
<field type="radio"
|
||||
name="target"
|
||||
label="COM_COMPONENTBUILDER_CUSTOM_CODE_TARGET_LABEL"
|
||||
description="COM_COMPONENTBUILDER_CUSTOM_CODE_TARGET_DESCRIPTION"
|
||||
class="btn-group btn-group-yesno"
|
||||
default="2">
|
||||
<!-- Option Set.-->
|
||||
<option value="2">COM_COMPONENTBUILDER_CUSTOM_CODE_JCB_MANUAL</option>
|
||||
<option value="1">COM_COMPONENTBUILDER_CUSTOM_CODE_HASH_AUTOMATION</option>
|
||||
</field>
|
||||
<!-- Type Field. Type: Radio. (joomla)-->
|
||||
<field type="radio"
|
||||
name="type"
|
||||
label="COM_COMPONENTBUILDER_CUSTOM_CODE_TYPE_LABEL"
|
||||
description="COM_COMPONENTBUILDER_CUSTOM_CODE_TYPE_DESCRIPTION"
|
||||
class="btn-group btn-group-yesno"
|
||||
required="true">
|
||||
<!-- Option Set.-->
|
||||
<option value="1">COM_COMPONENTBUILDER_CUSTOM_CODE_REPLACEMENT</option>
|
||||
<option value="2">COM_COMPONENTBUILDER_CUSTOM_CODE_INSERTION</option>
|
||||
</field>
|
||||
<!-- Comment_type Field. Type: Radio. (joomla)-->
|
||||
<field type="radio"
|
||||
name="comment_type"
|
||||
label="COM_COMPONENTBUILDER_CUSTOM_CODE_COMMENT_TYPE_LABEL"
|
||||
description="COM_COMPONENTBUILDER_CUSTOM_CODE_COMMENT_TYPE_DESCRIPTION"
|
||||
class="btn-group btn-group-yesno"
|
||||
default="1"
|
||||
required="true">
|
||||
<!-- Option Set.-->
|
||||
<option value="1">COM_COMPONENTBUILDER_CUSTOM_CODE_PHPJS</option>
|
||||
<option value="2">COM_COMPONENTBUILDER_CUSTOM_CODE_HTML</option>
|
||||
</field>
|
||||
<!-- Not_required Field. Type: Hidden. (joomla)-->
|
||||
<field type="hidden"
|
||||
name="not_required"
|
||||
default="[]" />
|
||||
<!-- Function_name Field. Type: Text. (joomla)-->
|
||||
<field type="text"
|
||||
name="function_name"
|
||||
label="COM_COMPONENTBUILDER_CUSTOM_CODE_FUNCTION_NAME_LABEL"
|
||||
size="40"
|
||||
description="COM_COMPONENTBUILDER_CUSTOM_CODE_FUNCTION_NAME_DESCRIPTION"
|
||||
class="input-large-text"
|
||||
required="true" />
|
||||
<!-- System_name Field. Type: Text. (joomla)-->
|
||||
<field type="text"
|
||||
name="system_name"
|
||||
label="COM_COMPONENTBUILDER_CUSTOM_CODE_SYSTEM_NAME_LABEL"
|
||||
size="10"
|
||||
maxlength="50"
|
||||
description="COM_COMPONENTBUILDER_CUSTOM_CODE_SYSTEM_NAME_DESCRIPTION"
|
||||
class="text_area"
|
||||
filter="STRING"
|
||||
message="COM_COMPONENTBUILDER_CUSTOM_CODE_SYSTEM_NAME_MESSAGE"
|
||||
hint="COM_COMPONENTBUILDER_CUSTOM_CODE_SYSTEM_NAME_HINT" />
|
||||
<!-- Note_placeholders_explained Field. Type: Note. A None Database Field. (joomla)-->
|
||||
<field type="note"
|
||||
name="note_placeholders_explained"
|
||||
label="COM_COMPONENTBUILDER_CUSTOM_CODE_NOTE_PLACEHOLDERS_EXPLAINED_LABEL"
|
||||
description="COM_COMPONENTBUILDER_CUSTOM_CODE_NOTE_PLACEHOLDERS_EXPLAINED_DESCRIPTION"
|
||||
heading="h4"
|
||||
class="note_placeholders_explained" />
|
||||
<!-- Code Field. Type: Textarea. (joomla)-->
|
||||
<field type="textarea"
|
||||
name="code"
|
||||
label="COM_COMPONENTBUILDER_CUSTOM_CODE_CODE_LABEL"
|
||||
rows="30"
|
||||
cols="15"
|
||||
description="COM_COMPONENTBUILDER_CUSTOM_CODE_CODE_DESCRIPTION"
|
||||
class="text_area span12"
|
||||
filter="raw"
|
||||
hint="COM_COMPONENTBUILDER_CUSTOM_CODE_CODE_HINT"
|
||||
required="true" />
|
||||
<!-- Note_jcb_placeholder Field. Type: Note. A None Database Field. (joomla)-->
|
||||
<field type="note"
|
||||
name="note_jcb_placeholder"
|
||||
label="COM_COMPONENTBUILDER_CUSTOM_CODE_NOTE_JCB_PLACEHOLDER_LABEL"
|
||||
description="COM_COMPONENTBUILDER_CUSTOM_CODE_NOTE_JCB_PLACEHOLDER_DESCRIPTION"
|
||||
heading="h4"
|
||||
class="span12 note_jcb_placeholder" />
|
||||
<!-- Hashendtarget Field. Type: Text. (joomla)-->
|
||||
<field type="text"
|
||||
name="hashendtarget"
|
||||
label="COM_COMPONENTBUILDER_CUSTOM_CODE_HASHENDTARGET_LABEL"
|
||||
size="50"
|
||||
maxlength="150"
|
||||
description="COM_COMPONENTBUILDER_CUSTOM_CODE_HASHENDTARGET_DESCRIPTION"
|
||||
class="text_area"
|
||||
readonly="true"
|
||||
filter="STRING"
|
||||
message="COM_COMPONENTBUILDER_CUSTOM_CODE_HASHENDTARGET_MESSAGE"
|
||||
hint="COM_COMPONENTBUILDER_CUSTOM_CODE_HASHENDTARGET_HINT" />
|
||||
<!-- To_line Field. Type: Text. (joomla)-->
|
||||
<field type="text"
|
||||
name="to_line"
|
||||
label="COM_COMPONENTBUILDER_CUSTOM_CODE_TO_LINE_LABEL"
|
||||
size="10"
|
||||
maxlength="50"
|
||||
description="COM_COMPONENTBUILDER_CUSTOM_CODE_TO_LINE_DESCRIPTION"
|
||||
class="text_area"
|
||||
filter="FLOAT"
|
||||
message="COM_COMPONENTBUILDER_CUSTOM_CODE_TO_LINE_MESSAGE"
|
||||
hint="COM_COMPONENTBUILDER_CUSTOM_CODE_TO_LINE_HINT"
|
||||
onchange="if(!jQuery(this).val().match(/^\d+$/)){jQuery(this).val('')};" />
|
||||
<!-- From_line Field. Type: Text. (joomla)-->
|
||||
<field type="text"
|
||||
name="from_line"
|
||||
label="COM_COMPONENTBUILDER_CUSTOM_CODE_FROM_LINE_LABEL"
|
||||
size="10"
|
||||
maxlength="50"
|
||||
description="COM_COMPONENTBUILDER_CUSTOM_CODE_FROM_LINE_DESCRIPTION"
|
||||
class="text_area"
|
||||
filter="FLOAT"
|
||||
message="COM_COMPONENTBUILDER_CUSTOM_CODE_FROM_LINE_MESSAGE"
|
||||
hint="COM_COMPONENTBUILDER_CUSTOM_CODE_FROM_LINE_HINT"
|
||||
onchange="if(!jQuery(this).val().match(/^\d+$/)){jQuery(this).val('')};" />
|
||||
<!-- Hashtarget Field. Type: Text. (joomla)-->
|
||||
<field type="text"
|
||||
name="hashtarget"
|
||||
label="COM_COMPONENTBUILDER_CUSTOM_CODE_HASHTARGET_LABEL"
|
||||
size="50"
|
||||
maxlength="150"
|
||||
description="COM_COMPONENTBUILDER_CUSTOM_CODE_HASHTARGET_DESCRIPTION"
|
||||
class="text_area"
|
||||
readonly="true"
|
||||
filter="STRING"
|
||||
message="COM_COMPONENTBUILDER_CUSTOM_CODE_HASHTARGET_MESSAGE"
|
||||
hint="COM_COMPONENTBUILDER_CUSTOM_CODE_HASHTARGET_HINT" />
|
||||
</fieldset>
|
||||
<!-- 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_CUSTOM_CODE_CREATED_DATE_LABEL"
|
||||
description="COM_COMPONENTBUILDER_CUSTOM_CODE_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_CUSTOM_CODE_CREATED_BY_LABEL"
|
||||
description="COM_COMPONENTBUILDER_CUSTOM_CODE_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_CUSTOM_CODE_MODIFIED_DATE_LABEL" description="COM_COMPONENTBUILDER_CUSTOM_CODE_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_CUSTOM_CODE_MODIFIED_BY_LABEL"
|
||||
description="COM_COMPONENTBUILDER_CUSTOM_CODE_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_CUSTOM_CODE_ORDERING_LABEL"
|
||||
description=""
|
||||
default="0"
|
||||
size="6"
|
||||
required="false"
|
||||
/>
|
||||
<!-- Version Field. Type: Text (joomla) -->
|
||||
<field
|
||||
name="version"
|
||||
type="text"
|
||||
class="readonly"
|
||||
label="COM_COMPONENTBUILDER_CUSTOM_CODE_VERSION_LABEL"
|
||||
description="COM_COMPONENTBUILDER_CUSTOM_CODE_VERSION_DESC"
|
||||
size="6"
|
||||
readonly="true"
|
||||
filter="unset"
|
||||
/>
|
||||
<!-- Dynamic Fields. -->
|
||||
<!-- Component Field. Type: Component. (custom) -->
|
||||
<field
|
||||
type="component"
|
||||
name="component"
|
||||
label="COM_COMPONENTBUILDER_CUSTOM_CODE_COMPONENT_LABEL"
|
||||
description="JFIELD_TITLE_DESC"
|
||||
class="list_class"
|
||||
multiple="false"
|
||||
default="0"
|
||||
required="true"
|
||||
button="true"
|
||||
/>
|
||||
<!-- Path Field. Type: Text. (joomla) -->
|
||||
<field
|
||||
type="text"
|
||||
name="path"
|
||||
label="COM_COMPONENTBUILDER_CUSTOM_CODE_PATH_LABEL"
|
||||
size="100"
|
||||
maxlength="250"
|
||||
description="COM_COMPONENTBUILDER_CUSTOM_CODE_PATH_DESCRIPTION"
|
||||
class="text_area span12"
|
||||
required="true"
|
||||
filter="PATH"
|
||||
message="COM_COMPONENTBUILDER_CUSTOM_CODE_PATH_MESSAGE"
|
||||
hint="COM_COMPONENTBUILDER_CUSTOM_CODE_PATH_HINT"
|
||||
/>
|
||||
<!-- Target Field. Type: Radio. (joomla) -->
|
||||
<field
|
||||
type="radio"
|
||||
name="target"
|
||||
label="COM_COMPONENTBUILDER_CUSTOM_CODE_TARGET_LABEL"
|
||||
description="COM_COMPONENTBUILDER_CUSTOM_CODE_TARGET_DESCRIPTION"
|
||||
class="btn-group btn-group-yesno"
|
||||
default="2">
|
||||
<!-- Option Set. -->
|
||||
<option value="2">
|
||||
COM_COMPONENTBUILDER_CUSTOM_CODE_JCB_MANUAL</option>
|
||||
<option value="1">
|
||||
COM_COMPONENTBUILDER_CUSTOM_CODE_HASH_AUTOMATION</option>
|
||||
</field>
|
||||
<!-- Type Field. Type: Radio. (joomla) -->
|
||||
<field
|
||||
type="radio"
|
||||
name="type"
|
||||
label="COM_COMPONENTBUILDER_CUSTOM_CODE_TYPE_LABEL"
|
||||
description="COM_COMPONENTBUILDER_CUSTOM_CODE_TYPE_DESCRIPTION"
|
||||
class="btn-group btn-group-yesno"
|
||||
required="true">
|
||||
<!-- Option Set. -->
|
||||
<option value="1">
|
||||
COM_COMPONENTBUILDER_CUSTOM_CODE_REPLACEMENT</option>
|
||||
<option value="2">
|
||||
COM_COMPONENTBUILDER_CUSTOM_CODE_INSERTION</option>
|
||||
</field>
|
||||
<!-- Comment_type Field. Type: Radio. (joomla) -->
|
||||
<field
|
||||
type="radio"
|
||||
name="comment_type"
|
||||
label="COM_COMPONENTBUILDER_CUSTOM_CODE_COMMENT_TYPE_LABEL"
|
||||
description="COM_COMPONENTBUILDER_CUSTOM_CODE_COMMENT_TYPE_DESCRIPTION"
|
||||
class="btn-group btn-group-yesno"
|
||||
default="1"
|
||||
required="true">
|
||||
<!-- Option Set. -->
|
||||
<option value="1">
|
||||
COM_COMPONENTBUILDER_CUSTOM_CODE_PHPJS</option>
|
||||
<option value="2">
|
||||
COM_COMPONENTBUILDER_CUSTOM_CODE_HTML</option>
|
||||
</field>
|
||||
<!-- Not_required Field. Type: Hidden. (joomla) -->
|
||||
<field
|
||||
type="hidden"
|
||||
name="not_required"
|
||||
default="[]"
|
||||
/>
|
||||
<!-- Function_name Field. Type: Text. (joomla) -->
|
||||
<field
|
||||
type="text"
|
||||
name="function_name"
|
||||
label="COM_COMPONENTBUILDER_CUSTOM_CODE_FUNCTION_NAME_LABEL"
|
||||
size="40"
|
||||
description="COM_COMPONENTBUILDER_CUSTOM_CODE_FUNCTION_NAME_DESCRIPTION"
|
||||
class="input-large-text"
|
||||
required="true"
|
||||
/>
|
||||
<!-- System_name Field. Type: Text. (joomla) -->
|
||||
<field
|
||||
type="text"
|
||||
name="system_name"
|
||||
label="COM_COMPONENTBUILDER_CUSTOM_CODE_SYSTEM_NAME_LABEL"
|
||||
size="10"
|
||||
maxlength="50"
|
||||
description="COM_COMPONENTBUILDER_CUSTOM_CODE_SYSTEM_NAME_DESCRIPTION"
|
||||
class="text_area"
|
||||
filter="STRING"
|
||||
message="COM_COMPONENTBUILDER_CUSTOM_CODE_SYSTEM_NAME_MESSAGE"
|
||||
hint="COM_COMPONENTBUILDER_CUSTOM_CODE_SYSTEM_NAME_HINT"
|
||||
/>
|
||||
<!-- Note_placeholders_explained Field. Type: Note. A None Database Field. (joomla) -->
|
||||
<field type="note" name="note_placeholders_explained" label="COM_COMPONENTBUILDER_CUSTOM_CODE_NOTE_PLACEHOLDERS_EXPLAINED_LABEL" description="COM_COMPONENTBUILDER_CUSTOM_CODE_NOTE_PLACEHOLDERS_EXPLAINED_DESCRIPTION" heading="h4" class="note_placeholders_explained" />
|
||||
<!-- Code Field. Type: Textarea. (joomla) -->
|
||||
<field
|
||||
type="textarea"
|
||||
name="code"
|
||||
label="COM_COMPONENTBUILDER_CUSTOM_CODE_CODE_LABEL"
|
||||
rows="30"
|
||||
cols="15"
|
||||
description="COM_COMPONENTBUILDER_CUSTOM_CODE_CODE_DESCRIPTION"
|
||||
class="text_area span12"
|
||||
filter="raw"
|
||||
hint="COM_COMPONENTBUILDER_CUSTOM_CODE_CODE_HINT"
|
||||
required="true"
|
||||
/>
|
||||
<!-- Note_jcb_placeholder Field. Type: Note. A None Database Field. (joomla) -->
|
||||
<field type="note" name="note_jcb_placeholder" label="COM_COMPONENTBUILDER_CUSTOM_CODE_NOTE_JCB_PLACEHOLDER_LABEL" description="COM_COMPONENTBUILDER_CUSTOM_CODE_NOTE_JCB_PLACEHOLDER_DESCRIPTION" heading="h4" class="span12 note_jcb_placeholder" />
|
||||
<!-- Hashendtarget Field. Type: Text. (joomla) -->
|
||||
<field
|
||||
type="text"
|
||||
name="hashendtarget"
|
||||
label="COM_COMPONENTBUILDER_CUSTOM_CODE_HASHENDTARGET_LABEL"
|
||||
size="50"
|
||||
maxlength="150"
|
||||
description="COM_COMPONENTBUILDER_CUSTOM_CODE_HASHENDTARGET_DESCRIPTION"
|
||||
class="text_area"
|
||||
readonly="true"
|
||||
filter="STRING"
|
||||
message="COM_COMPONENTBUILDER_CUSTOM_CODE_HASHENDTARGET_MESSAGE"
|
||||
hint="COM_COMPONENTBUILDER_CUSTOM_CODE_HASHENDTARGET_HINT"
|
||||
/>
|
||||
<!-- To_line Field. Type: Text. (joomla) -->
|
||||
<field
|
||||
type="text"
|
||||
name="to_line"
|
||||
label="COM_COMPONENTBUILDER_CUSTOM_CODE_TO_LINE_LABEL"
|
||||
size="10"
|
||||
maxlength="50"
|
||||
description="COM_COMPONENTBUILDER_CUSTOM_CODE_TO_LINE_DESCRIPTION"
|
||||
class="text_area"
|
||||
filter="FLOAT"
|
||||
message="COM_COMPONENTBUILDER_CUSTOM_CODE_TO_LINE_MESSAGE"
|
||||
hint="COM_COMPONENTBUILDER_CUSTOM_CODE_TO_LINE_HINT"
|
||||
onchange="if(!jQuery(this).val().match(/^\d+$/)){jQuery(this).val('')};"
|
||||
/>
|
||||
<!-- From_line Field. Type: Text. (joomla) -->
|
||||
<field
|
||||
type="text"
|
||||
name="from_line"
|
||||
label="COM_COMPONENTBUILDER_CUSTOM_CODE_FROM_LINE_LABEL"
|
||||
size="10"
|
||||
maxlength="50"
|
||||
description="COM_COMPONENTBUILDER_CUSTOM_CODE_FROM_LINE_DESCRIPTION"
|
||||
class="text_area"
|
||||
filter="FLOAT"
|
||||
message="COM_COMPONENTBUILDER_CUSTOM_CODE_FROM_LINE_MESSAGE"
|
||||
hint="COM_COMPONENTBUILDER_CUSTOM_CODE_FROM_LINE_HINT"
|
||||
onchange="if(!jQuery(this).val().match(/^\d+$/)){jQuery(this).val('')};"
|
||||
/>
|
||||
<!-- Hashtarget Field. Type: Text. (joomla) -->
|
||||
<field
|
||||
type="text"
|
||||
name="hashtarget"
|
||||
label="COM_COMPONENTBUILDER_CUSTOM_CODE_HASHTARGET_LABEL"
|
||||
size="50"
|
||||
maxlength="150"
|
||||
description="COM_COMPONENTBUILDER_CUSTOM_CODE_HASHTARGET_DESCRIPTION"
|
||||
class="text_area"
|
||||
readonly="true"
|
||||
filter="STRING"
|
||||
message="COM_COMPONENTBUILDER_CUSTOM_CODE_HASHTARGET_MESSAGE"
|
||||
hint="COM_COMPONENTBUILDER_CUSTOM_CODE_HASHTARGET_HINT"
|
||||
/>
|
||||
</fieldset>
|
||||
|
||||
<!-- Access Control Fields. -->
|
||||
<fieldset name="accesscontrol">
|
||||
|
File diff suppressed because it is too large
Load Diff
@ -4,363 +4,441 @@
|
||||
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" />
|
||||
<!-- Date Created Field. Type: Calendar (joomla)-->
|
||||
<field name="created"
|
||||
type="calendar"
|
||||
label="COM_COMPONENTBUILDER_FIELD_CREATED_DATE_LABEL"
|
||||
description="COM_COMPONENTBUILDER_FIELD_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_FIELD_CREATED_BY_LABEL"
|
||||
description="COM_COMPONENTBUILDER_FIELD_CREATED_BY_DESC" />
|
||||
<!-- Published Field. Type: List (joomla)-->
|
||||
<field name="published"
|
||||
type="list"
|
||||
label="JSTATUS">
|
||||
<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_FIELD_MODIFIED_DATE_LABEL"
|
||||
description="COM_COMPONENTBUILDER_FIELD_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_FIELD_MODIFIED_BY_LABEL"
|
||||
description="COM_COMPONENTBUILDER_FIELD_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_FIELD_ORDERING_LABEL"
|
||||
description=""
|
||||
default="0"
|
||||
size="6"
|
||||
required="false" />
|
||||
<!-- Version Field. Type: Text (joomla)-->
|
||||
<field name="version"
|
||||
type="text"
|
||||
class="readonly"
|
||||
label="COM_COMPONENTBUILDER_FIELD_VERSION_LABEL"
|
||||
description="COM_COMPONENTBUILDER_FIELD_VERSION_DESC"
|
||||
size="6"
|
||||
readonly="true"
|
||||
filter="unset" />
|
||||
<!-- Dynamic Fields.-->
|
||||
<!-- Name Field. Type: Text. (joomla)-->
|
||||
<field type="text"
|
||||
name="name"
|
||||
label="COM_COMPONENTBUILDER_FIELD_NAME_LABEL"
|
||||
size="40"
|
||||
maxlength="150"
|
||||
description="COM_COMPONENTBUILDER_FIELD_NAME_DESCRIPTION"
|
||||
class="text_area"
|
||||
readonly="false"
|
||||
disabled="false"
|
||||
required="true"
|
||||
filter="STRING"
|
||||
message="COM_COMPONENTBUILDER_FIELD_NAME_MESSAGE"
|
||||
hint="COM_COMPONENTBUILDER_FIELD_NAME_HINT" />
|
||||
<!-- Fieldtype Field. Type: Fieldtypes. (custom)-->
|
||||
<field type="fieldtypes"
|
||||
name="fieldtype"
|
||||
label="COM_COMPONENTBUILDER_FIELD_FIELDTYPE_LABEL"
|
||||
description="COM_COMPONENTBUILDER_FIELD_FIELDTYPE_DESCRIPTION"
|
||||
class="btn-group"
|
||||
multiple="false"
|
||||
required="true"
|
||||
button="true" />
|
||||
<!-- Datatype Field. Type: List. (joomla)-->
|
||||
<field type="list"
|
||||
name="datatype"
|
||||
label="COM_COMPONENTBUILDER_FIELD_DATATYPE_LABEL"
|
||||
description="COM_COMPONENTBUILDER_FIELD_DATATYPE_DESCRIPTION"
|
||||
class="btn-group"
|
||||
multiple="false"
|
||||
required="true">
|
||||
<!-- Option Set.-->
|
||||
<option value="CHAR">COM_COMPONENTBUILDER_FIELD_CHAR</option>
|
||||
<option value="VARCHAR">COM_COMPONENTBUILDER_FIELD_VARCHAR</option>
|
||||
<option value="TEXT">COM_COMPONENTBUILDER_FIELD_TEXT</option>
|
||||
<option value="MEDIUMTEXT">COM_COMPONENTBUILDER_FIELD_MEDIUMTEXT</option>
|
||||
<option value="LONGTEXT">COM_COMPONENTBUILDER_FIELD_LONGTEXT</option>
|
||||
<option value="DATETIME">COM_COMPONENTBUILDER_FIELD_DATETIME</option>
|
||||
<option value="DATE">COM_COMPONENTBUILDER_FIELD_DATE</option>
|
||||
<option value="TIME">COM_COMPONENTBUILDER_FIELD_TIME</option>
|
||||
<option value="INT">COM_COMPONENTBUILDER_FIELD_INT</option>
|
||||
<option value="TINYINT">COM_COMPONENTBUILDER_FIELD_TINYINT</option>
|
||||
<option value="BIGINT">COM_COMPONENTBUILDER_FIELD_BIGINT</option>
|
||||
<option value="FLOAT">COM_COMPONENTBUILDER_FIELD_FLOAT</option>
|
||||
<option value="DECIMAL">COM_COMPONENTBUILDER_FIELD_DECIMAL</option>
|
||||
<option value="DOUBLE">COM_COMPONENTBUILDER_FIELD_DOUBLE</option>
|
||||
</field>
|
||||
<!-- Indexes Field. Type: List. (joomla)-->
|
||||
<field type="list"
|
||||
name="indexes"
|
||||
label="COM_COMPONENTBUILDER_FIELD_INDEXES_LABEL"
|
||||
class="btn-group"
|
||||
multiple="false"
|
||||
filter="INT"
|
||||
required="true"
|
||||
default="0">
|
||||
<!-- Option Set.-->
|
||||
<option value="1">COM_COMPONENTBUILDER_FIELD_UNIQUE_KEY</option>
|
||||
<option value="2">COM_COMPONENTBUILDER_FIELD_KEY</option>
|
||||
<option value="0">COM_COMPONENTBUILDER_FIELD_NONE</option>
|
||||
</field>
|
||||
<!-- Null_switch Field. Type: Radio. (joomla)-->
|
||||
<field type="radio"
|
||||
name="null_switch"
|
||||
label="COM_COMPONENTBUILDER_FIELD_NULL_SWITCH_LABEL"
|
||||
class="btn-group btn-group-yesno"
|
||||
default="NOT NULL"
|
||||
required="true">
|
||||
<!-- Option Set.-->
|
||||
<option value="NULL">COM_COMPONENTBUILDER_FIELD_NULL</option>
|
||||
<option value="NOT NULL">COM_COMPONENTBUILDER_FIELD_NOT_NULL</option>
|
||||
</field>
|
||||
<!-- Add_css_view Field. Type: Radio. (joomla)-->
|
||||
<field type="radio"
|
||||
name="add_css_view"
|
||||
label="COM_COMPONENTBUILDER_FIELD_ADD_CSS_VIEW_LABEL"
|
||||
class="btn-group btn-group-yesno"
|
||||
default="0"
|
||||
required="true">
|
||||
<!-- Option Set.-->
|
||||
<option value="1">COM_COMPONENTBUILDER_FIELD_YES</option>
|
||||
<option value="0">COM_COMPONENTBUILDER_FIELD_NO</option>
|
||||
</field>
|
||||
<!-- Css_view Field. Type: Textarea. (joomla)-->
|
||||
<field type="textarea"
|
||||
name="css_view"
|
||||
label="COM_COMPONENTBUILDER_FIELD_CSS_VIEW_LABEL"
|
||||
rows="30"
|
||||
cols="15"
|
||||
description="COM_COMPONENTBUILDER_FIELD_CSS_VIEW_DESCRIPTION"
|
||||
class="text_area span12"
|
||||
filter="raw"
|
||||
hint="COM_COMPONENTBUILDER_FIELD_CSS_VIEW_HINT"
|
||||
required="true" />
|
||||
<!-- Note_filter_information Field. Type: Note. A None Database Field. (joomla)-->
|
||||
<field type="note"
|
||||
name="note_filter_information"
|
||||
description="COM_COMPONENTBUILDER_FIELD_NOTE_FILTER_INFORMATION_DESCRIPTION"
|
||||
class="note_filter_information" />
|
||||
<!-- Not_required Field. Type: Hidden. (joomla)-->
|
||||
<field type="hidden"
|
||||
name="not_required"
|
||||
default="[]" />
|
||||
<!-- Catid Field. Type: Category. (joomla)-->
|
||||
<field type="category"
|
||||
name="catid"
|
||||
label="COM_COMPONENTBUILDER_FIELD_CATID_LABEL"
|
||||
extension="com_componentbuilder.fields"
|
||||
description="COM_COMPONENTBUILDER_FIELD_CATID_DESCRIPTION"
|
||||
class="inputbox" />
|
||||
<!-- Xml Field. Type: Textarea. (joomla)-->
|
||||
<field type="textarea"
|
||||
name="xml"
|
||||
label="COM_COMPONENTBUILDER_FIELD_XML_LABEL"
|
||||
rows="17"
|
||||
cols="720"
|
||||
description="COM_COMPONENTBUILDER_FIELD_XML_DESCRIPTION"
|
||||
class="text_area span12"
|
||||
filter="raw"
|
||||
hint="COM_COMPONENTBUILDER_FIELD_XML_HINT"
|
||||
required="true" />
|
||||
<!-- Add_javascript_view_footer Field. Type: Radio. (joomla)-->
|
||||
<field type="radio"
|
||||
name="add_javascript_view_footer"
|
||||
label="COM_COMPONENTBUILDER_FIELD_ADD_JAVASCRIPT_VIEW_FOOTER_LABEL"
|
||||
class="btn-group btn-group-yesno"
|
||||
default="0"
|
||||
required="true">
|
||||
<!-- Option Set.-->
|
||||
<option value="1">COM_COMPONENTBUILDER_FIELD_YES</option>
|
||||
<option value="0">COM_COMPONENTBUILDER_FIELD_NO</option>
|
||||
</field>
|
||||
<!-- Add_javascript_views_footer Field. Type: Radio. (joomla)-->
|
||||
<field type="radio"
|
||||
name="add_javascript_views_footer"
|
||||
label="COM_COMPONENTBUILDER_FIELD_ADD_JAVASCRIPT_VIEWS_FOOTER_LABEL"
|
||||
class="btn-group btn-group-yesno"
|
||||
default="0"
|
||||
required="true">
|
||||
<!-- Option Set.-->
|
||||
<option value="1">COM_COMPONENTBUILDER_FIELD_YES</option>
|
||||
<option value="0">COM_COMPONENTBUILDER_FIELD_NO</option>
|
||||
</field>
|
||||
<!-- Add_css_views Field. Type: Radio. (joomla)-->
|
||||
<field type="radio"
|
||||
name="add_css_views"
|
||||
label="COM_COMPONENTBUILDER_FIELD_ADD_CSS_VIEWS_LABEL"
|
||||
class="btn-group btn-group-yesno"
|
||||
default="0"
|
||||
required="true">
|
||||
<!-- Option Set.-->
|
||||
<option value="1">COM_COMPONENTBUILDER_FIELD_YES</option>
|
||||
<option value="0">COM_COMPONENTBUILDER_FIELD_NO</option>
|
||||
</field>
|
||||
<!-- Datalenght Field. Type: List. (joomla)-->
|
||||
<field type="list"
|
||||
name="datalenght"
|
||||
label="COM_COMPONENTBUILDER_FIELD_DATALENGHT_LABEL"
|
||||
description="COM_COMPONENTBUILDER_FIELD_DATALENGHT_DESCRIPTION"
|
||||
class="btn-group"
|
||||
multiple="false">
|
||||
<!-- Option Set.-->
|
||||
<option value="">COM_COMPONENTBUILDER_FIELD_NONE_SET</option>
|
||||
<option value="1">COM_COMPONENTBUILDER_FIELD_ONE</option>
|
||||
<option value="7">COM_COMPONENTBUILDER_FIELD_SEVEN</option>
|
||||
<option value="10">COM_COMPONENTBUILDER_FIELD_TEN</option>
|
||||
<option value="11">COM_COMPONENTBUILDER_FIELD_ELEVEN</option>
|
||||
<option value="50">COM_COMPONENTBUILDER_FIELD_FIFTY</option>
|
||||
<option value="64">COM_COMPONENTBUILDER_FIELD_SIXTY_FOUR</option>
|
||||
<option value="100">COM_COMPONENTBUILDER_FIELD_ONE_HUNDRED</option>
|
||||
<option value="255">COM_COMPONENTBUILDER_FIELD_TWO_HUNDRED_AND_FIFTY_FIVE</option>
|
||||
<option value="1024">COM_COMPONENTBUILDER_FIELD_ONE_THOUSAND_AND_TWENTY_FOUR</option>
|
||||
<option value="2048">COM_COMPONENTBUILDER_FIELD_TWO_THOUSAND_AND_FORTY_EIGHT</option>
|
||||
<option value="Other">COM_COMPONENTBUILDER_FIELD_OTHER</option>
|
||||
</field>
|
||||
<!-- Datadefault_other Field. Type: Text. (joomla)-->
|
||||
<field type="text"
|
||||
name="datadefault_other"
|
||||
label="COM_COMPONENTBUILDER_FIELD_DATADEFAULT_OTHER_LABEL"
|
||||
size="10"
|
||||
maxlength="50"
|
||||
description="COM_COMPONENTBUILDER_FIELD_DATADEFAULT_OTHER_DESCRIPTION"
|
||||
class="text_area"
|
||||
readonly="false"
|
||||
disabled="false"
|
||||
required="true"
|
||||
filter="STRING"
|
||||
message="COM_COMPONENTBUILDER_FIELD_DATADEFAULT_OTHER_MESSAGE"
|
||||
hint="COM_COMPONENTBUILDER_FIELD_DATADEFAULT_OTHER_HINT" />
|
||||
<!-- Datadefault Field. Type: List. (joomla)-->
|
||||
<field type="list"
|
||||
name="datadefault"
|
||||
label="COM_COMPONENTBUILDER_FIELD_DATADEFAULT_LABEL"
|
||||
description="COM_COMPONENTBUILDER_FIELD_DATADEFAULT_DESCRIPTION"
|
||||
class="btn-group"
|
||||
multiple="false">
|
||||
<!-- Option Set.-->
|
||||
<option value="">COM_COMPONENTBUILDER_FIELD_NONE</option>
|
||||
<option value="0">COM_COMPONENTBUILDER_FIELD_ZERO</option>
|
||||
<option value="1">COM_COMPONENTBUILDER_FIELD_ONE</option>
|
||||
<option value="CURRENT_TIMESTAMP">COM_COMPONENTBUILDER_FIELD_CURRENT_TIMESTAMP</option>
|
||||
<option value="DATETIME">COM_COMPONENTBUILDER_FIELD_DATETIME</option>
|
||||
<option value="Other">COM_COMPONENTBUILDER_FIELD_OTHER</option>
|
||||
</field>
|
||||
<!-- Datalenght_other Field. Type: Text. (joomla)-->
|
||||
<field type="text"
|
||||
name="datalenght_other"
|
||||
label="COM_COMPONENTBUILDER_FIELD_DATALENGHT_OTHER_LABEL"
|
||||
size="10"
|
||||
maxlength="50"
|
||||
description="COM_COMPONENTBUILDER_FIELD_DATALENGHT_OTHER_DESCRIPTION"
|
||||
class="text_area"
|
||||
readonly="false"
|
||||
disabled="false"
|
||||
required="true"
|
||||
filter="STRING"
|
||||
message="COM_COMPONENTBUILDER_FIELD_DATALENGHT_OTHER_MESSAGE"
|
||||
hint="COM_COMPONENTBUILDER_FIELD_DATALENGHT_OTHER_HINT" />
|
||||
<!-- Css_views Field. Type: Textarea. (joomla)-->
|
||||
<field type="textarea"
|
||||
name="css_views"
|
||||
label="COM_COMPONENTBUILDER_FIELD_CSS_VIEWS_LABEL"
|
||||
rows="30"
|
||||
cols="15"
|
||||
description="COM_COMPONENTBUILDER_FIELD_CSS_VIEWS_DESCRIPTION"
|
||||
class="text_area span12"
|
||||
filter="raw"
|
||||
hint="COM_COMPONENTBUILDER_FIELD_CSS_VIEWS_HINT"
|
||||
required="true" />
|
||||
<!-- Store Field. Type: List. (joomla)-->
|
||||
<field type="list"
|
||||
name="store"
|
||||
label="COM_COMPONENTBUILDER_FIELD_STORE_LABEL"
|
||||
description="COM_COMPONENTBUILDER_FIELD_STORE_DESCRIPTION"
|
||||
class="list_class"
|
||||
multiple="false"
|
||||
filter="INT"
|
||||
required="true"
|
||||
default="0">
|
||||
<!-- Option Set.-->
|
||||
<option value="0">COM_COMPONENTBUILDER_FIELD_DEFAULT</option>
|
||||
<option value="1">COM_COMPONENTBUILDER_FIELD_JSON</option>
|
||||
<option value="2">COM_COMPONENTBUILDER_FIELD_BASESIXTY_FOUR</option>
|
||||
<option value="3">COM_COMPONENTBUILDER_FIELD_BASIC_ENCRYPTION_LOCALDBKEY</option>
|
||||
<option value="5">COM_COMPONENTBUILDER_FIELD_MEDIUM_ENCRYPTION_LOCALFILEKEY</option>
|
||||
<option value="4">COM_COMPONENTBUILDER_FIELD_WHMCSKEY_ENCRYPTION</option>
|
||||
</field>
|
||||
<!-- Javascript_view_footer Field. Type: Textarea. (joomla)-->
|
||||
<field type="textarea"
|
||||
name="javascript_view_footer"
|
||||
label="COM_COMPONENTBUILDER_FIELD_JAVASCRIPT_VIEW_FOOTER_LABEL"
|
||||
rows="30"
|
||||
cols="15"
|
||||
description="COM_COMPONENTBUILDER_FIELD_JAVASCRIPT_VIEW_FOOTER_DESCRIPTION"
|
||||
class="text_area span12"
|
||||
filter="raw"
|
||||
hint="COM_COMPONENTBUILDER_FIELD_JAVASCRIPT_VIEW_FOOTER_HINT"
|
||||
required="true" />
|
||||
<!-- Note_whmcs_encryption Field. Type: Note. A None Database Field. (joomla)-->
|
||||
<field type="note"
|
||||
name="note_whmcs_encryption"
|
||||
label="COM_COMPONENTBUILDER_FIELD_NOTE_WHMCS_ENCRYPTION_LABEL"
|
||||
description="COM_COMPONENTBUILDER_FIELD_NOTE_WHMCS_ENCRYPTION_DESCRIPTION"
|
||||
heading="h4"
|
||||
class="alert alert-success note_whmcs_encryption" />
|
||||
<!-- Javascript_views_footer Field. Type: Textarea. (joomla)-->
|
||||
<field type="textarea"
|
||||
name="javascript_views_footer"
|
||||
label="COM_COMPONENTBUILDER_FIELD_JAVASCRIPT_VIEWS_FOOTER_LABEL"
|
||||
rows="30"
|
||||
cols="15"
|
||||
description="COM_COMPONENTBUILDER_FIELD_JAVASCRIPT_VIEWS_FOOTER_DESCRIPTION"
|
||||
class="text_area span12"
|
||||
filter="raw"
|
||||
hint="COM_COMPONENTBUILDER_FIELD_JAVASCRIPT_VIEWS_FOOTER_HINT"
|
||||
required="true" />
|
||||
<!-- Helpnote Field. Type: Note. A None Database Field. (joomla)-->
|
||||
<field type="note"
|
||||
name="helpnote"
|
||||
label="COM_COMPONENTBUILDER_FIELD_HELPNOTE_LABEL"
|
||||
class="helpNote helpnote" />
|
||||
</fieldset>
|
||||
<!-- 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_FIELD_CREATED_DATE_LABEL"
|
||||
description="COM_COMPONENTBUILDER_FIELD_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_FIELD_CREATED_BY_LABEL"
|
||||
description="COM_COMPONENTBUILDER_FIELD_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_FIELD_MODIFIED_DATE_LABEL" description="COM_COMPONENTBUILDER_FIELD_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_FIELD_MODIFIED_BY_LABEL"
|
||||
description="COM_COMPONENTBUILDER_FIELD_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_FIELD_ORDERING_LABEL"
|
||||
description=""
|
||||
default="0"
|
||||
size="6"
|
||||
required="false"
|
||||
/>
|
||||
<!-- Version Field. Type: Text (joomla) -->
|
||||
<field
|
||||
name="version"
|
||||
type="text"
|
||||
class="readonly"
|
||||
label="COM_COMPONENTBUILDER_FIELD_VERSION_LABEL"
|
||||
description="COM_COMPONENTBUILDER_FIELD_VERSION_DESC"
|
||||
size="6"
|
||||
readonly="true"
|
||||
filter="unset"
|
||||
/>
|
||||
<!-- Dynamic Fields. -->
|
||||
<!-- Name Field. Type: Text. (joomla) -->
|
||||
<field
|
||||
type="text"
|
||||
name="name"
|
||||
label="COM_COMPONENTBUILDER_FIELD_NAME_LABEL"
|
||||
size="40"
|
||||
maxlength="150"
|
||||
description="COM_COMPONENTBUILDER_FIELD_NAME_DESCRIPTION"
|
||||
class="text_area"
|
||||
readonly="false"
|
||||
disabled="false"
|
||||
required="true"
|
||||
filter="STRING"
|
||||
message="COM_COMPONENTBUILDER_FIELD_NAME_MESSAGE"
|
||||
hint="COM_COMPONENTBUILDER_FIELD_NAME_HINT"
|
||||
/>
|
||||
<!-- Fieldtype Field. Type: Fieldtypes. (custom) -->
|
||||
<field
|
||||
type="fieldtypes"
|
||||
name="fieldtype"
|
||||
label="COM_COMPONENTBUILDER_FIELD_FIELDTYPE_LABEL"
|
||||
description="COM_COMPONENTBUILDER_FIELD_FIELDTYPE_DESCRIPTION"
|
||||
class="btn-group"
|
||||
multiple="false"
|
||||
required="true"
|
||||
button="true"
|
||||
/>
|
||||
<!-- Datatype Field. Type: List. (joomla) -->
|
||||
<field
|
||||
type="list"
|
||||
name="datatype"
|
||||
label="COM_COMPONENTBUILDER_FIELD_DATATYPE_LABEL"
|
||||
description="COM_COMPONENTBUILDER_FIELD_DATATYPE_DESCRIPTION"
|
||||
class="btn-group"
|
||||
multiple="false"
|
||||
required="true">
|
||||
<!-- Option Set. -->
|
||||
<option value="CHAR">
|
||||
COM_COMPONENTBUILDER_FIELD_CHAR</option>
|
||||
<option value="VARCHAR">
|
||||
COM_COMPONENTBUILDER_FIELD_VARCHAR</option>
|
||||
<option value="TEXT">
|
||||
COM_COMPONENTBUILDER_FIELD_TEXT</option>
|
||||
<option value="MEDIUMTEXT">
|
||||
COM_COMPONENTBUILDER_FIELD_MEDIUMTEXT</option>
|
||||
<option value="LONGTEXT">
|
||||
COM_COMPONENTBUILDER_FIELD_LONGTEXT</option>
|
||||
<option value="DATETIME">
|
||||
COM_COMPONENTBUILDER_FIELD_DATETIME</option>
|
||||
<option value="DATE">
|
||||
COM_COMPONENTBUILDER_FIELD_DATE</option>
|
||||
<option value="TIME">
|
||||
COM_COMPONENTBUILDER_FIELD_TIME</option>
|
||||
<option value="INT">
|
||||
COM_COMPONENTBUILDER_FIELD_INT</option>
|
||||
<option value="TINYINT">
|
||||
COM_COMPONENTBUILDER_FIELD_TINYINT</option>
|
||||
<option value="BIGINT">
|
||||
COM_COMPONENTBUILDER_FIELD_BIGINT</option>
|
||||
<option value="FLOAT">
|
||||
COM_COMPONENTBUILDER_FIELD_FLOAT</option>
|
||||
<option value="DECIMAL">
|
||||
COM_COMPONENTBUILDER_FIELD_DECIMAL</option>
|
||||
<option value="DOUBLE">
|
||||
COM_COMPONENTBUILDER_FIELD_DOUBLE</option>
|
||||
</field>
|
||||
<!-- Indexes Field. Type: List. (joomla) -->
|
||||
<field
|
||||
type="list"
|
||||
name="indexes"
|
||||
label="COM_COMPONENTBUILDER_FIELD_INDEXES_LABEL"
|
||||
class="btn-group"
|
||||
multiple="false"
|
||||
filter="INT"
|
||||
required="true"
|
||||
default="0">
|
||||
<!-- Option Set. -->
|
||||
<option value="1">
|
||||
COM_COMPONENTBUILDER_FIELD_UNIQUE_KEY</option>
|
||||
<option value="2">
|
||||
COM_COMPONENTBUILDER_FIELD_KEY</option>
|
||||
<option value="0">
|
||||
COM_COMPONENTBUILDER_FIELD_NONE</option>
|
||||
</field>
|
||||
<!-- Null_switch Field. Type: Radio. (joomla) -->
|
||||
<field
|
||||
type="radio"
|
||||
name="null_switch"
|
||||
label="COM_COMPONENTBUILDER_FIELD_NULL_SWITCH_LABEL"
|
||||
class="btn-group btn-group-yesno"
|
||||
default="NOT NULL"
|
||||
required="true">
|
||||
<!-- Option Set. -->
|
||||
<option value="NULL">
|
||||
COM_COMPONENTBUILDER_FIELD_NULL</option>
|
||||
<option value="NOT NULL">
|
||||
COM_COMPONENTBUILDER_FIELD_NOT_NULL</option>
|
||||
</field>
|
||||
<!-- Add_css_view Field. Type: Radio. (joomla) -->
|
||||
<field
|
||||
type="radio"
|
||||
name="add_css_view"
|
||||
label="COM_COMPONENTBUILDER_FIELD_ADD_CSS_VIEW_LABEL"
|
||||
class="btn-group btn-group-yesno"
|
||||
default="0"
|
||||
required="true">
|
||||
<!-- Option Set. -->
|
||||
<option value="1">
|
||||
COM_COMPONENTBUILDER_FIELD_YES</option>
|
||||
<option value="0">
|
||||
COM_COMPONENTBUILDER_FIELD_NO</option>
|
||||
</field>
|
||||
<!-- Css_view Field. Type: Textarea. (joomla) -->
|
||||
<field
|
||||
type="textarea"
|
||||
name="css_view"
|
||||
label="COM_COMPONENTBUILDER_FIELD_CSS_VIEW_LABEL"
|
||||
rows="30"
|
||||
cols="15"
|
||||
description="COM_COMPONENTBUILDER_FIELD_CSS_VIEW_DESCRIPTION"
|
||||
class="text_area span12"
|
||||
filter="raw"
|
||||
hint="COM_COMPONENTBUILDER_FIELD_CSS_VIEW_HINT"
|
||||
required="true"
|
||||
/>
|
||||
<!-- Note_filter_information Field. Type: Note. A None Database Field. (joomla) -->
|
||||
<field type="note" name="note_filter_information" description="COM_COMPONENTBUILDER_FIELD_NOTE_FILTER_INFORMATION_DESCRIPTION" class="note_filter_information" />
|
||||
<!-- Not_required Field. Type: Hidden. (joomla) -->
|
||||
<field
|
||||
type="hidden"
|
||||
name="not_required"
|
||||
default="[]"
|
||||
/>
|
||||
<!-- Catid Field. Type: Category. (joomla) -->
|
||||
<field
|
||||
type="category"
|
||||
name="catid"
|
||||
label="COM_COMPONENTBUILDER_FIELD_CATID_LABEL"
|
||||
extension="com_componentbuilder.fields"
|
||||
description="COM_COMPONENTBUILDER_FIELD_CATID_DESCRIPTION"
|
||||
class="inputbox"
|
||||
/>
|
||||
<!-- Xml Field. Type: Textarea. (joomla) -->
|
||||
<field
|
||||
type="textarea"
|
||||
name="xml"
|
||||
label="COM_COMPONENTBUILDER_FIELD_XML_LABEL"
|
||||
rows="17"
|
||||
cols="720"
|
||||
description="COM_COMPONENTBUILDER_FIELD_XML_DESCRIPTION"
|
||||
class="text_area span12"
|
||||
filter="raw"
|
||||
hint="COM_COMPONENTBUILDER_FIELD_XML_HINT"
|
||||
required="true"
|
||||
/>
|
||||
<!-- Add_javascript_view_footer Field. Type: Radio. (joomla) -->
|
||||
<field
|
||||
type="radio"
|
||||
name="add_javascript_view_footer"
|
||||
label="COM_COMPONENTBUILDER_FIELD_ADD_JAVASCRIPT_VIEW_FOOTER_LABEL"
|
||||
class="btn-group btn-group-yesno"
|
||||
default="0"
|
||||
required="true">
|
||||
<!-- Option Set. -->
|
||||
<option value="1">
|
||||
COM_COMPONENTBUILDER_FIELD_YES</option>
|
||||
<option value="0">
|
||||
COM_COMPONENTBUILDER_FIELD_NO</option>
|
||||
</field>
|
||||
<!-- Add_javascript_views_footer Field. Type: Radio. (joomla) -->
|
||||
<field
|
||||
type="radio"
|
||||
name="add_javascript_views_footer"
|
||||
label="COM_COMPONENTBUILDER_FIELD_ADD_JAVASCRIPT_VIEWS_FOOTER_LABEL"
|
||||
class="btn-group btn-group-yesno"
|
||||
default="0"
|
||||
required="true">
|
||||
<!-- Option Set. -->
|
||||
<option value="1">
|
||||
COM_COMPONENTBUILDER_FIELD_YES</option>
|
||||
<option value="0">
|
||||
COM_COMPONENTBUILDER_FIELD_NO</option>
|
||||
</field>
|
||||
<!-- Add_css_views Field. Type: Radio. (joomla) -->
|
||||
<field
|
||||
type="radio"
|
||||
name="add_css_views"
|
||||
label="COM_COMPONENTBUILDER_FIELD_ADD_CSS_VIEWS_LABEL"
|
||||
class="btn-group btn-group-yesno"
|
||||
default="0"
|
||||
required="true">
|
||||
<!-- Option Set. -->
|
||||
<option value="1">
|
||||
COM_COMPONENTBUILDER_FIELD_YES</option>
|
||||
<option value="0">
|
||||
COM_COMPONENTBUILDER_FIELD_NO</option>
|
||||
</field>
|
||||
<!-- Datalenght Field. Type: List. (joomla) -->
|
||||
<field
|
||||
type="list"
|
||||
name="datalenght"
|
||||
label="COM_COMPONENTBUILDER_FIELD_DATALENGHT_LABEL"
|
||||
description="COM_COMPONENTBUILDER_FIELD_DATALENGHT_DESCRIPTION"
|
||||
class="btn-group"
|
||||
multiple="false">
|
||||
<!-- Option Set. -->
|
||||
<option value="">
|
||||
COM_COMPONENTBUILDER_FIELD_NONE_SET</option>
|
||||
<option value="1">
|
||||
COM_COMPONENTBUILDER_FIELD_ONE</option>
|
||||
<option value="7">
|
||||
COM_COMPONENTBUILDER_FIELD_SEVEN</option>
|
||||
<option value="10">
|
||||
COM_COMPONENTBUILDER_FIELD_TEN</option>
|
||||
<option value="11">
|
||||
COM_COMPONENTBUILDER_FIELD_ELEVEN</option>
|
||||
<option value="50">
|
||||
COM_COMPONENTBUILDER_FIELD_FIFTY</option>
|
||||
<option value="64">
|
||||
COM_COMPONENTBUILDER_FIELD_SIXTY_FOUR</option>
|
||||
<option value="100">
|
||||
COM_COMPONENTBUILDER_FIELD_ONE_HUNDRED</option>
|
||||
<option value="255">
|
||||
COM_COMPONENTBUILDER_FIELD_TWO_HUNDRED_AND_FIFTY_FIVE</option>
|
||||
<option value="1024">
|
||||
COM_COMPONENTBUILDER_FIELD_ONE_THOUSAND_AND_TWENTY_FOUR</option>
|
||||
<option value="2048">
|
||||
COM_COMPONENTBUILDER_FIELD_TWO_THOUSAND_AND_FORTY_EIGHT</option>
|
||||
<option value="Other">
|
||||
COM_COMPONENTBUILDER_FIELD_OTHER</option>
|
||||
</field>
|
||||
<!-- Datadefault_other Field. Type: Text. (joomla) -->
|
||||
<field
|
||||
type="text"
|
||||
name="datadefault_other"
|
||||
label="COM_COMPONENTBUILDER_FIELD_DATADEFAULT_OTHER_LABEL"
|
||||
size="10"
|
||||
maxlength="50"
|
||||
description="COM_COMPONENTBUILDER_FIELD_DATADEFAULT_OTHER_DESCRIPTION"
|
||||
class="text_area"
|
||||
readonly="false"
|
||||
disabled="false"
|
||||
required="true"
|
||||
filter="STRING"
|
||||
message="COM_COMPONENTBUILDER_FIELD_DATADEFAULT_OTHER_MESSAGE"
|
||||
hint="COM_COMPONENTBUILDER_FIELD_DATADEFAULT_OTHER_HINT"
|
||||
/>
|
||||
<!-- Datadefault Field. Type: List. (joomla) -->
|
||||
<field
|
||||
type="list"
|
||||
name="datadefault"
|
||||
label="COM_COMPONENTBUILDER_FIELD_DATADEFAULT_LABEL"
|
||||
description="COM_COMPONENTBUILDER_FIELD_DATADEFAULT_DESCRIPTION"
|
||||
class="btn-group"
|
||||
multiple="false">
|
||||
<!-- Option Set. -->
|
||||
<option value="">
|
||||
COM_COMPONENTBUILDER_FIELD_NONE</option>
|
||||
<option value="0">
|
||||
COM_COMPONENTBUILDER_FIELD_ZERO</option>
|
||||
<option value="1">
|
||||
COM_COMPONENTBUILDER_FIELD_ONE</option>
|
||||
<option value="CURRENT_TIMESTAMP">
|
||||
COM_COMPONENTBUILDER_FIELD_CURRENT_TIMESTAMP</option>
|
||||
<option value="DATETIME">
|
||||
COM_COMPONENTBUILDER_FIELD_DATETIME</option>
|
||||
<option value="Other">
|
||||
COM_COMPONENTBUILDER_FIELD_OTHER</option>
|
||||
</field>
|
||||
<!-- Datalenght_other Field. Type: Text. (joomla) -->
|
||||
<field
|
||||
type="text"
|
||||
name="datalenght_other"
|
||||
label="COM_COMPONENTBUILDER_FIELD_DATALENGHT_OTHER_LABEL"
|
||||
size="10"
|
||||
maxlength="50"
|
||||
description="COM_COMPONENTBUILDER_FIELD_DATALENGHT_OTHER_DESCRIPTION"
|
||||
class="text_area"
|
||||
readonly="false"
|
||||
disabled="false"
|
||||
required="true"
|
||||
filter="STRING"
|
||||
message="COM_COMPONENTBUILDER_FIELD_DATALENGHT_OTHER_MESSAGE"
|
||||
hint="COM_COMPONENTBUILDER_FIELD_DATALENGHT_OTHER_HINT"
|
||||
/>
|
||||
<!-- Css_views Field. Type: Textarea. (joomla) -->
|
||||
<field
|
||||
type="textarea"
|
||||
name="css_views"
|
||||
label="COM_COMPONENTBUILDER_FIELD_CSS_VIEWS_LABEL"
|
||||
rows="30"
|
||||
cols="15"
|
||||
description="COM_COMPONENTBUILDER_FIELD_CSS_VIEWS_DESCRIPTION"
|
||||
class="text_area span12"
|
||||
filter="raw"
|
||||
hint="COM_COMPONENTBUILDER_FIELD_CSS_VIEWS_HINT"
|
||||
required="true"
|
||||
/>
|
||||
<!-- Store Field. Type: List. (joomla) -->
|
||||
<field
|
||||
type="list"
|
||||
name="store"
|
||||
label="COM_COMPONENTBUILDER_FIELD_STORE_LABEL"
|
||||
description="COM_COMPONENTBUILDER_FIELD_STORE_DESCRIPTION"
|
||||
class="list_class"
|
||||
multiple="false"
|
||||
filter="INT"
|
||||
required="true"
|
||||
default="0">
|
||||
<!-- Option Set. -->
|
||||
<option value="0">
|
||||
COM_COMPONENTBUILDER_FIELD_DEFAULT</option>
|
||||
<option value="1">
|
||||
COM_COMPONENTBUILDER_FIELD_JSON</option>
|
||||
<option value="2">
|
||||
COM_COMPONENTBUILDER_FIELD_BASESIXTY_FOUR</option>
|
||||
<option value="3">
|
||||
COM_COMPONENTBUILDER_FIELD_BASIC_ENCRYPTION_LOCALDBKEY</option>
|
||||
<option value="5">
|
||||
COM_COMPONENTBUILDER_FIELD_MEDIUM_ENCRYPTION_LOCALFILEKEY</option>
|
||||
<option value="4">
|
||||
COM_COMPONENTBUILDER_FIELD_WHMCSKEY_ENCRYPTION</option>
|
||||
</field>
|
||||
<!-- Javascript_view_footer Field. Type: Textarea. (joomla) -->
|
||||
<field
|
||||
type="textarea"
|
||||
name="javascript_view_footer"
|
||||
label="COM_COMPONENTBUILDER_FIELD_JAVASCRIPT_VIEW_FOOTER_LABEL"
|
||||
rows="30"
|
||||
cols="15"
|
||||
description="COM_COMPONENTBUILDER_FIELD_JAVASCRIPT_VIEW_FOOTER_DESCRIPTION"
|
||||
class="text_area span12"
|
||||
filter="raw"
|
||||
hint="COM_COMPONENTBUILDER_FIELD_JAVASCRIPT_VIEW_FOOTER_HINT"
|
||||
required="true"
|
||||
/>
|
||||
<!-- Note_whmcs_encryption Field. Type: Note. A None Database Field. (joomla) -->
|
||||
<field type="note" name="note_whmcs_encryption" label="COM_COMPONENTBUILDER_FIELD_NOTE_WHMCS_ENCRYPTION_LABEL" description="COM_COMPONENTBUILDER_FIELD_NOTE_WHMCS_ENCRYPTION_DESCRIPTION" heading="h4" class="alert alert-success note_whmcs_encryption" />
|
||||
<!-- Javascript_views_footer Field. Type: Textarea. (joomla) -->
|
||||
<field
|
||||
type="textarea"
|
||||
name="javascript_views_footer"
|
||||
label="COM_COMPONENTBUILDER_FIELD_JAVASCRIPT_VIEWS_FOOTER_LABEL"
|
||||
rows="30"
|
||||
cols="15"
|
||||
description="COM_COMPONENTBUILDER_FIELD_JAVASCRIPT_VIEWS_FOOTER_DESCRIPTION"
|
||||
class="text_area span12"
|
||||
filter="raw"
|
||||
hint="COM_COMPONENTBUILDER_FIELD_JAVASCRIPT_VIEWS_FOOTER_HINT"
|
||||
required="true"
|
||||
/>
|
||||
<!-- Helpnote Field. Type: Note. A None Database Field. (joomla) -->
|
||||
<field type="note" name="helpnote" label="COM_COMPONENTBUILDER_FIELD_HELPNOTE_LABEL" class="helpNote helpnote" />
|
||||
</fieldset>
|
||||
|
||||
<!-- Access Control Fields. -->
|
||||
<fieldset name="accesscontrol">
|
||||
|
@ -4,208 +4,228 @@
|
||||
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" />
|
||||
<!-- Date Created Field. Type: Calendar (joomla)-->
|
||||
<field name="created"
|
||||
type="calendar"
|
||||
label="COM_COMPONENTBUILDER_FIELDTYPE_CREATED_DATE_LABEL"
|
||||
description="COM_COMPONENTBUILDER_FIELDTYPE_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_FIELDTYPE_CREATED_BY_LABEL"
|
||||
description="COM_COMPONENTBUILDER_FIELDTYPE_CREATED_BY_DESC" />
|
||||
<!-- Published Field. Type: List (joomla)-->
|
||||
<field name="published"
|
||||
type="list"
|
||||
label="JSTATUS">
|
||||
<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_FIELDTYPE_MODIFIED_DATE_LABEL"
|
||||
description="COM_COMPONENTBUILDER_FIELDTYPE_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_FIELDTYPE_MODIFIED_BY_LABEL"
|
||||
description="COM_COMPONENTBUILDER_FIELDTYPE_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_FIELDTYPE_ORDERING_LABEL"
|
||||
description=""
|
||||
default="0"
|
||||
size="6"
|
||||
required="false" />
|
||||
<!-- Version Field. Type: Text (joomla)-->
|
||||
<field name="version"
|
||||
type="text"
|
||||
class="readonly"
|
||||
label="COM_COMPONENTBUILDER_FIELDTYPE_VERSION_LABEL"
|
||||
description="COM_COMPONENTBUILDER_FIELDTYPE_VERSION_DESC"
|
||||
size="6"
|
||||
readonly="true"
|
||||
filter="unset" />
|
||||
<!-- Dynamic Fields.-->
|
||||
<!-- Name Field. Type: Text. (joomla)-->
|
||||
<field type="text"
|
||||
name="name"
|
||||
label="COM_COMPONENTBUILDER_FIELDTYPE_NAME_LABEL"
|
||||
size="40"
|
||||
maxlength="150"
|
||||
description="COM_COMPONENTBUILDER_FIELDTYPE_NAME_DESCRIPTION"
|
||||
class="text_area"
|
||||
readonly="false"
|
||||
disabled="false"
|
||||
required="true"
|
||||
filter="STRING"
|
||||
message="COM_COMPONENTBUILDER_FIELDTYPE_NAME_MESSAGE"
|
||||
hint="COM_COMPONENTBUILDER_FIELDTYPE_NAME_HINT" />
|
||||
<!-- Properties Field. Type: Subform. (joomla)-->
|
||||
<field type="subform"
|
||||
name="properties"
|
||||
label="COM_COMPONENTBUILDER_FIELDTYPE_PROPERTIES_LABEL"
|
||||
layout="joomla.form.field.subform.repeatable-table"
|
||||
multiple="true"
|
||||
description="COM_COMPONENTBUILDER_FIELDTYPE_PROPERTIES_DESCRIPTION"
|
||||
icon="list"
|
||||
maximum="500">
|
||||
<form hidden="true"
|
||||
name="list_properties_modal"
|
||||
repeat="true">
|
||||
<!-- Name Field. Type: Text. (joomla)-->
|
||||
<field type="text"
|
||||
name="name"
|
||||
label="COM_COMPONENTBUILDER_FIELDTYPE_NAME_LABEL"
|
||||
size="40"
|
||||
maxlength="150"
|
||||
description="COM_COMPONENTBUILDER_FIELDTYPE_NAME_DESCRIPTION"
|
||||
class="text_area"
|
||||
readonly="false"
|
||||
disabled="false"
|
||||
required="false"
|
||||
filter="STRING"
|
||||
message="COM_COMPONENTBUILDER_FIELDTYPE_NAME_MESSAGE"
|
||||
hint="COM_COMPONENTBUILDER_FIELDTYPE_NAME_HINT" />
|
||||
<!-- Example Field. Type: Text. (joomla)-->
|
||||
<field type="text"
|
||||
name="example"
|
||||
label="COM_COMPONENTBUILDER_FIELDTYPE_EXAMPLE_LABEL"
|
||||
size="40"
|
||||
maxlength="150"
|
||||
class="text_area"
|
||||
readonly="false"
|
||||
disabled="false"
|
||||
required="false"
|
||||
filter="STRING"
|
||||
message="COM_COMPONENTBUILDER_FIELDTYPE_EXAMPLE_MESSAGE"
|
||||
hint="COM_COMPONENTBUILDER_FIELDTYPE_EXAMPLE_HINT" />
|
||||
<!-- Adjustable Field. Type: Checkbox. (joomla)-->
|
||||
<field type="checkbox"
|
||||
name="adjustable"
|
||||
label="COM_COMPONENTBUILDER_FIELDTYPE_ADJUSTABLE_LABEL"
|
||||
value="1"
|
||||
required="false"
|
||||
description="COM_COMPONENTBUILDER_FIELDTYPE_ADJUSTABLE_DESCRIPTION"
|
||||
class="inputbox" />
|
||||
<!-- Mandatory Field. Type: Checkbox. (joomla)-->
|
||||
<field type="checkbox"
|
||||
name="mandatory"
|
||||
label="COM_COMPONENTBUILDER_FIELDTYPE_MANDATORY_LABEL"
|
||||
value="1"
|
||||
required="false"
|
||||
description="COM_COMPONENTBUILDER_FIELDTYPE_MANDATORY_DESCRIPTION"
|
||||
class="inputbox" />
|
||||
<!-- Translatable Field. Type: Checkbox. (joomla)-->
|
||||
<field type="checkbox"
|
||||
name="translatable"
|
||||
label="COM_COMPONENTBUILDER_FIELDTYPE_TRANSLATABLE_LABEL"
|
||||
value="1"
|
||||
required="false"
|
||||
description="COM_COMPONENTBUILDER_FIELDTYPE_TRANSLATABLE_DESCRIPTION"
|
||||
class="inputbox" />
|
||||
<!-- Description Field. Type: Textarea. (joomla)-->
|
||||
<field type="textarea"
|
||||
name="description"
|
||||
label="COM_COMPONENTBUILDER_FIELDTYPE_DESCRIPTION_LABEL"
|
||||
rows="5"
|
||||
cols="8"
|
||||
description="COM_COMPONENTBUILDER_FIELDTYPE_DESCRIPTION_DESCRIPTION"
|
||||
class="text_area"
|
||||
filter="HTML"
|
||||
hint="COM_COMPONENTBUILDER_FIELDTYPE_DESCRIPTION_HINT"
|
||||
required="false" />
|
||||
</form>
|
||||
</field>
|
||||
<!-- Note_on_fields Field. Type: Note. A None Database Field. (joomla)-->
|
||||
<field type="note"
|
||||
name="note_on_fields"
|
||||
label="COM_COMPONENTBUILDER_FIELDTYPE_NOTE_ON_FIELDS_LABEL"
|
||||
description="COM_COMPONENTBUILDER_FIELDTYPE_NOTE_ON_FIELDS_DESCRIPTION"
|
||||
heading="h4"
|
||||
class="alert alert-info note_on_fields" />
|
||||
<!-- Description Field. Type: Textarea. (joomla)-->
|
||||
<field type="textarea"
|
||||
name="description"
|
||||
label="COM_COMPONENTBUILDER_FIELDTYPE_DESCRIPTION_LABEL"
|
||||
rows="11"
|
||||
cols="10"
|
||||
description="COM_COMPONENTBUILDER_FIELDTYPE_DESCRIPTION_DESCRIPTION"
|
||||
class="text_area span12"
|
||||
filter="HTML"
|
||||
hint="COM_COMPONENTBUILDER_FIELDTYPE_DESCRIPTION_HINT" />
|
||||
<!-- Short_description Field. Type: Text. (joomla)-->
|
||||
<field type="text"
|
||||
name="short_description"
|
||||
label="COM_COMPONENTBUILDER_FIELDTYPE_SHORT_DESCRIPTION_LABEL"
|
||||
size="40"
|
||||
maxlength="150"
|
||||
description="COM_COMPONENTBUILDER_FIELDTYPE_SHORT_DESCRIPTION_DESCRIPTION"
|
||||
class="text_area"
|
||||
required="true"
|
||||
filter="HTML"
|
||||
message="COM_COMPONENTBUILDER_FIELDTYPE_SHORT_DESCRIPTION_MESSAGE"
|
||||
hint="COM_COMPONENTBUILDER_FIELDTYPE_SHORT_DESCRIPTION_HINT" />
|
||||
<!-- Catid Field. Type: Category. (joomla)-->
|
||||
<field type="category"
|
||||
name="catid"
|
||||
label="COM_COMPONENTBUILDER_FIELDTYPE_CATID_LABEL"
|
||||
extension="com_componentbuilder.fieldtypes"
|
||||
description="COM_COMPONENTBUILDER_FIELDTYPE_CATID_DESCRIPTION"
|
||||
class="inputbox" />
|
||||
</fieldset>
|
||||
<!-- 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_FIELDTYPE_CREATED_DATE_LABEL"
|
||||
description="COM_COMPONENTBUILDER_FIELDTYPE_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_FIELDTYPE_CREATED_BY_LABEL"
|
||||
description="COM_COMPONENTBUILDER_FIELDTYPE_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_FIELDTYPE_MODIFIED_DATE_LABEL" description="COM_COMPONENTBUILDER_FIELDTYPE_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_FIELDTYPE_MODIFIED_BY_LABEL"
|
||||
description="COM_COMPONENTBUILDER_FIELDTYPE_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_FIELDTYPE_ORDERING_LABEL"
|
||||
description=""
|
||||
default="0"
|
||||
size="6"
|
||||
required="false"
|
||||
/>
|
||||
<!-- Version Field. Type: Text (joomla) -->
|
||||
<field
|
||||
name="version"
|
||||
type="text"
|
||||
class="readonly"
|
||||
label="COM_COMPONENTBUILDER_FIELDTYPE_VERSION_LABEL"
|
||||
description="COM_COMPONENTBUILDER_FIELDTYPE_VERSION_DESC"
|
||||
size="6"
|
||||
readonly="true"
|
||||
filter="unset"
|
||||
/>
|
||||
<!-- Dynamic Fields. -->
|
||||
<!-- Name Field. Type: Text. (joomla) -->
|
||||
<field
|
||||
type="text"
|
||||
name="name"
|
||||
label="COM_COMPONENTBUILDER_FIELDTYPE_NAME_LABEL"
|
||||
size="40"
|
||||
maxlength="150"
|
||||
description="COM_COMPONENTBUILDER_FIELDTYPE_NAME_DESCRIPTION"
|
||||
class="text_area"
|
||||
readonly="false"
|
||||
disabled="false"
|
||||
required="true"
|
||||
filter="STRING"
|
||||
message="COM_COMPONENTBUILDER_FIELDTYPE_NAME_MESSAGE"
|
||||
hint="COM_COMPONENTBUILDER_FIELDTYPE_NAME_HINT"
|
||||
/>
|
||||
<!-- Properties Field. Type: Subform. (joomla) -->
|
||||
<field
|
||||
type="subform"
|
||||
name="properties"
|
||||
label="COM_COMPONENTBUILDER_FIELDTYPE_PROPERTIES_LABEL"
|
||||
layout="joomla.form.field.subform.repeatable-table"
|
||||
multiple="true"
|
||||
description="COM_COMPONENTBUILDER_FIELDTYPE_PROPERTIES_DESCRIPTION"
|
||||
icon="list"
|
||||
maximum="500">
|
||||
<form hidden="true" name="list_properties_modal" repeat="true">
|
||||
<!-- Name Field. Type: Text. (joomla) -->
|
||||
<field
|
||||
type="text"
|
||||
name="name"
|
||||
label="COM_COMPONENTBUILDER_FIELDTYPE_NAME_LABEL"
|
||||
size="40"
|
||||
maxlength="150"
|
||||
description="COM_COMPONENTBUILDER_FIELDTYPE_NAME_DESCRIPTION"
|
||||
class="text_area"
|
||||
readonly="false"
|
||||
disabled="false"
|
||||
required="false"
|
||||
filter="STRING"
|
||||
message="COM_COMPONENTBUILDER_FIELDTYPE_NAME_MESSAGE"
|
||||
hint="COM_COMPONENTBUILDER_FIELDTYPE_NAME_HINT"
|
||||
/>
|
||||
<!-- Example Field. Type: Text. (joomla) -->
|
||||
<field
|
||||
type="text"
|
||||
name="example"
|
||||
label="COM_COMPONENTBUILDER_FIELDTYPE_EXAMPLE_LABEL"
|
||||
size="40"
|
||||
maxlength="150"
|
||||
class="text_area"
|
||||
readonly="false"
|
||||
disabled="false"
|
||||
required="false"
|
||||
filter="STRING"
|
||||
message="COM_COMPONENTBUILDER_FIELDTYPE_EXAMPLE_MESSAGE"
|
||||
hint="COM_COMPONENTBUILDER_FIELDTYPE_EXAMPLE_HINT"
|
||||
/>
|
||||
<!-- Adjustable Field. Type: Checkbox. (joomla) -->
|
||||
<field
|
||||
type="checkbox"
|
||||
name="adjustable"
|
||||
label="COM_COMPONENTBUILDER_FIELDTYPE_ADJUSTABLE_LABEL"
|
||||
value="1"
|
||||
required="false"
|
||||
description="COM_COMPONENTBUILDER_FIELDTYPE_ADJUSTABLE_DESCRIPTION"
|
||||
class="inputbox"
|
||||
/>
|
||||
<!-- Mandatory Field. Type: Checkbox. (joomla) -->
|
||||
<field
|
||||
type="checkbox"
|
||||
name="mandatory"
|
||||
label="COM_COMPONENTBUILDER_FIELDTYPE_MANDATORY_LABEL"
|
||||
value="1"
|
||||
required="false"
|
||||
description="COM_COMPONENTBUILDER_FIELDTYPE_MANDATORY_DESCRIPTION"
|
||||
class="inputbox"
|
||||
/>
|
||||
<!-- Translatable Field. Type: Checkbox. (joomla) -->
|
||||
<field
|
||||
type="checkbox"
|
||||
name="translatable"
|
||||
label="COM_COMPONENTBUILDER_FIELDTYPE_TRANSLATABLE_LABEL"
|
||||
value="1"
|
||||
required="false"
|
||||
description="COM_COMPONENTBUILDER_FIELDTYPE_TRANSLATABLE_DESCRIPTION"
|
||||
class="inputbox"
|
||||
/>
|
||||
<!-- Description Field. Type: Textarea. (joomla) -->
|
||||
<field
|
||||
type="textarea"
|
||||
name="description"
|
||||
label="COM_COMPONENTBUILDER_FIELDTYPE_DESCRIPTION_LABEL"
|
||||
rows="5"
|
||||
cols="8"
|
||||
description="COM_COMPONENTBUILDER_FIELDTYPE_DESCRIPTION_DESCRIPTION"
|
||||
class="text_area"
|
||||
filter="HTML"
|
||||
hint="COM_COMPONENTBUILDER_FIELDTYPE_DESCRIPTION_HINT"
|
||||
required="false"
|
||||
/>
|
||||
</form>
|
||||
</field>
|
||||
<!-- Note_on_fields Field. Type: Note. A None Database Field. (joomla) -->
|
||||
<field type="note" name="note_on_fields" label="COM_COMPONENTBUILDER_FIELDTYPE_NOTE_ON_FIELDS_LABEL" description="COM_COMPONENTBUILDER_FIELDTYPE_NOTE_ON_FIELDS_DESCRIPTION" heading="h4" class="alert alert-info note_on_fields" />
|
||||
<!-- Description Field. Type: Textarea. (joomla) -->
|
||||
<field
|
||||
type="textarea"
|
||||
name="description"
|
||||
label="COM_COMPONENTBUILDER_FIELDTYPE_DESCRIPTION_LABEL"
|
||||
rows="11"
|
||||
cols="10"
|
||||
description="COM_COMPONENTBUILDER_FIELDTYPE_DESCRIPTION_DESCRIPTION"
|
||||
class="text_area span12"
|
||||
filter="HTML"
|
||||
hint="COM_COMPONENTBUILDER_FIELDTYPE_DESCRIPTION_HINT"
|
||||
/>
|
||||
<!-- Short_description Field. Type: Text. (joomla) -->
|
||||
<field
|
||||
type="text"
|
||||
name="short_description"
|
||||
label="COM_COMPONENTBUILDER_FIELDTYPE_SHORT_DESCRIPTION_LABEL"
|
||||
size="40"
|
||||
maxlength="150"
|
||||
description="COM_COMPONENTBUILDER_FIELDTYPE_SHORT_DESCRIPTION_DESCRIPTION"
|
||||
class="text_area"
|
||||
required="true"
|
||||
filter="HTML"
|
||||
message="COM_COMPONENTBUILDER_FIELDTYPE_SHORT_DESCRIPTION_MESSAGE"
|
||||
hint="COM_COMPONENTBUILDER_FIELDTYPE_SHORT_DESCRIPTION_HINT"
|
||||
/>
|
||||
<!-- Catid Field. Type: Category. (joomla) -->
|
||||
<field
|
||||
type="category"
|
||||
name="catid"
|
||||
label="COM_COMPONENTBUILDER_FIELDTYPE_CATID_LABEL"
|
||||
extension="com_componentbuilder.fieldtypes"
|
||||
description="COM_COMPONENTBUILDER_FIELDTYPE_CATID_DESCRIPTION"
|
||||
class="inputbox"
|
||||
/>
|
||||
</fieldset>
|
||||
|
||||
<!-- Access Control Fields. -->
|
||||
<fieldset name="accesscontrol">
|
||||
|
@ -4,198 +4,233 @@
|
||||
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" />
|
||||
<!-- Date Created Field. Type: Calendar (joomla)-->
|
||||
<field name="created"
|
||||
type="calendar"
|
||||
label="COM_COMPONENTBUILDER_HELP_DOCUMENT_CREATED_DATE_LABEL"
|
||||
description="COM_COMPONENTBUILDER_HELP_DOCUMENT_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_HELP_DOCUMENT_CREATED_BY_LABEL"
|
||||
description="COM_COMPONENTBUILDER_HELP_DOCUMENT_CREATED_BY_DESC" />
|
||||
<!-- Published Field. Type: List (joomla)-->
|
||||
<field name="published"
|
||||
type="list"
|
||||
label="JSTATUS">
|
||||
<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_HELP_DOCUMENT_MODIFIED_DATE_LABEL"
|
||||
description="COM_COMPONENTBUILDER_HELP_DOCUMENT_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_HELP_DOCUMENT_MODIFIED_BY_LABEL"
|
||||
description="COM_COMPONENTBUILDER_HELP_DOCUMENT_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_HELP_DOCUMENT_ORDERING_LABEL"
|
||||
description=""
|
||||
default="0"
|
||||
size="6"
|
||||
required="false" />
|
||||
<!-- Version Field. Type: Text (joomla)-->
|
||||
<field name="version"
|
||||
type="text"
|
||||
class="readonly"
|
||||
label="COM_COMPONENTBUILDER_HELP_DOCUMENT_VERSION_LABEL"
|
||||
description="COM_COMPONENTBUILDER_HELP_DOCUMENT_VERSION_DESC"
|
||||
size="6"
|
||||
readonly="true"
|
||||
filter="unset" />
|
||||
<!-- Dynamic Fields.-->
|
||||
<!-- Title Field. Type: Text. (joomla)-->
|
||||
<field type="text"
|
||||
name="title"
|
||||
label="COM_COMPONENTBUILDER_HELP_DOCUMENT_TITLE_LABEL"
|
||||
size="40"
|
||||
maxlength="150"
|
||||
description="COM_COMPONENTBUILDER_HELP_DOCUMENT_TITLE_DESCRIPTION"
|
||||
class="text_area"
|
||||
readonly="false"
|
||||
disabled="false"
|
||||
required="true"
|
||||
filter="STRING"
|
||||
message="COM_COMPONENTBUILDER_HELP_DOCUMENT_TITLE_MESSAGE"
|
||||
hint="COM_COMPONENTBUILDER_HELP_DOCUMENT_TITLE_HINT" />
|
||||
<!-- Type Field. Type: List. (joomla)-->
|
||||
<field type="list"
|
||||
name="type"
|
||||
label="COM_COMPONENTBUILDER_HELP_DOCUMENT_TYPE_LABEL"
|
||||
description="COM_COMPONENTBUILDER_HELP_DOCUMENT_TYPE_DESCRIPTION"
|
||||
class="list_class"
|
||||
multiple="false"
|
||||
required="true">
|
||||
<!-- Option Set.-->
|
||||
<option value="">COM_COMPONENTBUILDER_HELP_DOCUMENT_SELECT_AN_OPTION</option>
|
||||
<option value="1">COM_COMPONENTBUILDER_HELP_DOCUMENT_JOOMLA_ARTICLE</option>
|
||||
<option value="2">COM_COMPONENTBUILDER_HELP_DOCUMENT_TEXT</option>
|
||||
<option value="3">COM_COMPONENTBUILDER_HELP_DOCUMENT_URL</option>
|
||||
</field>
|
||||
<!-- Groups Field. Type: Usergroup. (joomla)-->
|
||||
<field type="usergroup"
|
||||
name="groups"
|
||||
label="COM_COMPONENTBUILDER_HELP_DOCUMENT_GROUPS_LABEL"
|
||||
description="COM_COMPONENTBUILDER_HELP_DOCUMENT_GROUPS_DESCRIPTION"
|
||||
required="true"
|
||||
multiple="true" />
|
||||
<!-- Location Field. Type: Radio. (joomla)-->
|
||||
<field type="radio"
|
||||
name="location"
|
||||
label="COM_COMPONENTBUILDER_HELP_DOCUMENT_LOCATION_LABEL"
|
||||
description="COM_COMPONENTBUILDER_HELP_DOCUMENT_LOCATION_DESCRIPTION"
|
||||
class="btn-group"
|
||||
required="true">
|
||||
<!-- Option Set.-->
|
||||
<option value="1">COM_COMPONENTBUILDER_HELP_DOCUMENT_ADMIN</option>
|
||||
<option value="2">COM_COMPONENTBUILDER_HELP_DOCUMENT_SITE</option>
|
||||
</field>
|
||||
<!-- Admin_view Field. Type: Adminviewfolderlist. (custom)-->
|
||||
<field type="adminviewfolderlist"
|
||||
name="admin_view"
|
||||
label="COM_COMPONENTBUILDER_HELP_DOCUMENT_ADMIN_VIEW_LABEL"
|
||||
description="COM_COMPONENTBUILDER_HELP_DOCUMENT_ADMIN_VIEW_DESCRIPTION"
|
||||
class="list_class"
|
||||
multiple="false"
|
||||
required="true"
|
||||
button="false" />
|
||||
<!-- Site_view Field. Type: Siteviewfolderlist. (custom)-->
|
||||
<field type="siteviewfolderlist"
|
||||
name="site_view"
|
||||
label="COM_COMPONENTBUILDER_HELP_DOCUMENT_SITE_VIEW_LABEL"
|
||||
description="COM_COMPONENTBUILDER_HELP_DOCUMENT_SITE_VIEW_DESCRIPTION"
|
||||
class="list_class"
|
||||
multiple="false"
|
||||
required="true"
|
||||
button="false" />
|
||||
<!-- Not_required Field. Type: Hidden. (joomla)-->
|
||||
<field type="hidden"
|
||||
name="not_required"
|
||||
default="[]" />
|
||||
<!-- Content Field. Type: Editor. (joomla)-->
|
||||
<field type="editor"
|
||||
name="content"
|
||||
label="COM_COMPONENTBUILDER_HELP_DOCUMENT_CONTENT_LABEL"
|
||||
width="100%"
|
||||
height="300 px"
|
||||
buttons="false"
|
||||
filter="safehtml"
|
||||
required="true" />
|
||||
<!-- Article Field. Type: Articles. (custom)-->
|
||||
<field type="articles"
|
||||
name="article"
|
||||
label="COM_COMPONENTBUILDER_HELP_DOCUMENT_ARTICLE_LABEL"
|
||||
class="list_class"
|
||||
multiple="false"
|
||||
default="0"
|
||||
required="true" />
|
||||
<!-- Url Field. Type: Url. (joomla)-->
|
||||
<field type="url"
|
||||
name="url"
|
||||
label="COM_COMPONENTBUILDER_HELP_DOCUMENT_URL_LABEL"
|
||||
size="60"
|
||||
maxlength="150"
|
||||
description="COM_COMPONENTBUILDER_HELP_DOCUMENT_URL_DESCRIPTION"
|
||||
class="text_area"
|
||||
required="true"
|
||||
filter="url"
|
||||
validated="url"
|
||||
message="COM_COMPONENTBUILDER_HELP_DOCUMENT_URL_MESSAGE"
|
||||
hint="COM_COMPONENTBUILDER_HELP_DOCUMENT_URL_HINT" />
|
||||
<!-- Target Field. Type: Radio. (joomla)-->
|
||||
<field type="radio"
|
||||
name="target"
|
||||
label="COM_COMPONENTBUILDER_HELP_DOCUMENT_TARGET_LABEL"
|
||||
description="COM_COMPONENTBUILDER_HELP_DOCUMENT_TARGET_DESCRIPTION"
|
||||
class="btn-group"
|
||||
required="true">
|
||||
<!-- Option Set.-->
|
||||
<option value="1">COM_COMPONENTBUILDER_HELP_DOCUMENT_SOME</option>
|
||||
<option value="2">COM_COMPONENTBUILDER_HELP_DOCUMENT_ALL</option>
|
||||
</field>
|
||||
<!-- Alias Field. Type: Text. (joomla)-->
|
||||
<field type="text"
|
||||
name="alias"
|
||||
label="COM_COMPONENTBUILDER_HELP_DOCUMENT_ALIAS_LABEL"
|
||||
description="JFIELD_ALIAS_DESC"
|
||||
filter="STRING"
|
||||
hint="COM_COMPONENTBUILDER_HELP_DOCUMENT_ALIAS_HINT" />
|
||||
</fieldset>
|
||||
<!-- 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_HELP_DOCUMENT_CREATED_DATE_LABEL"
|
||||
description="COM_COMPONENTBUILDER_HELP_DOCUMENT_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_HELP_DOCUMENT_CREATED_BY_LABEL"
|
||||
description="COM_COMPONENTBUILDER_HELP_DOCUMENT_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_HELP_DOCUMENT_MODIFIED_DATE_LABEL" description="COM_COMPONENTBUILDER_HELP_DOCUMENT_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_HELP_DOCUMENT_MODIFIED_BY_LABEL"
|
||||
description="COM_COMPONENTBUILDER_HELP_DOCUMENT_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_HELP_DOCUMENT_ORDERING_LABEL"
|
||||
description=""
|
||||
default="0"
|
||||
size="6"
|
||||
required="false"
|
||||
/>
|
||||
<!-- Version Field. Type: Text (joomla) -->
|
||||
<field
|
||||
name="version"
|
||||
type="text"
|
||||
class="readonly"
|
||||
label="COM_COMPONENTBUILDER_HELP_DOCUMENT_VERSION_LABEL"
|
||||
description="COM_COMPONENTBUILDER_HELP_DOCUMENT_VERSION_DESC"
|
||||
size="6"
|
||||
readonly="true"
|
||||
filter="unset"
|
||||
/>
|
||||
<!-- Dynamic Fields. -->
|
||||
<!-- Title Field. Type: Text. (joomla) -->
|
||||
<field
|
||||
type="text"
|
||||
name="title"
|
||||
label="COM_COMPONENTBUILDER_HELP_DOCUMENT_TITLE_LABEL"
|
||||
size="40"
|
||||
maxlength="150"
|
||||
description="COM_COMPONENTBUILDER_HELP_DOCUMENT_TITLE_DESCRIPTION"
|
||||
class="text_area"
|
||||
readonly="false"
|
||||
disabled="false"
|
||||
required="true"
|
||||
filter="STRING"
|
||||
message="COM_COMPONENTBUILDER_HELP_DOCUMENT_TITLE_MESSAGE"
|
||||
hint="COM_COMPONENTBUILDER_HELP_DOCUMENT_TITLE_HINT"
|
||||
/>
|
||||
<!-- Type Field. Type: List. (joomla) -->
|
||||
<field
|
||||
type="list"
|
||||
name="type"
|
||||
label="COM_COMPONENTBUILDER_HELP_DOCUMENT_TYPE_LABEL"
|
||||
description="COM_COMPONENTBUILDER_HELP_DOCUMENT_TYPE_DESCRIPTION"
|
||||
class="list_class"
|
||||
multiple="false"
|
||||
required="true">
|
||||
<!-- Option Set. -->
|
||||
<option value="">
|
||||
COM_COMPONENTBUILDER_HELP_DOCUMENT_SELECT_AN_OPTION</option>
|
||||
<option value="1">
|
||||
COM_COMPONENTBUILDER_HELP_DOCUMENT_JOOMLA_ARTICLE</option>
|
||||
<option value="2">
|
||||
COM_COMPONENTBUILDER_HELP_DOCUMENT_TEXT</option>
|
||||
<option value="3">
|
||||
COM_COMPONENTBUILDER_HELP_DOCUMENT_URL</option>
|
||||
</field>
|
||||
<!-- Groups Field. Type: Usergroup. (joomla) -->
|
||||
<field
|
||||
type="usergroup"
|
||||
name="groups"
|
||||
label="COM_COMPONENTBUILDER_HELP_DOCUMENT_GROUPS_LABEL"
|
||||
description="COM_COMPONENTBUILDER_HELP_DOCUMENT_GROUPS_DESCRIPTION"
|
||||
required="true"
|
||||
multiple="true"
|
||||
/>
|
||||
<!-- Location Field. Type: Radio. (joomla) -->
|
||||
<field
|
||||
type="radio"
|
||||
name="location"
|
||||
label="COM_COMPONENTBUILDER_HELP_DOCUMENT_LOCATION_LABEL"
|
||||
description="COM_COMPONENTBUILDER_HELP_DOCUMENT_LOCATION_DESCRIPTION"
|
||||
class="btn-group"
|
||||
required="true">
|
||||
<!-- Option Set. -->
|
||||
<option value="1">
|
||||
COM_COMPONENTBUILDER_HELP_DOCUMENT_ADMIN</option>
|
||||
<option value="2">
|
||||
COM_COMPONENTBUILDER_HELP_DOCUMENT_SITE</option>
|
||||
</field>
|
||||
<!-- Admin_view Field. Type: Adminviewfolderlist. (custom) -->
|
||||
<field
|
||||
type="adminviewfolderlist"
|
||||
name="admin_view"
|
||||
label="COM_COMPONENTBUILDER_HELP_DOCUMENT_ADMIN_VIEW_LABEL"
|
||||
description="COM_COMPONENTBUILDER_HELP_DOCUMENT_ADMIN_VIEW_DESCRIPTION"
|
||||
class="list_class"
|
||||
multiple="false"
|
||||
required="true"
|
||||
button="false"
|
||||
/>
|
||||
<!-- Site_view Field. Type: Siteviewfolderlist. (custom) -->
|
||||
<field
|
||||
type="siteviewfolderlist"
|
||||
name="site_view"
|
||||
label="COM_COMPONENTBUILDER_HELP_DOCUMENT_SITE_VIEW_LABEL"
|
||||
description="COM_COMPONENTBUILDER_HELP_DOCUMENT_SITE_VIEW_DESCRIPTION"
|
||||
class="list_class"
|
||||
multiple="false"
|
||||
required="true"
|
||||
button="false"
|
||||
/>
|
||||
<!-- Not_required Field. Type: Hidden. (joomla) -->
|
||||
<field
|
||||
type="hidden"
|
||||
name="not_required"
|
||||
default="[]"
|
||||
/>
|
||||
<!-- Content Field. Type: Editor. (joomla) -->
|
||||
<field
|
||||
type="editor"
|
||||
name="content"
|
||||
label="COM_COMPONENTBUILDER_HELP_DOCUMENT_CONTENT_LABEL"
|
||||
width="100%"
|
||||
height="300 px"
|
||||
buttons="false"
|
||||
filter="safehtml"
|
||||
required="true"
|
||||
/>
|
||||
<!-- Article Field. Type: Articles. (custom) -->
|
||||
<field
|
||||
type="articles"
|
||||
name="article"
|
||||
label="COM_COMPONENTBUILDER_HELP_DOCUMENT_ARTICLE_LABEL"
|
||||
class="list_class"
|
||||
multiple="false"
|
||||
default="0"
|
||||
required="true"
|
||||
/>
|
||||
<!-- Url Field. Type: Url. (joomla) -->
|
||||
<field
|
||||
type="url"
|
||||
name="url"
|
||||
label="COM_COMPONENTBUILDER_HELP_DOCUMENT_URL_LABEL"
|
||||
size="60"
|
||||
maxlength="150"
|
||||
description="COM_COMPONENTBUILDER_HELP_DOCUMENT_URL_DESCRIPTION"
|
||||
class="text_area"
|
||||
required="true"
|
||||
filter="url"
|
||||
validated="url"
|
||||
message="COM_COMPONENTBUILDER_HELP_DOCUMENT_URL_MESSAGE"
|
||||
hint="COM_COMPONENTBUILDER_HELP_DOCUMENT_URL_HINT"
|
||||
/>
|
||||
<!-- Target Field. Type: Radio. (joomla) -->
|
||||
<field
|
||||
type="radio"
|
||||
name="target"
|
||||
label="COM_COMPONENTBUILDER_HELP_DOCUMENT_TARGET_LABEL"
|
||||
description="COM_COMPONENTBUILDER_HELP_DOCUMENT_TARGET_DESCRIPTION"
|
||||
class="btn-group"
|
||||
required="true">
|
||||
<!-- Option Set. -->
|
||||
<option value="1">
|
||||
COM_COMPONENTBUILDER_HELP_DOCUMENT_SOME</option>
|
||||
<option value="2">
|
||||
COM_COMPONENTBUILDER_HELP_DOCUMENT_ALL</option>
|
||||
</field>
|
||||
<!-- Alias Field. Type: Text. (joomla) -->
|
||||
<field
|
||||
type="text"
|
||||
name="alias"
|
||||
label="COM_COMPONENTBUILDER_HELP_DOCUMENT_ALIAS_LABEL"
|
||||
description="JFIELD_ALIAS_DESC"
|
||||
filter="STRING"
|
||||
hint="COM_COMPONENTBUILDER_HELP_DOCUMENT_ALIAS_HINT"
|
||||
/>
|
||||
</fieldset>
|
||||
|
||||
<!-- Access Control Fields. -->
|
||||
<fieldset name="accesscontrol">
|
||||
|
File diff suppressed because it is too large
Load Diff
@ -4,107 +4,117 @@
|
||||
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" />
|
||||
<!-- Date Created Field. Type: Calendar (joomla)-->
|
||||
<field name="created"
|
||||
type="calendar"
|
||||
label="COM_COMPONENTBUILDER_LANGUAGE_CREATED_DATE_LABEL"
|
||||
description="COM_COMPONENTBUILDER_LANGUAGE_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_LANGUAGE_CREATED_BY_LABEL"
|
||||
description="COM_COMPONENTBUILDER_LANGUAGE_CREATED_BY_DESC" />
|
||||
<!-- Published Field. Type: List (joomla)-->
|
||||
<field name="published"
|
||||
type="list"
|
||||
label="JSTATUS">
|
||||
<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_LANGUAGE_MODIFIED_DATE_LABEL"
|
||||
description="COM_COMPONENTBUILDER_LANGUAGE_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_LANGUAGE_MODIFIED_BY_LABEL"
|
||||
description="COM_COMPONENTBUILDER_LANGUAGE_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_LANGUAGE_ORDERING_LABEL"
|
||||
description=""
|
||||
default="0"
|
||||
size="6"
|
||||
required="false" />
|
||||
<!-- Version Field. Type: Text (joomla)-->
|
||||
<field name="version"
|
||||
type="text"
|
||||
class="readonly"
|
||||
label="COM_COMPONENTBUILDER_LANGUAGE_VERSION_LABEL"
|
||||
description="COM_COMPONENTBUILDER_LANGUAGE_VERSION_DESC"
|
||||
size="6"
|
||||
readonly="true"
|
||||
filter="unset" />
|
||||
<!-- Dynamic Fields.-->
|
||||
<!-- Name Field. Type: Text. (joomla)-->
|
||||
<field type="text"
|
||||
name="name"
|
||||
label="COM_COMPONENTBUILDER_LANGUAGE_NAME_LABEL"
|
||||
size="40"
|
||||
maxlength="150"
|
||||
description="COM_COMPONENTBUILDER_LANGUAGE_NAME_DESCRIPTION"
|
||||
class="text_area"
|
||||
readonly="false"
|
||||
disabled="false"
|
||||
required="true"
|
||||
filter="STRING"
|
||||
message="COM_COMPONENTBUILDER_LANGUAGE_NAME_MESSAGE"
|
||||
hint="COM_COMPONENTBUILDER_LANGUAGE_NAME_HINT" />
|
||||
<!-- Langtag Field. Type: Text. (joomla)-->
|
||||
<field type="text"
|
||||
name="langtag"
|
||||
label="COM_COMPONENTBUILDER_LANGUAGE_LANGTAG_LABEL"
|
||||
size="10"
|
||||
maxlength="10"
|
||||
description="COM_COMPONENTBUILDER_LANGUAGE_LANGTAG_DESCRIPTION"
|
||||
class="text_area"
|
||||
filter="STRING"
|
||||
message="COM_COMPONENTBUILDER_LANGUAGE_LANGTAG_MESSAGE"
|
||||
hint="COM_COMPONENTBUILDER_LANGUAGE_LANGTAG_HINT" />
|
||||
</fieldset>
|
||||
<!-- 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_LANGUAGE_CREATED_DATE_LABEL"
|
||||
description="COM_COMPONENTBUILDER_LANGUAGE_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_LANGUAGE_CREATED_BY_LABEL"
|
||||
description="COM_COMPONENTBUILDER_LANGUAGE_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_LANGUAGE_MODIFIED_DATE_LABEL" description="COM_COMPONENTBUILDER_LANGUAGE_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_LANGUAGE_MODIFIED_BY_LABEL"
|
||||
description="COM_COMPONENTBUILDER_LANGUAGE_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_LANGUAGE_ORDERING_LABEL"
|
||||
description=""
|
||||
default="0"
|
||||
size="6"
|
||||
required="false"
|
||||
/>
|
||||
<!-- Version Field. Type: Text (joomla) -->
|
||||
<field
|
||||
name="version"
|
||||
type="text"
|
||||
class="readonly"
|
||||
label="COM_COMPONENTBUILDER_LANGUAGE_VERSION_LABEL"
|
||||
description="COM_COMPONENTBUILDER_LANGUAGE_VERSION_DESC"
|
||||
size="6"
|
||||
readonly="true"
|
||||
filter="unset"
|
||||
/>
|
||||
<!-- Dynamic Fields. -->
|
||||
<!-- Name Field. Type: Text. (joomla) -->
|
||||
<field
|
||||
type="text"
|
||||
name="name"
|
||||
label="COM_COMPONENTBUILDER_LANGUAGE_NAME_LABEL"
|
||||
size="40"
|
||||
maxlength="150"
|
||||
description="COM_COMPONENTBUILDER_LANGUAGE_NAME_DESCRIPTION"
|
||||
class="text_area"
|
||||
readonly="false"
|
||||
disabled="false"
|
||||
required="true"
|
||||
filter="STRING"
|
||||
message="COM_COMPONENTBUILDER_LANGUAGE_NAME_MESSAGE"
|
||||
hint="COM_COMPONENTBUILDER_LANGUAGE_NAME_HINT"
|
||||
/>
|
||||
<!-- Langtag Field. Type: Text. (joomla) -->
|
||||
<field
|
||||
type="text"
|
||||
name="langtag"
|
||||
label="COM_COMPONENTBUILDER_LANGUAGE_LANGTAG_LABEL"
|
||||
size="10"
|
||||
maxlength="10"
|
||||
description="COM_COMPONENTBUILDER_LANGUAGE_LANGTAG_DESCRIPTION"
|
||||
class="text_area"
|
||||
filter="STRING"
|
||||
message="COM_COMPONENTBUILDER_LANGUAGE_LANGTAG_MESSAGE"
|
||||
hint="COM_COMPONENTBUILDER_LANGUAGE_LANGTAG_HINT"
|
||||
/>
|
||||
</fieldset>
|
||||
|
||||
<!-- Access Control Fields. -->
|
||||
<fieldset name="accesscontrol">
|
||||
|
@ -4,138 +4,151 @@
|
||||
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" />
|
||||
<!-- Date Created Field. Type: Calendar (joomla)-->
|
||||
<field name="created"
|
||||
type="calendar"
|
||||
label="COM_COMPONENTBUILDER_LANGUAGE_TRANSLATION_CREATED_DATE_LABEL"
|
||||
description="COM_COMPONENTBUILDER_LANGUAGE_TRANSLATION_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_LANGUAGE_TRANSLATION_CREATED_BY_LABEL"
|
||||
description="COM_COMPONENTBUILDER_LANGUAGE_TRANSLATION_CREATED_BY_DESC" />
|
||||
<!-- Published Field. Type: List (joomla)-->
|
||||
<field name="published"
|
||||
type="list"
|
||||
label="JSTATUS">
|
||||
<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_LANGUAGE_TRANSLATION_MODIFIED_DATE_LABEL"
|
||||
description="COM_COMPONENTBUILDER_LANGUAGE_TRANSLATION_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_LANGUAGE_TRANSLATION_MODIFIED_BY_LABEL"
|
||||
description="COM_COMPONENTBUILDER_LANGUAGE_TRANSLATION_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_LANGUAGE_TRANSLATION_ORDERING_LABEL"
|
||||
description=""
|
||||
default="0"
|
||||
size="6"
|
||||
required="false" />
|
||||
<!-- Version Field. Type: Text (joomla)-->
|
||||
<field name="version"
|
||||
type="text"
|
||||
class="readonly"
|
||||
label="COM_COMPONENTBUILDER_LANGUAGE_TRANSLATION_VERSION_LABEL"
|
||||
description="COM_COMPONENTBUILDER_LANGUAGE_TRANSLATION_VERSION_DESC"
|
||||
size="6"
|
||||
readonly="true"
|
||||
filter="unset" />
|
||||
<!-- Dynamic Fields.-->
|
||||
<!-- Entranslation Field. Type: Textarea. (joomla)-->
|
||||
<field type="textarea"
|
||||
name="entranslation"
|
||||
label="COM_COMPONENTBUILDER_LANGUAGE_TRANSLATION_ENTRANSLATION_LABEL"
|
||||
rows="4"
|
||||
cols="5"
|
||||
description="JFIELD_TITLE_DESC"
|
||||
message="COM_COMPONENTBUILDER_LANGUAGE_TRANSLATION_ENTRANSLATION_MESSAGE"
|
||||
class="text_area span12"
|
||||
filter="STRING"
|
||||
hint="COM_COMPONENTBUILDER_LANGUAGE_TRANSLATION_ENTRANSLATION_HINT"
|
||||
readonly="true"
|
||||
disabled="true" />
|
||||
<!-- Components Field. Type: Components. (custom)-->
|
||||
<field type="components"
|
||||
name="components"
|
||||
label="COM_COMPONENTBUILDER_LANGUAGE_TRANSLATION_COMPONENTS_LABEL"
|
||||
class="list_class"
|
||||
multiple="true"
|
||||
default="0"
|
||||
required="true"
|
||||
button="false" />
|
||||
<!-- Translation Field. Type: Subform. (joomla)-->
|
||||
<field type="subform"
|
||||
name="translation"
|
||||
label="COM_COMPONENTBUILDER_LANGUAGE_TRANSLATION_TRANSLATION_LABEL"
|
||||
layout="joomla.form.field.subform.repeatable-table"
|
||||
multiple="true"
|
||||
description="COM_COMPONENTBUILDER_LANGUAGE_TRANSLATION_TRANSLATION_DESCRIPTION"
|
||||
icon="list"
|
||||
maximum="200">
|
||||
<form hidden="true"
|
||||
name="list_translation_modal"
|
||||
repeat="true">
|
||||
<!-- Translation Field. Type: Textarea. (joomla)-->
|
||||
<field type="textarea"
|
||||
name="translation"
|
||||
label="COM_COMPONENTBUILDER_LANGUAGE_TRANSLATION_TRANSLATION_LABEL"
|
||||
rows="4"
|
||||
cols="20"
|
||||
message="COM_COMPONENTBUILDER_LANGUAGE_TRANSLATION_TRANSLATION_MESSAGE"
|
||||
class="text_area translation_text_area"
|
||||
filter="STRING"
|
||||
hint="COM_COMPONENTBUILDER_LANGUAGE_TRANSLATION_TRANSLATION_HINT"
|
||||
required="false" />
|
||||
<!-- Language Field. Type: Lang. (custom)-->
|
||||
<field type="lang"
|
||||
name="language"
|
||||
label="COM_COMPONENTBUILDER_LANGUAGE_TRANSLATION_LANGUAGE_LABEL"
|
||||
class="list_class"
|
||||
multiple="false"
|
||||
default="0"
|
||||
required="false"
|
||||
button="false" />
|
||||
</form>
|
||||
</field>
|
||||
</fieldset>
|
||||
<!-- 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_LANGUAGE_TRANSLATION_CREATED_DATE_LABEL"
|
||||
description="COM_COMPONENTBUILDER_LANGUAGE_TRANSLATION_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_LANGUAGE_TRANSLATION_CREATED_BY_LABEL"
|
||||
description="COM_COMPONENTBUILDER_LANGUAGE_TRANSLATION_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_LANGUAGE_TRANSLATION_MODIFIED_DATE_LABEL" description="COM_COMPONENTBUILDER_LANGUAGE_TRANSLATION_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_LANGUAGE_TRANSLATION_MODIFIED_BY_LABEL"
|
||||
description="COM_COMPONENTBUILDER_LANGUAGE_TRANSLATION_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_LANGUAGE_TRANSLATION_ORDERING_LABEL"
|
||||
description=""
|
||||
default="0"
|
||||
size="6"
|
||||
required="false"
|
||||
/>
|
||||
<!-- Version Field. Type: Text (joomla) -->
|
||||
<field
|
||||
name="version"
|
||||
type="text"
|
||||
class="readonly"
|
||||
label="COM_COMPONENTBUILDER_LANGUAGE_TRANSLATION_VERSION_LABEL"
|
||||
description="COM_COMPONENTBUILDER_LANGUAGE_TRANSLATION_VERSION_DESC"
|
||||
size="6"
|
||||
readonly="true"
|
||||
filter="unset"
|
||||
/>
|
||||
<!-- Dynamic Fields. -->
|
||||
<!-- Entranslation Field. Type: Textarea. (joomla) -->
|
||||
<field
|
||||
type="textarea"
|
||||
name="entranslation"
|
||||
label="COM_COMPONENTBUILDER_LANGUAGE_TRANSLATION_ENTRANSLATION_LABEL"
|
||||
rows="4"
|
||||
cols="5"
|
||||
description="JFIELD_TITLE_DESC"
|
||||
message="COM_COMPONENTBUILDER_LANGUAGE_TRANSLATION_ENTRANSLATION_MESSAGE"
|
||||
class="text_area span12"
|
||||
filter="STRING"
|
||||
hint="COM_COMPONENTBUILDER_LANGUAGE_TRANSLATION_ENTRANSLATION_HINT"
|
||||
readonly="true"
|
||||
disabled="true"
|
||||
/>
|
||||
<!-- Components Field. Type: Components. (custom) -->
|
||||
<field
|
||||
type="components"
|
||||
name="components"
|
||||
label="COM_COMPONENTBUILDER_LANGUAGE_TRANSLATION_COMPONENTS_LABEL"
|
||||
class="list_class"
|
||||
multiple="true"
|
||||
default="0"
|
||||
required="true"
|
||||
button="false"
|
||||
/>
|
||||
<!-- Translation Field. Type: Subform. (joomla) -->
|
||||
<field
|
||||
type="subform"
|
||||
name="translation"
|
||||
label="COM_COMPONENTBUILDER_LANGUAGE_TRANSLATION_TRANSLATION_LABEL"
|
||||
layout="joomla.form.field.subform.repeatable-table"
|
||||
multiple="true"
|
||||
description="COM_COMPONENTBUILDER_LANGUAGE_TRANSLATION_TRANSLATION_DESCRIPTION"
|
||||
icon="list"
|
||||
maximum="200">
|
||||
<form hidden="true" name="list_translation_modal" repeat="true">
|
||||
<!-- Translation Field. Type: Textarea. (joomla) -->
|
||||
<field
|
||||
type="textarea"
|
||||
name="translation"
|
||||
label="COM_COMPONENTBUILDER_LANGUAGE_TRANSLATION_TRANSLATION_LABEL"
|
||||
rows="4"
|
||||
cols="20"
|
||||
message="COM_COMPONENTBUILDER_LANGUAGE_TRANSLATION_TRANSLATION_MESSAGE"
|
||||
class="text_area translation_text_area"
|
||||
filter="STRING"
|
||||
hint="COM_COMPONENTBUILDER_LANGUAGE_TRANSLATION_TRANSLATION_HINT"
|
||||
required="false"
|
||||
/>
|
||||
<!-- Language Field. Type: Lang. (custom) -->
|
||||
<field
|
||||
type="lang"
|
||||
name="language"
|
||||
label="COM_COMPONENTBUILDER_LANGUAGE_TRANSLATION_LANGUAGE_LABEL"
|
||||
class="list_class"
|
||||
multiple="false"
|
||||
default="0"
|
||||
required="false"
|
||||
button="false"
|
||||
/>
|
||||
</form>
|
||||
</field>
|
||||
</fieldset>
|
||||
|
||||
<!-- Access Control Fields. -->
|
||||
<fieldset name="accesscontrol">
|
||||
|
@ -4,217 +4,221 @@
|
||||
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" />
|
||||
<!-- Date Created Field. Type: Calendar (joomla)-->
|
||||
<field name="created"
|
||||
type="calendar"
|
||||
label="COM_COMPONENTBUILDER_LAYOUT_CREATED_DATE_LABEL"
|
||||
description="COM_COMPONENTBUILDER_LAYOUT_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_LAYOUT_CREATED_BY_LABEL"
|
||||
description="COM_COMPONENTBUILDER_LAYOUT_CREATED_BY_DESC" />
|
||||
<!-- Published Field. Type: List (joomla)-->
|
||||
<field name="published"
|
||||
type="list"
|
||||
label="JSTATUS">
|
||||
<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_LAYOUT_MODIFIED_DATE_LABEL"
|
||||
description="COM_COMPONENTBUILDER_LAYOUT_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_LAYOUT_MODIFIED_BY_LABEL"
|
||||
description="COM_COMPONENTBUILDER_LAYOUT_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_LAYOUT_ORDERING_LABEL"
|
||||
description=""
|
||||
default="0"
|
||||
size="6"
|
||||
required="false" />
|
||||
<!-- Version Field. Type: Text (joomla)-->
|
||||
<field name="version"
|
||||
type="text"
|
||||
class="readonly"
|
||||
label="COM_COMPONENTBUILDER_LAYOUT_VERSION_LABEL"
|
||||
description="COM_COMPONENTBUILDER_LAYOUT_VERSION_DESC"
|
||||
size="6"
|
||||
readonly="true"
|
||||
filter="unset" />
|
||||
<!-- Dynamic Fields.-->
|
||||
<!-- Name Field. Type: Text. (joomla)-->
|
||||
<field type="text"
|
||||
name="name"
|
||||
label="COM_COMPONENTBUILDER_LAYOUT_NAME_LABEL"
|
||||
size="40"
|
||||
maxlength="150"
|
||||
description="COM_COMPONENTBUILDER_LAYOUT_NAME_DESCRIPTION"
|
||||
class="text_area"
|
||||
readonly="false"
|
||||
disabled="false"
|
||||
required="true"
|
||||
filter="STRING"
|
||||
message="COM_COMPONENTBUILDER_LAYOUT_NAME_MESSAGE"
|
||||
hint="COM_COMPONENTBUILDER_LAYOUT_NAME_HINT" />
|
||||
<!-- Alias Field. Type: Text. (joomla)-->
|
||||
<field type="text"
|
||||
name="alias"
|
||||
label="COM_COMPONENTBUILDER_LAYOUT_ALIAS_LABEL"
|
||||
size="40"
|
||||
maxlength="50"
|
||||
description="COM_COMPONENTBUILDER_LAYOUT_ALIAS_DESCRIPTION"
|
||||
class="text_area"
|
||||
filter="CMD"
|
||||
message="COM_COMPONENTBUILDER_LAYOUT_ALIAS_MESSAGE"
|
||||
hint="COM_COMPONENTBUILDER_LAYOUT_ALIAS_HINT" />
|
||||
<!-- Description Field. Type: Text. (joomla)-->
|
||||
<field type="text"
|
||||
name="description"
|
||||
label="COM_COMPONENTBUILDER_LAYOUT_DESCRIPTION_LABEL"
|
||||
size="80"
|
||||
maxlength="150"
|
||||
description="COM_COMPONENTBUILDER_LAYOUT_DESCRIPTION_DESCRIPTION"
|
||||
class="text_area"
|
||||
readonly="false"
|
||||
disabled="false"
|
||||
required="true"
|
||||
filter="STRING"
|
||||
message="COM_COMPONENTBUILDER_LAYOUT_DESCRIPTION_MESSAGE"
|
||||
hint="COM_COMPONENTBUILDER_LAYOUT_DESCRIPTION_HINT" />
|
||||
<!-- Dynamic_get Field. Type: Dynamicget. (custom)-->
|
||||
<field type="dynamicget"
|
||||
name="dynamic_get"
|
||||
label="COM_COMPONENTBUILDER_LAYOUT_DYNAMIC_GET_LABEL"
|
||||
description="COM_COMPONENTBUILDER_LAYOUT_DYNAMIC_GET_DESCRIPTION"
|
||||
multiple="false"
|
||||
required="false"
|
||||
button="true" />
|
||||
<!-- Snippet Field. Type: Snippets. (custom)-->
|
||||
<field type="snippets"
|
||||
name="snippet"
|
||||
label="COM_COMPONENTBUILDER_LAYOUT_SNIPPET_LABEL"
|
||||
description="COM_COMPONENTBUILDER_LAYOUT_SNIPPET_DESCRIPTION"
|
||||
class="list_class"
|
||||
multiple="false"
|
||||
required="false"
|
||||
button="true" />
|
||||
<!-- Php_view Field. Type: Textarea. (joomla)-->
|
||||
<field type="textarea"
|
||||
name="php_view"
|
||||
label="COM_COMPONENTBUILDER_LAYOUT_PHP_VIEW_LABEL"
|
||||
rows="17"
|
||||
cols="5"
|
||||
description="COM_COMPONENTBUILDER_LAYOUT_PHP_VIEW_DESCRIPTION"
|
||||
class="text_area span12"
|
||||
filter="raw"
|
||||
hint="COM_COMPONENTBUILDER_LAYOUT_PHP_VIEW_HINT"
|
||||
required="true" />
|
||||
<!-- Add_php_view Field. Type: Radio. (joomla)-->
|
||||
<field type="radio"
|
||||
name="add_php_view"
|
||||
label="COM_COMPONENTBUILDER_LAYOUT_ADD_PHP_VIEW_LABEL"
|
||||
class="btn-group btn-group-yesno"
|
||||
default="0"
|
||||
required="true">
|
||||
<!-- Option Set.-->
|
||||
<option value="1">COM_COMPONENTBUILDER_LAYOUT_YES</option>
|
||||
<option value="0">COM_COMPONENTBUILDER_LAYOUT_NO</option>
|
||||
</field>
|
||||
<!-- Dynamic_values Field. Type: Note. A None Database Field. (joomla)-->
|
||||
<field type="note"
|
||||
name="dynamic_values"
|
||||
label="COM_COMPONENTBUILDER_LAYOUT_DYNAMIC_VALUES_LABEL"
|
||||
description="COM_COMPONENTBUILDER_LAYOUT_DYNAMIC_VALUES_DESCRIPTION"
|
||||
heading="h4"
|
||||
class="dynamic_values" />
|
||||
<!-- Not_required Field. Type: Hidden. (joomla)-->
|
||||
<field type="hidden"
|
||||
name="not_required"
|
||||
default="[]" />
|
||||
<!-- Layout Field. Type: Textarea. (joomla)-->
|
||||
<field type="textarea"
|
||||
name="layout"
|
||||
label="COM_COMPONENTBUILDER_LAYOUT_LAYOUT_LABEL"
|
||||
rows="20"
|
||||
cols="15"
|
||||
class="text_area span12"
|
||||
filter="raw"
|
||||
hint="COM_COMPONENTBUILDER_LAYOUT_LAYOUT_HINT"
|
||||
required="true" />
|
||||
<!-- Note_snippet_usage Field. Type: Note. A None Database Field. (joomla)-->
|
||||
<field type="note"
|
||||
name="note_snippet_usage"
|
||||
label="COM_COMPONENTBUILDER_LAYOUT_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_LAYOUT_NOTE_UIKIT_SNIPPET_LABEL"
|
||||
heading="h4"
|
||||
class="snippet-code note_uikit_snippet" />
|
||||
<!-- Note_add_language_string Field. Type: Note. A None Database Field. (joomla)-->
|
||||
<field type="note"
|
||||
name="note_add_language_string"
|
||||
label="COM_COMPONENTBUILDER_LAYOUT_NOTE_ADD_LANGUAGE_STRING_LABEL"
|
||||
description="COM_COMPONENTBUILDER_LAYOUT_NOTE_ADD_LANGUAGE_STRING_DESCRIPTION"
|
||||
heading="h4"
|
||||
class="note_add_language_string" />
|
||||
<!-- Libraries Field. Type: Libraries. (custom)-->
|
||||
<field type="libraries"
|
||||
name="libraries"
|
||||
label="COM_COMPONENTBUILDER_LAYOUT_LIBRARIES_LABEL"
|
||||
description="COM_COMPONENTBUILDER_LAYOUT_LIBRARIES_DESCRIPTION"
|
||||
class="list_class"
|
||||
multiple="true"
|
||||
default="0"
|
||||
required="false"
|
||||
button="true" />
|
||||
<!-- Note_libraries_selection Field. Type: Note. A None Database Field. (joomla)-->
|
||||
<field type="note"
|
||||
name="note_libraries_selection"
|
||||
label="COM_COMPONENTBUILDER_LAYOUT_NOTE_LIBRARIES_SELECTION_LABEL"
|
||||
description="COM_COMPONENTBUILDER_LAYOUT_NOTE_LIBRARIES_SELECTION_DESCRIPTION"
|
||||
heading="h4"
|
||||
class="alert alert-info note_libraries_selection" />
|
||||
</fieldset>
|
||||
<!-- 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_LAYOUT_CREATED_DATE_LABEL"
|
||||
description="COM_COMPONENTBUILDER_LAYOUT_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_LAYOUT_CREATED_BY_LABEL"
|
||||
description="COM_COMPONENTBUILDER_LAYOUT_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_LAYOUT_MODIFIED_DATE_LABEL" description="COM_COMPONENTBUILDER_LAYOUT_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_LAYOUT_MODIFIED_BY_LABEL"
|
||||
description="COM_COMPONENTBUILDER_LAYOUT_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_LAYOUT_ORDERING_LABEL"
|
||||
description=""
|
||||
default="0"
|
||||
size="6"
|
||||
required="false"
|
||||
/>
|
||||
<!-- Version Field. Type: Text (joomla) -->
|
||||
<field
|
||||
name="version"
|
||||
type="text"
|
||||
class="readonly"
|
||||
label="COM_COMPONENTBUILDER_LAYOUT_VERSION_LABEL"
|
||||
description="COM_COMPONENTBUILDER_LAYOUT_VERSION_DESC"
|
||||
size="6"
|
||||
readonly="true"
|
||||
filter="unset"
|
||||
/>
|
||||
<!-- Dynamic Fields. -->
|
||||
<!-- Name Field. Type: Text. (joomla) -->
|
||||
<field
|
||||
type="text"
|
||||
name="name"
|
||||
label="COM_COMPONENTBUILDER_LAYOUT_NAME_LABEL"
|
||||
size="40"
|
||||
maxlength="150"
|
||||
description="COM_COMPONENTBUILDER_LAYOUT_NAME_DESCRIPTION"
|
||||
class="text_area"
|
||||
readonly="false"
|
||||
disabled="false"
|
||||
required="true"
|
||||
filter="STRING"
|
||||
message="COM_COMPONENTBUILDER_LAYOUT_NAME_MESSAGE"
|
||||
hint="COM_COMPONENTBUILDER_LAYOUT_NAME_HINT"
|
||||
/>
|
||||
<!-- Alias Field. Type: Text. (joomla) -->
|
||||
<field
|
||||
type="text"
|
||||
name="alias"
|
||||
label="COM_COMPONENTBUILDER_LAYOUT_ALIAS_LABEL"
|
||||
size="40"
|
||||
maxlength="50"
|
||||
description="COM_COMPONENTBUILDER_LAYOUT_ALIAS_DESCRIPTION"
|
||||
class="text_area"
|
||||
filter="CMD"
|
||||
message="COM_COMPONENTBUILDER_LAYOUT_ALIAS_MESSAGE"
|
||||
hint="COM_COMPONENTBUILDER_LAYOUT_ALIAS_HINT"
|
||||
/>
|
||||
<!-- Description Field. Type: Text. (joomla) -->
|
||||
<field
|
||||
type="text"
|
||||
name="description"
|
||||
label="COM_COMPONENTBUILDER_LAYOUT_DESCRIPTION_LABEL"
|
||||
size="80"
|
||||
maxlength="150"
|
||||
description="COM_COMPONENTBUILDER_LAYOUT_DESCRIPTION_DESCRIPTION"
|
||||
class="text_area"
|
||||
readonly="false"
|
||||
disabled="false"
|
||||
required="true"
|
||||
filter="STRING"
|
||||
message="COM_COMPONENTBUILDER_LAYOUT_DESCRIPTION_MESSAGE"
|
||||
hint="COM_COMPONENTBUILDER_LAYOUT_DESCRIPTION_HINT"
|
||||
/>
|
||||
<!-- Dynamic_get Field. Type: Dynamicget. (custom) -->
|
||||
<field
|
||||
type="dynamicget"
|
||||
name="dynamic_get"
|
||||
label="COM_COMPONENTBUILDER_LAYOUT_DYNAMIC_GET_LABEL"
|
||||
description="COM_COMPONENTBUILDER_LAYOUT_DYNAMIC_GET_DESCRIPTION"
|
||||
multiple="false"
|
||||
required="false"
|
||||
button="true"
|
||||
/>
|
||||
<!-- Snippet Field. Type: Snippets. (custom) -->
|
||||
<field
|
||||
type="snippets"
|
||||
name="snippet"
|
||||
label="COM_COMPONENTBUILDER_LAYOUT_SNIPPET_LABEL"
|
||||
description="COM_COMPONENTBUILDER_LAYOUT_SNIPPET_DESCRIPTION"
|
||||
class="list_class"
|
||||
multiple="false"
|
||||
required="false"
|
||||
button="true"
|
||||
/>
|
||||
<!-- Php_view Field. Type: Textarea. (joomla) -->
|
||||
<field
|
||||
type="textarea"
|
||||
name="php_view"
|
||||
label="COM_COMPONENTBUILDER_LAYOUT_PHP_VIEW_LABEL"
|
||||
rows="17"
|
||||
cols="5"
|
||||
description="COM_COMPONENTBUILDER_LAYOUT_PHP_VIEW_DESCRIPTION"
|
||||
class="text_area span12"
|
||||
filter="raw"
|
||||
hint="COM_COMPONENTBUILDER_LAYOUT_PHP_VIEW_HINT"
|
||||
required="true"
|
||||
/>
|
||||
<!-- Add_php_view Field. Type: Radio. (joomla) -->
|
||||
<field
|
||||
type="radio"
|
||||
name="add_php_view"
|
||||
label="COM_COMPONENTBUILDER_LAYOUT_ADD_PHP_VIEW_LABEL"
|
||||
class="btn-group btn-group-yesno"
|
||||
default="0"
|
||||
required="true">
|
||||
<!-- Option Set. -->
|
||||
<option value="1">
|
||||
COM_COMPONENTBUILDER_LAYOUT_YES</option>
|
||||
<option value="0">
|
||||
COM_COMPONENTBUILDER_LAYOUT_NO</option>
|
||||
</field>
|
||||
<!-- Dynamic_values Field. Type: Note. A None Database Field. (joomla) -->
|
||||
<field type="note" name="dynamic_values" label="COM_COMPONENTBUILDER_LAYOUT_DYNAMIC_VALUES_LABEL" description="COM_COMPONENTBUILDER_LAYOUT_DYNAMIC_VALUES_DESCRIPTION" heading="h4" class="dynamic_values" />
|
||||
<!-- Not_required Field. Type: Hidden. (joomla) -->
|
||||
<field
|
||||
type="hidden"
|
||||
name="not_required"
|
||||
default="[]"
|
||||
/>
|
||||
<!-- Layout Field. Type: Textarea. (joomla) -->
|
||||
<field
|
||||
type="textarea"
|
||||
name="layout"
|
||||
label="COM_COMPONENTBUILDER_LAYOUT_LAYOUT_LABEL"
|
||||
rows="20"
|
||||
cols="15"
|
||||
class="text_area span12"
|
||||
filter="raw"
|
||||
hint="COM_COMPONENTBUILDER_LAYOUT_LAYOUT_HINT"
|
||||
required="true"
|
||||
/>
|
||||
<!-- Note_snippet_usage Field. Type: Note. A None Database Field. (joomla) -->
|
||||
<field type="note" name="note_snippet_usage" label="COM_COMPONENTBUILDER_LAYOUT_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_LAYOUT_NOTE_UIKIT_SNIPPET_LABEL" heading="h4" class="snippet-code note_uikit_snippet" />
|
||||
<!-- Note_add_language_string Field. Type: Note. A None Database Field. (joomla) -->
|
||||
<field type="note" name="note_add_language_string" label="COM_COMPONENTBUILDER_LAYOUT_NOTE_ADD_LANGUAGE_STRING_LABEL" description="COM_COMPONENTBUILDER_LAYOUT_NOTE_ADD_LANGUAGE_STRING_DESCRIPTION" heading="h4" class="note_add_language_string" />
|
||||
<!-- Libraries Field. Type: Libraries. (custom) -->
|
||||
<field
|
||||
type="libraries"
|
||||
name="libraries"
|
||||
label="COM_COMPONENTBUILDER_LAYOUT_LIBRARIES_LABEL"
|
||||
description="COM_COMPONENTBUILDER_LAYOUT_LIBRARIES_DESCRIPTION"
|
||||
class="list_class"
|
||||
multiple="true"
|
||||
default="0"
|
||||
required="false"
|
||||
button="true"
|
||||
/>
|
||||
<!-- Note_libraries_selection Field. Type: Note. A None Database Field. (joomla) -->
|
||||
<field type="note" name="note_libraries_selection" label="COM_COMPONENTBUILDER_LAYOUT_NOTE_LIBRARIES_SELECTION_LABEL" description="COM_COMPONENTBUILDER_LAYOUT_NOTE_LIBRARIES_SELECTION_DESCRIPTION" heading="h4" class="alert alert-info note_libraries_selection" />
|
||||
</fieldset>
|
||||
|
||||
<!-- Access Control Fields. -->
|
||||
<fieldset name="accesscontrol">
|
||||
|
@ -4,331 +4,320 @@
|
||||
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" />
|
||||
<!-- Date Created Field. Type: Calendar (joomla)-->
|
||||
<field name="created"
|
||||
type="calendar"
|
||||
label="COM_COMPONENTBUILDER_LIBRARY_CREATED_DATE_LABEL"
|
||||
description="COM_COMPONENTBUILDER_LIBRARY_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_LIBRARY_CREATED_BY_LABEL"
|
||||
description="COM_COMPONENTBUILDER_LIBRARY_CREATED_BY_DESC" />
|
||||
<!-- Published Field. Type: List (joomla)-->
|
||||
<field name="published"
|
||||
type="list"
|
||||
label="JSTATUS">
|
||||
<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_LIBRARY_MODIFIED_DATE_LABEL"
|
||||
description="COM_COMPONENTBUILDER_LIBRARY_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_LIBRARY_MODIFIED_BY_LABEL"
|
||||
description="COM_COMPONENTBUILDER_LIBRARY_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_LIBRARY_ORDERING_LABEL"
|
||||
description=""
|
||||
default="0"
|
||||
size="6"
|
||||
required="false" />
|
||||
<!-- Version Field. Type: Text (joomla)-->
|
||||
<field name="version"
|
||||
type="text"
|
||||
class="readonly"
|
||||
label="COM_COMPONENTBUILDER_LIBRARY_VERSION_LABEL"
|
||||
description="COM_COMPONENTBUILDER_LIBRARY_VERSION_DESC"
|
||||
size="6"
|
||||
readonly="true"
|
||||
filter="unset" />
|
||||
<!-- Dynamic Fields.-->
|
||||
<!-- Name Field. Type: Text. (joomla)-->
|
||||
<field type="text"
|
||||
name="name"
|
||||
label="COM_COMPONENTBUILDER_LIBRARY_NAME_LABEL"
|
||||
size="40"
|
||||
maxlength="150"
|
||||
description="COM_COMPONENTBUILDER_LIBRARY_NAME_DESCRIPTION"
|
||||
class="text_area"
|
||||
readonly="false"
|
||||
disabled="false"
|
||||
required="true"
|
||||
filter="STRING"
|
||||
message="COM_COMPONENTBUILDER_LIBRARY_NAME_MESSAGE"
|
||||
hint="COM_COMPONENTBUILDER_LIBRARY_NAME_HINT" />
|
||||
<!-- Description Field. Type: Text. (joomla)-->
|
||||
<field type="text"
|
||||
name="description"
|
||||
label="COM_COMPONENTBUILDER_LIBRARY_DESCRIPTION_LABEL"
|
||||
size="80"
|
||||
maxlength="150"
|
||||
description="COM_COMPONENTBUILDER_LIBRARY_DESCRIPTION_DESCRIPTION"
|
||||
class="text_area"
|
||||
readonly="false"
|
||||
disabled="false"
|
||||
required="false"
|
||||
filter="STRING"
|
||||
message="COM_COMPONENTBUILDER_LIBRARY_DESCRIPTION_MESSAGE"
|
||||
hint="COM_COMPONENTBUILDER_LIBRARY_DESCRIPTION_HINT" />
|
||||
<!-- How Field. Type: Filebehaviour. (custom)-->
|
||||
<field type="filebehaviour"
|
||||
name="how"
|
||||
label="COM_COMPONENTBUILDER_LIBRARY_HOW_LABEL"
|
||||
description="COM_COMPONENTBUILDER_LIBRARY_HOW_DESCRIPTION"
|
||||
class="list_class"
|
||||
multiple="false"
|
||||
default="1"
|
||||
required="true"
|
||||
button="false" />
|
||||
<!-- Type Field. Type: Radio. (joomla)-->
|
||||
<field type="radio"
|
||||
name="type"
|
||||
label="COM_COMPONENTBUILDER_LIBRARY_TYPE_LABEL"
|
||||
description="COM_COMPONENTBUILDER_LIBRARY_TYPE_DESCRIPTION"
|
||||
class="btn-group btn-group-yesno"
|
||||
default="1"
|
||||
required="true">
|
||||
<!-- Option Set.-->
|
||||
<option value="1">COM_COMPONENTBUILDER_LIBRARY_MAIN</option>
|
||||
<option value="2">COM_COMPONENTBUILDER_LIBRARY_BUNDLE</option>
|
||||
</field>
|
||||
<!-- Note_build_in_behaviour_two Field. Type: Note. A None Database Field. (joomla)-->
|
||||
<field type="note"
|
||||
name="note_build_in_behaviour_two"
|
||||
label="COM_COMPONENTBUILDER_LIBRARY_NOTE_BUILD_IN_BEHAVIOUR_TWO_LABEL"
|
||||
description="COM_COMPONENTBUILDER_LIBRARY_NOTE_BUILD_IN_BEHAVIOUR_TWO_DESCRIPTION"
|
||||
heading="h4"
|
||||
class="alert alert-success note_build_in_behaviour_two" />
|
||||
<!-- Note_no_behaviour_two Field. Type: Note. A None Database Field. (joomla)-->
|
||||
<field type="note"
|
||||
name="note_no_behaviour_two"
|
||||
label="COM_COMPONENTBUILDER_LIBRARY_NOTE_NO_BEHAVIOUR_TWO_LABEL"
|
||||
description="COM_COMPONENTBUILDER_LIBRARY_NOTE_NO_BEHAVIOUR_TWO_DESCRIPTION"
|
||||
heading="h4"
|
||||
class="alert alert-error note_no_behaviour_two" />
|
||||
<!-- Note_yes_behaviour_two Field. Type: Note. A None Database Field. (joomla)-->
|
||||
<field type="note"
|
||||
name="note_yes_behaviour_two"
|
||||
label="COM_COMPONENTBUILDER_LIBRARY_NOTE_YES_BEHAVIOUR_TWO_LABEL"
|
||||
description="COM_COMPONENTBUILDER_LIBRARY_NOTE_YES_BEHAVIOUR_TWO_DESCRIPTION"
|
||||
heading="h4"
|
||||
class="alert alert-success note_yes_behaviour_two" />
|
||||
<!-- Note_build_in_behaviour_three Field. Type: Note. A None Database Field. (joomla)-->
|
||||
<field type="note"
|
||||
name="note_build_in_behaviour_three"
|
||||
label="COM_COMPONENTBUILDER_LIBRARY_NOTE_BUILD_IN_BEHAVIOUR_THREE_LABEL"
|
||||
description="COM_COMPONENTBUILDER_LIBRARY_NOTE_BUILD_IN_BEHAVIOUR_THREE_DESCRIPTION"
|
||||
heading="h4"
|
||||
class="alert alert-success note_build_in_behaviour_three" />
|
||||
<!-- Note_display_library_files_folders_urls Field. Type: Note. A None Database Field. (joomla)-->
|
||||
<field type="note"
|
||||
name="note_display_library_files_folders_urls"
|
||||
description="COM_COMPONENTBUILDER_LIBRARY_NOTE_DISPLAY_LIBRARY_FILES_FOLDERS_URLS_DESCRIPTION"
|
||||
class="note_display_library_files_folders_urls" />
|
||||
<!-- Not_required Field. Type: Hidden. (joomla)-->
|
||||
<field type="hidden"
|
||||
name="not_required"
|
||||
default="[]" />
|
||||
<!-- Note_no_behaviour_three Field. Type: Note. A None Database Field. (joomla)-->
|
||||
<field type="note"
|
||||
name="note_no_behaviour_three"
|
||||
label="COM_COMPONENTBUILDER_LIBRARY_NOTE_NO_BEHAVIOUR_THREE_LABEL"
|
||||
description="COM_COMPONENTBUILDER_LIBRARY_NOTE_NO_BEHAVIOUR_THREE_DESCRIPTION"
|
||||
heading="h4"
|
||||
class="alert alert-error note_no_behaviour_three" />
|
||||
<!-- Note_display_library_config Field. Type: Note. A None Database Field. (joomla)-->
|
||||
<field type="note"
|
||||
name="note_display_library_config"
|
||||
description="COM_COMPONENTBUILDER_LIBRARY_NOTE_DISPLAY_LIBRARY_CONFIG_DESCRIPTION"
|
||||
class="note_display_library_config" />
|
||||
<!-- Libraries Field. Type: Librariesx. (custom)-->
|
||||
<field type="librariesx"
|
||||
name="libraries"
|
||||
label="COM_COMPONENTBUILDER_LIBRARY_LIBRARIES_LABEL"
|
||||
description="COM_COMPONENTBUILDER_LIBRARY_LIBRARIES_DESCRIPTION"
|
||||
class="list_class"
|
||||
multiple="true"
|
||||
default="0"
|
||||
required="false"
|
||||
button="true" />
|
||||
<!-- Note_no_behaviour_one Field. Type: Note. A None Database Field. (joomla)-->
|
||||
<field type="note"
|
||||
name="note_no_behaviour_one"
|
||||
label="COM_COMPONENTBUILDER_LIBRARY_NOTE_NO_BEHAVIOUR_ONE_LABEL"
|
||||
description="COM_COMPONENTBUILDER_LIBRARY_NOTE_NO_BEHAVIOUR_ONE_DESCRIPTION"
|
||||
heading="h4"
|
||||
class="alert alert-error note_no_behaviour_one" />
|
||||
<!-- Php_setdocument Field. Type: Textarea. (joomla)-->
|
||||
<field type="textarea"
|
||||
name="php_setdocument"
|
||||
label="COM_COMPONENTBUILDER_LIBRARY_PHP_SETDOCUMENT_LABEL"
|
||||
rows="30"
|
||||
cols="15"
|
||||
description="COM_COMPONENTBUILDER_LIBRARY_PHP_SETDOCUMENT_DESCRIPTION"
|
||||
class="text_area span12"
|
||||
filter="raw"
|
||||
hint="COM_COMPONENTBUILDER_LIBRARY_PHP_SETDOCUMENT_HINT"
|
||||
required="true" />
|
||||
<!-- Addconditions Field. Type: Subform. (joomla)-->
|
||||
<field type="subform"
|
||||
name="addconditions"
|
||||
label="COM_COMPONENTBUILDER_LIBRARY_ADDCONDITIONS_LABEL"
|
||||
layout="joomla.form.field.subform.repeatable-table"
|
||||
multiple="true"
|
||||
description="COM_COMPONENTBUILDER_LIBRARY_ADDCONDITIONS_DESCRIPTION"
|
||||
icon="list"
|
||||
maximum="500">
|
||||
<form hidden="true"
|
||||
name="list_addconditions_modal"
|
||||
repeat="true">
|
||||
<!-- File Field. Type: Libraryfiles. (custom)-->
|
||||
<field type="libraryfiles"
|
||||
name="file"
|
||||
label="COM_COMPONENTBUILDER_LIBRARY_FILE_LABEL"
|
||||
description="COM_COMPONENTBUILDER_LIBRARY_FILE_DESCRIPTION"
|
||||
class="list_class"
|
||||
multiple="true"
|
||||
default="0"
|
||||
required="false"
|
||||
button="false" />
|
||||
<!-- Target_behavior Field. Type: List. (joomla)-->
|
||||
<field type="list"
|
||||
name="target_behavior"
|
||||
label="COM_COMPONENTBUILDER_LIBRARY_TARGET_BEHAVIOR_LABEL"
|
||||
description="COM_COMPONENTBUILDER_LIBRARY_TARGET_BEHAVIOR_DESCRIPTION"
|
||||
class="list_class"
|
||||
multiple="false"
|
||||
filter="INT"
|
||||
required="false"
|
||||
default="1">
|
||||
<!-- Option Set.-->
|
||||
<option value="1">COM_COMPONENTBUILDER_LIBRARY_INCLUDE</option>
|
||||
<option value="2">COM_COMPONENTBUILDER_LIBRARY_EXCLUDE</option>
|
||||
</field>
|
||||
<!-- Target_relation Field. Type: List. (joomla)-->
|
||||
<field type="list"
|
||||
name="target_relation"
|
||||
label="COM_COMPONENTBUILDER_LIBRARY_TARGET_RELATION_LABEL"
|
||||
description="COM_COMPONENTBUILDER_LIBRARY_TARGET_RELATION_DESCRIPTION"
|
||||
class="list_class"
|
||||
multiple="false"
|
||||
filter="INT"
|
||||
required="false"
|
||||
default="0">
|
||||
<!-- Option Set.-->
|
||||
<option value="0">COM_COMPONENTBUILDER_LIBRARY_ISOLATE</option>
|
||||
<option value="1">COM_COMPONENTBUILDER_LIBRARY_CHAIN</option>
|
||||
</field>
|
||||
<!-- Option_field Field. Type: Libconfigfield. (custom)-->
|
||||
<field type="libconfigfield"
|
||||
name="option_field"
|
||||
label="COM_COMPONENTBUILDER_LIBRARY_OPTION_FIELD_LABEL"
|
||||
description="COM_COMPONENTBUILDER_LIBRARY_OPTION_FIELD_DESCRIPTION"
|
||||
multiple="false"
|
||||
required="false"
|
||||
button="false" />
|
||||
<!-- Option_behaviour Field. Type: List. (joomla)-->
|
||||
<field type="list"
|
||||
name="option_behaviour"
|
||||
label="COM_COMPONENTBUILDER_LIBRARY_OPTION_BEHAVIOUR_LABEL"
|
||||
description="COM_COMPONENTBUILDER_LIBRARY_OPTION_BEHAVIOUR_DESCRIPTION"
|
||||
class="list_class"
|
||||
multiple="false"
|
||||
filter="INT"
|
||||
required="false"
|
||||
default="1">
|
||||
<!-- Option Set.-->
|
||||
<option value="1">COM_COMPONENTBUILDER_LIBRARY_IS_ONLY_FOUR_LISTRADIOCHECKBOXES</option>
|
||||
<option value="2">COM_COMPONENTBUILDER_LIBRARY_IS_NOT_ONLY_FOUR_LISTRADIOCHECKBOXES</option>
|
||||
<option value="3">COM_COMPONENTBUILDER_LIBRARY_ANY_SELECTION_ONLY_FOUR_LISTRADIOCHECKBOXESDYNAMIC_LIST</option>
|
||||
<option value="4">COM_COMPONENTBUILDER_LIBRARY_ACTIVE_ONLY_FOUR_TEXT_FIELD</option>
|
||||
<option value="5">COM_COMPONENTBUILDER_LIBRARY_UNACTIVE_ONLY_FOUR_TEXT_FIELD</option>
|
||||
<option value="6">COM_COMPONENTBUILDER_LIBRARY_KEY_WORD_ALL_CASESENSITIVE_ONLY_FOUR_TEXT_FIELD</option>
|
||||
<option value="7">COM_COMPONENTBUILDER_LIBRARY_KEY_WORD_ANY_CASESENSITIVE_ONLY_FOUR_TEXT_FIELD</option>
|
||||
<option value="8">COM_COMPONENTBUILDER_LIBRARY_KEY_WORD_ALL_CASEINSENSITIVE_ONLY_FOUR_TEXT_FIELD</option>
|
||||
<option value="9">COM_COMPONENTBUILDER_LIBRARY_KEY_WORD_ANY_CASEINSENSITIVE_ONLY_FOUR_TEXT_FIELD</option>
|
||||
<option value="10">COM_COMPONENTBUILDER_LIBRARY_MIN_LENGTH_ONLY_FOUR_TEXT_FIELD</option>
|
||||
<option value="11">COM_COMPONENTBUILDER_LIBRARY_MAX_LENGTH_ONLY_FOUR_TEXT_FIELD</option>
|
||||
<option value="12">COM_COMPONENTBUILDER_LIBRARY_EXACT_LENGTH_ONLY_FOUR_TEXT_FIELD</option>
|
||||
</field>
|
||||
<!-- Field_options Field. Type: Textarea. (joomla)-->
|
||||
<field type="textarea"
|
||||
name="field_options"
|
||||
label="COM_COMPONENTBUILDER_LIBRARY_FIELD_OPTIONS_LABEL"
|
||||
rows="10"
|
||||
cols="5"
|
||||
class="text_area"
|
||||
filter="STRING"
|
||||
hint="COM_COMPONENTBUILDER_LIBRARY_FIELD_OPTIONS_HINT"
|
||||
required="false" />
|
||||
</form>
|
||||
</field>
|
||||
<!-- Note_build_in_behaviour_one Field. Type: Note. A None Database Field. (joomla)-->
|
||||
<field type="note"
|
||||
name="note_build_in_behaviour_one"
|
||||
label="COM_COMPONENTBUILDER_LIBRARY_NOTE_BUILD_IN_BEHAVIOUR_ONE_LABEL"
|
||||
description="COM_COMPONENTBUILDER_LIBRARY_NOTE_BUILD_IN_BEHAVIOUR_ONE_DESCRIPTION"
|
||||
heading="h4"
|
||||
class="alert alert-success note_build_in_behaviour_one" />
|
||||
<!-- Note_yes_behaviour_one Field. Type: Note. A None Database Field. (joomla)-->
|
||||
<field type="note"
|
||||
name="note_yes_behaviour_one"
|
||||
label="COM_COMPONENTBUILDER_LIBRARY_NOTE_YES_BEHAVIOUR_ONE_LABEL"
|
||||
description="COM_COMPONENTBUILDER_LIBRARY_NOTE_YES_BEHAVIOUR_ONE_DESCRIPTION"
|
||||
heading="h4"
|
||||
class="alert alert-success note_yes_behaviour_one" />
|
||||
<!-- Note_linked_to_notice Field. Type: Note. A None Database Field. (joomla)-->
|
||||
<field type="note"
|
||||
name="note_linked_to_notice"
|
||||
label="COM_COMPONENTBUILDER_LIBRARY_NOTE_LINKED_TO_NOTICE_LABEL"
|
||||
description="COM_COMPONENTBUILDER_LIBRARY_NOTE_LINKED_TO_NOTICE_DESCRIPTION"
|
||||
heading="h4"
|
||||
class="note_linked_to_notice" />
|
||||
<!-- Note_library_instruction Field. Type: Note. A None Database Field. (joomla)-->
|
||||
<field type="note"
|
||||
name="note_library_instruction"
|
||||
label="COM_COMPONENTBUILDER_LIBRARY_NOTE_LIBRARY_INSTRUCTION_LABEL"
|
||||
description="COM_COMPONENTBUILDER_LIBRARY_NOTE_LIBRARY_INSTRUCTION_DESCRIPTION"
|
||||
heading="h4"
|
||||
class="alert alert-info note_library_instruction" />
|
||||
</fieldset>
|
||||
<!-- 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_LIBRARY_CREATED_DATE_LABEL"
|
||||
description="COM_COMPONENTBUILDER_LIBRARY_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_LIBRARY_CREATED_BY_LABEL"
|
||||
description="COM_COMPONENTBUILDER_LIBRARY_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_LIBRARY_MODIFIED_DATE_LABEL" description="COM_COMPONENTBUILDER_LIBRARY_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_LIBRARY_MODIFIED_BY_LABEL"
|
||||
description="COM_COMPONENTBUILDER_LIBRARY_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_LIBRARY_ORDERING_LABEL"
|
||||
description=""
|
||||
default="0"
|
||||
size="6"
|
||||
required="false"
|
||||
/>
|
||||
<!-- Version Field. Type: Text (joomla) -->
|
||||
<field
|
||||
name="version"
|
||||
type="text"
|
||||
class="readonly"
|
||||
label="COM_COMPONENTBUILDER_LIBRARY_VERSION_LABEL"
|
||||
description="COM_COMPONENTBUILDER_LIBRARY_VERSION_DESC"
|
||||
size="6"
|
||||
readonly="true"
|
||||
filter="unset"
|
||||
/>
|
||||
<!-- Dynamic Fields. -->
|
||||
<!-- Name Field. Type: Text. (joomla) -->
|
||||
<field
|
||||
type="text"
|
||||
name="name"
|
||||
label="COM_COMPONENTBUILDER_LIBRARY_NAME_LABEL"
|
||||
size="40"
|
||||
maxlength="150"
|
||||
description="COM_COMPONENTBUILDER_LIBRARY_NAME_DESCRIPTION"
|
||||
class="text_area"
|
||||
readonly="false"
|
||||
disabled="false"
|
||||
required="true"
|
||||
filter="STRING"
|
||||
message="COM_COMPONENTBUILDER_LIBRARY_NAME_MESSAGE"
|
||||
hint="COM_COMPONENTBUILDER_LIBRARY_NAME_HINT"
|
||||
/>
|
||||
<!-- Description Field. Type: Text. (joomla) -->
|
||||
<field
|
||||
type="text"
|
||||
name="description"
|
||||
label="COM_COMPONENTBUILDER_LIBRARY_DESCRIPTION_LABEL"
|
||||
size="80"
|
||||
maxlength="150"
|
||||
description="COM_COMPONENTBUILDER_LIBRARY_DESCRIPTION_DESCRIPTION"
|
||||
class="text_area"
|
||||
readonly="false"
|
||||
disabled="false"
|
||||
required="false"
|
||||
filter="STRING"
|
||||
message="COM_COMPONENTBUILDER_LIBRARY_DESCRIPTION_MESSAGE"
|
||||
hint="COM_COMPONENTBUILDER_LIBRARY_DESCRIPTION_HINT"
|
||||
/>
|
||||
<!-- How Field. Type: Filebehaviour. (custom) -->
|
||||
<field
|
||||
type="filebehaviour"
|
||||
name="how"
|
||||
label="COM_COMPONENTBUILDER_LIBRARY_HOW_LABEL"
|
||||
description="COM_COMPONENTBUILDER_LIBRARY_HOW_DESCRIPTION"
|
||||
class="list_class"
|
||||
multiple="false"
|
||||
default="1"
|
||||
required="true"
|
||||
button="false"
|
||||
/>
|
||||
<!-- Type Field. Type: Radio. (joomla) -->
|
||||
<field
|
||||
type="radio"
|
||||
name="type"
|
||||
label="COM_COMPONENTBUILDER_LIBRARY_TYPE_LABEL"
|
||||
description="COM_COMPONENTBUILDER_LIBRARY_TYPE_DESCRIPTION"
|
||||
class="btn-group btn-group-yesno"
|
||||
default="1"
|
||||
required="true">
|
||||
<!-- Option Set. -->
|
||||
<option value="1">
|
||||
COM_COMPONENTBUILDER_LIBRARY_MAIN</option>
|
||||
<option value="2">
|
||||
COM_COMPONENTBUILDER_LIBRARY_BUNDLE</option>
|
||||
</field>
|
||||
<!-- Note_build_in_behaviour_two Field. Type: Note. A None Database Field. (joomla) -->
|
||||
<field type="note" name="note_build_in_behaviour_two" label="COM_COMPONENTBUILDER_LIBRARY_NOTE_BUILD_IN_BEHAVIOUR_TWO_LABEL" description="COM_COMPONENTBUILDER_LIBRARY_NOTE_BUILD_IN_BEHAVIOUR_TWO_DESCRIPTION" heading="h4" class="alert alert-success note_build_in_behaviour_two" />
|
||||
<!-- Note_no_behaviour_two Field. Type: Note. A None Database Field. (joomla) -->
|
||||
<field type="note" name="note_no_behaviour_two" label="COM_COMPONENTBUILDER_LIBRARY_NOTE_NO_BEHAVIOUR_TWO_LABEL" description="COM_COMPONENTBUILDER_LIBRARY_NOTE_NO_BEHAVIOUR_TWO_DESCRIPTION" heading="h4" class="alert alert-error note_no_behaviour_two" />
|
||||
<!-- Note_yes_behaviour_two Field. Type: Note. A None Database Field. (joomla) -->
|
||||
<field type="note" name="note_yes_behaviour_two" label="COM_COMPONENTBUILDER_LIBRARY_NOTE_YES_BEHAVIOUR_TWO_LABEL" description="COM_COMPONENTBUILDER_LIBRARY_NOTE_YES_BEHAVIOUR_TWO_DESCRIPTION" heading="h4" class="alert alert-success note_yes_behaviour_two" />
|
||||
<!-- Note_build_in_behaviour_three Field. Type: Note. A None Database Field. (joomla) -->
|
||||
<field type="note" name="note_build_in_behaviour_three" label="COM_COMPONENTBUILDER_LIBRARY_NOTE_BUILD_IN_BEHAVIOUR_THREE_LABEL" description="COM_COMPONENTBUILDER_LIBRARY_NOTE_BUILD_IN_BEHAVIOUR_THREE_DESCRIPTION" heading="h4" class="alert alert-success note_build_in_behaviour_three" />
|
||||
<!-- Note_display_library_files_folders_urls Field. Type: Note. A None Database Field. (joomla) -->
|
||||
<field type="note" name="note_display_library_files_folders_urls" description="COM_COMPONENTBUILDER_LIBRARY_NOTE_DISPLAY_LIBRARY_FILES_FOLDERS_URLS_DESCRIPTION" class="note_display_library_files_folders_urls" />
|
||||
<!-- Not_required Field. Type: Hidden. (joomla) -->
|
||||
<field
|
||||
type="hidden"
|
||||
name="not_required"
|
||||
default="[]"
|
||||
/>
|
||||
<!-- Note_no_behaviour_three Field. Type: Note. A None Database Field. (joomla) -->
|
||||
<field type="note" name="note_no_behaviour_three" label="COM_COMPONENTBUILDER_LIBRARY_NOTE_NO_BEHAVIOUR_THREE_LABEL" description="COM_COMPONENTBUILDER_LIBRARY_NOTE_NO_BEHAVIOUR_THREE_DESCRIPTION" heading="h4" class="alert alert-error note_no_behaviour_three" />
|
||||
<!-- Note_display_library_config Field. Type: Note. A None Database Field. (joomla) -->
|
||||
<field type="note" name="note_display_library_config" description="COM_COMPONENTBUILDER_LIBRARY_NOTE_DISPLAY_LIBRARY_CONFIG_DESCRIPTION" class="note_display_library_config" />
|
||||
<!-- Libraries Field. Type: Librariesx. (custom) -->
|
||||
<field
|
||||
type="librariesx"
|
||||
name="libraries"
|
||||
label="COM_COMPONENTBUILDER_LIBRARY_LIBRARIES_LABEL"
|
||||
description="COM_COMPONENTBUILDER_LIBRARY_LIBRARIES_DESCRIPTION"
|
||||
class="list_class"
|
||||
multiple="true"
|
||||
default="0"
|
||||
required="false"
|
||||
button="true"
|
||||
/>
|
||||
<!-- Note_no_behaviour_one Field. Type: Note. A None Database Field. (joomla) -->
|
||||
<field type="note" name="note_no_behaviour_one" label="COM_COMPONENTBUILDER_LIBRARY_NOTE_NO_BEHAVIOUR_ONE_LABEL" description="COM_COMPONENTBUILDER_LIBRARY_NOTE_NO_BEHAVIOUR_ONE_DESCRIPTION" heading="h4" class="alert alert-error note_no_behaviour_one" />
|
||||
<!-- Php_setdocument Field. Type: Textarea. (joomla) -->
|
||||
<field
|
||||
type="textarea"
|
||||
name="php_setdocument"
|
||||
label="COM_COMPONENTBUILDER_LIBRARY_PHP_SETDOCUMENT_LABEL"
|
||||
rows="30"
|
||||
cols="15"
|
||||
description="COM_COMPONENTBUILDER_LIBRARY_PHP_SETDOCUMENT_DESCRIPTION"
|
||||
class="text_area span12"
|
||||
filter="raw"
|
||||
hint="COM_COMPONENTBUILDER_LIBRARY_PHP_SETDOCUMENT_HINT"
|
||||
required="true"
|
||||
/>
|
||||
<!-- Addconditions Field. Type: Subform. (joomla) -->
|
||||
<field
|
||||
type="subform"
|
||||
name="addconditions"
|
||||
label="COM_COMPONENTBUILDER_LIBRARY_ADDCONDITIONS_LABEL"
|
||||
layout="joomla.form.field.subform.repeatable-table"
|
||||
multiple="true"
|
||||
description="COM_COMPONENTBUILDER_LIBRARY_ADDCONDITIONS_DESCRIPTION"
|
||||
icon="list"
|
||||
maximum="500">
|
||||
<form hidden="true" name="list_addconditions_modal" repeat="true">
|
||||
<!-- File Field. Type: Libraryfiles. (custom) -->
|
||||
<field
|
||||
type="libraryfiles"
|
||||
name="file"
|
||||
label="COM_COMPONENTBUILDER_LIBRARY_FILE_LABEL"
|
||||
description="COM_COMPONENTBUILDER_LIBRARY_FILE_DESCRIPTION"
|
||||
class="list_class"
|
||||
multiple="true"
|
||||
default="0"
|
||||
required="false"
|
||||
button="false"
|
||||
/>
|
||||
<!-- Target_behavior Field. Type: List. (joomla) -->
|
||||
<field
|
||||
type="list"
|
||||
name="target_behavior"
|
||||
label="COM_COMPONENTBUILDER_LIBRARY_TARGET_BEHAVIOR_LABEL"
|
||||
description="COM_COMPONENTBUILDER_LIBRARY_TARGET_BEHAVIOR_DESCRIPTION"
|
||||
class="list_class"
|
||||
multiple="false"
|
||||
filter="INT"
|
||||
required="false"
|
||||
default="1">
|
||||
<!-- Option Set. -->
|
||||
<option value="1">
|
||||
COM_COMPONENTBUILDER_LIBRARY_INCLUDE</option>
|
||||
<option value="2">
|
||||
COM_COMPONENTBUILDER_LIBRARY_EXCLUDE</option>
|
||||
</field>
|
||||
<!-- Target_relation Field. Type: List. (joomla) -->
|
||||
<field
|
||||
type="list"
|
||||
name="target_relation"
|
||||
label="COM_COMPONENTBUILDER_LIBRARY_TARGET_RELATION_LABEL"
|
||||
description="COM_COMPONENTBUILDER_LIBRARY_TARGET_RELATION_DESCRIPTION"
|
||||
class="list_class"
|
||||
multiple="false"
|
||||
filter="INT"
|
||||
required="false"
|
||||
default="0">
|
||||
<!-- Option Set. -->
|
||||
<option value="0">
|
||||
COM_COMPONENTBUILDER_LIBRARY_ISOLATE</option>
|
||||
<option value="1">
|
||||
COM_COMPONENTBUILDER_LIBRARY_CHAIN</option>
|
||||
</field>
|
||||
<!-- Option_field Field. Type: Libconfigfield. (custom) -->
|
||||
<field
|
||||
type="libconfigfield"
|
||||
name="option_field"
|
||||
label="COM_COMPONENTBUILDER_LIBRARY_OPTION_FIELD_LABEL"
|
||||
description="COM_COMPONENTBUILDER_LIBRARY_OPTION_FIELD_DESCRIPTION"
|
||||
multiple="false"
|
||||
required="false"
|
||||
button="false"
|
||||
/>
|
||||
<!-- Option_behaviour Field. Type: List. (joomla) -->
|
||||
<field
|
||||
type="list"
|
||||
name="option_behaviour"
|
||||
label="COM_COMPONENTBUILDER_LIBRARY_OPTION_BEHAVIOUR_LABEL"
|
||||
description="COM_COMPONENTBUILDER_LIBRARY_OPTION_BEHAVIOUR_DESCRIPTION"
|
||||
class="list_class"
|
||||
multiple="false"
|
||||
filter="INT"
|
||||
required="false"
|
||||
default="1">
|
||||
<!-- Option Set. -->
|
||||
<option value="1">
|
||||
COM_COMPONENTBUILDER_LIBRARY_IS_ONLY_FOUR_LISTRADIOCHECKBOXES</option>
|
||||
<option value="2">
|
||||
COM_COMPONENTBUILDER_LIBRARY_IS_NOT_ONLY_FOUR_LISTRADIOCHECKBOXES</option>
|
||||
<option value="3">
|
||||
COM_COMPONENTBUILDER_LIBRARY_ANY_SELECTION_ONLY_FOUR_LISTRADIOCHECKBOXESDYNAMIC_LIST</option>
|
||||
<option value="4">
|
||||
COM_COMPONENTBUILDER_LIBRARY_ACTIVE_ONLY_FOUR_TEXT_FIELD</option>
|
||||
<option value="5">
|
||||
COM_COMPONENTBUILDER_LIBRARY_UNACTIVE_ONLY_FOUR_TEXT_FIELD</option>
|
||||
<option value="6">
|
||||
COM_COMPONENTBUILDER_LIBRARY_KEY_WORD_ALL_CASESENSITIVE_ONLY_FOUR_TEXT_FIELD</option>
|
||||
<option value="7">
|
||||
COM_COMPONENTBUILDER_LIBRARY_KEY_WORD_ANY_CASESENSITIVE_ONLY_FOUR_TEXT_FIELD</option>
|
||||
<option value="8">
|
||||
COM_COMPONENTBUILDER_LIBRARY_KEY_WORD_ALL_CASEINSENSITIVE_ONLY_FOUR_TEXT_FIELD</option>
|
||||
<option value="9">
|
||||
COM_COMPONENTBUILDER_LIBRARY_KEY_WORD_ANY_CASEINSENSITIVE_ONLY_FOUR_TEXT_FIELD</option>
|
||||
<option value="10">
|
||||
COM_COMPONENTBUILDER_LIBRARY_MIN_LENGTH_ONLY_FOUR_TEXT_FIELD</option>
|
||||
<option value="11">
|
||||
COM_COMPONENTBUILDER_LIBRARY_MAX_LENGTH_ONLY_FOUR_TEXT_FIELD</option>
|
||||
<option value="12">
|
||||
COM_COMPONENTBUILDER_LIBRARY_EXACT_LENGTH_ONLY_FOUR_TEXT_FIELD</option>
|
||||
</field>
|
||||
<!-- Field_options Field. Type: Textarea. (joomla) -->
|
||||
<field
|
||||
type="textarea"
|
||||
name="field_options"
|
||||
label="COM_COMPONENTBUILDER_LIBRARY_FIELD_OPTIONS_LABEL"
|
||||
rows="10"
|
||||
cols="5"
|
||||
class="text_area"
|
||||
filter="STRING"
|
||||
hint="COM_COMPONENTBUILDER_LIBRARY_FIELD_OPTIONS_HINT"
|
||||
required="false"
|
||||
/>
|
||||
</form>
|
||||
</field>
|
||||
<!-- Note_build_in_behaviour_one Field. Type: Note. A None Database Field. (joomla) -->
|
||||
<field type="note" name="note_build_in_behaviour_one" label="COM_COMPONENTBUILDER_LIBRARY_NOTE_BUILD_IN_BEHAVIOUR_ONE_LABEL" description="COM_COMPONENTBUILDER_LIBRARY_NOTE_BUILD_IN_BEHAVIOUR_ONE_DESCRIPTION" heading="h4" class="alert alert-success note_build_in_behaviour_one" />
|
||||
<!-- Note_yes_behaviour_one Field. Type: Note. A None Database Field. (joomla) -->
|
||||
<field type="note" name="note_yes_behaviour_one" label="COM_COMPONENTBUILDER_LIBRARY_NOTE_YES_BEHAVIOUR_ONE_LABEL" description="COM_COMPONENTBUILDER_LIBRARY_NOTE_YES_BEHAVIOUR_ONE_DESCRIPTION" heading="h4" class="alert alert-success note_yes_behaviour_one" />
|
||||
<!-- Note_linked_to_notice Field. Type: Note. A None Database Field. (joomla) -->
|
||||
<field type="note" name="note_linked_to_notice" label="COM_COMPONENTBUILDER_LIBRARY_NOTE_LINKED_TO_NOTICE_LABEL" description="COM_COMPONENTBUILDER_LIBRARY_NOTE_LINKED_TO_NOTICE_DESCRIPTION" heading="h4" class="note_linked_to_notice" />
|
||||
<!-- Note_library_instruction Field. Type: Note. A None Database Field. (joomla) -->
|
||||
<field type="note" name="note_library_instruction" label="COM_COMPONENTBUILDER_LIBRARY_NOTE_LIBRARY_INSTRUCTION_LABEL" description="COM_COMPONENTBUILDER_LIBRARY_NOTE_LIBRARY_INSTRUCTION_DESCRIPTION" heading="h4" class="alert alert-info note_library_instruction" />
|
||||
</fieldset>
|
||||
|
||||
<!-- Access Control Fields. -->
|
||||
<fieldset name="accesscontrol">
|
||||
|
@ -4,142 +4,155 @@
|
||||
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" />
|
||||
<!-- Date Created Field. Type: Calendar (joomla)-->
|
||||
<field name="created"
|
||||
type="calendar"
|
||||
label="COM_COMPONENTBUILDER_LIBRARY_CONFIG_CREATED_DATE_LABEL"
|
||||
description="COM_COMPONENTBUILDER_LIBRARY_CONFIG_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_LIBRARY_CONFIG_CREATED_BY_LABEL"
|
||||
description="COM_COMPONENTBUILDER_LIBRARY_CONFIG_CREATED_BY_DESC" />
|
||||
<!-- Published Field. Type: List (joomla)-->
|
||||
<field name="published"
|
||||
type="list"
|
||||
label="JSTATUS">
|
||||
<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_LIBRARY_CONFIG_MODIFIED_DATE_LABEL"
|
||||
description="COM_COMPONENTBUILDER_LIBRARY_CONFIG_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_LIBRARY_CONFIG_MODIFIED_BY_LABEL"
|
||||
description="COM_COMPONENTBUILDER_LIBRARY_CONFIG_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_LIBRARY_CONFIG_ORDERING_LABEL"
|
||||
description=""
|
||||
default="0"
|
||||
size="6"
|
||||
required="false" />
|
||||
<!-- Version Field. Type: Text (joomla)-->
|
||||
<field name="version"
|
||||
type="text"
|
||||
class="readonly"
|
||||
label="COM_COMPONENTBUILDER_LIBRARY_CONFIG_VERSION_LABEL"
|
||||
description="COM_COMPONENTBUILDER_LIBRARY_CONFIG_VERSION_DESC"
|
||||
size="6"
|
||||
readonly="true"
|
||||
filter="unset" />
|
||||
<!-- Dynamic Fields.-->
|
||||
<!-- Library Field. Type: Libraryreadonly. (custom)-->
|
||||
<field type="libraryreadonly"
|
||||
name="library"
|
||||
label="COM_COMPONENTBUILDER_LIBRARY_CONFIG_LIBRARY_LABEL"
|
||||
description="COM_COMPONENTBUILDER_LIBRARY_CONFIG_LIBRARY_DESCRIPTION"
|
||||
class="list_class"
|
||||
multiple="false"
|
||||
default="0"
|
||||
required="true"
|
||||
readonly="true" />
|
||||
<!-- Addconfig Field. Type: Subform. (joomla)-->
|
||||
<field type="subform"
|
||||
name="addconfig"
|
||||
label="COM_COMPONENTBUILDER_LIBRARY_CONFIG_ADDCONFIG_LABEL"
|
||||
layout="joomla.form.field.subform.repeatable-table"
|
||||
multiple="true"
|
||||
description="COM_COMPONENTBUILDER_LIBRARY_CONFIG_ADDCONFIG_DESCRIPTION"
|
||||
icon="list"
|
||||
maximum="500">
|
||||
<form hidden="true"
|
||||
name="list_addconfig_modal"
|
||||
repeat="true">
|
||||
<!-- Field Field. Type: Fields. (custom)-->
|
||||
<field type="fields"
|
||||
name="field"
|
||||
label="COM_COMPONENTBUILDER_LIBRARY_CONFIG_FIELD_LABEL"
|
||||
description="COM_COMPONENTBUILDER_LIBRARY_CONFIG_FIELD_DESCRIPTION"
|
||||
class="list_class"
|
||||
multiple="false"
|
||||
required="false"
|
||||
button="false" />
|
||||
<!-- Custom_value Field. Type: Textarea. (joomla)-->
|
||||
<field type="textarea"
|
||||
name="custom_value"
|
||||
label="COM_COMPONENTBUILDER_LIBRARY_CONFIG_CUSTOM_VALUE_LABEL"
|
||||
rows="2"
|
||||
cols="4"
|
||||
description="COM_COMPONENTBUILDER_LIBRARY_CONFIG_CUSTOM_VALUE_DESCRIPTION"
|
||||
class="text_area"
|
||||
hint="COM_COMPONENTBUILDER_LIBRARY_CONFIG_CUSTOM_VALUE_HINT"
|
||||
required="false"
|
||||
readonly="false"
|
||||
disabled="false" />
|
||||
<!-- Tabname Field. Type: Text. (joomla)-->
|
||||
<field type="text"
|
||||
name="tabname"
|
||||
label="COM_COMPONENTBUILDER_LIBRARY_CONFIG_TABNAME_LABEL"
|
||||
size="40"
|
||||
maxlength="150"
|
||||
default="Global"
|
||||
description="COM_COMPONENTBUILDER_LIBRARY_CONFIG_TABNAME_DESCRIPTION"
|
||||
class="text_area"
|
||||
readonly="false"
|
||||
disabled="false"
|
||||
required="false"
|
||||
filter="STRING"
|
||||
message="COM_COMPONENTBUILDER_LIBRARY_CONFIG_TABNAME_MESSAGE"
|
||||
hint="COM_COMPONENTBUILDER_LIBRARY_CONFIG_TABNAME_HINT" />
|
||||
</form>
|
||||
</field>
|
||||
</fieldset>
|
||||
<!-- 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_LIBRARY_CONFIG_CREATED_DATE_LABEL"
|
||||
description="COM_COMPONENTBUILDER_LIBRARY_CONFIG_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_LIBRARY_CONFIG_CREATED_BY_LABEL"
|
||||
description="COM_COMPONENTBUILDER_LIBRARY_CONFIG_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_LIBRARY_CONFIG_MODIFIED_DATE_LABEL" description="COM_COMPONENTBUILDER_LIBRARY_CONFIG_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_LIBRARY_CONFIG_MODIFIED_BY_LABEL"
|
||||
description="COM_COMPONENTBUILDER_LIBRARY_CONFIG_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_LIBRARY_CONFIG_ORDERING_LABEL"
|
||||
description=""
|
||||
default="0"
|
||||
size="6"
|
||||
required="false"
|
||||
/>
|
||||
<!-- Version Field. Type: Text (joomla) -->
|
||||
<field
|
||||
name="version"
|
||||
type="text"
|
||||
class="readonly"
|
||||
label="COM_COMPONENTBUILDER_LIBRARY_CONFIG_VERSION_LABEL"
|
||||
description="COM_COMPONENTBUILDER_LIBRARY_CONFIG_VERSION_DESC"
|
||||
size="6"
|
||||
readonly="true"
|
||||
filter="unset"
|
||||
/>
|
||||
<!-- Dynamic Fields. -->
|
||||
<!-- Library Field. Type: Libraryreadonly. (custom) -->
|
||||
<field
|
||||
type="libraryreadonly"
|
||||
name="library"
|
||||
label="COM_COMPONENTBUILDER_LIBRARY_CONFIG_LIBRARY_LABEL"
|
||||
description="COM_COMPONENTBUILDER_LIBRARY_CONFIG_LIBRARY_DESCRIPTION"
|
||||
class="list_class"
|
||||
multiple="false"
|
||||
default="0"
|
||||
required="true"
|
||||
readonly="true"
|
||||
/>
|
||||
<!-- Addconfig Field. Type: Subform. (joomla) -->
|
||||
<field
|
||||
type="subform"
|
||||
name="addconfig"
|
||||
label="COM_COMPONENTBUILDER_LIBRARY_CONFIG_ADDCONFIG_LABEL"
|
||||
layout="joomla.form.field.subform.repeatable-table"
|
||||
multiple="true"
|
||||
description="COM_COMPONENTBUILDER_LIBRARY_CONFIG_ADDCONFIG_DESCRIPTION"
|
||||
icon="list"
|
||||
maximum="500">
|
||||
<form hidden="true" name="list_addconfig_modal" repeat="true">
|
||||
<!-- Field Field. Type: Fields. (custom) -->
|
||||
<field
|
||||
type="fields"
|
||||
name="field"
|
||||
label="COM_COMPONENTBUILDER_LIBRARY_CONFIG_FIELD_LABEL"
|
||||
description="COM_COMPONENTBUILDER_LIBRARY_CONFIG_FIELD_DESCRIPTION"
|
||||
class="list_class"
|
||||
multiple="false"
|
||||
required="false"
|
||||
button="false"
|
||||
/>
|
||||
<!-- Custom_value Field. Type: Textarea. (joomla) -->
|
||||
<field
|
||||
type="textarea"
|
||||
name="custom_value"
|
||||
label="COM_COMPONENTBUILDER_LIBRARY_CONFIG_CUSTOM_VALUE_LABEL"
|
||||
rows="2"
|
||||
cols="4"
|
||||
description="COM_COMPONENTBUILDER_LIBRARY_CONFIG_CUSTOM_VALUE_DESCRIPTION"
|
||||
class="text_area"
|
||||
hint="COM_COMPONENTBUILDER_LIBRARY_CONFIG_CUSTOM_VALUE_HINT"
|
||||
required="false"
|
||||
readonly="false"
|
||||
disabled="false"
|
||||
/>
|
||||
<!-- Tabname Field. Type: Text. (joomla) -->
|
||||
<field
|
||||
type="text"
|
||||
name="tabname"
|
||||
label="COM_COMPONENTBUILDER_LIBRARY_CONFIG_TABNAME_LABEL"
|
||||
size="40"
|
||||
maxlength="150"
|
||||
default="Global"
|
||||
description="COM_COMPONENTBUILDER_LIBRARY_CONFIG_TABNAME_DESCRIPTION"
|
||||
class="text_area"
|
||||
readonly="false"
|
||||
disabled="false"
|
||||
required="false"
|
||||
filter="STRING"
|
||||
message="COM_COMPONENTBUILDER_LIBRARY_CONFIG_TABNAME_MESSAGE"
|
||||
hint="COM_COMPONENTBUILDER_LIBRARY_CONFIG_TABNAME_HINT"
|
||||
/>
|
||||
</form>
|
||||
</field>
|
||||
</fieldset>
|
||||
|
||||
<!-- Access Control Fields. -->
|
||||
<fieldset name="accesscontrol">
|
||||
|
@ -4,362 +4,365 @@
|
||||
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" />
|
||||
<!-- Date Created Field. Type: Calendar (joomla)-->
|
||||
<field name="created"
|
||||
type="calendar"
|
||||
label="COM_COMPONENTBUILDER_LIBRARY_FILES_FOLDERS_URLS_CREATED_DATE_LABEL"
|
||||
description="COM_COMPONENTBUILDER_LIBRARY_FILES_FOLDERS_URLS_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_LIBRARY_FILES_FOLDERS_URLS_CREATED_BY_LABEL"
|
||||
description="COM_COMPONENTBUILDER_LIBRARY_FILES_FOLDERS_URLS_CREATED_BY_DESC" />
|
||||
<!-- Published Field. Type: List (joomla)-->
|
||||
<field name="published"
|
||||
type="list"
|
||||
label="JSTATUS">
|
||||
<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_LIBRARY_FILES_FOLDERS_URLS_MODIFIED_DATE_LABEL"
|
||||
description="COM_COMPONENTBUILDER_LIBRARY_FILES_FOLDERS_URLS_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_LIBRARY_FILES_FOLDERS_URLS_MODIFIED_BY_LABEL"
|
||||
description="COM_COMPONENTBUILDER_LIBRARY_FILES_FOLDERS_URLS_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_LIBRARY_FILES_FOLDERS_URLS_ORDERING_LABEL"
|
||||
description=""
|
||||
default="0"
|
||||
size="6"
|
||||
required="false" />
|
||||
<!-- Version Field. Type: Text (joomla)-->
|
||||
<field name="version"
|
||||
type="text"
|
||||
class="readonly"
|
||||
label="COM_COMPONENTBUILDER_LIBRARY_FILES_FOLDERS_URLS_VERSION_LABEL"
|
||||
description="COM_COMPONENTBUILDER_LIBRARY_FILES_FOLDERS_URLS_VERSION_DESC"
|
||||
size="6"
|
||||
readonly="true"
|
||||
filter="unset" />
|
||||
<!-- Dynamic Fields.-->
|
||||
<!-- Library Field. Type: Libraryreadonly. (custom)-->
|
||||
<field type="libraryreadonly"
|
||||
name="library"
|
||||
label="COM_COMPONENTBUILDER_LIBRARY_FILES_FOLDERS_URLS_LIBRARY_LABEL"
|
||||
description="COM_COMPONENTBUILDER_LIBRARY_FILES_FOLDERS_URLS_LIBRARY_DESCRIPTION"
|
||||
class="list_class"
|
||||
multiple="false"
|
||||
default="0"
|
||||
required="true"
|
||||
readonly="true" />
|
||||
<!-- Note_constant_paths Field. Type: Note. A None Database Field. (joomla)-->
|
||||
<field type="note"
|
||||
name="note_constant_paths"
|
||||
label="COM_COMPONENTBUILDER_LIBRARY_FILES_FOLDERS_URLS_NOTE_CONSTANT_PATHS_LABEL"
|
||||
description="COM_COMPONENTBUILDER_LIBRARY_FILES_FOLDERS_URLS_NOTE_CONSTANT_PATHS_DESCRIPTION"
|
||||
heading="h4"
|
||||
class="alert alert-info note_constant_paths" />
|
||||
<!-- Addfoldersfullpath Field. Type: Subform. (joomla)-->
|
||||
<field type="subform"
|
||||
name="addfoldersfullpath"
|
||||
label="COM_COMPONENTBUILDER_LIBRARY_FILES_FOLDERS_URLS_ADDFOLDERSFULLPATH_LABEL"
|
||||
layout="joomla.form.field.subform.repeatable-table"
|
||||
multiple="true"
|
||||
description="COM_COMPONENTBUILDER_LIBRARY_FILES_FOLDERS_URLS_ADDFOLDERSFULLPATH_DESCRIPTION"
|
||||
icon="list"
|
||||
maximum="500">
|
||||
<form hidden="true"
|
||||
name="list_addfoldersfullpath_modal"
|
||||
repeat="true">
|
||||
<!-- Folderpath Field. Type: Text. (joomla)-->
|
||||
<field type="text"
|
||||
name="folderpath"
|
||||
label="COM_COMPONENTBUILDER_LIBRARY_FILES_FOLDERS_URLS_FOLDERPATH_LABEL"
|
||||
size="70"
|
||||
maxlength="300"
|
||||
description="COM_COMPONENTBUILDER_LIBRARY_FILES_FOLDERS_URLS_FOLDERPATH_DESCRIPTION"
|
||||
class="text_area"
|
||||
required="false"
|
||||
filter="PATH"
|
||||
message="COM_COMPONENTBUILDER_LIBRARY_FILES_FOLDERS_URLS_FOLDERPATH_MESSAGE"
|
||||
hint="COM_COMPONENTBUILDER_LIBRARY_FILES_FOLDERS_URLS_FOLDERPATH_HINT" />
|
||||
<!-- Path Field. Type: Text. (joomla)-->
|
||||
<field type="text"
|
||||
name="path"
|
||||
label="COM_COMPONENTBUILDER_LIBRARY_FILES_FOLDERS_URLS_PATH_LABEL"
|
||||
size="40"
|
||||
maxlength="150"
|
||||
description="COM_COMPONENTBUILDER_LIBRARY_FILES_FOLDERS_URLS_PATH_DESCRIPTION"
|
||||
class="text_area"
|
||||
readonly="false"
|
||||
disabled="false"
|
||||
required="false"
|
||||
filter="PATH"
|
||||
message="COM_COMPONENTBUILDER_LIBRARY_FILES_FOLDERS_URLS_PATH_MESSAGE"
|
||||
hint="COM_COMPONENTBUILDER_LIBRARY_FILES_FOLDERS_URLS_PATH_HINT" />
|
||||
<!-- Rename Field. Type: Checkbox. (joomla)-->
|
||||
<field type="checkbox"
|
||||
name="rename"
|
||||
label="COM_COMPONENTBUILDER_LIBRARY_FILES_FOLDERS_URLS_RENAME_LABEL"
|
||||
value="1"
|
||||
required="false"
|
||||
class="inputbox" />
|
||||
</form>
|
||||
</field>
|
||||
<!-- Note_add_folders_fullpath Field. Type: Note. A None Database Field. (joomla)-->
|
||||
<field type="note"
|
||||
name="note_add_folders_fullpath"
|
||||
label="COM_COMPONENTBUILDER_LIBRARY_FILES_FOLDERS_URLS_NOTE_ADD_FOLDERS_FULLPATH_LABEL"
|
||||
description="COM_COMPONENTBUILDER_LIBRARY_FILES_FOLDERS_URLS_NOTE_ADD_FOLDERS_FULLPATH_DESCRIPTION"
|
||||
heading="h4"
|
||||
class="alert alert-info note_add_folders_fullpath" />
|
||||
<!-- Addfilesfullpath Field. Type: Subform. (joomla)-->
|
||||
<field type="subform"
|
||||
name="addfilesfullpath"
|
||||
label="COM_COMPONENTBUILDER_LIBRARY_FILES_FOLDERS_URLS_ADDFILESFULLPATH_LABEL"
|
||||
layout="joomla.form.field.subform.repeatable-table"
|
||||
multiple="true"
|
||||
description="COM_COMPONENTBUILDER_LIBRARY_FILES_FOLDERS_URLS_ADDFILESFULLPATH_DESCRIPTION"
|
||||
icon="list"
|
||||
maximum="500">
|
||||
<form hidden="true"
|
||||
name="list_addfilesfullpath_modal"
|
||||
repeat="true">
|
||||
<!-- Filepath Field. Type: Text. (joomla)-->
|
||||
<field type="text"
|
||||
name="filepath"
|
||||
label="COM_COMPONENTBUILDER_LIBRARY_FILES_FOLDERS_URLS_FILEPATH_LABEL"
|
||||
size="70"
|
||||
maxlength="300"
|
||||
description="COM_COMPONENTBUILDER_LIBRARY_FILES_FOLDERS_URLS_FILEPATH_DESCRIPTION"
|
||||
class="text_area"
|
||||
required="false"
|
||||
filter="PATH"
|
||||
message="COM_COMPONENTBUILDER_LIBRARY_FILES_FOLDERS_URLS_FILEPATH_MESSAGE"
|
||||
hint="COM_COMPONENTBUILDER_LIBRARY_FILES_FOLDERS_URLS_FILEPATH_HINT" />
|
||||
<!-- Path Field. Type: Text. (joomla)-->
|
||||
<field type="text"
|
||||
name="path"
|
||||
label="COM_COMPONENTBUILDER_LIBRARY_FILES_FOLDERS_URLS_PATH_LABEL"
|
||||
size="40"
|
||||
maxlength="150"
|
||||
description="COM_COMPONENTBUILDER_LIBRARY_FILES_FOLDERS_URLS_PATH_DESCRIPTION"
|
||||
class="text_area"
|
||||
readonly="false"
|
||||
disabled="false"
|
||||
required="false"
|
||||
filter="PATH"
|
||||
message="COM_COMPONENTBUILDER_LIBRARY_FILES_FOLDERS_URLS_PATH_MESSAGE"
|
||||
hint="COM_COMPONENTBUILDER_LIBRARY_FILES_FOLDERS_URLS_PATH_HINT" />
|
||||
<!-- Notnew Field. Type: Checkbox. (joomla)-->
|
||||
<field type="checkbox"
|
||||
name="notnew"
|
||||
label="COM_COMPONENTBUILDER_LIBRARY_FILES_FOLDERS_URLS_NOTNEW_LABEL"
|
||||
value="1"
|
||||
required="false"
|
||||
description="COM_COMPONENTBUILDER_LIBRARY_FILES_FOLDERS_URLS_NOTNEW_DESCRIPTION"
|
||||
class="inputbox" />
|
||||
</form>
|
||||
</field>
|
||||
<!-- Note_add_files_fullpath Field. Type: Note. A None Database Field. (joomla)-->
|
||||
<field type="note"
|
||||
name="note_add_files_fullpath"
|
||||
label="COM_COMPONENTBUILDER_LIBRARY_FILES_FOLDERS_URLS_NOTE_ADD_FILES_FULLPATH_LABEL"
|
||||
description="COM_COMPONENTBUILDER_LIBRARY_FILES_FOLDERS_URLS_NOTE_ADD_FILES_FULLPATH_DESCRIPTION"
|
||||
heading="h4"
|
||||
class="alert alert-info note_add_files_fullpath" />
|
||||
<!-- Addfolders Field. Type: Subform. (joomla)-->
|
||||
<field type="subform"
|
||||
name="addfolders"
|
||||
label="COM_COMPONENTBUILDER_LIBRARY_FILES_FOLDERS_URLS_ADDFOLDERS_LABEL"
|
||||
layout="joomla.form.field.subform.repeatable-table"
|
||||
multiple="true"
|
||||
description="COM_COMPONENTBUILDER_LIBRARY_FILES_FOLDERS_URLS_ADDFOLDERS_DESCRIPTION"
|
||||
icon="list"
|
||||
maximum="500">
|
||||
<form hidden="true"
|
||||
name="list_addfolders_modal"
|
||||
repeat="true">
|
||||
<!-- Folder Field. Type: Customfolderlist. (custom)-->
|
||||
<field type="customfolderlist"
|
||||
name="folder"
|
||||
label="COM_COMPONENTBUILDER_LIBRARY_FILES_FOLDERS_URLS_FOLDER_LABEL"
|
||||
description="COM_COMPONENTBUILDER_LIBRARY_FILES_FOLDERS_URLS_FOLDER_DESCRIPTION"
|
||||
class="list_class"
|
||||
multiple="false"
|
||||
default="0"
|
||||
required="false"
|
||||
button="false" />
|
||||
<!-- Path Field. Type: Text. (joomla)-->
|
||||
<field type="text"
|
||||
name="path"
|
||||
label="COM_COMPONENTBUILDER_LIBRARY_FILES_FOLDERS_URLS_PATH_LABEL"
|
||||
size="40"
|
||||
maxlength="150"
|
||||
description="COM_COMPONENTBUILDER_LIBRARY_FILES_FOLDERS_URLS_PATH_DESCRIPTION"
|
||||
class="text_area"
|
||||
readonly="false"
|
||||
disabled="false"
|
||||
required="false"
|
||||
filter="PATH"
|
||||
message="COM_COMPONENTBUILDER_LIBRARY_FILES_FOLDERS_URLS_PATH_MESSAGE"
|
||||
hint="COM_COMPONENTBUILDER_LIBRARY_FILES_FOLDERS_URLS_PATH_HINT" />
|
||||
<!-- Rename Field. Type: Checkbox. (joomla)-->
|
||||
<field type="checkbox"
|
||||
name="rename"
|
||||
label="COM_COMPONENTBUILDER_LIBRARY_FILES_FOLDERS_URLS_RENAME_LABEL"
|
||||
value="1"
|
||||
required="false"
|
||||
class="inputbox" />
|
||||
</form>
|
||||
</field>
|
||||
<!-- Note_add_folders Field. Type: Note. A None Database Field. (joomla)-->
|
||||
<field type="note"
|
||||
name="note_add_folders"
|
||||
label="COM_COMPONENTBUILDER_LIBRARY_FILES_FOLDERS_URLS_NOTE_ADD_FOLDERS_LABEL"
|
||||
description="COM_COMPONENTBUILDER_LIBRARY_FILES_FOLDERS_URLS_NOTE_ADD_FOLDERS_DESCRIPTION"
|
||||
heading="h4"
|
||||
class="alert alert-info note_add_folders" />
|
||||
<!-- Addfiles Field. Type: Subform. (joomla)-->
|
||||
<field type="subform"
|
||||
name="addfiles"
|
||||
label="COM_COMPONENTBUILDER_LIBRARY_FILES_FOLDERS_URLS_ADDFILES_LABEL"
|
||||
layout="joomla.form.field.subform.repeatable-table"
|
||||
multiple="true"
|
||||
description="COM_COMPONENTBUILDER_LIBRARY_FILES_FOLDERS_URLS_ADDFILES_DESCRIPTION"
|
||||
icon="list"
|
||||
maximum="500">
|
||||
<form hidden="true"
|
||||
name="list_addfiles_modal"
|
||||
repeat="true">
|
||||
<!-- File Field. Type: Customfilelist. (custom)-->
|
||||
<field type="customfilelist"
|
||||
name="file"
|
||||
label="COM_COMPONENTBUILDER_LIBRARY_FILES_FOLDERS_URLS_FILE_LABEL"
|
||||
description="COM_COMPONENTBUILDER_LIBRARY_FILES_FOLDERS_URLS_FILE_DESCRIPTION"
|
||||
class="list_class"
|
||||
multiple="false"
|
||||
default="0"
|
||||
required="false"
|
||||
button="false" />
|
||||
<!-- Path Field. Type: Text. (joomla)-->
|
||||
<field type="text"
|
||||
name="path"
|
||||
label="COM_COMPONENTBUILDER_LIBRARY_FILES_FOLDERS_URLS_PATH_LABEL"
|
||||
size="40"
|
||||
maxlength="150"
|
||||
description="COM_COMPONENTBUILDER_LIBRARY_FILES_FOLDERS_URLS_PATH_DESCRIPTION"
|
||||
class="text_area"
|
||||
readonly="false"
|
||||
disabled="false"
|
||||
required="false"
|
||||
filter="PATH"
|
||||
message="COM_COMPONENTBUILDER_LIBRARY_FILES_FOLDERS_URLS_PATH_MESSAGE"
|
||||
hint="COM_COMPONENTBUILDER_LIBRARY_FILES_FOLDERS_URLS_PATH_HINT" />
|
||||
<!-- Notnew Field. Type: Checkbox. (joomla)-->
|
||||
<field type="checkbox"
|
||||
name="notnew"
|
||||
label="COM_COMPONENTBUILDER_LIBRARY_FILES_FOLDERS_URLS_NOTNEW_LABEL"
|
||||
value="1"
|
||||
required="false"
|
||||
description="COM_COMPONENTBUILDER_LIBRARY_FILES_FOLDERS_URLS_NOTNEW_DESCRIPTION"
|
||||
class="inputbox" />
|
||||
</form>
|
||||
</field>
|
||||
<!-- Note_add_files Field. Type: Note. A None Database Field. (joomla)-->
|
||||
<field type="note"
|
||||
name="note_add_files"
|
||||
label="COM_COMPONENTBUILDER_LIBRARY_FILES_FOLDERS_URLS_NOTE_ADD_FILES_LABEL"
|
||||
description="COM_COMPONENTBUILDER_LIBRARY_FILES_FOLDERS_URLS_NOTE_ADD_FILES_DESCRIPTION"
|
||||
heading="h4"
|
||||
class="alert alert-info note_add_files" />
|
||||
<!-- Addurls Field. Type: Subform. (joomla)-->
|
||||
<field type="subform"
|
||||
name="addurls"
|
||||
label="COM_COMPONENTBUILDER_LIBRARY_FILES_FOLDERS_URLS_ADDURLS_LABEL"
|
||||
layout="joomla.form.field.subform.repeatable-table"
|
||||
multiple="true"
|
||||
description="COM_COMPONENTBUILDER_LIBRARY_FILES_FOLDERS_URLS_ADDURLS_DESCRIPTION"
|
||||
icon="list"
|
||||
maximum="500">
|
||||
<form hidden="true"
|
||||
name="list_addurls_modal"
|
||||
repeat="true">
|
||||
<!-- Url Field. Type: Url. (joomla)-->
|
||||
<field type="url"
|
||||
name="url"
|
||||
label="COM_COMPONENTBUILDER_LIBRARY_FILES_FOLDERS_URLS_URL_LABEL"
|
||||
size="150"
|
||||
maxlength="250"
|
||||
description="COM_COMPONENTBUILDER_LIBRARY_FILES_FOLDERS_URLS_URL_DESCRIPTION"
|
||||
class="text_area"
|
||||
required="false"
|
||||
filter="url"
|
||||
validated="url"
|
||||
message="COM_COMPONENTBUILDER_LIBRARY_FILES_FOLDERS_URLS_URL_MESSAGE"
|
||||
hint="COM_COMPONENTBUILDER_LIBRARY_FILES_FOLDERS_URLS_URL_HINT" />
|
||||
<!-- Type Field. Type: List. (joomla)-->
|
||||
<field type="list"
|
||||
name="type"
|
||||
label="COM_COMPONENTBUILDER_LIBRARY_FILES_FOLDERS_URLS_TYPE_LABEL"
|
||||
description="COM_COMPONENTBUILDER_LIBRARY_FILES_FOLDERS_URLS_TYPE_DESCRIPTION"
|
||||
class="list_class"
|
||||
multiple="false"
|
||||
filter="INT"
|
||||
required="false"
|
||||
default="1">
|
||||
<!-- Option Set.-->
|
||||
<option value="1">COM_COMPONENTBUILDER_LIBRARY_FILES_FOLDERS_URLS_DEFAULT_LINK</option>
|
||||
<option value="2">COM_COMPONENTBUILDER_LIBRARY_FILES_FOLDERS_URLS_LOCAL_GET</option>
|
||||
<option value="3">COM_COMPONENTBUILDER_LIBRARY_FILES_FOLDERS_URLS_LINK_LOCAL_DYNAMIC</option>
|
||||
</field>
|
||||
</form>
|
||||
</field>
|
||||
<!-- Note_add_urls Field. Type: Note. A None Database Field. (joomla)-->
|
||||
<field type="note"
|
||||
name="note_add_urls"
|
||||
label="COM_COMPONENTBUILDER_LIBRARY_FILES_FOLDERS_URLS_NOTE_ADD_URLS_LABEL"
|
||||
description="COM_COMPONENTBUILDER_LIBRARY_FILES_FOLDERS_URLS_NOTE_ADD_URLS_DESCRIPTION"
|
||||
heading="h4"
|
||||
class="alert alert-info note_add_urls" />
|
||||
</fieldset>
|
||||
<!-- 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_LIBRARY_FILES_FOLDERS_URLS_CREATED_DATE_LABEL"
|
||||
description="COM_COMPONENTBUILDER_LIBRARY_FILES_FOLDERS_URLS_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_LIBRARY_FILES_FOLDERS_URLS_CREATED_BY_LABEL"
|
||||
description="COM_COMPONENTBUILDER_LIBRARY_FILES_FOLDERS_URLS_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_LIBRARY_FILES_FOLDERS_URLS_MODIFIED_DATE_LABEL" description="COM_COMPONENTBUILDER_LIBRARY_FILES_FOLDERS_URLS_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_LIBRARY_FILES_FOLDERS_URLS_MODIFIED_BY_LABEL"
|
||||
description="COM_COMPONENTBUILDER_LIBRARY_FILES_FOLDERS_URLS_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_LIBRARY_FILES_FOLDERS_URLS_ORDERING_LABEL"
|
||||
description=""
|
||||
default="0"
|
||||
size="6"
|
||||
required="false"
|
||||
/>
|
||||
<!-- Version Field. Type: Text (joomla) -->
|
||||
<field
|
||||
name="version"
|
||||
type="text"
|
||||
class="readonly"
|
||||
label="COM_COMPONENTBUILDER_LIBRARY_FILES_FOLDERS_URLS_VERSION_LABEL"
|
||||
description="COM_COMPONENTBUILDER_LIBRARY_FILES_FOLDERS_URLS_VERSION_DESC"
|
||||
size="6"
|
||||
readonly="true"
|
||||
filter="unset"
|
||||
/>
|
||||
<!-- Dynamic Fields. -->
|
||||
<!-- Library Field. Type: Libraryreadonly. (custom) -->
|
||||
<field
|
||||
type="libraryreadonly"
|
||||
name="library"
|
||||
label="COM_COMPONENTBUILDER_LIBRARY_FILES_FOLDERS_URLS_LIBRARY_LABEL"
|
||||
description="COM_COMPONENTBUILDER_LIBRARY_FILES_FOLDERS_URLS_LIBRARY_DESCRIPTION"
|
||||
class="list_class"
|
||||
multiple="false"
|
||||
default="0"
|
||||
required="true"
|
||||
readonly="true"
|
||||
/>
|
||||
<!-- Note_constant_paths Field. Type: Note. A None Database Field. (joomla) -->
|
||||
<field type="note" name="note_constant_paths" label="COM_COMPONENTBUILDER_LIBRARY_FILES_FOLDERS_URLS_NOTE_CONSTANT_PATHS_LABEL" description="COM_COMPONENTBUILDER_LIBRARY_FILES_FOLDERS_URLS_NOTE_CONSTANT_PATHS_DESCRIPTION" heading="h4" class="alert alert-info note_constant_paths" />
|
||||
<!-- Addfoldersfullpath Field. Type: Subform. (joomla) -->
|
||||
<field
|
||||
type="subform"
|
||||
name="addfoldersfullpath"
|
||||
label="COM_COMPONENTBUILDER_LIBRARY_FILES_FOLDERS_URLS_ADDFOLDERSFULLPATH_LABEL"
|
||||
layout="joomla.form.field.subform.repeatable-table"
|
||||
multiple="true"
|
||||
description="COM_COMPONENTBUILDER_LIBRARY_FILES_FOLDERS_URLS_ADDFOLDERSFULLPATH_DESCRIPTION"
|
||||
icon="list"
|
||||
maximum="500">
|
||||
<form hidden="true" name="list_addfoldersfullpath_modal" repeat="true">
|
||||
<!-- Folderpath Field. Type: Text. (joomla) -->
|
||||
<field
|
||||
type="text"
|
||||
name="folderpath"
|
||||
label="COM_COMPONENTBUILDER_LIBRARY_FILES_FOLDERS_URLS_FOLDERPATH_LABEL"
|
||||
size="70"
|
||||
maxlength="300"
|
||||
description="COM_COMPONENTBUILDER_LIBRARY_FILES_FOLDERS_URLS_FOLDERPATH_DESCRIPTION"
|
||||
class="text_area"
|
||||
required="false"
|
||||
filter="PATH"
|
||||
message="COM_COMPONENTBUILDER_LIBRARY_FILES_FOLDERS_URLS_FOLDERPATH_MESSAGE"
|
||||
hint="COM_COMPONENTBUILDER_LIBRARY_FILES_FOLDERS_URLS_FOLDERPATH_HINT"
|
||||
/>
|
||||
<!-- Path Field. Type: Text. (joomla) -->
|
||||
<field
|
||||
type="text"
|
||||
name="path"
|
||||
label="COM_COMPONENTBUILDER_LIBRARY_FILES_FOLDERS_URLS_PATH_LABEL"
|
||||
size="40"
|
||||
maxlength="150"
|
||||
description="COM_COMPONENTBUILDER_LIBRARY_FILES_FOLDERS_URLS_PATH_DESCRIPTION"
|
||||
class="text_area"
|
||||
readonly="false"
|
||||
disabled="false"
|
||||
required="false"
|
||||
filter="PATH"
|
||||
message="COM_COMPONENTBUILDER_LIBRARY_FILES_FOLDERS_URLS_PATH_MESSAGE"
|
||||
hint="COM_COMPONENTBUILDER_LIBRARY_FILES_FOLDERS_URLS_PATH_HINT"
|
||||
/>
|
||||
<!-- Rename Field. Type: Checkbox. (joomla) -->
|
||||
<field
|
||||
type="checkbox"
|
||||
name="rename"
|
||||
label="COM_COMPONENTBUILDER_LIBRARY_FILES_FOLDERS_URLS_RENAME_LABEL"
|
||||
value="1"
|
||||
required="false"
|
||||
class="inputbox"
|
||||
/>
|
||||
</form>
|
||||
</field>
|
||||
<!-- Note_add_folders_fullpath Field. Type: Note. A None Database Field. (joomla) -->
|
||||
<field type="note" name="note_add_folders_fullpath" label="COM_COMPONENTBUILDER_LIBRARY_FILES_FOLDERS_URLS_NOTE_ADD_FOLDERS_FULLPATH_LABEL" description="COM_COMPONENTBUILDER_LIBRARY_FILES_FOLDERS_URLS_NOTE_ADD_FOLDERS_FULLPATH_DESCRIPTION" heading="h4" class="alert alert-info note_add_folders_fullpath" />
|
||||
<!-- Addfilesfullpath Field. Type: Subform. (joomla) -->
|
||||
<field
|
||||
type="subform"
|
||||
name="addfilesfullpath"
|
||||
label="COM_COMPONENTBUILDER_LIBRARY_FILES_FOLDERS_URLS_ADDFILESFULLPATH_LABEL"
|
||||
layout="joomla.form.field.subform.repeatable-table"
|
||||
multiple="true"
|
||||
description="COM_COMPONENTBUILDER_LIBRARY_FILES_FOLDERS_URLS_ADDFILESFULLPATH_DESCRIPTION"
|
||||
icon="list"
|
||||
maximum="500">
|
||||
<form hidden="true" name="list_addfilesfullpath_modal" repeat="true">
|
||||
<!-- Filepath Field. Type: Text. (joomla) -->
|
||||
<field
|
||||
type="text"
|
||||
name="filepath"
|
||||
label="COM_COMPONENTBUILDER_LIBRARY_FILES_FOLDERS_URLS_FILEPATH_LABEL"
|
||||
size="70"
|
||||
maxlength="300"
|
||||
description="COM_COMPONENTBUILDER_LIBRARY_FILES_FOLDERS_URLS_FILEPATH_DESCRIPTION"
|
||||
class="text_area"
|
||||
required="false"
|
||||
filter="PATH"
|
||||
message="COM_COMPONENTBUILDER_LIBRARY_FILES_FOLDERS_URLS_FILEPATH_MESSAGE"
|
||||
hint="COM_COMPONENTBUILDER_LIBRARY_FILES_FOLDERS_URLS_FILEPATH_HINT"
|
||||
/>
|
||||
<!-- Path Field. Type: Text. (joomla) -->
|
||||
<field
|
||||
type="text"
|
||||
name="path"
|
||||
label="COM_COMPONENTBUILDER_LIBRARY_FILES_FOLDERS_URLS_PATH_LABEL"
|
||||
size="40"
|
||||
maxlength="150"
|
||||
description="COM_COMPONENTBUILDER_LIBRARY_FILES_FOLDERS_URLS_PATH_DESCRIPTION"
|
||||
class="text_area"
|
||||
readonly="false"
|
||||
disabled="false"
|
||||
required="false"
|
||||
filter="PATH"
|
||||
message="COM_COMPONENTBUILDER_LIBRARY_FILES_FOLDERS_URLS_PATH_MESSAGE"
|
||||
hint="COM_COMPONENTBUILDER_LIBRARY_FILES_FOLDERS_URLS_PATH_HINT"
|
||||
/>
|
||||
<!-- Notnew Field. Type: Checkbox. (joomla) -->
|
||||
<field
|
||||
type="checkbox"
|
||||
name="notnew"
|
||||
label="COM_COMPONENTBUILDER_LIBRARY_FILES_FOLDERS_URLS_NOTNEW_LABEL"
|
||||
value="1"
|
||||
required="false"
|
||||
description="COM_COMPONENTBUILDER_LIBRARY_FILES_FOLDERS_URLS_NOTNEW_DESCRIPTION"
|
||||
class="inputbox"
|
||||
/>
|
||||
</form>
|
||||
</field>
|
||||
<!-- Note_add_files_fullpath Field. Type: Note. A None Database Field. (joomla) -->
|
||||
<field type="note" name="note_add_files_fullpath" label="COM_COMPONENTBUILDER_LIBRARY_FILES_FOLDERS_URLS_NOTE_ADD_FILES_FULLPATH_LABEL" description="COM_COMPONENTBUILDER_LIBRARY_FILES_FOLDERS_URLS_NOTE_ADD_FILES_FULLPATH_DESCRIPTION" heading="h4" class="alert alert-info note_add_files_fullpath" />
|
||||
<!-- Addfolders Field. Type: Subform. (joomla) -->
|
||||
<field
|
||||
type="subform"
|
||||
name="addfolders"
|
||||
label="COM_COMPONENTBUILDER_LIBRARY_FILES_FOLDERS_URLS_ADDFOLDERS_LABEL"
|
||||
layout="joomla.form.field.subform.repeatable-table"
|
||||
multiple="true"
|
||||
description="COM_COMPONENTBUILDER_LIBRARY_FILES_FOLDERS_URLS_ADDFOLDERS_DESCRIPTION"
|
||||
icon="list"
|
||||
maximum="500">
|
||||
<form hidden="true" name="list_addfolders_modal" repeat="true">
|
||||
<!-- Folder Field. Type: Customfolderlist. (custom) -->
|
||||
<field
|
||||
type="customfolderlist"
|
||||
name="folder"
|
||||
label="COM_COMPONENTBUILDER_LIBRARY_FILES_FOLDERS_URLS_FOLDER_LABEL"
|
||||
description="COM_COMPONENTBUILDER_LIBRARY_FILES_FOLDERS_URLS_FOLDER_DESCRIPTION"
|
||||
class="list_class"
|
||||
multiple="false"
|
||||
default="0"
|
||||
required="false"
|
||||
button="false"
|
||||
/>
|
||||
<!-- Path Field. Type: Text. (joomla) -->
|
||||
<field
|
||||
type="text"
|
||||
name="path"
|
||||
label="COM_COMPONENTBUILDER_LIBRARY_FILES_FOLDERS_URLS_PATH_LABEL"
|
||||
size="40"
|
||||
maxlength="150"
|
||||
description="COM_COMPONENTBUILDER_LIBRARY_FILES_FOLDERS_URLS_PATH_DESCRIPTION"
|
||||
class="text_area"
|
||||
readonly="false"
|
||||
disabled="false"
|
||||
required="false"
|
||||
filter="PATH"
|
||||
message="COM_COMPONENTBUILDER_LIBRARY_FILES_FOLDERS_URLS_PATH_MESSAGE"
|
||||
hint="COM_COMPONENTBUILDER_LIBRARY_FILES_FOLDERS_URLS_PATH_HINT"
|
||||
/>
|
||||
<!-- Rename Field. Type: Checkbox. (joomla) -->
|
||||
<field
|
||||
type="checkbox"
|
||||
name="rename"
|
||||
label="COM_COMPONENTBUILDER_LIBRARY_FILES_FOLDERS_URLS_RENAME_LABEL"
|
||||
value="1"
|
||||
required="false"
|
||||
class="inputbox"
|
||||
/>
|
||||
</form>
|
||||
</field>
|
||||
<!-- Note_add_folders Field. Type: Note. A None Database Field. (joomla) -->
|
||||
<field type="note" name="note_add_folders" label="COM_COMPONENTBUILDER_LIBRARY_FILES_FOLDERS_URLS_NOTE_ADD_FOLDERS_LABEL" description="COM_COMPONENTBUILDER_LIBRARY_FILES_FOLDERS_URLS_NOTE_ADD_FOLDERS_DESCRIPTION" heading="h4" class="alert alert-info note_add_folders" />
|
||||
<!-- Addfiles Field. Type: Subform. (joomla) -->
|
||||
<field
|
||||
type="subform"
|
||||
name="addfiles"
|
||||
label="COM_COMPONENTBUILDER_LIBRARY_FILES_FOLDERS_URLS_ADDFILES_LABEL"
|
||||
layout="joomla.form.field.subform.repeatable-table"
|
||||
multiple="true"
|
||||
description="COM_COMPONENTBUILDER_LIBRARY_FILES_FOLDERS_URLS_ADDFILES_DESCRIPTION"
|
||||
icon="list"
|
||||
maximum="500">
|
||||
<form hidden="true" name="list_addfiles_modal" repeat="true">
|
||||
<!-- File Field. Type: Customfilelist. (custom) -->
|
||||
<field
|
||||
type="customfilelist"
|
||||
name="file"
|
||||
label="COM_COMPONENTBUILDER_LIBRARY_FILES_FOLDERS_URLS_FILE_LABEL"
|
||||
description="COM_COMPONENTBUILDER_LIBRARY_FILES_FOLDERS_URLS_FILE_DESCRIPTION"
|
||||
class="list_class"
|
||||
multiple="false"
|
||||
default="0"
|
||||
required="false"
|
||||
button="false"
|
||||
/>
|
||||
<!-- Path Field. Type: Text. (joomla) -->
|
||||
<field
|
||||
type="text"
|
||||
name="path"
|
||||
label="COM_COMPONENTBUILDER_LIBRARY_FILES_FOLDERS_URLS_PATH_LABEL"
|
||||
size="40"
|
||||
maxlength="150"
|
||||
description="COM_COMPONENTBUILDER_LIBRARY_FILES_FOLDERS_URLS_PATH_DESCRIPTION"
|
||||
class="text_area"
|
||||
readonly="false"
|
||||
disabled="false"
|
||||
required="false"
|
||||
filter="PATH"
|
||||
message="COM_COMPONENTBUILDER_LIBRARY_FILES_FOLDERS_URLS_PATH_MESSAGE"
|
||||
hint="COM_COMPONENTBUILDER_LIBRARY_FILES_FOLDERS_URLS_PATH_HINT"
|
||||
/>
|
||||
<!-- Notnew Field. Type: Checkbox. (joomla) -->
|
||||
<field
|
||||
type="checkbox"
|
||||
name="notnew"
|
||||
label="COM_COMPONENTBUILDER_LIBRARY_FILES_FOLDERS_URLS_NOTNEW_LABEL"
|
||||
value="1"
|
||||
required="false"
|
||||
description="COM_COMPONENTBUILDER_LIBRARY_FILES_FOLDERS_URLS_NOTNEW_DESCRIPTION"
|
||||
class="inputbox"
|
||||
/>
|
||||
</form>
|
||||
</field>
|
||||
<!-- Note_add_files Field. Type: Note. A None Database Field. (joomla) -->
|
||||
<field type="note" name="note_add_files" label="COM_COMPONENTBUILDER_LIBRARY_FILES_FOLDERS_URLS_NOTE_ADD_FILES_LABEL" description="COM_COMPONENTBUILDER_LIBRARY_FILES_FOLDERS_URLS_NOTE_ADD_FILES_DESCRIPTION" heading="h4" class="alert alert-info note_add_files" />
|
||||
<!-- Addurls Field. Type: Subform. (joomla) -->
|
||||
<field
|
||||
type="subform"
|
||||
name="addurls"
|
||||
label="COM_COMPONENTBUILDER_LIBRARY_FILES_FOLDERS_URLS_ADDURLS_LABEL"
|
||||
layout="joomla.form.field.subform.repeatable-table"
|
||||
multiple="true"
|
||||
description="COM_COMPONENTBUILDER_LIBRARY_FILES_FOLDERS_URLS_ADDURLS_DESCRIPTION"
|
||||
icon="list"
|
||||
maximum="500">
|
||||
<form hidden="true" name="list_addurls_modal" repeat="true">
|
||||
<!-- Url Field. Type: Url. (joomla) -->
|
||||
<field
|
||||
type="url"
|
||||
name="url"
|
||||
label="COM_COMPONENTBUILDER_LIBRARY_FILES_FOLDERS_URLS_URL_LABEL"
|
||||
size="150"
|
||||
maxlength="250"
|
||||
description="COM_COMPONENTBUILDER_LIBRARY_FILES_FOLDERS_URLS_URL_DESCRIPTION"
|
||||
class="text_area"
|
||||
required="false"
|
||||
filter="url"
|
||||
validated="url"
|
||||
message="COM_COMPONENTBUILDER_LIBRARY_FILES_FOLDERS_URLS_URL_MESSAGE"
|
||||
hint="COM_COMPONENTBUILDER_LIBRARY_FILES_FOLDERS_URLS_URL_HINT"
|
||||
/>
|
||||
<!-- Type Field. Type: List. (joomla) -->
|
||||
<field
|
||||
type="list"
|
||||
name="type"
|
||||
label="COM_COMPONENTBUILDER_LIBRARY_FILES_FOLDERS_URLS_TYPE_LABEL"
|
||||
description="COM_COMPONENTBUILDER_LIBRARY_FILES_FOLDERS_URLS_TYPE_DESCRIPTION"
|
||||
class="list_class"
|
||||
multiple="false"
|
||||
filter="INT"
|
||||
required="false"
|
||||
default="1">
|
||||
<!-- Option Set. -->
|
||||
<option value="1">
|
||||
COM_COMPONENTBUILDER_LIBRARY_FILES_FOLDERS_URLS_DEFAULT_LINK</option>
|
||||
<option value="2">
|
||||
COM_COMPONENTBUILDER_LIBRARY_FILES_FOLDERS_URLS_LOCAL_GET</option>
|
||||
<option value="3">
|
||||
COM_COMPONENTBUILDER_LIBRARY_FILES_FOLDERS_URLS_LINK_LOCAL_DYNAMIC</option>
|
||||
</field>
|
||||
</form>
|
||||
</field>
|
||||
<!-- Note_add_urls Field. Type: Note. A None Database Field. (joomla) -->
|
||||
<field type="note" name="note_add_urls" label="COM_COMPONENTBUILDER_LIBRARY_FILES_FOLDERS_URLS_NOTE_ADD_URLS_LABEL" description="COM_COMPONENTBUILDER_LIBRARY_FILES_FOLDERS_URLS_NOTE_ADD_URLS_DESCRIPTION" heading="h4" class="alert alert-info note_add_urls" />
|
||||
</fieldset>
|
||||
|
||||
<!-- Access Control Fields. -->
|
||||
<fieldset name="accesscontrol">
|
||||
|
@ -4,253 +4,282 @@
|
||||
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" />
|
||||
<!-- Date Created Field. Type: Calendar (joomla)-->
|
||||
<field name="created"
|
||||
type="calendar"
|
||||
label="COM_COMPONENTBUILDER_SERVER_CREATED_DATE_LABEL"
|
||||
description="COM_COMPONENTBUILDER_SERVER_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_SERVER_CREATED_BY_LABEL"
|
||||
description="COM_COMPONENTBUILDER_SERVER_CREATED_BY_DESC" />
|
||||
<!-- Published Field. Type: List (joomla)-->
|
||||
<field name="published"
|
||||
type="list"
|
||||
label="JSTATUS">
|
||||
<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_SERVER_MODIFIED_DATE_LABEL"
|
||||
description="COM_COMPONENTBUILDER_SERVER_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_SERVER_MODIFIED_BY_LABEL"
|
||||
description="COM_COMPONENTBUILDER_SERVER_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_SERVER_ORDERING_LABEL"
|
||||
description=""
|
||||
default="0"
|
||||
size="6"
|
||||
required="false" />
|
||||
<!-- Version Field. Type: Text (joomla)-->
|
||||
<field name="version"
|
||||
type="text"
|
||||
class="readonly"
|
||||
label="COM_COMPONENTBUILDER_SERVER_VERSION_LABEL"
|
||||
description="COM_COMPONENTBUILDER_SERVER_VERSION_DESC"
|
||||
size="6"
|
||||
readonly="true"
|
||||
filter="unset" />
|
||||
<!-- Dynamic Fields.-->
|
||||
<!-- Name Field. Type: Text. (joomla)-->
|
||||
<field type="text"
|
||||
name="name"
|
||||
label="COM_COMPONENTBUILDER_SERVER_NAME_LABEL"
|
||||
size="40"
|
||||
maxlength="150"
|
||||
description="COM_COMPONENTBUILDER_SERVER_NAME_DESCRIPTION"
|
||||
class="text_area"
|
||||
readonly="false"
|
||||
disabled="false"
|
||||
required="true"
|
||||
filter="STRING"
|
||||
message="COM_COMPONENTBUILDER_SERVER_NAME_MESSAGE"
|
||||
hint="COM_COMPONENTBUILDER_SERVER_NAME_HINT" />
|
||||
<!-- Protocol Field. Type: List. (joomla)-->
|
||||
<field type="list"
|
||||
name="protocol"
|
||||
label="COM_COMPONENTBUILDER_SERVER_PROTOCOL_LABEL"
|
||||
description="COM_COMPONENTBUILDER_SERVER_PROTOCOL_DESCRIPTION"
|
||||
class="list_class"
|
||||
multiple="false"
|
||||
filter="INT"
|
||||
required="true">
|
||||
<!-- Option Set.-->
|
||||
<option value="">COM_COMPONENTBUILDER_SERVER_SELECT_AN_OPTION</option>
|
||||
<option value="1">COM_COMPONENTBUILDER_SERVER_FTP</option>
|
||||
<option value="2">COM_COMPONENTBUILDER_SERVER_SFTP</option>
|
||||
</field>
|
||||
<!-- Note_ssh_security Field. Type: Note. A None Database Field. (joomla)-->
|
||||
<field type="note"
|
||||
name="note_ssh_security"
|
||||
label="COM_COMPONENTBUILDER_SERVER_NOTE_SSH_SECURITY_LABEL"
|
||||
description="COM_COMPONENTBUILDER_SERVER_NOTE_SSH_SECURITY_DESCRIPTION"
|
||||
heading="h4"
|
||||
class="alert alert-info note_ssh_security" />
|
||||
<!-- Not_required Field. Type: Hidden. (joomla)-->
|
||||
<field type="hidden"
|
||||
name="not_required"
|
||||
default="[]" />
|
||||
<!-- Note_ftp_signature Field. Type: Note. A None Database Field. (joomla)-->
|
||||
<field type="note"
|
||||
name="note_ftp_signature"
|
||||
label="COM_COMPONENTBUILDER_SERVER_NOTE_FTP_SIGNATURE_LABEL"
|
||||
description="COM_COMPONENTBUILDER_SERVER_NOTE_FTP_SIGNATURE_DESCRIPTION"
|
||||
heading="h4"
|
||||
class="alert alert-success note_ftp_signature" />
|
||||
<!-- Signature Field. Type: Text. (joomla)-->
|
||||
<field type="text"
|
||||
name="signature"
|
||||
label="COM_COMPONENTBUILDER_SERVER_SIGNATURE_LABEL"
|
||||
size="250"
|
||||
maxlength="250"
|
||||
description="COM_COMPONENTBUILDER_SERVER_SIGNATURE_DESCRIPTION"
|
||||
class="text_area span12"
|
||||
required="true"
|
||||
filter="STRING"
|
||||
message="COM_COMPONENTBUILDER_SERVER_SIGNATURE_MESSAGE"
|
||||
hint="COM_COMPONENTBUILDER_SERVER_SIGNATURE_HINT"
|
||||
autocomplete="off" />
|
||||
<!-- Private_key Field. Type: Textarea. (joomla)-->
|
||||
<field type="textarea"
|
||||
name="private_key"
|
||||
label="COM_COMPONENTBUILDER_SERVER_PRIVATE_KEY_LABEL"
|
||||
rows="15"
|
||||
cols="5"
|
||||
description="COM_COMPONENTBUILDER_SERVER_PRIVATE_KEY_DESCRIPTION"
|
||||
class="input-xxlarge span12"
|
||||
hint="COM_COMPONENTBUILDER_SERVER_PRIVATE_KEY_HINT"
|
||||
required="true" />
|
||||
<!-- Secret Field. Type: Password. (joomla)-->
|
||||
<field type="password"
|
||||
name="secret"
|
||||
label="COM_COMPONENTBUILDER_SERVER_SECRET_LABEL"
|
||||
size="60"
|
||||
description="COM_COMPONENTBUILDER_SERVER_SECRET_DESCRIPTION"
|
||||
message="Error! Please add the passphrase here."
|
||||
class="text_area"
|
||||
filter="raw" />
|
||||
<!-- Password Field. Type: Password. (joomla)-->
|
||||
<field type="password"
|
||||
name="password"
|
||||
label="COM_COMPONENTBUILDER_SERVER_PASSWORD_LABEL"
|
||||
size="60"
|
||||
description="COM_COMPONENTBUILDER_SERVER_PASSWORD_DESCRIPTION"
|
||||
message="Error! Please add the password here."
|
||||
class="text_area"
|
||||
required="true"
|
||||
filter="raw" />
|
||||
<!-- Private Field. Type: Text. (joomla)-->
|
||||
<field type="text"
|
||||
name="private"
|
||||
label="COM_COMPONENTBUILDER_SERVER_PRIVATE_LABEL"
|
||||
size="50"
|
||||
maxlength="150"
|
||||
description="COM_COMPONENTBUILDER_SERVER_PRIVATE_DESCRIPTION"
|
||||
class="text_area"
|
||||
readonly="false"
|
||||
disabled="false"
|
||||
required="true"
|
||||
filter="PATH"
|
||||
message="COM_COMPONENTBUILDER_SERVER_PRIVATE_MESSAGE"
|
||||
hint="COM_COMPONENTBUILDER_SERVER_PRIVATE_HINT" />
|
||||
<!-- Authentication Field. Type: List. (joomla)-->
|
||||
<field type="list"
|
||||
name="authentication"
|
||||
label="COM_COMPONENTBUILDER_SERVER_AUTHENTICATION_LABEL"
|
||||
description="COM_COMPONENTBUILDER_SERVER_AUTHENTICATION_DESCRIPTION"
|
||||
class="list_class"
|
||||
multiple="false"
|
||||
filter="INT"
|
||||
required="true">
|
||||
<!-- Option Set.-->
|
||||
<option value="">COM_COMPONENTBUILDER_SERVER_SELECT_AN_OPTION</option>
|
||||
<option value="1">COM_COMPONENTBUILDER_SERVER_PASSWORD</option>
|
||||
<option value="2">COM_COMPONENTBUILDER_SERVER_PRIVATE_KEY_FILE_PATH</option>
|
||||
<option value="3">COM_COMPONENTBUILDER_SERVER_BOTH_PASSWORD_PRIVATE_KEY_FILE_PATH</option>
|
||||
<option value="4">COM_COMPONENTBUILDER_SERVER_PRIVATE_KEY_TEXT_FIELD</option>
|
||||
<option value="5">COM_COMPONENTBUILDER_SERVER_BOTH_PASSWORD_PRIVATE_KEY_TEXT_FIELD</option>
|
||||
</field>
|
||||
<!-- Path Field. Type: Text. (joomla)-->
|
||||
<field type="text"
|
||||
name="path"
|
||||
label="COM_COMPONENTBUILDER_SERVER_PATH_LABEL"
|
||||
size="40"
|
||||
maxlength="150"
|
||||
description="COM_COMPONENTBUILDER_SERVER_PATH_DESCRIPTION"
|
||||
class="text_area"
|
||||
readonly="false"
|
||||
disabled="false"
|
||||
required="true"
|
||||
filter="PATH"
|
||||
message="COM_COMPONENTBUILDER_SERVER_PATH_MESSAGE"
|
||||
hint="COM_COMPONENTBUILDER_SERVER_PATH_HINT" />
|
||||
<!-- Port Field. Type: Text. (joomla)-->
|
||||
<field type="text"
|
||||
name="port"
|
||||
label="COM_COMPONENTBUILDER_SERVER_PORT_LABEL"
|
||||
size="10"
|
||||
maxlength="50"
|
||||
default="22"
|
||||
description="COM_COMPONENTBUILDER_SERVER_PORT_DESCRIPTION"
|
||||
class="text_area"
|
||||
required="true"
|
||||
filter="INT"
|
||||
message="COM_COMPONENTBUILDER_SERVER_PORT_MESSAGE"
|
||||
hint="COM_COMPONENTBUILDER_SERVER_PORT_HINT"
|
||||
onchange="if(!jQuery(this).val().match(/^\d+$/)){jQuery(this).val('')};" />
|
||||
<!-- Host Field. Type: Text. (joomla)-->
|
||||
<field type="text"
|
||||
name="host"
|
||||
label="COM_COMPONENTBUILDER_SERVER_HOST_LABEL"
|
||||
size="40"
|
||||
maxlength="150"
|
||||
description="COM_COMPONENTBUILDER_SERVER_HOST_DESCRIPTION"
|
||||
class="text_area"
|
||||
required="true"
|
||||
filter="STRING"
|
||||
message="COM_COMPONENTBUILDER_SERVER_HOST_MESSAGE"
|
||||
hint="COM_COMPONENTBUILDER_SERVER_HOST_HINT" />
|
||||
<!-- Username Field. Type: Text. (joomla)-->
|
||||
<field type="text"
|
||||
name="username"
|
||||
label="COM_COMPONENTBUILDER_SERVER_USERNAME_LABEL"
|
||||
size="60"
|
||||
maxlength="150"
|
||||
description="COM_COMPONENTBUILDER_SERVER_USERNAME_DESCRIPTION"
|
||||
class="text_area"
|
||||
required="true"
|
||||
filter="STRING"
|
||||
message="COM_COMPONENTBUILDER_SERVER_USERNAME_MESSAGE"
|
||||
hint="COM_COMPONENTBUILDER_SERVER_USERNAME_HINT" />
|
||||
</fieldset>
|
||||
<!-- 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_SERVER_CREATED_DATE_LABEL"
|
||||
description="COM_COMPONENTBUILDER_SERVER_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_SERVER_CREATED_BY_LABEL"
|
||||
description="COM_COMPONENTBUILDER_SERVER_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_SERVER_MODIFIED_DATE_LABEL" description="COM_COMPONENTBUILDER_SERVER_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_SERVER_MODIFIED_BY_LABEL"
|
||||
description="COM_COMPONENTBUILDER_SERVER_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_SERVER_ORDERING_LABEL"
|
||||
description=""
|
||||
default="0"
|
||||
size="6"
|
||||
required="false"
|
||||
/>
|
||||
<!-- Version Field. Type: Text (joomla) -->
|
||||
<field
|
||||
name="version"
|
||||
type="text"
|
||||
class="readonly"
|
||||
label="COM_COMPONENTBUILDER_SERVER_VERSION_LABEL"
|
||||
description="COM_COMPONENTBUILDER_SERVER_VERSION_DESC"
|
||||
size="6"
|
||||
readonly="true"
|
||||
filter="unset"
|
||||
/>
|
||||
<!-- Dynamic Fields. -->
|
||||
<!-- Name Field. Type: Text. (joomla) -->
|
||||
<field
|
||||
type="text"
|
||||
name="name"
|
||||
label="COM_COMPONENTBUILDER_SERVER_NAME_LABEL"
|
||||
size="40"
|
||||
maxlength="150"
|
||||
description="COM_COMPONENTBUILDER_SERVER_NAME_DESCRIPTION"
|
||||
class="text_area"
|
||||
readonly="false"
|
||||
disabled="false"
|
||||
required="true"
|
||||
filter="STRING"
|
||||
message="COM_COMPONENTBUILDER_SERVER_NAME_MESSAGE"
|
||||
hint="COM_COMPONENTBUILDER_SERVER_NAME_HINT"
|
||||
/>
|
||||
<!-- Protocol Field. Type: List. (joomla) -->
|
||||
<field
|
||||
type="list"
|
||||
name="protocol"
|
||||
label="COM_COMPONENTBUILDER_SERVER_PROTOCOL_LABEL"
|
||||
description="COM_COMPONENTBUILDER_SERVER_PROTOCOL_DESCRIPTION"
|
||||
class="list_class"
|
||||
multiple="false"
|
||||
filter="INT"
|
||||
required="true">
|
||||
<!-- Option Set. -->
|
||||
<option value="">
|
||||
COM_COMPONENTBUILDER_SERVER_SELECT_AN_OPTION</option>
|
||||
<option value="1">
|
||||
COM_COMPONENTBUILDER_SERVER_FTP</option>
|
||||
<option value="2">
|
||||
COM_COMPONENTBUILDER_SERVER_SFTP</option>
|
||||
</field>
|
||||
<!-- Note_ssh_security Field. Type: Note. A None Database Field. (joomla) -->
|
||||
<field type="note" name="note_ssh_security" label="COM_COMPONENTBUILDER_SERVER_NOTE_SSH_SECURITY_LABEL" description="COM_COMPONENTBUILDER_SERVER_NOTE_SSH_SECURITY_DESCRIPTION" heading="h4" class="alert alert-info note_ssh_security" />
|
||||
<!-- Not_required Field. Type: Hidden. (joomla) -->
|
||||
<field
|
||||
type="hidden"
|
||||
name="not_required"
|
||||
default="[]"
|
||||
/>
|
||||
<!-- Note_ftp_signature Field. Type: Note. A None Database Field. (joomla) -->
|
||||
<field type="note" name="note_ftp_signature" label="COM_COMPONENTBUILDER_SERVER_NOTE_FTP_SIGNATURE_LABEL" description="COM_COMPONENTBUILDER_SERVER_NOTE_FTP_SIGNATURE_DESCRIPTION" heading="h4" class="alert alert-success note_ftp_signature" />
|
||||
<!-- Signature Field. Type: Text. (joomla) -->
|
||||
<field
|
||||
type="text"
|
||||
name="signature"
|
||||
label="COM_COMPONENTBUILDER_SERVER_SIGNATURE_LABEL"
|
||||
size="250"
|
||||
maxlength="250"
|
||||
description="COM_COMPONENTBUILDER_SERVER_SIGNATURE_DESCRIPTION"
|
||||
class="text_area span12"
|
||||
required="true"
|
||||
filter="STRING"
|
||||
message="COM_COMPONENTBUILDER_SERVER_SIGNATURE_MESSAGE"
|
||||
hint="COM_COMPONENTBUILDER_SERVER_SIGNATURE_HINT"
|
||||
autocomplete="off"
|
||||
/>
|
||||
<!-- Private_key Field. Type: Textarea. (joomla) -->
|
||||
<field
|
||||
type="textarea"
|
||||
name="private_key"
|
||||
label="COM_COMPONENTBUILDER_SERVER_PRIVATE_KEY_LABEL"
|
||||
rows="15"
|
||||
cols="5"
|
||||
description="COM_COMPONENTBUILDER_SERVER_PRIVATE_KEY_DESCRIPTION"
|
||||
class="input-xxlarge span12"
|
||||
hint="COM_COMPONENTBUILDER_SERVER_PRIVATE_KEY_HINT"
|
||||
required="true"
|
||||
/>
|
||||
<!-- Secret Field. Type: Password. (joomla) -->
|
||||
<field
|
||||
type="password"
|
||||
name="secret"
|
||||
label="COM_COMPONENTBUILDER_SERVER_SECRET_LABEL"
|
||||
size="60"
|
||||
description="COM_COMPONENTBUILDER_SERVER_SECRET_DESCRIPTION"
|
||||
message="Error! Please add the passphrase here."
|
||||
class="text_area"
|
||||
filter="raw"
|
||||
/>
|
||||
<!-- Password Field. Type: Password. (joomla) -->
|
||||
<field
|
||||
type="password"
|
||||
name="password"
|
||||
label="COM_COMPONENTBUILDER_SERVER_PASSWORD_LABEL"
|
||||
size="60"
|
||||
description="COM_COMPONENTBUILDER_SERVER_PASSWORD_DESCRIPTION"
|
||||
message="Error! Please add the password here."
|
||||
class="text_area"
|
||||
required="true"
|
||||
filter="raw"
|
||||
/>
|
||||
<!-- Private Field. Type: Text. (joomla) -->
|
||||
<field
|
||||
type="text"
|
||||
name="private"
|
||||
label="COM_COMPONENTBUILDER_SERVER_PRIVATE_LABEL"
|
||||
size="50"
|
||||
maxlength="150"
|
||||
description="COM_COMPONENTBUILDER_SERVER_PRIVATE_DESCRIPTION"
|
||||
class="text_area"
|
||||
readonly="false"
|
||||
disabled="false"
|
||||
required="true"
|
||||
filter="PATH"
|
||||
message="COM_COMPONENTBUILDER_SERVER_PRIVATE_MESSAGE"
|
||||
hint="COM_COMPONENTBUILDER_SERVER_PRIVATE_HINT"
|
||||
/>
|
||||
<!-- Authentication Field. Type: List. (joomla) -->
|
||||
<field
|
||||
type="list"
|
||||
name="authentication"
|
||||
label="COM_COMPONENTBUILDER_SERVER_AUTHENTICATION_LABEL"
|
||||
description="COM_COMPONENTBUILDER_SERVER_AUTHENTICATION_DESCRIPTION"
|
||||
class="list_class"
|
||||
multiple="false"
|
||||
filter="INT"
|
||||
required="true">
|
||||
<!-- Option Set. -->
|
||||
<option value="">
|
||||
COM_COMPONENTBUILDER_SERVER_SELECT_AN_OPTION</option>
|
||||
<option value="1">
|
||||
COM_COMPONENTBUILDER_SERVER_PASSWORD</option>
|
||||
<option value="2">
|
||||
COM_COMPONENTBUILDER_SERVER_PRIVATE_KEY_FILE_PATH</option>
|
||||
<option value="3">
|
||||
COM_COMPONENTBUILDER_SERVER_BOTH_PASSWORD_PRIVATE_KEY_FILE_PATH</option>
|
||||
<option value="4">
|
||||
COM_COMPONENTBUILDER_SERVER_PRIVATE_KEY_TEXT_FIELD</option>
|
||||
<option value="5">
|
||||
COM_COMPONENTBUILDER_SERVER_BOTH_PASSWORD_PRIVATE_KEY_TEXT_FIELD</option>
|
||||
</field>
|
||||
<!-- Path Field. Type: Text. (joomla) -->
|
||||
<field
|
||||
type="text"
|
||||
name="path"
|
||||
label="COM_COMPONENTBUILDER_SERVER_PATH_LABEL"
|
||||
size="40"
|
||||
maxlength="150"
|
||||
description="COM_COMPONENTBUILDER_SERVER_PATH_DESCRIPTION"
|
||||
class="text_area"
|
||||
readonly="false"
|
||||
disabled="false"
|
||||
required="true"
|
||||
filter="PATH"
|
||||
message="COM_COMPONENTBUILDER_SERVER_PATH_MESSAGE"
|
||||
hint="COM_COMPONENTBUILDER_SERVER_PATH_HINT"
|
||||
/>
|
||||
<!-- Port Field. Type: Text. (joomla) -->
|
||||
<field
|
||||
type="text"
|
||||
name="port"
|
||||
label="COM_COMPONENTBUILDER_SERVER_PORT_LABEL"
|
||||
size="10"
|
||||
maxlength="50"
|
||||
default="22"
|
||||
description="COM_COMPONENTBUILDER_SERVER_PORT_DESCRIPTION"
|
||||
class="text_area"
|
||||
required="true"
|
||||
filter="INT"
|
||||
message="COM_COMPONENTBUILDER_SERVER_PORT_MESSAGE"
|
||||
hint="COM_COMPONENTBUILDER_SERVER_PORT_HINT"
|
||||
onchange="if(!jQuery(this).val().match(/^\d+$/)){jQuery(this).val('')};"
|
||||
/>
|
||||
<!-- Host Field. Type: Text. (joomla) -->
|
||||
<field
|
||||
type="text"
|
||||
name="host"
|
||||
label="COM_COMPONENTBUILDER_SERVER_HOST_LABEL"
|
||||
size="40"
|
||||
maxlength="150"
|
||||
description="COM_COMPONENTBUILDER_SERVER_HOST_DESCRIPTION"
|
||||
class="text_area"
|
||||
required="true"
|
||||
filter="STRING"
|
||||
message="COM_COMPONENTBUILDER_SERVER_HOST_MESSAGE"
|
||||
hint="COM_COMPONENTBUILDER_SERVER_HOST_HINT"
|
||||
/>
|
||||
<!-- Username Field. Type: Text. (joomla) -->
|
||||
<field
|
||||
type="text"
|
||||
name="username"
|
||||
label="COM_COMPONENTBUILDER_SERVER_USERNAME_LABEL"
|
||||
size="60"
|
||||
maxlength="150"
|
||||
description="COM_COMPONENTBUILDER_SERVER_USERNAME_DESCRIPTION"
|
||||
class="text_area"
|
||||
required="true"
|
||||
filter="STRING"
|
||||
message="COM_COMPONENTBUILDER_SERVER_USERNAME_MESSAGE"
|
||||
hint="COM_COMPONENTBUILDER_SERVER_USERNAME_HINT"
|
||||
/>
|
||||
</fieldset>
|
||||
|
||||
<!-- Access Control Fields. -->
|
||||
<fieldset name="accesscontrol">
|
||||
|
File diff suppressed because it is too large
Load Diff
@ -4,225 +4,250 @@
|
||||
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" />
|
||||
<!-- Date Created Field. Type: Calendar (joomla)-->
|
||||
<field name="created"
|
||||
type="calendar"
|
||||
label="COM_COMPONENTBUILDER_SNIPPET_CREATED_DATE_LABEL"
|
||||
description="COM_COMPONENTBUILDER_SNIPPET_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_SNIPPET_CREATED_BY_LABEL"
|
||||
description="COM_COMPONENTBUILDER_SNIPPET_CREATED_BY_DESC" />
|
||||
<!-- Published Field. Type: List (joomla)-->
|
||||
<field name="published"
|
||||
type="list"
|
||||
label="JSTATUS">
|
||||
<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_SNIPPET_MODIFIED_DATE_LABEL"
|
||||
description="COM_COMPONENTBUILDER_SNIPPET_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_SNIPPET_MODIFIED_BY_LABEL"
|
||||
description="COM_COMPONENTBUILDER_SNIPPET_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_SNIPPET_ORDERING_LABEL"
|
||||
description=""
|
||||
default="0"
|
||||
size="6"
|
||||
required="false" />
|
||||
<!-- Version Field. Type: Text (joomla)-->
|
||||
<field name="version"
|
||||
type="text"
|
||||
class="readonly"
|
||||
label="COM_COMPONENTBUILDER_SNIPPET_VERSION_LABEL"
|
||||
description="COM_COMPONENTBUILDER_SNIPPET_VERSION_DESC"
|
||||
size="6"
|
||||
readonly="true"
|
||||
filter="unset" />
|
||||
<!-- Dynamic Fields.-->
|
||||
<!-- Name Field. Type: Text. (joomla)-->
|
||||
<field type="text"
|
||||
name="name"
|
||||
label="COM_COMPONENTBUILDER_SNIPPET_NAME_LABEL"
|
||||
size="40"
|
||||
maxlength="150"
|
||||
description="COM_COMPONENTBUILDER_SNIPPET_NAME_DESCRIPTION"
|
||||
class="text_area"
|
||||
readonly="false"
|
||||
disabled="false"
|
||||
required="true"
|
||||
filter="STRING"
|
||||
message="COM_COMPONENTBUILDER_SNIPPET_NAME_MESSAGE"
|
||||
hint="COM_COMPONENTBUILDER_SNIPPET_NAME_HINT" />
|
||||
<!-- Url Field. Type: Url. (joomla)-->
|
||||
<field type="url"
|
||||
name="url"
|
||||
label="COM_COMPONENTBUILDER_SNIPPET_URL_LABEL"
|
||||
size="60"
|
||||
maxlength="150"
|
||||
description="COM_COMPONENTBUILDER_SNIPPET_URL_DESCRIPTION"
|
||||
class="text_area"
|
||||
required="true"
|
||||
filter="url"
|
||||
validated="url"
|
||||
message="COM_COMPONENTBUILDER_SNIPPET_URL_MESSAGE"
|
||||
hint="COM_COMPONENTBUILDER_SNIPPET_URL_HINT" />
|
||||
<!-- Type Field. Type: Snippettype. (custom)-->
|
||||
<field type="snippettype"
|
||||
name="type"
|
||||
label="COM_COMPONENTBUILDER_SNIPPET_TYPE_LABEL"
|
||||
description="COM_COMPONENTBUILDER_SNIPPET_TYPE_DESCRIPTION"
|
||||
class="list_class"
|
||||
multiple="false"
|
||||
default="0"
|
||||
required="true" />
|
||||
<!-- Heading Field. Type: Text. (joomla)-->
|
||||
<field type="text"
|
||||
name="heading"
|
||||
label="COM_COMPONENTBUILDER_SNIPPET_HEADING_LABEL"
|
||||
size="40"
|
||||
maxlength="150"
|
||||
description="COM_COMPONENTBUILDER_SNIPPET_HEADING_DESCRIPTION"
|
||||
class="text_area"
|
||||
required="true"
|
||||
filter="HTML"
|
||||
message="COM_COMPONENTBUILDER_SNIPPET_HEADING_MESSAGE"
|
||||
hint="COM_COMPONENTBUILDER_SNIPPET_HEADING_HINT" />
|
||||
<!-- Library Field. Type: Library. (custom)-->
|
||||
<field type="library"
|
||||
name="library"
|
||||
label="COM_COMPONENTBUILDER_SNIPPET_LIBRARY_LABEL"
|
||||
description="COM_COMPONENTBUILDER_SNIPPET_LIBRARY_DESCRIPTION"
|
||||
class="list_class"
|
||||
multiple="false"
|
||||
default="0"
|
||||
required="true"
|
||||
button="true" />
|
||||
<!-- Note_contributor_details Field. Type: Note. A None Database Field. (joomla)-->
|
||||
<field type="note"
|
||||
name="note_contributor_details"
|
||||
label="COM_COMPONENTBUILDER_SNIPPET_NOTE_CONTRIBUTOR_DETAILS_LABEL"
|
||||
description="COM_COMPONENTBUILDER_SNIPPET_NOTE_CONTRIBUTOR_DETAILS_DESCRIPTION"
|
||||
heading="h4"
|
||||
class="alert alert-info note_contributor_details" />
|
||||
<!-- Contributor_email Field. Type: Text. (joomla)-->
|
||||
<field type="text"
|
||||
name="contributor_email"
|
||||
label="COM_COMPONENTBUILDER_SNIPPET_CONTRIBUTOR_EMAIL_LABEL"
|
||||
size="10"
|
||||
maxlength="50"
|
||||
description="COM_COMPONENTBUILDER_SNIPPET_CONTRIBUTOR_EMAIL_DESCRIPTION"
|
||||
class="text_area"
|
||||
readonly="true"
|
||||
filter="STRING"
|
||||
message="COM_COMPONENTBUILDER_SNIPPET_CONTRIBUTOR_EMAIL_MESSAGE"
|
||||
hint="COM_COMPONENTBUILDER_SNIPPET_CONTRIBUTOR_EMAIL_HINT" />
|
||||
<!-- Contributor_name Field. Type: Text. (joomla)-->
|
||||
<field type="text"
|
||||
name="contributor_name"
|
||||
label="COM_COMPONENTBUILDER_SNIPPET_CONTRIBUTOR_NAME_LABEL"
|
||||
size="10"
|
||||
maxlength="50"
|
||||
description="COM_COMPONENTBUILDER_SNIPPET_CONTRIBUTOR_NAME_DESCRIPTION"
|
||||
class="text_area"
|
||||
readonly="true"
|
||||
filter="STRING"
|
||||
message="COM_COMPONENTBUILDER_SNIPPET_CONTRIBUTOR_NAME_MESSAGE"
|
||||
hint="COM_COMPONENTBUILDER_SNIPPET_CONTRIBUTOR_NAME_HINT" />
|
||||
<!-- Contributor_website Field. Type: Text. (joomla)-->
|
||||
<field type="text"
|
||||
name="contributor_website"
|
||||
label="COM_COMPONENTBUILDER_SNIPPET_CONTRIBUTOR_WEBSITE_LABEL"
|
||||
size="10"
|
||||
maxlength="50"
|
||||
description="COM_COMPONENTBUILDER_SNIPPET_CONTRIBUTOR_WEBSITE_DESCRIPTION"
|
||||
class="text_area"
|
||||
readonly="true"
|
||||
filter="STRING"
|
||||
message="COM_COMPONENTBUILDER_SNIPPET_CONTRIBUTOR_WEBSITE_MESSAGE"
|
||||
hint="COM_COMPONENTBUILDER_SNIPPET_CONTRIBUTOR_WEBSITE_HINT" />
|
||||
<!-- Contributor_company Field. Type: Text. (joomla)-->
|
||||
<field type="text"
|
||||
name="contributor_company"
|
||||
label="COM_COMPONENTBUILDER_SNIPPET_CONTRIBUTOR_COMPANY_LABEL"
|
||||
size="10"
|
||||
maxlength="50"
|
||||
description="COM_COMPONENTBUILDER_SNIPPET_CONTRIBUTOR_COMPANY_DESCRIPTION"
|
||||
class="text_area"
|
||||
readonly="true"
|
||||
filter="STRING"
|
||||
message="COM_COMPONENTBUILDER_SNIPPET_CONTRIBUTOR_COMPANY_MESSAGE"
|
||||
hint="COM_COMPONENTBUILDER_SNIPPET_CONTRIBUTOR_COMPANY_HINT" />
|
||||
<!-- Snippet Field. Type: Textarea. (joomla)-->
|
||||
<field type="textarea"
|
||||
name="snippet"
|
||||
label="COM_COMPONENTBUILDER_SNIPPET_SNIPPET_LABEL"
|
||||
rows="27"
|
||||
cols="10"
|
||||
class="text_area span12"
|
||||
filter="raw"
|
||||
hint="COM_COMPONENTBUILDER_SNIPPET_SNIPPET_HINT"
|
||||
required="true" />
|
||||
<!-- Usage Field. Type: Textarea. (joomla)-->
|
||||
<field type="textarea"
|
||||
name="usage"
|
||||
label="COM_COMPONENTBUILDER_SNIPPET_USAGE_LABEL"
|
||||
rows="11"
|
||||
cols="10"
|
||||
description="COM_COMPONENTBUILDER_SNIPPET_USAGE_DESCRIPTION"
|
||||
class="text_area span12"
|
||||
filter="STRING"
|
||||
hint="COM_COMPONENTBUILDER_SNIPPET_USAGE_HINT" />
|
||||
<!-- Description Field. Type: Textarea. (joomla)-->
|
||||
<field type="textarea"
|
||||
name="description"
|
||||
label="COM_COMPONENTBUILDER_SNIPPET_DESCRIPTION_LABEL"
|
||||
rows="11"
|
||||
cols="10"
|
||||
description="COM_COMPONENTBUILDER_SNIPPET_DESCRIPTION_DESCRIPTION"
|
||||
class="text_area span12"
|
||||
filter="HTML"
|
||||
hint="COM_COMPONENTBUILDER_SNIPPET_DESCRIPTION_HINT" />
|
||||
</fieldset>
|
||||
<!-- 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_SNIPPET_CREATED_DATE_LABEL"
|
||||
description="COM_COMPONENTBUILDER_SNIPPET_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_SNIPPET_CREATED_BY_LABEL"
|
||||
description="COM_COMPONENTBUILDER_SNIPPET_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_SNIPPET_MODIFIED_DATE_LABEL" description="COM_COMPONENTBUILDER_SNIPPET_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_SNIPPET_MODIFIED_BY_LABEL"
|
||||
description="COM_COMPONENTBUILDER_SNIPPET_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_SNIPPET_ORDERING_LABEL"
|
||||
description=""
|
||||
default="0"
|
||||
size="6"
|
||||
required="false"
|
||||
/>
|
||||
<!-- Version Field. Type: Text (joomla) -->
|
||||
<field
|
||||
name="version"
|
||||
type="text"
|
||||
class="readonly"
|
||||
label="COM_COMPONENTBUILDER_SNIPPET_VERSION_LABEL"
|
||||
description="COM_COMPONENTBUILDER_SNIPPET_VERSION_DESC"
|
||||
size="6"
|
||||
readonly="true"
|
||||
filter="unset"
|
||||
/>
|
||||
<!-- Dynamic Fields. -->
|
||||
<!-- Name Field. Type: Text. (joomla) -->
|
||||
<field
|
||||
type="text"
|
||||
name="name"
|
||||
label="COM_COMPONENTBUILDER_SNIPPET_NAME_LABEL"
|
||||
size="40"
|
||||
maxlength="150"
|
||||
description="COM_COMPONENTBUILDER_SNIPPET_NAME_DESCRIPTION"
|
||||
class="text_area"
|
||||
readonly="false"
|
||||
disabled="false"
|
||||
required="true"
|
||||
filter="STRING"
|
||||
message="COM_COMPONENTBUILDER_SNIPPET_NAME_MESSAGE"
|
||||
hint="COM_COMPONENTBUILDER_SNIPPET_NAME_HINT"
|
||||
/>
|
||||
<!-- Url Field. Type: Url. (joomla) -->
|
||||
<field
|
||||
type="url"
|
||||
name="url"
|
||||
label="COM_COMPONENTBUILDER_SNIPPET_URL_LABEL"
|
||||
size="60"
|
||||
maxlength="150"
|
||||
description="COM_COMPONENTBUILDER_SNIPPET_URL_DESCRIPTION"
|
||||
class="text_area"
|
||||
required="true"
|
||||
filter="url"
|
||||
validated="url"
|
||||
message="COM_COMPONENTBUILDER_SNIPPET_URL_MESSAGE"
|
||||
hint="COM_COMPONENTBUILDER_SNIPPET_URL_HINT"
|
||||
/>
|
||||
<!-- Type Field. Type: Snippettype. (custom) -->
|
||||
<field
|
||||
type="snippettype"
|
||||
name="type"
|
||||
label="COM_COMPONENTBUILDER_SNIPPET_TYPE_LABEL"
|
||||
description="COM_COMPONENTBUILDER_SNIPPET_TYPE_DESCRIPTION"
|
||||
class="list_class"
|
||||
multiple="false"
|
||||
default="0"
|
||||
required="true"
|
||||
/>
|
||||
<!-- Heading Field. Type: Text. (joomla) -->
|
||||
<field
|
||||
type="text"
|
||||
name="heading"
|
||||
label="COM_COMPONENTBUILDER_SNIPPET_HEADING_LABEL"
|
||||
size="40"
|
||||
maxlength="150"
|
||||
description="COM_COMPONENTBUILDER_SNIPPET_HEADING_DESCRIPTION"
|
||||
class="text_area"
|
||||
required="true"
|
||||
filter="HTML"
|
||||
message="COM_COMPONENTBUILDER_SNIPPET_HEADING_MESSAGE"
|
||||
hint="COM_COMPONENTBUILDER_SNIPPET_HEADING_HINT"
|
||||
/>
|
||||
<!-- Library Field. Type: Library. (custom) -->
|
||||
<field
|
||||
type="library"
|
||||
name="library"
|
||||
label="COM_COMPONENTBUILDER_SNIPPET_LIBRARY_LABEL"
|
||||
description="COM_COMPONENTBUILDER_SNIPPET_LIBRARY_DESCRIPTION"
|
||||
class="list_class"
|
||||
multiple="false"
|
||||
default="0"
|
||||
required="true"
|
||||
button="true"
|
||||
/>
|
||||
<!-- Note_contributor_details Field. Type: Note. A None Database Field. (joomla) -->
|
||||
<field type="note" name="note_contributor_details" label="COM_COMPONENTBUILDER_SNIPPET_NOTE_CONTRIBUTOR_DETAILS_LABEL" description="COM_COMPONENTBUILDER_SNIPPET_NOTE_CONTRIBUTOR_DETAILS_DESCRIPTION" heading="h4" class="alert alert-info note_contributor_details" />
|
||||
<!-- Contributor_email Field. Type: Text. (joomla) -->
|
||||
<field
|
||||
type="text"
|
||||
name="contributor_email"
|
||||
label="COM_COMPONENTBUILDER_SNIPPET_CONTRIBUTOR_EMAIL_LABEL"
|
||||
size="10"
|
||||
maxlength="50"
|
||||
description="COM_COMPONENTBUILDER_SNIPPET_CONTRIBUTOR_EMAIL_DESCRIPTION"
|
||||
class="text_area"
|
||||
readonly="true"
|
||||
filter="STRING"
|
||||
message="COM_COMPONENTBUILDER_SNIPPET_CONTRIBUTOR_EMAIL_MESSAGE"
|
||||
hint="COM_COMPONENTBUILDER_SNIPPET_CONTRIBUTOR_EMAIL_HINT"
|
||||
/>
|
||||
<!-- Contributor_name Field. Type: Text. (joomla) -->
|
||||
<field
|
||||
type="text"
|
||||
name="contributor_name"
|
||||
label="COM_COMPONENTBUILDER_SNIPPET_CONTRIBUTOR_NAME_LABEL"
|
||||
size="10"
|
||||
maxlength="50"
|
||||
description="COM_COMPONENTBUILDER_SNIPPET_CONTRIBUTOR_NAME_DESCRIPTION"
|
||||
class="text_area"
|
||||
readonly="true"
|
||||
filter="STRING"
|
||||
message="COM_COMPONENTBUILDER_SNIPPET_CONTRIBUTOR_NAME_MESSAGE"
|
||||
hint="COM_COMPONENTBUILDER_SNIPPET_CONTRIBUTOR_NAME_HINT"
|
||||
/>
|
||||
<!-- Contributor_website Field. Type: Text. (joomla) -->
|
||||
<field
|
||||
type="text"
|
||||
name="contributor_website"
|
||||
label="COM_COMPONENTBUILDER_SNIPPET_CONTRIBUTOR_WEBSITE_LABEL"
|
||||
size="10"
|
||||
maxlength="50"
|
||||
description="COM_COMPONENTBUILDER_SNIPPET_CONTRIBUTOR_WEBSITE_DESCRIPTION"
|
||||
class="text_area"
|
||||
readonly="true"
|
||||
filter="STRING"
|
||||
message="COM_COMPONENTBUILDER_SNIPPET_CONTRIBUTOR_WEBSITE_MESSAGE"
|
||||
hint="COM_COMPONENTBUILDER_SNIPPET_CONTRIBUTOR_WEBSITE_HINT"
|
||||
/>
|
||||
<!-- Contributor_company Field. Type: Text. (joomla) -->
|
||||
<field
|
||||
type="text"
|
||||
name="contributor_company"
|
||||
label="COM_COMPONENTBUILDER_SNIPPET_CONTRIBUTOR_COMPANY_LABEL"
|
||||
size="10"
|
||||
maxlength="50"
|
||||
description="COM_COMPONENTBUILDER_SNIPPET_CONTRIBUTOR_COMPANY_DESCRIPTION"
|
||||
class="text_area"
|
||||
readonly="true"
|
||||
filter="STRING"
|
||||
message="COM_COMPONENTBUILDER_SNIPPET_CONTRIBUTOR_COMPANY_MESSAGE"
|
||||
hint="COM_COMPONENTBUILDER_SNIPPET_CONTRIBUTOR_COMPANY_HINT"
|
||||
/>
|
||||
<!-- Snippet Field. Type: Textarea. (joomla) -->
|
||||
<field
|
||||
type="textarea"
|
||||
name="snippet"
|
||||
label="COM_COMPONENTBUILDER_SNIPPET_SNIPPET_LABEL"
|
||||
rows="27"
|
||||
cols="10"
|
||||
class="text_area span12"
|
||||
filter="raw"
|
||||
hint="COM_COMPONENTBUILDER_SNIPPET_SNIPPET_HINT"
|
||||
required="true"
|
||||
/>
|
||||
<!-- Usage Field. Type: Textarea. (joomla) -->
|
||||
<field
|
||||
type="textarea"
|
||||
name="usage"
|
||||
label="COM_COMPONENTBUILDER_SNIPPET_USAGE_LABEL"
|
||||
rows="11"
|
||||
cols="10"
|
||||
description="COM_COMPONENTBUILDER_SNIPPET_USAGE_DESCRIPTION"
|
||||
class="text_area span12"
|
||||
filter="STRING"
|
||||
hint="COM_COMPONENTBUILDER_SNIPPET_USAGE_HINT"
|
||||
/>
|
||||
<!-- Description Field. Type: Textarea. (joomla) -->
|
||||
<field
|
||||
type="textarea"
|
||||
name="description"
|
||||
label="COM_COMPONENTBUILDER_SNIPPET_DESCRIPTION_LABEL"
|
||||
rows="11"
|
||||
cols="10"
|
||||
description="COM_COMPONENTBUILDER_SNIPPET_DESCRIPTION_DESCRIPTION"
|
||||
class="text_area span12"
|
||||
filter="HTML"
|
||||
hint="COM_COMPONENTBUILDER_SNIPPET_DESCRIPTION_HINT"
|
||||
/>
|
||||
</fieldset>
|
||||
|
||||
<!-- Access Control Fields. -->
|
||||
<fieldset name="accesscontrol">
|
||||
|
@ -4,110 +4,120 @@
|
||||
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" />
|
||||
<!-- Date Created Field. Type: Calendar (joomla)-->
|
||||
<field name="created"
|
||||
type="calendar"
|
||||
label="COM_COMPONENTBUILDER_SNIPPET_TYPE_CREATED_DATE_LABEL"
|
||||
description="COM_COMPONENTBUILDER_SNIPPET_TYPE_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_SNIPPET_TYPE_CREATED_BY_LABEL"
|
||||
description="COM_COMPONENTBUILDER_SNIPPET_TYPE_CREATED_BY_DESC" />
|
||||
<!-- Published Field. Type: List (joomla)-->
|
||||
<field name="published"
|
||||
type="list"
|
||||
label="JSTATUS">
|
||||
<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_SNIPPET_TYPE_MODIFIED_DATE_LABEL"
|
||||
description="COM_COMPONENTBUILDER_SNIPPET_TYPE_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_SNIPPET_TYPE_MODIFIED_BY_LABEL"
|
||||
description="COM_COMPONENTBUILDER_SNIPPET_TYPE_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_SNIPPET_TYPE_ORDERING_LABEL"
|
||||
description=""
|
||||
default="0"
|
||||
size="6"
|
||||
required="false" />
|
||||
<!-- Version Field. Type: Text (joomla)-->
|
||||
<field name="version"
|
||||
type="text"
|
||||
class="readonly"
|
||||
label="COM_COMPONENTBUILDER_SNIPPET_TYPE_VERSION_LABEL"
|
||||
description="COM_COMPONENTBUILDER_SNIPPET_TYPE_VERSION_DESC"
|
||||
size="6"
|
||||
readonly="true"
|
||||
filter="unset" />
|
||||
<!-- Dynamic Fields.-->
|
||||
<!-- Name Field. Type: Text. (joomla)-->
|
||||
<field type="text"
|
||||
name="name"
|
||||
label="COM_COMPONENTBUILDER_SNIPPET_TYPE_NAME_LABEL"
|
||||
size="40"
|
||||
maxlength="150"
|
||||
description="COM_COMPONENTBUILDER_SNIPPET_TYPE_NAME_DESCRIPTION"
|
||||
class="text_area"
|
||||
readonly="false"
|
||||
disabled="false"
|
||||
required="true"
|
||||
filter="STRING"
|
||||
message="COM_COMPONENTBUILDER_SNIPPET_TYPE_NAME_MESSAGE"
|
||||
hint="COM_COMPONENTBUILDER_SNIPPET_TYPE_NAME_HINT" />
|
||||
<!-- Description Field. Type: Text. (joomla)-->
|
||||
<field type="text"
|
||||
name="description"
|
||||
label="COM_COMPONENTBUILDER_SNIPPET_TYPE_DESCRIPTION_LABEL"
|
||||
size="80"
|
||||
maxlength="150"
|
||||
description="COM_COMPONENTBUILDER_SNIPPET_TYPE_DESCRIPTION_DESCRIPTION"
|
||||
class="text_area"
|
||||
readonly="false"
|
||||
disabled="false"
|
||||
required="false"
|
||||
filter="STRING"
|
||||
message="COM_COMPONENTBUILDER_SNIPPET_TYPE_DESCRIPTION_MESSAGE"
|
||||
hint="COM_COMPONENTBUILDER_SNIPPET_TYPE_DESCRIPTION_HINT" />
|
||||
</fieldset>
|
||||
<!-- 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_SNIPPET_TYPE_CREATED_DATE_LABEL"
|
||||
description="COM_COMPONENTBUILDER_SNIPPET_TYPE_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_SNIPPET_TYPE_CREATED_BY_LABEL"
|
||||
description="COM_COMPONENTBUILDER_SNIPPET_TYPE_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_SNIPPET_TYPE_MODIFIED_DATE_LABEL" description="COM_COMPONENTBUILDER_SNIPPET_TYPE_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_SNIPPET_TYPE_MODIFIED_BY_LABEL"
|
||||
description="COM_COMPONENTBUILDER_SNIPPET_TYPE_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_SNIPPET_TYPE_ORDERING_LABEL"
|
||||
description=""
|
||||
default="0"
|
||||
size="6"
|
||||
required="false"
|
||||
/>
|
||||
<!-- Version Field. Type: Text (joomla) -->
|
||||
<field
|
||||
name="version"
|
||||
type="text"
|
||||
class="readonly"
|
||||
label="COM_COMPONENTBUILDER_SNIPPET_TYPE_VERSION_LABEL"
|
||||
description="COM_COMPONENTBUILDER_SNIPPET_TYPE_VERSION_DESC"
|
||||
size="6"
|
||||
readonly="true"
|
||||
filter="unset"
|
||||
/>
|
||||
<!-- Dynamic Fields. -->
|
||||
<!-- Name Field. Type: Text. (joomla) -->
|
||||
<field
|
||||
type="text"
|
||||
name="name"
|
||||
label="COM_COMPONENTBUILDER_SNIPPET_TYPE_NAME_LABEL"
|
||||
size="40"
|
||||
maxlength="150"
|
||||
description="COM_COMPONENTBUILDER_SNIPPET_TYPE_NAME_DESCRIPTION"
|
||||
class="text_area"
|
||||
readonly="false"
|
||||
disabled="false"
|
||||
required="true"
|
||||
filter="STRING"
|
||||
message="COM_COMPONENTBUILDER_SNIPPET_TYPE_NAME_MESSAGE"
|
||||
hint="COM_COMPONENTBUILDER_SNIPPET_TYPE_NAME_HINT"
|
||||
/>
|
||||
<!-- Description Field. Type: Text. (joomla) -->
|
||||
<field
|
||||
type="text"
|
||||
name="description"
|
||||
label="COM_COMPONENTBUILDER_SNIPPET_TYPE_DESCRIPTION_LABEL"
|
||||
size="80"
|
||||
maxlength="150"
|
||||
description="COM_COMPONENTBUILDER_SNIPPET_TYPE_DESCRIPTION_DESCRIPTION"
|
||||
class="text_area"
|
||||
readonly="false"
|
||||
disabled="false"
|
||||
required="false"
|
||||
filter="STRING"
|
||||
message="COM_COMPONENTBUILDER_SNIPPET_TYPE_DESCRIPTION_MESSAGE"
|
||||
hint="COM_COMPONENTBUILDER_SNIPPET_TYPE_DESCRIPTION_HINT"
|
||||
/>
|
||||
</fieldset>
|
||||
|
||||
<!-- Access Control Fields. -->
|
||||
<fieldset name="accesscontrol">
|
||||
|
@ -4,217 +4,221 @@
|
||||
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" />
|
||||
<!-- Date Created Field. Type: Calendar (joomla)-->
|
||||
<field name="created"
|
||||
type="calendar"
|
||||
label="COM_COMPONENTBUILDER_TEMPLATE_CREATED_DATE_LABEL"
|
||||
description="COM_COMPONENTBUILDER_TEMPLATE_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_TEMPLATE_CREATED_BY_LABEL"
|
||||
description="COM_COMPONENTBUILDER_TEMPLATE_CREATED_BY_DESC" />
|
||||
<!-- Published Field. Type: List (joomla)-->
|
||||
<field name="published"
|
||||
type="list"
|
||||
label="JSTATUS">
|
||||
<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_TEMPLATE_MODIFIED_DATE_LABEL"
|
||||
description="COM_COMPONENTBUILDER_TEMPLATE_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_TEMPLATE_MODIFIED_BY_LABEL"
|
||||
description="COM_COMPONENTBUILDER_TEMPLATE_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_TEMPLATE_ORDERING_LABEL"
|
||||
description=""
|
||||
default="0"
|
||||
size="6"
|
||||
required="false" />
|
||||
<!-- Version Field. Type: Text (joomla)-->
|
||||
<field name="version"
|
||||
type="text"
|
||||
class="readonly"
|
||||
label="COM_COMPONENTBUILDER_TEMPLATE_VERSION_LABEL"
|
||||
description="COM_COMPONENTBUILDER_TEMPLATE_VERSION_DESC"
|
||||
size="6"
|
||||
readonly="true"
|
||||
filter="unset" />
|
||||
<!-- Dynamic Fields.-->
|
||||
<!-- Name Field. Type: Text. (joomla)-->
|
||||
<field type="text"
|
||||
name="name"
|
||||
label="COM_COMPONENTBUILDER_TEMPLATE_NAME_LABEL"
|
||||
size="40"
|
||||
maxlength="150"
|
||||
description="COM_COMPONENTBUILDER_TEMPLATE_NAME_DESCRIPTION"
|
||||
class="text_area"
|
||||
readonly="false"
|
||||
disabled="false"
|
||||
required="true"
|
||||
filter="STRING"
|
||||
message="COM_COMPONENTBUILDER_TEMPLATE_NAME_MESSAGE"
|
||||
hint="COM_COMPONENTBUILDER_TEMPLATE_NAME_HINT" />
|
||||
<!-- Alias Field. Type: Text. (joomla)-->
|
||||
<field type="text"
|
||||
name="alias"
|
||||
label="COM_COMPONENTBUILDER_TEMPLATE_ALIAS_LABEL"
|
||||
size="40"
|
||||
maxlength="50"
|
||||
description="COM_COMPONENTBUILDER_TEMPLATE_ALIAS_DESCRIPTION"
|
||||
class="text_area"
|
||||
filter="CMD"
|
||||
message="COM_COMPONENTBUILDER_TEMPLATE_ALIAS_MESSAGE"
|
||||
hint="COM_COMPONENTBUILDER_TEMPLATE_ALIAS_HINT" />
|
||||
<!-- Description Field. Type: Text. (joomla)-->
|
||||
<field type="text"
|
||||
name="description"
|
||||
label="COM_COMPONENTBUILDER_TEMPLATE_DESCRIPTION_LABEL"
|
||||
size="80"
|
||||
maxlength="150"
|
||||
description="COM_COMPONENTBUILDER_TEMPLATE_DESCRIPTION_DESCRIPTION"
|
||||
class="text_area"
|
||||
readonly="false"
|
||||
disabled="false"
|
||||
required="true"
|
||||
filter="STRING"
|
||||
message="COM_COMPONENTBUILDER_TEMPLATE_DESCRIPTION_MESSAGE"
|
||||
hint="COM_COMPONENTBUILDER_TEMPLATE_DESCRIPTION_HINT" />
|
||||
<!-- Snippet Field. Type: Snippets. (custom)-->
|
||||
<field type="snippets"
|
||||
name="snippet"
|
||||
label="COM_COMPONENTBUILDER_TEMPLATE_SNIPPET_LABEL"
|
||||
description="COM_COMPONENTBUILDER_TEMPLATE_SNIPPET_DESCRIPTION"
|
||||
class="list_class"
|
||||
multiple="false"
|
||||
required="false"
|
||||
button="true" />
|
||||
<!-- Php_view Field. Type: Textarea. (joomla)-->
|
||||
<field type="textarea"
|
||||
name="php_view"
|
||||
label="COM_COMPONENTBUILDER_TEMPLATE_PHP_VIEW_LABEL"
|
||||
rows="17"
|
||||
cols="5"
|
||||
description="COM_COMPONENTBUILDER_TEMPLATE_PHP_VIEW_DESCRIPTION"
|
||||
class="text_area span12"
|
||||
filter="raw"
|
||||
hint="COM_COMPONENTBUILDER_TEMPLATE_PHP_VIEW_HINT"
|
||||
required="true" />
|
||||
<!-- Add_php_view Field. Type: Radio. (joomla)-->
|
||||
<field type="radio"
|
||||
name="add_php_view"
|
||||
label="COM_COMPONENTBUILDER_TEMPLATE_ADD_PHP_VIEW_LABEL"
|
||||
class="btn-group btn-group-yesno"
|
||||
default="0"
|
||||
required="true">
|
||||
<!-- Option Set.-->
|
||||
<option value="1">COM_COMPONENTBUILDER_TEMPLATE_YES</option>
|
||||
<option value="0">COM_COMPONENTBUILDER_TEMPLATE_NO</option>
|
||||
</field>
|
||||
<!-- Dynamic_values Field. Type: Note. A None Database Field. (joomla)-->
|
||||
<field type="note"
|
||||
name="dynamic_values"
|
||||
label="COM_COMPONENTBUILDER_TEMPLATE_DYNAMIC_VALUES_LABEL"
|
||||
description="COM_COMPONENTBUILDER_TEMPLATE_DYNAMIC_VALUES_DESCRIPTION"
|
||||
heading="h4"
|
||||
class="dynamic_values" />
|
||||
<!-- Dynamic_get Field. Type: Dynamicget. (custom)-->
|
||||
<field type="dynamicget"
|
||||
name="dynamic_get"
|
||||
label="COM_COMPONENTBUILDER_TEMPLATE_DYNAMIC_GET_LABEL"
|
||||
description="COM_COMPONENTBUILDER_TEMPLATE_DYNAMIC_GET_DESCRIPTION"
|
||||
multiple="false"
|
||||
required="false"
|
||||
button="true" />
|
||||
<!-- Not_required Field. Type: Hidden. (joomla)-->
|
||||
<field type="hidden"
|
||||
name="not_required"
|
||||
default="[]" />
|
||||
<!-- Template Field. Type: Textarea. (joomla)-->
|
||||
<field type="textarea"
|
||||
name="template"
|
||||
label="COM_COMPONENTBUILDER_TEMPLATE_TEMPLATE_LABEL"
|
||||
rows="20"
|
||||
cols="15"
|
||||
class="text_area span12"
|
||||
filter="raw"
|
||||
hint="COM_COMPONENTBUILDER_TEMPLATE_TEMPLATE_HINT"
|
||||
required="true" />
|
||||
<!-- Note_snippet_usage Field. Type: Note. A None Database Field. (joomla)-->
|
||||
<field type="note"
|
||||
name="note_snippet_usage"
|
||||
label="COM_COMPONENTBUILDER_TEMPLATE_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_TEMPLATE_NOTE_UIKIT_SNIPPET_LABEL"
|
||||
heading="h4"
|
||||
class="snippet-code note_uikit_snippet" />
|
||||
<!-- Note_add_language_string Field. Type: Note. A None Database Field. (joomla)-->
|
||||
<field type="note"
|
||||
name="note_add_language_string"
|
||||
label="COM_COMPONENTBUILDER_TEMPLATE_NOTE_ADD_LANGUAGE_STRING_LABEL"
|
||||
description="COM_COMPONENTBUILDER_TEMPLATE_NOTE_ADD_LANGUAGE_STRING_DESCRIPTION"
|
||||
heading="h4"
|
||||
class="note_add_language_string" />
|
||||
<!-- Libraries Field. Type: Libraries. (custom)-->
|
||||
<field type="libraries"
|
||||
name="libraries"
|
||||
label="COM_COMPONENTBUILDER_TEMPLATE_LIBRARIES_LABEL"
|
||||
description="COM_COMPONENTBUILDER_TEMPLATE_LIBRARIES_DESCRIPTION"
|
||||
class="list_class"
|
||||
multiple="true"
|
||||
default="0"
|
||||
required="false"
|
||||
button="true" />
|
||||
<!-- Note_libraries_selection Field. Type: Note. A None Database Field. (joomla)-->
|
||||
<field type="note"
|
||||
name="note_libraries_selection"
|
||||
label="COM_COMPONENTBUILDER_TEMPLATE_NOTE_LIBRARIES_SELECTION_LABEL"
|
||||
description="COM_COMPONENTBUILDER_TEMPLATE_NOTE_LIBRARIES_SELECTION_DESCRIPTION"
|
||||
heading="h4"
|
||||
class="alert alert-info note_libraries_selection" />
|
||||
</fieldset>
|
||||
<!-- 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_TEMPLATE_CREATED_DATE_LABEL"
|
||||
description="COM_COMPONENTBUILDER_TEMPLATE_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_TEMPLATE_CREATED_BY_LABEL"
|
||||
description="COM_COMPONENTBUILDER_TEMPLATE_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_TEMPLATE_MODIFIED_DATE_LABEL" description="COM_COMPONENTBUILDER_TEMPLATE_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_TEMPLATE_MODIFIED_BY_LABEL"
|
||||
description="COM_COMPONENTBUILDER_TEMPLATE_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_TEMPLATE_ORDERING_LABEL"
|
||||
description=""
|
||||
default="0"
|
||||
size="6"
|
||||
required="false"
|
||||
/>
|
||||
<!-- Version Field. Type: Text (joomla) -->
|
||||
<field
|
||||
name="version"
|
||||
type="text"
|
||||
class="readonly"
|
||||
label="COM_COMPONENTBUILDER_TEMPLATE_VERSION_LABEL"
|
||||
description="COM_COMPONENTBUILDER_TEMPLATE_VERSION_DESC"
|
||||
size="6"
|
||||
readonly="true"
|
||||
filter="unset"
|
||||
/>
|
||||
<!-- Dynamic Fields. -->
|
||||
<!-- Name Field. Type: Text. (joomla) -->
|
||||
<field
|
||||
type="text"
|
||||
name="name"
|
||||
label="COM_COMPONENTBUILDER_TEMPLATE_NAME_LABEL"
|
||||
size="40"
|
||||
maxlength="150"
|
||||
description="COM_COMPONENTBUILDER_TEMPLATE_NAME_DESCRIPTION"
|
||||
class="text_area"
|
||||
readonly="false"
|
||||
disabled="false"
|
||||
required="true"
|
||||
filter="STRING"
|
||||
message="COM_COMPONENTBUILDER_TEMPLATE_NAME_MESSAGE"
|
||||
hint="COM_COMPONENTBUILDER_TEMPLATE_NAME_HINT"
|
||||
/>
|
||||
<!-- Alias Field. Type: Text. (joomla) -->
|
||||
<field
|
||||
type="text"
|
||||
name="alias"
|
||||
label="COM_COMPONENTBUILDER_TEMPLATE_ALIAS_LABEL"
|
||||
size="40"
|
||||
maxlength="50"
|
||||
description="COM_COMPONENTBUILDER_TEMPLATE_ALIAS_DESCRIPTION"
|
||||
class="text_area"
|
||||
filter="CMD"
|
||||
message="COM_COMPONENTBUILDER_TEMPLATE_ALIAS_MESSAGE"
|
||||
hint="COM_COMPONENTBUILDER_TEMPLATE_ALIAS_HINT"
|
||||
/>
|
||||
<!-- Description Field. Type: Text. (joomla) -->
|
||||
<field
|
||||
type="text"
|
||||
name="description"
|
||||
label="COM_COMPONENTBUILDER_TEMPLATE_DESCRIPTION_LABEL"
|
||||
size="80"
|
||||
maxlength="150"
|
||||
description="COM_COMPONENTBUILDER_TEMPLATE_DESCRIPTION_DESCRIPTION"
|
||||
class="text_area"
|
||||
readonly="false"
|
||||
disabled="false"
|
||||
required="true"
|
||||
filter="STRING"
|
||||
message="COM_COMPONENTBUILDER_TEMPLATE_DESCRIPTION_MESSAGE"
|
||||
hint="COM_COMPONENTBUILDER_TEMPLATE_DESCRIPTION_HINT"
|
||||
/>
|
||||
<!-- Snippet Field. Type: Snippets. (custom) -->
|
||||
<field
|
||||
type="snippets"
|
||||
name="snippet"
|
||||
label="COM_COMPONENTBUILDER_TEMPLATE_SNIPPET_LABEL"
|
||||
description="COM_COMPONENTBUILDER_TEMPLATE_SNIPPET_DESCRIPTION"
|
||||
class="list_class"
|
||||
multiple="false"
|
||||
required="false"
|
||||
button="true"
|
||||
/>
|
||||
<!-- Php_view Field. Type: Textarea. (joomla) -->
|
||||
<field
|
||||
type="textarea"
|
||||
name="php_view"
|
||||
label="COM_COMPONENTBUILDER_TEMPLATE_PHP_VIEW_LABEL"
|
||||
rows="17"
|
||||
cols="5"
|
||||
description="COM_COMPONENTBUILDER_TEMPLATE_PHP_VIEW_DESCRIPTION"
|
||||
class="text_area span12"
|
||||
filter="raw"
|
||||
hint="COM_COMPONENTBUILDER_TEMPLATE_PHP_VIEW_HINT"
|
||||
required="true"
|
||||
/>
|
||||
<!-- Add_php_view Field. Type: Radio. (joomla) -->
|
||||
<field
|
||||
type="radio"
|
||||
name="add_php_view"
|
||||
label="COM_COMPONENTBUILDER_TEMPLATE_ADD_PHP_VIEW_LABEL"
|
||||
class="btn-group btn-group-yesno"
|
||||
default="0"
|
||||
required="true">
|
||||
<!-- Option Set. -->
|
||||
<option value="1">
|
||||
COM_COMPONENTBUILDER_TEMPLATE_YES</option>
|
||||
<option value="0">
|
||||
COM_COMPONENTBUILDER_TEMPLATE_NO</option>
|
||||
</field>
|
||||
<!-- Dynamic_values Field. Type: Note. A None Database Field. (joomla) -->
|
||||
<field type="note" name="dynamic_values" label="COM_COMPONENTBUILDER_TEMPLATE_DYNAMIC_VALUES_LABEL" description="COM_COMPONENTBUILDER_TEMPLATE_DYNAMIC_VALUES_DESCRIPTION" heading="h4" class="dynamic_values" />
|
||||
<!-- Dynamic_get Field. Type: Dynamicget. (custom) -->
|
||||
<field
|
||||
type="dynamicget"
|
||||
name="dynamic_get"
|
||||
label="COM_COMPONENTBUILDER_TEMPLATE_DYNAMIC_GET_LABEL"
|
||||
description="COM_COMPONENTBUILDER_TEMPLATE_DYNAMIC_GET_DESCRIPTION"
|
||||
multiple="false"
|
||||
required="false"
|
||||
button="true"
|
||||
/>
|
||||
<!-- Not_required Field. Type: Hidden. (joomla) -->
|
||||
<field
|
||||
type="hidden"
|
||||
name="not_required"
|
||||
default="[]"
|
||||
/>
|
||||
<!-- Template Field. Type: Textarea. (joomla) -->
|
||||
<field
|
||||
type="textarea"
|
||||
name="template"
|
||||
label="COM_COMPONENTBUILDER_TEMPLATE_TEMPLATE_LABEL"
|
||||
rows="20"
|
||||
cols="15"
|
||||
class="text_area span12"
|
||||
filter="raw"
|
||||
hint="COM_COMPONENTBUILDER_TEMPLATE_TEMPLATE_HINT"
|
||||
required="true"
|
||||
/>
|
||||
<!-- Note_snippet_usage Field. Type: Note. A None Database Field. (joomla) -->
|
||||
<field type="note" name="note_snippet_usage" label="COM_COMPONENTBUILDER_TEMPLATE_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_TEMPLATE_NOTE_UIKIT_SNIPPET_LABEL" heading="h4" class="snippet-code note_uikit_snippet" />
|
||||
<!-- Note_add_language_string Field. Type: Note. A None Database Field. (joomla) -->
|
||||
<field type="note" name="note_add_language_string" label="COM_COMPONENTBUILDER_TEMPLATE_NOTE_ADD_LANGUAGE_STRING_LABEL" description="COM_COMPONENTBUILDER_TEMPLATE_NOTE_ADD_LANGUAGE_STRING_DESCRIPTION" heading="h4" class="note_add_language_string" />
|
||||
<!-- Libraries Field. Type: Libraries. (custom) -->
|
||||
<field
|
||||
type="libraries"
|
||||
name="libraries"
|
||||
label="COM_COMPONENTBUILDER_TEMPLATE_LIBRARIES_LABEL"
|
||||
description="COM_COMPONENTBUILDER_TEMPLATE_LIBRARIES_DESCRIPTION"
|
||||
class="list_class"
|
||||
multiple="true"
|
||||
default="0"
|
||||
required="false"
|
||||
button="true"
|
||||
/>
|
||||
<!-- Note_libraries_selection Field. Type: Note. A None Database Field. (joomla) -->
|
||||
<field type="note" name="note_libraries_selection" label="COM_COMPONENTBUILDER_TEMPLATE_NOTE_LIBRARIES_SELECTION_LABEL" description="COM_COMPONENTBUILDER_TEMPLATE_NOTE_LIBRARIES_SELECTION_DESCRIPTION" heading="h4" class="alert alert-info note_libraries_selection" />
|
||||
</fieldset>
|
||||
|
||||
<!-- Access Control Fields. -->
|
||||
<fieldset name="accesscontrol">
|
||||
|
@ -713,86 +713,91 @@ class ComponentbuilderModelJoomla_components extends JModelList
|
||||
*/
|
||||
protected function smartExportBuilder()
|
||||
{
|
||||
// set db data
|
||||
$data = serialize($this->smartExport);
|
||||
// lock the data if set
|
||||
if (ComponentbuilderHelper::checkArray($this->key))
|
||||
// check if data is set
|
||||
if (isset($this->smartExport) && ComponentbuilderHelper::checkArray($this->smartExport))
|
||||
{
|
||||
// lock the data
|
||||
$this->key = md5(implode('', $this->key));
|
||||
$locker = new FOFEncryptAes($this->key, 128);
|
||||
$data = $locker->encryptString($data);
|
||||
// Set the key owner information
|
||||
$this->info['getKeyFrom'] = array();
|
||||
$this->info['getKeyFrom']['company'] = $this->params->get('export_company', null);
|
||||
$this->info['getKeyFrom']['owner'] = $this->params->get('export_owner', null);
|
||||
$this->info['getKeyFrom']['email'] = $this->params->get('export_email', null);
|
||||
$this->info['getKeyFrom']['website'] = $this->params->get('export_website', null);
|
||||
$this->info['getKeyFrom']['license'] = $this->params->get('export_license', null);
|
||||
$this->info['getKeyFrom']['copyright'] = $this->params->get('export_copyright', null);
|
||||
// making provision for future changes
|
||||
if (count($this->exportBuyLinks) == 1)
|
||||
// set db data
|
||||
$data = serialize($this->smartExport);
|
||||
// lock the data if set
|
||||
if (ComponentbuilderHelper::checkArray($this->key))
|
||||
{
|
||||
$this->info['getKeyFrom']['buy_links'] = $this->exportBuyLinks;
|
||||
// lock the data
|
||||
$this->key = md5(implode('', $this->key));
|
||||
$locker = new FOFEncryptAes($this->key, 128);
|
||||
$data = $locker->encryptString($data);
|
||||
// Set the key owner information
|
||||
$this->info['getKeyFrom'] = array();
|
||||
$this->info['getKeyFrom']['company'] = $this->params->get('export_company', null);
|
||||
$this->info['getKeyFrom']['owner'] = $this->params->get('export_owner', null);
|
||||
$this->info['getKeyFrom']['email'] = $this->params->get('export_email', null);
|
||||
$this->info['getKeyFrom']['website'] = $this->params->get('export_website', null);
|
||||
$this->info['getKeyFrom']['license'] = $this->params->get('export_license', null);
|
||||
$this->info['getKeyFrom']['copyright'] = $this->params->get('export_copyright', null);
|
||||
// making provision for future changes
|
||||
if (count($this->exportBuyLinks) == 1)
|
||||
{
|
||||
$this->info['getKeyFrom']['buy_links'] = $this->exportBuyLinks;
|
||||
}
|
||||
else
|
||||
{
|
||||
// use global if more then one component is exported, or if none has a buy link
|
||||
$this->info['getKeyFrom']['buy_link'] = $this->params->get('export_buy_link', null);
|
||||
}
|
||||
$this->info['getKeyFrom']['package_links'] = $this->exportPackageLinks;
|
||||
}
|
||||
else
|
||||
{
|
||||
// use global if more then one component is exported, or if none has a buy link
|
||||
$this->info['getKeyFrom']['buy_link'] = $this->params->get('export_buy_link', null);
|
||||
// Set the owner information
|
||||
$data = base64_encode($data);
|
||||
}
|
||||
$this->info['getKeyFrom']['package_links'] = $this->exportPackageLinks;
|
||||
}
|
||||
else
|
||||
{
|
||||
// Set the owner information
|
||||
$data = base64_encode($data);
|
||||
}
|
||||
// set the path
|
||||
$dbPath = $this->packagePath . '/db.vdm';
|
||||
// write the db data to file in package
|
||||
if (!ComponentbuilderHelper::writeFile($dbPath, wordwrap($data, 128, "\n", true)))
|
||||
{
|
||||
return false;
|
||||
}
|
||||
// set info data
|
||||
$locker = new FOFEncryptAes('V4stD3vel0pmEntMethOd@YoUrS3rv!s', 128);
|
||||
$info = $locker->encryptString(json_encode($this->info));
|
||||
// set the path
|
||||
$infoPath = $this->packagePath . '/info.vdm';
|
||||
// write the db data to file in package
|
||||
if (!ComponentbuilderHelper::writeFile($infoPath, wordwrap($info, 128, "\n", true)))
|
||||
{
|
||||
return false;
|
||||
}
|
||||
// lock all files
|
||||
$this->lockFiles();
|
||||
// remove old zip files with the same name
|
||||
if (JFile::exists($this->zipPath))
|
||||
{
|
||||
// remove file if found
|
||||
JFile::delete($this->zipPath);
|
||||
}
|
||||
// zip the folder
|
||||
if (!ComponentbuilderHelper::zip($this->packagePath, $this->zipPath))
|
||||
{
|
||||
return false;
|
||||
}
|
||||
// move to remote server if needed
|
||||
if (2 == $this->backupType)
|
||||
{
|
||||
if (!ComponentbuilderHelper::moveToServer($this->zipPath, $this->packageName.'.zip', $this->backupServer, null, 'joomla_component.export'))
|
||||
// set the path
|
||||
$dbPath = $this->packagePath . '/db.vdm';
|
||||
// write the db data to file in package
|
||||
if (!ComponentbuilderHelper::writeFile($dbPath, wordwrap($data, 128, "\n", true)))
|
||||
{
|
||||
return false;
|
||||
}
|
||||
// remove the local file
|
||||
JFile::delete($this->zipPath);
|
||||
// set info data
|
||||
$locker = new FOFEncryptAes('V4stD3vel0pmEntMethOd@YoUrS3rv!s', 128);
|
||||
$info = $locker->encryptString(json_encode($this->info));
|
||||
// set the path
|
||||
$infoPath = $this->packagePath . '/info.vdm';
|
||||
// write the db data to file in package
|
||||
if (!ComponentbuilderHelper::writeFile($infoPath, wordwrap($info, 128, "\n", true)))
|
||||
{
|
||||
return false;
|
||||
}
|
||||
// lock all files
|
||||
$this->lockFiles();
|
||||
// remove old zip files with the same name
|
||||
if (JFile::exists($this->zipPath))
|
||||
{
|
||||
// remove file if found
|
||||
JFile::delete($this->zipPath);
|
||||
}
|
||||
// zip the folder
|
||||
if (!ComponentbuilderHelper::zip($this->packagePath, $this->zipPath))
|
||||
{
|
||||
return false;
|
||||
}
|
||||
// move to remote server if needed
|
||||
if (2 == $this->backupType)
|
||||
{
|
||||
if (!ComponentbuilderHelper::moveToServer($this->zipPath, $this->packageName.'.zip', $this->backupServer, null, 'joomla_component.export'))
|
||||
{
|
||||
return false;
|
||||
}
|
||||
// remove the local file
|
||||
JFile::delete($this->zipPath);
|
||||
}
|
||||
// remove the folder
|
||||
if (!ComponentbuilderHelper::removeFolder($this->packagePath))
|
||||
{
|
||||
return false;
|
||||
}
|
||||
return true;
|
||||
}
|
||||
// remove the folder
|
||||
if (!ComponentbuilderHelper::removeFolder($this->packagePath))
|
||||
{
|
||||
return false;
|
||||
}
|
||||
return true;
|
||||
return false;
|
||||
}
|
||||
|
||||
/**
|
||||
|
@ -1,7 +1,7 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<extension type="component" version="3.2" method="upgrade">
|
||||
<name>COM_COMPONENTBUILDER</name>
|
||||
<creationDate>11th March, 2018</creationDate>
|
||||
<creationDate>18th March, 2018</creationDate>
|
||||
<author>Llewellyn van der Merwe</author>
|
||||
<authorEmail>llewellyn@joomlacomponentbuilder.com</authorEmail>
|
||||
<authorUrl>http://joomlacomponentbuilder.com</authorUrl>
|
||||
|
@ -3594,7 +3594,7 @@ class com_componentbuilderInstallerScript
|
||||
$query = $db->getQuery(true);
|
||||
// Field to update.
|
||||
$fields = array(
|
||||
$db->quoteName('params') . ' = ' . $db->quote('{"autorName":"Llewellyn van der Merwe","autorEmail":"llewellyn@joomlacomponentbuilder.com","minify":"0","percentagelanguageadd":"50","set_browser_storage":"1","storage_time_to_live":"global","cronjob_backup_type":"1","cronjob_backup_server":"0","backup_package_name":"JCB_Backup_[YEAR]_[MONTH]_[DAY]","export_license":"GNU/GPL Version 2 or later - http://www.gnu.org/licenses/gpl-2.0.html","export_copyright":"Copyright (C) 2015. All Rights Reserved","check_in":"-1 day","save_history":"1","history_limit":"10","uikit_load":"1","uikit_min":"","uikit_style":""}'),
|
||||
$db->quoteName('params') . ' = ' . $db->quote('{"autorName":"Llewellyn van der Merwe","autorEmail":"llewellyn@joomlacomponentbuilder.com","minify":"0","percentagelanguageadd":"50","compiler_field_builder_type":"2","set_browser_storage":"1","storage_time_to_live":"global","cronjob_backup_type":"1","cronjob_backup_server":"0","backup_package_name":"JCB_Backup_[YEAR]_[MONTH]_[DAY]","export_license":"GNU/GPL Version 2 or later - http://www.gnu.org/licenses/gpl-2.0.html","export_copyright":"Copyright (C) 2015. All Rights Reserved","check_in":"-1 day","save_history":"1","history_limit":"10","uikit_load":"1","uikit_min":"","uikit_style":""}'),
|
||||
);
|
||||
// Condition.
|
||||
$conditions = array(
|
||||
|
@ -620,16 +620,19 @@ abstract class ComponentbuilderHelper
|
||||
}
|
||||
|
||||
/**
|
||||
* get the localkey
|
||||
* the basic localkey
|
||||
**/
|
||||
protected static $localkey = false;
|
||||
|
||||
|
||||
/**
|
||||
* get the localkey
|
||||
**/
|
||||
public static function getLocalKey()
|
||||
{
|
||||
if (!self::$localkey)
|
||||
{
|
||||
// get the main key
|
||||
self::$localkey = md5(JComponentHelper::getParams('com_componentbuilder')->get('basic_key', 'localKey34fdWEkl'));
|
||||
// get the basic key
|
||||
self::$localkey = md5(self::getCryptKey('basic', 'localKey34fdWEkl'));
|
||||
}
|
||||
return self::$localkey;
|
||||
}
|
||||
@ -702,8 +705,18 @@ abstract class ComponentbuilderHelper
|
||||
}
|
||||
return false;
|
||||
}
|
||||
|
||||
public static function getBetween($content,$start,$end)
|
||||
|
||||
/**
|
||||
* get between
|
||||
*
|
||||
* @param string $content The content to search
|
||||
* @param string $start The starting value
|
||||
* @param string $end The ending value
|
||||
*
|
||||
* @return string On success / empty string on failure
|
||||
*
|
||||
*/
|
||||
public static function getBetween($content, $start, $end)
|
||||
{
|
||||
$r = explode($start, $content);
|
||||
if (isset($r[1]))
|
||||
@ -713,17 +726,32 @@ abstract class ComponentbuilderHelper
|
||||
}
|
||||
return '';
|
||||
}
|
||||
|
||||
public static function getAllBetween($content,$start,$end)
|
||||
|
||||
/**
|
||||
* get all between
|
||||
*
|
||||
* @param string $content The content to search
|
||||
* @param string $start The starting value
|
||||
* @param string $end The ending value
|
||||
*
|
||||
* @return array On success
|
||||
*
|
||||
*/
|
||||
public static function getAllBetween($content, $start, $end)
|
||||
{
|
||||
$buket = array();
|
||||
// reset bucket
|
||||
$bucket = array();
|
||||
for ($i = 0; ; $i++)
|
||||
{
|
||||
// search for string
|
||||
$found = self::getBetween($content,$start,$end);
|
||||
if (self::checkString($found))
|
||||
{
|
||||
$buket[] = $found;
|
||||
// add to bucket
|
||||
$bucket[] = $found;
|
||||
// build removal string
|
||||
$remove = $start.$found.$end;
|
||||
// remove from content
|
||||
$content = str_replace($remove,'',$content);
|
||||
}
|
||||
else
|
||||
@ -736,9 +764,10 @@ abstract class ComponentbuilderHelper
|
||||
break;
|
||||
}
|
||||
}
|
||||
return array_unique($buket);
|
||||
// only return unique array of values
|
||||
return array_unique($bucket);
|
||||
}
|
||||
|
||||
|
||||
public static function typeField($type,$option = 'default')
|
||||
{
|
||||
// list of default fields
|
||||
@ -1560,6 +1589,7 @@ abstract class ComponentbuilderHelper
|
||||
// return the object
|
||||
return self::$CRYPT[$TYPE];
|
||||
}
|
||||
|
||||
|
||||
public static function jsonToString($value, $sperator = ", ", $table = null)
|
||||
{
|
||||
|
Loading…
Reference in New Issue
Block a user