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:
Llewellyn van der Merwe 2018-03-18 06:28:54 +02:00
parent e715fa1614
commit 42ae72d97e
No known key found for this signature in database
GPG Key ID: CAD7B16D27AF28C5
42 changed files with 15004 additions and 11887 deletions

View File

@ -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) + *Author*: [Llewellyn van der Merwe](mailto:llewellyn@joomlacomponentbuilder.com)
+ *Name*: [Component Builder](http://joomlacomponentbuilder.com) + *Name*: [Component Builder](http://joomlacomponentbuilder.com)
+ *First Build*: 30th April, 2015 + *First Build*: 30th April, 2015
+ *Last Build*: 11th March, 2018 + *Last Build*: 18th March, 2018
+ *Version*: 2.6.18 + *Version*: 2.6.18
+ *Copyright*: Copyright (C) 2015. All Rights Reserved + *Copyright*: Copyright (C) 2015. All Rights Reserved
+ *License*: GNU/GPL Version 2 or later - http://www.gnu.org/licenses/gpl-2.0.html + *License*: GNU/GPL Version 2 or later - http://www.gnu.org/licenses/gpl-2.0.html
+ *Line count*: **183732** + *Line count*: **186136**
+ *Field count*: **1651** + *Field count*: **994**
+ *File count*: **1171** + *File count*: **1171**
+ *Folder count*: **189** + *Folder count*: **189**

View File

@ -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) + *Author*: [Llewellyn van der Merwe](mailto:llewellyn@joomlacomponentbuilder.com)
+ *Name*: [Component Builder](http://joomlacomponentbuilder.com) + *Name*: [Component Builder](http://joomlacomponentbuilder.com)
+ *First Build*: 30th April, 2015 + *First Build*: 30th April, 2015
+ *Last Build*: 11th March, 2018 + *Last Build*: 18th March, 2018
+ *Version*: 2.6.18 + *Version*: 2.6.18
+ *Copyright*: Copyright (C) 2015. All Rights Reserved + *Copyright*: Copyright (C) 2015. All Rights Reserved
+ *License*: GNU/GPL Version 2 or later - http://www.gnu.org/licenses/gpl-2.0.html + *License*: GNU/GPL Version 2 or later - http://www.gnu.org/licenses/gpl-2.0.html
+ *Line count*: **183732** + *Line count*: **186136**
+ *Field count*: **1651** + *Field count*: **994**
+ *File count*: **1171** + *File count*: **1171**
+ *Folder count*: **189** + *Folder count*: **189**

View File

@ -47,78 +47,113 @@
/> />
<field type="spacer" name="spacerHistory" hr="true" /> <field type="spacer" name="spacerHistory" hr="true" />
<!-- Minify Field. Type: Radio. (joomla) --> <!-- Minify Field. Type: Radio. (joomla) -->
<field type="radio" <field
name="minify" type="radio"
label="COM_COMPONENTBUILDER_CONFIG_MINIFY_LABEL" name="minify"
description="COM_COMPONENTBUILDER_CONFIG_MINIFY_DESCRIPTION" label="COM_COMPONENTBUILDER_CONFIG_MINIFY_LABEL"
class="btn-group btn-group-yesno" description="COM_COMPONENTBUILDER_CONFIG_MINIFY_DESCRIPTION"
default="0"> class="btn-group btn-group-yesno"
<!-- Option Set.--> default="0">
<option value="1">COM_COMPONENTBUILDER_CONFIG_YES</option> <!-- Option Set. -->
<option value="0">COM_COMPONENTBUILDER_CONFIG_NO</option> <option value="1">
</field> COM_COMPONENTBUILDER_CONFIG_YES</option>
<!-- Percentagelanguageadd Field. Type: Number. (joomla) --> <option value="0">
<field type="number" COM_COMPONENTBUILDER_CONFIG_NO</option>
name="percentagelanguageadd" </field>
label="COM_COMPONENTBUILDER_CONFIG_PERCENTAGELANGUAGEADD_LABEL" <!-- Percentagelanguageadd Field. Type: Number. (joomla) -->
default="50" <field
description="COM_COMPONENTBUILDER_CONFIG_PERCENTAGELANGUAGEADD_DESCRIPTION" type="number"
class="text_area" name="percentagelanguageadd"
required="true" label="COM_COMPONENTBUILDER_CONFIG_PERCENTAGELANGUAGEADD_LABEL"
min="10" default="50"
max="100" description="COM_COMPONENTBUILDER_CONFIG_PERCENTAGELANGUAGEADD_DESCRIPTION"
step="10" /> class="text_area"
<!-- Spacer_hr_one Field. Type: Spacer. A None Database Field. (joomla) --> required="true"
<field type="spacer" min="10"
name="spacer_hr_one" max="100"
hr="true" step="10"
class="spacer_hr_one" /> />
<!-- Api Field. Type: User. (joomla) --> <!-- Spacer_hr_one Field. Type: Spacer. A None Database Field. (joomla) -->
<field type="user" <field type="spacer" name="spacer_hr_one" hr="true" class="spacer_hr_one" />
name="api" <!-- Compiler_field_builder_type Field. Type: List. (joomla) -->
label="COM_COMPONENTBUILDER_CONFIG_API_LABEL" <field
description="COM_COMPONENTBUILDER_CONFIG_API_DESCRIPTION" /> type="list"
<!-- Set_browser_storage Field. Type: Radio. (joomla) --> name="compiler_field_builder_type"
<field type="radio" label="COM_COMPONENTBUILDER_CONFIG_COMPILER_FIELD_BUILDER_TYPE_LABEL"
name="set_browser_storage" description="COM_COMPONENTBUILDER_CONFIG_COMPILER_FIELD_BUILDER_TYPE_DESCRIPTION"
label="COM_COMPONENTBUILDER_CONFIG_SET_BROWSER_STORAGE_LABEL" class="list_class"
description="COM_COMPONENTBUILDER_CONFIG_SET_BROWSER_STORAGE_DESCRIPTION" filter="INT"
class="btn-group btn-group-yesno" required="true"
default="1" default="2">
required="true"> <!-- Option Set. -->
<!-- Option Set.--> <option value="1">
<option value="1">COM_COMPONENTBUILDER_CONFIG_ACTIVE</option> COM_COMPONENTBUILDER_CONFIG_STRING_MANIPULATION</option>
<option value="0">COM_COMPONENTBUILDER_CONFIG_INACTIVE</option> <option value="2">
</field> COM_COMPONENTBUILDER_CONFIG_SIMPLEXMLELEMENT_CLASS</option>
<!-- Storage_time_to_live Field. Type: List. (joomla) --> </field>
<field type="list" <!-- Spacer_hr_two Field. Type: Spacer. A None Database Field. (joomla) -->
name="storage_time_to_live" <field type="spacer" name="spacer_hr_two" hr="true" class="spacer_hr_two" />
label="COM_COMPONENTBUILDER_CONFIG_STORAGE_TIME_TO_LIVE_LABEL" <!-- Api Field. Type: User. (joomla) -->
description="COM_COMPONENTBUILDER_CONFIG_STORAGE_TIME_TO_LIVE_DESCRIPTION" <field
class="list_class" type="user"
multiple="false" name="api"
default="global" label="COM_COMPONENTBUILDER_CONFIG_API_LABEL"
showon="set_browser_storage:1"> description="COM_COMPONENTBUILDER_CONFIG_API_DESCRIPTION"
<!-- Option Set.--> />
<option value="global">COM_COMPONENTBUILDER_CONFIG_EVERY_SESSION</option> <!-- Set_browser_storage Field. Type: Radio. (joomla) -->
<option value="30">COM_COMPONENTBUILDER_CONFIG_EVERY_THIRTY_SECONDS</option> <field
<option value="60">COM_COMPONENTBUILDER_CONFIG_EVERY_MINUTE</option> type="radio"
<option value="300">COM_COMPONENTBUILDER_CONFIG_EVERY_FIVE_MINUTES</option> name="set_browser_storage"
<option value="900">COM_COMPONENTBUILDER_CONFIG_EVERY_FIFTEEN_MINUTES</option> label="COM_COMPONENTBUILDER_CONFIG_SET_BROWSER_STORAGE_LABEL"
<option value="1800">COM_COMPONENTBUILDER_CONFIG_EVERY_THIRTY_MINUTES</option> description="COM_COMPONENTBUILDER_CONFIG_SET_BROWSER_STORAGE_DESCRIPTION"
<option value="3600">COM_COMPONENTBUILDER_CONFIG_EVERY_HOUR</option> class="btn-group btn-group-yesno"
<option value="18000">COM_COMPONENTBUILDER_CONFIG_EVERY_FIVE_HOURS</option> default="1"
<option value="36000">COM_COMPONENTBUILDER_CONFIG_EVERY_TEN_HOURS</option> required="true">
<option value="86400">COM_COMPONENTBUILDER_CONFIG_EVERY_DAY</option> <!-- Option Set. -->
<option value="604800">COM_COMPONENTBUILDER_CONFIG_EVERY_WEEK</option> <option value="1">
<option value="0">COM_COMPONENTBUILDER_CONFIG_NEVER_UPDATE</option> COM_COMPONENTBUILDER_CONFIG_ACTIVE</option>
</field> <option value="0">
<!-- Spacer_hr_two Field. Type: Spacer. A None Database Field. (joomla) --> COM_COMPONENTBUILDER_CONFIG_INACTIVE</option>
<field type="spacer" </field>
name="spacer_hr_two" <!-- Storage_time_to_live Field. Type: List. (joomla) -->
hr="true" <field
class="spacer_hr_two" /> 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" <field name="autorTitle"
type="spacer" type="spacer"
label="COM_COMPONENTBUILDER_CONFIG_AUTHOR" label="COM_COMPONENTBUILDER_CONFIG_AUTHOR"
@ -540,268 +575,271 @@
name="cronjob_custom_config" name="cronjob_custom_config"
label="COM_COMPONENTBUILDER_CONFIG_CRONJOB"> label="COM_COMPONENTBUILDER_CONFIG_CRONJOB">
<!-- Backupcronjob_note Field. Type: Note. A None Database Field. (joomla) --> <!-- Backupcronjob_note Field. Type: Note. A None Database Field. (joomla) -->
<field type="note" <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" />
name="backupcronjob_note" <!-- Cronjob_backup_type Field. Type: Radio. (joomla) -->
label="COM_COMPONENTBUILDER_CONFIG_BACKUPCRONJOB_NOTE_LABEL" <field
description="COM_COMPONENTBUILDER_CONFIG_BACKUPCRONJOB_NOTE_DESCRIPTION" type="radio"
heading="h4" name="cronjob_backup_type"
class="backupcronjob_note" /> label="COM_COMPONENTBUILDER_CONFIG_CRONJOB_BACKUP_TYPE_LABEL"
<!-- Cronjob_backup_type Field. Type: Radio. (joomla) --> description="COM_COMPONENTBUILDER_CONFIG_CRONJOB_BACKUP_TYPE_DESCRIPTION"
<field type="radio" class="btn-group btn-group-yesno"
name="cronjob_backup_type" default="1">
label="COM_COMPONENTBUILDER_CONFIG_CRONJOB_BACKUP_TYPE_LABEL" <!-- Option Set. -->
description="COM_COMPONENTBUILDER_CONFIG_CRONJOB_BACKUP_TYPE_DESCRIPTION" <option value="1">
class="btn-group btn-group-yesno" COM_COMPONENTBUILDER_CONFIG_LOCAL_FOLDER</option>
default="1"> <option value="2">
<!-- Option Set.--> COM_COMPONENTBUILDER_CONFIG_REMOTE_SERVER</option>
<option value="1">COM_COMPONENTBUILDER_CONFIG_LOCAL_FOLDER</option> </field>
<option value="2">COM_COMPONENTBUILDER_CONFIG_REMOTE_SERVER</option> <!-- Cronjob_backup_server Field. Type: Servers. (custom) -->
</field> <field
<!-- Cronjob_backup_server Field. Type: Servers. (custom) --> type="servers"
<field type="servers" name="cronjob_backup_server"
name="cronjob_backup_server" label="COM_COMPONENTBUILDER_CONFIG_CRONJOB_BACKUP_SERVER_LABEL"
label="COM_COMPONENTBUILDER_CONFIG_CRONJOB_BACKUP_SERVER_LABEL" description="COM_COMPONENTBUILDER_CONFIG_CRONJOB_BACKUP_SERVER_DESCRIPTION"
description="COM_COMPONENTBUILDER_CONFIG_CRONJOB_BACKUP_SERVER_DESCRIPTION" class="list_class"
class="list_class" multiple="false"
multiple="false" default="0"
default="0" showon="cronjob_backup_type:2"
showon="cronjob_backup_type:2" button="true"
button="true" /> />
<!-- Cronjob_backup_folder_path Field. Type: Text. (joomla) --> <!-- Cronjob_backup_folder_path Field. Type: Text. (joomla) -->
<field type="text" <field
name="cronjob_backup_folder_path" type="text"
label="COM_COMPONENTBUILDER_CONFIG_CRONJOB_BACKUP_FOLDER_PATH_LABEL" name="cronjob_backup_folder_path"
size="70" label="COM_COMPONENTBUILDER_CONFIG_CRONJOB_BACKUP_FOLDER_PATH_LABEL"
maxlength="150" size="70"
description="COM_COMPONENTBUILDER_CONFIG_CRONJOB_BACKUP_FOLDER_PATH_DESCRIPTION" maxlength="150"
class="text_area" description="COM_COMPONENTBUILDER_CONFIG_CRONJOB_BACKUP_FOLDER_PATH_DESCRIPTION"
readonly="false" class="text_area"
disabled="false" readonly="false"
required="false" disabled="false"
filter="PATH" required="false"
message="COM_COMPONENTBUILDER_CONFIG_CRONJOB_BACKUP_FOLDER_PATH_MESSAGE" filter="PATH"
hint="COM_COMPONENTBUILDER_CONFIG_CRONJOB_BACKUP_FOLDER_PATH_HINT" message="COM_COMPONENTBUILDER_CONFIG_CRONJOB_BACKUP_FOLDER_PATH_MESSAGE"
showon="cronjob_backup_type:1" /> hint="COM_COMPONENTBUILDER_CONFIG_CRONJOB_BACKUP_FOLDER_PATH_HINT"
<!-- Backup_email Field. Type: Text. (joomla) --> showon="cronjob_backup_type:1"
<field type="text" />
name="backup_email" <!-- Backup_email Field. Type: Text. (joomla) -->
label="COM_COMPONENTBUILDER_CONFIG_BACKUP_EMAIL_LABEL" <field
size="10" type="text"
maxlength="50" name="backup_email"
description="COM_COMPONENTBUILDER_CONFIG_BACKUP_EMAIL_DESCRIPTION" label="COM_COMPONENTBUILDER_CONFIG_BACKUP_EMAIL_LABEL"
class="text_area" size="10"
filter="STRING" maxlength="50"
validate="email" description="COM_COMPONENTBUILDER_CONFIG_BACKUP_EMAIL_DESCRIPTION"
message="COM_COMPONENTBUILDER_CONFIG_BACKUP_EMAIL_MESSAGE" class="text_area"
hint="COM_COMPONENTBUILDER_CONFIG_BACKUP_EMAIL_HINT" /> filter="STRING"
<!-- Package_name_plaeholders Field. Type: Note. A None Database Field. (joomla) --> validate="email"
<field type="note" message="COM_COMPONENTBUILDER_CONFIG_BACKUP_EMAIL_MESSAGE"
name="package_name_plaeholders" hint="COM_COMPONENTBUILDER_CONFIG_BACKUP_EMAIL_HINT"
label="COM_COMPONENTBUILDER_CONFIG_PACKAGE_NAME_PLAEHOLDERS_LABEL" />
description="COM_COMPONENTBUILDER_CONFIG_PACKAGE_NAME_PLAEHOLDERS_DESCRIPTION" <!-- Package_name_plaeholders Field. Type: Note. A None Database Field. (joomla) -->
heading="h4" <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" />
class="package_name_plaeholders" /> <!-- Backup_package_name Field. Type: Text. (joomla) -->
<!-- Backup_package_name Field. Type: Text. (joomla) --> <field
<field type="text" type="text"
name="backup_package_name" name="backup_package_name"
label="COM_COMPONENTBUILDER_CONFIG_BACKUP_PACKAGE_NAME_LABEL" label="COM_COMPONENTBUILDER_CONFIG_BACKUP_PACKAGE_NAME_LABEL"
size="40" size="40"
maxlength="150" maxlength="150"
default="JCB_Backup_[YEAR]_[MONTH]_[DAY]" default="JCB_Backup_[YEAR]_[MONTH]_[DAY]"
description="COM_COMPONENTBUILDER_CONFIG_BACKUP_PACKAGE_NAME_DESCRIPTION" description="COM_COMPONENTBUILDER_CONFIG_BACKUP_PACKAGE_NAME_DESCRIPTION"
class="text_area" class="text_area"
readonly="false" readonly="false"
disabled="false" disabled="false"
required="true" required="true"
filter="STRING" filter="STRING"
message="COM_COMPONENTBUILDER_CONFIG_BACKUP_PACKAGE_NAME_MESSAGE" message="COM_COMPONENTBUILDER_CONFIG_BACKUP_PACKAGE_NAME_MESSAGE"
hint="COM_COMPONENTBUILDER_CONFIG_BACKUP_PACKAGE_NAME_HINT" /> hint="COM_COMPONENTBUILDER_CONFIG_BACKUP_PACKAGE_NAME_HINT"
/>
</fieldset> </fieldset>
<fieldset <fieldset
name="folder_paths_custom_config" name="folder_paths_custom_config"
label="COM_COMPONENTBUILDER_CONFIG_FOLDER_PATHS"> label="COM_COMPONENTBUILDER_CONFIG_FOLDER_PATHS">
<!-- Note_compiler_folder_path Field. Type: Note. A None Database Field. (joomla) --> <!-- Note_compiler_folder_path Field. Type: Note. A None Database Field. (joomla) -->
<field type="note" <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" />
name="note_compiler_folder_path" <!-- Compiler_folder_path Field. Type: Text. (joomla) -->
label="COM_COMPONENTBUILDER_CONFIG_NOTE_COMPILER_FOLDER_PATH_LABEL" <field
description="COM_COMPONENTBUILDER_CONFIG_NOTE_COMPILER_FOLDER_PATH_DESCRIPTION" type="text"
heading="h4" name="compiler_folder_path"
class="alert alert-info note_compiler_folder_path" /> label="COM_COMPONENTBUILDER_CONFIG_COMPILER_FOLDER_PATH_LABEL"
<!-- Compiler_folder_path Field. Type: Text. (joomla) --> size="70"
<field type="text" maxlength="150"
name="compiler_folder_path" description="COM_COMPONENTBUILDER_CONFIG_COMPILER_FOLDER_PATH_DESCRIPTION"
label="COM_COMPONENTBUILDER_CONFIG_COMPILER_FOLDER_PATH_LABEL" class="text_area"
size="70" readonly="false"
maxlength="150" disabled="false"
description="COM_COMPONENTBUILDER_CONFIG_COMPILER_FOLDER_PATH_DESCRIPTION" required="false"
class="text_area" filter="PATH"
readonly="false" message="COM_COMPONENTBUILDER_CONFIG_COMPILER_FOLDER_PATH_MESSAGE"
disabled="false" hint="COM_COMPONENTBUILDER_CONFIG_COMPILER_FOLDER_PATH_HINT"
required="false" />
filter="PATH" <!-- Note_custom_folder_path Field. Type: Note. A None Database Field. (joomla) -->
message="COM_COMPONENTBUILDER_CONFIG_COMPILER_FOLDER_PATH_MESSAGE" <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" />
hint="COM_COMPONENTBUILDER_CONFIG_COMPILER_FOLDER_PATH_HINT" /> <!-- Custom_folder_path Field. Type: Text. (joomla) -->
<!-- Note_custom_folder_path Field. Type: Note. A None Database Field. (joomla) --> <field
<field type="note" type="text"
name="note_custom_folder_path" name="custom_folder_path"
label="COM_COMPONENTBUILDER_CONFIG_NOTE_CUSTOM_FOLDER_PATH_LABEL" label="COM_COMPONENTBUILDER_CONFIG_CUSTOM_FOLDER_PATH_LABEL"
description="COM_COMPONENTBUILDER_CONFIG_NOTE_CUSTOM_FOLDER_PATH_DESCRIPTION" size="70"
heading="h4" maxlength="150"
class="alert alert-info note_custom_folder_path" /> description="COM_COMPONENTBUILDER_CONFIG_CUSTOM_FOLDER_PATH_DESCRIPTION"
<!-- Custom_folder_path Field. Type: Text. (joomla) --> class="text_area"
<field type="text" readonly="false"
name="custom_folder_path" disabled="false"
label="COM_COMPONENTBUILDER_CONFIG_CUSTOM_FOLDER_PATH_LABEL" required="false"
size="70" filter="PATH"
maxlength="150" message="COM_COMPONENTBUILDER_CONFIG_CUSTOM_FOLDER_PATH_MESSAGE"
description="COM_COMPONENTBUILDER_CONFIG_CUSTOM_FOLDER_PATH_DESCRIPTION" hint="COM_COMPONENTBUILDER_CONFIG_CUSTOM_FOLDER_PATH_HINT"
class="text_area" />
readonly="false" <!-- Note_backup_folder_path Field. Type: Note. A None Database Field. (joomla) -->
disabled="false" <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" />
required="false" <!-- Backup_folder_path Field. Type: Text. (joomla) -->
filter="PATH" <field
message="COM_COMPONENTBUILDER_CONFIG_CUSTOM_FOLDER_PATH_MESSAGE" type="text"
hint="COM_COMPONENTBUILDER_CONFIG_CUSTOM_FOLDER_PATH_HINT" /> name="backup_folder_path"
<!-- Note_backup_folder_path Field. Type: Note. A None Database Field. (joomla) --> label="COM_COMPONENTBUILDER_CONFIG_BACKUP_FOLDER_PATH_LABEL"
<field type="note" size="70"
name="note_backup_folder_path" maxlength="150"
label="COM_COMPONENTBUILDER_CONFIG_NOTE_BACKUP_FOLDER_PATH_LABEL" description="COM_COMPONENTBUILDER_CONFIG_BACKUP_FOLDER_PATH_DESCRIPTION"
description="COM_COMPONENTBUILDER_CONFIG_NOTE_BACKUP_FOLDER_PATH_DESCRIPTION" class="text_area"
heading="h4" readonly="false"
class="alert alert-info note_backup_folder_path" /> disabled="false"
<!-- Backup_folder_path Field. Type: Text. (joomla) --> required="false"
<field type="text" filter="PATH"
name="backup_folder_path" message="COM_COMPONENTBUILDER_CONFIG_BACKUP_FOLDER_PATH_MESSAGE"
label="COM_COMPONENTBUILDER_CONFIG_BACKUP_FOLDER_PATH_LABEL" hint="COM_COMPONENTBUILDER_CONFIG_BACKUP_FOLDER_PATH_HINT"
size="70" />
maxlength="150" <!-- Note_git_folder_path Field. Type: Note. A None Database Field. (joomla) -->
description="COM_COMPONENTBUILDER_CONFIG_BACKUP_FOLDER_PATH_DESCRIPTION" <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" />
class="text_area" <!-- Git_folder_path Field. Type: Text. (joomla) -->
readonly="false" <field
disabled="false" type="text"
required="false" name="git_folder_path"
filter="PATH" label="COM_COMPONENTBUILDER_CONFIG_GIT_FOLDER_PATH_LABEL"
message="COM_COMPONENTBUILDER_CONFIG_BACKUP_FOLDER_PATH_MESSAGE" size="70"
hint="COM_COMPONENTBUILDER_CONFIG_BACKUP_FOLDER_PATH_HINT" /> maxlength="150"
<!-- Note_git_folder_path Field. Type: Note. A None Database Field. (joomla) --> description="COM_COMPONENTBUILDER_CONFIG_GIT_FOLDER_PATH_DESCRIPTION"
<field type="note" class="text_area"
name="note_git_folder_path" readonly="false"
label="COM_COMPONENTBUILDER_CONFIG_NOTE_GIT_FOLDER_PATH_LABEL" disabled="false"
description="COM_COMPONENTBUILDER_CONFIG_NOTE_GIT_FOLDER_PATH_DESCRIPTION" required="false"
heading="h4" filter="PATH"
class="alert alert-info note_git_folder_path" /> message="COM_COMPONENTBUILDER_CONFIG_GIT_FOLDER_PATH_MESSAGE"
<!-- Git_folder_path Field. Type: Text. (joomla) --> hint="COM_COMPONENTBUILDER_CONFIG_GIT_FOLDER_PATH_HINT"
<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>
<fieldset <fieldset
name="company_custom_config" name="company_custom_config"
label="COM_COMPONENTBUILDER_CONFIG_COMPANY"> label="COM_COMPONENTBUILDER_CONFIG_COMPANY">
<!-- Export_company Field. Type: Text. (joomla) --> <!-- Export_company Field. Type: Text. (joomla) -->
<field type="text" <field
name="export_company" type="text"
label="COM_COMPONENTBUILDER_CONFIG_EXPORT_COMPANY_LABEL" name="export_company"
size="40" label="COM_COMPONENTBUILDER_CONFIG_EXPORT_COMPANY_LABEL"
maxlength="150" size="40"
description="COM_COMPONENTBUILDER_CONFIG_EXPORT_COMPANY_DESCRIPTION" maxlength="150"
class="text_area" description="COM_COMPONENTBUILDER_CONFIG_EXPORT_COMPANY_DESCRIPTION"
readonly="false" class="text_area"
disabled="false" readonly="false"
required="true" disabled="false"
filter="STRING" required="true"
message="COM_COMPONENTBUILDER_CONFIG_EXPORT_COMPANY_MESSAGE" filter="STRING"
hint="COM_COMPONENTBUILDER_CONFIG_EXPORT_COMPANY_HINT" /> message="COM_COMPONENTBUILDER_CONFIG_EXPORT_COMPANY_MESSAGE"
<!-- Export_owner Field. Type: Text. (joomla) --> hint="COM_COMPONENTBUILDER_CONFIG_EXPORT_COMPANY_HINT"
<field type="text" />
name="export_owner" <!-- Export_owner Field. Type: Text. (joomla) -->
label="COM_COMPONENTBUILDER_CONFIG_EXPORT_OWNER_LABEL" <field
size="10" type="text"
maxlength="120" name="export_owner"
description="COM_COMPONENTBUILDER_CONFIG_EXPORT_OWNER_DESCRIPTION" label="COM_COMPONENTBUILDER_CONFIG_EXPORT_OWNER_LABEL"
class="text_area" size="10"
readonly="false" maxlength="120"
disabled="false" description="COM_COMPONENTBUILDER_CONFIG_EXPORT_OWNER_DESCRIPTION"
required="true" class="text_area"
filter="HTML" readonly="false"
message="COM_COMPONENTBUILDER_CONFIG_EXPORT_OWNER_MESSAGE" disabled="false"
hint="COM_COMPONENTBUILDER_CONFIG_EXPORT_OWNER_HINT" /> required="true"
<!-- Export_email Field. Type: Text. (joomla) --> filter="HTML"
<field type="text" message="COM_COMPONENTBUILDER_CONFIG_EXPORT_OWNER_MESSAGE"
name="export_email" hint="COM_COMPONENTBUILDER_CONFIG_EXPORT_OWNER_HINT"
label="COM_COMPONENTBUILDER_CONFIG_EXPORT_EMAIL_LABEL" />
size="40" <!-- Export_email Field. Type: Text. (joomla) -->
maxlength="150" <field
description="COM_COMPONENTBUILDER_CONFIG_EXPORT_EMAIL_DESCRIPTION" type="text"
class="text_area" name="export_email"
required="true" label="COM_COMPONENTBUILDER_CONFIG_EXPORT_EMAIL_LABEL"
filter="STRING" size="40"
validate="email" maxlength="150"
message="COM_COMPONENTBUILDER_CONFIG_EXPORT_EMAIL_MESSAGE" description="COM_COMPONENTBUILDER_CONFIG_EXPORT_EMAIL_DESCRIPTION"
hint="COM_COMPONENTBUILDER_CONFIG_EXPORT_EMAIL_HINT" /> class="text_area"
<!-- Export_website Field. Type: Url. (joomla) --> required="true"
<field type="url" filter="STRING"
name="export_website" validate="email"
label="COM_COMPONENTBUILDER_CONFIG_EXPORT_WEBSITE_LABEL" message="COM_COMPONENTBUILDER_CONFIG_EXPORT_EMAIL_MESSAGE"
size="60" hint="COM_COMPONENTBUILDER_CONFIG_EXPORT_EMAIL_HINT"
maxlength="150" />
description="COM_COMPONENTBUILDER_CONFIG_EXPORT_WEBSITE_DESCRIPTION" <!-- Export_website Field. Type: Url. (joomla) -->
class="text_area" <field
required="true" type="url"
filter="url" name="export_website"
validated="url" label="COM_COMPONENTBUILDER_CONFIG_EXPORT_WEBSITE_LABEL"
message="COM_COMPONENTBUILDER_CONFIG_EXPORT_WEBSITE_MESSAGE" size="60"
hint="COM_COMPONENTBUILDER_CONFIG_EXPORT_WEBSITE_HINT" /> maxlength="150"
<!-- Export_license Field. Type: Textarea. (joomla) --> description="COM_COMPONENTBUILDER_CONFIG_EXPORT_WEBSITE_DESCRIPTION"
<field type="textarea" class="text_area"
name="export_license" required="true"
label="COM_COMPONENTBUILDER_CONFIG_EXPORT_LICENSE_LABEL" filter="url"
rows="7" validated="url"
cols="10" message="COM_COMPONENTBUILDER_CONFIG_EXPORT_WEBSITE_MESSAGE"
default="GNU/GPL Version 2 or later - http://www.gnu.org/licenses/gpl-2.0.html" hint="COM_COMPONENTBUILDER_CONFIG_EXPORT_WEBSITE_HINT"
description="COM_COMPONENTBUILDER_CONFIG_EXPORT_LICENSE_DESCRIPTION" />
class="text_area span12" <!-- Export_license Field. Type: Textarea. (joomla) -->
filter="HTML" <field
hint="COM_COMPONENTBUILDER_CONFIG_EXPORT_LICENSE_HINT" type="textarea"
required="true" /> name="export_license"
<!-- Export_copyright Field. Type: Textarea. (joomla) --> label="COM_COMPONENTBUILDER_CONFIG_EXPORT_LICENSE_LABEL"
<field type="textarea" rows="7"
name="export_copyright" cols="10"
label="COM_COMPONENTBUILDER_CONFIG_EXPORT_COPYRIGHT_LABEL" default="GNU/GPL Version 2 or later - http://www.gnu.org/licenses/gpl-2.0.html"
rows="7" description="COM_COMPONENTBUILDER_CONFIG_EXPORT_LICENSE_DESCRIPTION"
cols="10" class="text_area span12"
default="Copyright (C) 2015. All Rights Reserved" filter="HTML"
description="COM_COMPONENTBUILDER_CONFIG_EXPORT_COPYRIGHT_DESCRIPTION" hint="COM_COMPONENTBUILDER_CONFIG_EXPORT_LICENSE_HINT"
class="text_area span12" required="true"
filter="HTML" />
hint="COM_COMPONENTBUILDER_CONFIG_EXPORT_COPYRIGHT_HINT" <!-- Export_copyright Field. Type: Textarea. (joomla) -->
required="true" /> <field
<!-- Export_buy_link Field. Type: Url. (joomla) --> type="textarea"
<field type="url" name="export_copyright"
name="export_buy_link" label="COM_COMPONENTBUILDER_CONFIG_EXPORT_COPYRIGHT_LABEL"
label="COM_COMPONENTBUILDER_CONFIG_EXPORT_BUY_LINK_LABEL" rows="7"
size="60" cols="10"
maxlength="150" default="Copyright (C) 2015. All Rights Reserved"
description="COM_COMPONENTBUILDER_CONFIG_EXPORT_BUY_LINK_DESCRIPTION" description="COM_COMPONENTBUILDER_CONFIG_EXPORT_COPYRIGHT_DESCRIPTION"
class="text_area" class="text_area span12"
required="false" filter="HTML"
filter="url" hint="COM_COMPONENTBUILDER_CONFIG_EXPORT_COPYRIGHT_HINT"
validated="url" required="true"
message="COM_COMPONENTBUILDER_CONFIG_EXPORT_BUY_LINK_MESSAGE" />
hint="COM_COMPONENTBUILDER_CONFIG_EXPORT_BUY_LINK_HINT" /> <!-- 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>
<fieldset <fieldset
name="permissions" name="permissions"

View File

@ -428,6 +428,16 @@ class Get
*/ */
private $_fieldData = array(); private $_fieldData = array();
/**
* The field builder type
*
* 1 = StringManipulation
* 2 = SimpleXMLElement
*
* @var int
*/
public $fieldBuilderType;
/** /**
* Set unique Names * Set unique Names
* *
@ -610,6 +620,16 @@ class Get
$this->tidy = extension_loaded('Tidy'); $this->tidy = extension_loaded('Tidy');
// Set the params // Set the params
$this->params = JComponentHelper::getParams('com_componentbuilder'); $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 // load the compiler path
$this->compilerPath = $this->params->get('compiler_folder_path', JPATH_COMPONENT_ADMINISTRATOR . '/compiler'); $this->compilerPath = $this->params->get('compiler_folder_path', JPATH_COMPONENT_ADMINISTRATOR . '/compiler');
// set the component ID // set the component ID

File diff suppressed because it is too large Load Diff

View File

@ -12902,13 +12902,23 @@ class Interpretation extends Fields
$dbkey = 'g'; $dbkey = 'g';
foreach ($this->componentData->config as $field) foreach ($this->componentData->config as $field)
{ {
$newxmlField = $this->setDynamicField($field, $view, $viewType, $lang, $viewName, $listViewName, $placeholders, $dbkey, false); // check the field builder type
// tmp hack untill this whole area is also done in xml (TODO) if ($this->fieldBuilderType == 1)
if (isset($newxmlField->fieldXML))
{ {
$xmlField = dom_import_simplexml($newxmlField->fieldXML); // string manipulation
$xmlField = PHP_EOL . "\t<!-- " . $newxmlField->comment . ' -->' . PHP_EOL . "\t" . $this->xmlPrettyPrint($xmlField, 'field'); $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)) if (isset($xmlField) && ComponentbuilderHelper::checkString($xmlField))
{ {
$this->configFieldSetsCustomField[$field['tabname']][] = $xmlField; $this->configFieldSetsCustomField[$field['tabname']][] = $xmlField;
@ -13097,7 +13107,7 @@ class Interpretation extends Fields
} }
} }
// set the fields // set the fields
$this->configFieldSets[] = implode("\t\t", $bucket); $this->configFieldSets[] = implode("", $bucket);
// close field set // close field set
$this->configFieldSets[] = "\t</fieldset>"; $this->configFieldSets[] = "\t</fieldset>";
// remove after loading // remove after loading
@ -13135,7 +13145,7 @@ class Interpretation extends Fields
// add custom Target Groups fields // add custom Target Groups fields
if (isset($this->configFieldSetsCustomField['Target Groups']) && ComponentbuilderHelper::checkArray($this->configFieldSetsCustomField['Target Groups'])) 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']); unset($this->configFieldSetsCustomField['Target Groups']);
} }
// close that fieldse // close that fieldse
@ -13261,7 +13271,7 @@ class Interpretation extends Fields
// add custom global fields // add custom global fields
if (isset($this->configFieldSetsCustomField['Global']) && ComponentbuilderHelper::checkArray($this->configFieldSetsCustomField['Global'])) 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']); unset($this->configFieldSetsCustomField['Global']);
} }
// set the author details // 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 // add custom Uikit Settings fields
if (isset($this->configFieldSetsCustomField['Uikit Settings']) && ComponentbuilderHelper::checkArray($this->configFieldSetsCustomField['Uikit Settings'])) 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']); unset($this->configFieldSetsCustomField['Uikit Settings']);
} }
// close that fieldset // 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 // add custom Mail Configurations
if (isset($this->configFieldSetsCustomField['Mail Configuration']) && ComponentbuilderHelper::checkArray($this->configFieldSetsCustomField['Mail Configuration'])) 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']); unset($this->configFieldSetsCustomField['Mail Configuration']);
} }
else else
@ -13905,7 +13915,7 @@ for developing fast and powerful web interfaces. For more info visit <a href=\"h
// add custom DKIM fields // add custom DKIM fields
if (isset($this->configFieldSetsCustomField['DKIM']) && ComponentbuilderHelper::checkArray($this->configFieldSetsCustomField['DKIM'])) 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']); unset($this->configFieldSetsCustomField['DKIM']);
} }
else else
@ -14339,7 +14349,7 @@ function vdm_dkim() {
// add custom Encryption Settings fields // add custom Encryption Settings fields
if (isset($this->configFieldSetsCustomField['Chart Settings']) && ComponentbuilderHelper::checkArray($this->configFieldSetsCustomField['Chart Settings'])) 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']); unset($this->configFieldSetsCustomField['Chart Settings']);
} }
@ -14540,7 +14550,7 @@ function vdm_dkim() {
// add custom Encryption Settings fields // add custom Encryption Settings fields
if (isset($this->configFieldSetsCustomField[$dynamicAddField]) && ComponentbuilderHelper::checkArray($this->configFieldSetsCustomField[$dynamicAddField])) 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]); unset($this->configFieldSetsCustomField[$dynamicAddField]);
} }
} }

View File

@ -1554,16 +1554,19 @@ abstract class ComponentbuilderHelper
} }
/** /**
* get the localkey * the basic localkey
**/ **/
protected static $localkey = false; protected static $localkey = false;
/**
* get the localkey
**/
public static function getLocalKey() public static function getLocalKey()
{ {
if (!self::$localkey) if (!self::$localkey)
{ {
// get the main key // get the basic key
self::$localkey = md5(JComponentHelper::getParams('com_componentbuilder')->get('basic_key', 'localKey34fdWEkl')); self::$localkey = md5(self::getCryptKey('basic', 'localKey34fdWEkl'));
} }
return self::$localkey; return self::$localkey;
} }
@ -1636,8 +1639,18 @@ abstract class ComponentbuilderHelper
} }
return false; 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); $r = explode($start, $content);
if (isset($r[1])) if (isset($r[1]))
@ -1647,17 +1660,32 @@ abstract class ComponentbuilderHelper
} }
return ''; 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++) for ($i = 0; ; $i++)
{ {
// search for string
$found = self::getBetween($content,$start,$end); $found = self::getBetween($content,$start,$end);
if (self::checkString($found)) if (self::checkString($found))
{ {
$buket[] = $found; // add to bucket
$bucket[] = $found;
// build removal string
$remove = $start.$found.$end; $remove = $start.$found.$end;
// remove from content
$content = str_replace($remove,'',$content); $content = str_replace($remove,'',$content);
} }
else else
@ -1670,9 +1698,10 @@ abstract class ComponentbuilderHelper
break; break;
} }
} }
return array_unique($buket); // only return unique array of values
return array_unique($bucket);
} }
public static function typeField($type,$option = 'default') public static function typeField($type,$option = 'default')
{ {
// list of default fields // list of default fields
@ -2494,6 +2523,7 @@ abstract class ComponentbuilderHelper
// return the object // return the object
return self::$CRYPT[$TYPE]; return self::$CRYPT[$TYPE];
} }
/** /**
* Load the Component xml manifest. * Load the Component xml manifest.
**/ **/

View File

@ -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_THREE="Once a day"
COM_COMPONENTBUILDER_CONFIG_CHECK_TIMER_OPTION_TWO="Every twelve hours" COM_COMPONENTBUILDER_CONFIG_CHECK_TIMER_OPTION_TWO="Every twelve hours"
COM_COMPONENTBUILDER_CONFIG_COMPANY="Company" 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_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_HINT="/home/user/compiler"
COM_COMPONENTBUILDER_CONFIG_COMPILER_FOLDER_PATH_LABEL="Compiler Folder Path" 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_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_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_SET_BROWSER_STORAGE_LABEL="Browser Storage"
COM_COMPONENTBUILDER_CONFIG_SIMPLEXMLELEMENT_CLASS="SimpleXMLElement Class"
COM_COMPONENTBUILDER_CONFIG_SMTP="SMTP" COM_COMPONENTBUILDER_CONFIG_SMTP="SMTP"
COM_COMPONENTBUILDER_CONFIG_SMTPAUTH_DESCRIPTION="Select yes if your SMTP host requires SMTP Authentication." COM_COMPONENTBUILDER_CONFIG_SMTPAUTH_DESCRIPTION="Select yes if your SMTP host requires SMTP Authentication."
COM_COMPONENTBUILDER_CONFIG_SMTPAUTH_LABEL="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_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_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_STORAGE_TIME_TO_LIVE_LABEL="Update Cycle"
COM_COMPONENTBUILDER_CONFIG_STRING_MANIPULATION="String Manipulation"
COM_COMPONENTBUILDER_CONFIG_TLS="TLS" 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 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>" for developing fast and powerful web interfaces. For more info visit <a href="https://getuikit.com/v2/" target="_blank">https://getuikit.com/v2/</a>"

View File

@ -4,242 +4,277 @@
addfieldpath="/administrator/components/com_componentbuilder/models/fields" addfieldpath="/administrator/components/com_componentbuilder/models/fields"
> >
<fieldset name="details"> <fieldset name="details">
<!-- Default Fields.--> <!-- Default Fields. -->
<!-- Id Field. Type: Text (joomla)--> <!-- Id Field. Type: Text (joomla) -->
<field name="id" <field
type="text" name="id"
class="readonly" type="text" class="readonly" label="JGLOBAL_FIELD_ID_LABEL"
label="JGLOBAL_FIELD_ID_LABEL" description ="JGLOBAL_FIELD_ID_DESC" size="10" default="0"
description="JGLOBAL_FIELD_ID_DESC" readonly="true"
size="10" />
default="0" /> <!-- Date Created Field. Type: Calendar (joomla) -->
<!-- Date Created Field. Type: Calendar (joomla)--> <field
<field name="created" name="created"
type="calendar" type="calendar"
label="COM_COMPONENTBUILDER_ADMIN_FIELDS_CREATED_DATE_LABEL" label="COM_COMPONENTBUILDER_ADMIN_FIELDS_CREATED_DATE_LABEL"
description="COM_COMPONENTBUILDER_ADMIN_FIELDS_CREATED_DATE_DESC" description="COM_COMPONENTBUILDER_ADMIN_FIELDS_CREATED_DATE_DESC"
size="22" size="22"
format="%Y-%m-%d %H:%M:%S" format="%Y-%m-%d %H:%M:%S"
filter="user_utc" /> filter="user_utc"
<!-- User Created Field. Type: User (joomla)--> />
<field name="created_by" <!-- User Created Field. Type: User (joomla) -->
type="user" <field
label="COM_COMPONENTBUILDER_ADMIN_FIELDS_CREATED_BY_LABEL" name="created_by"
description="COM_COMPONENTBUILDER_ADMIN_FIELDS_CREATED_BY_DESC" /> type="user"
<!-- Published Field. Type: List (joomla)--> label="COM_COMPONENTBUILDER_ADMIN_FIELDS_CREATED_BY_LABEL"
<field name="published" description="COM_COMPONENTBUILDER_ADMIN_FIELDS_CREATED_BY_DESC"
type="list" />
label="JSTATUS"> <!-- Published Field. Type: List (joomla) -->
<option value="1">JPUBLISHED</option> <field name="published" type="list" label="JSTATUS"
<option value="0">JUNPUBLISHED</option> description="JFIELD_PUBLISHED_DESC" class="chzn-color-state"
<option value="2">JARCHIVED</option> filter="intval" size="1" default="1" >
<option value="-2">JTRASHED</option> <option value="1">
</field> JPUBLISHED</option>
<!-- Date Modified Field. Type: Calendar (joomla)--> <option value="0">
<field name="modified" JUNPUBLISHED</option>
type="calendar" <option value="2">
class="readonly" JARCHIVED</option>
label="COM_COMPONENTBUILDER_ADMIN_FIELDS_MODIFIED_DATE_LABEL" <option value="-2">
description="COM_COMPONENTBUILDER_ADMIN_FIELDS_MODIFIED_DATE_DESC" JTRASHED</option>
size="22" </field>
readonly="true" <!-- Date Modified Field. Type: Calendar (joomla) -->
format="%Y-%m-%d %H:%M:%S" <field name="modified" type="calendar" class="readonly"
filter="user_utc" /> label="COM_COMPONENTBUILDER_ADMIN_FIELDS_MODIFIED_DATE_LABEL" description="COM_COMPONENTBUILDER_ADMIN_FIELDS_MODIFIED_DATE_DESC"
<!-- User Modified Field. Type: User (joomla)--> size="22" readonly="true" format="%Y-%m-%d %H:%M:%S" filter="user_utc" />
<field name="modified_by" <!-- User Modified Field. Type: User (joomla) -->
type="user" <field name="modified_by" type="user"
label="COM_COMPONENTBUILDER_ADMIN_FIELDS_MODIFIED_BY_LABEL" label="COM_COMPONENTBUILDER_ADMIN_FIELDS_MODIFIED_BY_LABEL"
description="COM_COMPONENTBUILDER_ADMIN_FIELDS_MODIFIED_BY_DESC" description="COM_COMPONENTBUILDER_ADMIN_FIELDS_MODIFIED_BY_DESC"
class="readonly" class="readonly"
readonly="true" readonly="true"
filter="unset" /> filter="unset"
<!-- Access Field. Type: Accesslevel (joomla)--> />
<field name="access" <!-- Access Field. Type: Accesslevel (joomla) -->
type="accesslevel" <field name="access"
label="JFIELD_ACCESS_LABEL" type="accesslevel"
description="JFIELD_ACCESS_DESC" label="JFIELD_ACCESS_LABEL"
default="1" description="JFIELD_ACCESS_DESC"
required="false" /> default="1"
<!-- Ordering Field. Type: Numbers (joomla)--> required="false"
<field name="ordering" />
type="number" <!-- Ordering Field. Type: Numbers (joomla) -->
class="inputbox validate-ordering" <field
label="COM_COMPONENTBUILDER_ADMIN_FIELDS_ORDERING_LABEL" name="ordering"
description="" type="number"
default="0" class="inputbox validate-ordering"
size="6" label="COM_COMPONENTBUILDER_ADMIN_FIELDS_ORDERING_LABEL"
required="false" /> description=""
<!-- Version Field. Type: Text (joomla)--> default="0"
<field name="version" size="6"
type="text" required="false"
class="readonly" />
label="COM_COMPONENTBUILDER_ADMIN_FIELDS_VERSION_LABEL" <!-- Version Field. Type: Text (joomla) -->
description="COM_COMPONENTBUILDER_ADMIN_FIELDS_VERSION_DESC" <field
size="6" name="version"
readonly="true" type="text"
filter="unset" /> class="readonly"
<!-- Dynamic Fields.--> label="COM_COMPONENTBUILDER_ADMIN_FIELDS_VERSION_LABEL"
<!-- Admin_view Field. Type: Adminviewsreadonly. (custom)--> description="COM_COMPONENTBUILDER_ADMIN_FIELDS_VERSION_DESC"
<field type="adminviewsreadonly" size="6"
name="admin_view" readonly="true"
label="COM_COMPONENTBUILDER_ADMIN_FIELDS_ADMIN_VIEW_LABEL" filter="unset"
description="COM_COMPONENTBUILDER_ADMIN_FIELDS_ADMIN_VIEW_DESCRIPTION" />
class="list_class" <!-- Dynamic Fields. -->
multiple="false" <!-- Admin_view Field. Type: Adminviewsreadonly. (custom) -->
required="true" <field
readonly="true" type="adminviewsreadonly"
button="false" /> name="admin_view"
<!-- Addfields Field. Type: Subform. (joomla)--> label="COM_COMPONENTBUILDER_ADMIN_FIELDS_ADMIN_VIEW_LABEL"
<field type="subform" description="COM_COMPONENTBUILDER_ADMIN_FIELDS_ADMIN_VIEW_DESCRIPTION"
name="addfields" class="list_class"
label="COM_COMPONENTBUILDER_ADMIN_FIELDS_ADDFIELDS_LABEL" multiple="false"
layout="joomla.form.field.subform.repeatable-table" required="true"
multiple="true" readonly="true"
description="COM_COMPONENTBUILDER_ADMIN_FIELDS_ADDFIELDS_DESCRIPTION" button="false"
icon="list" />
maximum="800"> <!-- Addfields Field. Type: Subform. (joomla) -->
<form hidden="true" <field
name="list_addfields_modal" type="subform"
repeat="true"> name="addfields"
<!-- Field Field. Type: Fields. (custom)--> label="COM_COMPONENTBUILDER_ADMIN_FIELDS_ADDFIELDS_LABEL"
<field type="fields" layout="joomla.form.field.subform.repeatable-table"
name="field" multiple="true"
label="COM_COMPONENTBUILDER_ADMIN_FIELDS_FIELD_LABEL" description="COM_COMPONENTBUILDER_ADMIN_FIELDS_ADDFIELDS_DESCRIPTION"
description="COM_COMPONENTBUILDER_ADMIN_FIELDS_FIELD_DESCRIPTION" icon="list"
class="list_class" maximum="800">
multiple="false" <form hidden="true" name="list_addfields_modal" repeat="true">
required="false" <!-- Field Field. Type: Fields. (custom) -->
button="false" /> <field
<!-- List Field. Type: Checkbox. (joomla)--> type="fields"
<field type="checkbox" name="field"
name="list" label="COM_COMPONENTBUILDER_ADMIN_FIELDS_FIELD_LABEL"
label="COM_COMPONENTBUILDER_ADMIN_FIELDS_LIST_LABEL" description="COM_COMPONENTBUILDER_ADMIN_FIELDS_FIELD_DESCRIPTION"
value="1" class="list_class"
required="false" multiple="false"
description="COM_COMPONENTBUILDER_ADMIN_FIELDS_LIST_DESCRIPTION" required="false"
class="inputbox" /> button="false"
<!-- Order_list Field. Type: Integer. (joomla)--> />
<field type="integer" <!-- List Field. Type: Checkbox. (joomla) -->
name="order_list" <field
label="COM_COMPONENTBUILDER_ADMIN_FIELDS_ORDER_LIST_LABEL" type="checkbox"
default="0" name="list"
description="COM_COMPONENTBUILDER_ADMIN_FIELDS_ORDER_LIST_DESCRIPTION" label="COM_COMPONENTBUILDER_ADMIN_FIELDS_LIST_LABEL"
class="fieldSmall" value="1"
required="false" required="false"
first="0" description="COM_COMPONENTBUILDER_ADMIN_FIELDS_LIST_DESCRIPTION"
last="20" class="inputbox"
step="1" /> />
<!-- Title Field. Type: Checkbox. (joomla)--> <!-- Order_list Field. Type: Integer. (joomla) -->
<field type="checkbox" <field
name="title" type="integer"
label="COM_COMPONENTBUILDER_ADMIN_FIELDS_TITLE_LABEL" name="order_list"
value="1" label="COM_COMPONENTBUILDER_ADMIN_FIELDS_ORDER_LIST_LABEL"
required="false" default="0"
description="COM_COMPONENTBUILDER_ADMIN_FIELDS_TITLE_DESCRIPTION" description="COM_COMPONENTBUILDER_ADMIN_FIELDS_ORDER_LIST_DESCRIPTION"
class="inputbox" /> class="fieldSmall"
<!-- Alias Field. Type: Checkbox. (joomla)--> required="false"
<field type="checkbox" first="0"
name="alias" last="20"
label="COM_COMPONENTBUILDER_ADMIN_FIELDS_ALIAS_LABEL" step="1"
value="1" />
required="false" <!-- Title Field. Type: Checkbox. (joomla) -->
description="COM_COMPONENTBUILDER_ADMIN_FIELDS_ALIAS_DESCRIPTION" <field
class="inputbox" /> type="checkbox"
<!-- Sort Field. Type: Checkbox. (joomla)--> name="title"
<field type="checkbox" label="COM_COMPONENTBUILDER_ADMIN_FIELDS_TITLE_LABEL"
name="sort" value="1"
label="COM_COMPONENTBUILDER_ADMIN_FIELDS_SORT_LABEL" required="false"
value="1" description="COM_COMPONENTBUILDER_ADMIN_FIELDS_TITLE_DESCRIPTION"
required="false" class="inputbox"
description="COM_COMPONENTBUILDER_ADMIN_FIELDS_SORT_DESCRIPTION" />
class="inputbox" /> <!-- Alias Field. Type: Checkbox. (joomla) -->
<!-- Search Field. Type: Checkbox. (joomla)--> <field
<field type="checkbox" type="checkbox"
name="search" name="alias"
label="COM_COMPONENTBUILDER_ADMIN_FIELDS_SEARCH_LABEL" label="COM_COMPONENTBUILDER_ADMIN_FIELDS_ALIAS_LABEL"
value="1" value="1"
required="false" required="false"
description="COM_COMPONENTBUILDER_ADMIN_FIELDS_SEARCH_DESCRIPTION" description="COM_COMPONENTBUILDER_ADMIN_FIELDS_ALIAS_DESCRIPTION"
class="inputbox" /> class="inputbox"
<!-- Filter Field. Type: Checkbox. (joomla)--> />
<field type="checkbox" <!-- Sort Field. Type: Checkbox. (joomla) -->
name="filter" <field
label="COM_COMPONENTBUILDER_ADMIN_FIELDS_FILTER_LABEL" type="checkbox"
value="1" name="sort"
required="false" label="COM_COMPONENTBUILDER_ADMIN_FIELDS_SORT_LABEL"
description="COM_COMPONENTBUILDER_ADMIN_FIELDS_FILTER_DESCRIPTION" value="1"
class="inputbox" /> required="false"
<!-- Link Field. Type: Checkbox. (joomla)--> description="COM_COMPONENTBUILDER_ADMIN_FIELDS_SORT_DESCRIPTION"
<field type="checkbox" class="inputbox"
name="link" />
label="COM_COMPONENTBUILDER_ADMIN_FIELDS_LINK_LABEL" <!-- Search Field. Type: Checkbox. (joomla) -->
value="1" <field
required="false" type="checkbox"
description="COM_COMPONENTBUILDER_ADMIN_FIELDS_LINK_DESCRIPTION" name="search"
class="inputbox" /> label="COM_COMPONENTBUILDER_ADMIN_FIELDS_SEARCH_LABEL"
<!-- Tab Field. Type: Viewtabs. (custom)--> value="1"
<field type="viewtabs" required="false"
name="tab" description="COM_COMPONENTBUILDER_ADMIN_FIELDS_SEARCH_DESCRIPTION"
label="COM_COMPONENTBUILDER_ADMIN_FIELDS_TAB_LABEL" class="inputbox"
description="COM_COMPONENTBUILDER_ADMIN_FIELDS_TAB_DESCRIPTION" />
class="fieldMedium" <!-- Filter Field. Type: Checkbox. (joomla) -->
multiple="false" <field
default="1" type="checkbox"
required="false" name="filter"
button="false" /> label="COM_COMPONENTBUILDER_ADMIN_FIELDS_FILTER_LABEL"
<!-- Alignment Field. Type: List. (joomla)--> value="1"
<field type="list" required="false"
name="alignment" description="COM_COMPONENTBUILDER_ADMIN_FIELDS_FILTER_DESCRIPTION"
label="COM_COMPONENTBUILDER_ADMIN_FIELDS_ALIGNMENT_LABEL" class="inputbox"
description="COM_COMPONENTBUILDER_ADMIN_FIELDS_ALIGNMENT_DESCRIPTION" />
class="fieldMedium" <!-- Link Field. Type: Checkbox. (joomla) -->
multiple="false" <field
filter="INT" type="checkbox"
required="false" name="link"
default="1"> label="COM_COMPONENTBUILDER_ADMIN_FIELDS_LINK_LABEL"
<!-- Option Set.--> value="1"
<option value="1">COM_COMPONENTBUILDER_ADMIN_FIELDS_LEFT_IN_TAB</option> required="false"
<option value="2">COM_COMPONENTBUILDER_ADMIN_FIELDS_RIGHT_IN_TAB</option> description="COM_COMPONENTBUILDER_ADMIN_FIELDS_LINK_DESCRIPTION"
<option value="3">COM_COMPONENTBUILDER_ADMIN_FIELDS_FULL_WIDTH_IN_TAB</option> class="inputbox"
<option value="4">COM_COMPONENTBUILDER_ADMIN_FIELDS_ABOVE_TABS</option> />
<option value="5">COM_COMPONENTBUILDER_ADMIN_FIELDS_UNDERNEATH_TABS</option> <!-- Tab Field. Type: Viewtabs. (custom) -->
<option value="6">COM_COMPONENTBUILDER_ADMIN_FIELDS_LEFT_OF_TABS</option> <field
<option value="7">COM_COMPONENTBUILDER_ADMIN_FIELDS_RIGHT_OF_TABS</option> type="viewtabs"
</field> name="tab"
<!-- Order_edit Field. Type: Integer. (joomla)--> label="COM_COMPONENTBUILDER_ADMIN_FIELDS_TAB_LABEL"
<field type="integer" description="COM_COMPONENTBUILDER_ADMIN_FIELDS_TAB_DESCRIPTION"
name="order_edit" class="fieldMedium"
label="COM_COMPONENTBUILDER_ADMIN_FIELDS_ORDER_EDIT_LABEL" multiple="false"
default="0" default="1"
description="COM_COMPONENTBUILDER_ADMIN_FIELDS_ORDER_EDIT_DESCRIPTION" required="false"
class="fieldSmall" button="false"
required="false" />
first="0" <!-- Alignment Field. Type: List. (joomla) -->
last="100" <field
step="1" /> type="list"
<!-- Permission Field. Type: List. (joomla)--> name="alignment"
<field type="list" label="COM_COMPONENTBUILDER_ADMIN_FIELDS_ALIGNMENT_LABEL"
name="permission" description="COM_COMPONENTBUILDER_ADMIN_FIELDS_ALIGNMENT_DESCRIPTION"
label="COM_COMPONENTBUILDER_ADMIN_FIELDS_PERMISSION_LABEL" class="fieldMedium"
description="COM_COMPONENTBUILDER_ADMIN_FIELDS_PERMISSION_DESCRIPTION" multiple="false"
class="fieldMedium" filter="INT"
multiple="false" required="false"
required="false" default="1">
default="0"> <!-- Option Set. -->
<!-- Option Set.--> <option value="1">
<option value="0">COM_COMPONENTBUILDER_ADMIN_FIELDS_NONE</option> COM_COMPONENTBUILDER_ADMIN_FIELDS_LEFT_IN_TAB</option>
<option value=" 1">COM_COMPONENTBUILDER_ADMIN_FIELDS_EDITING</option> <option value="2">
</field> COM_COMPONENTBUILDER_ADMIN_FIELDS_RIGHT_IN_TAB</option>
</form> <option value="3">
</field> COM_COMPONENTBUILDER_ADMIN_FIELDS_FULL_WIDTH_IN_TAB</option>
<!-- Note_on_views Field. Type: Note. A None Database Field. (joomla)--> <option value="4">
<field type="note" COM_COMPONENTBUILDER_ADMIN_FIELDS_ABOVE_TABS</option>
name="note_on_views" <option value="5">
label="COM_COMPONENTBUILDER_ADMIN_FIELDS_NOTE_ON_VIEWS_LABEL" COM_COMPONENTBUILDER_ADMIN_FIELDS_UNDERNEATH_TABS</option>
description="COM_COMPONENTBUILDER_ADMIN_FIELDS_NOTE_ON_VIEWS_DESCRIPTION" <option value="6">
heading="h4" COM_COMPONENTBUILDER_ADMIN_FIELDS_LEFT_OF_TABS</option>
class="alert alert-info note_on_views" /> <option value="7">
</fieldset> 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. --> <!-- Access Control Fields. -->
<fieldset name="accesscontrol"> <fieldset name="accesscontrol">

View File

@ -4,193 +4,219 @@
addfieldpath="/administrator/components/com_componentbuilder/models/fields" addfieldpath="/administrator/components/com_componentbuilder/models/fields"
> >
<fieldset name="details"> <fieldset name="details">
<!-- Default Fields.--> <!-- Default Fields. -->
<!-- Id Field. Type: Text (joomla)--> <!-- Id Field. Type: Text (joomla) -->
<field name="id" <field
type="text" name="id"
class="readonly" type="text" class="readonly" label="JGLOBAL_FIELD_ID_LABEL"
label="JGLOBAL_FIELD_ID_LABEL" description ="JGLOBAL_FIELD_ID_DESC" size="10" default="0"
description="JGLOBAL_FIELD_ID_DESC" readonly="true"
size="10" />
default="0" /> <!-- Date Created Field. Type: Calendar (joomla) -->
<!-- Date Created Field. Type: Calendar (joomla)--> <field
<field name="created" name="created"
type="calendar" type="calendar"
label="COM_COMPONENTBUILDER_ADMIN_FIELDS_CONDITIONS_CREATED_DATE_LABEL" label="COM_COMPONENTBUILDER_ADMIN_FIELDS_CONDITIONS_CREATED_DATE_LABEL"
description="COM_COMPONENTBUILDER_ADMIN_FIELDS_CONDITIONS_CREATED_DATE_DESC" description="COM_COMPONENTBUILDER_ADMIN_FIELDS_CONDITIONS_CREATED_DATE_DESC"
size="22" size="22"
format="%Y-%m-%d %H:%M:%S" format="%Y-%m-%d %H:%M:%S"
filter="user_utc" /> filter="user_utc"
<!-- User Created Field. Type: User (joomla)--> />
<field name="created_by" <!-- User Created Field. Type: User (joomla) -->
type="user" <field
label="COM_COMPONENTBUILDER_ADMIN_FIELDS_CONDITIONS_CREATED_BY_LABEL" name="created_by"
description="COM_COMPONENTBUILDER_ADMIN_FIELDS_CONDITIONS_CREATED_BY_DESC" /> type="user"
<!-- Published Field. Type: List (joomla)--> label="COM_COMPONENTBUILDER_ADMIN_FIELDS_CONDITIONS_CREATED_BY_LABEL"
<field name="published" description="COM_COMPONENTBUILDER_ADMIN_FIELDS_CONDITIONS_CREATED_BY_DESC"
type="list" />
label="JSTATUS"> <!-- Published Field. Type: List (joomla) -->
<option value="1">JPUBLISHED</option> <field name="published" type="list" label="JSTATUS"
<option value="0">JUNPUBLISHED</option> description="JFIELD_PUBLISHED_DESC" class="chzn-color-state"
<option value="2">JARCHIVED</option> filter="intval" size="1" default="1" >
<option value="-2">JTRASHED</option> <option value="1">
</field> JPUBLISHED</option>
<!-- Date Modified Field. Type: Calendar (joomla)--> <option value="0">
<field name="modified" JUNPUBLISHED</option>
type="calendar" <option value="2">
class="readonly" JARCHIVED</option>
label="COM_COMPONENTBUILDER_ADMIN_FIELDS_CONDITIONS_MODIFIED_DATE_LABEL" <option value="-2">
description="COM_COMPONENTBUILDER_ADMIN_FIELDS_CONDITIONS_MODIFIED_DATE_DESC" JTRASHED</option>
size="22" </field>
readonly="true" <!-- Date Modified Field. Type: Calendar (joomla) -->
format="%Y-%m-%d %H:%M:%S" <field name="modified" type="calendar" class="readonly"
filter="user_utc" /> label="COM_COMPONENTBUILDER_ADMIN_FIELDS_CONDITIONS_MODIFIED_DATE_LABEL" description="COM_COMPONENTBUILDER_ADMIN_FIELDS_CONDITIONS_MODIFIED_DATE_DESC"
<!-- User Modified Field. Type: User (joomla)--> size="22" readonly="true" format="%Y-%m-%d %H:%M:%S" filter="user_utc" />
<field name="modified_by" <!-- User Modified Field. Type: User (joomla) -->
type="user" <field name="modified_by" type="user"
label="COM_COMPONENTBUILDER_ADMIN_FIELDS_CONDITIONS_MODIFIED_BY_LABEL" label="COM_COMPONENTBUILDER_ADMIN_FIELDS_CONDITIONS_MODIFIED_BY_LABEL"
description="COM_COMPONENTBUILDER_ADMIN_FIELDS_CONDITIONS_MODIFIED_BY_DESC" description="COM_COMPONENTBUILDER_ADMIN_FIELDS_CONDITIONS_MODIFIED_BY_DESC"
class="readonly" class="readonly"
readonly="true" readonly="true"
filter="unset" /> filter="unset"
<!-- Access Field. Type: Accesslevel (joomla)--> />
<field name="access" <!-- Access Field. Type: Accesslevel (joomla) -->
type="accesslevel" <field name="access"
label="JFIELD_ACCESS_LABEL" type="accesslevel"
description="JFIELD_ACCESS_DESC" label="JFIELD_ACCESS_LABEL"
default="1" description="JFIELD_ACCESS_DESC"
required="false" /> default="1"
<!-- Ordering Field. Type: Numbers (joomla)--> required="false"
<field name="ordering" />
type="number" <!-- Ordering Field. Type: Numbers (joomla) -->
class="inputbox validate-ordering" <field
label="COM_COMPONENTBUILDER_ADMIN_FIELDS_CONDITIONS_ORDERING_LABEL" name="ordering"
description="" type="number"
default="0" class="inputbox validate-ordering"
size="6" label="COM_COMPONENTBUILDER_ADMIN_FIELDS_CONDITIONS_ORDERING_LABEL"
required="false" /> description=""
<!-- Version Field. Type: Text (joomla)--> default="0"
<field name="version" size="6"
type="text" required="false"
class="readonly" />
label="COM_COMPONENTBUILDER_ADMIN_FIELDS_CONDITIONS_VERSION_LABEL" <!-- Version Field. Type: Text (joomla) -->
description="COM_COMPONENTBUILDER_ADMIN_FIELDS_CONDITIONS_VERSION_DESC" <field
size="6" name="version"
readonly="true" type="text"
filter="unset" /> class="readonly"
<!-- Dynamic Fields.--> label="COM_COMPONENTBUILDER_ADMIN_FIELDS_CONDITIONS_VERSION_LABEL"
<!-- Admin_view Field. Type: Adminviewsreadonly. (custom)--> description="COM_COMPONENTBUILDER_ADMIN_FIELDS_CONDITIONS_VERSION_DESC"
<field type="adminviewsreadonly" size="6"
name="admin_view" readonly="true"
label="COM_COMPONENTBUILDER_ADMIN_FIELDS_CONDITIONS_ADMIN_VIEW_LABEL" filter="unset"
description="COM_COMPONENTBUILDER_ADMIN_FIELDS_CONDITIONS_ADMIN_VIEW_DESCRIPTION" />
class="list_class" <!-- Dynamic Fields. -->
multiple="false" <!-- Admin_view Field. Type: Adminviewsreadonly. (custom) -->
required="true" <field
readonly="true" type="adminviewsreadonly"
button="false" /> name="admin_view"
<!-- Addconditions Field. Type: Subform. (joomla)--> label="COM_COMPONENTBUILDER_ADMIN_FIELDS_CONDITIONS_ADMIN_VIEW_LABEL"
<field type="subform" description="COM_COMPONENTBUILDER_ADMIN_FIELDS_CONDITIONS_ADMIN_VIEW_DESCRIPTION"
name="addconditions" class="list_class"
label="COM_COMPONENTBUILDER_ADMIN_FIELDS_CONDITIONS_ADDCONDITIONS_LABEL" multiple="false"
layout="joomla.form.field.subform.repeatable-table" required="true"
multiple="true" readonly="true"
description="COM_COMPONENTBUILDER_ADMIN_FIELDS_CONDITIONS_ADDCONDITIONS_DESCRIPTION" button="false"
icon="list" />
maximum="500"> <!-- Addconditions Field. Type: Subform. (joomla) -->
<form hidden="true" <field
name="list_addconditions_modal" type="subform"
repeat="true"> name="addconditions"
<!-- Target_field Field. Type: Targetfields. (custom)--> label="COM_COMPONENTBUILDER_ADMIN_FIELDS_CONDITIONS_ADDCONDITIONS_LABEL"
<field type="targetfields" layout="joomla.form.field.subform.repeatable-table"
name="target_field" multiple="true"
label="COM_COMPONENTBUILDER_ADMIN_FIELDS_CONDITIONS_TARGET_FIELD_LABEL" description="COM_COMPONENTBUILDER_ADMIN_FIELDS_CONDITIONS_ADDCONDITIONS_DESCRIPTION"
description="COM_COMPONENTBUILDER_ADMIN_FIELDS_CONDITIONS_TARGET_FIELD_DESCRIPTION" icon="list"
class="fieldMedium" maximum="500">
multiple="true" <form hidden="true" name="list_addconditions_modal" repeat="true">
required="false" <!-- Target_field Field. Type: Targetfields. (custom) -->
button="false" /> <field
<!-- Target_behavior Field. Type: List. (joomla)--> type="targetfields"
<field type="list" name="target_field"
name="target_behavior" label="COM_COMPONENTBUILDER_ADMIN_FIELDS_CONDITIONS_TARGET_FIELD_LABEL"
label="COM_COMPONENTBUILDER_ADMIN_FIELDS_CONDITIONS_TARGET_BEHAVIOR_LABEL" description="COM_COMPONENTBUILDER_ADMIN_FIELDS_CONDITIONS_TARGET_FIELD_DESCRIPTION"
description="COM_COMPONENTBUILDER_ADMIN_FIELDS_CONDITIONS_TARGET_BEHAVIOR_DESCRIPTION" class="fieldMedium"
class="list_class" multiple="true"
multiple="false" required="false"
filter="INT" button="false"
required="false" />
default="1"> <!-- Target_behavior Field. Type: List. (joomla) -->
<!-- Option Set.--> <field
<option value="1">COM_COMPONENTBUILDER_ADMIN_FIELDS_CONDITIONS_SHOW</option> type="list"
<option value="2">COM_COMPONENTBUILDER_ADMIN_FIELDS_CONDITIONS_HIDE</option> name="target_behavior"
</field> label="COM_COMPONENTBUILDER_ADMIN_FIELDS_CONDITIONS_TARGET_BEHAVIOR_LABEL"
<!-- Target_relation Field. Type: List. (joomla)--> description="COM_COMPONENTBUILDER_ADMIN_FIELDS_CONDITIONS_TARGET_BEHAVIOR_DESCRIPTION"
<field type="list" class="list_class"
name="target_relation" multiple="false"
label="COM_COMPONENTBUILDER_ADMIN_FIELDS_CONDITIONS_TARGET_RELATION_LABEL" filter="INT"
description="COM_COMPONENTBUILDER_ADMIN_FIELDS_CONDITIONS_TARGET_RELATION_DESCRIPTION" required="false"
class="list_class" default="1">
multiple="false" <!-- Option Set. -->
filter="INT" <option value="1">
required="false" COM_COMPONENTBUILDER_ADMIN_FIELDS_CONDITIONS_SHOW</option>
default="0"> <option value="2">
<!-- Option Set.--> COM_COMPONENTBUILDER_ADMIN_FIELDS_CONDITIONS_HIDE</option>
<option value="0">COM_COMPONENTBUILDER_ADMIN_FIELDS_CONDITIONS_ISOLATE</option> </field>
<option value="1">COM_COMPONENTBUILDER_ADMIN_FIELDS_CONDITIONS_CHAIN</option> <!-- Target_relation Field. Type: List. (joomla) -->
</field> <field
<!-- Match_field Field. Type: Matchfield. (custom)--> type="list"
<field type="matchfield" name="target_relation"
name="match_field" label="COM_COMPONENTBUILDER_ADMIN_FIELDS_CONDITIONS_TARGET_RELATION_LABEL"
label="COM_COMPONENTBUILDER_ADMIN_FIELDS_CONDITIONS_MATCH_FIELD_LABEL" description="COM_COMPONENTBUILDER_ADMIN_FIELDS_CONDITIONS_TARGET_RELATION_DESCRIPTION"
description="COM_COMPONENTBUILDER_ADMIN_FIELDS_CONDITIONS_MATCH_FIELD_DESCRIPTION" class="list_class"
multiple="false" multiple="false"
required="false" filter="INT"
button="false" /> required="false"
<!-- Match_behavior Field. Type: List. (joomla)--> default="0">
<field type="list" <!-- Option Set. -->
name="match_behavior" <option value="0">
label="COM_COMPONENTBUILDER_ADMIN_FIELDS_CONDITIONS_MATCH_BEHAVIOR_LABEL" COM_COMPONENTBUILDER_ADMIN_FIELDS_CONDITIONS_ISOLATE</option>
description="COM_COMPONENTBUILDER_ADMIN_FIELDS_CONDITIONS_MATCH_BEHAVIOR_DESCRIPTION" <option value="1">
class="list_class" COM_COMPONENTBUILDER_ADMIN_FIELDS_CONDITIONS_CHAIN</option>
multiple="false" </field>
filter="INT" <!-- Match_field Field. Type: Matchfield. (custom) -->
required="false" <field
default="1"> type="matchfield"
<!-- Option Set.--> name="match_field"
<option value="1">COM_COMPONENTBUILDER_ADMIN_FIELDS_CONDITIONS_IS_ONLY_FOUR_LISTRADIOCHECKBOXES</option> label="COM_COMPONENTBUILDER_ADMIN_FIELDS_CONDITIONS_MATCH_FIELD_LABEL"
<option value="2">COM_COMPONENTBUILDER_ADMIN_FIELDS_CONDITIONS_IS_NOT_ONLY_FOUR_LISTRADIOCHECKBOXES</option> description="COM_COMPONENTBUILDER_ADMIN_FIELDS_CONDITIONS_MATCH_FIELD_DESCRIPTION"
<option value="3">COM_COMPONENTBUILDER_ADMIN_FIELDS_CONDITIONS_ANY_SELECTION_ONLY_FOUR_LISTRADIOCHECKBOXESDYNAMIC_LIST</option> multiple="false"
<option value="4">COM_COMPONENTBUILDER_ADMIN_FIELDS_CONDITIONS_ACTIVE_ONLY_FOUR_TEXT_FIELD</option> required="false"
<option value="5">COM_COMPONENTBUILDER_ADMIN_FIELDS_CONDITIONS_UNACTIVE_ONLY_FOUR_TEXT_FIELD</option> button="false"
<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> <!-- Match_behavior Field. Type: List. (joomla) -->
<option value="8">COM_COMPONENTBUILDER_ADMIN_FIELDS_CONDITIONS_KEY_WORD_ALL_CASEINSENSITIVE_ONLY_FOUR_TEXT_FIELD</option> <field
<option value="9">COM_COMPONENTBUILDER_ADMIN_FIELDS_CONDITIONS_KEY_WORD_ANY_CASEINSENSITIVE_ONLY_FOUR_TEXT_FIELD</option> type="list"
<option value="10">COM_COMPONENTBUILDER_ADMIN_FIELDS_CONDITIONS_MIN_LENGTH_ONLY_FOUR_TEXT_FIELD</option> name="match_behavior"
<option value="11">COM_COMPONENTBUILDER_ADMIN_FIELDS_CONDITIONS_MAX_LENGTH_ONLY_FOUR_TEXT_FIELD</option> label="COM_COMPONENTBUILDER_ADMIN_FIELDS_CONDITIONS_MATCH_BEHAVIOR_LABEL"
<option value="12">COM_COMPONENTBUILDER_ADMIN_FIELDS_CONDITIONS_EXACT_LENGTH_ONLY_FOUR_TEXT_FIELD</option> description="COM_COMPONENTBUILDER_ADMIN_FIELDS_CONDITIONS_MATCH_BEHAVIOR_DESCRIPTION"
</field> class="list_class"
<!-- Match_options Field. Type: Textarea. (joomla)--> multiple="false"
<field type="textarea" filter="INT"
name="match_options" required="false"
label="COM_COMPONENTBUILDER_ADMIN_FIELDS_CONDITIONS_MATCH_OPTIONS_LABEL" default="1">
rows="10" <!-- Option Set. -->
cols="5" <option value="1">
class="text_area" COM_COMPONENTBUILDER_ADMIN_FIELDS_CONDITIONS_IS_ONLY_FOUR_LISTRADIOCHECKBOXES</option>
filter="STRING" <option value="2">
hint="COM_COMPONENTBUILDER_ADMIN_FIELDS_CONDITIONS_MATCH_OPTIONS_HINT" COM_COMPONENTBUILDER_ADMIN_FIELDS_CONDITIONS_IS_NOT_ONLY_FOUR_LISTRADIOCHECKBOXES</option>
required="false" /> <option value="3">
</form> COM_COMPONENTBUILDER_ADMIN_FIELDS_CONDITIONS_ANY_SELECTION_ONLY_FOUR_LISTRADIOCHECKBOXESDYNAMIC_LIST</option>
</field> <option value="4">
<!-- Note_on_conditions Field. Type: Note. A None Database Field. (joomla)--> COM_COMPONENTBUILDER_ADMIN_FIELDS_CONDITIONS_ACTIVE_ONLY_FOUR_TEXT_FIELD</option>
<field type="note" <option value="5">
name="note_on_conditions" COM_COMPONENTBUILDER_ADMIN_FIELDS_CONDITIONS_UNACTIVE_ONLY_FOUR_TEXT_FIELD</option>
label="COM_COMPONENTBUILDER_ADMIN_FIELDS_CONDITIONS_NOTE_ON_CONDITIONS_LABEL" <option value="6">
description="COM_COMPONENTBUILDER_ADMIN_FIELDS_CONDITIONS_NOTE_ON_CONDITIONS_DESCRIPTION" COM_COMPONENTBUILDER_ADMIN_FIELDS_CONDITIONS_KEY_WORD_ALL_CASESENSITIVE_ONLY_FOUR_TEXT_FIELD</option>
heading="h4" <option value="7">
class="alert alert-info note_on_conditions" COM_COMPONENTBUILDER_ADMIN_FIELDS_CONDITIONS_KEY_WORD_ANY_CASESENSITIVE_ONLY_FOUR_TEXT_FIELD</option>
close="true" /> <option value="8">
</fieldset> 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. --> <!-- Access Control Fields. -->
<fieldset name="accesscontrol"> <fieldset name="accesscontrol">

File diff suppressed because it is too large Load Diff

File diff suppressed because it is too large Load Diff

View File

@ -4,142 +4,155 @@
addfieldpath="/administrator/components/com_componentbuilder/models/fields" addfieldpath="/administrator/components/com_componentbuilder/models/fields"
> >
<fieldset name="details"> <fieldset name="details">
<!-- Default Fields.--> <!-- Default Fields. -->
<!-- Id Field. Type: Text (joomla)--> <!-- Id Field. Type: Text (joomla) -->
<field name="id" <field
type="text" name="id"
class="readonly" type="text" class="readonly" label="JGLOBAL_FIELD_ID_LABEL"
label="JGLOBAL_FIELD_ID_LABEL" description ="JGLOBAL_FIELD_ID_DESC" size="10" default="0"
description="JGLOBAL_FIELD_ID_DESC" readonly="true"
size="10" />
default="0" /> <!-- Date Created Field. Type: Calendar (joomla) -->
<!-- Date Created Field. Type: Calendar (joomla)--> <field
<field name="created" name="created"
type="calendar" type="calendar"
label="COM_COMPONENTBUILDER_COMPONENT_CONFIG_CREATED_DATE_LABEL" label="COM_COMPONENTBUILDER_COMPONENT_CONFIG_CREATED_DATE_LABEL"
description="COM_COMPONENTBUILDER_COMPONENT_CONFIG_CREATED_DATE_DESC" description="COM_COMPONENTBUILDER_COMPONENT_CONFIG_CREATED_DATE_DESC"
size="22" size="22"
format="%Y-%m-%d %H:%M:%S" format="%Y-%m-%d %H:%M:%S"
filter="user_utc" /> filter="user_utc"
<!-- User Created Field. Type: User (joomla)--> />
<field name="created_by" <!-- User Created Field. Type: User (joomla) -->
type="user" <field
label="COM_COMPONENTBUILDER_COMPONENT_CONFIG_CREATED_BY_LABEL" name="created_by"
description="COM_COMPONENTBUILDER_COMPONENT_CONFIG_CREATED_BY_DESC" /> type="user"
<!-- Published Field. Type: List (joomla)--> label="COM_COMPONENTBUILDER_COMPONENT_CONFIG_CREATED_BY_LABEL"
<field name="published" description="COM_COMPONENTBUILDER_COMPONENT_CONFIG_CREATED_BY_DESC"
type="list" />
label="JSTATUS"> <!-- Published Field. Type: List (joomla) -->
<option value="1">JPUBLISHED</option> <field name="published" type="list" label="JSTATUS"
<option value="0">JUNPUBLISHED</option> description="JFIELD_PUBLISHED_DESC" class="chzn-color-state"
<option value="2">JARCHIVED</option> filter="intval" size="1" default="1" >
<option value="-2">JTRASHED</option> <option value="1">
</field> JPUBLISHED</option>
<!-- Date Modified Field. Type: Calendar (joomla)--> <option value="0">
<field name="modified" JUNPUBLISHED</option>
type="calendar" <option value="2">
class="readonly" JARCHIVED</option>
label="COM_COMPONENTBUILDER_COMPONENT_CONFIG_MODIFIED_DATE_LABEL" <option value="-2">
description="COM_COMPONENTBUILDER_COMPONENT_CONFIG_MODIFIED_DATE_DESC" JTRASHED</option>
size="22" </field>
readonly="true" <!-- Date Modified Field. Type: Calendar (joomla) -->
format="%Y-%m-%d %H:%M:%S" <field name="modified" type="calendar" class="readonly"
filter="user_utc" /> label="COM_COMPONENTBUILDER_COMPONENT_CONFIG_MODIFIED_DATE_LABEL" description="COM_COMPONENTBUILDER_COMPONENT_CONFIG_MODIFIED_DATE_DESC"
<!-- User Modified Field. Type: User (joomla)--> size="22" readonly="true" format="%Y-%m-%d %H:%M:%S" filter="user_utc" />
<field name="modified_by" <!-- User Modified Field. Type: User (joomla) -->
type="user" <field name="modified_by" type="user"
label="COM_COMPONENTBUILDER_COMPONENT_CONFIG_MODIFIED_BY_LABEL" label="COM_COMPONENTBUILDER_COMPONENT_CONFIG_MODIFIED_BY_LABEL"
description="COM_COMPONENTBUILDER_COMPONENT_CONFIG_MODIFIED_BY_DESC" description="COM_COMPONENTBUILDER_COMPONENT_CONFIG_MODIFIED_BY_DESC"
class="readonly" class="readonly"
readonly="true" readonly="true"
filter="unset" /> filter="unset"
<!-- Access Field. Type: Accesslevel (joomla)--> />
<field name="access" <!-- Access Field. Type: Accesslevel (joomla) -->
type="accesslevel" <field name="access"
label="JFIELD_ACCESS_LABEL" type="accesslevel"
description="JFIELD_ACCESS_DESC" label="JFIELD_ACCESS_LABEL"
default="1" description="JFIELD_ACCESS_DESC"
required="false" /> default="1"
<!-- Ordering Field. Type: Numbers (joomla)--> required="false"
<field name="ordering" />
type="number" <!-- Ordering Field. Type: Numbers (joomla) -->
class="inputbox validate-ordering" <field
label="COM_COMPONENTBUILDER_COMPONENT_CONFIG_ORDERING_LABEL" name="ordering"
description="" type="number"
default="0" class="inputbox validate-ordering"
size="6" label="COM_COMPONENTBUILDER_COMPONENT_CONFIG_ORDERING_LABEL"
required="false" /> description=""
<!-- Version Field. Type: Text (joomla)--> default="0"
<field name="version" size="6"
type="text" required="false"
class="readonly" />
label="COM_COMPONENTBUILDER_COMPONENT_CONFIG_VERSION_LABEL" <!-- Version Field. Type: Text (joomla) -->
description="COM_COMPONENTBUILDER_COMPONENT_CONFIG_VERSION_DESC" <field
size="6" name="version"
readonly="true" type="text"
filter="unset" /> class="readonly"
<!-- Dynamic Fields.--> label="COM_COMPONENTBUILDER_COMPONENT_CONFIG_VERSION_LABEL"
<!-- Joomla_component Field. Type: Joomlacomponents. (custom)--> description="COM_COMPONENTBUILDER_COMPONENT_CONFIG_VERSION_DESC"
<field type="joomlacomponents" size="6"
name="joomla_component" readonly="true"
label="COM_COMPONENTBUILDER_COMPONENT_CONFIG_JOOMLA_COMPONENT_LABEL" filter="unset"
description="COM_COMPONENTBUILDER_COMPONENT_CONFIG_JOOMLA_COMPONENT_DESCRIPTION" />
class="list_class" <!-- Dynamic Fields. -->
multiple="false" <!-- Joomla_component Field. Type: Joomlacomponents. (custom) -->
required="true" <field
readonly="true" type="joomlacomponents"
button="false" /> name="joomla_component"
<!-- Addconfig Field. Type: Subform. (joomla)--> label="COM_COMPONENTBUILDER_COMPONENT_CONFIG_JOOMLA_COMPONENT_LABEL"
<field type="subform" description="COM_COMPONENTBUILDER_COMPONENT_CONFIG_JOOMLA_COMPONENT_DESCRIPTION"
name="addconfig" class="list_class"
label="COM_COMPONENTBUILDER_COMPONENT_CONFIG_ADDCONFIG_LABEL" multiple="false"
layout="joomla.form.field.subform.repeatable-table" required="true"
multiple="true" readonly="true"
description="COM_COMPONENTBUILDER_COMPONENT_CONFIG_ADDCONFIG_DESCRIPTION" button="false"
icon="list" />
maximum="500"> <!-- Addconfig Field. Type: Subform. (joomla) -->
<form hidden="true" <field
name="list_addconfig_modal" type="subform"
repeat="true"> name="addconfig"
<!-- Field Field. Type: Fields. (custom)--> label="COM_COMPONENTBUILDER_COMPONENT_CONFIG_ADDCONFIG_LABEL"
<field type="fields" layout="joomla.form.field.subform.repeatable-table"
name="field" multiple="true"
label="COM_COMPONENTBUILDER_COMPONENT_CONFIG_FIELD_LABEL" description="COM_COMPONENTBUILDER_COMPONENT_CONFIG_ADDCONFIG_DESCRIPTION"
description="COM_COMPONENTBUILDER_COMPONENT_CONFIG_FIELD_DESCRIPTION" icon="list"
class="list_class" maximum="500">
multiple="false" <form hidden="true" name="list_addconfig_modal" repeat="true">
required="false" <!-- Field Field. Type: Fields. (custom) -->
button="false" /> <field
<!-- Custom_value Field. Type: Textarea. (joomla)--> type="fields"
<field type="textarea" name="field"
name="custom_value" label="COM_COMPONENTBUILDER_COMPONENT_CONFIG_FIELD_LABEL"
label="COM_COMPONENTBUILDER_COMPONENT_CONFIG_CUSTOM_VALUE_LABEL" description="COM_COMPONENTBUILDER_COMPONENT_CONFIG_FIELD_DESCRIPTION"
rows="2" class="list_class"
cols="4" multiple="false"
description="COM_COMPONENTBUILDER_COMPONENT_CONFIG_CUSTOM_VALUE_DESCRIPTION" required="false"
class="text_area" button="false"
hint="COM_COMPONENTBUILDER_COMPONENT_CONFIG_CUSTOM_VALUE_HINT" />
required="false" <!-- Custom_value Field. Type: Textarea. (joomla) -->
readonly="false" <field
disabled="false" /> type="textarea"
<!-- Tabname Field. Type: Text. (joomla)--> name="custom_value"
<field type="text" label="COM_COMPONENTBUILDER_COMPONENT_CONFIG_CUSTOM_VALUE_LABEL"
name="tabname" rows="2"
label="COM_COMPONENTBUILDER_COMPONENT_CONFIG_TABNAME_LABEL" cols="4"
size="40" description="COM_COMPONENTBUILDER_COMPONENT_CONFIG_CUSTOM_VALUE_DESCRIPTION"
maxlength="150" class="text_area"
default="Global" hint="COM_COMPONENTBUILDER_COMPONENT_CONFIG_CUSTOM_VALUE_HINT"
description="COM_COMPONENTBUILDER_COMPONENT_CONFIG_TABNAME_DESCRIPTION" required="false"
class="text_area" readonly="false"
readonly="false" disabled="false"
disabled="false" />
required="false" <!-- Tabname Field. Type: Text. (joomla) -->
filter="STRING" <field
message="COM_COMPONENTBUILDER_COMPONENT_CONFIG_TABNAME_MESSAGE" type="text"
hint="COM_COMPONENTBUILDER_COMPONENT_CONFIG_TABNAME_HINT" /> name="tabname"
</form> label="COM_COMPONENTBUILDER_COMPONENT_CONFIG_TABNAME_LABEL"
</field> size="40"
</fieldset> 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. --> <!-- Access Control Fields. -->
<fieldset name="accesscontrol"> <fieldset name="accesscontrol">

View File

@ -4,188 +4,211 @@
addfieldpath="/administrator/components/com_componentbuilder/models/fields" addfieldpath="/administrator/components/com_componentbuilder/models/fields"
> >
<fieldset name="details"> <fieldset name="details">
<!-- Default Fields.--> <!-- Default Fields. -->
<!-- Id Field. Type: Text (joomla)--> <!-- Id Field. Type: Text (joomla) -->
<field name="id" <field
type="text" name="id"
class="readonly" type="text" class="readonly" label="JGLOBAL_FIELD_ID_LABEL"
label="JGLOBAL_FIELD_ID_LABEL" description ="JGLOBAL_FIELD_ID_DESC" size="10" default="0"
description="JGLOBAL_FIELD_ID_DESC" readonly="true"
size="10" />
default="0" /> <!-- Date Created Field. Type: Calendar (joomla) -->
<!-- Date Created Field. Type: Calendar (joomla)--> <field
<field name="created" name="created"
type="calendar" type="calendar"
label="COM_COMPONENTBUILDER_COMPONENT_CUSTOM_ADMIN_MENUS_CREATED_DATE_LABEL" label="COM_COMPONENTBUILDER_COMPONENT_CUSTOM_ADMIN_MENUS_CREATED_DATE_LABEL"
description="COM_COMPONENTBUILDER_COMPONENT_CUSTOM_ADMIN_MENUS_CREATED_DATE_DESC" description="COM_COMPONENTBUILDER_COMPONENT_CUSTOM_ADMIN_MENUS_CREATED_DATE_DESC"
size="22" size="22"
format="%Y-%m-%d %H:%M:%S" format="%Y-%m-%d %H:%M:%S"
filter="user_utc" /> filter="user_utc"
<!-- User Created Field. Type: User (joomla)--> />
<field name="created_by" <!-- User Created Field. Type: User (joomla) -->
type="user" <field
label="COM_COMPONENTBUILDER_COMPONENT_CUSTOM_ADMIN_MENUS_CREATED_BY_LABEL" name="created_by"
description="COM_COMPONENTBUILDER_COMPONENT_CUSTOM_ADMIN_MENUS_CREATED_BY_DESC" /> type="user"
<!-- Published Field. Type: List (joomla)--> label="COM_COMPONENTBUILDER_COMPONENT_CUSTOM_ADMIN_MENUS_CREATED_BY_LABEL"
<field name="published" description="COM_COMPONENTBUILDER_COMPONENT_CUSTOM_ADMIN_MENUS_CREATED_BY_DESC"
type="list" />
label="JSTATUS"> <!-- Published Field. Type: List (joomla) -->
<option value="1">JPUBLISHED</option> <field name="published" type="list" label="JSTATUS"
<option value="0">JUNPUBLISHED</option> description="JFIELD_PUBLISHED_DESC" class="chzn-color-state"
<option value="2">JARCHIVED</option> filter="intval" size="1" default="1" >
<option value="-2">JTRASHED</option> <option value="1">
</field> JPUBLISHED</option>
<!-- Date Modified Field. Type: Calendar (joomla)--> <option value="0">
<field name="modified" JUNPUBLISHED</option>
type="calendar" <option value="2">
class="readonly" JARCHIVED</option>
label="COM_COMPONENTBUILDER_COMPONENT_CUSTOM_ADMIN_MENUS_MODIFIED_DATE_LABEL" <option value="-2">
description="COM_COMPONENTBUILDER_COMPONENT_CUSTOM_ADMIN_MENUS_MODIFIED_DATE_DESC" JTRASHED</option>
size="22" </field>
readonly="true" <!-- Date Modified Field. Type: Calendar (joomla) -->
format="%Y-%m-%d %H:%M:%S" <field name="modified" type="calendar" class="readonly"
filter="user_utc" /> label="COM_COMPONENTBUILDER_COMPONENT_CUSTOM_ADMIN_MENUS_MODIFIED_DATE_LABEL" description="COM_COMPONENTBUILDER_COMPONENT_CUSTOM_ADMIN_MENUS_MODIFIED_DATE_DESC"
<!-- User Modified Field. Type: User (joomla)--> size="22" readonly="true" format="%Y-%m-%d %H:%M:%S" filter="user_utc" />
<field name="modified_by" <!-- User Modified Field. Type: User (joomla) -->
type="user" <field name="modified_by" type="user"
label="COM_COMPONENTBUILDER_COMPONENT_CUSTOM_ADMIN_MENUS_MODIFIED_BY_LABEL" label="COM_COMPONENTBUILDER_COMPONENT_CUSTOM_ADMIN_MENUS_MODIFIED_BY_LABEL"
description="COM_COMPONENTBUILDER_COMPONENT_CUSTOM_ADMIN_MENUS_MODIFIED_BY_DESC" description="COM_COMPONENTBUILDER_COMPONENT_CUSTOM_ADMIN_MENUS_MODIFIED_BY_DESC"
class="readonly" class="readonly"
readonly="true" readonly="true"
filter="unset" /> filter="unset"
<!-- Access Field. Type: Accesslevel (joomla)--> />
<field name="access" <!-- Access Field. Type: Accesslevel (joomla) -->
type="accesslevel" <field name="access"
label="JFIELD_ACCESS_LABEL" type="accesslevel"
description="JFIELD_ACCESS_DESC" label="JFIELD_ACCESS_LABEL"
default="1" description="JFIELD_ACCESS_DESC"
required="false" /> default="1"
<!-- Ordering Field. Type: Numbers (joomla)--> required="false"
<field name="ordering" />
type="number" <!-- Ordering Field. Type: Numbers (joomla) -->
class="inputbox validate-ordering" <field
label="COM_COMPONENTBUILDER_COMPONENT_CUSTOM_ADMIN_MENUS_ORDERING_LABEL" name="ordering"
description="" type="number"
default="0" class="inputbox validate-ordering"
size="6" label="COM_COMPONENTBUILDER_COMPONENT_CUSTOM_ADMIN_MENUS_ORDERING_LABEL"
required="false" /> description=""
<!-- Version Field. Type: Text (joomla)--> default="0"
<field name="version" size="6"
type="text" required="false"
class="readonly" />
label="COM_COMPONENTBUILDER_COMPONENT_CUSTOM_ADMIN_MENUS_VERSION_LABEL" <!-- Version Field. Type: Text (joomla) -->
description="COM_COMPONENTBUILDER_COMPONENT_CUSTOM_ADMIN_MENUS_VERSION_DESC" <field
size="6" name="version"
readonly="true" type="text"
filter="unset" /> class="readonly"
<!-- Dynamic Fields.--> label="COM_COMPONENTBUILDER_COMPONENT_CUSTOM_ADMIN_MENUS_VERSION_LABEL"
<!-- Joomla_component Field. Type: Joomlacomponents. (custom)--> description="COM_COMPONENTBUILDER_COMPONENT_CUSTOM_ADMIN_MENUS_VERSION_DESC"
<field type="joomlacomponents" size="6"
name="joomla_component" readonly="true"
label="COM_COMPONENTBUILDER_COMPONENT_CUSTOM_ADMIN_MENUS_JOOMLA_COMPONENT_LABEL" filter="unset"
description="COM_COMPONENTBUILDER_COMPONENT_CUSTOM_ADMIN_MENUS_JOOMLA_COMPONENT_DESCRIPTION" />
class="list_class" <!-- Dynamic Fields. -->
multiple="false" <!-- Joomla_component Field. Type: Joomlacomponents. (custom) -->
required="true" <field
readonly="true" type="joomlacomponents"
button="false" /> name="joomla_component"
<!-- Addcustommenus Field. Type: Subform. (joomla)--> label="COM_COMPONENTBUILDER_COMPONENT_CUSTOM_ADMIN_MENUS_JOOMLA_COMPONENT_LABEL"
<field type="subform" description="COM_COMPONENTBUILDER_COMPONENT_CUSTOM_ADMIN_MENUS_JOOMLA_COMPONENT_DESCRIPTION"
name="addcustommenus" class="list_class"
label="COM_COMPONENTBUILDER_COMPONENT_CUSTOM_ADMIN_MENUS_ADDCUSTOMMENUS_LABEL" multiple="false"
layout="joomla.form.field.subform.repeatable-table" required="true"
multiple="true" readonly="true"
icon="list" button="false"
maximum="50"> />
<form hidden="true" <!-- Addcustommenus Field. Type: Subform. (joomla) -->
name="list_addcustommenus_modal" <field
repeat="true"> type="subform"
<!-- Name Field. Type: Text. (joomla)--> name="addcustommenus"
<field type="text" label="COM_COMPONENTBUILDER_COMPONENT_CUSTOM_ADMIN_MENUS_ADDCUSTOMMENUS_LABEL"
name="name" layout="joomla.form.field.subform.repeatable-table"
label="COM_COMPONENTBUILDER_COMPONENT_CUSTOM_ADMIN_MENUS_NAME_LABEL" multiple="true"
size="40" icon="list"
maxlength="150" maximum="50">
description="COM_COMPONENTBUILDER_COMPONENT_CUSTOM_ADMIN_MENUS_NAME_DESCRIPTION" <form hidden="true" name="list_addcustommenus_modal" repeat="true">
class="text_area" <!-- Name Field. Type: Text. (joomla) -->
readonly="false" <field
disabled="false" type="text"
required="false" name="name"
filter="STRING" label="COM_COMPONENTBUILDER_COMPONENT_CUSTOM_ADMIN_MENUS_NAME_LABEL"
message="COM_COMPONENTBUILDER_COMPONENT_CUSTOM_ADMIN_MENUS_NAME_MESSAGE" size="40"
hint="COM_COMPONENTBUILDER_COMPONENT_CUSTOM_ADMIN_MENUS_NAME_HINT" /> maxlength="150"
<!-- Name_code Field. Type: Text. (joomla)--> description="COM_COMPONENTBUILDER_COMPONENT_CUSTOM_ADMIN_MENUS_NAME_DESCRIPTION"
<field type="text" class="text_area"
name="name_code" readonly="false"
label="COM_COMPONENTBUILDER_COMPONENT_CUSTOM_ADMIN_MENUS_NAME_CODE_LABEL" disabled="false"
size="40" required="false"
maxlength="50" filter="STRING"
description="COM_COMPONENTBUILDER_COMPONENT_CUSTOM_ADMIN_MENUS_NAME_CODE_DESCRIPTION" message="COM_COMPONENTBUILDER_COMPONENT_CUSTOM_ADMIN_MENUS_NAME_MESSAGE"
class="text_area" hint="COM_COMPONENTBUILDER_COMPONENT_CUSTOM_ADMIN_MENUS_NAME_HINT"
required="false" />
filter="CMD" <!-- Name_code Field. Type: Text. (joomla) -->
message="COM_COMPONENTBUILDER_COMPONENT_CUSTOM_ADMIN_MENUS_NAME_CODE_MESSAGE" <field
hint="COM_COMPONENTBUILDER_COMPONENT_CUSTOM_ADMIN_MENUS_NAME_CODE_HINT" /> type="text"
<!-- Link Field. Type: Text. (joomla)--> name="name_code"
<field type="text" label="COM_COMPONENTBUILDER_COMPONENT_CUSTOM_ADMIN_MENUS_NAME_CODE_LABEL"
name="link" size="40"
label="COM_COMPONENTBUILDER_COMPONENT_CUSTOM_ADMIN_MENUS_LINK_LABEL" maxlength="50"
size="50" description="COM_COMPONENTBUILDER_COMPONENT_CUSTOM_ADMIN_MENUS_NAME_CODE_DESCRIPTION"
maxlength="150" class="text_area"
description="COM_COMPONENTBUILDER_COMPONENT_CUSTOM_ADMIN_MENUS_LINK_DESCRIPTION" required="false"
class="text_area" filter="CMD"
readonly="false" message="COM_COMPONENTBUILDER_COMPONENT_CUSTOM_ADMIN_MENUS_NAME_CODE_MESSAGE"
disabled="false" hint="COM_COMPONENTBUILDER_COMPONENT_CUSTOM_ADMIN_MENUS_NAME_CODE_HINT"
required="false" />
filter="STRING" <!-- Link Field. Type: Text. (joomla) -->
message="COM_COMPONENTBUILDER_COMPONENT_CUSTOM_ADMIN_MENUS_LINK_MESSAGE" <field
hint="COM_COMPONENTBUILDER_COMPONENT_CUSTOM_ADMIN_MENUS_LINK_HINT" /> type="text"
<!-- Icon Field. Type: Filelist. (joomla)--> name="link"
<field type="filelist" label="COM_COMPONENTBUILDER_COMPONENT_CUSTOM_ADMIN_MENUS_LINK_LABEL"
name="icon" size="50"
label="COM_COMPONENTBUILDER_COMPONENT_CUSTOM_ADMIN_MENUS_ICON_LABEL" maxlength="150"
directory="images" description="COM_COMPONENTBUILDER_COMPONENT_CUSTOM_ADMIN_MENUS_LINK_DESCRIPTION"
description="COM_COMPONENTBUILDER_COMPONENT_CUSTOM_ADMIN_MENUS_ICON_DESCRIPTION" class="text_area"
hide_default="true" /> readonly="false"
<!-- Mainmenu Field. Type: Checkbox. (joomla)--> disabled="false"
<field type="checkbox" required="false"
name="mainmenu" filter="STRING"
label="COM_COMPONENTBUILDER_COMPONENT_CUSTOM_ADMIN_MENUS_MAINMENU_LABEL" message="COM_COMPONENTBUILDER_COMPONENT_CUSTOM_ADMIN_MENUS_LINK_MESSAGE"
value="1" hint="COM_COMPONENTBUILDER_COMPONENT_CUSTOM_ADMIN_MENUS_LINK_HINT"
default="1" />
required="false" <!-- Icon Field. Type: Filelist. (joomla) -->
description="COM_COMPONENTBUILDER_COMPONENT_CUSTOM_ADMIN_MENUS_MAINMENU_DESCRIPTION" <field
class="inputbox" /> type="filelist"
<!-- Dashboard_list Field. Type: Checkbox. (joomla)--> name="icon"
<field type="checkbox" label="COM_COMPONENTBUILDER_COMPONENT_CUSTOM_ADMIN_MENUS_ICON_LABEL"
name="dashboard_list" directory="images"
label="COM_COMPONENTBUILDER_COMPONENT_CUSTOM_ADMIN_MENUS_DASHBOARD_LIST_LABEL" description="COM_COMPONENTBUILDER_COMPONENT_CUSTOM_ADMIN_MENUS_ICON_DESCRIPTION"
value="1" hide_default="true"
default="1" />
required="false" <!-- Mainmenu Field. Type: Checkbox. (joomla) -->
description="COM_COMPONENTBUILDER_COMPONENT_CUSTOM_ADMIN_MENUS_DASHBOARD_LIST_DESCRIPTION" <field
class="inputbox" /> type="checkbox"
<!-- Submenu Field. Type: Checkbox. (joomla)--> name="mainmenu"
<field type="checkbox" label="COM_COMPONENTBUILDER_COMPONENT_CUSTOM_ADMIN_MENUS_MAINMENU_LABEL"
name="submenu" value="1"
label="COM_COMPONENTBUILDER_COMPONENT_CUSTOM_ADMIN_MENUS_SUBMENU_LABEL" default="1"
value="1" required="false"
default="1" description="COM_COMPONENTBUILDER_COMPONENT_CUSTOM_ADMIN_MENUS_MAINMENU_DESCRIPTION"
required="false" class="inputbox"
description="COM_COMPONENTBUILDER_COMPONENT_CUSTOM_ADMIN_MENUS_SUBMENU_DESCRIPTION" />
class="inputbox" /> <!-- Dashboard_list Field. Type: Checkbox. (joomla) -->
<!-- Before Field. Type: Componentadminmenus. (custom)--> <field
<field type="componentadminmenus" type="checkbox"
name="before" name="dashboard_list"
label="COM_COMPONENTBUILDER_COMPONENT_CUSTOM_ADMIN_MENUS_BEFORE_LABEL" label="COM_COMPONENTBUILDER_COMPONENT_CUSTOM_ADMIN_MENUS_DASHBOARD_LIST_LABEL"
description="COM_COMPONENTBUILDER_COMPONENT_CUSTOM_ADMIN_MENUS_BEFORE_DESCRIPTION" value="1"
class="list_class fieldMedium" default="1"
multiple="false" required="false"
required="false" description="COM_COMPONENTBUILDER_COMPONENT_CUSTOM_ADMIN_MENUS_DASHBOARD_LIST_DESCRIPTION"
button="false" /> class="inputbox"
</form> />
</field> <!-- Submenu Field. Type: Checkbox. (joomla) -->
</fieldset> <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. --> <!-- Access Control Fields. -->
<fieldset name="accesscontrol"> <fieldset name="accesscontrol">

File diff suppressed because it is too large Load Diff

View File

@ -4,155 +4,170 @@
addfieldpath="/administrator/components/com_componentbuilder/models/fields" addfieldpath="/administrator/components/com_componentbuilder/models/fields"
> >
<fieldset name="details"> <fieldset name="details">
<!-- Default Fields.--> <!-- Default Fields. -->
<!-- Id Field. Type: Text (joomla)--> <!-- Id Field. Type: Text (joomla) -->
<field name="id" <field
type="text" name="id"
class="readonly" type="text" class="readonly" label="JGLOBAL_FIELD_ID_LABEL"
label="JGLOBAL_FIELD_ID_LABEL" description ="JGLOBAL_FIELD_ID_DESC" size="10" default="0"
description="JGLOBAL_FIELD_ID_DESC" readonly="true"
size="10" />
default="0" /> <!-- Date Created Field. Type: Calendar (joomla) -->
<!-- Date Created Field. Type: Calendar (joomla)--> <field
<field name="created" name="created"
type="calendar" type="calendar"
label="COM_COMPONENTBUILDER_COMPONENT_DASHBOARD_CREATED_DATE_LABEL" label="COM_COMPONENTBUILDER_COMPONENT_DASHBOARD_CREATED_DATE_LABEL"
description="COM_COMPONENTBUILDER_COMPONENT_DASHBOARD_CREATED_DATE_DESC" description="COM_COMPONENTBUILDER_COMPONENT_DASHBOARD_CREATED_DATE_DESC"
size="22" size="22"
format="%Y-%m-%d %H:%M:%S" format="%Y-%m-%d %H:%M:%S"
filter="user_utc" /> filter="user_utc"
<!-- User Created Field. Type: User (joomla)--> />
<field name="created_by" <!-- User Created Field. Type: User (joomla) -->
type="user" <field
label="COM_COMPONENTBUILDER_COMPONENT_DASHBOARD_CREATED_BY_LABEL" name="created_by"
description="COM_COMPONENTBUILDER_COMPONENT_DASHBOARD_CREATED_BY_DESC" /> type="user"
<!-- Published Field. Type: List (joomla)--> label="COM_COMPONENTBUILDER_COMPONENT_DASHBOARD_CREATED_BY_LABEL"
<field name="published" description="COM_COMPONENTBUILDER_COMPONENT_DASHBOARD_CREATED_BY_DESC"
type="list" />
label="JSTATUS"> <!-- Published Field. Type: List (joomla) -->
<option value="1">JPUBLISHED</option> <field name="published" type="list" label="JSTATUS"
<option value="0">JUNPUBLISHED</option> description="JFIELD_PUBLISHED_DESC" class="chzn-color-state"
<option value="2">JARCHIVED</option> filter="intval" size="1" default="1" >
<option value="-2">JTRASHED</option> <option value="1">
</field> JPUBLISHED</option>
<!-- Date Modified Field. Type: Calendar (joomla)--> <option value="0">
<field name="modified" JUNPUBLISHED</option>
type="calendar" <option value="2">
class="readonly" JARCHIVED</option>
label="COM_COMPONENTBUILDER_COMPONENT_DASHBOARD_MODIFIED_DATE_LABEL" <option value="-2">
description="COM_COMPONENTBUILDER_COMPONENT_DASHBOARD_MODIFIED_DATE_DESC" JTRASHED</option>
size="22" </field>
readonly="true" <!-- Date Modified Field. Type: Calendar (joomla) -->
format="%Y-%m-%d %H:%M:%S" <field name="modified" type="calendar" class="readonly"
filter="user_utc" /> label="COM_COMPONENTBUILDER_COMPONENT_DASHBOARD_MODIFIED_DATE_LABEL" description="COM_COMPONENTBUILDER_COMPONENT_DASHBOARD_MODIFIED_DATE_DESC"
<!-- User Modified Field. Type: User (joomla)--> size="22" readonly="true" format="%Y-%m-%d %H:%M:%S" filter="user_utc" />
<field name="modified_by" <!-- User Modified Field. Type: User (joomla) -->
type="user" <field name="modified_by" type="user"
label="COM_COMPONENTBUILDER_COMPONENT_DASHBOARD_MODIFIED_BY_LABEL" label="COM_COMPONENTBUILDER_COMPONENT_DASHBOARD_MODIFIED_BY_LABEL"
description="COM_COMPONENTBUILDER_COMPONENT_DASHBOARD_MODIFIED_BY_DESC" description="COM_COMPONENTBUILDER_COMPONENT_DASHBOARD_MODIFIED_BY_DESC"
class="readonly" class="readonly"
readonly="true" readonly="true"
filter="unset" /> filter="unset"
<!-- Access Field. Type: Accesslevel (joomla)--> />
<field name="access" <!-- Access Field. Type: Accesslevel (joomla) -->
type="accesslevel" <field name="access"
label="JFIELD_ACCESS_LABEL" type="accesslevel"
description="JFIELD_ACCESS_DESC" label="JFIELD_ACCESS_LABEL"
default="1" description="JFIELD_ACCESS_DESC"
required="false" /> default="1"
<!-- Ordering Field. Type: Numbers (joomla)--> required="false"
<field name="ordering" />
type="number" <!-- Ordering Field. Type: Numbers (joomla) -->
class="inputbox validate-ordering" <field
label="COM_COMPONENTBUILDER_COMPONENT_DASHBOARD_ORDERING_LABEL" name="ordering"
description="" type="number"
default="0" class="inputbox validate-ordering"
size="6" label="COM_COMPONENTBUILDER_COMPONENT_DASHBOARD_ORDERING_LABEL"
required="false" /> description=""
<!-- Version Field. Type: Text (joomla)--> default="0"
<field name="version" size="6"
type="text" required="false"
class="readonly" />
label="COM_COMPONENTBUILDER_COMPONENT_DASHBOARD_VERSION_LABEL" <!-- Version Field. Type: Text (joomla) -->
description="COM_COMPONENTBUILDER_COMPONENT_DASHBOARD_VERSION_DESC" <field
size="6" name="version"
readonly="true" type="text"
filter="unset" /> class="readonly"
<!-- Dynamic Fields.--> label="COM_COMPONENTBUILDER_COMPONENT_DASHBOARD_VERSION_LABEL"
<!-- Joomla_component Field. Type: Joomlacomponents. (custom)--> description="COM_COMPONENTBUILDER_COMPONENT_DASHBOARD_VERSION_DESC"
<field type="joomlacomponents" size="6"
name="joomla_component" readonly="true"
label="COM_COMPONENTBUILDER_COMPONENT_DASHBOARD_JOOMLA_COMPONENT_LABEL" filter="unset"
description="COM_COMPONENTBUILDER_COMPONENT_DASHBOARD_JOOMLA_COMPONENT_DESCRIPTION" />
class="list_class" <!-- Dynamic Fields. -->
multiple="false" <!-- Joomla_component Field. Type: Joomlacomponents. (custom) -->
required="true" <field
readonly="true" type="joomlacomponents"
button="false" /> name="joomla_component"
<!-- Dashboard_tab Field. Type: Subform. (joomla)--> label="COM_COMPONENTBUILDER_COMPONENT_DASHBOARD_JOOMLA_COMPONENT_LABEL"
<field type="subform" description="COM_COMPONENTBUILDER_COMPONENT_DASHBOARD_JOOMLA_COMPONENT_DESCRIPTION"
name="dashboard_tab" class="list_class"
label="COM_COMPONENTBUILDER_COMPONENT_DASHBOARD_DASHBOARD_TAB_LABEL" multiple="false"
layout="joomla.form.field.subform.repeatable-table" required="true"
multiple="true" readonly="true"
icon="list" button="false"
maximum="10" />
filter="raw"> <!-- Dashboard_tab Field. Type: Subform. (joomla) -->
<form hidden="true" <field
name="list_dashboard_tab_modal" type="subform"
repeat="true"> name="dashboard_tab"
<!-- Name Field. Type: Text. (joomla)--> label="COM_COMPONENTBUILDER_COMPONENT_DASHBOARD_DASHBOARD_TAB_LABEL"
<field type="text" layout="joomla.form.field.subform.repeatable-table"
name="name" multiple="true"
label="COM_COMPONENTBUILDER_COMPONENT_DASHBOARD_NAME_LABEL" icon="list"
size="40" maximum="10"
maxlength="150" filter="raw">
description="COM_COMPONENTBUILDER_COMPONENT_DASHBOARD_NAME_DESCRIPTION" <form hidden="true" name="list_dashboard_tab_modal" repeat="true">
class="text_area" <!-- Name Field. Type: Text. (joomla) -->
readonly="false" <field
disabled="false" type="text"
required="false" name="name"
filter="STRING" label="COM_COMPONENTBUILDER_COMPONENT_DASHBOARD_NAME_LABEL"
message="COM_COMPONENTBUILDER_COMPONENT_DASHBOARD_NAME_MESSAGE" size="40"
hint="COM_COMPONENTBUILDER_COMPONENT_DASHBOARD_NAME_HINT" /> maxlength="150"
<!-- Header Field. Type: Text. (joomla)--> description="COM_COMPONENTBUILDER_COMPONENT_DASHBOARD_NAME_DESCRIPTION"
<field type="text" class="text_area"
name="header" readonly="false"
label="COM_COMPONENTBUILDER_COMPONENT_DASHBOARD_HEADER_LABEL" disabled="false"
size="40" required="false"
maxlength="150" filter="STRING"
description="COM_COMPONENTBUILDER_COMPONENT_DASHBOARD_HEADER_DESCRIPTION" message="COM_COMPONENTBUILDER_COMPONENT_DASHBOARD_NAME_MESSAGE"
class="text_area" hint="COM_COMPONENTBUILDER_COMPONENT_DASHBOARD_NAME_HINT"
readonly="false" />
disabled="false" <!-- Header Field. Type: Text. (joomla) -->
required="false" <field
filter="STRING" type="text"
message="COM_COMPONENTBUILDER_COMPONENT_DASHBOARD_HEADER_MESSAGE" name="header"
hint="COM_COMPONENTBUILDER_COMPONENT_DASHBOARD_HEADER_HINT" /> label="COM_COMPONENTBUILDER_COMPONENT_DASHBOARD_HEADER_LABEL"
<!-- Html Field. Type: Textarea. (joomla)--> size="40"
<field type="textarea" maxlength="150"
name="html" description="COM_COMPONENTBUILDER_COMPONENT_DASHBOARD_HEADER_DESCRIPTION"
label="COM_COMPONENTBUILDER_COMPONENT_DASHBOARD_HTML_LABEL" class="text_area"
rows="20" readonly="false"
cols="30" disabled="false"
class="text_area tab_html" required="false"
filter="raw" filter="STRING"
hint="COM_COMPONENTBUILDER_COMPONENT_DASHBOARD_HTML_HINT" message="COM_COMPONENTBUILDER_COMPONENT_DASHBOARD_HEADER_MESSAGE"
required="false" /> hint="COM_COMPONENTBUILDER_COMPONENT_DASHBOARD_HEADER_HINT"
</form> />
</field> <!-- Html Field. Type: Textarea. (joomla) -->
<!-- Php_dashboard_methods Field. Type: Textarea. (joomla)--> <field
<field type="textarea" type="textarea"
name="php_dashboard_methods" name="html"
label="COM_COMPONENTBUILDER_COMPONENT_DASHBOARD_PHP_DASHBOARD_METHODS_LABEL" label="COM_COMPONENTBUILDER_COMPONENT_DASHBOARD_HTML_LABEL"
rows="17" rows="20"
cols="5" cols="30"
description="COM_COMPONENTBUILDER_COMPONENT_DASHBOARD_PHP_DASHBOARD_METHODS_DESCRIPTION" class="text_area tab_html"
class="text_area span12" filter="raw"
filter="raw" hint="COM_COMPONENTBUILDER_COMPONENT_DASHBOARD_HTML_HINT"
hint="COM_COMPONENTBUILDER_COMPONENT_DASHBOARD_PHP_DASHBOARD_METHODS_HINT" required="false"
required="false" /> />
</fieldset> </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. --> <!-- Access Control Fields. -->
<fieldset name="accesscontrol"> <fieldset name="accesscontrol">

View File

@ -4,313 +4,316 @@
addfieldpath="/administrator/components/com_componentbuilder/models/fields" addfieldpath="/administrator/components/com_componentbuilder/models/fields"
> >
<fieldset name="details"> <fieldset name="details">
<!-- Default Fields.--> <!-- Default Fields. -->
<!-- Id Field. Type: Text (joomla)--> <!-- Id Field. Type: Text (joomla) -->
<field name="id" <field
type="text" name="id"
class="readonly" type="text" class="readonly" label="JGLOBAL_FIELD_ID_LABEL"
label="JGLOBAL_FIELD_ID_LABEL" description ="JGLOBAL_FIELD_ID_DESC" size="10" default="0"
description="JGLOBAL_FIELD_ID_DESC" readonly="true"
size="10" />
default="0" /> <!-- Date Created Field. Type: Calendar (joomla) -->
<!-- Date Created Field. Type: Calendar (joomla)--> <field
<field name="created" name="created"
type="calendar" type="calendar"
label="COM_COMPONENTBUILDER_COMPONENT_FILES_FOLDERS_CREATED_DATE_LABEL" label="COM_COMPONENTBUILDER_COMPONENT_FILES_FOLDERS_CREATED_DATE_LABEL"
description="COM_COMPONENTBUILDER_COMPONENT_FILES_FOLDERS_CREATED_DATE_DESC" description="COM_COMPONENTBUILDER_COMPONENT_FILES_FOLDERS_CREATED_DATE_DESC"
size="22" size="22"
format="%Y-%m-%d %H:%M:%S" format="%Y-%m-%d %H:%M:%S"
filter="user_utc" /> filter="user_utc"
<!-- User Created Field. Type: User (joomla)--> />
<field name="created_by" <!-- User Created Field. Type: User (joomla) -->
type="user" <field
label="COM_COMPONENTBUILDER_COMPONENT_FILES_FOLDERS_CREATED_BY_LABEL" name="created_by"
description="COM_COMPONENTBUILDER_COMPONENT_FILES_FOLDERS_CREATED_BY_DESC" /> type="user"
<!-- Published Field. Type: List (joomla)--> label="COM_COMPONENTBUILDER_COMPONENT_FILES_FOLDERS_CREATED_BY_LABEL"
<field name="published" description="COM_COMPONENTBUILDER_COMPONENT_FILES_FOLDERS_CREATED_BY_DESC"
type="list" />
label="JSTATUS"> <!-- Published Field. Type: List (joomla) -->
<option value="1">JPUBLISHED</option> <field name="published" type="list" label="JSTATUS"
<option value="0">JUNPUBLISHED</option> description="JFIELD_PUBLISHED_DESC" class="chzn-color-state"
<option value="2">JARCHIVED</option> filter="intval" size="1" default="1" >
<option value="-2">JTRASHED</option> <option value="1">
</field> JPUBLISHED</option>
<!-- Date Modified Field. Type: Calendar (joomla)--> <option value="0">
<field name="modified" JUNPUBLISHED</option>
type="calendar" <option value="2">
class="readonly" JARCHIVED</option>
label="COM_COMPONENTBUILDER_COMPONENT_FILES_FOLDERS_MODIFIED_DATE_LABEL" <option value="-2">
description="COM_COMPONENTBUILDER_COMPONENT_FILES_FOLDERS_MODIFIED_DATE_DESC" JTRASHED</option>
size="22" </field>
readonly="true" <!-- Date Modified Field. Type: Calendar (joomla) -->
format="%Y-%m-%d %H:%M:%S" <field name="modified" type="calendar" class="readonly"
filter="user_utc" /> label="COM_COMPONENTBUILDER_COMPONENT_FILES_FOLDERS_MODIFIED_DATE_LABEL" description="COM_COMPONENTBUILDER_COMPONENT_FILES_FOLDERS_MODIFIED_DATE_DESC"
<!-- User Modified Field. Type: User (joomla)--> size="22" readonly="true" format="%Y-%m-%d %H:%M:%S" filter="user_utc" />
<field name="modified_by" <!-- User Modified Field. Type: User (joomla) -->
type="user" <field name="modified_by" type="user"
label="COM_COMPONENTBUILDER_COMPONENT_FILES_FOLDERS_MODIFIED_BY_LABEL" label="COM_COMPONENTBUILDER_COMPONENT_FILES_FOLDERS_MODIFIED_BY_LABEL"
description="COM_COMPONENTBUILDER_COMPONENT_FILES_FOLDERS_MODIFIED_BY_DESC" description="COM_COMPONENTBUILDER_COMPONENT_FILES_FOLDERS_MODIFIED_BY_DESC"
class="readonly" class="readonly"
readonly="true" readonly="true"
filter="unset" /> filter="unset"
<!-- Access Field. Type: Accesslevel (joomla)--> />
<field name="access" <!-- Access Field. Type: Accesslevel (joomla) -->
type="accesslevel" <field name="access"
label="JFIELD_ACCESS_LABEL" type="accesslevel"
description="JFIELD_ACCESS_DESC" label="JFIELD_ACCESS_LABEL"
default="1" description="JFIELD_ACCESS_DESC"
required="false" /> default="1"
<!-- Ordering Field. Type: Numbers (joomla)--> required="false"
<field name="ordering" />
type="number" <!-- Ordering Field. Type: Numbers (joomla) -->
class="inputbox validate-ordering" <field
label="COM_COMPONENTBUILDER_COMPONENT_FILES_FOLDERS_ORDERING_LABEL" name="ordering"
description="" type="number"
default="0" class="inputbox validate-ordering"
size="6" label="COM_COMPONENTBUILDER_COMPONENT_FILES_FOLDERS_ORDERING_LABEL"
required="false" /> description=""
<!-- Version Field. Type: Text (joomla)--> default="0"
<field name="version" size="6"
type="text" required="false"
class="readonly" />
label="COM_COMPONENTBUILDER_COMPONENT_FILES_FOLDERS_VERSION_LABEL" <!-- Version Field. Type: Text (joomla) -->
description="COM_COMPONENTBUILDER_COMPONENT_FILES_FOLDERS_VERSION_DESC" <field
size="6" name="version"
readonly="true" type="text"
filter="unset" /> class="readonly"
<!-- Dynamic Fields.--> label="COM_COMPONENTBUILDER_COMPONENT_FILES_FOLDERS_VERSION_LABEL"
<!-- Joomla_component Field. Type: Joomlacomponents. (custom)--> description="COM_COMPONENTBUILDER_COMPONENT_FILES_FOLDERS_VERSION_DESC"
<field type="joomlacomponents" size="6"
name="joomla_component" readonly="true"
label="COM_COMPONENTBUILDER_COMPONENT_FILES_FOLDERS_JOOMLA_COMPONENT_LABEL" filter="unset"
description="COM_COMPONENTBUILDER_COMPONENT_FILES_FOLDERS_JOOMLA_COMPONENT_DESCRIPTION" />
class="list_class" <!-- Dynamic Fields. -->
multiple="false" <!-- Joomla_component Field. Type: Joomlacomponents. (custom) -->
required="true" <field
readonly="true" type="joomlacomponents"
button="false" /> name="joomla_component"
<!-- Note_constant_paths Field. Type: Note. A None Database Field. (joomla)--> label="COM_COMPONENTBUILDER_COMPONENT_FILES_FOLDERS_JOOMLA_COMPONENT_LABEL"
<field type="note" description="COM_COMPONENTBUILDER_COMPONENT_FILES_FOLDERS_JOOMLA_COMPONENT_DESCRIPTION"
name="note_constant_paths" class="list_class"
label="COM_COMPONENTBUILDER_COMPONENT_FILES_FOLDERS_NOTE_CONSTANT_PATHS_LABEL" multiple="false"
description="COM_COMPONENTBUILDER_COMPONENT_FILES_FOLDERS_NOTE_CONSTANT_PATHS_DESCRIPTION" required="true"
heading="h4" readonly="true"
class="alert alert-info note_constant_paths" /> button="false"
<!-- Addfoldersfullpath Field. Type: Subform. (joomla)--> />
<field type="subform" <!-- Note_constant_paths Field. Type: Note. A None Database Field. (joomla) -->
name="addfoldersfullpath" <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" />
label="COM_COMPONENTBUILDER_COMPONENT_FILES_FOLDERS_ADDFOLDERSFULLPATH_LABEL" <!-- Addfoldersfullpath Field. Type: Subform. (joomla) -->
layout="joomla.form.field.subform.repeatable-table" <field
multiple="true" type="subform"
description="COM_COMPONENTBUILDER_COMPONENT_FILES_FOLDERS_ADDFOLDERSFULLPATH_DESCRIPTION" name="addfoldersfullpath"
icon="list" label="COM_COMPONENTBUILDER_COMPONENT_FILES_FOLDERS_ADDFOLDERSFULLPATH_LABEL"
maximum="500"> layout="joomla.form.field.subform.repeatable-table"
<form hidden="true" multiple="true"
name="list_addfoldersfullpath_modal" description="COM_COMPONENTBUILDER_COMPONENT_FILES_FOLDERS_ADDFOLDERSFULLPATH_DESCRIPTION"
repeat="true"> icon="list"
<!-- Folderpath Field. Type: Text. (joomla)--> maximum="500">
<field type="text" <form hidden="true" name="list_addfoldersfullpath_modal" repeat="true">
name="folderpath" <!-- Folderpath Field. Type: Text. (joomla) -->
label="COM_COMPONENTBUILDER_COMPONENT_FILES_FOLDERS_FOLDERPATH_LABEL" <field
size="70" type="text"
maxlength="300" name="folderpath"
description="COM_COMPONENTBUILDER_COMPONENT_FILES_FOLDERS_FOLDERPATH_DESCRIPTION" label="COM_COMPONENTBUILDER_COMPONENT_FILES_FOLDERS_FOLDERPATH_LABEL"
class="text_area" size="70"
required="false" maxlength="300"
filter="PATH" description="COM_COMPONENTBUILDER_COMPONENT_FILES_FOLDERS_FOLDERPATH_DESCRIPTION"
message="COM_COMPONENTBUILDER_COMPONENT_FILES_FOLDERS_FOLDERPATH_MESSAGE" class="text_area"
hint="COM_COMPONENTBUILDER_COMPONENT_FILES_FOLDERS_FOLDERPATH_HINT" /> required="false"
<!-- Path Field. Type: Text. (joomla)--> filter="PATH"
<field type="text" message="COM_COMPONENTBUILDER_COMPONENT_FILES_FOLDERS_FOLDERPATH_MESSAGE"
name="path" hint="COM_COMPONENTBUILDER_COMPONENT_FILES_FOLDERS_FOLDERPATH_HINT"
label="COM_COMPONENTBUILDER_COMPONENT_FILES_FOLDERS_PATH_LABEL" />
size="40" <!-- Path Field. Type: Text. (joomla) -->
maxlength="150" <field
description="COM_COMPONENTBUILDER_COMPONENT_FILES_FOLDERS_PATH_DESCRIPTION" type="text"
class="text_area" name="path"
readonly="false" label="COM_COMPONENTBUILDER_COMPONENT_FILES_FOLDERS_PATH_LABEL"
disabled="false" size="40"
required="false" maxlength="150"
filter="PATH" description="COM_COMPONENTBUILDER_COMPONENT_FILES_FOLDERS_PATH_DESCRIPTION"
message="COM_COMPONENTBUILDER_COMPONENT_FILES_FOLDERS_PATH_MESSAGE" class="text_area"
hint="COM_COMPONENTBUILDER_COMPONENT_FILES_FOLDERS_PATH_HINT" /> readonly="false"
<!-- Rename Field. Type: Checkbox. (joomla)--> disabled="false"
<field type="checkbox" required="false"
name="rename" filter="PATH"
label="COM_COMPONENTBUILDER_COMPONENT_FILES_FOLDERS_RENAME_LABEL" message="COM_COMPONENTBUILDER_COMPONENT_FILES_FOLDERS_PATH_MESSAGE"
value="1" hint="COM_COMPONENTBUILDER_COMPONENT_FILES_FOLDERS_PATH_HINT"
required="false" />
class="inputbox" /> <!-- Rename Field. Type: Checkbox. (joomla) -->
</form> <field
</field> type="checkbox"
<!-- Note_add_folders_fullpath Field. Type: Note. A None Database Field. (joomla)--> name="rename"
<field type="note" label="COM_COMPONENTBUILDER_COMPONENT_FILES_FOLDERS_RENAME_LABEL"
name="note_add_folders_fullpath" value="1"
label="COM_COMPONENTBUILDER_COMPONENT_FILES_FOLDERS_NOTE_ADD_FOLDERS_FULLPATH_LABEL" required="false"
description="COM_COMPONENTBUILDER_COMPONENT_FILES_FOLDERS_NOTE_ADD_FOLDERS_FULLPATH_DESCRIPTION" class="inputbox"
heading="h4" />
class="alert alert-info note_add_folders_fullpath" /> </form>
<!-- Addfilesfullpath Field. Type: Subform. (joomla)--> </field>
<field type="subform" <!-- Note_add_folders_fullpath Field. Type: Note. A None Database Field. (joomla) -->
name="addfilesfullpath" <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" />
label="COM_COMPONENTBUILDER_COMPONENT_FILES_FOLDERS_ADDFILESFULLPATH_LABEL" <!-- Addfilesfullpath Field. Type: Subform. (joomla) -->
layout="joomla.form.field.subform.repeatable-table" <field
multiple="true" type="subform"
description="COM_COMPONENTBUILDER_COMPONENT_FILES_FOLDERS_ADDFILESFULLPATH_DESCRIPTION" name="addfilesfullpath"
icon="list" label="COM_COMPONENTBUILDER_COMPONENT_FILES_FOLDERS_ADDFILESFULLPATH_LABEL"
maximum="500"> layout="joomla.form.field.subform.repeatable-table"
<form hidden="true" multiple="true"
name="list_addfilesfullpath_modal" description="COM_COMPONENTBUILDER_COMPONENT_FILES_FOLDERS_ADDFILESFULLPATH_DESCRIPTION"
repeat="true"> icon="list"
<!-- Filepath Field. Type: Text. (joomla)--> maximum="500">
<field type="text" <form hidden="true" name="list_addfilesfullpath_modal" repeat="true">
name="filepath" <!-- Filepath Field. Type: Text. (joomla) -->
label="COM_COMPONENTBUILDER_COMPONENT_FILES_FOLDERS_FILEPATH_LABEL" <field
size="70" type="text"
maxlength="300" name="filepath"
description="COM_COMPONENTBUILDER_COMPONENT_FILES_FOLDERS_FILEPATH_DESCRIPTION" label="COM_COMPONENTBUILDER_COMPONENT_FILES_FOLDERS_FILEPATH_LABEL"
class="text_area" size="70"
required="false" maxlength="300"
filter="PATH" description="COM_COMPONENTBUILDER_COMPONENT_FILES_FOLDERS_FILEPATH_DESCRIPTION"
message="COM_COMPONENTBUILDER_COMPONENT_FILES_FOLDERS_FILEPATH_MESSAGE" class="text_area"
hint="COM_COMPONENTBUILDER_COMPONENT_FILES_FOLDERS_FILEPATH_HINT" /> required="false"
<!-- Path Field. Type: Text. (joomla)--> filter="PATH"
<field type="text" message="COM_COMPONENTBUILDER_COMPONENT_FILES_FOLDERS_FILEPATH_MESSAGE"
name="path" hint="COM_COMPONENTBUILDER_COMPONENT_FILES_FOLDERS_FILEPATH_HINT"
label="COM_COMPONENTBUILDER_COMPONENT_FILES_FOLDERS_PATH_LABEL" />
size="40" <!-- Path Field. Type: Text. (joomla) -->
maxlength="150" <field
description="COM_COMPONENTBUILDER_COMPONENT_FILES_FOLDERS_PATH_DESCRIPTION" type="text"
class="text_area" name="path"
readonly="false" label="COM_COMPONENTBUILDER_COMPONENT_FILES_FOLDERS_PATH_LABEL"
disabled="false" size="40"
required="false" maxlength="150"
filter="PATH" description="COM_COMPONENTBUILDER_COMPONENT_FILES_FOLDERS_PATH_DESCRIPTION"
message="COM_COMPONENTBUILDER_COMPONENT_FILES_FOLDERS_PATH_MESSAGE" class="text_area"
hint="COM_COMPONENTBUILDER_COMPONENT_FILES_FOLDERS_PATH_HINT" /> readonly="false"
<!-- Notnew Field. Type: Checkbox. (joomla)--> disabled="false"
<field type="checkbox" required="false"
name="notnew" filter="PATH"
label="COM_COMPONENTBUILDER_COMPONENT_FILES_FOLDERS_NOTNEW_LABEL" message="COM_COMPONENTBUILDER_COMPONENT_FILES_FOLDERS_PATH_MESSAGE"
value="1" hint="COM_COMPONENTBUILDER_COMPONENT_FILES_FOLDERS_PATH_HINT"
required="false" />
description="COM_COMPONENTBUILDER_COMPONENT_FILES_FOLDERS_NOTNEW_DESCRIPTION" <!-- Notnew Field. Type: Checkbox. (joomla) -->
class="inputbox" /> <field
</form> type="checkbox"
</field> name="notnew"
<!-- Note_add_files_fullpath Field. Type: Note. A None Database Field. (joomla)--> label="COM_COMPONENTBUILDER_COMPONENT_FILES_FOLDERS_NOTNEW_LABEL"
<field type="note" value="1"
name="note_add_files_fullpath" required="false"
label="COM_COMPONENTBUILDER_COMPONENT_FILES_FOLDERS_NOTE_ADD_FILES_FULLPATH_LABEL" description="COM_COMPONENTBUILDER_COMPONENT_FILES_FOLDERS_NOTNEW_DESCRIPTION"
description="COM_COMPONENTBUILDER_COMPONENT_FILES_FOLDERS_NOTE_ADD_FILES_FULLPATH_DESCRIPTION" class="inputbox"
heading="h4" />
class="alert alert-info note_add_files_fullpath" /> </form>
<!-- Addfolders Field. Type: Subform. (joomla)--> </field>
<field type="subform" <!-- Note_add_files_fullpath Field. Type: Note. A None Database Field. (joomla) -->
name="addfolders" <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" />
label="COM_COMPONENTBUILDER_COMPONENT_FILES_FOLDERS_ADDFOLDERS_LABEL" <!-- Addfolders Field. Type: Subform. (joomla) -->
layout="joomla.form.field.subform.repeatable-table" <field
multiple="true" type="subform"
description="COM_COMPONENTBUILDER_COMPONENT_FILES_FOLDERS_ADDFOLDERS_DESCRIPTION" name="addfolders"
icon="list" label="COM_COMPONENTBUILDER_COMPONENT_FILES_FOLDERS_ADDFOLDERS_LABEL"
maximum="500"> layout="joomla.form.field.subform.repeatable-table"
<form hidden="true" multiple="true"
name="list_addfolders_modal" description="COM_COMPONENTBUILDER_COMPONENT_FILES_FOLDERS_ADDFOLDERS_DESCRIPTION"
repeat="true"> icon="list"
<!-- Folder Field. Type: Customfolderlist. (custom)--> maximum="500">
<field type="customfolderlist" <form hidden="true" name="list_addfolders_modal" repeat="true">
name="folder" <!-- Folder Field. Type: Customfolderlist. (custom) -->
label="COM_COMPONENTBUILDER_COMPONENT_FILES_FOLDERS_FOLDER_LABEL" <field
description="COM_COMPONENTBUILDER_COMPONENT_FILES_FOLDERS_FOLDER_DESCRIPTION" type="customfolderlist"
class="list_class" name="folder"
multiple="false" label="COM_COMPONENTBUILDER_COMPONENT_FILES_FOLDERS_FOLDER_LABEL"
default="0" description="COM_COMPONENTBUILDER_COMPONENT_FILES_FOLDERS_FOLDER_DESCRIPTION"
required="false" class="list_class"
button="false" /> multiple="false"
<!-- Path Field. Type: Text. (joomla)--> default="0"
<field type="text" required="false"
name="path" button="false"
label="COM_COMPONENTBUILDER_COMPONENT_FILES_FOLDERS_PATH_LABEL" />
size="40" <!-- Path Field. Type: Text. (joomla) -->
maxlength="150" <field
description="COM_COMPONENTBUILDER_COMPONENT_FILES_FOLDERS_PATH_DESCRIPTION" type="text"
class="text_area" name="path"
readonly="false" label="COM_COMPONENTBUILDER_COMPONENT_FILES_FOLDERS_PATH_LABEL"
disabled="false" size="40"
required="false" maxlength="150"
filter="PATH" description="COM_COMPONENTBUILDER_COMPONENT_FILES_FOLDERS_PATH_DESCRIPTION"
message="COM_COMPONENTBUILDER_COMPONENT_FILES_FOLDERS_PATH_MESSAGE" class="text_area"
hint="COM_COMPONENTBUILDER_COMPONENT_FILES_FOLDERS_PATH_HINT" /> readonly="false"
<!-- Rename Field. Type: Checkbox. (joomla)--> disabled="false"
<field type="checkbox" required="false"
name="rename" filter="PATH"
label="COM_COMPONENTBUILDER_COMPONENT_FILES_FOLDERS_RENAME_LABEL" message="COM_COMPONENTBUILDER_COMPONENT_FILES_FOLDERS_PATH_MESSAGE"
value="1" hint="COM_COMPONENTBUILDER_COMPONENT_FILES_FOLDERS_PATH_HINT"
required="false" />
class="inputbox" /> <!-- Rename Field. Type: Checkbox. (joomla) -->
</form> <field
</field> type="checkbox"
<!-- Note_add_folders Field. Type: Note. A None Database Field. (joomla)--> name="rename"
<field type="note" label="COM_COMPONENTBUILDER_COMPONENT_FILES_FOLDERS_RENAME_LABEL"
name="note_add_folders" value="1"
label="COM_COMPONENTBUILDER_COMPONENT_FILES_FOLDERS_NOTE_ADD_FOLDERS_LABEL" required="false"
description="COM_COMPONENTBUILDER_COMPONENT_FILES_FOLDERS_NOTE_ADD_FOLDERS_DESCRIPTION" class="inputbox"
heading="h4" />
class="alert alert-info note_add_folders" /> </form>
<!-- Addfiles Field. Type: Subform. (joomla)--> </field>
<field type="subform" <!-- Note_add_folders Field. Type: Note. A None Database Field. (joomla) -->
name="addfiles" <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" />
label="COM_COMPONENTBUILDER_COMPONENT_FILES_FOLDERS_ADDFILES_LABEL" <!-- Addfiles Field. Type: Subform. (joomla) -->
layout="joomla.form.field.subform.repeatable-table" <field
multiple="true" type="subform"
description="COM_COMPONENTBUILDER_COMPONENT_FILES_FOLDERS_ADDFILES_DESCRIPTION" name="addfiles"
icon="list" label="COM_COMPONENTBUILDER_COMPONENT_FILES_FOLDERS_ADDFILES_LABEL"
maximum="500"> layout="joomla.form.field.subform.repeatable-table"
<form hidden="true" multiple="true"
name="list_addfiles_modal" description="COM_COMPONENTBUILDER_COMPONENT_FILES_FOLDERS_ADDFILES_DESCRIPTION"
repeat="true"> icon="list"
<!-- File Field. Type: Customfilelist. (custom)--> maximum="500">
<field type="customfilelist" <form hidden="true" name="list_addfiles_modal" repeat="true">
name="file" <!-- File Field. Type: Customfilelist. (custom) -->
label="COM_COMPONENTBUILDER_COMPONENT_FILES_FOLDERS_FILE_LABEL" <field
description="COM_COMPONENTBUILDER_COMPONENT_FILES_FOLDERS_FILE_DESCRIPTION" type="customfilelist"
class="list_class" name="file"
multiple="false" label="COM_COMPONENTBUILDER_COMPONENT_FILES_FOLDERS_FILE_LABEL"
default="0" description="COM_COMPONENTBUILDER_COMPONENT_FILES_FOLDERS_FILE_DESCRIPTION"
required="false" class="list_class"
button="false" /> multiple="false"
<!-- Path Field. Type: Text. (joomla)--> default="0"
<field type="text" required="false"
name="path" button="false"
label="COM_COMPONENTBUILDER_COMPONENT_FILES_FOLDERS_PATH_LABEL" />
size="40" <!-- Path Field. Type: Text. (joomla) -->
maxlength="150" <field
description="COM_COMPONENTBUILDER_COMPONENT_FILES_FOLDERS_PATH_DESCRIPTION" type="text"
class="text_area" name="path"
readonly="false" label="COM_COMPONENTBUILDER_COMPONENT_FILES_FOLDERS_PATH_LABEL"
disabled="false" size="40"
required="false" maxlength="150"
filter="PATH" description="COM_COMPONENTBUILDER_COMPONENT_FILES_FOLDERS_PATH_DESCRIPTION"
message="COM_COMPONENTBUILDER_COMPONENT_FILES_FOLDERS_PATH_MESSAGE" class="text_area"
hint="COM_COMPONENTBUILDER_COMPONENT_FILES_FOLDERS_PATH_HINT" /> readonly="false"
<!-- Notnew Field. Type: Checkbox. (joomla)--> disabled="false"
<field type="checkbox" required="false"
name="notnew" filter="PATH"
label="COM_COMPONENTBUILDER_COMPONENT_FILES_FOLDERS_NOTNEW_LABEL" message="COM_COMPONENTBUILDER_COMPONENT_FILES_FOLDERS_PATH_MESSAGE"
value="1" hint="COM_COMPONENTBUILDER_COMPONENT_FILES_FOLDERS_PATH_HINT"
required="false" />
description="COM_COMPONENTBUILDER_COMPONENT_FILES_FOLDERS_NOTNEW_DESCRIPTION" <!-- Notnew Field. Type: Checkbox. (joomla) -->
class="inputbox" /> <field
</form> type="checkbox"
</field> name="notnew"
<!-- Note_add_files Field. Type: Note. A None Database Field. (joomla)--> label="COM_COMPONENTBUILDER_COMPONENT_FILES_FOLDERS_NOTNEW_LABEL"
<field type="note" value="1"
name="note_add_files" required="false"
label="COM_COMPONENTBUILDER_COMPONENT_FILES_FOLDERS_NOTE_ADD_FILES_LABEL" description="COM_COMPONENTBUILDER_COMPONENT_FILES_FOLDERS_NOTNEW_DESCRIPTION"
description="COM_COMPONENTBUILDER_COMPONENT_FILES_FOLDERS_NOTE_ADD_FILES_DESCRIPTION" class="inputbox"
heading="h4" />
class="alert alert-info note_add_files" /> </form>
</fieldset> </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. --> <!-- Access Control Fields. -->
<fieldset name="accesscontrol"> <fieldset name="accesscontrol">

View File

@ -4,154 +4,172 @@
addfieldpath="/administrator/components/com_componentbuilder/models/fields" addfieldpath="/administrator/components/com_componentbuilder/models/fields"
> >
<fieldset name="details"> <fieldset name="details">
<!-- Default Fields.--> <!-- Default Fields. -->
<!-- Id Field. Type: Text (joomla)--> <!-- Id Field. Type: Text (joomla) -->
<field name="id" <field
type="text" name="id"
class="readonly" type="text" class="readonly" label="JGLOBAL_FIELD_ID_LABEL"
label="JGLOBAL_FIELD_ID_LABEL" description ="JGLOBAL_FIELD_ID_DESC" size="10" default="0"
description="JGLOBAL_FIELD_ID_DESC" readonly="true"
size="10" />
default="0" /> <!-- Date Created Field. Type: Calendar (joomla) -->
<!-- Date Created Field. Type: Calendar (joomla)--> <field
<field name="created" name="created"
type="calendar" type="calendar"
label="COM_COMPONENTBUILDER_COMPONENT_MYSQL_TWEAKS_CREATED_DATE_LABEL" label="COM_COMPONENTBUILDER_COMPONENT_MYSQL_TWEAKS_CREATED_DATE_LABEL"
description="COM_COMPONENTBUILDER_COMPONENT_MYSQL_TWEAKS_CREATED_DATE_DESC" description="COM_COMPONENTBUILDER_COMPONENT_MYSQL_TWEAKS_CREATED_DATE_DESC"
size="22" size="22"
format="%Y-%m-%d %H:%M:%S" format="%Y-%m-%d %H:%M:%S"
filter="user_utc" /> filter="user_utc"
<!-- User Created Field. Type: User (joomla)--> />
<field name="created_by" <!-- User Created Field. Type: User (joomla) -->
type="user" <field
label="COM_COMPONENTBUILDER_COMPONENT_MYSQL_TWEAKS_CREATED_BY_LABEL" name="created_by"
description="COM_COMPONENTBUILDER_COMPONENT_MYSQL_TWEAKS_CREATED_BY_DESC" /> type="user"
<!-- Published Field. Type: List (joomla)--> label="COM_COMPONENTBUILDER_COMPONENT_MYSQL_TWEAKS_CREATED_BY_LABEL"
<field name="published" description="COM_COMPONENTBUILDER_COMPONENT_MYSQL_TWEAKS_CREATED_BY_DESC"
type="list" />
label="JSTATUS"> <!-- Published Field. Type: List (joomla) -->
<option value="1">JPUBLISHED</option> <field name="published" type="list" label="JSTATUS"
<option value="0">JUNPUBLISHED</option> description="JFIELD_PUBLISHED_DESC" class="chzn-color-state"
<option value="2">JARCHIVED</option> filter="intval" size="1" default="1" >
<option value="-2">JTRASHED</option> <option value="1">
</field> JPUBLISHED</option>
<!-- Date Modified Field. Type: Calendar (joomla)--> <option value="0">
<field name="modified" JUNPUBLISHED</option>
type="calendar" <option value="2">
class="readonly" JARCHIVED</option>
label="COM_COMPONENTBUILDER_COMPONENT_MYSQL_TWEAKS_MODIFIED_DATE_LABEL" <option value="-2">
description="COM_COMPONENTBUILDER_COMPONENT_MYSQL_TWEAKS_MODIFIED_DATE_DESC" JTRASHED</option>
size="22" </field>
readonly="true" <!-- Date Modified Field. Type: Calendar (joomla) -->
format="%Y-%m-%d %H:%M:%S" <field name="modified" type="calendar" class="readonly"
filter="user_utc" /> label="COM_COMPONENTBUILDER_COMPONENT_MYSQL_TWEAKS_MODIFIED_DATE_LABEL" description="COM_COMPONENTBUILDER_COMPONENT_MYSQL_TWEAKS_MODIFIED_DATE_DESC"
<!-- User Modified Field. Type: User (joomla)--> size="22" readonly="true" format="%Y-%m-%d %H:%M:%S" filter="user_utc" />
<field name="modified_by" <!-- User Modified Field. Type: User (joomla) -->
type="user" <field name="modified_by" type="user"
label="COM_COMPONENTBUILDER_COMPONENT_MYSQL_TWEAKS_MODIFIED_BY_LABEL" label="COM_COMPONENTBUILDER_COMPONENT_MYSQL_TWEAKS_MODIFIED_BY_LABEL"
description="COM_COMPONENTBUILDER_COMPONENT_MYSQL_TWEAKS_MODIFIED_BY_DESC" description="COM_COMPONENTBUILDER_COMPONENT_MYSQL_TWEAKS_MODIFIED_BY_DESC"
class="readonly" class="readonly"
readonly="true" readonly="true"
filter="unset" /> filter="unset"
<!-- Access Field. Type: Accesslevel (joomla)--> />
<field name="access" <!-- Access Field. Type: Accesslevel (joomla) -->
type="accesslevel" <field name="access"
label="JFIELD_ACCESS_LABEL" type="accesslevel"
description="JFIELD_ACCESS_DESC" label="JFIELD_ACCESS_LABEL"
default="1" description="JFIELD_ACCESS_DESC"
required="false" /> default="1"
<!-- Ordering Field. Type: Numbers (joomla)--> required="false"
<field name="ordering" />
type="number" <!-- Ordering Field. Type: Numbers (joomla) -->
class="inputbox validate-ordering" <field
label="COM_COMPONENTBUILDER_COMPONENT_MYSQL_TWEAKS_ORDERING_LABEL" name="ordering"
description="" type="number"
default="0" class="inputbox validate-ordering"
size="6" label="COM_COMPONENTBUILDER_COMPONENT_MYSQL_TWEAKS_ORDERING_LABEL"
required="false" /> description=""
<!-- Version Field. Type: Text (joomla)--> default="0"
<field name="version" size="6"
type="text" required="false"
class="readonly" />
label="COM_COMPONENTBUILDER_COMPONENT_MYSQL_TWEAKS_VERSION_LABEL" <!-- Version Field. Type: Text (joomla) -->
description="COM_COMPONENTBUILDER_COMPONENT_MYSQL_TWEAKS_VERSION_DESC" <field
size="6" name="version"
readonly="true" type="text"
filter="unset" /> class="readonly"
<!-- Dynamic Fields.--> label="COM_COMPONENTBUILDER_COMPONENT_MYSQL_TWEAKS_VERSION_LABEL"
<!-- Joomla_component Field. Type: Joomlacomponents. (custom)--> description="COM_COMPONENTBUILDER_COMPONENT_MYSQL_TWEAKS_VERSION_DESC"
<field type="joomlacomponents" size="6"
name="joomla_component" readonly="true"
label="COM_COMPONENTBUILDER_COMPONENT_MYSQL_TWEAKS_JOOMLA_COMPONENT_LABEL" filter="unset"
description="COM_COMPONENTBUILDER_COMPONENT_MYSQL_TWEAKS_JOOMLA_COMPONENT_DESCRIPTION" />
class="list_class" <!-- Dynamic Fields. -->
multiple="false" <!-- Joomla_component Field. Type: Joomlacomponents. (custom) -->
required="true" <field
readonly="true" type="joomlacomponents"
button="false" /> name="joomla_component"
<!-- Sql_tweak Field. Type: Subform. (joomla)--> label="COM_COMPONENTBUILDER_COMPONENT_MYSQL_TWEAKS_JOOMLA_COMPONENT_LABEL"
<field type="subform" description="COM_COMPONENTBUILDER_COMPONENT_MYSQL_TWEAKS_JOOMLA_COMPONENT_DESCRIPTION"
name="sql_tweak" class="list_class"
label="COM_COMPONENTBUILDER_COMPONENT_MYSQL_TWEAKS_SQL_TWEAK_LABEL" multiple="false"
layout="joomla.form.field.subform.repeatable-table" required="true"
multiple="true" readonly="true"
description="COM_COMPONENTBUILDER_COMPONENT_MYSQL_TWEAKS_SQL_TWEAK_DESCRIPTION" button="false"
icon="list" />
maximum="50"> <!-- Sql_tweak Field. Type: Subform. (joomla) -->
<form hidden="true" <field
name="list_sql_tweak_modal" type="subform"
repeat="true"> name="sql_tweak"
<!-- Adminview Field. Type: Componentadminviews. (custom)--> label="COM_COMPONENTBUILDER_COMPONENT_MYSQL_TWEAKS_SQL_TWEAK_LABEL"
<field type="componentadminviews" layout="joomla.form.field.subform.repeatable-table"
name="adminview" multiple="true"
label="COM_COMPONENTBUILDER_COMPONENT_MYSQL_TWEAKS_ADMINVIEW_LABEL" description="COM_COMPONENTBUILDER_COMPONENT_MYSQL_TWEAKS_SQL_TWEAK_DESCRIPTION"
description="COM_COMPONENTBUILDER_COMPONENT_MYSQL_TWEAKS_ADMINVIEW_DESCRIPTION" icon="list"
class="list_class fieldMedium" maximum="50">
multiple="false" <form hidden="true" name="list_sql_tweak_modal" repeat="true">
required="false" <!-- Adminview Field. Type: Componentadminviews. (custom) -->
button="false" /> <field
<!-- Add_sql Field. Type: List. (joomla)--> type="componentadminviews"
<field type="list" name="adminview"
name="add_sql" label="COM_COMPONENTBUILDER_COMPONENT_MYSQL_TWEAKS_ADMINVIEW_LABEL"
label="COM_COMPONENTBUILDER_COMPONENT_MYSQL_TWEAKS_ADD_SQL_LABEL" description="COM_COMPONENTBUILDER_COMPONENT_MYSQL_TWEAKS_ADMINVIEW_DESCRIPTION"
description="COM_COMPONENTBUILDER_COMPONENT_MYSQL_TWEAKS_ADD_SQL_DESCRIPTION" class="list_class fieldMedium"
class="list_class" multiple="false"
multiple="false" required="false"
filter="INT" button="false"
required="false" />
default="0"> <!-- Add_sql Field. Type: List. (joomla) -->
<!-- Option Set.--> <field
<option value="0">COM_COMPONENTBUILDER_COMPONENT_MYSQL_TWEAKS_NO_DONT_ADD_ANY</option> type="list"
<option value="1">COM_COMPONENTBUILDER_COMPONENT_MYSQL_TWEAKS_YES_INCLUDE_BASED_ON_OPTIONS</option> name="add_sql"
</field> label="COM_COMPONENTBUILDER_COMPONENT_MYSQL_TWEAKS_ADD_SQL_LABEL"
<!-- Add_sql_options Field. Type: List. (joomla)--> description="COM_COMPONENTBUILDER_COMPONENT_MYSQL_TWEAKS_ADD_SQL_DESCRIPTION"
<field type="list" class="list_class"
name="add_sql_options" multiple="false"
label="COM_COMPONENTBUILDER_COMPONENT_MYSQL_TWEAKS_ADD_SQL_OPTIONS_LABEL" filter="INT"
description="COM_COMPONENTBUILDER_COMPONENT_MYSQL_TWEAKS_ADD_SQL_OPTIONS_DESCRIPTION" required="false"
class="list_class" default="0">
multiple="false" <!-- Option Set. -->
filter="INT" <option value="0">
required="false"> COM_COMPONENTBUILDER_COMPONENT_MYSQL_TWEAKS_NO_DONT_ADD_ANY</option>
<!-- Option Set.--> <option value="1">
<option value="">COM_COMPONENTBUILDER_COMPONENT_MYSQL_TWEAKS_SELECT_AN_OPTION</option> COM_COMPONENTBUILDER_COMPONENT_MYSQL_TWEAKS_YES_INCLUDE_BASED_ON_OPTIONS</option>
<option value="1">COM_COMPONENTBUILDER_COMPONENT_MYSQL_TWEAKS_ALL</option> </field>
<option value="2">COM_COMPONENTBUILDER_COMPONENT_MYSQL_TWEAKS_ID_BASED</option> <!-- Add_sql_options Field. Type: List. (joomla) -->
</field> <field
<!-- Ids Field. Type: Textarea. (joomla)--> type="list"
<field type="textarea" name="add_sql_options"
name="ids" label="COM_COMPONENTBUILDER_COMPONENT_MYSQL_TWEAKS_ADD_SQL_OPTIONS_LABEL"
label="COM_COMPONENTBUILDER_COMPONENT_MYSQL_TWEAKS_IDS_LABEL" description="COM_COMPONENTBUILDER_COMPONENT_MYSQL_TWEAKS_ADD_SQL_OPTIONS_DESCRIPTION"
rows="20" class="list_class"
cols="40" multiple="false"
description="COM_COMPONENTBUILDER_COMPONENT_MYSQL_TWEAKS_IDS_DESCRIPTION" filter="INT"
class="text_area ids_selection" required="false">
filter="raw" <!-- Option Set. -->
hint="COM_COMPONENTBUILDER_COMPONENT_MYSQL_TWEAKS_IDS_HINT" <option value="">
required="false" /> COM_COMPONENTBUILDER_COMPONENT_MYSQL_TWEAKS_SELECT_AN_OPTION</option>
</form> <option value="1">
</field> COM_COMPONENTBUILDER_COMPONENT_MYSQL_TWEAKS_ALL</option>
</fieldset> <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. --> <!-- Access Control Fields. -->
<fieldset name="accesscontrol"> <fieldset name="accesscontrol">

View File

@ -4,165 +4,179 @@
addfieldpath="/administrator/components/com_componentbuilder/models/fields" addfieldpath="/administrator/components/com_componentbuilder/models/fields"
> >
<fieldset name="details"> <fieldset name="details">
<!-- Default Fields.--> <!-- Default Fields. -->
<!-- Id Field. Type: Text (joomla)--> <!-- Id Field. Type: Text (joomla) -->
<field name="id" <field
type="text" name="id"
class="readonly" type="text" class="readonly" label="JGLOBAL_FIELD_ID_LABEL"
label="JGLOBAL_FIELD_ID_LABEL" description ="JGLOBAL_FIELD_ID_DESC" size="10" default="0"
description="JGLOBAL_FIELD_ID_DESC" readonly="true"
size="10" />
default="0" /> <!-- Date Created Field. Type: Calendar (joomla) -->
<!-- Date Created Field. Type: Calendar (joomla)--> <field
<field name="created" name="created"
type="calendar" type="calendar"
label="COM_COMPONENTBUILDER_COMPONENT_SITE_VIEWS_CREATED_DATE_LABEL" label="COM_COMPONENTBUILDER_COMPONENT_SITE_VIEWS_CREATED_DATE_LABEL"
description="COM_COMPONENTBUILDER_COMPONENT_SITE_VIEWS_CREATED_DATE_DESC" description="COM_COMPONENTBUILDER_COMPONENT_SITE_VIEWS_CREATED_DATE_DESC"
size="22" size="22"
format="%Y-%m-%d %H:%M:%S" format="%Y-%m-%d %H:%M:%S"
filter="user_utc" /> filter="user_utc"
<!-- User Created Field. Type: User (joomla)--> />
<field name="created_by" <!-- User Created Field. Type: User (joomla) -->
type="user" <field
label="COM_COMPONENTBUILDER_COMPONENT_SITE_VIEWS_CREATED_BY_LABEL" name="created_by"
description="COM_COMPONENTBUILDER_COMPONENT_SITE_VIEWS_CREATED_BY_DESC" /> type="user"
<!-- Published Field. Type: List (joomla)--> label="COM_COMPONENTBUILDER_COMPONENT_SITE_VIEWS_CREATED_BY_LABEL"
<field name="published" description="COM_COMPONENTBUILDER_COMPONENT_SITE_VIEWS_CREATED_BY_DESC"
type="list" />
label="JSTATUS"> <!-- Published Field. Type: List (joomla) -->
<option value="1">JPUBLISHED</option> <field name="published" type="list" label="JSTATUS"
<option value="0">JUNPUBLISHED</option> description="JFIELD_PUBLISHED_DESC" class="chzn-color-state"
<option value="2">JARCHIVED</option> filter="intval" size="1" default="1" >
<option value="-2">JTRASHED</option> <option value="1">
</field> JPUBLISHED</option>
<!-- Date Modified Field. Type: Calendar (joomla)--> <option value="0">
<field name="modified" JUNPUBLISHED</option>
type="calendar" <option value="2">
class="readonly" JARCHIVED</option>
label="COM_COMPONENTBUILDER_COMPONENT_SITE_VIEWS_MODIFIED_DATE_LABEL" <option value="-2">
description="COM_COMPONENTBUILDER_COMPONENT_SITE_VIEWS_MODIFIED_DATE_DESC" JTRASHED</option>
size="22" </field>
readonly="true" <!-- Date Modified Field. Type: Calendar (joomla) -->
format="%Y-%m-%d %H:%M:%S" <field name="modified" type="calendar" class="readonly"
filter="user_utc" /> label="COM_COMPONENTBUILDER_COMPONENT_SITE_VIEWS_MODIFIED_DATE_LABEL" description="COM_COMPONENTBUILDER_COMPONENT_SITE_VIEWS_MODIFIED_DATE_DESC"
<!-- User Modified Field. Type: User (joomla)--> size="22" readonly="true" format="%Y-%m-%d %H:%M:%S" filter="user_utc" />
<field name="modified_by" <!-- User Modified Field. Type: User (joomla) -->
type="user" <field name="modified_by" type="user"
label="COM_COMPONENTBUILDER_COMPONENT_SITE_VIEWS_MODIFIED_BY_LABEL" label="COM_COMPONENTBUILDER_COMPONENT_SITE_VIEWS_MODIFIED_BY_LABEL"
description="COM_COMPONENTBUILDER_COMPONENT_SITE_VIEWS_MODIFIED_BY_DESC" description="COM_COMPONENTBUILDER_COMPONENT_SITE_VIEWS_MODIFIED_BY_DESC"
class="readonly" class="readonly"
readonly="true" readonly="true"
filter="unset" /> filter="unset"
<!-- Access Field. Type: Accesslevel (joomla)--> />
<field name="access" <!-- Access Field. Type: Accesslevel (joomla) -->
type="accesslevel" <field name="access"
label="JFIELD_ACCESS_LABEL" type="accesslevel"
description="JFIELD_ACCESS_DESC" label="JFIELD_ACCESS_LABEL"
default="1" description="JFIELD_ACCESS_DESC"
required="false" /> default="1"
<!-- Ordering Field. Type: Numbers (joomla)--> required="false"
<field name="ordering" />
type="number" <!-- Ordering Field. Type: Numbers (joomla) -->
class="inputbox validate-ordering" <field
label="COM_COMPONENTBUILDER_COMPONENT_SITE_VIEWS_ORDERING_LABEL" name="ordering"
description="" type="number"
default="0" class="inputbox validate-ordering"
size="6" label="COM_COMPONENTBUILDER_COMPONENT_SITE_VIEWS_ORDERING_LABEL"
required="false" /> description=""
<!-- Version Field. Type: Text (joomla)--> default="0"
<field name="version" size="6"
type="text" required="false"
class="readonly" />
label="COM_COMPONENTBUILDER_COMPONENT_SITE_VIEWS_VERSION_LABEL" <!-- Version Field. Type: Text (joomla) -->
description="COM_COMPONENTBUILDER_COMPONENT_SITE_VIEWS_VERSION_DESC" <field
size="6" name="version"
readonly="true" type="text"
filter="unset" /> class="readonly"
<!-- Dynamic Fields.--> label="COM_COMPONENTBUILDER_COMPONENT_SITE_VIEWS_VERSION_LABEL"
<!-- Joomla_component Field. Type: Joomlacomponents. (custom)--> description="COM_COMPONENTBUILDER_COMPONENT_SITE_VIEWS_VERSION_DESC"
<field type="joomlacomponents" size="6"
name="joomla_component" readonly="true"
label="COM_COMPONENTBUILDER_COMPONENT_SITE_VIEWS_JOOMLA_COMPONENT_LABEL" filter="unset"
description="COM_COMPONENTBUILDER_COMPONENT_SITE_VIEWS_JOOMLA_COMPONENT_DESCRIPTION" />
class="list_class" <!-- Dynamic Fields. -->
multiple="false" <!-- Joomla_component Field. Type: Joomlacomponents. (custom) -->
required="true" <field
readonly="true" type="joomlacomponents"
button="false" /> name="joomla_component"
<!-- Addsite_views Field. Type: Subform. (joomla)--> label="COM_COMPONENTBUILDER_COMPONENT_SITE_VIEWS_JOOMLA_COMPONENT_LABEL"
<field type="subform" description="COM_COMPONENTBUILDER_COMPONENT_SITE_VIEWS_JOOMLA_COMPONENT_DESCRIPTION"
name="addsite_views" class="list_class"
label="COM_COMPONENTBUILDER_COMPONENT_SITE_VIEWS_ADDSITE_VIEWS_LABEL" multiple="false"
layout="joomla.form.field.subform.repeatable-table" required="true"
multiple="true" readonly="true"
description="COM_COMPONENTBUILDER_COMPONENT_SITE_VIEWS_ADDSITE_VIEWS_DESCRIPTION" button="false"
icon="list" />
maximum="500"> <!-- Addsite_views Field. Type: Subform. (joomla) -->
<form hidden="true" <field
name="list_addsite_views_modal" type="subform"
repeat="true"> name="addsite_views"
<!-- Siteview Field. Type: Siteviews. (custom)--> label="COM_COMPONENTBUILDER_COMPONENT_SITE_VIEWS_ADDSITE_VIEWS_LABEL"
<field type="siteviews" layout="joomla.form.field.subform.repeatable-table"
name="siteview" multiple="true"
label="COM_COMPONENTBUILDER_COMPONENT_SITE_VIEWS_SITEVIEW_LABEL" description="COM_COMPONENTBUILDER_COMPONENT_SITE_VIEWS_ADDSITE_VIEWS_DESCRIPTION"
description="COM_COMPONENTBUILDER_COMPONENT_SITE_VIEWS_SITEVIEW_DESCRIPTION" icon="list"
class="fieldMedium" maximum="500">
multiple="false" <form hidden="true" name="list_addsite_views_modal" repeat="true">
required="false" <!-- Siteview Field. Type: Siteviews. (custom) -->
button="false" /> <field
<!-- Menu Field. Type: Checkbox. (joomla)--> type="siteviews"
<field type="checkbox" name="siteview"
name="menu" label="COM_COMPONENTBUILDER_COMPONENT_SITE_VIEWS_SITEVIEW_LABEL"
label="COM_COMPONENTBUILDER_COMPONENT_SITE_VIEWS_MENU_LABEL" description="COM_COMPONENTBUILDER_COMPONENT_SITE_VIEWS_SITEVIEW_DESCRIPTION"
value="1" class="fieldMedium"
default="1" multiple="false"
required="false" required="false"
description="COM_COMPONENTBUILDER_COMPONENT_SITE_VIEWS_MENU_DESCRIPTION" button="false"
class="inputbox" /> />
<!-- Metadata Field. Type: Checkbox. (joomla)--> <!-- Menu Field. Type: Checkbox. (joomla) -->
<field type="checkbox" <field
name="metadata" type="checkbox"
label="COM_COMPONENTBUILDER_COMPONENT_SITE_VIEWS_METADATA_LABEL" name="menu"
value="1" label="COM_COMPONENTBUILDER_COMPONENT_SITE_VIEWS_MENU_LABEL"
default="1" value="1"
required="false" default="1"
description="COM_COMPONENTBUILDER_COMPONENT_SITE_VIEWS_METADATA_DESCRIPTION" required="false"
class="inputbox" /> description="COM_COMPONENTBUILDER_COMPONENT_SITE_VIEWS_MENU_DESCRIPTION"
<!-- Default_view Field. Type: Checkbox. (joomla)--> class="inputbox"
<field type="checkbox" />
name="default_view" <!-- Metadata Field. Type: Checkbox. (joomla) -->
label="COM_COMPONENTBUILDER_COMPONENT_SITE_VIEWS_DEFAULT_VIEW_LABEL" <field
value="1" type="checkbox"
required="false" name="metadata"
description="COM_COMPONENTBUILDER_COMPONENT_SITE_VIEWS_DEFAULT_VIEW_DESCRIPTION" label="COM_COMPONENTBUILDER_COMPONENT_SITE_VIEWS_METADATA_LABEL"
class="inputbox" /> value="1"
<!-- Access Field. Type: Checkbox. (joomla)--> default="1"
<field type="checkbox" required="false"
name="access" description="COM_COMPONENTBUILDER_COMPONENT_SITE_VIEWS_METADATA_DESCRIPTION"
label="COM_COMPONENTBUILDER_COMPONENT_SITE_VIEWS_ACCESS_LABEL" class="inputbox"
value="1" />
default="1" <!-- Default_view Field. Type: Checkbox. (joomla) -->
required="false" <field
description="COM_COMPONENTBUILDER_COMPONENT_SITE_VIEWS_ACCESS_DESCRIPTION" type="checkbox"
class="inputbox" /> name="default_view"
<!-- Public_access Field. Type: Checkbox. (joomla)--> label="COM_COMPONENTBUILDER_COMPONENT_SITE_VIEWS_DEFAULT_VIEW_LABEL"
<field type="checkbox" value="1"
name="public_access" required="false"
label="COM_COMPONENTBUILDER_COMPONENT_SITE_VIEWS_PUBLIC_ACCESS_LABEL" description="COM_COMPONENTBUILDER_COMPONENT_SITE_VIEWS_DEFAULT_VIEW_DESCRIPTION"
value="1" class="inputbox"
required="false" />
description="COM_COMPONENTBUILDER_COMPONENT_SITE_VIEWS_PUBLIC_ACCESS_DESCRIPTION" <!-- Access Field. Type: Checkbox. (joomla) -->
class="inputbox" /> <field
</form> type="checkbox"
</field> name="access"
<!-- Note_on_site_views Field. Type: Note. A None Database Field. (joomla)--> label="COM_COMPONENTBUILDER_COMPONENT_SITE_VIEWS_ACCESS_LABEL"
<field type="note" value="1"
name="note_on_site_views" default="1"
label="COM_COMPONENTBUILDER_COMPONENT_SITE_VIEWS_NOTE_ON_SITE_VIEWS_LABEL" required="false"
description="COM_COMPONENTBUILDER_COMPONENT_SITE_VIEWS_NOTE_ON_SITE_VIEWS_DESCRIPTION" description="COM_COMPONENTBUILDER_COMPONENT_SITE_VIEWS_ACCESS_DESCRIPTION"
heading="h4" class="inputbox"
class="alert alert-info note_on_site_views" /> />
</fieldset> <!-- 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. --> <!-- Access Control Fields. -->
<fieldset name="accesscontrol"> <fieldset name="accesscontrol">

View File

@ -4,144 +4,157 @@
addfieldpath="/administrator/components/com_componentbuilder/models/fields" addfieldpath="/administrator/components/com_componentbuilder/models/fields"
> >
<fieldset name="details"> <fieldset name="details">
<!-- Default Fields.--> <!-- Default Fields. -->
<!-- Id Field. Type: Text (joomla)--> <!-- Id Field. Type: Text (joomla) -->
<field name="id" <field
type="text" name="id"
class="readonly" type="text" class="readonly" label="JGLOBAL_FIELD_ID_LABEL"
label="JGLOBAL_FIELD_ID_LABEL" description ="JGLOBAL_FIELD_ID_DESC" size="10" default="0"
description="JGLOBAL_FIELD_ID_DESC" readonly="true"
size="10" />
default="0" /> <!-- Date Created Field. Type: Calendar (joomla) -->
<!-- Date Created Field. Type: Calendar (joomla)--> <field
<field name="created" name="created"
type="calendar" type="calendar"
label="COM_COMPONENTBUILDER_COMPONENT_UPDATES_CREATED_DATE_LABEL" label="COM_COMPONENTBUILDER_COMPONENT_UPDATES_CREATED_DATE_LABEL"
description="COM_COMPONENTBUILDER_COMPONENT_UPDATES_CREATED_DATE_DESC" description="COM_COMPONENTBUILDER_COMPONENT_UPDATES_CREATED_DATE_DESC"
size="22" size="22"
format="%Y-%m-%d %H:%M:%S" format="%Y-%m-%d %H:%M:%S"
filter="user_utc" /> filter="user_utc"
<!-- User Created Field. Type: User (joomla)--> />
<field name="created_by" <!-- User Created Field. Type: User (joomla) -->
type="user" <field
label="COM_COMPONENTBUILDER_COMPONENT_UPDATES_CREATED_BY_LABEL" name="created_by"
description="COM_COMPONENTBUILDER_COMPONENT_UPDATES_CREATED_BY_DESC" /> type="user"
<!-- Published Field. Type: List (joomla)--> label="COM_COMPONENTBUILDER_COMPONENT_UPDATES_CREATED_BY_LABEL"
<field name="published" description="COM_COMPONENTBUILDER_COMPONENT_UPDATES_CREATED_BY_DESC"
type="list" />
label="JSTATUS"> <!-- Published Field. Type: List (joomla) -->
<option value="1">JPUBLISHED</option> <field name="published" type="list" label="JSTATUS"
<option value="0">JUNPUBLISHED</option> description="JFIELD_PUBLISHED_DESC" class="chzn-color-state"
<option value="2">JARCHIVED</option> filter="intval" size="1" default="1" >
<option value="-2">JTRASHED</option> <option value="1">
</field> JPUBLISHED</option>
<!-- Date Modified Field. Type: Calendar (joomla)--> <option value="0">
<field name="modified" JUNPUBLISHED</option>
type="calendar" <option value="2">
class="readonly" JARCHIVED</option>
label="COM_COMPONENTBUILDER_COMPONENT_UPDATES_MODIFIED_DATE_LABEL" <option value="-2">
description="COM_COMPONENTBUILDER_COMPONENT_UPDATES_MODIFIED_DATE_DESC" JTRASHED</option>
size="22" </field>
readonly="true" <!-- Date Modified Field. Type: Calendar (joomla) -->
format="%Y-%m-%d %H:%M:%S" <field name="modified" type="calendar" class="readonly"
filter="user_utc" /> label="COM_COMPONENTBUILDER_COMPONENT_UPDATES_MODIFIED_DATE_LABEL" description="COM_COMPONENTBUILDER_COMPONENT_UPDATES_MODIFIED_DATE_DESC"
<!-- User Modified Field. Type: User (joomla)--> size="22" readonly="true" format="%Y-%m-%d %H:%M:%S" filter="user_utc" />
<field name="modified_by" <!-- User Modified Field. Type: User (joomla) -->
type="user" <field name="modified_by" type="user"
label="COM_COMPONENTBUILDER_COMPONENT_UPDATES_MODIFIED_BY_LABEL" label="COM_COMPONENTBUILDER_COMPONENT_UPDATES_MODIFIED_BY_LABEL"
description="COM_COMPONENTBUILDER_COMPONENT_UPDATES_MODIFIED_BY_DESC" description="COM_COMPONENTBUILDER_COMPONENT_UPDATES_MODIFIED_BY_DESC"
class="readonly" class="readonly"
readonly="true" readonly="true"
filter="unset" /> filter="unset"
<!-- Access Field. Type: Accesslevel (joomla)--> />
<field name="access" <!-- Access Field. Type: Accesslevel (joomla) -->
type="accesslevel" <field name="access"
label="JFIELD_ACCESS_LABEL" type="accesslevel"
description="JFIELD_ACCESS_DESC" label="JFIELD_ACCESS_LABEL"
default="1" description="JFIELD_ACCESS_DESC"
required="false" /> default="1"
<!-- Ordering Field. Type: Numbers (joomla)--> required="false"
<field name="ordering" />
type="number" <!-- Ordering Field. Type: Numbers (joomla) -->
class="inputbox validate-ordering" <field
label="COM_COMPONENTBUILDER_COMPONENT_UPDATES_ORDERING_LABEL" name="ordering"
description="" type="number"
default="0" class="inputbox validate-ordering"
size="6" label="COM_COMPONENTBUILDER_COMPONENT_UPDATES_ORDERING_LABEL"
required="false" /> description=""
<!-- Version Field. Type: Text (joomla)--> default="0"
<field name="version" size="6"
type="text" required="false"
class="readonly" />
label="COM_COMPONENTBUILDER_COMPONENT_UPDATES_VERSION_LABEL" <!-- Version Field. Type: Text (joomla) -->
description="COM_COMPONENTBUILDER_COMPONENT_UPDATES_VERSION_DESC" <field
size="6" name="version"
readonly="true" type="text"
filter="unset" /> class="readonly"
<!-- Dynamic Fields.--> label="COM_COMPONENTBUILDER_COMPONENT_UPDATES_VERSION_LABEL"
<!-- Joomla_component Field. Type: Joomlacomponents. (custom)--> description="COM_COMPONENTBUILDER_COMPONENT_UPDATES_VERSION_DESC"
<field type="joomlacomponents" size="6"
name="joomla_component" readonly="true"
label="COM_COMPONENTBUILDER_COMPONENT_UPDATES_JOOMLA_COMPONENT_LABEL" filter="unset"
description="COM_COMPONENTBUILDER_COMPONENT_UPDATES_JOOMLA_COMPONENT_DESCRIPTION" />
class="list_class" <!-- Dynamic Fields. -->
multiple="false" <!-- Joomla_component Field. Type: Joomlacomponents. (custom) -->
required="true" <field
readonly="true" type="joomlacomponents"
button="false" /> name="joomla_component"
<!-- Version_update Field. Type: Subform. (joomla)--> label="COM_COMPONENTBUILDER_COMPONENT_UPDATES_JOOMLA_COMPONENT_LABEL"
<field type="subform" description="COM_COMPONENTBUILDER_COMPONENT_UPDATES_JOOMLA_COMPONENT_DESCRIPTION"
name="version_update" class="list_class"
label="COM_COMPONENTBUILDER_COMPONENT_UPDATES_VERSION_UPDATE_LABEL" multiple="false"
layout="joomla.form.field.subform.repeatable-table" required="true"
multiple="true" readonly="true"
description="COM_COMPONENTBUILDER_COMPONENT_UPDATES_VERSION_UPDATE_DESCRIPTION" button="false"
icon="list" />
maximum="300"> <!-- Version_update Field. Type: Subform. (joomla) -->
<form hidden="true" <field
name="list_version_update_modal" type="subform"
repeat="true"> name="version_update"
<!-- Version Field. Type: Text. (joomla)--> label="COM_COMPONENTBUILDER_COMPONENT_UPDATES_VERSION_UPDATE_LABEL"
<field type="text" layout="joomla.form.field.subform.repeatable-table"
name="version" multiple="true"
label="COM_COMPONENTBUILDER_COMPONENT_UPDATES_VERSION_LABEL" description="COM_COMPONENTBUILDER_COMPONENT_UPDATES_VERSION_UPDATE_DESCRIPTION"
size="10" icon="list"
maxlength="50" maximum="300">
description="COM_COMPONENTBUILDER_COMPONENT_UPDATES_VERSION_DESCRIPTION" <form hidden="true" name="list_version_update_modal" repeat="true">
class="text_area" <!-- Version Field. Type: Text. (joomla) -->
readonly="false" <field
disabled="false" type="text"
required="false" name="version"
filter="STRING" label="COM_COMPONENTBUILDER_COMPONENT_UPDATES_VERSION_LABEL"
message="COM_COMPONENTBUILDER_COMPONENT_UPDATES_VERSION_MESSAGE" size="10"
hint="COM_COMPONENTBUILDER_COMPONENT_UPDATES_VERSION_HINT" /> maxlength="50"
<!-- Mysql Field. Type: Textarea. (joomla)--> description="COM_COMPONENTBUILDER_COMPONENT_UPDATES_VERSION_DESCRIPTION"
<field type="textarea" class="text_area"
name="mysql" readonly="false"
label="COM_COMPONENTBUILDER_COMPONENT_UPDATES_MYSQL_LABEL" disabled="false"
rows="30" required="false"
cols="15" filter="STRING"
description="COM_COMPONENTBUILDER_COMPONENT_UPDATES_MYSQL_DESCRIPTION" message="COM_COMPONENTBUILDER_COMPONENT_UPDATES_VERSION_MESSAGE"
class="text_area mysql_update" hint="COM_COMPONENTBUILDER_COMPONENT_UPDATES_VERSION_HINT"
filter="raw" />
hint="COM_COMPONENTBUILDER_COMPONENT_UPDATES_MYSQL_HINT" <!-- Mysql Field. Type: Textarea. (joomla) -->
required="false" /> <field
<!-- Url Field. Type: Url. (joomla)--> type="textarea"
<field type="url" name="mysql"
name="url" label="COM_COMPONENTBUILDER_COMPONENT_UPDATES_MYSQL_LABEL"
label="COM_COMPONENTBUILDER_COMPONENT_UPDATES_URL_LABEL" rows="30"
size="60" cols="15"
maxlength="150" description="COM_COMPONENTBUILDER_COMPONENT_UPDATES_MYSQL_DESCRIPTION"
description="COM_COMPONENTBUILDER_COMPONENT_UPDATES_URL_DESCRIPTION" class="text_area mysql_update"
class="text_area version_url" filter="raw"
required="false" hint="COM_COMPONENTBUILDER_COMPONENT_UPDATES_MYSQL_HINT"
filter="raw" required="false"
validated="url" />
message="COM_COMPONENTBUILDER_COMPONENT_UPDATES_URL_MESSAGE" <!-- Url Field. Type: Url. (joomla) -->
hint="COM_COMPONENTBUILDER_COMPONENT_UPDATES_URL_HINT" /> <field
</form> type="url"
</field> name="url"
</fieldset> 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. --> <!-- Access Control Fields. -->
<fieldset name="accesscontrol"> <fieldset name="accesscontrol">

File diff suppressed because it is too large Load Diff

View File

@ -4,234 +4,259 @@
addfieldpath="/administrator/components/com_componentbuilder/models/fields" addfieldpath="/administrator/components/com_componentbuilder/models/fields"
> >
<fieldset name="details"> <fieldset name="details">
<!-- Default Fields.--> <!-- Default Fields. -->
<!-- Id Field. Type: Text (joomla)--> <!-- Id Field. Type: Text (joomla) -->
<field name="id" <field
type="text" name="id"
class="readonly" type="text" class="readonly" label="JGLOBAL_FIELD_ID_LABEL"
label="JGLOBAL_FIELD_ID_LABEL" description ="JGLOBAL_FIELD_ID_DESC" size="10" default="0"
description="JGLOBAL_FIELD_ID_DESC" readonly="true"
size="10" />
default="0" /> <!-- Date Created Field. Type: Calendar (joomla) -->
<!-- Date Created Field. Type: Calendar (joomla)--> <field
<field name="created" name="created"
type="calendar" type="calendar"
label="COM_COMPONENTBUILDER_CUSTOM_CODE_CREATED_DATE_LABEL" label="COM_COMPONENTBUILDER_CUSTOM_CODE_CREATED_DATE_LABEL"
description="COM_COMPONENTBUILDER_CUSTOM_CODE_CREATED_DATE_DESC" description="COM_COMPONENTBUILDER_CUSTOM_CODE_CREATED_DATE_DESC"
size="22" size="22"
format="%Y-%m-%d %H:%M:%S" format="%Y-%m-%d %H:%M:%S"
filter="user_utc" /> filter="user_utc"
<!-- User Created Field. Type: User (joomla)--> />
<field name="created_by" <!-- User Created Field. Type: User (joomla) -->
type="user" <field
label="COM_COMPONENTBUILDER_CUSTOM_CODE_CREATED_BY_LABEL" name="created_by"
description="COM_COMPONENTBUILDER_CUSTOM_CODE_CREATED_BY_DESC" /> type="user"
<!-- Published Field. Type: List (joomla)--> label="COM_COMPONENTBUILDER_CUSTOM_CODE_CREATED_BY_LABEL"
<field name="published" description="COM_COMPONENTBUILDER_CUSTOM_CODE_CREATED_BY_DESC"
type="list" />
label="JSTATUS"> <!-- Published Field. Type: List (joomla) -->
<option value="1">JPUBLISHED</option> <field name="published" type="list" label="JSTATUS"
<option value="0">JUNPUBLISHED</option> description="JFIELD_PUBLISHED_DESC" class="chzn-color-state"
<option value="2">JARCHIVED</option> filter="intval" size="1" default="1" >
<option value="-2">JTRASHED</option> <option value="1">
</field> JPUBLISHED</option>
<!-- Date Modified Field. Type: Calendar (joomla)--> <option value="0">
<field name="modified" JUNPUBLISHED</option>
type="calendar" <option value="2">
class="readonly" JARCHIVED</option>
label="COM_COMPONENTBUILDER_CUSTOM_CODE_MODIFIED_DATE_LABEL" <option value="-2">
description="COM_COMPONENTBUILDER_CUSTOM_CODE_MODIFIED_DATE_DESC" JTRASHED</option>
size="22" </field>
readonly="true" <!-- Date Modified Field. Type: Calendar (joomla) -->
format="%Y-%m-%d %H:%M:%S" <field name="modified" type="calendar" class="readonly"
filter="user_utc" /> label="COM_COMPONENTBUILDER_CUSTOM_CODE_MODIFIED_DATE_LABEL" description="COM_COMPONENTBUILDER_CUSTOM_CODE_MODIFIED_DATE_DESC"
<!-- User Modified Field. Type: User (joomla)--> size="22" readonly="true" format="%Y-%m-%d %H:%M:%S" filter="user_utc" />
<field name="modified_by" <!-- User Modified Field. Type: User (joomla) -->
type="user" <field name="modified_by" type="user"
label="COM_COMPONENTBUILDER_CUSTOM_CODE_MODIFIED_BY_LABEL" label="COM_COMPONENTBUILDER_CUSTOM_CODE_MODIFIED_BY_LABEL"
description="COM_COMPONENTBUILDER_CUSTOM_CODE_MODIFIED_BY_DESC" description="COM_COMPONENTBUILDER_CUSTOM_CODE_MODIFIED_BY_DESC"
class="readonly" class="readonly"
readonly="true" readonly="true"
filter="unset" /> filter="unset"
<!-- Access Field. Type: Accesslevel (joomla)--> />
<field name="access" <!-- Access Field. Type: Accesslevel (joomla) -->
type="accesslevel" <field name="access"
label="JFIELD_ACCESS_LABEL" type="accesslevel"
description="JFIELD_ACCESS_DESC" label="JFIELD_ACCESS_LABEL"
default="1" description="JFIELD_ACCESS_DESC"
required="false" /> default="1"
<!-- Ordering Field. Type: Numbers (joomla)--> required="false"
<field name="ordering" />
type="number" <!-- Ordering Field. Type: Numbers (joomla) -->
class="inputbox validate-ordering" <field
label="COM_COMPONENTBUILDER_CUSTOM_CODE_ORDERING_LABEL" name="ordering"
description="" type="number"
default="0" class="inputbox validate-ordering"
size="6" label="COM_COMPONENTBUILDER_CUSTOM_CODE_ORDERING_LABEL"
required="false" /> description=""
<!-- Version Field. Type: Text (joomla)--> default="0"
<field name="version" size="6"
type="text" required="false"
class="readonly" />
label="COM_COMPONENTBUILDER_CUSTOM_CODE_VERSION_LABEL" <!-- Version Field. Type: Text (joomla) -->
description="COM_COMPONENTBUILDER_CUSTOM_CODE_VERSION_DESC" <field
size="6" name="version"
readonly="true" type="text"
filter="unset" /> class="readonly"
<!-- Dynamic Fields.--> label="COM_COMPONENTBUILDER_CUSTOM_CODE_VERSION_LABEL"
<!-- Component Field. Type: Component. (custom)--> description="COM_COMPONENTBUILDER_CUSTOM_CODE_VERSION_DESC"
<field type="component" size="6"
name="component" readonly="true"
label="COM_COMPONENTBUILDER_CUSTOM_CODE_COMPONENT_LABEL" filter="unset"
description="JFIELD_TITLE_DESC" />
class="list_class" <!-- Dynamic Fields. -->
multiple="false" <!-- Component Field. Type: Component. (custom) -->
default="0" <field
required="true" type="component"
button="true" /> name="component"
<!-- Path Field. Type: Text. (joomla)--> label="COM_COMPONENTBUILDER_CUSTOM_CODE_COMPONENT_LABEL"
<field type="text" description="JFIELD_TITLE_DESC"
name="path" class="list_class"
label="COM_COMPONENTBUILDER_CUSTOM_CODE_PATH_LABEL" multiple="false"
size="100" default="0"
maxlength="250" required="true"
description="COM_COMPONENTBUILDER_CUSTOM_CODE_PATH_DESCRIPTION" button="true"
class="text_area span12" />
required="true" <!-- Path Field. Type: Text. (joomla) -->
filter="PATH" <field
message="COM_COMPONENTBUILDER_CUSTOM_CODE_PATH_MESSAGE" type="text"
hint="COM_COMPONENTBUILDER_CUSTOM_CODE_PATH_HINT" /> name="path"
<!-- Target Field. Type: Radio. (joomla)--> label="COM_COMPONENTBUILDER_CUSTOM_CODE_PATH_LABEL"
<field type="radio" size="100"
name="target" maxlength="250"
label="COM_COMPONENTBUILDER_CUSTOM_CODE_TARGET_LABEL" description="COM_COMPONENTBUILDER_CUSTOM_CODE_PATH_DESCRIPTION"
description="COM_COMPONENTBUILDER_CUSTOM_CODE_TARGET_DESCRIPTION" class="text_area span12"
class="btn-group btn-group-yesno" required="true"
default="2"> filter="PATH"
<!-- Option Set.--> message="COM_COMPONENTBUILDER_CUSTOM_CODE_PATH_MESSAGE"
<option value="2">COM_COMPONENTBUILDER_CUSTOM_CODE_JCB_MANUAL</option> hint="COM_COMPONENTBUILDER_CUSTOM_CODE_PATH_HINT"
<option value="1">COM_COMPONENTBUILDER_CUSTOM_CODE_HASH_AUTOMATION</option> />
</field> <!-- Target Field. Type: Radio. (joomla) -->
<!-- Type Field. Type: Radio. (joomla)--> <field
<field type="radio" type="radio"
name="type" name="target"
label="COM_COMPONENTBUILDER_CUSTOM_CODE_TYPE_LABEL" label="COM_COMPONENTBUILDER_CUSTOM_CODE_TARGET_LABEL"
description="COM_COMPONENTBUILDER_CUSTOM_CODE_TYPE_DESCRIPTION" description="COM_COMPONENTBUILDER_CUSTOM_CODE_TARGET_DESCRIPTION"
class="btn-group btn-group-yesno" class="btn-group btn-group-yesno"
required="true"> default="2">
<!-- Option Set.--> <!-- Option Set. -->
<option value="1">COM_COMPONENTBUILDER_CUSTOM_CODE_REPLACEMENT</option> <option value="2">
<option value="2">COM_COMPONENTBUILDER_CUSTOM_CODE_INSERTION</option> COM_COMPONENTBUILDER_CUSTOM_CODE_JCB_MANUAL</option>
</field> <option value="1">
<!-- Comment_type Field. Type: Radio. (joomla)--> COM_COMPONENTBUILDER_CUSTOM_CODE_HASH_AUTOMATION</option>
<field type="radio" </field>
name="comment_type" <!-- Type Field. Type: Radio. (joomla) -->
label="COM_COMPONENTBUILDER_CUSTOM_CODE_COMMENT_TYPE_LABEL" <field
description="COM_COMPONENTBUILDER_CUSTOM_CODE_COMMENT_TYPE_DESCRIPTION" type="radio"
class="btn-group btn-group-yesno" name="type"
default="1" label="COM_COMPONENTBUILDER_CUSTOM_CODE_TYPE_LABEL"
required="true"> description="COM_COMPONENTBUILDER_CUSTOM_CODE_TYPE_DESCRIPTION"
<!-- Option Set.--> class="btn-group btn-group-yesno"
<option value="1">COM_COMPONENTBUILDER_CUSTOM_CODE_PHPJS</option> required="true">
<option value="2">COM_COMPONENTBUILDER_CUSTOM_CODE_HTML</option> <!-- Option Set. -->
</field> <option value="1">
<!-- Not_required Field. Type: Hidden. (joomla)--> COM_COMPONENTBUILDER_CUSTOM_CODE_REPLACEMENT</option>
<field type="hidden" <option value="2">
name="not_required" COM_COMPONENTBUILDER_CUSTOM_CODE_INSERTION</option>
default="[]" /> </field>
<!-- Function_name Field. Type: Text. (joomla)--> <!-- Comment_type Field. Type: Radio. (joomla) -->
<field type="text" <field
name="function_name" type="radio"
label="COM_COMPONENTBUILDER_CUSTOM_CODE_FUNCTION_NAME_LABEL" name="comment_type"
size="40" label="COM_COMPONENTBUILDER_CUSTOM_CODE_COMMENT_TYPE_LABEL"
description="COM_COMPONENTBUILDER_CUSTOM_CODE_FUNCTION_NAME_DESCRIPTION" description="COM_COMPONENTBUILDER_CUSTOM_CODE_COMMENT_TYPE_DESCRIPTION"
class="input-large-text" class="btn-group btn-group-yesno"
required="true" /> default="1"
<!-- System_name Field. Type: Text. (joomla)--> required="true">
<field type="text" <!-- Option Set. -->
name="system_name" <option value="1">
label="COM_COMPONENTBUILDER_CUSTOM_CODE_SYSTEM_NAME_LABEL" COM_COMPONENTBUILDER_CUSTOM_CODE_PHPJS</option>
size="10" <option value="2">
maxlength="50" COM_COMPONENTBUILDER_CUSTOM_CODE_HTML</option>
description="COM_COMPONENTBUILDER_CUSTOM_CODE_SYSTEM_NAME_DESCRIPTION" </field>
class="text_area" <!-- Not_required Field. Type: Hidden. (joomla) -->
filter="STRING" <field
message="COM_COMPONENTBUILDER_CUSTOM_CODE_SYSTEM_NAME_MESSAGE" type="hidden"
hint="COM_COMPONENTBUILDER_CUSTOM_CODE_SYSTEM_NAME_HINT" /> name="not_required"
<!-- Note_placeholders_explained Field. Type: Note. A None Database Field. (joomla)--> default="[]"
<field type="note" />
name="note_placeholders_explained" <!-- Function_name Field. Type: Text. (joomla) -->
label="COM_COMPONENTBUILDER_CUSTOM_CODE_NOTE_PLACEHOLDERS_EXPLAINED_LABEL" <field
description="COM_COMPONENTBUILDER_CUSTOM_CODE_NOTE_PLACEHOLDERS_EXPLAINED_DESCRIPTION" type="text"
heading="h4" name="function_name"
class="note_placeholders_explained" /> label="COM_COMPONENTBUILDER_CUSTOM_CODE_FUNCTION_NAME_LABEL"
<!-- Code Field. Type: Textarea. (joomla)--> size="40"
<field type="textarea" description="COM_COMPONENTBUILDER_CUSTOM_CODE_FUNCTION_NAME_DESCRIPTION"
name="code" class="input-large-text"
label="COM_COMPONENTBUILDER_CUSTOM_CODE_CODE_LABEL" required="true"
rows="30" />
cols="15" <!-- System_name Field. Type: Text. (joomla) -->
description="COM_COMPONENTBUILDER_CUSTOM_CODE_CODE_DESCRIPTION" <field
class="text_area span12" type="text"
filter="raw" name="system_name"
hint="COM_COMPONENTBUILDER_CUSTOM_CODE_CODE_HINT" label="COM_COMPONENTBUILDER_CUSTOM_CODE_SYSTEM_NAME_LABEL"
required="true" /> size="10"
<!-- Note_jcb_placeholder Field. Type: Note. A None Database Field. (joomla)--> maxlength="50"
<field type="note" description="COM_COMPONENTBUILDER_CUSTOM_CODE_SYSTEM_NAME_DESCRIPTION"
name="note_jcb_placeholder" class="text_area"
label="COM_COMPONENTBUILDER_CUSTOM_CODE_NOTE_JCB_PLACEHOLDER_LABEL" filter="STRING"
description="COM_COMPONENTBUILDER_CUSTOM_CODE_NOTE_JCB_PLACEHOLDER_DESCRIPTION" message="COM_COMPONENTBUILDER_CUSTOM_CODE_SYSTEM_NAME_MESSAGE"
heading="h4" hint="COM_COMPONENTBUILDER_CUSTOM_CODE_SYSTEM_NAME_HINT"
class="span12 note_jcb_placeholder" /> />
<!-- Hashendtarget Field. Type: Text. (joomla)--> <!-- Note_placeholders_explained Field. Type: Note. A None Database Field. (joomla) -->
<field type="text" <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" />
name="hashendtarget" <!-- Code Field. Type: Textarea. (joomla) -->
label="COM_COMPONENTBUILDER_CUSTOM_CODE_HASHENDTARGET_LABEL" <field
size="50" type="textarea"
maxlength="150" name="code"
description="COM_COMPONENTBUILDER_CUSTOM_CODE_HASHENDTARGET_DESCRIPTION" label="COM_COMPONENTBUILDER_CUSTOM_CODE_CODE_LABEL"
class="text_area" rows="30"
readonly="true" cols="15"
filter="STRING" description="COM_COMPONENTBUILDER_CUSTOM_CODE_CODE_DESCRIPTION"
message="COM_COMPONENTBUILDER_CUSTOM_CODE_HASHENDTARGET_MESSAGE" class="text_area span12"
hint="COM_COMPONENTBUILDER_CUSTOM_CODE_HASHENDTARGET_HINT" /> filter="raw"
<!-- To_line Field. Type: Text. (joomla)--> hint="COM_COMPONENTBUILDER_CUSTOM_CODE_CODE_HINT"
<field type="text" required="true"
name="to_line" />
label="COM_COMPONENTBUILDER_CUSTOM_CODE_TO_LINE_LABEL" <!-- Note_jcb_placeholder Field. Type: Note. A None Database Field. (joomla) -->
size="10" <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" />
maxlength="50" <!-- Hashendtarget Field. Type: Text. (joomla) -->
description="COM_COMPONENTBUILDER_CUSTOM_CODE_TO_LINE_DESCRIPTION" <field
class="text_area" type="text"
filter="FLOAT" name="hashendtarget"
message="COM_COMPONENTBUILDER_CUSTOM_CODE_TO_LINE_MESSAGE" label="COM_COMPONENTBUILDER_CUSTOM_CODE_HASHENDTARGET_LABEL"
hint="COM_COMPONENTBUILDER_CUSTOM_CODE_TO_LINE_HINT" size="50"
onchange="if(!jQuery(this).val().match(/^\d+$/)){jQuery(this).val('')};" /> maxlength="150"
<!-- From_line Field. Type: Text. (joomla)--> description="COM_COMPONENTBUILDER_CUSTOM_CODE_HASHENDTARGET_DESCRIPTION"
<field type="text" class="text_area"
name="from_line" readonly="true"
label="COM_COMPONENTBUILDER_CUSTOM_CODE_FROM_LINE_LABEL" filter="STRING"
size="10" message="COM_COMPONENTBUILDER_CUSTOM_CODE_HASHENDTARGET_MESSAGE"
maxlength="50" hint="COM_COMPONENTBUILDER_CUSTOM_CODE_HASHENDTARGET_HINT"
description="COM_COMPONENTBUILDER_CUSTOM_CODE_FROM_LINE_DESCRIPTION" />
class="text_area" <!-- To_line Field. Type: Text. (joomla) -->
filter="FLOAT" <field
message="COM_COMPONENTBUILDER_CUSTOM_CODE_FROM_LINE_MESSAGE" type="text"
hint="COM_COMPONENTBUILDER_CUSTOM_CODE_FROM_LINE_HINT" name="to_line"
onchange="if(!jQuery(this).val().match(/^\d+$/)){jQuery(this).val('')};" /> label="COM_COMPONENTBUILDER_CUSTOM_CODE_TO_LINE_LABEL"
<!-- Hashtarget Field. Type: Text. (joomla)--> size="10"
<field type="text" maxlength="50"
name="hashtarget" description="COM_COMPONENTBUILDER_CUSTOM_CODE_TO_LINE_DESCRIPTION"
label="COM_COMPONENTBUILDER_CUSTOM_CODE_HASHTARGET_LABEL" class="text_area"
size="50" filter="FLOAT"
maxlength="150" message="COM_COMPONENTBUILDER_CUSTOM_CODE_TO_LINE_MESSAGE"
description="COM_COMPONENTBUILDER_CUSTOM_CODE_HASHTARGET_DESCRIPTION" hint="COM_COMPONENTBUILDER_CUSTOM_CODE_TO_LINE_HINT"
class="text_area" onchange="if(!jQuery(this).val().match(/^\d+$/)){jQuery(this).val('')};"
readonly="true" />
filter="STRING" <!-- From_line Field. Type: Text. (joomla) -->
message="COM_COMPONENTBUILDER_CUSTOM_CODE_HASHTARGET_MESSAGE" <field
hint="COM_COMPONENTBUILDER_CUSTOM_CODE_HASHTARGET_HINT" /> type="text"
</fieldset> 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. --> <!-- Access Control Fields. -->
<fieldset name="accesscontrol"> <fieldset name="accesscontrol">

File diff suppressed because it is too large Load Diff

View File

@ -4,363 +4,441 @@
addfieldpath="/administrator/components/com_componentbuilder/models/fields" addfieldpath="/administrator/components/com_componentbuilder/models/fields"
> >
<fieldset name="details"> <fieldset name="details">
<!-- Default Fields.--> <!-- Default Fields. -->
<!-- Id Field. Type: Text (joomla)--> <!-- Id Field. Type: Text (joomla) -->
<field name="id" <field
type="text" name="id"
class="readonly" type="text" class="readonly" label="JGLOBAL_FIELD_ID_LABEL"
label="JGLOBAL_FIELD_ID_LABEL" description ="JGLOBAL_FIELD_ID_DESC" size="10" default="0"
description="JGLOBAL_FIELD_ID_DESC" readonly="true"
size="10" />
default="0" /> <!-- Date Created Field. Type: Calendar (joomla) -->
<!-- Date Created Field. Type: Calendar (joomla)--> <field
<field name="created" name="created"
type="calendar" type="calendar"
label="COM_COMPONENTBUILDER_FIELD_CREATED_DATE_LABEL" label="COM_COMPONENTBUILDER_FIELD_CREATED_DATE_LABEL"
description="COM_COMPONENTBUILDER_FIELD_CREATED_DATE_DESC" description="COM_COMPONENTBUILDER_FIELD_CREATED_DATE_DESC"
size="22" size="22"
format="%Y-%m-%d %H:%M:%S" format="%Y-%m-%d %H:%M:%S"
filter="user_utc" /> filter="user_utc"
<!-- User Created Field. Type: User (joomla)--> />
<field name="created_by" <!-- User Created Field. Type: User (joomla) -->
type="user" <field
label="COM_COMPONENTBUILDER_FIELD_CREATED_BY_LABEL" name="created_by"
description="COM_COMPONENTBUILDER_FIELD_CREATED_BY_DESC" /> type="user"
<!-- Published Field. Type: List (joomla)--> label="COM_COMPONENTBUILDER_FIELD_CREATED_BY_LABEL"
<field name="published" description="COM_COMPONENTBUILDER_FIELD_CREATED_BY_DESC"
type="list" />
label="JSTATUS"> <!-- Published Field. Type: List (joomla) -->
<option value="1">JPUBLISHED</option> <field name="published" type="list" label="JSTATUS"
<option value="0">JUNPUBLISHED</option> description="JFIELD_PUBLISHED_DESC" class="chzn-color-state"
<option value="2">JARCHIVED</option> filter="intval" size="1" default="1" >
<option value="-2">JTRASHED</option> <option value="1">
</field> JPUBLISHED</option>
<!-- Date Modified Field. Type: Calendar (joomla)--> <option value="0">
<field name="modified" JUNPUBLISHED</option>
type="calendar" <option value="2">
class="readonly" JARCHIVED</option>
label="COM_COMPONENTBUILDER_FIELD_MODIFIED_DATE_LABEL" <option value="-2">
description="COM_COMPONENTBUILDER_FIELD_MODIFIED_DATE_DESC" JTRASHED</option>
size="22" </field>
readonly="true" <!-- Date Modified Field. Type: Calendar (joomla) -->
format="%Y-%m-%d %H:%M:%S" <field name="modified" type="calendar" class="readonly"
filter="user_utc" /> label="COM_COMPONENTBUILDER_FIELD_MODIFIED_DATE_LABEL" description="COM_COMPONENTBUILDER_FIELD_MODIFIED_DATE_DESC"
<!-- User Modified Field. Type: User (joomla)--> size="22" readonly="true" format="%Y-%m-%d %H:%M:%S" filter="user_utc" />
<field name="modified_by" <!-- User Modified Field. Type: User (joomla) -->
type="user" <field name="modified_by" type="user"
label="COM_COMPONENTBUILDER_FIELD_MODIFIED_BY_LABEL" label="COM_COMPONENTBUILDER_FIELD_MODIFIED_BY_LABEL"
description="COM_COMPONENTBUILDER_FIELD_MODIFIED_BY_DESC" description="COM_COMPONENTBUILDER_FIELD_MODIFIED_BY_DESC"
class="readonly" class="readonly"
readonly="true" readonly="true"
filter="unset" /> filter="unset"
<!-- Access Field. Type: Accesslevel (joomla)--> />
<field name="access" <!-- Access Field. Type: Accesslevel (joomla) -->
type="accesslevel" <field name="access"
label="JFIELD_ACCESS_LABEL" type="accesslevel"
description="JFIELD_ACCESS_DESC" label="JFIELD_ACCESS_LABEL"
default="1" description="JFIELD_ACCESS_DESC"
required="false" /> default="1"
<!-- Ordering Field. Type: Numbers (joomla)--> required="false"
<field name="ordering" />
type="number" <!-- Ordering Field. Type: Numbers (joomla) -->
class="inputbox validate-ordering" <field
label="COM_COMPONENTBUILDER_FIELD_ORDERING_LABEL" name="ordering"
description="" type="number"
default="0" class="inputbox validate-ordering"
size="6" label="COM_COMPONENTBUILDER_FIELD_ORDERING_LABEL"
required="false" /> description=""
<!-- Version Field. Type: Text (joomla)--> default="0"
<field name="version" size="6"
type="text" required="false"
class="readonly" />
label="COM_COMPONENTBUILDER_FIELD_VERSION_LABEL" <!-- Version Field. Type: Text (joomla) -->
description="COM_COMPONENTBUILDER_FIELD_VERSION_DESC" <field
size="6" name="version"
readonly="true" type="text"
filter="unset" /> class="readonly"
<!-- Dynamic Fields.--> label="COM_COMPONENTBUILDER_FIELD_VERSION_LABEL"
<!-- Name Field. Type: Text. (joomla)--> description="COM_COMPONENTBUILDER_FIELD_VERSION_DESC"
<field type="text" size="6"
name="name" readonly="true"
label="COM_COMPONENTBUILDER_FIELD_NAME_LABEL" filter="unset"
size="40" />
maxlength="150" <!-- Dynamic Fields. -->
description="COM_COMPONENTBUILDER_FIELD_NAME_DESCRIPTION" <!-- Name Field. Type: Text. (joomla) -->
class="text_area" <field
readonly="false" type="text"
disabled="false" name="name"
required="true" label="COM_COMPONENTBUILDER_FIELD_NAME_LABEL"
filter="STRING" size="40"
message="COM_COMPONENTBUILDER_FIELD_NAME_MESSAGE" maxlength="150"
hint="COM_COMPONENTBUILDER_FIELD_NAME_HINT" /> description="COM_COMPONENTBUILDER_FIELD_NAME_DESCRIPTION"
<!-- Fieldtype Field. Type: Fieldtypes. (custom)--> class="text_area"
<field type="fieldtypes" readonly="false"
name="fieldtype" disabled="false"
label="COM_COMPONENTBUILDER_FIELD_FIELDTYPE_LABEL" required="true"
description="COM_COMPONENTBUILDER_FIELD_FIELDTYPE_DESCRIPTION" filter="STRING"
class="btn-group" message="COM_COMPONENTBUILDER_FIELD_NAME_MESSAGE"
multiple="false" hint="COM_COMPONENTBUILDER_FIELD_NAME_HINT"
required="true" />
button="true" /> <!-- Fieldtype Field. Type: Fieldtypes. (custom) -->
<!-- Datatype Field. Type: List. (joomla)--> <field
<field type="list" type="fieldtypes"
name="datatype" name="fieldtype"
label="COM_COMPONENTBUILDER_FIELD_DATATYPE_LABEL" label="COM_COMPONENTBUILDER_FIELD_FIELDTYPE_LABEL"
description="COM_COMPONENTBUILDER_FIELD_DATATYPE_DESCRIPTION" description="COM_COMPONENTBUILDER_FIELD_FIELDTYPE_DESCRIPTION"
class="btn-group" class="btn-group"
multiple="false" multiple="false"
required="true"> required="true"
<!-- Option Set.--> button="true"
<option value="CHAR">COM_COMPONENTBUILDER_FIELD_CHAR</option> />
<option value="VARCHAR">COM_COMPONENTBUILDER_FIELD_VARCHAR</option> <!-- Datatype Field. Type: List. (joomla) -->
<option value="TEXT">COM_COMPONENTBUILDER_FIELD_TEXT</option> <field
<option value="MEDIUMTEXT">COM_COMPONENTBUILDER_FIELD_MEDIUMTEXT</option> type="list"
<option value="LONGTEXT">COM_COMPONENTBUILDER_FIELD_LONGTEXT</option> name="datatype"
<option value="DATETIME">COM_COMPONENTBUILDER_FIELD_DATETIME</option> label="COM_COMPONENTBUILDER_FIELD_DATATYPE_LABEL"
<option value="DATE">COM_COMPONENTBUILDER_FIELD_DATE</option> description="COM_COMPONENTBUILDER_FIELD_DATATYPE_DESCRIPTION"
<option value="TIME">COM_COMPONENTBUILDER_FIELD_TIME</option> class="btn-group"
<option value="INT">COM_COMPONENTBUILDER_FIELD_INT</option> multiple="false"
<option value="TINYINT">COM_COMPONENTBUILDER_FIELD_TINYINT</option> required="true">
<option value="BIGINT">COM_COMPONENTBUILDER_FIELD_BIGINT</option> <!-- Option Set. -->
<option value="FLOAT">COM_COMPONENTBUILDER_FIELD_FLOAT</option> <option value="CHAR">
<option value="DECIMAL">COM_COMPONENTBUILDER_FIELD_DECIMAL</option> COM_COMPONENTBUILDER_FIELD_CHAR</option>
<option value="DOUBLE">COM_COMPONENTBUILDER_FIELD_DOUBLE</option> <option value="VARCHAR">
</field> COM_COMPONENTBUILDER_FIELD_VARCHAR</option>
<!-- Indexes Field. Type: List. (joomla)--> <option value="TEXT">
<field type="list" COM_COMPONENTBUILDER_FIELD_TEXT</option>
name="indexes" <option value="MEDIUMTEXT">
label="COM_COMPONENTBUILDER_FIELD_INDEXES_LABEL" COM_COMPONENTBUILDER_FIELD_MEDIUMTEXT</option>
class="btn-group" <option value="LONGTEXT">
multiple="false" COM_COMPONENTBUILDER_FIELD_LONGTEXT</option>
filter="INT" <option value="DATETIME">
required="true" COM_COMPONENTBUILDER_FIELD_DATETIME</option>
default="0"> <option value="DATE">
<!-- Option Set.--> COM_COMPONENTBUILDER_FIELD_DATE</option>
<option value="1">COM_COMPONENTBUILDER_FIELD_UNIQUE_KEY</option> <option value="TIME">
<option value="2">COM_COMPONENTBUILDER_FIELD_KEY</option> COM_COMPONENTBUILDER_FIELD_TIME</option>
<option value="0">COM_COMPONENTBUILDER_FIELD_NONE</option> <option value="INT">
</field> COM_COMPONENTBUILDER_FIELD_INT</option>
<!-- Null_switch Field. Type: Radio. (joomla)--> <option value="TINYINT">
<field type="radio" COM_COMPONENTBUILDER_FIELD_TINYINT</option>
name="null_switch" <option value="BIGINT">
label="COM_COMPONENTBUILDER_FIELD_NULL_SWITCH_LABEL" COM_COMPONENTBUILDER_FIELD_BIGINT</option>
class="btn-group btn-group-yesno" <option value="FLOAT">
default="NOT NULL" COM_COMPONENTBUILDER_FIELD_FLOAT</option>
required="true"> <option value="DECIMAL">
<!-- Option Set.--> COM_COMPONENTBUILDER_FIELD_DECIMAL</option>
<option value="NULL">COM_COMPONENTBUILDER_FIELD_NULL</option> <option value="DOUBLE">
<option value="NOT NULL">COM_COMPONENTBUILDER_FIELD_NOT_NULL</option> COM_COMPONENTBUILDER_FIELD_DOUBLE</option>
</field> </field>
<!-- Add_css_view Field. Type: Radio. (joomla)--> <!-- Indexes Field. Type: List. (joomla) -->
<field type="radio" <field
name="add_css_view" type="list"
label="COM_COMPONENTBUILDER_FIELD_ADD_CSS_VIEW_LABEL" name="indexes"
class="btn-group btn-group-yesno" label="COM_COMPONENTBUILDER_FIELD_INDEXES_LABEL"
default="0" class="btn-group"
required="true"> multiple="false"
<!-- Option Set.--> filter="INT"
<option value="1">COM_COMPONENTBUILDER_FIELD_YES</option> required="true"
<option value="0">COM_COMPONENTBUILDER_FIELD_NO</option> default="0">
</field> <!-- Option Set. -->
<!-- Css_view Field. Type: Textarea. (joomla)--> <option value="1">
<field type="textarea" COM_COMPONENTBUILDER_FIELD_UNIQUE_KEY</option>
name="css_view" <option value="2">
label="COM_COMPONENTBUILDER_FIELD_CSS_VIEW_LABEL" COM_COMPONENTBUILDER_FIELD_KEY</option>
rows="30" <option value="0">
cols="15" COM_COMPONENTBUILDER_FIELD_NONE</option>
description="COM_COMPONENTBUILDER_FIELD_CSS_VIEW_DESCRIPTION" </field>
class="text_area span12" <!-- Null_switch Field. Type: Radio. (joomla) -->
filter="raw" <field
hint="COM_COMPONENTBUILDER_FIELD_CSS_VIEW_HINT" type="radio"
required="true" /> name="null_switch"
<!-- Note_filter_information Field. Type: Note. A None Database Field. (joomla)--> label="COM_COMPONENTBUILDER_FIELD_NULL_SWITCH_LABEL"
<field type="note" class="btn-group btn-group-yesno"
name="note_filter_information" default="NOT NULL"
description="COM_COMPONENTBUILDER_FIELD_NOTE_FILTER_INFORMATION_DESCRIPTION" required="true">
class="note_filter_information" /> <!-- Option Set. -->
<!-- Not_required Field. Type: Hidden. (joomla)--> <option value="NULL">
<field type="hidden" COM_COMPONENTBUILDER_FIELD_NULL</option>
name="not_required" <option value="NOT NULL">
default="[]" /> COM_COMPONENTBUILDER_FIELD_NOT_NULL</option>
<!-- Catid Field. Type: Category. (joomla)--> </field>
<field type="category" <!-- Add_css_view Field. Type: Radio. (joomla) -->
name="catid" <field
label="COM_COMPONENTBUILDER_FIELD_CATID_LABEL" type="radio"
extension="com_componentbuilder.fields" name="add_css_view"
description="COM_COMPONENTBUILDER_FIELD_CATID_DESCRIPTION" label="COM_COMPONENTBUILDER_FIELD_ADD_CSS_VIEW_LABEL"
class="inputbox" /> class="btn-group btn-group-yesno"
<!-- Xml Field. Type: Textarea. (joomla)--> default="0"
<field type="textarea" required="true">
name="xml" <!-- Option Set. -->
label="COM_COMPONENTBUILDER_FIELD_XML_LABEL" <option value="1">
rows="17" COM_COMPONENTBUILDER_FIELD_YES</option>
cols="720" <option value="0">
description="COM_COMPONENTBUILDER_FIELD_XML_DESCRIPTION" COM_COMPONENTBUILDER_FIELD_NO</option>
class="text_area span12" </field>
filter="raw" <!-- Css_view Field. Type: Textarea. (joomla) -->
hint="COM_COMPONENTBUILDER_FIELD_XML_HINT" <field
required="true" /> type="textarea"
<!-- Add_javascript_view_footer Field. Type: Radio. (joomla)--> name="css_view"
<field type="radio" label="COM_COMPONENTBUILDER_FIELD_CSS_VIEW_LABEL"
name="add_javascript_view_footer" rows="30"
label="COM_COMPONENTBUILDER_FIELD_ADD_JAVASCRIPT_VIEW_FOOTER_LABEL" cols="15"
class="btn-group btn-group-yesno" description="COM_COMPONENTBUILDER_FIELD_CSS_VIEW_DESCRIPTION"
default="0" class="text_area span12"
required="true"> filter="raw"
<!-- Option Set.--> hint="COM_COMPONENTBUILDER_FIELD_CSS_VIEW_HINT"
<option value="1">COM_COMPONENTBUILDER_FIELD_YES</option> required="true"
<option value="0">COM_COMPONENTBUILDER_FIELD_NO</option> />
</field> <!-- Note_filter_information Field. Type: Note. A None Database Field. (joomla) -->
<!-- Add_javascript_views_footer Field. Type: Radio. (joomla)--> <field type="note" name="note_filter_information" description="COM_COMPONENTBUILDER_FIELD_NOTE_FILTER_INFORMATION_DESCRIPTION" class="note_filter_information" />
<field type="radio" <!-- Not_required Field. Type: Hidden. (joomla) -->
name="add_javascript_views_footer" <field
label="COM_COMPONENTBUILDER_FIELD_ADD_JAVASCRIPT_VIEWS_FOOTER_LABEL" type="hidden"
class="btn-group btn-group-yesno" name="not_required"
default="0" default="[]"
required="true"> />
<!-- Option Set.--> <!-- Catid Field. Type: Category. (joomla) -->
<option value="1">COM_COMPONENTBUILDER_FIELD_YES</option> <field
<option value="0">COM_COMPONENTBUILDER_FIELD_NO</option> type="category"
</field> name="catid"
<!-- Add_css_views Field. Type: Radio. (joomla)--> label="COM_COMPONENTBUILDER_FIELD_CATID_LABEL"
<field type="radio" extension="com_componentbuilder.fields"
name="add_css_views" description="COM_COMPONENTBUILDER_FIELD_CATID_DESCRIPTION"
label="COM_COMPONENTBUILDER_FIELD_ADD_CSS_VIEWS_LABEL" class="inputbox"
class="btn-group btn-group-yesno" />
default="0" <!-- Xml Field. Type: Textarea. (joomla) -->
required="true"> <field
<!-- Option Set.--> type="textarea"
<option value="1">COM_COMPONENTBUILDER_FIELD_YES</option> name="xml"
<option value="0">COM_COMPONENTBUILDER_FIELD_NO</option> label="COM_COMPONENTBUILDER_FIELD_XML_LABEL"
</field> rows="17"
<!-- Datalenght Field. Type: List. (joomla)--> cols="720"
<field type="list" description="COM_COMPONENTBUILDER_FIELD_XML_DESCRIPTION"
name="datalenght" class="text_area span12"
label="COM_COMPONENTBUILDER_FIELD_DATALENGHT_LABEL" filter="raw"
description="COM_COMPONENTBUILDER_FIELD_DATALENGHT_DESCRIPTION" hint="COM_COMPONENTBUILDER_FIELD_XML_HINT"
class="btn-group" required="true"
multiple="false"> />
<!-- Option Set.--> <!-- Add_javascript_view_footer Field. Type: Radio. (joomla) -->
<option value="">COM_COMPONENTBUILDER_FIELD_NONE_SET</option> <field
<option value="1">COM_COMPONENTBUILDER_FIELD_ONE</option> type="radio"
<option value="7">COM_COMPONENTBUILDER_FIELD_SEVEN</option> name="add_javascript_view_footer"
<option value="10">COM_COMPONENTBUILDER_FIELD_TEN</option> label="COM_COMPONENTBUILDER_FIELD_ADD_JAVASCRIPT_VIEW_FOOTER_LABEL"
<option value="11">COM_COMPONENTBUILDER_FIELD_ELEVEN</option> class="btn-group btn-group-yesno"
<option value="50">COM_COMPONENTBUILDER_FIELD_FIFTY</option> default="0"
<option value="64">COM_COMPONENTBUILDER_FIELD_SIXTY_FOUR</option> required="true">
<option value="100">COM_COMPONENTBUILDER_FIELD_ONE_HUNDRED</option> <!-- Option Set. -->
<option value="255">COM_COMPONENTBUILDER_FIELD_TWO_HUNDRED_AND_FIFTY_FIVE</option> <option value="1">
<option value="1024">COM_COMPONENTBUILDER_FIELD_ONE_THOUSAND_AND_TWENTY_FOUR</option> COM_COMPONENTBUILDER_FIELD_YES</option>
<option value="2048">COM_COMPONENTBUILDER_FIELD_TWO_THOUSAND_AND_FORTY_EIGHT</option> <option value="0">
<option value="Other">COM_COMPONENTBUILDER_FIELD_OTHER</option> COM_COMPONENTBUILDER_FIELD_NO</option>
</field> </field>
<!-- Datadefault_other Field. Type: Text. (joomla)--> <!-- Add_javascript_views_footer Field. Type: Radio. (joomla) -->
<field type="text" <field
name="datadefault_other" type="radio"
label="COM_COMPONENTBUILDER_FIELD_DATADEFAULT_OTHER_LABEL" name="add_javascript_views_footer"
size="10" label="COM_COMPONENTBUILDER_FIELD_ADD_JAVASCRIPT_VIEWS_FOOTER_LABEL"
maxlength="50" class="btn-group btn-group-yesno"
description="COM_COMPONENTBUILDER_FIELD_DATADEFAULT_OTHER_DESCRIPTION" default="0"
class="text_area" required="true">
readonly="false" <!-- Option Set. -->
disabled="false" <option value="1">
required="true" COM_COMPONENTBUILDER_FIELD_YES</option>
filter="STRING" <option value="0">
message="COM_COMPONENTBUILDER_FIELD_DATADEFAULT_OTHER_MESSAGE" COM_COMPONENTBUILDER_FIELD_NO</option>
hint="COM_COMPONENTBUILDER_FIELD_DATADEFAULT_OTHER_HINT" /> </field>
<!-- Datadefault Field. Type: List. (joomla)--> <!-- Add_css_views Field. Type: Radio. (joomla) -->
<field type="list" <field
name="datadefault" type="radio"
label="COM_COMPONENTBUILDER_FIELD_DATADEFAULT_LABEL" name="add_css_views"
description="COM_COMPONENTBUILDER_FIELD_DATADEFAULT_DESCRIPTION" label="COM_COMPONENTBUILDER_FIELD_ADD_CSS_VIEWS_LABEL"
class="btn-group" class="btn-group btn-group-yesno"
multiple="false"> default="0"
<!-- Option Set.--> required="true">
<option value="">COM_COMPONENTBUILDER_FIELD_NONE</option> <!-- Option Set. -->
<option value="0">COM_COMPONENTBUILDER_FIELD_ZERO</option> <option value="1">
<option value="1">COM_COMPONENTBUILDER_FIELD_ONE</option> COM_COMPONENTBUILDER_FIELD_YES</option>
<option value="CURRENT_TIMESTAMP">COM_COMPONENTBUILDER_FIELD_CURRENT_TIMESTAMP</option> <option value="0">
<option value="DATETIME">COM_COMPONENTBUILDER_FIELD_DATETIME</option> COM_COMPONENTBUILDER_FIELD_NO</option>
<option value="Other">COM_COMPONENTBUILDER_FIELD_OTHER</option> </field>
</field> <!-- Datalenght Field. Type: List. (joomla) -->
<!-- Datalenght_other Field. Type: Text. (joomla)--> <field
<field type="text" type="list"
name="datalenght_other" name="datalenght"
label="COM_COMPONENTBUILDER_FIELD_DATALENGHT_OTHER_LABEL" label="COM_COMPONENTBUILDER_FIELD_DATALENGHT_LABEL"
size="10" description="COM_COMPONENTBUILDER_FIELD_DATALENGHT_DESCRIPTION"
maxlength="50" class="btn-group"
description="COM_COMPONENTBUILDER_FIELD_DATALENGHT_OTHER_DESCRIPTION" multiple="false">
class="text_area" <!-- Option Set. -->
readonly="false" <option value="">
disabled="false" COM_COMPONENTBUILDER_FIELD_NONE_SET</option>
required="true" <option value="1">
filter="STRING" COM_COMPONENTBUILDER_FIELD_ONE</option>
message="COM_COMPONENTBUILDER_FIELD_DATALENGHT_OTHER_MESSAGE" <option value="7">
hint="COM_COMPONENTBUILDER_FIELD_DATALENGHT_OTHER_HINT" /> COM_COMPONENTBUILDER_FIELD_SEVEN</option>
<!-- Css_views Field. Type: Textarea. (joomla)--> <option value="10">
<field type="textarea" COM_COMPONENTBUILDER_FIELD_TEN</option>
name="css_views" <option value="11">
label="COM_COMPONENTBUILDER_FIELD_CSS_VIEWS_LABEL" COM_COMPONENTBUILDER_FIELD_ELEVEN</option>
rows="30" <option value="50">
cols="15" COM_COMPONENTBUILDER_FIELD_FIFTY</option>
description="COM_COMPONENTBUILDER_FIELD_CSS_VIEWS_DESCRIPTION" <option value="64">
class="text_area span12" COM_COMPONENTBUILDER_FIELD_SIXTY_FOUR</option>
filter="raw" <option value="100">
hint="COM_COMPONENTBUILDER_FIELD_CSS_VIEWS_HINT" COM_COMPONENTBUILDER_FIELD_ONE_HUNDRED</option>
required="true" /> <option value="255">
<!-- Store Field. Type: List. (joomla)--> COM_COMPONENTBUILDER_FIELD_TWO_HUNDRED_AND_FIFTY_FIVE</option>
<field type="list" <option value="1024">
name="store" COM_COMPONENTBUILDER_FIELD_ONE_THOUSAND_AND_TWENTY_FOUR</option>
label="COM_COMPONENTBUILDER_FIELD_STORE_LABEL" <option value="2048">
description="COM_COMPONENTBUILDER_FIELD_STORE_DESCRIPTION" COM_COMPONENTBUILDER_FIELD_TWO_THOUSAND_AND_FORTY_EIGHT</option>
class="list_class" <option value="Other">
multiple="false" COM_COMPONENTBUILDER_FIELD_OTHER</option>
filter="INT" </field>
required="true" <!-- Datadefault_other Field. Type: Text. (joomla) -->
default="0"> <field
<!-- Option Set.--> type="text"
<option value="0">COM_COMPONENTBUILDER_FIELD_DEFAULT</option> name="datadefault_other"
<option value="1">COM_COMPONENTBUILDER_FIELD_JSON</option> label="COM_COMPONENTBUILDER_FIELD_DATADEFAULT_OTHER_LABEL"
<option value="2">COM_COMPONENTBUILDER_FIELD_BASESIXTY_FOUR</option> size="10"
<option value="3">COM_COMPONENTBUILDER_FIELD_BASIC_ENCRYPTION_LOCALDBKEY</option> maxlength="50"
<option value="5">COM_COMPONENTBUILDER_FIELD_MEDIUM_ENCRYPTION_LOCALFILEKEY</option> description="COM_COMPONENTBUILDER_FIELD_DATADEFAULT_OTHER_DESCRIPTION"
<option value="4">COM_COMPONENTBUILDER_FIELD_WHMCSKEY_ENCRYPTION</option> class="text_area"
</field> readonly="false"
<!-- Javascript_view_footer Field. Type: Textarea. (joomla)--> disabled="false"
<field type="textarea" required="true"
name="javascript_view_footer" filter="STRING"
label="COM_COMPONENTBUILDER_FIELD_JAVASCRIPT_VIEW_FOOTER_LABEL" message="COM_COMPONENTBUILDER_FIELD_DATADEFAULT_OTHER_MESSAGE"
rows="30" hint="COM_COMPONENTBUILDER_FIELD_DATADEFAULT_OTHER_HINT"
cols="15" />
description="COM_COMPONENTBUILDER_FIELD_JAVASCRIPT_VIEW_FOOTER_DESCRIPTION" <!-- Datadefault Field. Type: List. (joomla) -->
class="text_area span12" <field
filter="raw" type="list"
hint="COM_COMPONENTBUILDER_FIELD_JAVASCRIPT_VIEW_FOOTER_HINT" name="datadefault"
required="true" /> label="COM_COMPONENTBUILDER_FIELD_DATADEFAULT_LABEL"
<!-- Note_whmcs_encryption Field. Type: Note. A None Database Field. (joomla)--> description="COM_COMPONENTBUILDER_FIELD_DATADEFAULT_DESCRIPTION"
<field type="note" class="btn-group"
name="note_whmcs_encryption" multiple="false">
label="COM_COMPONENTBUILDER_FIELD_NOTE_WHMCS_ENCRYPTION_LABEL" <!-- Option Set. -->
description="COM_COMPONENTBUILDER_FIELD_NOTE_WHMCS_ENCRYPTION_DESCRIPTION" <option value="">
heading="h4" COM_COMPONENTBUILDER_FIELD_NONE</option>
class="alert alert-success note_whmcs_encryption" /> <option value="0">
<!-- Javascript_views_footer Field. Type: Textarea. (joomla)--> COM_COMPONENTBUILDER_FIELD_ZERO</option>
<field type="textarea" <option value="1">
name="javascript_views_footer" COM_COMPONENTBUILDER_FIELD_ONE</option>
label="COM_COMPONENTBUILDER_FIELD_JAVASCRIPT_VIEWS_FOOTER_LABEL" <option value="CURRENT_TIMESTAMP">
rows="30" COM_COMPONENTBUILDER_FIELD_CURRENT_TIMESTAMP</option>
cols="15" <option value="DATETIME">
description="COM_COMPONENTBUILDER_FIELD_JAVASCRIPT_VIEWS_FOOTER_DESCRIPTION" COM_COMPONENTBUILDER_FIELD_DATETIME</option>
class="text_area span12" <option value="Other">
filter="raw" COM_COMPONENTBUILDER_FIELD_OTHER</option>
hint="COM_COMPONENTBUILDER_FIELD_JAVASCRIPT_VIEWS_FOOTER_HINT" </field>
required="true" /> <!-- Datalenght_other Field. Type: Text. (joomla) -->
<!-- Helpnote Field. Type: Note. A None Database Field. (joomla)--> <field
<field type="note" type="text"
name="helpnote" name="datalenght_other"
label="COM_COMPONENTBUILDER_FIELD_HELPNOTE_LABEL" label="COM_COMPONENTBUILDER_FIELD_DATALENGHT_OTHER_LABEL"
class="helpNote helpnote" /> size="10"
</fieldset> 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. --> <!-- Access Control Fields. -->
<fieldset name="accesscontrol"> <fieldset name="accesscontrol">

View File

@ -4,208 +4,228 @@
addfieldpath="/administrator/components/com_componentbuilder/models/fields" addfieldpath="/administrator/components/com_componentbuilder/models/fields"
> >
<fieldset name="details"> <fieldset name="details">
<!-- Default Fields.--> <!-- Default Fields. -->
<!-- Id Field. Type: Text (joomla)--> <!-- Id Field. Type: Text (joomla) -->
<field name="id" <field
type="text" name="id"
class="readonly" type="text" class="readonly" label="JGLOBAL_FIELD_ID_LABEL"
label="JGLOBAL_FIELD_ID_LABEL" description ="JGLOBAL_FIELD_ID_DESC" size="10" default="0"
description="JGLOBAL_FIELD_ID_DESC" readonly="true"
size="10" />
default="0" /> <!-- Date Created Field. Type: Calendar (joomla) -->
<!-- Date Created Field. Type: Calendar (joomla)--> <field
<field name="created" name="created"
type="calendar" type="calendar"
label="COM_COMPONENTBUILDER_FIELDTYPE_CREATED_DATE_LABEL" label="COM_COMPONENTBUILDER_FIELDTYPE_CREATED_DATE_LABEL"
description="COM_COMPONENTBUILDER_FIELDTYPE_CREATED_DATE_DESC" description="COM_COMPONENTBUILDER_FIELDTYPE_CREATED_DATE_DESC"
size="22" size="22"
format="%Y-%m-%d %H:%M:%S" format="%Y-%m-%d %H:%M:%S"
filter="user_utc" /> filter="user_utc"
<!-- User Created Field. Type: User (joomla)--> />
<field name="created_by" <!-- User Created Field. Type: User (joomla) -->
type="user" <field
label="COM_COMPONENTBUILDER_FIELDTYPE_CREATED_BY_LABEL" name="created_by"
description="COM_COMPONENTBUILDER_FIELDTYPE_CREATED_BY_DESC" /> type="user"
<!-- Published Field. Type: List (joomla)--> label="COM_COMPONENTBUILDER_FIELDTYPE_CREATED_BY_LABEL"
<field name="published" description="COM_COMPONENTBUILDER_FIELDTYPE_CREATED_BY_DESC"
type="list" />
label="JSTATUS"> <!-- Published Field. Type: List (joomla) -->
<option value="1">JPUBLISHED</option> <field name="published" type="list" label="JSTATUS"
<option value="0">JUNPUBLISHED</option> description="JFIELD_PUBLISHED_DESC" class="chzn-color-state"
<option value="2">JARCHIVED</option> filter="intval" size="1" default="1" >
<option value="-2">JTRASHED</option> <option value="1">
</field> JPUBLISHED</option>
<!-- Date Modified Field. Type: Calendar (joomla)--> <option value="0">
<field name="modified" JUNPUBLISHED</option>
type="calendar" <option value="2">
class="readonly" JARCHIVED</option>
label="COM_COMPONENTBUILDER_FIELDTYPE_MODIFIED_DATE_LABEL" <option value="-2">
description="COM_COMPONENTBUILDER_FIELDTYPE_MODIFIED_DATE_DESC" JTRASHED</option>
size="22" </field>
readonly="true" <!-- Date Modified Field. Type: Calendar (joomla) -->
format="%Y-%m-%d %H:%M:%S" <field name="modified" type="calendar" class="readonly"
filter="user_utc" /> label="COM_COMPONENTBUILDER_FIELDTYPE_MODIFIED_DATE_LABEL" description="COM_COMPONENTBUILDER_FIELDTYPE_MODIFIED_DATE_DESC"
<!-- User Modified Field. Type: User (joomla)--> size="22" readonly="true" format="%Y-%m-%d %H:%M:%S" filter="user_utc" />
<field name="modified_by" <!-- User Modified Field. Type: User (joomla) -->
type="user" <field name="modified_by" type="user"
label="COM_COMPONENTBUILDER_FIELDTYPE_MODIFIED_BY_LABEL" label="COM_COMPONENTBUILDER_FIELDTYPE_MODIFIED_BY_LABEL"
description="COM_COMPONENTBUILDER_FIELDTYPE_MODIFIED_BY_DESC" description="COM_COMPONENTBUILDER_FIELDTYPE_MODIFIED_BY_DESC"
class="readonly" class="readonly"
readonly="true" readonly="true"
filter="unset" /> filter="unset"
<!-- Access Field. Type: Accesslevel (joomla)--> />
<field name="access" <!-- Access Field. Type: Accesslevel (joomla) -->
type="accesslevel" <field name="access"
label="JFIELD_ACCESS_LABEL" type="accesslevel"
description="JFIELD_ACCESS_DESC" label="JFIELD_ACCESS_LABEL"
default="1" description="JFIELD_ACCESS_DESC"
required="false" /> default="1"
<!-- Ordering Field. Type: Numbers (joomla)--> required="false"
<field name="ordering" />
type="number" <!-- Ordering Field. Type: Numbers (joomla) -->
class="inputbox validate-ordering" <field
label="COM_COMPONENTBUILDER_FIELDTYPE_ORDERING_LABEL" name="ordering"
description="" type="number"
default="0" class="inputbox validate-ordering"
size="6" label="COM_COMPONENTBUILDER_FIELDTYPE_ORDERING_LABEL"
required="false" /> description=""
<!-- Version Field. Type: Text (joomla)--> default="0"
<field name="version" size="6"
type="text" required="false"
class="readonly" />
label="COM_COMPONENTBUILDER_FIELDTYPE_VERSION_LABEL" <!-- Version Field. Type: Text (joomla) -->
description="COM_COMPONENTBUILDER_FIELDTYPE_VERSION_DESC" <field
size="6" name="version"
readonly="true" type="text"
filter="unset" /> class="readonly"
<!-- Dynamic Fields.--> label="COM_COMPONENTBUILDER_FIELDTYPE_VERSION_LABEL"
<!-- Name Field. Type: Text. (joomla)--> description="COM_COMPONENTBUILDER_FIELDTYPE_VERSION_DESC"
<field type="text" size="6"
name="name" readonly="true"
label="COM_COMPONENTBUILDER_FIELDTYPE_NAME_LABEL" filter="unset"
size="40" />
maxlength="150" <!-- Dynamic Fields. -->
description="COM_COMPONENTBUILDER_FIELDTYPE_NAME_DESCRIPTION" <!-- Name Field. Type: Text. (joomla) -->
class="text_area" <field
readonly="false" type="text"
disabled="false" name="name"
required="true" label="COM_COMPONENTBUILDER_FIELDTYPE_NAME_LABEL"
filter="STRING" size="40"
message="COM_COMPONENTBUILDER_FIELDTYPE_NAME_MESSAGE" maxlength="150"
hint="COM_COMPONENTBUILDER_FIELDTYPE_NAME_HINT" /> description="COM_COMPONENTBUILDER_FIELDTYPE_NAME_DESCRIPTION"
<!-- Properties Field. Type: Subform. (joomla)--> class="text_area"
<field type="subform" readonly="false"
name="properties" disabled="false"
label="COM_COMPONENTBUILDER_FIELDTYPE_PROPERTIES_LABEL" required="true"
layout="joomla.form.field.subform.repeatable-table" filter="STRING"
multiple="true" message="COM_COMPONENTBUILDER_FIELDTYPE_NAME_MESSAGE"
description="COM_COMPONENTBUILDER_FIELDTYPE_PROPERTIES_DESCRIPTION" hint="COM_COMPONENTBUILDER_FIELDTYPE_NAME_HINT"
icon="list" />
maximum="500"> <!-- Properties Field. Type: Subform. (joomla) -->
<form hidden="true" <field
name="list_properties_modal" type="subform"
repeat="true"> name="properties"
<!-- Name Field. Type: Text. (joomla)--> label="COM_COMPONENTBUILDER_FIELDTYPE_PROPERTIES_LABEL"
<field type="text" layout="joomla.form.field.subform.repeatable-table"
name="name" multiple="true"
label="COM_COMPONENTBUILDER_FIELDTYPE_NAME_LABEL" description="COM_COMPONENTBUILDER_FIELDTYPE_PROPERTIES_DESCRIPTION"
size="40" icon="list"
maxlength="150" maximum="500">
description="COM_COMPONENTBUILDER_FIELDTYPE_NAME_DESCRIPTION" <form hidden="true" name="list_properties_modal" repeat="true">
class="text_area" <!-- Name Field. Type: Text. (joomla) -->
readonly="false" <field
disabled="false" type="text"
required="false" name="name"
filter="STRING" label="COM_COMPONENTBUILDER_FIELDTYPE_NAME_LABEL"
message="COM_COMPONENTBUILDER_FIELDTYPE_NAME_MESSAGE" size="40"
hint="COM_COMPONENTBUILDER_FIELDTYPE_NAME_HINT" /> maxlength="150"
<!-- Example Field. Type: Text. (joomla)--> description="COM_COMPONENTBUILDER_FIELDTYPE_NAME_DESCRIPTION"
<field type="text" class="text_area"
name="example" readonly="false"
label="COM_COMPONENTBUILDER_FIELDTYPE_EXAMPLE_LABEL" disabled="false"
size="40" required="false"
maxlength="150" filter="STRING"
class="text_area" message="COM_COMPONENTBUILDER_FIELDTYPE_NAME_MESSAGE"
readonly="false" hint="COM_COMPONENTBUILDER_FIELDTYPE_NAME_HINT"
disabled="false" />
required="false" <!-- Example Field. Type: Text. (joomla) -->
filter="STRING" <field
message="COM_COMPONENTBUILDER_FIELDTYPE_EXAMPLE_MESSAGE" type="text"
hint="COM_COMPONENTBUILDER_FIELDTYPE_EXAMPLE_HINT" /> name="example"
<!-- Adjustable Field. Type: Checkbox. (joomla)--> label="COM_COMPONENTBUILDER_FIELDTYPE_EXAMPLE_LABEL"
<field type="checkbox" size="40"
name="adjustable" maxlength="150"
label="COM_COMPONENTBUILDER_FIELDTYPE_ADJUSTABLE_LABEL" class="text_area"
value="1" readonly="false"
required="false" disabled="false"
description="COM_COMPONENTBUILDER_FIELDTYPE_ADJUSTABLE_DESCRIPTION" required="false"
class="inputbox" /> filter="STRING"
<!-- Mandatory Field. Type: Checkbox. (joomla)--> message="COM_COMPONENTBUILDER_FIELDTYPE_EXAMPLE_MESSAGE"
<field type="checkbox" hint="COM_COMPONENTBUILDER_FIELDTYPE_EXAMPLE_HINT"
name="mandatory" />
label="COM_COMPONENTBUILDER_FIELDTYPE_MANDATORY_LABEL" <!-- Adjustable Field. Type: Checkbox. (joomla) -->
value="1" <field
required="false" type="checkbox"
description="COM_COMPONENTBUILDER_FIELDTYPE_MANDATORY_DESCRIPTION" name="adjustable"
class="inputbox" /> label="COM_COMPONENTBUILDER_FIELDTYPE_ADJUSTABLE_LABEL"
<!-- Translatable Field. Type: Checkbox. (joomla)--> value="1"
<field type="checkbox" required="false"
name="translatable" description="COM_COMPONENTBUILDER_FIELDTYPE_ADJUSTABLE_DESCRIPTION"
label="COM_COMPONENTBUILDER_FIELDTYPE_TRANSLATABLE_LABEL" class="inputbox"
value="1" />
required="false" <!-- Mandatory Field. Type: Checkbox. (joomla) -->
description="COM_COMPONENTBUILDER_FIELDTYPE_TRANSLATABLE_DESCRIPTION" <field
class="inputbox" /> type="checkbox"
<!-- Description Field. Type: Textarea. (joomla)--> name="mandatory"
<field type="textarea" label="COM_COMPONENTBUILDER_FIELDTYPE_MANDATORY_LABEL"
name="description" value="1"
label="COM_COMPONENTBUILDER_FIELDTYPE_DESCRIPTION_LABEL" required="false"
rows="5" description="COM_COMPONENTBUILDER_FIELDTYPE_MANDATORY_DESCRIPTION"
cols="8" class="inputbox"
description="COM_COMPONENTBUILDER_FIELDTYPE_DESCRIPTION_DESCRIPTION" />
class="text_area" <!-- Translatable Field. Type: Checkbox. (joomla) -->
filter="HTML" <field
hint="COM_COMPONENTBUILDER_FIELDTYPE_DESCRIPTION_HINT" type="checkbox"
required="false" /> name="translatable"
</form> label="COM_COMPONENTBUILDER_FIELDTYPE_TRANSLATABLE_LABEL"
</field> value="1"
<!-- Note_on_fields Field. Type: Note. A None Database Field. (joomla)--> required="false"
<field type="note" description="COM_COMPONENTBUILDER_FIELDTYPE_TRANSLATABLE_DESCRIPTION"
name="note_on_fields" class="inputbox"
label="COM_COMPONENTBUILDER_FIELDTYPE_NOTE_ON_FIELDS_LABEL" />
description="COM_COMPONENTBUILDER_FIELDTYPE_NOTE_ON_FIELDS_DESCRIPTION" <!-- Description Field. Type: Textarea. (joomla) -->
heading="h4" <field
class="alert alert-info note_on_fields" /> type="textarea"
<!-- Description Field. Type: Textarea. (joomla)--> name="description"
<field type="textarea" label="COM_COMPONENTBUILDER_FIELDTYPE_DESCRIPTION_LABEL"
name="description" rows="5"
label="COM_COMPONENTBUILDER_FIELDTYPE_DESCRIPTION_LABEL" cols="8"
rows="11" description="COM_COMPONENTBUILDER_FIELDTYPE_DESCRIPTION_DESCRIPTION"
cols="10" class="text_area"
description="COM_COMPONENTBUILDER_FIELDTYPE_DESCRIPTION_DESCRIPTION" filter="HTML"
class="text_area span12" hint="COM_COMPONENTBUILDER_FIELDTYPE_DESCRIPTION_HINT"
filter="HTML" required="false"
hint="COM_COMPONENTBUILDER_FIELDTYPE_DESCRIPTION_HINT" /> />
<!-- Short_description Field. Type: Text. (joomla)--> </form>
<field type="text" </field>
name="short_description" <!-- Note_on_fields Field. Type: Note. A None Database Field. (joomla) -->
label="COM_COMPONENTBUILDER_FIELDTYPE_SHORT_DESCRIPTION_LABEL" <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" />
size="40" <!-- Description Field. Type: Textarea. (joomla) -->
maxlength="150" <field
description="COM_COMPONENTBUILDER_FIELDTYPE_SHORT_DESCRIPTION_DESCRIPTION" type="textarea"
class="text_area" name="description"
required="true" label="COM_COMPONENTBUILDER_FIELDTYPE_DESCRIPTION_LABEL"
filter="HTML" rows="11"
message="COM_COMPONENTBUILDER_FIELDTYPE_SHORT_DESCRIPTION_MESSAGE" cols="10"
hint="COM_COMPONENTBUILDER_FIELDTYPE_SHORT_DESCRIPTION_HINT" /> description="COM_COMPONENTBUILDER_FIELDTYPE_DESCRIPTION_DESCRIPTION"
<!-- Catid Field. Type: Category. (joomla)--> class="text_area span12"
<field type="category" filter="HTML"
name="catid" hint="COM_COMPONENTBUILDER_FIELDTYPE_DESCRIPTION_HINT"
label="COM_COMPONENTBUILDER_FIELDTYPE_CATID_LABEL" />
extension="com_componentbuilder.fieldtypes" <!-- Short_description Field. Type: Text. (joomla) -->
description="COM_COMPONENTBUILDER_FIELDTYPE_CATID_DESCRIPTION" <field
class="inputbox" /> type="text"
</fieldset> 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. --> <!-- Access Control Fields. -->
<fieldset name="accesscontrol"> <fieldset name="accesscontrol">

View File

@ -4,198 +4,233 @@
addfieldpath="/administrator/components/com_componentbuilder/models/fields" addfieldpath="/administrator/components/com_componentbuilder/models/fields"
> >
<fieldset name="details"> <fieldset name="details">
<!-- Default Fields.--> <!-- Default Fields. -->
<!-- Id Field. Type: Text (joomla)--> <!-- Id Field. Type: Text (joomla) -->
<field name="id" <field
type="text" name="id"
class="readonly" type="text" class="readonly" label="JGLOBAL_FIELD_ID_LABEL"
label="JGLOBAL_FIELD_ID_LABEL" description ="JGLOBAL_FIELD_ID_DESC" size="10" default="0"
description="JGLOBAL_FIELD_ID_DESC" readonly="true"
size="10" />
default="0" /> <!-- Date Created Field. Type: Calendar (joomla) -->
<!-- Date Created Field. Type: Calendar (joomla)--> <field
<field name="created" name="created"
type="calendar" type="calendar"
label="COM_COMPONENTBUILDER_HELP_DOCUMENT_CREATED_DATE_LABEL" label="COM_COMPONENTBUILDER_HELP_DOCUMENT_CREATED_DATE_LABEL"
description="COM_COMPONENTBUILDER_HELP_DOCUMENT_CREATED_DATE_DESC" description="COM_COMPONENTBUILDER_HELP_DOCUMENT_CREATED_DATE_DESC"
size="22" size="22"
format="%Y-%m-%d %H:%M:%S" format="%Y-%m-%d %H:%M:%S"
filter="user_utc" /> filter="user_utc"
<!-- User Created Field. Type: User (joomla)--> />
<field name="created_by" <!-- User Created Field. Type: User (joomla) -->
type="user" <field
label="COM_COMPONENTBUILDER_HELP_DOCUMENT_CREATED_BY_LABEL" name="created_by"
description="COM_COMPONENTBUILDER_HELP_DOCUMENT_CREATED_BY_DESC" /> type="user"
<!-- Published Field. Type: List (joomla)--> label="COM_COMPONENTBUILDER_HELP_DOCUMENT_CREATED_BY_LABEL"
<field name="published" description="COM_COMPONENTBUILDER_HELP_DOCUMENT_CREATED_BY_DESC"
type="list" />
label="JSTATUS"> <!-- Published Field. Type: List (joomla) -->
<option value="1">JPUBLISHED</option> <field name="published" type="list" label="JSTATUS"
<option value="0">JUNPUBLISHED</option> description="JFIELD_PUBLISHED_DESC" class="chzn-color-state"
<option value="2">JARCHIVED</option> filter="intval" size="1" default="1" >
<option value="-2">JTRASHED</option> <option value="1">
</field> JPUBLISHED</option>
<!-- Date Modified Field. Type: Calendar (joomla)--> <option value="0">
<field name="modified" JUNPUBLISHED</option>
type="calendar" <option value="2">
class="readonly" JARCHIVED</option>
label="COM_COMPONENTBUILDER_HELP_DOCUMENT_MODIFIED_DATE_LABEL" <option value="-2">
description="COM_COMPONENTBUILDER_HELP_DOCUMENT_MODIFIED_DATE_DESC" JTRASHED</option>
size="22" </field>
readonly="true" <!-- Date Modified Field. Type: Calendar (joomla) -->
format="%Y-%m-%d %H:%M:%S" <field name="modified" type="calendar" class="readonly"
filter="user_utc" /> label="COM_COMPONENTBUILDER_HELP_DOCUMENT_MODIFIED_DATE_LABEL" description="COM_COMPONENTBUILDER_HELP_DOCUMENT_MODIFIED_DATE_DESC"
<!-- User Modified Field. Type: User (joomla)--> size="22" readonly="true" format="%Y-%m-%d %H:%M:%S" filter="user_utc" />
<field name="modified_by" <!-- User Modified Field. Type: User (joomla) -->
type="user" <field name="modified_by" type="user"
label="COM_COMPONENTBUILDER_HELP_DOCUMENT_MODIFIED_BY_LABEL" label="COM_COMPONENTBUILDER_HELP_DOCUMENT_MODIFIED_BY_LABEL"
description="COM_COMPONENTBUILDER_HELP_DOCUMENT_MODIFIED_BY_DESC" description="COM_COMPONENTBUILDER_HELP_DOCUMENT_MODIFIED_BY_DESC"
class="readonly" class="readonly"
readonly="true" readonly="true"
filter="unset" /> filter="unset"
<!-- Access Field. Type: Accesslevel (joomla)--> />
<field name="access" <!-- Access Field. Type: Accesslevel (joomla) -->
type="accesslevel" <field name="access"
label="JFIELD_ACCESS_LABEL" type="accesslevel"
description="JFIELD_ACCESS_DESC" label="JFIELD_ACCESS_LABEL"
default="1" description="JFIELD_ACCESS_DESC"
required="false" /> default="1"
<!-- Ordering Field. Type: Numbers (joomla)--> required="false"
<field name="ordering" />
type="number" <!-- Ordering Field. Type: Numbers (joomla) -->
class="inputbox validate-ordering" <field
label="COM_COMPONENTBUILDER_HELP_DOCUMENT_ORDERING_LABEL" name="ordering"
description="" type="number"
default="0" class="inputbox validate-ordering"
size="6" label="COM_COMPONENTBUILDER_HELP_DOCUMENT_ORDERING_LABEL"
required="false" /> description=""
<!-- Version Field. Type: Text (joomla)--> default="0"
<field name="version" size="6"
type="text" required="false"
class="readonly" />
label="COM_COMPONENTBUILDER_HELP_DOCUMENT_VERSION_LABEL" <!-- Version Field. Type: Text (joomla) -->
description="COM_COMPONENTBUILDER_HELP_DOCUMENT_VERSION_DESC" <field
size="6" name="version"
readonly="true" type="text"
filter="unset" /> class="readonly"
<!-- Dynamic Fields.--> label="COM_COMPONENTBUILDER_HELP_DOCUMENT_VERSION_LABEL"
<!-- Title Field. Type: Text. (joomla)--> description="COM_COMPONENTBUILDER_HELP_DOCUMENT_VERSION_DESC"
<field type="text" size="6"
name="title" readonly="true"
label="COM_COMPONENTBUILDER_HELP_DOCUMENT_TITLE_LABEL" filter="unset"
size="40" />
maxlength="150" <!-- Dynamic Fields. -->
description="COM_COMPONENTBUILDER_HELP_DOCUMENT_TITLE_DESCRIPTION" <!-- Title Field. Type: Text. (joomla) -->
class="text_area" <field
readonly="false" type="text"
disabled="false" name="title"
required="true" label="COM_COMPONENTBUILDER_HELP_DOCUMENT_TITLE_LABEL"
filter="STRING" size="40"
message="COM_COMPONENTBUILDER_HELP_DOCUMENT_TITLE_MESSAGE" maxlength="150"
hint="COM_COMPONENTBUILDER_HELP_DOCUMENT_TITLE_HINT" /> description="COM_COMPONENTBUILDER_HELP_DOCUMENT_TITLE_DESCRIPTION"
<!-- Type Field. Type: List. (joomla)--> class="text_area"
<field type="list" readonly="false"
name="type" disabled="false"
label="COM_COMPONENTBUILDER_HELP_DOCUMENT_TYPE_LABEL" required="true"
description="COM_COMPONENTBUILDER_HELP_DOCUMENT_TYPE_DESCRIPTION" filter="STRING"
class="list_class" message="COM_COMPONENTBUILDER_HELP_DOCUMENT_TITLE_MESSAGE"
multiple="false" hint="COM_COMPONENTBUILDER_HELP_DOCUMENT_TITLE_HINT"
required="true"> />
<!-- Option Set.--> <!-- Type Field. Type: List. (joomla) -->
<option value="">COM_COMPONENTBUILDER_HELP_DOCUMENT_SELECT_AN_OPTION</option> <field
<option value="1">COM_COMPONENTBUILDER_HELP_DOCUMENT_JOOMLA_ARTICLE</option> type="list"
<option value="2">COM_COMPONENTBUILDER_HELP_DOCUMENT_TEXT</option> name="type"
<option value="3">COM_COMPONENTBUILDER_HELP_DOCUMENT_URL</option> label="COM_COMPONENTBUILDER_HELP_DOCUMENT_TYPE_LABEL"
</field> description="COM_COMPONENTBUILDER_HELP_DOCUMENT_TYPE_DESCRIPTION"
<!-- Groups Field. Type: Usergroup. (joomla)--> class="list_class"
<field type="usergroup" multiple="false"
name="groups" required="true">
label="COM_COMPONENTBUILDER_HELP_DOCUMENT_GROUPS_LABEL" <!-- Option Set. -->
description="COM_COMPONENTBUILDER_HELP_DOCUMENT_GROUPS_DESCRIPTION" <option value="">
required="true" COM_COMPONENTBUILDER_HELP_DOCUMENT_SELECT_AN_OPTION</option>
multiple="true" /> <option value="1">
<!-- Location Field. Type: Radio. (joomla)--> COM_COMPONENTBUILDER_HELP_DOCUMENT_JOOMLA_ARTICLE</option>
<field type="radio" <option value="2">
name="location" COM_COMPONENTBUILDER_HELP_DOCUMENT_TEXT</option>
label="COM_COMPONENTBUILDER_HELP_DOCUMENT_LOCATION_LABEL" <option value="3">
description="COM_COMPONENTBUILDER_HELP_DOCUMENT_LOCATION_DESCRIPTION" COM_COMPONENTBUILDER_HELP_DOCUMENT_URL</option>
class="btn-group" </field>
required="true"> <!-- Groups Field. Type: Usergroup. (joomla) -->
<!-- Option Set.--> <field
<option value="1">COM_COMPONENTBUILDER_HELP_DOCUMENT_ADMIN</option> type="usergroup"
<option value="2">COM_COMPONENTBUILDER_HELP_DOCUMENT_SITE</option> name="groups"
</field> label="COM_COMPONENTBUILDER_HELP_DOCUMENT_GROUPS_LABEL"
<!-- Admin_view Field. Type: Adminviewfolderlist. (custom)--> description="COM_COMPONENTBUILDER_HELP_DOCUMENT_GROUPS_DESCRIPTION"
<field type="adminviewfolderlist" required="true"
name="admin_view" multiple="true"
label="COM_COMPONENTBUILDER_HELP_DOCUMENT_ADMIN_VIEW_LABEL" />
description="COM_COMPONENTBUILDER_HELP_DOCUMENT_ADMIN_VIEW_DESCRIPTION" <!-- Location Field. Type: Radio. (joomla) -->
class="list_class" <field
multiple="false" type="radio"
required="true" name="location"
button="false" /> label="COM_COMPONENTBUILDER_HELP_DOCUMENT_LOCATION_LABEL"
<!-- Site_view Field. Type: Siteviewfolderlist. (custom)--> description="COM_COMPONENTBUILDER_HELP_DOCUMENT_LOCATION_DESCRIPTION"
<field type="siteviewfolderlist" class="btn-group"
name="site_view" required="true">
label="COM_COMPONENTBUILDER_HELP_DOCUMENT_SITE_VIEW_LABEL" <!-- Option Set. -->
description="COM_COMPONENTBUILDER_HELP_DOCUMENT_SITE_VIEW_DESCRIPTION" <option value="1">
class="list_class" COM_COMPONENTBUILDER_HELP_DOCUMENT_ADMIN</option>
multiple="false" <option value="2">
required="true" COM_COMPONENTBUILDER_HELP_DOCUMENT_SITE</option>
button="false" /> </field>
<!-- Not_required Field. Type: Hidden. (joomla)--> <!-- Admin_view Field. Type: Adminviewfolderlist. (custom) -->
<field type="hidden" <field
name="not_required" type="adminviewfolderlist"
default="[]" /> name="admin_view"
<!-- Content Field. Type: Editor. (joomla)--> label="COM_COMPONENTBUILDER_HELP_DOCUMENT_ADMIN_VIEW_LABEL"
<field type="editor" description="COM_COMPONENTBUILDER_HELP_DOCUMENT_ADMIN_VIEW_DESCRIPTION"
name="content" class="list_class"
label="COM_COMPONENTBUILDER_HELP_DOCUMENT_CONTENT_LABEL" multiple="false"
width="100%" required="true"
height="300 px" button="false"
buttons="false" />
filter="safehtml" <!-- Site_view Field. Type: Siteviewfolderlist. (custom) -->
required="true" /> <field
<!-- Article Field. Type: Articles. (custom)--> type="siteviewfolderlist"
<field type="articles" name="site_view"
name="article" label="COM_COMPONENTBUILDER_HELP_DOCUMENT_SITE_VIEW_LABEL"
label="COM_COMPONENTBUILDER_HELP_DOCUMENT_ARTICLE_LABEL" description="COM_COMPONENTBUILDER_HELP_DOCUMENT_SITE_VIEW_DESCRIPTION"
class="list_class" class="list_class"
multiple="false" multiple="false"
default="0" required="true"
required="true" /> button="false"
<!-- Url Field. Type: Url. (joomla)--> />
<field type="url" <!-- Not_required Field. Type: Hidden. (joomla) -->
name="url" <field
label="COM_COMPONENTBUILDER_HELP_DOCUMENT_URL_LABEL" type="hidden"
size="60" name="not_required"
maxlength="150" default="[]"
description="COM_COMPONENTBUILDER_HELP_DOCUMENT_URL_DESCRIPTION" />
class="text_area" <!-- Content Field. Type: Editor. (joomla) -->
required="true" <field
filter="url" type="editor"
validated="url" name="content"
message="COM_COMPONENTBUILDER_HELP_DOCUMENT_URL_MESSAGE" label="COM_COMPONENTBUILDER_HELP_DOCUMENT_CONTENT_LABEL"
hint="COM_COMPONENTBUILDER_HELP_DOCUMENT_URL_HINT" /> width="100%"
<!-- Target Field. Type: Radio. (joomla)--> height="300 px"
<field type="radio" buttons="false"
name="target" filter="safehtml"
label="COM_COMPONENTBUILDER_HELP_DOCUMENT_TARGET_LABEL" required="true"
description="COM_COMPONENTBUILDER_HELP_DOCUMENT_TARGET_DESCRIPTION" />
class="btn-group" <!-- Article Field. Type: Articles. (custom) -->
required="true"> <field
<!-- Option Set.--> type="articles"
<option value="1">COM_COMPONENTBUILDER_HELP_DOCUMENT_SOME</option> name="article"
<option value="2">COM_COMPONENTBUILDER_HELP_DOCUMENT_ALL</option> label="COM_COMPONENTBUILDER_HELP_DOCUMENT_ARTICLE_LABEL"
</field> class="list_class"
<!-- Alias Field. Type: Text. (joomla)--> multiple="false"
<field type="text" default="0"
name="alias" required="true"
label="COM_COMPONENTBUILDER_HELP_DOCUMENT_ALIAS_LABEL" />
description="JFIELD_ALIAS_DESC" <!-- Url Field. Type: Url. (joomla) -->
filter="STRING" <field
hint="COM_COMPONENTBUILDER_HELP_DOCUMENT_ALIAS_HINT" /> type="url"
</fieldset> 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. --> <!-- Access Control Fields. -->
<fieldset name="accesscontrol"> <fieldset name="accesscontrol">

File diff suppressed because it is too large Load Diff

View File

@ -4,107 +4,117 @@
addfieldpath="/administrator/components/com_componentbuilder/models/fields" addfieldpath="/administrator/components/com_componentbuilder/models/fields"
> >
<fieldset name="details"> <fieldset name="details">
<!-- Default Fields.--> <!-- Default Fields. -->
<!-- Id Field. Type: Text (joomla)--> <!-- Id Field. Type: Text (joomla) -->
<field name="id" <field
type="text" name="id"
class="readonly" type="text" class="readonly" label="JGLOBAL_FIELD_ID_LABEL"
label="JGLOBAL_FIELD_ID_LABEL" description ="JGLOBAL_FIELD_ID_DESC" size="10" default="0"
description="JGLOBAL_FIELD_ID_DESC" readonly="true"
size="10" />
default="0" /> <!-- Date Created Field. Type: Calendar (joomla) -->
<!-- Date Created Field. Type: Calendar (joomla)--> <field
<field name="created" name="created"
type="calendar" type="calendar"
label="COM_COMPONENTBUILDER_LANGUAGE_CREATED_DATE_LABEL" label="COM_COMPONENTBUILDER_LANGUAGE_CREATED_DATE_LABEL"
description="COM_COMPONENTBUILDER_LANGUAGE_CREATED_DATE_DESC" description="COM_COMPONENTBUILDER_LANGUAGE_CREATED_DATE_DESC"
size="22" size="22"
format="%Y-%m-%d %H:%M:%S" format="%Y-%m-%d %H:%M:%S"
filter="user_utc" /> filter="user_utc"
<!-- User Created Field. Type: User (joomla)--> />
<field name="created_by" <!-- User Created Field. Type: User (joomla) -->
type="user" <field
label="COM_COMPONENTBUILDER_LANGUAGE_CREATED_BY_LABEL" name="created_by"
description="COM_COMPONENTBUILDER_LANGUAGE_CREATED_BY_DESC" /> type="user"
<!-- Published Field. Type: List (joomla)--> label="COM_COMPONENTBUILDER_LANGUAGE_CREATED_BY_LABEL"
<field name="published" description="COM_COMPONENTBUILDER_LANGUAGE_CREATED_BY_DESC"
type="list" />
label="JSTATUS"> <!-- Published Field. Type: List (joomla) -->
<option value="1">JPUBLISHED</option> <field name="published" type="list" label="JSTATUS"
<option value="0">JUNPUBLISHED</option> description="JFIELD_PUBLISHED_DESC" class="chzn-color-state"
<option value="2">JARCHIVED</option> filter="intval" size="1" default="1" >
<option value="-2">JTRASHED</option> <option value="1">
</field> JPUBLISHED</option>
<!-- Date Modified Field. Type: Calendar (joomla)--> <option value="0">
<field name="modified" JUNPUBLISHED</option>
type="calendar" <option value="2">
class="readonly" JARCHIVED</option>
label="COM_COMPONENTBUILDER_LANGUAGE_MODIFIED_DATE_LABEL" <option value="-2">
description="COM_COMPONENTBUILDER_LANGUAGE_MODIFIED_DATE_DESC" JTRASHED</option>
size="22" </field>
readonly="true" <!-- Date Modified Field. Type: Calendar (joomla) -->
format="%Y-%m-%d %H:%M:%S" <field name="modified" type="calendar" class="readonly"
filter="user_utc" /> label="COM_COMPONENTBUILDER_LANGUAGE_MODIFIED_DATE_LABEL" description="COM_COMPONENTBUILDER_LANGUAGE_MODIFIED_DATE_DESC"
<!-- User Modified Field. Type: User (joomla)--> size="22" readonly="true" format="%Y-%m-%d %H:%M:%S" filter="user_utc" />
<field name="modified_by" <!-- User Modified Field. Type: User (joomla) -->
type="user" <field name="modified_by" type="user"
label="COM_COMPONENTBUILDER_LANGUAGE_MODIFIED_BY_LABEL" label="COM_COMPONENTBUILDER_LANGUAGE_MODIFIED_BY_LABEL"
description="COM_COMPONENTBUILDER_LANGUAGE_MODIFIED_BY_DESC" description="COM_COMPONENTBUILDER_LANGUAGE_MODIFIED_BY_DESC"
class="readonly" class="readonly"
readonly="true" readonly="true"
filter="unset" /> filter="unset"
<!-- Access Field. Type: Accesslevel (joomla)--> />
<field name="access" <!-- Access Field. Type: Accesslevel (joomla) -->
type="accesslevel" <field name="access"
label="JFIELD_ACCESS_LABEL" type="accesslevel"
description="JFIELD_ACCESS_DESC" label="JFIELD_ACCESS_LABEL"
default="1" description="JFIELD_ACCESS_DESC"
required="false" /> default="1"
<!-- Ordering Field. Type: Numbers (joomla)--> required="false"
<field name="ordering" />
type="number" <!-- Ordering Field. Type: Numbers (joomla) -->
class="inputbox validate-ordering" <field
label="COM_COMPONENTBUILDER_LANGUAGE_ORDERING_LABEL" name="ordering"
description="" type="number"
default="0" class="inputbox validate-ordering"
size="6" label="COM_COMPONENTBUILDER_LANGUAGE_ORDERING_LABEL"
required="false" /> description=""
<!-- Version Field. Type: Text (joomla)--> default="0"
<field name="version" size="6"
type="text" required="false"
class="readonly" />
label="COM_COMPONENTBUILDER_LANGUAGE_VERSION_LABEL" <!-- Version Field. Type: Text (joomla) -->
description="COM_COMPONENTBUILDER_LANGUAGE_VERSION_DESC" <field
size="6" name="version"
readonly="true" type="text"
filter="unset" /> class="readonly"
<!-- Dynamic Fields.--> label="COM_COMPONENTBUILDER_LANGUAGE_VERSION_LABEL"
<!-- Name Field. Type: Text. (joomla)--> description="COM_COMPONENTBUILDER_LANGUAGE_VERSION_DESC"
<field type="text" size="6"
name="name" readonly="true"
label="COM_COMPONENTBUILDER_LANGUAGE_NAME_LABEL" filter="unset"
size="40" />
maxlength="150" <!-- Dynamic Fields. -->
description="COM_COMPONENTBUILDER_LANGUAGE_NAME_DESCRIPTION" <!-- Name Field. Type: Text. (joomla) -->
class="text_area" <field
readonly="false" type="text"
disabled="false" name="name"
required="true" label="COM_COMPONENTBUILDER_LANGUAGE_NAME_LABEL"
filter="STRING" size="40"
message="COM_COMPONENTBUILDER_LANGUAGE_NAME_MESSAGE" maxlength="150"
hint="COM_COMPONENTBUILDER_LANGUAGE_NAME_HINT" /> description="COM_COMPONENTBUILDER_LANGUAGE_NAME_DESCRIPTION"
<!-- Langtag Field. Type: Text. (joomla)--> class="text_area"
<field type="text" readonly="false"
name="langtag" disabled="false"
label="COM_COMPONENTBUILDER_LANGUAGE_LANGTAG_LABEL" required="true"
size="10" filter="STRING"
maxlength="10" message="COM_COMPONENTBUILDER_LANGUAGE_NAME_MESSAGE"
description="COM_COMPONENTBUILDER_LANGUAGE_LANGTAG_DESCRIPTION" hint="COM_COMPONENTBUILDER_LANGUAGE_NAME_HINT"
class="text_area" />
filter="STRING" <!-- Langtag Field. Type: Text. (joomla) -->
message="COM_COMPONENTBUILDER_LANGUAGE_LANGTAG_MESSAGE" <field
hint="COM_COMPONENTBUILDER_LANGUAGE_LANGTAG_HINT" /> type="text"
</fieldset> 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. --> <!-- Access Control Fields. -->
<fieldset name="accesscontrol"> <fieldset name="accesscontrol">

View File

@ -4,138 +4,151 @@
addfieldpath="/administrator/components/com_componentbuilder/models/fields" addfieldpath="/administrator/components/com_componentbuilder/models/fields"
> >
<fieldset name="details"> <fieldset name="details">
<!-- Default Fields.--> <!-- Default Fields. -->
<!-- Id Field. Type: Text (joomla)--> <!-- Id Field. Type: Text (joomla) -->
<field name="id" <field
type="text" name="id"
class="readonly" type="text" class="readonly" label="JGLOBAL_FIELD_ID_LABEL"
label="JGLOBAL_FIELD_ID_LABEL" description ="JGLOBAL_FIELD_ID_DESC" size="10" default="0"
description="JGLOBAL_FIELD_ID_DESC" readonly="true"
size="10" />
default="0" /> <!-- Date Created Field. Type: Calendar (joomla) -->
<!-- Date Created Field. Type: Calendar (joomla)--> <field
<field name="created" name="created"
type="calendar" type="calendar"
label="COM_COMPONENTBUILDER_LANGUAGE_TRANSLATION_CREATED_DATE_LABEL" label="COM_COMPONENTBUILDER_LANGUAGE_TRANSLATION_CREATED_DATE_LABEL"
description="COM_COMPONENTBUILDER_LANGUAGE_TRANSLATION_CREATED_DATE_DESC" description="COM_COMPONENTBUILDER_LANGUAGE_TRANSLATION_CREATED_DATE_DESC"
size="22" size="22"
format="%Y-%m-%d %H:%M:%S" format="%Y-%m-%d %H:%M:%S"
filter="user_utc" /> filter="user_utc"
<!-- User Created Field. Type: User (joomla)--> />
<field name="created_by" <!-- User Created Field. Type: User (joomla) -->
type="user" <field
label="COM_COMPONENTBUILDER_LANGUAGE_TRANSLATION_CREATED_BY_LABEL" name="created_by"
description="COM_COMPONENTBUILDER_LANGUAGE_TRANSLATION_CREATED_BY_DESC" /> type="user"
<!-- Published Field. Type: List (joomla)--> label="COM_COMPONENTBUILDER_LANGUAGE_TRANSLATION_CREATED_BY_LABEL"
<field name="published" description="COM_COMPONENTBUILDER_LANGUAGE_TRANSLATION_CREATED_BY_DESC"
type="list" />
label="JSTATUS"> <!-- Published Field. Type: List (joomla) -->
<option value="1">JPUBLISHED</option> <field name="published" type="list" label="JSTATUS"
<option value="0">JUNPUBLISHED</option> description="JFIELD_PUBLISHED_DESC" class="chzn-color-state"
<option value="2">JARCHIVED</option> filter="intval" size="1" default="1" >
<option value="-2">JTRASHED</option> <option value="1">
</field> JPUBLISHED</option>
<!-- Date Modified Field. Type: Calendar (joomla)--> <option value="0">
<field name="modified" JUNPUBLISHED</option>
type="calendar" <option value="2">
class="readonly" JARCHIVED</option>
label="COM_COMPONENTBUILDER_LANGUAGE_TRANSLATION_MODIFIED_DATE_LABEL" <option value="-2">
description="COM_COMPONENTBUILDER_LANGUAGE_TRANSLATION_MODIFIED_DATE_DESC" JTRASHED</option>
size="22" </field>
readonly="true" <!-- Date Modified Field. Type: Calendar (joomla) -->
format="%Y-%m-%d %H:%M:%S" <field name="modified" type="calendar" class="readonly"
filter="user_utc" /> label="COM_COMPONENTBUILDER_LANGUAGE_TRANSLATION_MODIFIED_DATE_LABEL" description="COM_COMPONENTBUILDER_LANGUAGE_TRANSLATION_MODIFIED_DATE_DESC"
<!-- User Modified Field. Type: User (joomla)--> size="22" readonly="true" format="%Y-%m-%d %H:%M:%S" filter="user_utc" />
<field name="modified_by" <!-- User Modified Field. Type: User (joomla) -->
type="user" <field name="modified_by" type="user"
label="COM_COMPONENTBUILDER_LANGUAGE_TRANSLATION_MODIFIED_BY_LABEL" label="COM_COMPONENTBUILDER_LANGUAGE_TRANSLATION_MODIFIED_BY_LABEL"
description="COM_COMPONENTBUILDER_LANGUAGE_TRANSLATION_MODIFIED_BY_DESC" description="COM_COMPONENTBUILDER_LANGUAGE_TRANSLATION_MODIFIED_BY_DESC"
class="readonly" class="readonly"
readonly="true" readonly="true"
filter="unset" /> filter="unset"
<!-- Access Field. Type: Accesslevel (joomla)--> />
<field name="access" <!-- Access Field. Type: Accesslevel (joomla) -->
type="accesslevel" <field name="access"
label="JFIELD_ACCESS_LABEL" type="accesslevel"
description="JFIELD_ACCESS_DESC" label="JFIELD_ACCESS_LABEL"
default="1" description="JFIELD_ACCESS_DESC"
required="false" /> default="1"
<!-- Ordering Field. Type: Numbers (joomla)--> required="false"
<field name="ordering" />
type="number" <!-- Ordering Field. Type: Numbers (joomla) -->
class="inputbox validate-ordering" <field
label="COM_COMPONENTBUILDER_LANGUAGE_TRANSLATION_ORDERING_LABEL" name="ordering"
description="" type="number"
default="0" class="inputbox validate-ordering"
size="6" label="COM_COMPONENTBUILDER_LANGUAGE_TRANSLATION_ORDERING_LABEL"
required="false" /> description=""
<!-- Version Field. Type: Text (joomla)--> default="0"
<field name="version" size="6"
type="text" required="false"
class="readonly" />
label="COM_COMPONENTBUILDER_LANGUAGE_TRANSLATION_VERSION_LABEL" <!-- Version Field. Type: Text (joomla) -->
description="COM_COMPONENTBUILDER_LANGUAGE_TRANSLATION_VERSION_DESC" <field
size="6" name="version"
readonly="true" type="text"
filter="unset" /> class="readonly"
<!-- Dynamic Fields.--> label="COM_COMPONENTBUILDER_LANGUAGE_TRANSLATION_VERSION_LABEL"
<!-- Entranslation Field. Type: Textarea. (joomla)--> description="COM_COMPONENTBUILDER_LANGUAGE_TRANSLATION_VERSION_DESC"
<field type="textarea" size="6"
name="entranslation" readonly="true"
label="COM_COMPONENTBUILDER_LANGUAGE_TRANSLATION_ENTRANSLATION_LABEL" filter="unset"
rows="4" />
cols="5" <!-- Dynamic Fields. -->
description="JFIELD_TITLE_DESC" <!-- Entranslation Field. Type: Textarea. (joomla) -->
message="COM_COMPONENTBUILDER_LANGUAGE_TRANSLATION_ENTRANSLATION_MESSAGE" <field
class="text_area span12" type="textarea"
filter="STRING" name="entranslation"
hint="COM_COMPONENTBUILDER_LANGUAGE_TRANSLATION_ENTRANSLATION_HINT" label="COM_COMPONENTBUILDER_LANGUAGE_TRANSLATION_ENTRANSLATION_LABEL"
readonly="true" rows="4"
disabled="true" /> cols="5"
<!-- Components Field. Type: Components. (custom)--> description="JFIELD_TITLE_DESC"
<field type="components" message="COM_COMPONENTBUILDER_LANGUAGE_TRANSLATION_ENTRANSLATION_MESSAGE"
name="components" class="text_area span12"
label="COM_COMPONENTBUILDER_LANGUAGE_TRANSLATION_COMPONENTS_LABEL" filter="STRING"
class="list_class" hint="COM_COMPONENTBUILDER_LANGUAGE_TRANSLATION_ENTRANSLATION_HINT"
multiple="true" readonly="true"
default="0" disabled="true"
required="true" />
button="false" /> <!-- Components Field. Type: Components. (custom) -->
<!-- Translation Field. Type: Subform. (joomla)--> <field
<field type="subform" type="components"
name="translation" name="components"
label="COM_COMPONENTBUILDER_LANGUAGE_TRANSLATION_TRANSLATION_LABEL" label="COM_COMPONENTBUILDER_LANGUAGE_TRANSLATION_COMPONENTS_LABEL"
layout="joomla.form.field.subform.repeatable-table" class="list_class"
multiple="true" multiple="true"
description="COM_COMPONENTBUILDER_LANGUAGE_TRANSLATION_TRANSLATION_DESCRIPTION" default="0"
icon="list" required="true"
maximum="200"> button="false"
<form hidden="true" />
name="list_translation_modal" <!-- Translation Field. Type: Subform. (joomla) -->
repeat="true"> <field
<!-- Translation Field. Type: Textarea. (joomla)--> type="subform"
<field type="textarea" name="translation"
name="translation" label="COM_COMPONENTBUILDER_LANGUAGE_TRANSLATION_TRANSLATION_LABEL"
label="COM_COMPONENTBUILDER_LANGUAGE_TRANSLATION_TRANSLATION_LABEL" layout="joomla.form.field.subform.repeatable-table"
rows="4" multiple="true"
cols="20" description="COM_COMPONENTBUILDER_LANGUAGE_TRANSLATION_TRANSLATION_DESCRIPTION"
message="COM_COMPONENTBUILDER_LANGUAGE_TRANSLATION_TRANSLATION_MESSAGE" icon="list"
class="text_area translation_text_area" maximum="200">
filter="STRING" <form hidden="true" name="list_translation_modal" repeat="true">
hint="COM_COMPONENTBUILDER_LANGUAGE_TRANSLATION_TRANSLATION_HINT" <!-- Translation Field. Type: Textarea. (joomla) -->
required="false" /> <field
<!-- Language Field. Type: Lang. (custom)--> type="textarea"
<field type="lang" name="translation"
name="language" label="COM_COMPONENTBUILDER_LANGUAGE_TRANSLATION_TRANSLATION_LABEL"
label="COM_COMPONENTBUILDER_LANGUAGE_TRANSLATION_LANGUAGE_LABEL" rows="4"
class="list_class" cols="20"
multiple="false" message="COM_COMPONENTBUILDER_LANGUAGE_TRANSLATION_TRANSLATION_MESSAGE"
default="0" class="text_area translation_text_area"
required="false" filter="STRING"
button="false" /> hint="COM_COMPONENTBUILDER_LANGUAGE_TRANSLATION_TRANSLATION_HINT"
</form> required="false"
</field> />
</fieldset> <!-- 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. --> <!-- Access Control Fields. -->
<fieldset name="accesscontrol"> <fieldset name="accesscontrol">

View File

@ -4,217 +4,221 @@
addfieldpath="/administrator/components/com_componentbuilder/models/fields" addfieldpath="/administrator/components/com_componentbuilder/models/fields"
> >
<fieldset name="details"> <fieldset name="details">
<!-- Default Fields.--> <!-- Default Fields. -->
<!-- Id Field. Type: Text (joomla)--> <!-- Id Field. Type: Text (joomla) -->
<field name="id" <field
type="text" name="id"
class="readonly" type="text" class="readonly" label="JGLOBAL_FIELD_ID_LABEL"
label="JGLOBAL_FIELD_ID_LABEL" description ="JGLOBAL_FIELD_ID_DESC" size="10" default="0"
description="JGLOBAL_FIELD_ID_DESC" readonly="true"
size="10" />
default="0" /> <!-- Date Created Field. Type: Calendar (joomla) -->
<!-- Date Created Field. Type: Calendar (joomla)--> <field
<field name="created" name="created"
type="calendar" type="calendar"
label="COM_COMPONENTBUILDER_LAYOUT_CREATED_DATE_LABEL" label="COM_COMPONENTBUILDER_LAYOUT_CREATED_DATE_LABEL"
description="COM_COMPONENTBUILDER_LAYOUT_CREATED_DATE_DESC" description="COM_COMPONENTBUILDER_LAYOUT_CREATED_DATE_DESC"
size="22" size="22"
format="%Y-%m-%d %H:%M:%S" format="%Y-%m-%d %H:%M:%S"
filter="user_utc" /> filter="user_utc"
<!-- User Created Field. Type: User (joomla)--> />
<field name="created_by" <!-- User Created Field. Type: User (joomla) -->
type="user" <field
label="COM_COMPONENTBUILDER_LAYOUT_CREATED_BY_LABEL" name="created_by"
description="COM_COMPONENTBUILDER_LAYOUT_CREATED_BY_DESC" /> type="user"
<!-- Published Field. Type: List (joomla)--> label="COM_COMPONENTBUILDER_LAYOUT_CREATED_BY_LABEL"
<field name="published" description="COM_COMPONENTBUILDER_LAYOUT_CREATED_BY_DESC"
type="list" />
label="JSTATUS"> <!-- Published Field. Type: List (joomla) -->
<option value="1">JPUBLISHED</option> <field name="published" type="list" label="JSTATUS"
<option value="0">JUNPUBLISHED</option> description="JFIELD_PUBLISHED_DESC" class="chzn-color-state"
<option value="2">JARCHIVED</option> filter="intval" size="1" default="1" >
<option value="-2">JTRASHED</option> <option value="1">
</field> JPUBLISHED</option>
<!-- Date Modified Field. Type: Calendar (joomla)--> <option value="0">
<field name="modified" JUNPUBLISHED</option>
type="calendar" <option value="2">
class="readonly" JARCHIVED</option>
label="COM_COMPONENTBUILDER_LAYOUT_MODIFIED_DATE_LABEL" <option value="-2">
description="COM_COMPONENTBUILDER_LAYOUT_MODIFIED_DATE_DESC" JTRASHED</option>
size="22" </field>
readonly="true" <!-- Date Modified Field. Type: Calendar (joomla) -->
format="%Y-%m-%d %H:%M:%S" <field name="modified" type="calendar" class="readonly"
filter="user_utc" /> label="COM_COMPONENTBUILDER_LAYOUT_MODIFIED_DATE_LABEL" description="COM_COMPONENTBUILDER_LAYOUT_MODIFIED_DATE_DESC"
<!-- User Modified Field. Type: User (joomla)--> size="22" readonly="true" format="%Y-%m-%d %H:%M:%S" filter="user_utc" />
<field name="modified_by" <!-- User Modified Field. Type: User (joomla) -->
type="user" <field name="modified_by" type="user"
label="COM_COMPONENTBUILDER_LAYOUT_MODIFIED_BY_LABEL" label="COM_COMPONENTBUILDER_LAYOUT_MODIFIED_BY_LABEL"
description="COM_COMPONENTBUILDER_LAYOUT_MODIFIED_BY_DESC" description="COM_COMPONENTBUILDER_LAYOUT_MODIFIED_BY_DESC"
class="readonly" class="readonly"
readonly="true" readonly="true"
filter="unset" /> filter="unset"
<!-- Access Field. Type: Accesslevel (joomla)--> />
<field name="access" <!-- Access Field. Type: Accesslevel (joomla) -->
type="accesslevel" <field name="access"
label="JFIELD_ACCESS_LABEL" type="accesslevel"
description="JFIELD_ACCESS_DESC" label="JFIELD_ACCESS_LABEL"
default="1" description="JFIELD_ACCESS_DESC"
required="false" /> default="1"
<!-- Ordering Field. Type: Numbers (joomla)--> required="false"
<field name="ordering" />
type="number" <!-- Ordering Field. Type: Numbers (joomla) -->
class="inputbox validate-ordering" <field
label="COM_COMPONENTBUILDER_LAYOUT_ORDERING_LABEL" name="ordering"
description="" type="number"
default="0" class="inputbox validate-ordering"
size="6" label="COM_COMPONENTBUILDER_LAYOUT_ORDERING_LABEL"
required="false" /> description=""
<!-- Version Field. Type: Text (joomla)--> default="0"
<field name="version" size="6"
type="text" required="false"
class="readonly" />
label="COM_COMPONENTBUILDER_LAYOUT_VERSION_LABEL" <!-- Version Field. Type: Text (joomla) -->
description="COM_COMPONENTBUILDER_LAYOUT_VERSION_DESC" <field
size="6" name="version"
readonly="true" type="text"
filter="unset" /> class="readonly"
<!-- Dynamic Fields.--> label="COM_COMPONENTBUILDER_LAYOUT_VERSION_LABEL"
<!-- Name Field. Type: Text. (joomla)--> description="COM_COMPONENTBUILDER_LAYOUT_VERSION_DESC"
<field type="text" size="6"
name="name" readonly="true"
label="COM_COMPONENTBUILDER_LAYOUT_NAME_LABEL" filter="unset"
size="40" />
maxlength="150" <!-- Dynamic Fields. -->
description="COM_COMPONENTBUILDER_LAYOUT_NAME_DESCRIPTION" <!-- Name Field. Type: Text. (joomla) -->
class="text_area" <field
readonly="false" type="text"
disabled="false" name="name"
required="true" label="COM_COMPONENTBUILDER_LAYOUT_NAME_LABEL"
filter="STRING" size="40"
message="COM_COMPONENTBUILDER_LAYOUT_NAME_MESSAGE" maxlength="150"
hint="COM_COMPONENTBUILDER_LAYOUT_NAME_HINT" /> description="COM_COMPONENTBUILDER_LAYOUT_NAME_DESCRIPTION"
<!-- Alias Field. Type: Text. (joomla)--> class="text_area"
<field type="text" readonly="false"
name="alias" disabled="false"
label="COM_COMPONENTBUILDER_LAYOUT_ALIAS_LABEL" required="true"
size="40" filter="STRING"
maxlength="50" message="COM_COMPONENTBUILDER_LAYOUT_NAME_MESSAGE"
description="COM_COMPONENTBUILDER_LAYOUT_ALIAS_DESCRIPTION" hint="COM_COMPONENTBUILDER_LAYOUT_NAME_HINT"
class="text_area" />
filter="CMD" <!-- Alias Field. Type: Text. (joomla) -->
message="COM_COMPONENTBUILDER_LAYOUT_ALIAS_MESSAGE" <field
hint="COM_COMPONENTBUILDER_LAYOUT_ALIAS_HINT" /> type="text"
<!-- Description Field. Type: Text. (joomla)--> name="alias"
<field type="text" label="COM_COMPONENTBUILDER_LAYOUT_ALIAS_LABEL"
name="description" size="40"
label="COM_COMPONENTBUILDER_LAYOUT_DESCRIPTION_LABEL" maxlength="50"
size="80" description="COM_COMPONENTBUILDER_LAYOUT_ALIAS_DESCRIPTION"
maxlength="150" class="text_area"
description="COM_COMPONENTBUILDER_LAYOUT_DESCRIPTION_DESCRIPTION" filter="CMD"
class="text_area" message="COM_COMPONENTBUILDER_LAYOUT_ALIAS_MESSAGE"
readonly="false" hint="COM_COMPONENTBUILDER_LAYOUT_ALIAS_HINT"
disabled="false" />
required="true" <!-- Description Field. Type: Text. (joomla) -->
filter="STRING" <field
message="COM_COMPONENTBUILDER_LAYOUT_DESCRIPTION_MESSAGE" type="text"
hint="COM_COMPONENTBUILDER_LAYOUT_DESCRIPTION_HINT" /> name="description"
<!-- Dynamic_get Field. Type: Dynamicget. (custom)--> label="COM_COMPONENTBUILDER_LAYOUT_DESCRIPTION_LABEL"
<field type="dynamicget" size="80"
name="dynamic_get" maxlength="150"
label="COM_COMPONENTBUILDER_LAYOUT_DYNAMIC_GET_LABEL" description="COM_COMPONENTBUILDER_LAYOUT_DESCRIPTION_DESCRIPTION"
description="COM_COMPONENTBUILDER_LAYOUT_DYNAMIC_GET_DESCRIPTION" class="text_area"
multiple="false" readonly="false"
required="false" disabled="false"
button="true" /> required="true"
<!-- Snippet Field. Type: Snippets. (custom)--> filter="STRING"
<field type="snippets" message="COM_COMPONENTBUILDER_LAYOUT_DESCRIPTION_MESSAGE"
name="snippet" hint="COM_COMPONENTBUILDER_LAYOUT_DESCRIPTION_HINT"
label="COM_COMPONENTBUILDER_LAYOUT_SNIPPET_LABEL" />
description="COM_COMPONENTBUILDER_LAYOUT_SNIPPET_DESCRIPTION" <!-- Dynamic_get Field. Type: Dynamicget. (custom) -->
class="list_class" <field
multiple="false" type="dynamicget"
required="false" name="dynamic_get"
button="true" /> label="COM_COMPONENTBUILDER_LAYOUT_DYNAMIC_GET_LABEL"
<!-- Php_view Field. Type: Textarea. (joomla)--> description="COM_COMPONENTBUILDER_LAYOUT_DYNAMIC_GET_DESCRIPTION"
<field type="textarea" multiple="false"
name="php_view" required="false"
label="COM_COMPONENTBUILDER_LAYOUT_PHP_VIEW_LABEL" button="true"
rows="17" />
cols="5" <!-- Snippet Field. Type: Snippets. (custom) -->
description="COM_COMPONENTBUILDER_LAYOUT_PHP_VIEW_DESCRIPTION" <field
class="text_area span12" type="snippets"
filter="raw" name="snippet"
hint="COM_COMPONENTBUILDER_LAYOUT_PHP_VIEW_HINT" label="COM_COMPONENTBUILDER_LAYOUT_SNIPPET_LABEL"
required="true" /> description="COM_COMPONENTBUILDER_LAYOUT_SNIPPET_DESCRIPTION"
<!-- Add_php_view Field. Type: Radio. (joomla)--> class="list_class"
<field type="radio" multiple="false"
name="add_php_view" required="false"
label="COM_COMPONENTBUILDER_LAYOUT_ADD_PHP_VIEW_LABEL" button="true"
class="btn-group btn-group-yesno" />
default="0" <!-- Php_view Field. Type: Textarea. (joomla) -->
required="true"> <field
<!-- Option Set.--> type="textarea"
<option value="1">COM_COMPONENTBUILDER_LAYOUT_YES</option> name="php_view"
<option value="0">COM_COMPONENTBUILDER_LAYOUT_NO</option> label="COM_COMPONENTBUILDER_LAYOUT_PHP_VIEW_LABEL"
</field> rows="17"
<!-- Dynamic_values Field. Type: Note. A None Database Field. (joomla)--> cols="5"
<field type="note" description="COM_COMPONENTBUILDER_LAYOUT_PHP_VIEW_DESCRIPTION"
name="dynamic_values" class="text_area span12"
label="COM_COMPONENTBUILDER_LAYOUT_DYNAMIC_VALUES_LABEL" filter="raw"
description="COM_COMPONENTBUILDER_LAYOUT_DYNAMIC_VALUES_DESCRIPTION" hint="COM_COMPONENTBUILDER_LAYOUT_PHP_VIEW_HINT"
heading="h4" required="true"
class="dynamic_values" /> />
<!-- Not_required Field. Type: Hidden. (joomla)--> <!-- Add_php_view Field. Type: Radio. (joomla) -->
<field type="hidden" <field
name="not_required" type="radio"
default="[]" /> name="add_php_view"
<!-- Layout Field. Type: Textarea. (joomla)--> label="COM_COMPONENTBUILDER_LAYOUT_ADD_PHP_VIEW_LABEL"
<field type="textarea" class="btn-group btn-group-yesno"
name="layout" default="0"
label="COM_COMPONENTBUILDER_LAYOUT_LAYOUT_LABEL" required="true">
rows="20" <!-- Option Set. -->
cols="15" <option value="1">
class="text_area span12" COM_COMPONENTBUILDER_LAYOUT_YES</option>
filter="raw" <option value="0">
hint="COM_COMPONENTBUILDER_LAYOUT_LAYOUT_HINT" COM_COMPONENTBUILDER_LAYOUT_NO</option>
required="true" /> </field>
<!-- Note_snippet_usage Field. Type: Note. A None Database Field. (joomla)--> <!-- Dynamic_values Field. Type: Note. A None Database Field. (joomla) -->
<field type="note" <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" />
name="note_snippet_usage" <!-- Not_required Field. Type: Hidden. (joomla) -->
label="COM_COMPONENTBUILDER_LAYOUT_NOTE_SNIPPET_USAGE_LABEL" <field
heading="h4" type="hidden"
class="snippet-usage note_snippet_usage" /> name="not_required"
<!-- Note_uikit_snippet Field. Type: Note. A None Database Field. (joomla)--> default="[]"
<field type="note" />
name="note_uikit_snippet" <!-- Layout Field. Type: Textarea. (joomla) -->
label="COM_COMPONENTBUILDER_LAYOUT_NOTE_UIKIT_SNIPPET_LABEL" <field
heading="h4" type="textarea"
class="snippet-code note_uikit_snippet" /> name="layout"
<!-- Note_add_language_string Field. Type: Note. A None Database Field. (joomla)--> label="COM_COMPONENTBUILDER_LAYOUT_LAYOUT_LABEL"
<field type="note" rows="20"
name="note_add_language_string" cols="15"
label="COM_COMPONENTBUILDER_LAYOUT_NOTE_ADD_LANGUAGE_STRING_LABEL" class="text_area span12"
description="COM_COMPONENTBUILDER_LAYOUT_NOTE_ADD_LANGUAGE_STRING_DESCRIPTION" filter="raw"
heading="h4" hint="COM_COMPONENTBUILDER_LAYOUT_LAYOUT_HINT"
class="note_add_language_string" /> required="true"
<!-- Libraries Field. Type: Libraries. (custom)--> />
<field type="libraries" <!-- Note_snippet_usage Field. Type: Note. A None Database Field. (joomla) -->
name="libraries" <field type="note" name="note_snippet_usage" label="COM_COMPONENTBUILDER_LAYOUT_NOTE_SNIPPET_USAGE_LABEL" heading="h4" class="snippet-usage note_snippet_usage" />
label="COM_COMPONENTBUILDER_LAYOUT_LIBRARIES_LABEL" <!-- Note_uikit_snippet Field. Type: Note. A None Database Field. (joomla) -->
description="COM_COMPONENTBUILDER_LAYOUT_LIBRARIES_DESCRIPTION" <field type="note" name="note_uikit_snippet" label="COM_COMPONENTBUILDER_LAYOUT_NOTE_UIKIT_SNIPPET_LABEL" heading="h4" class="snippet-code note_uikit_snippet" />
class="list_class" <!-- Note_add_language_string Field. Type: Note. A None Database Field. (joomla) -->
multiple="true" <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" />
default="0" <!-- Libraries Field. Type: Libraries. (custom) -->
required="false" <field
button="true" /> type="libraries"
<!-- Note_libraries_selection Field. Type: Note. A None Database Field. (joomla)--> name="libraries"
<field type="note" label="COM_COMPONENTBUILDER_LAYOUT_LIBRARIES_LABEL"
name="note_libraries_selection" description="COM_COMPONENTBUILDER_LAYOUT_LIBRARIES_DESCRIPTION"
label="COM_COMPONENTBUILDER_LAYOUT_NOTE_LIBRARIES_SELECTION_LABEL" class="list_class"
description="COM_COMPONENTBUILDER_LAYOUT_NOTE_LIBRARIES_SELECTION_DESCRIPTION" multiple="true"
heading="h4" default="0"
class="alert alert-info note_libraries_selection" /> required="false"
</fieldset> 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. --> <!-- Access Control Fields. -->
<fieldset name="accesscontrol"> <fieldset name="accesscontrol">

View File

@ -4,331 +4,320 @@
addfieldpath="/administrator/components/com_componentbuilder/models/fields" addfieldpath="/administrator/components/com_componentbuilder/models/fields"
> >
<fieldset name="details"> <fieldset name="details">
<!-- Default Fields.--> <!-- Default Fields. -->
<!-- Id Field. Type: Text (joomla)--> <!-- Id Field. Type: Text (joomla) -->
<field name="id" <field
type="text" name="id"
class="readonly" type="text" class="readonly" label="JGLOBAL_FIELD_ID_LABEL"
label="JGLOBAL_FIELD_ID_LABEL" description ="JGLOBAL_FIELD_ID_DESC" size="10" default="0"
description="JGLOBAL_FIELD_ID_DESC" readonly="true"
size="10" />
default="0" /> <!-- Date Created Field. Type: Calendar (joomla) -->
<!-- Date Created Field. Type: Calendar (joomla)--> <field
<field name="created" name="created"
type="calendar" type="calendar"
label="COM_COMPONENTBUILDER_LIBRARY_CREATED_DATE_LABEL" label="COM_COMPONENTBUILDER_LIBRARY_CREATED_DATE_LABEL"
description="COM_COMPONENTBUILDER_LIBRARY_CREATED_DATE_DESC" description="COM_COMPONENTBUILDER_LIBRARY_CREATED_DATE_DESC"
size="22" size="22"
format="%Y-%m-%d %H:%M:%S" format="%Y-%m-%d %H:%M:%S"
filter="user_utc" /> filter="user_utc"
<!-- User Created Field. Type: User (joomla)--> />
<field name="created_by" <!-- User Created Field. Type: User (joomla) -->
type="user" <field
label="COM_COMPONENTBUILDER_LIBRARY_CREATED_BY_LABEL" name="created_by"
description="COM_COMPONENTBUILDER_LIBRARY_CREATED_BY_DESC" /> type="user"
<!-- Published Field. Type: List (joomla)--> label="COM_COMPONENTBUILDER_LIBRARY_CREATED_BY_LABEL"
<field name="published" description="COM_COMPONENTBUILDER_LIBRARY_CREATED_BY_DESC"
type="list" />
label="JSTATUS"> <!-- Published Field. Type: List (joomla) -->
<option value="1">JPUBLISHED</option> <field name="published" type="list" label="JSTATUS"
<option value="0">JUNPUBLISHED</option> description="JFIELD_PUBLISHED_DESC" class="chzn-color-state"
<option value="2">JARCHIVED</option> filter="intval" size="1" default="1" >
<option value="-2">JTRASHED</option> <option value="1">
</field> JPUBLISHED</option>
<!-- Date Modified Field. Type: Calendar (joomla)--> <option value="0">
<field name="modified" JUNPUBLISHED</option>
type="calendar" <option value="2">
class="readonly" JARCHIVED</option>
label="COM_COMPONENTBUILDER_LIBRARY_MODIFIED_DATE_LABEL" <option value="-2">
description="COM_COMPONENTBUILDER_LIBRARY_MODIFIED_DATE_DESC" JTRASHED</option>
size="22" </field>
readonly="true" <!-- Date Modified Field. Type: Calendar (joomla) -->
format="%Y-%m-%d %H:%M:%S" <field name="modified" type="calendar" class="readonly"
filter="user_utc" /> label="COM_COMPONENTBUILDER_LIBRARY_MODIFIED_DATE_LABEL" description="COM_COMPONENTBUILDER_LIBRARY_MODIFIED_DATE_DESC"
<!-- User Modified Field. Type: User (joomla)--> size="22" readonly="true" format="%Y-%m-%d %H:%M:%S" filter="user_utc" />
<field name="modified_by" <!-- User Modified Field. Type: User (joomla) -->
type="user" <field name="modified_by" type="user"
label="COM_COMPONENTBUILDER_LIBRARY_MODIFIED_BY_LABEL" label="COM_COMPONENTBUILDER_LIBRARY_MODIFIED_BY_LABEL"
description="COM_COMPONENTBUILDER_LIBRARY_MODIFIED_BY_DESC" description="COM_COMPONENTBUILDER_LIBRARY_MODIFIED_BY_DESC"
class="readonly" class="readonly"
readonly="true" readonly="true"
filter="unset" /> filter="unset"
<!-- Access Field. Type: Accesslevel (joomla)--> />
<field name="access" <!-- Access Field. Type: Accesslevel (joomla) -->
type="accesslevel" <field name="access"
label="JFIELD_ACCESS_LABEL" type="accesslevel"
description="JFIELD_ACCESS_DESC" label="JFIELD_ACCESS_LABEL"
default="1" description="JFIELD_ACCESS_DESC"
required="false" /> default="1"
<!-- Ordering Field. Type: Numbers (joomla)--> required="false"
<field name="ordering" />
type="number" <!-- Ordering Field. Type: Numbers (joomla) -->
class="inputbox validate-ordering" <field
label="COM_COMPONENTBUILDER_LIBRARY_ORDERING_LABEL" name="ordering"
description="" type="number"
default="0" class="inputbox validate-ordering"
size="6" label="COM_COMPONENTBUILDER_LIBRARY_ORDERING_LABEL"
required="false" /> description=""
<!-- Version Field. Type: Text (joomla)--> default="0"
<field name="version" size="6"
type="text" required="false"
class="readonly" />
label="COM_COMPONENTBUILDER_LIBRARY_VERSION_LABEL" <!-- Version Field. Type: Text (joomla) -->
description="COM_COMPONENTBUILDER_LIBRARY_VERSION_DESC" <field
size="6" name="version"
readonly="true" type="text"
filter="unset" /> class="readonly"
<!-- Dynamic Fields.--> label="COM_COMPONENTBUILDER_LIBRARY_VERSION_LABEL"
<!-- Name Field. Type: Text. (joomla)--> description="COM_COMPONENTBUILDER_LIBRARY_VERSION_DESC"
<field type="text" size="6"
name="name" readonly="true"
label="COM_COMPONENTBUILDER_LIBRARY_NAME_LABEL" filter="unset"
size="40" />
maxlength="150" <!-- Dynamic Fields. -->
description="COM_COMPONENTBUILDER_LIBRARY_NAME_DESCRIPTION" <!-- Name Field. Type: Text. (joomla) -->
class="text_area" <field
readonly="false" type="text"
disabled="false" name="name"
required="true" label="COM_COMPONENTBUILDER_LIBRARY_NAME_LABEL"
filter="STRING" size="40"
message="COM_COMPONENTBUILDER_LIBRARY_NAME_MESSAGE" maxlength="150"
hint="COM_COMPONENTBUILDER_LIBRARY_NAME_HINT" /> description="COM_COMPONENTBUILDER_LIBRARY_NAME_DESCRIPTION"
<!-- Description Field. Type: Text. (joomla)--> class="text_area"
<field type="text" readonly="false"
name="description" disabled="false"
label="COM_COMPONENTBUILDER_LIBRARY_DESCRIPTION_LABEL" required="true"
size="80" filter="STRING"
maxlength="150" message="COM_COMPONENTBUILDER_LIBRARY_NAME_MESSAGE"
description="COM_COMPONENTBUILDER_LIBRARY_DESCRIPTION_DESCRIPTION" hint="COM_COMPONENTBUILDER_LIBRARY_NAME_HINT"
class="text_area" />
readonly="false" <!-- Description Field. Type: Text. (joomla) -->
disabled="false" <field
required="false" type="text"
filter="STRING" name="description"
message="COM_COMPONENTBUILDER_LIBRARY_DESCRIPTION_MESSAGE" label="COM_COMPONENTBUILDER_LIBRARY_DESCRIPTION_LABEL"
hint="COM_COMPONENTBUILDER_LIBRARY_DESCRIPTION_HINT" /> size="80"
<!-- How Field. Type: Filebehaviour. (custom)--> maxlength="150"
<field type="filebehaviour" description="COM_COMPONENTBUILDER_LIBRARY_DESCRIPTION_DESCRIPTION"
name="how" class="text_area"
label="COM_COMPONENTBUILDER_LIBRARY_HOW_LABEL" readonly="false"
description="COM_COMPONENTBUILDER_LIBRARY_HOW_DESCRIPTION" disabled="false"
class="list_class" required="false"
multiple="false" filter="STRING"
default="1" message="COM_COMPONENTBUILDER_LIBRARY_DESCRIPTION_MESSAGE"
required="true" hint="COM_COMPONENTBUILDER_LIBRARY_DESCRIPTION_HINT"
button="false" /> />
<!-- Type Field. Type: Radio. (joomla)--> <!-- How Field. Type: Filebehaviour. (custom) -->
<field type="radio" <field
name="type" type="filebehaviour"
label="COM_COMPONENTBUILDER_LIBRARY_TYPE_LABEL" name="how"
description="COM_COMPONENTBUILDER_LIBRARY_TYPE_DESCRIPTION" label="COM_COMPONENTBUILDER_LIBRARY_HOW_LABEL"
class="btn-group btn-group-yesno" description="COM_COMPONENTBUILDER_LIBRARY_HOW_DESCRIPTION"
default="1" class="list_class"
required="true"> multiple="false"
<!-- Option Set.--> default="1"
<option value="1">COM_COMPONENTBUILDER_LIBRARY_MAIN</option> required="true"
<option value="2">COM_COMPONENTBUILDER_LIBRARY_BUNDLE</option> button="false"
</field> />
<!-- Note_build_in_behaviour_two Field. Type: Note. A None Database Field. (joomla)--> <!-- Type Field. Type: Radio. (joomla) -->
<field type="note" <field
name="note_build_in_behaviour_two" type="radio"
label="COM_COMPONENTBUILDER_LIBRARY_NOTE_BUILD_IN_BEHAVIOUR_TWO_LABEL" name="type"
description="COM_COMPONENTBUILDER_LIBRARY_NOTE_BUILD_IN_BEHAVIOUR_TWO_DESCRIPTION" label="COM_COMPONENTBUILDER_LIBRARY_TYPE_LABEL"
heading="h4" description="COM_COMPONENTBUILDER_LIBRARY_TYPE_DESCRIPTION"
class="alert alert-success note_build_in_behaviour_two" /> class="btn-group btn-group-yesno"
<!-- Note_no_behaviour_two Field. Type: Note. A None Database Field. (joomla)--> default="1"
<field type="note" required="true">
name="note_no_behaviour_two" <!-- Option Set. -->
label="COM_COMPONENTBUILDER_LIBRARY_NOTE_NO_BEHAVIOUR_TWO_LABEL" <option value="1">
description="COM_COMPONENTBUILDER_LIBRARY_NOTE_NO_BEHAVIOUR_TWO_DESCRIPTION" COM_COMPONENTBUILDER_LIBRARY_MAIN</option>
heading="h4" <option value="2">
class="alert alert-error note_no_behaviour_two" /> COM_COMPONENTBUILDER_LIBRARY_BUNDLE</option>
<!-- Note_yes_behaviour_two Field. Type: Note. A None Database Field. (joomla)--> </field>
<field type="note" <!-- Note_build_in_behaviour_two Field. Type: Note. A None Database Field. (joomla) -->
name="note_yes_behaviour_two" <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" />
label="COM_COMPONENTBUILDER_LIBRARY_NOTE_YES_BEHAVIOUR_TWO_LABEL" <!-- Note_no_behaviour_two Field. Type: Note. A None Database Field. (joomla) -->
description="COM_COMPONENTBUILDER_LIBRARY_NOTE_YES_BEHAVIOUR_TWO_DESCRIPTION" <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" />
heading="h4" <!-- Note_yes_behaviour_two Field. Type: Note. A None Database Field. (joomla) -->
class="alert alert-success note_yes_behaviour_two" /> <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)--> <!-- Note_build_in_behaviour_three Field. Type: Note. A None Database Field. (joomla) -->
<field type="note" <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" />
name="note_build_in_behaviour_three" <!-- Note_display_library_files_folders_urls Field. Type: Note. A None Database Field. (joomla) -->
label="COM_COMPONENTBUILDER_LIBRARY_NOTE_BUILD_IN_BEHAVIOUR_THREE_LABEL" <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" />
description="COM_COMPONENTBUILDER_LIBRARY_NOTE_BUILD_IN_BEHAVIOUR_THREE_DESCRIPTION" <!-- Not_required Field. Type: Hidden. (joomla) -->
heading="h4" <field
class="alert alert-success note_build_in_behaviour_three" /> type="hidden"
<!-- Note_display_library_files_folders_urls Field. Type: Note. A None Database Field. (joomla)--> name="not_required"
<field type="note" default="[]"
name="note_display_library_files_folders_urls" />
description="COM_COMPONENTBUILDER_LIBRARY_NOTE_DISPLAY_LIBRARY_FILES_FOLDERS_URLS_DESCRIPTION" <!-- Note_no_behaviour_three Field. Type: Note. A None Database Field. (joomla) -->
class="note_display_library_files_folders_urls" /> <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" />
<!-- Not_required Field. Type: Hidden. (joomla)--> <!-- Note_display_library_config Field. Type: Note. A None Database Field. (joomla) -->
<field type="hidden" <field type="note" name="note_display_library_config" description="COM_COMPONENTBUILDER_LIBRARY_NOTE_DISPLAY_LIBRARY_CONFIG_DESCRIPTION" class="note_display_library_config" />
name="not_required" <!-- Libraries Field. Type: Librariesx. (custom) -->
default="[]" /> <field
<!-- Note_no_behaviour_three Field. Type: Note. A None Database Field. (joomla)--> type="librariesx"
<field type="note" name="libraries"
name="note_no_behaviour_three" label="COM_COMPONENTBUILDER_LIBRARY_LIBRARIES_LABEL"
label="COM_COMPONENTBUILDER_LIBRARY_NOTE_NO_BEHAVIOUR_THREE_LABEL" description="COM_COMPONENTBUILDER_LIBRARY_LIBRARIES_DESCRIPTION"
description="COM_COMPONENTBUILDER_LIBRARY_NOTE_NO_BEHAVIOUR_THREE_DESCRIPTION" class="list_class"
heading="h4" multiple="true"
class="alert alert-error note_no_behaviour_three" /> default="0"
<!-- Note_display_library_config Field. Type: Note. A None Database Field. (joomla)--> required="false"
<field type="note" button="true"
name="note_display_library_config" />
description="COM_COMPONENTBUILDER_LIBRARY_NOTE_DISPLAY_LIBRARY_CONFIG_DESCRIPTION" <!-- Note_no_behaviour_one Field. Type: Note. A None Database Field. (joomla) -->
class="note_display_library_config" /> <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" />
<!-- Libraries Field. Type: Librariesx. (custom)--> <!-- Php_setdocument Field. Type: Textarea. (joomla) -->
<field type="librariesx" <field
name="libraries" type="textarea"
label="COM_COMPONENTBUILDER_LIBRARY_LIBRARIES_LABEL" name="php_setdocument"
description="COM_COMPONENTBUILDER_LIBRARY_LIBRARIES_DESCRIPTION" label="COM_COMPONENTBUILDER_LIBRARY_PHP_SETDOCUMENT_LABEL"
class="list_class" rows="30"
multiple="true" cols="15"
default="0" description="COM_COMPONENTBUILDER_LIBRARY_PHP_SETDOCUMENT_DESCRIPTION"
required="false" class="text_area span12"
button="true" /> filter="raw"
<!-- Note_no_behaviour_one Field. Type: Note. A None Database Field. (joomla)--> hint="COM_COMPONENTBUILDER_LIBRARY_PHP_SETDOCUMENT_HINT"
<field type="note" required="true"
name="note_no_behaviour_one" />
label="COM_COMPONENTBUILDER_LIBRARY_NOTE_NO_BEHAVIOUR_ONE_LABEL" <!-- Addconditions Field. Type: Subform. (joomla) -->
description="COM_COMPONENTBUILDER_LIBRARY_NOTE_NO_BEHAVIOUR_ONE_DESCRIPTION" <field
heading="h4" type="subform"
class="alert alert-error note_no_behaviour_one" /> name="addconditions"
<!-- Php_setdocument Field. Type: Textarea. (joomla)--> label="COM_COMPONENTBUILDER_LIBRARY_ADDCONDITIONS_LABEL"
<field type="textarea" layout="joomla.form.field.subform.repeatable-table"
name="php_setdocument" multiple="true"
label="COM_COMPONENTBUILDER_LIBRARY_PHP_SETDOCUMENT_LABEL" description="COM_COMPONENTBUILDER_LIBRARY_ADDCONDITIONS_DESCRIPTION"
rows="30" icon="list"
cols="15" maximum="500">
description="COM_COMPONENTBUILDER_LIBRARY_PHP_SETDOCUMENT_DESCRIPTION" <form hidden="true" name="list_addconditions_modal" repeat="true">
class="text_area span12" <!-- File Field. Type: Libraryfiles. (custom) -->
filter="raw" <field
hint="COM_COMPONENTBUILDER_LIBRARY_PHP_SETDOCUMENT_HINT" type="libraryfiles"
required="true" /> name="file"
<!-- Addconditions Field. Type: Subform. (joomla)--> label="COM_COMPONENTBUILDER_LIBRARY_FILE_LABEL"
<field type="subform" description="COM_COMPONENTBUILDER_LIBRARY_FILE_DESCRIPTION"
name="addconditions" class="list_class"
label="COM_COMPONENTBUILDER_LIBRARY_ADDCONDITIONS_LABEL" multiple="true"
layout="joomla.form.field.subform.repeatable-table" default="0"
multiple="true" required="false"
description="COM_COMPONENTBUILDER_LIBRARY_ADDCONDITIONS_DESCRIPTION" button="false"
icon="list" />
maximum="500"> <!-- Target_behavior Field. Type: List. (joomla) -->
<form hidden="true" <field
name="list_addconditions_modal" type="list"
repeat="true"> name="target_behavior"
<!-- File Field. Type: Libraryfiles. (custom)--> label="COM_COMPONENTBUILDER_LIBRARY_TARGET_BEHAVIOR_LABEL"
<field type="libraryfiles" description="COM_COMPONENTBUILDER_LIBRARY_TARGET_BEHAVIOR_DESCRIPTION"
name="file" class="list_class"
label="COM_COMPONENTBUILDER_LIBRARY_FILE_LABEL" multiple="false"
description="COM_COMPONENTBUILDER_LIBRARY_FILE_DESCRIPTION" filter="INT"
class="list_class" required="false"
multiple="true" default="1">
default="0" <!-- Option Set. -->
required="false" <option value="1">
button="false" /> COM_COMPONENTBUILDER_LIBRARY_INCLUDE</option>
<!-- Target_behavior Field. Type: List. (joomla)--> <option value="2">
<field type="list" COM_COMPONENTBUILDER_LIBRARY_EXCLUDE</option>
name="target_behavior" </field>
label="COM_COMPONENTBUILDER_LIBRARY_TARGET_BEHAVIOR_LABEL" <!-- Target_relation Field. Type: List. (joomla) -->
description="COM_COMPONENTBUILDER_LIBRARY_TARGET_BEHAVIOR_DESCRIPTION" <field
class="list_class" type="list"
multiple="false" name="target_relation"
filter="INT" label="COM_COMPONENTBUILDER_LIBRARY_TARGET_RELATION_LABEL"
required="false" description="COM_COMPONENTBUILDER_LIBRARY_TARGET_RELATION_DESCRIPTION"
default="1"> class="list_class"
<!-- Option Set.--> multiple="false"
<option value="1">COM_COMPONENTBUILDER_LIBRARY_INCLUDE</option> filter="INT"
<option value="2">COM_COMPONENTBUILDER_LIBRARY_EXCLUDE</option> required="false"
</field> default="0">
<!-- Target_relation Field. Type: List. (joomla)--> <!-- Option Set. -->
<field type="list" <option value="0">
name="target_relation" COM_COMPONENTBUILDER_LIBRARY_ISOLATE</option>
label="COM_COMPONENTBUILDER_LIBRARY_TARGET_RELATION_LABEL" <option value="1">
description="COM_COMPONENTBUILDER_LIBRARY_TARGET_RELATION_DESCRIPTION" COM_COMPONENTBUILDER_LIBRARY_CHAIN</option>
class="list_class" </field>
multiple="false" <!-- Option_field Field. Type: Libconfigfield. (custom) -->
filter="INT" <field
required="false" type="libconfigfield"
default="0"> name="option_field"
<!-- Option Set.--> label="COM_COMPONENTBUILDER_LIBRARY_OPTION_FIELD_LABEL"
<option value="0">COM_COMPONENTBUILDER_LIBRARY_ISOLATE</option> description="COM_COMPONENTBUILDER_LIBRARY_OPTION_FIELD_DESCRIPTION"
<option value="1">COM_COMPONENTBUILDER_LIBRARY_CHAIN</option> multiple="false"
</field> required="false"
<!-- Option_field Field. Type: Libconfigfield. (custom)--> button="false"
<field type="libconfigfield" />
name="option_field" <!-- Option_behaviour Field. Type: List. (joomla) -->
label="COM_COMPONENTBUILDER_LIBRARY_OPTION_FIELD_LABEL" <field
description="COM_COMPONENTBUILDER_LIBRARY_OPTION_FIELD_DESCRIPTION" type="list"
multiple="false" name="option_behaviour"
required="false" label="COM_COMPONENTBUILDER_LIBRARY_OPTION_BEHAVIOUR_LABEL"
button="false" /> description="COM_COMPONENTBUILDER_LIBRARY_OPTION_BEHAVIOUR_DESCRIPTION"
<!-- Option_behaviour Field. Type: List. (joomla)--> class="list_class"
<field type="list" multiple="false"
name="option_behaviour" filter="INT"
label="COM_COMPONENTBUILDER_LIBRARY_OPTION_BEHAVIOUR_LABEL" required="false"
description="COM_COMPONENTBUILDER_LIBRARY_OPTION_BEHAVIOUR_DESCRIPTION" default="1">
class="list_class" <!-- Option Set. -->
multiple="false" <option value="1">
filter="INT" COM_COMPONENTBUILDER_LIBRARY_IS_ONLY_FOUR_LISTRADIOCHECKBOXES</option>
required="false" <option value="2">
default="1"> COM_COMPONENTBUILDER_LIBRARY_IS_NOT_ONLY_FOUR_LISTRADIOCHECKBOXES</option>
<!-- Option Set.--> <option value="3">
<option value="1">COM_COMPONENTBUILDER_LIBRARY_IS_ONLY_FOUR_LISTRADIOCHECKBOXES</option> COM_COMPONENTBUILDER_LIBRARY_ANY_SELECTION_ONLY_FOUR_LISTRADIOCHECKBOXESDYNAMIC_LIST</option>
<option value="2">COM_COMPONENTBUILDER_LIBRARY_IS_NOT_ONLY_FOUR_LISTRADIOCHECKBOXES</option> <option value="4">
<option value="3">COM_COMPONENTBUILDER_LIBRARY_ANY_SELECTION_ONLY_FOUR_LISTRADIOCHECKBOXESDYNAMIC_LIST</option> COM_COMPONENTBUILDER_LIBRARY_ACTIVE_ONLY_FOUR_TEXT_FIELD</option>
<option value="4">COM_COMPONENTBUILDER_LIBRARY_ACTIVE_ONLY_FOUR_TEXT_FIELD</option> <option value="5">
<option value="5">COM_COMPONENTBUILDER_LIBRARY_UNACTIVE_ONLY_FOUR_TEXT_FIELD</option> 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="6">
<option value="7">COM_COMPONENTBUILDER_LIBRARY_KEY_WORD_ANY_CASESENSITIVE_ONLY_FOUR_TEXT_FIELD</option> COM_COMPONENTBUILDER_LIBRARY_KEY_WORD_ALL_CASESENSITIVE_ONLY_FOUR_TEXT_FIELD</option>
<option value="8">COM_COMPONENTBUILDER_LIBRARY_KEY_WORD_ALL_CASEINSENSITIVE_ONLY_FOUR_TEXT_FIELD</option> <option value="7">
<option value="9">COM_COMPONENTBUILDER_LIBRARY_KEY_WORD_ANY_CASEINSENSITIVE_ONLY_FOUR_TEXT_FIELD</option> COM_COMPONENTBUILDER_LIBRARY_KEY_WORD_ANY_CASESENSITIVE_ONLY_FOUR_TEXT_FIELD</option>
<option value="10">COM_COMPONENTBUILDER_LIBRARY_MIN_LENGTH_ONLY_FOUR_TEXT_FIELD</option> <option value="8">
<option value="11">COM_COMPONENTBUILDER_LIBRARY_MAX_LENGTH_ONLY_FOUR_TEXT_FIELD</option> COM_COMPONENTBUILDER_LIBRARY_KEY_WORD_ALL_CASEINSENSITIVE_ONLY_FOUR_TEXT_FIELD</option>
<option value="12">COM_COMPONENTBUILDER_LIBRARY_EXACT_LENGTH_ONLY_FOUR_TEXT_FIELD</option> <option value="9">
</field> COM_COMPONENTBUILDER_LIBRARY_KEY_WORD_ANY_CASEINSENSITIVE_ONLY_FOUR_TEXT_FIELD</option>
<!-- Field_options Field. Type: Textarea. (joomla)--> <option value="10">
<field type="textarea" COM_COMPONENTBUILDER_LIBRARY_MIN_LENGTH_ONLY_FOUR_TEXT_FIELD</option>
name="field_options" <option value="11">
label="COM_COMPONENTBUILDER_LIBRARY_FIELD_OPTIONS_LABEL" COM_COMPONENTBUILDER_LIBRARY_MAX_LENGTH_ONLY_FOUR_TEXT_FIELD</option>
rows="10" <option value="12">
cols="5" COM_COMPONENTBUILDER_LIBRARY_EXACT_LENGTH_ONLY_FOUR_TEXT_FIELD</option>
class="text_area" </field>
filter="STRING" <!-- Field_options Field. Type: Textarea. (joomla) -->
hint="COM_COMPONENTBUILDER_LIBRARY_FIELD_OPTIONS_HINT" <field
required="false" /> type="textarea"
</form> name="field_options"
</field> label="COM_COMPONENTBUILDER_LIBRARY_FIELD_OPTIONS_LABEL"
<!-- Note_build_in_behaviour_one Field. Type: Note. A None Database Field. (joomla)--> rows="10"
<field type="note" cols="5"
name="note_build_in_behaviour_one" class="text_area"
label="COM_COMPONENTBUILDER_LIBRARY_NOTE_BUILD_IN_BEHAVIOUR_ONE_LABEL" filter="STRING"
description="COM_COMPONENTBUILDER_LIBRARY_NOTE_BUILD_IN_BEHAVIOUR_ONE_DESCRIPTION" hint="COM_COMPONENTBUILDER_LIBRARY_FIELD_OPTIONS_HINT"
heading="h4" required="false"
class="alert alert-success note_build_in_behaviour_one" /> />
<!-- Note_yes_behaviour_one Field. Type: Note. A None Database Field. (joomla)--> </form>
<field type="note" </field>
name="note_yes_behaviour_one" <!-- Note_build_in_behaviour_one Field. Type: Note. A None Database Field. (joomla) -->
label="COM_COMPONENTBUILDER_LIBRARY_NOTE_YES_BEHAVIOUR_ONE_LABEL" <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" />
description="COM_COMPONENTBUILDER_LIBRARY_NOTE_YES_BEHAVIOUR_ONE_DESCRIPTION" <!-- Note_yes_behaviour_one Field. Type: Note. A None Database Field. (joomla) -->
heading="h4" <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" />
class="alert alert-success note_yes_behaviour_one" /> <!-- Note_linked_to_notice Field. Type: Note. A None Database Field. (joomla) -->
<!-- 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" />
<field type="note" <!-- Note_library_instruction Field. Type: Note. A None Database Field. (joomla) -->
name="note_linked_to_notice" <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" />
label="COM_COMPONENTBUILDER_LIBRARY_NOTE_LINKED_TO_NOTICE_LABEL" </fieldset>
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. --> <!-- Access Control Fields. -->
<fieldset name="accesscontrol"> <fieldset name="accesscontrol">

View File

@ -4,142 +4,155 @@
addfieldpath="/administrator/components/com_componentbuilder/models/fields" addfieldpath="/administrator/components/com_componentbuilder/models/fields"
> >
<fieldset name="details"> <fieldset name="details">
<!-- Default Fields.--> <!-- Default Fields. -->
<!-- Id Field. Type: Text (joomla)--> <!-- Id Field. Type: Text (joomla) -->
<field name="id" <field
type="text" name="id"
class="readonly" type="text" class="readonly" label="JGLOBAL_FIELD_ID_LABEL"
label="JGLOBAL_FIELD_ID_LABEL" description ="JGLOBAL_FIELD_ID_DESC" size="10" default="0"
description="JGLOBAL_FIELD_ID_DESC" readonly="true"
size="10" />
default="0" /> <!-- Date Created Field. Type: Calendar (joomla) -->
<!-- Date Created Field. Type: Calendar (joomla)--> <field
<field name="created" name="created"
type="calendar" type="calendar"
label="COM_COMPONENTBUILDER_LIBRARY_CONFIG_CREATED_DATE_LABEL" label="COM_COMPONENTBUILDER_LIBRARY_CONFIG_CREATED_DATE_LABEL"
description="COM_COMPONENTBUILDER_LIBRARY_CONFIG_CREATED_DATE_DESC" description="COM_COMPONENTBUILDER_LIBRARY_CONFIG_CREATED_DATE_DESC"
size="22" size="22"
format="%Y-%m-%d %H:%M:%S" format="%Y-%m-%d %H:%M:%S"
filter="user_utc" /> filter="user_utc"
<!-- User Created Field. Type: User (joomla)--> />
<field name="created_by" <!-- User Created Field. Type: User (joomla) -->
type="user" <field
label="COM_COMPONENTBUILDER_LIBRARY_CONFIG_CREATED_BY_LABEL" name="created_by"
description="COM_COMPONENTBUILDER_LIBRARY_CONFIG_CREATED_BY_DESC" /> type="user"
<!-- Published Field. Type: List (joomla)--> label="COM_COMPONENTBUILDER_LIBRARY_CONFIG_CREATED_BY_LABEL"
<field name="published" description="COM_COMPONENTBUILDER_LIBRARY_CONFIG_CREATED_BY_DESC"
type="list" />
label="JSTATUS"> <!-- Published Field. Type: List (joomla) -->
<option value="1">JPUBLISHED</option> <field name="published" type="list" label="JSTATUS"
<option value="0">JUNPUBLISHED</option> description="JFIELD_PUBLISHED_DESC" class="chzn-color-state"
<option value="2">JARCHIVED</option> filter="intval" size="1" default="1" >
<option value="-2">JTRASHED</option> <option value="1">
</field> JPUBLISHED</option>
<!-- Date Modified Field. Type: Calendar (joomla)--> <option value="0">
<field name="modified" JUNPUBLISHED</option>
type="calendar" <option value="2">
class="readonly" JARCHIVED</option>
label="COM_COMPONENTBUILDER_LIBRARY_CONFIG_MODIFIED_DATE_LABEL" <option value="-2">
description="COM_COMPONENTBUILDER_LIBRARY_CONFIG_MODIFIED_DATE_DESC" JTRASHED</option>
size="22" </field>
readonly="true" <!-- Date Modified Field. Type: Calendar (joomla) -->
format="%Y-%m-%d %H:%M:%S" <field name="modified" type="calendar" class="readonly"
filter="user_utc" /> label="COM_COMPONENTBUILDER_LIBRARY_CONFIG_MODIFIED_DATE_LABEL" description="COM_COMPONENTBUILDER_LIBRARY_CONFIG_MODIFIED_DATE_DESC"
<!-- User Modified Field. Type: User (joomla)--> size="22" readonly="true" format="%Y-%m-%d %H:%M:%S" filter="user_utc" />
<field name="modified_by" <!-- User Modified Field. Type: User (joomla) -->
type="user" <field name="modified_by" type="user"
label="COM_COMPONENTBUILDER_LIBRARY_CONFIG_MODIFIED_BY_LABEL" label="COM_COMPONENTBUILDER_LIBRARY_CONFIG_MODIFIED_BY_LABEL"
description="COM_COMPONENTBUILDER_LIBRARY_CONFIG_MODIFIED_BY_DESC" description="COM_COMPONENTBUILDER_LIBRARY_CONFIG_MODIFIED_BY_DESC"
class="readonly" class="readonly"
readonly="true" readonly="true"
filter="unset" /> filter="unset"
<!-- Access Field. Type: Accesslevel (joomla)--> />
<field name="access" <!-- Access Field. Type: Accesslevel (joomla) -->
type="accesslevel" <field name="access"
label="JFIELD_ACCESS_LABEL" type="accesslevel"
description="JFIELD_ACCESS_DESC" label="JFIELD_ACCESS_LABEL"
default="1" description="JFIELD_ACCESS_DESC"
required="false" /> default="1"
<!-- Ordering Field. Type: Numbers (joomla)--> required="false"
<field name="ordering" />
type="number" <!-- Ordering Field. Type: Numbers (joomla) -->
class="inputbox validate-ordering" <field
label="COM_COMPONENTBUILDER_LIBRARY_CONFIG_ORDERING_LABEL" name="ordering"
description="" type="number"
default="0" class="inputbox validate-ordering"
size="6" label="COM_COMPONENTBUILDER_LIBRARY_CONFIG_ORDERING_LABEL"
required="false" /> description=""
<!-- Version Field. Type: Text (joomla)--> default="0"
<field name="version" size="6"
type="text" required="false"
class="readonly" />
label="COM_COMPONENTBUILDER_LIBRARY_CONFIG_VERSION_LABEL" <!-- Version Field. Type: Text (joomla) -->
description="COM_COMPONENTBUILDER_LIBRARY_CONFIG_VERSION_DESC" <field
size="6" name="version"
readonly="true" type="text"
filter="unset" /> class="readonly"
<!-- Dynamic Fields.--> label="COM_COMPONENTBUILDER_LIBRARY_CONFIG_VERSION_LABEL"
<!-- Library Field. Type: Libraryreadonly. (custom)--> description="COM_COMPONENTBUILDER_LIBRARY_CONFIG_VERSION_DESC"
<field type="libraryreadonly" size="6"
name="library" readonly="true"
label="COM_COMPONENTBUILDER_LIBRARY_CONFIG_LIBRARY_LABEL" filter="unset"
description="COM_COMPONENTBUILDER_LIBRARY_CONFIG_LIBRARY_DESCRIPTION" />
class="list_class" <!-- Dynamic Fields. -->
multiple="false" <!-- Library Field. Type: Libraryreadonly. (custom) -->
default="0" <field
required="true" type="libraryreadonly"
readonly="true" /> name="library"
<!-- Addconfig Field. Type: Subform. (joomla)--> label="COM_COMPONENTBUILDER_LIBRARY_CONFIG_LIBRARY_LABEL"
<field type="subform" description="COM_COMPONENTBUILDER_LIBRARY_CONFIG_LIBRARY_DESCRIPTION"
name="addconfig" class="list_class"
label="COM_COMPONENTBUILDER_LIBRARY_CONFIG_ADDCONFIG_LABEL" multiple="false"
layout="joomla.form.field.subform.repeatable-table" default="0"
multiple="true" required="true"
description="COM_COMPONENTBUILDER_LIBRARY_CONFIG_ADDCONFIG_DESCRIPTION" readonly="true"
icon="list" />
maximum="500"> <!-- Addconfig Field. Type: Subform. (joomla) -->
<form hidden="true" <field
name="list_addconfig_modal" type="subform"
repeat="true"> name="addconfig"
<!-- Field Field. Type: Fields. (custom)--> label="COM_COMPONENTBUILDER_LIBRARY_CONFIG_ADDCONFIG_LABEL"
<field type="fields" layout="joomla.form.field.subform.repeatable-table"
name="field" multiple="true"
label="COM_COMPONENTBUILDER_LIBRARY_CONFIG_FIELD_LABEL" description="COM_COMPONENTBUILDER_LIBRARY_CONFIG_ADDCONFIG_DESCRIPTION"
description="COM_COMPONENTBUILDER_LIBRARY_CONFIG_FIELD_DESCRIPTION" icon="list"
class="list_class" maximum="500">
multiple="false" <form hidden="true" name="list_addconfig_modal" repeat="true">
required="false" <!-- Field Field. Type: Fields. (custom) -->
button="false" /> <field
<!-- Custom_value Field. Type: Textarea. (joomla)--> type="fields"
<field type="textarea" name="field"
name="custom_value" label="COM_COMPONENTBUILDER_LIBRARY_CONFIG_FIELD_LABEL"
label="COM_COMPONENTBUILDER_LIBRARY_CONFIG_CUSTOM_VALUE_LABEL" description="COM_COMPONENTBUILDER_LIBRARY_CONFIG_FIELD_DESCRIPTION"
rows="2" class="list_class"
cols="4" multiple="false"
description="COM_COMPONENTBUILDER_LIBRARY_CONFIG_CUSTOM_VALUE_DESCRIPTION" required="false"
class="text_area" button="false"
hint="COM_COMPONENTBUILDER_LIBRARY_CONFIG_CUSTOM_VALUE_HINT" />
required="false" <!-- Custom_value Field. Type: Textarea. (joomla) -->
readonly="false" <field
disabled="false" /> type="textarea"
<!-- Tabname Field. Type: Text. (joomla)--> name="custom_value"
<field type="text" label="COM_COMPONENTBUILDER_LIBRARY_CONFIG_CUSTOM_VALUE_LABEL"
name="tabname" rows="2"
label="COM_COMPONENTBUILDER_LIBRARY_CONFIG_TABNAME_LABEL" cols="4"
size="40" description="COM_COMPONENTBUILDER_LIBRARY_CONFIG_CUSTOM_VALUE_DESCRIPTION"
maxlength="150" class="text_area"
default="Global" hint="COM_COMPONENTBUILDER_LIBRARY_CONFIG_CUSTOM_VALUE_HINT"
description="COM_COMPONENTBUILDER_LIBRARY_CONFIG_TABNAME_DESCRIPTION" required="false"
class="text_area" readonly="false"
readonly="false" disabled="false"
disabled="false" />
required="false" <!-- Tabname Field. Type: Text. (joomla) -->
filter="STRING" <field
message="COM_COMPONENTBUILDER_LIBRARY_CONFIG_TABNAME_MESSAGE" type="text"
hint="COM_COMPONENTBUILDER_LIBRARY_CONFIG_TABNAME_HINT" /> name="tabname"
</form> label="COM_COMPONENTBUILDER_LIBRARY_CONFIG_TABNAME_LABEL"
</field> size="40"
</fieldset> 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. --> <!-- Access Control Fields. -->
<fieldset name="accesscontrol"> <fieldset name="accesscontrol">

View File

@ -4,362 +4,365 @@
addfieldpath="/administrator/components/com_componentbuilder/models/fields" addfieldpath="/administrator/components/com_componentbuilder/models/fields"
> >
<fieldset name="details"> <fieldset name="details">
<!-- Default Fields.--> <!-- Default Fields. -->
<!-- Id Field. Type: Text (joomla)--> <!-- Id Field. Type: Text (joomla) -->
<field name="id" <field
type="text" name="id"
class="readonly" type="text" class="readonly" label="JGLOBAL_FIELD_ID_LABEL"
label="JGLOBAL_FIELD_ID_LABEL" description ="JGLOBAL_FIELD_ID_DESC" size="10" default="0"
description="JGLOBAL_FIELD_ID_DESC" readonly="true"
size="10" />
default="0" /> <!-- Date Created Field. Type: Calendar (joomla) -->
<!-- Date Created Field. Type: Calendar (joomla)--> <field
<field name="created" name="created"
type="calendar" type="calendar"
label="COM_COMPONENTBUILDER_LIBRARY_FILES_FOLDERS_URLS_CREATED_DATE_LABEL" label="COM_COMPONENTBUILDER_LIBRARY_FILES_FOLDERS_URLS_CREATED_DATE_LABEL"
description="COM_COMPONENTBUILDER_LIBRARY_FILES_FOLDERS_URLS_CREATED_DATE_DESC" description="COM_COMPONENTBUILDER_LIBRARY_FILES_FOLDERS_URLS_CREATED_DATE_DESC"
size="22" size="22"
format="%Y-%m-%d %H:%M:%S" format="%Y-%m-%d %H:%M:%S"
filter="user_utc" /> filter="user_utc"
<!-- User Created Field. Type: User (joomla)--> />
<field name="created_by" <!-- User Created Field. Type: User (joomla) -->
type="user" <field
label="COM_COMPONENTBUILDER_LIBRARY_FILES_FOLDERS_URLS_CREATED_BY_LABEL" name="created_by"
description="COM_COMPONENTBUILDER_LIBRARY_FILES_FOLDERS_URLS_CREATED_BY_DESC" /> type="user"
<!-- Published Field. Type: List (joomla)--> label="COM_COMPONENTBUILDER_LIBRARY_FILES_FOLDERS_URLS_CREATED_BY_LABEL"
<field name="published" description="COM_COMPONENTBUILDER_LIBRARY_FILES_FOLDERS_URLS_CREATED_BY_DESC"
type="list" />
label="JSTATUS"> <!-- Published Field. Type: List (joomla) -->
<option value="1">JPUBLISHED</option> <field name="published" type="list" label="JSTATUS"
<option value="0">JUNPUBLISHED</option> description="JFIELD_PUBLISHED_DESC" class="chzn-color-state"
<option value="2">JARCHIVED</option> filter="intval" size="1" default="1" >
<option value="-2">JTRASHED</option> <option value="1">
</field> JPUBLISHED</option>
<!-- Date Modified Field. Type: Calendar (joomla)--> <option value="0">
<field name="modified" JUNPUBLISHED</option>
type="calendar" <option value="2">
class="readonly" JARCHIVED</option>
label="COM_COMPONENTBUILDER_LIBRARY_FILES_FOLDERS_URLS_MODIFIED_DATE_LABEL" <option value="-2">
description="COM_COMPONENTBUILDER_LIBRARY_FILES_FOLDERS_URLS_MODIFIED_DATE_DESC" JTRASHED</option>
size="22" </field>
readonly="true" <!-- Date Modified Field. Type: Calendar (joomla) -->
format="%Y-%m-%d %H:%M:%S" <field name="modified" type="calendar" class="readonly"
filter="user_utc" /> label="COM_COMPONENTBUILDER_LIBRARY_FILES_FOLDERS_URLS_MODIFIED_DATE_LABEL" description="COM_COMPONENTBUILDER_LIBRARY_FILES_FOLDERS_URLS_MODIFIED_DATE_DESC"
<!-- User Modified Field. Type: User (joomla)--> size="22" readonly="true" format="%Y-%m-%d %H:%M:%S" filter="user_utc" />
<field name="modified_by" <!-- User Modified Field. Type: User (joomla) -->
type="user" <field name="modified_by" type="user"
label="COM_COMPONENTBUILDER_LIBRARY_FILES_FOLDERS_URLS_MODIFIED_BY_LABEL" label="COM_COMPONENTBUILDER_LIBRARY_FILES_FOLDERS_URLS_MODIFIED_BY_LABEL"
description="COM_COMPONENTBUILDER_LIBRARY_FILES_FOLDERS_URLS_MODIFIED_BY_DESC" description="COM_COMPONENTBUILDER_LIBRARY_FILES_FOLDERS_URLS_MODIFIED_BY_DESC"
class="readonly" class="readonly"
readonly="true" readonly="true"
filter="unset" /> filter="unset"
<!-- Access Field. Type: Accesslevel (joomla)--> />
<field name="access" <!-- Access Field. Type: Accesslevel (joomla) -->
type="accesslevel" <field name="access"
label="JFIELD_ACCESS_LABEL" type="accesslevel"
description="JFIELD_ACCESS_DESC" label="JFIELD_ACCESS_LABEL"
default="1" description="JFIELD_ACCESS_DESC"
required="false" /> default="1"
<!-- Ordering Field. Type: Numbers (joomla)--> required="false"
<field name="ordering" />
type="number" <!-- Ordering Field. Type: Numbers (joomla) -->
class="inputbox validate-ordering" <field
label="COM_COMPONENTBUILDER_LIBRARY_FILES_FOLDERS_URLS_ORDERING_LABEL" name="ordering"
description="" type="number"
default="0" class="inputbox validate-ordering"
size="6" label="COM_COMPONENTBUILDER_LIBRARY_FILES_FOLDERS_URLS_ORDERING_LABEL"
required="false" /> description=""
<!-- Version Field. Type: Text (joomla)--> default="0"
<field name="version" size="6"
type="text" required="false"
class="readonly" />
label="COM_COMPONENTBUILDER_LIBRARY_FILES_FOLDERS_URLS_VERSION_LABEL" <!-- Version Field. Type: Text (joomla) -->
description="COM_COMPONENTBUILDER_LIBRARY_FILES_FOLDERS_URLS_VERSION_DESC" <field
size="6" name="version"
readonly="true" type="text"
filter="unset" /> class="readonly"
<!-- Dynamic Fields.--> label="COM_COMPONENTBUILDER_LIBRARY_FILES_FOLDERS_URLS_VERSION_LABEL"
<!-- Library Field. Type: Libraryreadonly. (custom)--> description="COM_COMPONENTBUILDER_LIBRARY_FILES_FOLDERS_URLS_VERSION_DESC"
<field type="libraryreadonly" size="6"
name="library" readonly="true"
label="COM_COMPONENTBUILDER_LIBRARY_FILES_FOLDERS_URLS_LIBRARY_LABEL" filter="unset"
description="COM_COMPONENTBUILDER_LIBRARY_FILES_FOLDERS_URLS_LIBRARY_DESCRIPTION" />
class="list_class" <!-- Dynamic Fields. -->
multiple="false" <!-- Library Field. Type: Libraryreadonly. (custom) -->
default="0" <field
required="true" type="libraryreadonly"
readonly="true" /> name="library"
<!-- Note_constant_paths Field. Type: Note. A None Database Field. (joomla)--> label="COM_COMPONENTBUILDER_LIBRARY_FILES_FOLDERS_URLS_LIBRARY_LABEL"
<field type="note" description="COM_COMPONENTBUILDER_LIBRARY_FILES_FOLDERS_URLS_LIBRARY_DESCRIPTION"
name="note_constant_paths" class="list_class"
label="COM_COMPONENTBUILDER_LIBRARY_FILES_FOLDERS_URLS_NOTE_CONSTANT_PATHS_LABEL" multiple="false"
description="COM_COMPONENTBUILDER_LIBRARY_FILES_FOLDERS_URLS_NOTE_CONSTANT_PATHS_DESCRIPTION" default="0"
heading="h4" required="true"
class="alert alert-info note_constant_paths" /> readonly="true"
<!-- Addfoldersfullpath Field. Type: Subform. (joomla)--> />
<field type="subform" <!-- Note_constant_paths Field. Type: Note. A None Database Field. (joomla) -->
name="addfoldersfullpath" <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" />
label="COM_COMPONENTBUILDER_LIBRARY_FILES_FOLDERS_URLS_ADDFOLDERSFULLPATH_LABEL" <!-- Addfoldersfullpath Field. Type: Subform. (joomla) -->
layout="joomla.form.field.subform.repeatable-table" <field
multiple="true" type="subform"
description="COM_COMPONENTBUILDER_LIBRARY_FILES_FOLDERS_URLS_ADDFOLDERSFULLPATH_DESCRIPTION" name="addfoldersfullpath"
icon="list" label="COM_COMPONENTBUILDER_LIBRARY_FILES_FOLDERS_URLS_ADDFOLDERSFULLPATH_LABEL"
maximum="500"> layout="joomla.form.field.subform.repeatable-table"
<form hidden="true" multiple="true"
name="list_addfoldersfullpath_modal" description="COM_COMPONENTBUILDER_LIBRARY_FILES_FOLDERS_URLS_ADDFOLDERSFULLPATH_DESCRIPTION"
repeat="true"> icon="list"
<!-- Folderpath Field. Type: Text. (joomla)--> maximum="500">
<field type="text" <form hidden="true" name="list_addfoldersfullpath_modal" repeat="true">
name="folderpath" <!-- Folderpath Field. Type: Text. (joomla) -->
label="COM_COMPONENTBUILDER_LIBRARY_FILES_FOLDERS_URLS_FOLDERPATH_LABEL" <field
size="70" type="text"
maxlength="300" name="folderpath"
description="COM_COMPONENTBUILDER_LIBRARY_FILES_FOLDERS_URLS_FOLDERPATH_DESCRIPTION" label="COM_COMPONENTBUILDER_LIBRARY_FILES_FOLDERS_URLS_FOLDERPATH_LABEL"
class="text_area" size="70"
required="false" maxlength="300"
filter="PATH" description="COM_COMPONENTBUILDER_LIBRARY_FILES_FOLDERS_URLS_FOLDERPATH_DESCRIPTION"
message="COM_COMPONENTBUILDER_LIBRARY_FILES_FOLDERS_URLS_FOLDERPATH_MESSAGE" class="text_area"
hint="COM_COMPONENTBUILDER_LIBRARY_FILES_FOLDERS_URLS_FOLDERPATH_HINT" /> required="false"
<!-- Path Field. Type: Text. (joomla)--> filter="PATH"
<field type="text" message="COM_COMPONENTBUILDER_LIBRARY_FILES_FOLDERS_URLS_FOLDERPATH_MESSAGE"
name="path" hint="COM_COMPONENTBUILDER_LIBRARY_FILES_FOLDERS_URLS_FOLDERPATH_HINT"
label="COM_COMPONENTBUILDER_LIBRARY_FILES_FOLDERS_URLS_PATH_LABEL" />
size="40" <!-- Path Field. Type: Text. (joomla) -->
maxlength="150" <field
description="COM_COMPONENTBUILDER_LIBRARY_FILES_FOLDERS_URLS_PATH_DESCRIPTION" type="text"
class="text_area" name="path"
readonly="false" label="COM_COMPONENTBUILDER_LIBRARY_FILES_FOLDERS_URLS_PATH_LABEL"
disabled="false" size="40"
required="false" maxlength="150"
filter="PATH" description="COM_COMPONENTBUILDER_LIBRARY_FILES_FOLDERS_URLS_PATH_DESCRIPTION"
message="COM_COMPONENTBUILDER_LIBRARY_FILES_FOLDERS_URLS_PATH_MESSAGE" class="text_area"
hint="COM_COMPONENTBUILDER_LIBRARY_FILES_FOLDERS_URLS_PATH_HINT" /> readonly="false"
<!-- Rename Field. Type: Checkbox. (joomla)--> disabled="false"
<field type="checkbox" required="false"
name="rename" filter="PATH"
label="COM_COMPONENTBUILDER_LIBRARY_FILES_FOLDERS_URLS_RENAME_LABEL" message="COM_COMPONENTBUILDER_LIBRARY_FILES_FOLDERS_URLS_PATH_MESSAGE"
value="1" hint="COM_COMPONENTBUILDER_LIBRARY_FILES_FOLDERS_URLS_PATH_HINT"
required="false" />
class="inputbox" /> <!-- Rename Field. Type: Checkbox. (joomla) -->
</form> <field
</field> type="checkbox"
<!-- Note_add_folders_fullpath Field. Type: Note. A None Database Field. (joomla)--> name="rename"
<field type="note" label="COM_COMPONENTBUILDER_LIBRARY_FILES_FOLDERS_URLS_RENAME_LABEL"
name="note_add_folders_fullpath" value="1"
label="COM_COMPONENTBUILDER_LIBRARY_FILES_FOLDERS_URLS_NOTE_ADD_FOLDERS_FULLPATH_LABEL" required="false"
description="COM_COMPONENTBUILDER_LIBRARY_FILES_FOLDERS_URLS_NOTE_ADD_FOLDERS_FULLPATH_DESCRIPTION" class="inputbox"
heading="h4" />
class="alert alert-info note_add_folders_fullpath" /> </form>
<!-- Addfilesfullpath Field. Type: Subform. (joomla)--> </field>
<field type="subform" <!-- Note_add_folders_fullpath Field. Type: Note. A None Database Field. (joomla) -->
name="addfilesfullpath" <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" />
label="COM_COMPONENTBUILDER_LIBRARY_FILES_FOLDERS_URLS_ADDFILESFULLPATH_LABEL" <!-- Addfilesfullpath Field. Type: Subform. (joomla) -->
layout="joomla.form.field.subform.repeatable-table" <field
multiple="true" type="subform"
description="COM_COMPONENTBUILDER_LIBRARY_FILES_FOLDERS_URLS_ADDFILESFULLPATH_DESCRIPTION" name="addfilesfullpath"
icon="list" label="COM_COMPONENTBUILDER_LIBRARY_FILES_FOLDERS_URLS_ADDFILESFULLPATH_LABEL"
maximum="500"> layout="joomla.form.field.subform.repeatable-table"
<form hidden="true" multiple="true"
name="list_addfilesfullpath_modal" description="COM_COMPONENTBUILDER_LIBRARY_FILES_FOLDERS_URLS_ADDFILESFULLPATH_DESCRIPTION"
repeat="true"> icon="list"
<!-- Filepath Field. Type: Text. (joomla)--> maximum="500">
<field type="text" <form hidden="true" name="list_addfilesfullpath_modal" repeat="true">
name="filepath" <!-- Filepath Field. Type: Text. (joomla) -->
label="COM_COMPONENTBUILDER_LIBRARY_FILES_FOLDERS_URLS_FILEPATH_LABEL" <field
size="70" type="text"
maxlength="300" name="filepath"
description="COM_COMPONENTBUILDER_LIBRARY_FILES_FOLDERS_URLS_FILEPATH_DESCRIPTION" label="COM_COMPONENTBUILDER_LIBRARY_FILES_FOLDERS_URLS_FILEPATH_LABEL"
class="text_area" size="70"
required="false" maxlength="300"
filter="PATH" description="COM_COMPONENTBUILDER_LIBRARY_FILES_FOLDERS_URLS_FILEPATH_DESCRIPTION"
message="COM_COMPONENTBUILDER_LIBRARY_FILES_FOLDERS_URLS_FILEPATH_MESSAGE" class="text_area"
hint="COM_COMPONENTBUILDER_LIBRARY_FILES_FOLDERS_URLS_FILEPATH_HINT" /> required="false"
<!-- Path Field. Type: Text. (joomla)--> filter="PATH"
<field type="text" message="COM_COMPONENTBUILDER_LIBRARY_FILES_FOLDERS_URLS_FILEPATH_MESSAGE"
name="path" hint="COM_COMPONENTBUILDER_LIBRARY_FILES_FOLDERS_URLS_FILEPATH_HINT"
label="COM_COMPONENTBUILDER_LIBRARY_FILES_FOLDERS_URLS_PATH_LABEL" />
size="40" <!-- Path Field. Type: Text. (joomla) -->
maxlength="150" <field
description="COM_COMPONENTBUILDER_LIBRARY_FILES_FOLDERS_URLS_PATH_DESCRIPTION" type="text"
class="text_area" name="path"
readonly="false" label="COM_COMPONENTBUILDER_LIBRARY_FILES_FOLDERS_URLS_PATH_LABEL"
disabled="false" size="40"
required="false" maxlength="150"
filter="PATH" description="COM_COMPONENTBUILDER_LIBRARY_FILES_FOLDERS_URLS_PATH_DESCRIPTION"
message="COM_COMPONENTBUILDER_LIBRARY_FILES_FOLDERS_URLS_PATH_MESSAGE" class="text_area"
hint="COM_COMPONENTBUILDER_LIBRARY_FILES_FOLDERS_URLS_PATH_HINT" /> readonly="false"
<!-- Notnew Field. Type: Checkbox. (joomla)--> disabled="false"
<field type="checkbox" required="false"
name="notnew" filter="PATH"
label="COM_COMPONENTBUILDER_LIBRARY_FILES_FOLDERS_URLS_NOTNEW_LABEL" message="COM_COMPONENTBUILDER_LIBRARY_FILES_FOLDERS_URLS_PATH_MESSAGE"
value="1" hint="COM_COMPONENTBUILDER_LIBRARY_FILES_FOLDERS_URLS_PATH_HINT"
required="false" />
description="COM_COMPONENTBUILDER_LIBRARY_FILES_FOLDERS_URLS_NOTNEW_DESCRIPTION" <!-- Notnew Field. Type: Checkbox. (joomla) -->
class="inputbox" /> <field
</form> type="checkbox"
</field> name="notnew"
<!-- Note_add_files_fullpath Field. Type: Note. A None Database Field. (joomla)--> label="COM_COMPONENTBUILDER_LIBRARY_FILES_FOLDERS_URLS_NOTNEW_LABEL"
<field type="note" value="1"
name="note_add_files_fullpath" required="false"
label="COM_COMPONENTBUILDER_LIBRARY_FILES_FOLDERS_URLS_NOTE_ADD_FILES_FULLPATH_LABEL" description="COM_COMPONENTBUILDER_LIBRARY_FILES_FOLDERS_URLS_NOTNEW_DESCRIPTION"
description="COM_COMPONENTBUILDER_LIBRARY_FILES_FOLDERS_URLS_NOTE_ADD_FILES_FULLPATH_DESCRIPTION" class="inputbox"
heading="h4" />
class="alert alert-info note_add_files_fullpath" /> </form>
<!-- Addfolders Field. Type: Subform. (joomla)--> </field>
<field type="subform" <!-- Note_add_files_fullpath Field. Type: Note. A None Database Field. (joomla) -->
name="addfolders" <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" />
label="COM_COMPONENTBUILDER_LIBRARY_FILES_FOLDERS_URLS_ADDFOLDERS_LABEL" <!-- Addfolders Field. Type: Subform. (joomla) -->
layout="joomla.form.field.subform.repeatable-table" <field
multiple="true" type="subform"
description="COM_COMPONENTBUILDER_LIBRARY_FILES_FOLDERS_URLS_ADDFOLDERS_DESCRIPTION" name="addfolders"
icon="list" label="COM_COMPONENTBUILDER_LIBRARY_FILES_FOLDERS_URLS_ADDFOLDERS_LABEL"
maximum="500"> layout="joomla.form.field.subform.repeatable-table"
<form hidden="true" multiple="true"
name="list_addfolders_modal" description="COM_COMPONENTBUILDER_LIBRARY_FILES_FOLDERS_URLS_ADDFOLDERS_DESCRIPTION"
repeat="true"> icon="list"
<!-- Folder Field. Type: Customfolderlist. (custom)--> maximum="500">
<field type="customfolderlist" <form hidden="true" name="list_addfolders_modal" repeat="true">
name="folder" <!-- Folder Field. Type: Customfolderlist. (custom) -->
label="COM_COMPONENTBUILDER_LIBRARY_FILES_FOLDERS_URLS_FOLDER_LABEL" <field
description="COM_COMPONENTBUILDER_LIBRARY_FILES_FOLDERS_URLS_FOLDER_DESCRIPTION" type="customfolderlist"
class="list_class" name="folder"
multiple="false" label="COM_COMPONENTBUILDER_LIBRARY_FILES_FOLDERS_URLS_FOLDER_LABEL"
default="0" description="COM_COMPONENTBUILDER_LIBRARY_FILES_FOLDERS_URLS_FOLDER_DESCRIPTION"
required="false" class="list_class"
button="false" /> multiple="false"
<!-- Path Field. Type: Text. (joomla)--> default="0"
<field type="text" required="false"
name="path" button="false"
label="COM_COMPONENTBUILDER_LIBRARY_FILES_FOLDERS_URLS_PATH_LABEL" />
size="40" <!-- Path Field. Type: Text. (joomla) -->
maxlength="150" <field
description="COM_COMPONENTBUILDER_LIBRARY_FILES_FOLDERS_URLS_PATH_DESCRIPTION" type="text"
class="text_area" name="path"
readonly="false" label="COM_COMPONENTBUILDER_LIBRARY_FILES_FOLDERS_URLS_PATH_LABEL"
disabled="false" size="40"
required="false" maxlength="150"
filter="PATH" description="COM_COMPONENTBUILDER_LIBRARY_FILES_FOLDERS_URLS_PATH_DESCRIPTION"
message="COM_COMPONENTBUILDER_LIBRARY_FILES_FOLDERS_URLS_PATH_MESSAGE" class="text_area"
hint="COM_COMPONENTBUILDER_LIBRARY_FILES_FOLDERS_URLS_PATH_HINT" /> readonly="false"
<!-- Rename Field. Type: Checkbox. (joomla)--> disabled="false"
<field type="checkbox" required="false"
name="rename" filter="PATH"
label="COM_COMPONENTBUILDER_LIBRARY_FILES_FOLDERS_URLS_RENAME_LABEL" message="COM_COMPONENTBUILDER_LIBRARY_FILES_FOLDERS_URLS_PATH_MESSAGE"
value="1" hint="COM_COMPONENTBUILDER_LIBRARY_FILES_FOLDERS_URLS_PATH_HINT"
required="false" />
class="inputbox" /> <!-- Rename Field. Type: Checkbox. (joomla) -->
</form> <field
</field> type="checkbox"
<!-- Note_add_folders Field. Type: Note. A None Database Field. (joomla)--> name="rename"
<field type="note" label="COM_COMPONENTBUILDER_LIBRARY_FILES_FOLDERS_URLS_RENAME_LABEL"
name="note_add_folders" value="1"
label="COM_COMPONENTBUILDER_LIBRARY_FILES_FOLDERS_URLS_NOTE_ADD_FOLDERS_LABEL" required="false"
description="COM_COMPONENTBUILDER_LIBRARY_FILES_FOLDERS_URLS_NOTE_ADD_FOLDERS_DESCRIPTION" class="inputbox"
heading="h4" />
class="alert alert-info note_add_folders" /> </form>
<!-- Addfiles Field. Type: Subform. (joomla)--> </field>
<field type="subform" <!-- Note_add_folders Field. Type: Note. A None Database Field. (joomla) -->
name="addfiles" <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" />
label="COM_COMPONENTBUILDER_LIBRARY_FILES_FOLDERS_URLS_ADDFILES_LABEL" <!-- Addfiles Field. Type: Subform. (joomla) -->
layout="joomla.form.field.subform.repeatable-table" <field
multiple="true" type="subform"
description="COM_COMPONENTBUILDER_LIBRARY_FILES_FOLDERS_URLS_ADDFILES_DESCRIPTION" name="addfiles"
icon="list" label="COM_COMPONENTBUILDER_LIBRARY_FILES_FOLDERS_URLS_ADDFILES_LABEL"
maximum="500"> layout="joomla.form.field.subform.repeatable-table"
<form hidden="true" multiple="true"
name="list_addfiles_modal" description="COM_COMPONENTBUILDER_LIBRARY_FILES_FOLDERS_URLS_ADDFILES_DESCRIPTION"
repeat="true"> icon="list"
<!-- File Field. Type: Customfilelist. (custom)--> maximum="500">
<field type="customfilelist" <form hidden="true" name="list_addfiles_modal" repeat="true">
name="file" <!-- File Field. Type: Customfilelist. (custom) -->
label="COM_COMPONENTBUILDER_LIBRARY_FILES_FOLDERS_URLS_FILE_LABEL" <field
description="COM_COMPONENTBUILDER_LIBRARY_FILES_FOLDERS_URLS_FILE_DESCRIPTION" type="customfilelist"
class="list_class" name="file"
multiple="false" label="COM_COMPONENTBUILDER_LIBRARY_FILES_FOLDERS_URLS_FILE_LABEL"
default="0" description="COM_COMPONENTBUILDER_LIBRARY_FILES_FOLDERS_URLS_FILE_DESCRIPTION"
required="false" class="list_class"
button="false" /> multiple="false"
<!-- Path Field. Type: Text. (joomla)--> default="0"
<field type="text" required="false"
name="path" button="false"
label="COM_COMPONENTBUILDER_LIBRARY_FILES_FOLDERS_URLS_PATH_LABEL" />
size="40" <!-- Path Field. Type: Text. (joomla) -->
maxlength="150" <field
description="COM_COMPONENTBUILDER_LIBRARY_FILES_FOLDERS_URLS_PATH_DESCRIPTION" type="text"
class="text_area" name="path"
readonly="false" label="COM_COMPONENTBUILDER_LIBRARY_FILES_FOLDERS_URLS_PATH_LABEL"
disabled="false" size="40"
required="false" maxlength="150"
filter="PATH" description="COM_COMPONENTBUILDER_LIBRARY_FILES_FOLDERS_URLS_PATH_DESCRIPTION"
message="COM_COMPONENTBUILDER_LIBRARY_FILES_FOLDERS_URLS_PATH_MESSAGE" class="text_area"
hint="COM_COMPONENTBUILDER_LIBRARY_FILES_FOLDERS_URLS_PATH_HINT" /> readonly="false"
<!-- Notnew Field. Type: Checkbox. (joomla)--> disabled="false"
<field type="checkbox" required="false"
name="notnew" filter="PATH"
label="COM_COMPONENTBUILDER_LIBRARY_FILES_FOLDERS_URLS_NOTNEW_LABEL" message="COM_COMPONENTBUILDER_LIBRARY_FILES_FOLDERS_URLS_PATH_MESSAGE"
value="1" hint="COM_COMPONENTBUILDER_LIBRARY_FILES_FOLDERS_URLS_PATH_HINT"
required="false" />
description="COM_COMPONENTBUILDER_LIBRARY_FILES_FOLDERS_URLS_NOTNEW_DESCRIPTION" <!-- Notnew Field. Type: Checkbox. (joomla) -->
class="inputbox" /> <field
</form> type="checkbox"
</field> name="notnew"
<!-- Note_add_files Field. Type: Note. A None Database Field. (joomla)--> label="COM_COMPONENTBUILDER_LIBRARY_FILES_FOLDERS_URLS_NOTNEW_LABEL"
<field type="note" value="1"
name="note_add_files" required="false"
label="COM_COMPONENTBUILDER_LIBRARY_FILES_FOLDERS_URLS_NOTE_ADD_FILES_LABEL" description="COM_COMPONENTBUILDER_LIBRARY_FILES_FOLDERS_URLS_NOTNEW_DESCRIPTION"
description="COM_COMPONENTBUILDER_LIBRARY_FILES_FOLDERS_URLS_NOTE_ADD_FILES_DESCRIPTION" class="inputbox"
heading="h4" />
class="alert alert-info note_add_files" /> </form>
<!-- Addurls Field. Type: Subform. (joomla)--> </field>
<field type="subform" <!-- Note_add_files Field. Type: Note. A None Database Field. (joomla) -->
name="addurls" <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" />
label="COM_COMPONENTBUILDER_LIBRARY_FILES_FOLDERS_URLS_ADDURLS_LABEL" <!-- Addurls Field. Type: Subform. (joomla) -->
layout="joomla.form.field.subform.repeatable-table" <field
multiple="true" type="subform"
description="COM_COMPONENTBUILDER_LIBRARY_FILES_FOLDERS_URLS_ADDURLS_DESCRIPTION" name="addurls"
icon="list" label="COM_COMPONENTBUILDER_LIBRARY_FILES_FOLDERS_URLS_ADDURLS_LABEL"
maximum="500"> layout="joomla.form.field.subform.repeatable-table"
<form hidden="true" multiple="true"
name="list_addurls_modal" description="COM_COMPONENTBUILDER_LIBRARY_FILES_FOLDERS_URLS_ADDURLS_DESCRIPTION"
repeat="true"> icon="list"
<!-- Url Field. Type: Url. (joomla)--> maximum="500">
<field type="url" <form hidden="true" name="list_addurls_modal" repeat="true">
name="url" <!-- Url Field. Type: Url. (joomla) -->
label="COM_COMPONENTBUILDER_LIBRARY_FILES_FOLDERS_URLS_URL_LABEL" <field
size="150" type="url"
maxlength="250" name="url"
description="COM_COMPONENTBUILDER_LIBRARY_FILES_FOLDERS_URLS_URL_DESCRIPTION" label="COM_COMPONENTBUILDER_LIBRARY_FILES_FOLDERS_URLS_URL_LABEL"
class="text_area" size="150"
required="false" maxlength="250"
filter="url" description="COM_COMPONENTBUILDER_LIBRARY_FILES_FOLDERS_URLS_URL_DESCRIPTION"
validated="url" class="text_area"
message="COM_COMPONENTBUILDER_LIBRARY_FILES_FOLDERS_URLS_URL_MESSAGE" required="false"
hint="COM_COMPONENTBUILDER_LIBRARY_FILES_FOLDERS_URLS_URL_HINT" /> filter="url"
<!-- Type Field. Type: List. (joomla)--> validated="url"
<field type="list" message="COM_COMPONENTBUILDER_LIBRARY_FILES_FOLDERS_URLS_URL_MESSAGE"
name="type" hint="COM_COMPONENTBUILDER_LIBRARY_FILES_FOLDERS_URLS_URL_HINT"
label="COM_COMPONENTBUILDER_LIBRARY_FILES_FOLDERS_URLS_TYPE_LABEL" />
description="COM_COMPONENTBUILDER_LIBRARY_FILES_FOLDERS_URLS_TYPE_DESCRIPTION" <!-- Type Field. Type: List. (joomla) -->
class="list_class" <field
multiple="false" type="list"
filter="INT" name="type"
required="false" label="COM_COMPONENTBUILDER_LIBRARY_FILES_FOLDERS_URLS_TYPE_LABEL"
default="1"> description="COM_COMPONENTBUILDER_LIBRARY_FILES_FOLDERS_URLS_TYPE_DESCRIPTION"
<!-- Option Set.--> class="list_class"
<option value="1">COM_COMPONENTBUILDER_LIBRARY_FILES_FOLDERS_URLS_DEFAULT_LINK</option> multiple="false"
<option value="2">COM_COMPONENTBUILDER_LIBRARY_FILES_FOLDERS_URLS_LOCAL_GET</option> filter="INT"
<option value="3">COM_COMPONENTBUILDER_LIBRARY_FILES_FOLDERS_URLS_LINK_LOCAL_DYNAMIC</option> required="false"
</field> default="1">
</form> <!-- Option Set. -->
</field> <option value="1">
<!-- Note_add_urls Field. Type: Note. A None Database Field. (joomla)--> COM_COMPONENTBUILDER_LIBRARY_FILES_FOLDERS_URLS_DEFAULT_LINK</option>
<field type="note" <option value="2">
name="note_add_urls" COM_COMPONENTBUILDER_LIBRARY_FILES_FOLDERS_URLS_LOCAL_GET</option>
label="COM_COMPONENTBUILDER_LIBRARY_FILES_FOLDERS_URLS_NOTE_ADD_URLS_LABEL" <option value="3">
description="COM_COMPONENTBUILDER_LIBRARY_FILES_FOLDERS_URLS_NOTE_ADD_URLS_DESCRIPTION" COM_COMPONENTBUILDER_LIBRARY_FILES_FOLDERS_URLS_LINK_LOCAL_DYNAMIC</option>
heading="h4" </field>
class="alert alert-info note_add_urls" /> </form>
</fieldset> </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. --> <!-- Access Control Fields. -->
<fieldset name="accesscontrol"> <fieldset name="accesscontrol">

View File

@ -4,253 +4,282 @@
addfieldpath="/administrator/components/com_componentbuilder/models/fields" addfieldpath="/administrator/components/com_componentbuilder/models/fields"
> >
<fieldset name="details"> <fieldset name="details">
<!-- Default Fields.--> <!-- Default Fields. -->
<!-- Id Field. Type: Text (joomla)--> <!-- Id Field. Type: Text (joomla) -->
<field name="id" <field
type="text" name="id"
class="readonly" type="text" class="readonly" label="JGLOBAL_FIELD_ID_LABEL"
label="JGLOBAL_FIELD_ID_LABEL" description ="JGLOBAL_FIELD_ID_DESC" size="10" default="0"
description="JGLOBAL_FIELD_ID_DESC" readonly="true"
size="10" />
default="0" /> <!-- Date Created Field. Type: Calendar (joomla) -->
<!-- Date Created Field. Type: Calendar (joomla)--> <field
<field name="created" name="created"
type="calendar" type="calendar"
label="COM_COMPONENTBUILDER_SERVER_CREATED_DATE_LABEL" label="COM_COMPONENTBUILDER_SERVER_CREATED_DATE_LABEL"
description="COM_COMPONENTBUILDER_SERVER_CREATED_DATE_DESC" description="COM_COMPONENTBUILDER_SERVER_CREATED_DATE_DESC"
size="22" size="22"
format="%Y-%m-%d %H:%M:%S" format="%Y-%m-%d %H:%M:%S"
filter="user_utc" /> filter="user_utc"
<!-- User Created Field. Type: User (joomla)--> />
<field name="created_by" <!-- User Created Field. Type: User (joomla) -->
type="user" <field
label="COM_COMPONENTBUILDER_SERVER_CREATED_BY_LABEL" name="created_by"
description="COM_COMPONENTBUILDER_SERVER_CREATED_BY_DESC" /> type="user"
<!-- Published Field. Type: List (joomla)--> label="COM_COMPONENTBUILDER_SERVER_CREATED_BY_LABEL"
<field name="published" description="COM_COMPONENTBUILDER_SERVER_CREATED_BY_DESC"
type="list" />
label="JSTATUS"> <!-- Published Field. Type: List (joomla) -->
<option value="1">JPUBLISHED</option> <field name="published" type="list" label="JSTATUS"
<option value="0">JUNPUBLISHED</option> description="JFIELD_PUBLISHED_DESC" class="chzn-color-state"
<option value="2">JARCHIVED</option> filter="intval" size="1" default="1" >
<option value="-2">JTRASHED</option> <option value="1">
</field> JPUBLISHED</option>
<!-- Date Modified Field. Type: Calendar (joomla)--> <option value="0">
<field name="modified" JUNPUBLISHED</option>
type="calendar" <option value="2">
class="readonly" JARCHIVED</option>
label="COM_COMPONENTBUILDER_SERVER_MODIFIED_DATE_LABEL" <option value="-2">
description="COM_COMPONENTBUILDER_SERVER_MODIFIED_DATE_DESC" JTRASHED</option>
size="22" </field>
readonly="true" <!-- Date Modified Field. Type: Calendar (joomla) -->
format="%Y-%m-%d %H:%M:%S" <field name="modified" type="calendar" class="readonly"
filter="user_utc" /> label="COM_COMPONENTBUILDER_SERVER_MODIFIED_DATE_LABEL" description="COM_COMPONENTBUILDER_SERVER_MODIFIED_DATE_DESC"
<!-- User Modified Field. Type: User (joomla)--> size="22" readonly="true" format="%Y-%m-%d %H:%M:%S" filter="user_utc" />
<field name="modified_by" <!-- User Modified Field. Type: User (joomla) -->
type="user" <field name="modified_by" type="user"
label="COM_COMPONENTBUILDER_SERVER_MODIFIED_BY_LABEL" label="COM_COMPONENTBUILDER_SERVER_MODIFIED_BY_LABEL"
description="COM_COMPONENTBUILDER_SERVER_MODIFIED_BY_DESC" description="COM_COMPONENTBUILDER_SERVER_MODIFIED_BY_DESC"
class="readonly" class="readonly"
readonly="true" readonly="true"
filter="unset" /> filter="unset"
<!-- Access Field. Type: Accesslevel (joomla)--> />
<field name="access" <!-- Access Field. Type: Accesslevel (joomla) -->
type="accesslevel" <field name="access"
label="JFIELD_ACCESS_LABEL" type="accesslevel"
description="JFIELD_ACCESS_DESC" label="JFIELD_ACCESS_LABEL"
default="1" description="JFIELD_ACCESS_DESC"
required="false" /> default="1"
<!-- Ordering Field. Type: Numbers (joomla)--> required="false"
<field name="ordering" />
type="number" <!-- Ordering Field. Type: Numbers (joomla) -->
class="inputbox validate-ordering" <field
label="COM_COMPONENTBUILDER_SERVER_ORDERING_LABEL" name="ordering"
description="" type="number"
default="0" class="inputbox validate-ordering"
size="6" label="COM_COMPONENTBUILDER_SERVER_ORDERING_LABEL"
required="false" /> description=""
<!-- Version Field. Type: Text (joomla)--> default="0"
<field name="version" size="6"
type="text" required="false"
class="readonly" />
label="COM_COMPONENTBUILDER_SERVER_VERSION_LABEL" <!-- Version Field. Type: Text (joomla) -->
description="COM_COMPONENTBUILDER_SERVER_VERSION_DESC" <field
size="6" name="version"
readonly="true" type="text"
filter="unset" /> class="readonly"
<!-- Dynamic Fields.--> label="COM_COMPONENTBUILDER_SERVER_VERSION_LABEL"
<!-- Name Field. Type: Text. (joomla)--> description="COM_COMPONENTBUILDER_SERVER_VERSION_DESC"
<field type="text" size="6"
name="name" readonly="true"
label="COM_COMPONENTBUILDER_SERVER_NAME_LABEL" filter="unset"
size="40" />
maxlength="150" <!-- Dynamic Fields. -->
description="COM_COMPONENTBUILDER_SERVER_NAME_DESCRIPTION" <!-- Name Field. Type: Text. (joomla) -->
class="text_area" <field
readonly="false" type="text"
disabled="false" name="name"
required="true" label="COM_COMPONENTBUILDER_SERVER_NAME_LABEL"
filter="STRING" size="40"
message="COM_COMPONENTBUILDER_SERVER_NAME_MESSAGE" maxlength="150"
hint="COM_COMPONENTBUILDER_SERVER_NAME_HINT" /> description="COM_COMPONENTBUILDER_SERVER_NAME_DESCRIPTION"
<!-- Protocol Field. Type: List. (joomla)--> class="text_area"
<field type="list" readonly="false"
name="protocol" disabled="false"
label="COM_COMPONENTBUILDER_SERVER_PROTOCOL_LABEL" required="true"
description="COM_COMPONENTBUILDER_SERVER_PROTOCOL_DESCRIPTION" filter="STRING"
class="list_class" message="COM_COMPONENTBUILDER_SERVER_NAME_MESSAGE"
multiple="false" hint="COM_COMPONENTBUILDER_SERVER_NAME_HINT"
filter="INT" />
required="true"> <!-- Protocol Field. Type: List. (joomla) -->
<!-- Option Set.--> <field
<option value="">COM_COMPONENTBUILDER_SERVER_SELECT_AN_OPTION</option> type="list"
<option value="1">COM_COMPONENTBUILDER_SERVER_FTP</option> name="protocol"
<option value="2">COM_COMPONENTBUILDER_SERVER_SFTP</option> label="COM_COMPONENTBUILDER_SERVER_PROTOCOL_LABEL"
</field> description="COM_COMPONENTBUILDER_SERVER_PROTOCOL_DESCRIPTION"
<!-- Note_ssh_security Field. Type: Note. A None Database Field. (joomla)--> class="list_class"
<field type="note" multiple="false"
name="note_ssh_security" filter="INT"
label="COM_COMPONENTBUILDER_SERVER_NOTE_SSH_SECURITY_LABEL" required="true">
description="COM_COMPONENTBUILDER_SERVER_NOTE_SSH_SECURITY_DESCRIPTION" <!-- Option Set. -->
heading="h4" <option value="">
class="alert alert-info note_ssh_security" /> COM_COMPONENTBUILDER_SERVER_SELECT_AN_OPTION</option>
<!-- Not_required Field. Type: Hidden. (joomla)--> <option value="1">
<field type="hidden" COM_COMPONENTBUILDER_SERVER_FTP</option>
name="not_required" <option value="2">
default="[]" /> COM_COMPONENTBUILDER_SERVER_SFTP</option>
<!-- Note_ftp_signature Field. Type: Note. A None Database Field. (joomla)--> </field>
<field type="note" <!-- Note_ssh_security Field. Type: Note. A None Database Field. (joomla) -->
name="note_ftp_signature" <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" />
label="COM_COMPONENTBUILDER_SERVER_NOTE_FTP_SIGNATURE_LABEL" <!-- Not_required Field. Type: Hidden. (joomla) -->
description="COM_COMPONENTBUILDER_SERVER_NOTE_FTP_SIGNATURE_DESCRIPTION" <field
heading="h4" type="hidden"
class="alert alert-success note_ftp_signature" /> name="not_required"
<!-- Signature Field. Type: Text. (joomla)--> default="[]"
<field type="text" />
name="signature" <!-- Note_ftp_signature Field. Type: Note. A None Database Field. (joomla) -->
label="COM_COMPONENTBUILDER_SERVER_SIGNATURE_LABEL" <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" />
size="250" <!-- Signature Field. Type: Text. (joomla) -->
maxlength="250" <field
description="COM_COMPONENTBUILDER_SERVER_SIGNATURE_DESCRIPTION" type="text"
class="text_area span12" name="signature"
required="true" label="COM_COMPONENTBUILDER_SERVER_SIGNATURE_LABEL"
filter="STRING" size="250"
message="COM_COMPONENTBUILDER_SERVER_SIGNATURE_MESSAGE" maxlength="250"
hint="COM_COMPONENTBUILDER_SERVER_SIGNATURE_HINT" description="COM_COMPONENTBUILDER_SERVER_SIGNATURE_DESCRIPTION"
autocomplete="off" /> class="text_area span12"
<!-- Private_key Field. Type: Textarea. (joomla)--> required="true"
<field type="textarea" filter="STRING"
name="private_key" message="COM_COMPONENTBUILDER_SERVER_SIGNATURE_MESSAGE"
label="COM_COMPONENTBUILDER_SERVER_PRIVATE_KEY_LABEL" hint="COM_COMPONENTBUILDER_SERVER_SIGNATURE_HINT"
rows="15" autocomplete="off"
cols="5" />
description="COM_COMPONENTBUILDER_SERVER_PRIVATE_KEY_DESCRIPTION" <!-- Private_key Field. Type: Textarea. (joomla) -->
class="input-xxlarge span12" <field
hint="COM_COMPONENTBUILDER_SERVER_PRIVATE_KEY_HINT" type="textarea"
required="true" /> name="private_key"
<!-- Secret Field. Type: Password. (joomla)--> label="COM_COMPONENTBUILDER_SERVER_PRIVATE_KEY_LABEL"
<field type="password" rows="15"
name="secret" cols="5"
label="COM_COMPONENTBUILDER_SERVER_SECRET_LABEL" description="COM_COMPONENTBUILDER_SERVER_PRIVATE_KEY_DESCRIPTION"
size="60" class="input-xxlarge span12"
description="COM_COMPONENTBUILDER_SERVER_SECRET_DESCRIPTION" hint="COM_COMPONENTBUILDER_SERVER_PRIVATE_KEY_HINT"
message="Error! Please add the passphrase here." required="true"
class="text_area" />
filter="raw" /> <!-- Secret Field. Type: Password. (joomla) -->
<!-- Password Field. Type: Password. (joomla)--> <field
<field type="password" type="password"
name="password" name="secret"
label="COM_COMPONENTBUILDER_SERVER_PASSWORD_LABEL" label="COM_COMPONENTBUILDER_SERVER_SECRET_LABEL"
size="60" size="60"
description="COM_COMPONENTBUILDER_SERVER_PASSWORD_DESCRIPTION" description="COM_COMPONENTBUILDER_SERVER_SECRET_DESCRIPTION"
message="Error! Please add the password here." message="Error! Please add the passphrase here."
class="text_area" class="text_area"
required="true" filter="raw"
filter="raw" /> />
<!-- Private Field. Type: Text. (joomla)--> <!-- Password Field. Type: Password. (joomla) -->
<field type="text" <field
name="private" type="password"
label="COM_COMPONENTBUILDER_SERVER_PRIVATE_LABEL" name="password"
size="50" label="COM_COMPONENTBUILDER_SERVER_PASSWORD_LABEL"
maxlength="150" size="60"
description="COM_COMPONENTBUILDER_SERVER_PRIVATE_DESCRIPTION" description="COM_COMPONENTBUILDER_SERVER_PASSWORD_DESCRIPTION"
class="text_area" message="Error! Please add the password here."
readonly="false" class="text_area"
disabled="false" required="true"
required="true" filter="raw"
filter="PATH" />
message="COM_COMPONENTBUILDER_SERVER_PRIVATE_MESSAGE" <!-- Private Field. Type: Text. (joomla) -->
hint="COM_COMPONENTBUILDER_SERVER_PRIVATE_HINT" /> <field
<!-- Authentication Field. Type: List. (joomla)--> type="text"
<field type="list" name="private"
name="authentication" label="COM_COMPONENTBUILDER_SERVER_PRIVATE_LABEL"
label="COM_COMPONENTBUILDER_SERVER_AUTHENTICATION_LABEL" size="50"
description="COM_COMPONENTBUILDER_SERVER_AUTHENTICATION_DESCRIPTION" maxlength="150"
class="list_class" description="COM_COMPONENTBUILDER_SERVER_PRIVATE_DESCRIPTION"
multiple="false" class="text_area"
filter="INT" readonly="false"
required="true"> disabled="false"
<!-- Option Set.--> required="true"
<option value="">COM_COMPONENTBUILDER_SERVER_SELECT_AN_OPTION</option> filter="PATH"
<option value="1">COM_COMPONENTBUILDER_SERVER_PASSWORD</option> message="COM_COMPONENTBUILDER_SERVER_PRIVATE_MESSAGE"
<option value="2">COM_COMPONENTBUILDER_SERVER_PRIVATE_KEY_FILE_PATH</option> hint="COM_COMPONENTBUILDER_SERVER_PRIVATE_HINT"
<option value="3">COM_COMPONENTBUILDER_SERVER_BOTH_PASSWORD_PRIVATE_KEY_FILE_PATH</option> />
<option value="4">COM_COMPONENTBUILDER_SERVER_PRIVATE_KEY_TEXT_FIELD</option> <!-- Authentication Field. Type: List. (joomla) -->
<option value="5">COM_COMPONENTBUILDER_SERVER_BOTH_PASSWORD_PRIVATE_KEY_TEXT_FIELD</option> <field
</field> type="list"
<!-- Path Field. Type: Text. (joomla)--> name="authentication"
<field type="text" label="COM_COMPONENTBUILDER_SERVER_AUTHENTICATION_LABEL"
name="path" description="COM_COMPONENTBUILDER_SERVER_AUTHENTICATION_DESCRIPTION"
label="COM_COMPONENTBUILDER_SERVER_PATH_LABEL" class="list_class"
size="40" multiple="false"
maxlength="150" filter="INT"
description="COM_COMPONENTBUILDER_SERVER_PATH_DESCRIPTION" required="true">
class="text_area" <!-- Option Set. -->
readonly="false" <option value="">
disabled="false" COM_COMPONENTBUILDER_SERVER_SELECT_AN_OPTION</option>
required="true" <option value="1">
filter="PATH" COM_COMPONENTBUILDER_SERVER_PASSWORD</option>
message="COM_COMPONENTBUILDER_SERVER_PATH_MESSAGE" <option value="2">
hint="COM_COMPONENTBUILDER_SERVER_PATH_HINT" /> COM_COMPONENTBUILDER_SERVER_PRIVATE_KEY_FILE_PATH</option>
<!-- Port Field. Type: Text. (joomla)--> <option value="3">
<field type="text" COM_COMPONENTBUILDER_SERVER_BOTH_PASSWORD_PRIVATE_KEY_FILE_PATH</option>
name="port" <option value="4">
label="COM_COMPONENTBUILDER_SERVER_PORT_LABEL" COM_COMPONENTBUILDER_SERVER_PRIVATE_KEY_TEXT_FIELD</option>
size="10" <option value="5">
maxlength="50" COM_COMPONENTBUILDER_SERVER_BOTH_PASSWORD_PRIVATE_KEY_TEXT_FIELD</option>
default="22" </field>
description="COM_COMPONENTBUILDER_SERVER_PORT_DESCRIPTION" <!-- Path Field. Type: Text. (joomla) -->
class="text_area" <field
required="true" type="text"
filter="INT" name="path"
message="COM_COMPONENTBUILDER_SERVER_PORT_MESSAGE" label="COM_COMPONENTBUILDER_SERVER_PATH_LABEL"
hint="COM_COMPONENTBUILDER_SERVER_PORT_HINT" size="40"
onchange="if(!jQuery(this).val().match(/^\d+$/)){jQuery(this).val('')};" /> maxlength="150"
<!-- Host Field. Type: Text. (joomla)--> description="COM_COMPONENTBUILDER_SERVER_PATH_DESCRIPTION"
<field type="text" class="text_area"
name="host" readonly="false"
label="COM_COMPONENTBUILDER_SERVER_HOST_LABEL" disabled="false"
size="40" required="true"
maxlength="150" filter="PATH"
description="COM_COMPONENTBUILDER_SERVER_HOST_DESCRIPTION" message="COM_COMPONENTBUILDER_SERVER_PATH_MESSAGE"
class="text_area" hint="COM_COMPONENTBUILDER_SERVER_PATH_HINT"
required="true" />
filter="STRING" <!-- Port Field. Type: Text. (joomla) -->
message="COM_COMPONENTBUILDER_SERVER_HOST_MESSAGE" <field
hint="COM_COMPONENTBUILDER_SERVER_HOST_HINT" /> type="text"
<!-- Username Field. Type: Text. (joomla)--> name="port"
<field type="text" label="COM_COMPONENTBUILDER_SERVER_PORT_LABEL"
name="username" size="10"
label="COM_COMPONENTBUILDER_SERVER_USERNAME_LABEL" maxlength="50"
size="60" default="22"
maxlength="150" description="COM_COMPONENTBUILDER_SERVER_PORT_DESCRIPTION"
description="COM_COMPONENTBUILDER_SERVER_USERNAME_DESCRIPTION" class="text_area"
class="text_area" required="true"
required="true" filter="INT"
filter="STRING" message="COM_COMPONENTBUILDER_SERVER_PORT_MESSAGE"
message="COM_COMPONENTBUILDER_SERVER_USERNAME_MESSAGE" hint="COM_COMPONENTBUILDER_SERVER_PORT_HINT"
hint="COM_COMPONENTBUILDER_SERVER_USERNAME_HINT" /> onchange="if(!jQuery(this).val().match(/^\d+$/)){jQuery(this).val('')};"
</fieldset> />
<!-- 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. --> <!-- Access Control Fields. -->
<fieldset name="accesscontrol"> <fieldset name="accesscontrol">

File diff suppressed because it is too large Load Diff

View File

@ -4,225 +4,250 @@
addfieldpath="/administrator/components/com_componentbuilder/models/fields" addfieldpath="/administrator/components/com_componentbuilder/models/fields"
> >
<fieldset name="details"> <fieldset name="details">
<!-- Default Fields.--> <!-- Default Fields. -->
<!-- Id Field. Type: Text (joomla)--> <!-- Id Field. Type: Text (joomla) -->
<field name="id" <field
type="text" name="id"
class="readonly" type="text" class="readonly" label="JGLOBAL_FIELD_ID_LABEL"
label="JGLOBAL_FIELD_ID_LABEL" description ="JGLOBAL_FIELD_ID_DESC" size="10" default="0"
description="JGLOBAL_FIELD_ID_DESC" readonly="true"
size="10" />
default="0" /> <!-- Date Created Field. Type: Calendar (joomla) -->
<!-- Date Created Field. Type: Calendar (joomla)--> <field
<field name="created" name="created"
type="calendar" type="calendar"
label="COM_COMPONENTBUILDER_SNIPPET_CREATED_DATE_LABEL" label="COM_COMPONENTBUILDER_SNIPPET_CREATED_DATE_LABEL"
description="COM_COMPONENTBUILDER_SNIPPET_CREATED_DATE_DESC" description="COM_COMPONENTBUILDER_SNIPPET_CREATED_DATE_DESC"
size="22" size="22"
format="%Y-%m-%d %H:%M:%S" format="%Y-%m-%d %H:%M:%S"
filter="user_utc" /> filter="user_utc"
<!-- User Created Field. Type: User (joomla)--> />
<field name="created_by" <!-- User Created Field. Type: User (joomla) -->
type="user" <field
label="COM_COMPONENTBUILDER_SNIPPET_CREATED_BY_LABEL" name="created_by"
description="COM_COMPONENTBUILDER_SNIPPET_CREATED_BY_DESC" /> type="user"
<!-- Published Field. Type: List (joomla)--> label="COM_COMPONENTBUILDER_SNIPPET_CREATED_BY_LABEL"
<field name="published" description="COM_COMPONENTBUILDER_SNIPPET_CREATED_BY_DESC"
type="list" />
label="JSTATUS"> <!-- Published Field. Type: List (joomla) -->
<option value="1">JPUBLISHED</option> <field name="published" type="list" label="JSTATUS"
<option value="0">JUNPUBLISHED</option> description="JFIELD_PUBLISHED_DESC" class="chzn-color-state"
<option value="2">JARCHIVED</option> filter="intval" size="1" default="1" >
<option value="-2">JTRASHED</option> <option value="1">
</field> JPUBLISHED</option>
<!-- Date Modified Field. Type: Calendar (joomla)--> <option value="0">
<field name="modified" JUNPUBLISHED</option>
type="calendar" <option value="2">
class="readonly" JARCHIVED</option>
label="COM_COMPONENTBUILDER_SNIPPET_MODIFIED_DATE_LABEL" <option value="-2">
description="COM_COMPONENTBUILDER_SNIPPET_MODIFIED_DATE_DESC" JTRASHED</option>
size="22" </field>
readonly="true" <!-- Date Modified Field. Type: Calendar (joomla) -->
format="%Y-%m-%d %H:%M:%S" <field name="modified" type="calendar" class="readonly"
filter="user_utc" /> label="COM_COMPONENTBUILDER_SNIPPET_MODIFIED_DATE_LABEL" description="COM_COMPONENTBUILDER_SNIPPET_MODIFIED_DATE_DESC"
<!-- User Modified Field. Type: User (joomla)--> size="22" readonly="true" format="%Y-%m-%d %H:%M:%S" filter="user_utc" />
<field name="modified_by" <!-- User Modified Field. Type: User (joomla) -->
type="user" <field name="modified_by" type="user"
label="COM_COMPONENTBUILDER_SNIPPET_MODIFIED_BY_LABEL" label="COM_COMPONENTBUILDER_SNIPPET_MODIFIED_BY_LABEL"
description="COM_COMPONENTBUILDER_SNIPPET_MODIFIED_BY_DESC" description="COM_COMPONENTBUILDER_SNIPPET_MODIFIED_BY_DESC"
class="readonly" class="readonly"
readonly="true" readonly="true"
filter="unset" /> filter="unset"
<!-- Access Field. Type: Accesslevel (joomla)--> />
<field name="access" <!-- Access Field. Type: Accesslevel (joomla) -->
type="accesslevel" <field name="access"
label="JFIELD_ACCESS_LABEL" type="accesslevel"
description="JFIELD_ACCESS_DESC" label="JFIELD_ACCESS_LABEL"
default="1" description="JFIELD_ACCESS_DESC"
required="false" /> default="1"
<!-- Ordering Field. Type: Numbers (joomla)--> required="false"
<field name="ordering" />
type="number" <!-- Ordering Field. Type: Numbers (joomla) -->
class="inputbox validate-ordering" <field
label="COM_COMPONENTBUILDER_SNIPPET_ORDERING_LABEL" name="ordering"
description="" type="number"
default="0" class="inputbox validate-ordering"
size="6" label="COM_COMPONENTBUILDER_SNIPPET_ORDERING_LABEL"
required="false" /> description=""
<!-- Version Field. Type: Text (joomla)--> default="0"
<field name="version" size="6"
type="text" required="false"
class="readonly" />
label="COM_COMPONENTBUILDER_SNIPPET_VERSION_LABEL" <!-- Version Field. Type: Text (joomla) -->
description="COM_COMPONENTBUILDER_SNIPPET_VERSION_DESC" <field
size="6" name="version"
readonly="true" type="text"
filter="unset" /> class="readonly"
<!-- Dynamic Fields.--> label="COM_COMPONENTBUILDER_SNIPPET_VERSION_LABEL"
<!-- Name Field. Type: Text. (joomla)--> description="COM_COMPONENTBUILDER_SNIPPET_VERSION_DESC"
<field type="text" size="6"
name="name" readonly="true"
label="COM_COMPONENTBUILDER_SNIPPET_NAME_LABEL" filter="unset"
size="40" />
maxlength="150" <!-- Dynamic Fields. -->
description="COM_COMPONENTBUILDER_SNIPPET_NAME_DESCRIPTION" <!-- Name Field. Type: Text. (joomla) -->
class="text_area" <field
readonly="false" type="text"
disabled="false" name="name"
required="true" label="COM_COMPONENTBUILDER_SNIPPET_NAME_LABEL"
filter="STRING" size="40"
message="COM_COMPONENTBUILDER_SNIPPET_NAME_MESSAGE" maxlength="150"
hint="COM_COMPONENTBUILDER_SNIPPET_NAME_HINT" /> description="COM_COMPONENTBUILDER_SNIPPET_NAME_DESCRIPTION"
<!-- Url Field. Type: Url. (joomla)--> class="text_area"
<field type="url" readonly="false"
name="url" disabled="false"
label="COM_COMPONENTBUILDER_SNIPPET_URL_LABEL" required="true"
size="60" filter="STRING"
maxlength="150" message="COM_COMPONENTBUILDER_SNIPPET_NAME_MESSAGE"
description="COM_COMPONENTBUILDER_SNIPPET_URL_DESCRIPTION" hint="COM_COMPONENTBUILDER_SNIPPET_NAME_HINT"
class="text_area" />
required="true" <!-- Url Field. Type: Url. (joomla) -->
filter="url" <field
validated="url" type="url"
message="COM_COMPONENTBUILDER_SNIPPET_URL_MESSAGE" name="url"
hint="COM_COMPONENTBUILDER_SNIPPET_URL_HINT" /> label="COM_COMPONENTBUILDER_SNIPPET_URL_LABEL"
<!-- Type Field. Type: Snippettype. (custom)--> size="60"
<field type="snippettype" maxlength="150"
name="type" description="COM_COMPONENTBUILDER_SNIPPET_URL_DESCRIPTION"
label="COM_COMPONENTBUILDER_SNIPPET_TYPE_LABEL" class="text_area"
description="COM_COMPONENTBUILDER_SNIPPET_TYPE_DESCRIPTION" required="true"
class="list_class" filter="url"
multiple="false" validated="url"
default="0" message="COM_COMPONENTBUILDER_SNIPPET_URL_MESSAGE"
required="true" /> hint="COM_COMPONENTBUILDER_SNIPPET_URL_HINT"
<!-- Heading Field. Type: Text. (joomla)--> />
<field type="text" <!-- Type Field. Type: Snippettype. (custom) -->
name="heading" <field
label="COM_COMPONENTBUILDER_SNIPPET_HEADING_LABEL" type="snippettype"
size="40" name="type"
maxlength="150" label="COM_COMPONENTBUILDER_SNIPPET_TYPE_LABEL"
description="COM_COMPONENTBUILDER_SNIPPET_HEADING_DESCRIPTION" description="COM_COMPONENTBUILDER_SNIPPET_TYPE_DESCRIPTION"
class="text_area" class="list_class"
required="true" multiple="false"
filter="HTML" default="0"
message="COM_COMPONENTBUILDER_SNIPPET_HEADING_MESSAGE" required="true"
hint="COM_COMPONENTBUILDER_SNIPPET_HEADING_HINT" /> />
<!-- Library Field. Type: Library. (custom)--> <!-- Heading Field. Type: Text. (joomla) -->
<field type="library" <field
name="library" type="text"
label="COM_COMPONENTBUILDER_SNIPPET_LIBRARY_LABEL" name="heading"
description="COM_COMPONENTBUILDER_SNIPPET_LIBRARY_DESCRIPTION" label="COM_COMPONENTBUILDER_SNIPPET_HEADING_LABEL"
class="list_class" size="40"
multiple="false" maxlength="150"
default="0" description="COM_COMPONENTBUILDER_SNIPPET_HEADING_DESCRIPTION"
required="true" class="text_area"
button="true" /> required="true"
<!-- Note_contributor_details Field. Type: Note. A None Database Field. (joomla)--> filter="HTML"
<field type="note" message="COM_COMPONENTBUILDER_SNIPPET_HEADING_MESSAGE"
name="note_contributor_details" hint="COM_COMPONENTBUILDER_SNIPPET_HEADING_HINT"
label="COM_COMPONENTBUILDER_SNIPPET_NOTE_CONTRIBUTOR_DETAILS_LABEL" />
description="COM_COMPONENTBUILDER_SNIPPET_NOTE_CONTRIBUTOR_DETAILS_DESCRIPTION" <!-- Library Field. Type: Library. (custom) -->
heading="h4" <field
class="alert alert-info note_contributor_details" /> type="library"
<!-- Contributor_email Field. Type: Text. (joomla)--> name="library"
<field type="text" label="COM_COMPONENTBUILDER_SNIPPET_LIBRARY_LABEL"
name="contributor_email" description="COM_COMPONENTBUILDER_SNIPPET_LIBRARY_DESCRIPTION"
label="COM_COMPONENTBUILDER_SNIPPET_CONTRIBUTOR_EMAIL_LABEL" class="list_class"
size="10" multiple="false"
maxlength="50" default="0"
description="COM_COMPONENTBUILDER_SNIPPET_CONTRIBUTOR_EMAIL_DESCRIPTION" required="true"
class="text_area" button="true"
readonly="true" />
filter="STRING" <!-- Note_contributor_details Field. Type: Note. A None Database Field. (joomla) -->
message="COM_COMPONENTBUILDER_SNIPPET_CONTRIBUTOR_EMAIL_MESSAGE" <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" />
hint="COM_COMPONENTBUILDER_SNIPPET_CONTRIBUTOR_EMAIL_HINT" /> <!-- Contributor_email Field. Type: Text. (joomla) -->
<!-- Contributor_name Field. Type: Text. (joomla)--> <field
<field type="text" type="text"
name="contributor_name" name="contributor_email"
label="COM_COMPONENTBUILDER_SNIPPET_CONTRIBUTOR_NAME_LABEL" label="COM_COMPONENTBUILDER_SNIPPET_CONTRIBUTOR_EMAIL_LABEL"
size="10" size="10"
maxlength="50" maxlength="50"
description="COM_COMPONENTBUILDER_SNIPPET_CONTRIBUTOR_NAME_DESCRIPTION" description="COM_COMPONENTBUILDER_SNIPPET_CONTRIBUTOR_EMAIL_DESCRIPTION"
class="text_area" class="text_area"
readonly="true" readonly="true"
filter="STRING" filter="STRING"
message="COM_COMPONENTBUILDER_SNIPPET_CONTRIBUTOR_NAME_MESSAGE" message="COM_COMPONENTBUILDER_SNIPPET_CONTRIBUTOR_EMAIL_MESSAGE"
hint="COM_COMPONENTBUILDER_SNIPPET_CONTRIBUTOR_NAME_HINT" /> hint="COM_COMPONENTBUILDER_SNIPPET_CONTRIBUTOR_EMAIL_HINT"
<!-- Contributor_website Field. Type: Text. (joomla)--> />
<field type="text" <!-- Contributor_name Field. Type: Text. (joomla) -->
name="contributor_website" <field
label="COM_COMPONENTBUILDER_SNIPPET_CONTRIBUTOR_WEBSITE_LABEL" type="text"
size="10" name="contributor_name"
maxlength="50" label="COM_COMPONENTBUILDER_SNIPPET_CONTRIBUTOR_NAME_LABEL"
description="COM_COMPONENTBUILDER_SNIPPET_CONTRIBUTOR_WEBSITE_DESCRIPTION" size="10"
class="text_area" maxlength="50"
readonly="true" description="COM_COMPONENTBUILDER_SNIPPET_CONTRIBUTOR_NAME_DESCRIPTION"
filter="STRING" class="text_area"
message="COM_COMPONENTBUILDER_SNIPPET_CONTRIBUTOR_WEBSITE_MESSAGE" readonly="true"
hint="COM_COMPONENTBUILDER_SNIPPET_CONTRIBUTOR_WEBSITE_HINT" /> filter="STRING"
<!-- Contributor_company Field. Type: Text. (joomla)--> message="COM_COMPONENTBUILDER_SNIPPET_CONTRIBUTOR_NAME_MESSAGE"
<field type="text" hint="COM_COMPONENTBUILDER_SNIPPET_CONTRIBUTOR_NAME_HINT"
name="contributor_company" />
label="COM_COMPONENTBUILDER_SNIPPET_CONTRIBUTOR_COMPANY_LABEL" <!-- Contributor_website Field. Type: Text. (joomla) -->
size="10" <field
maxlength="50" type="text"
description="COM_COMPONENTBUILDER_SNIPPET_CONTRIBUTOR_COMPANY_DESCRIPTION" name="contributor_website"
class="text_area" label="COM_COMPONENTBUILDER_SNIPPET_CONTRIBUTOR_WEBSITE_LABEL"
readonly="true" size="10"
filter="STRING" maxlength="50"
message="COM_COMPONENTBUILDER_SNIPPET_CONTRIBUTOR_COMPANY_MESSAGE" description="COM_COMPONENTBUILDER_SNIPPET_CONTRIBUTOR_WEBSITE_DESCRIPTION"
hint="COM_COMPONENTBUILDER_SNIPPET_CONTRIBUTOR_COMPANY_HINT" /> class="text_area"
<!-- Snippet Field. Type: Textarea. (joomla)--> readonly="true"
<field type="textarea" filter="STRING"
name="snippet" message="COM_COMPONENTBUILDER_SNIPPET_CONTRIBUTOR_WEBSITE_MESSAGE"
label="COM_COMPONENTBUILDER_SNIPPET_SNIPPET_LABEL" hint="COM_COMPONENTBUILDER_SNIPPET_CONTRIBUTOR_WEBSITE_HINT"
rows="27" />
cols="10" <!-- Contributor_company Field. Type: Text. (joomla) -->
class="text_area span12" <field
filter="raw" type="text"
hint="COM_COMPONENTBUILDER_SNIPPET_SNIPPET_HINT" name="contributor_company"
required="true" /> label="COM_COMPONENTBUILDER_SNIPPET_CONTRIBUTOR_COMPANY_LABEL"
<!-- Usage Field. Type: Textarea. (joomla)--> size="10"
<field type="textarea" maxlength="50"
name="usage" description="COM_COMPONENTBUILDER_SNIPPET_CONTRIBUTOR_COMPANY_DESCRIPTION"
label="COM_COMPONENTBUILDER_SNIPPET_USAGE_LABEL" class="text_area"
rows="11" readonly="true"
cols="10" filter="STRING"
description="COM_COMPONENTBUILDER_SNIPPET_USAGE_DESCRIPTION" message="COM_COMPONENTBUILDER_SNIPPET_CONTRIBUTOR_COMPANY_MESSAGE"
class="text_area span12" hint="COM_COMPONENTBUILDER_SNIPPET_CONTRIBUTOR_COMPANY_HINT"
filter="STRING" />
hint="COM_COMPONENTBUILDER_SNIPPET_USAGE_HINT" /> <!-- Snippet Field. Type: Textarea. (joomla) -->
<!-- Description Field. Type: Textarea. (joomla)--> <field
<field type="textarea" type="textarea"
name="description" name="snippet"
label="COM_COMPONENTBUILDER_SNIPPET_DESCRIPTION_LABEL" label="COM_COMPONENTBUILDER_SNIPPET_SNIPPET_LABEL"
rows="11" rows="27"
cols="10" cols="10"
description="COM_COMPONENTBUILDER_SNIPPET_DESCRIPTION_DESCRIPTION" class="text_area span12"
class="text_area span12" filter="raw"
filter="HTML" hint="COM_COMPONENTBUILDER_SNIPPET_SNIPPET_HINT"
hint="COM_COMPONENTBUILDER_SNIPPET_DESCRIPTION_HINT" /> required="true"
</fieldset> />
<!-- 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. --> <!-- Access Control Fields. -->
<fieldset name="accesscontrol"> <fieldset name="accesscontrol">

View File

@ -4,110 +4,120 @@
addfieldpath="/administrator/components/com_componentbuilder/models/fields" addfieldpath="/administrator/components/com_componentbuilder/models/fields"
> >
<fieldset name="details"> <fieldset name="details">
<!-- Default Fields.--> <!-- Default Fields. -->
<!-- Id Field. Type: Text (joomla)--> <!-- Id Field. Type: Text (joomla) -->
<field name="id" <field
type="text" name="id"
class="readonly" type="text" class="readonly" label="JGLOBAL_FIELD_ID_LABEL"
label="JGLOBAL_FIELD_ID_LABEL" description ="JGLOBAL_FIELD_ID_DESC" size="10" default="0"
description="JGLOBAL_FIELD_ID_DESC" readonly="true"
size="10" />
default="0" /> <!-- Date Created Field. Type: Calendar (joomla) -->
<!-- Date Created Field. Type: Calendar (joomla)--> <field
<field name="created" name="created"
type="calendar" type="calendar"
label="COM_COMPONENTBUILDER_SNIPPET_TYPE_CREATED_DATE_LABEL" label="COM_COMPONENTBUILDER_SNIPPET_TYPE_CREATED_DATE_LABEL"
description="COM_COMPONENTBUILDER_SNIPPET_TYPE_CREATED_DATE_DESC" description="COM_COMPONENTBUILDER_SNIPPET_TYPE_CREATED_DATE_DESC"
size="22" size="22"
format="%Y-%m-%d %H:%M:%S" format="%Y-%m-%d %H:%M:%S"
filter="user_utc" /> filter="user_utc"
<!-- User Created Field. Type: User (joomla)--> />
<field name="created_by" <!-- User Created Field. Type: User (joomla) -->
type="user" <field
label="COM_COMPONENTBUILDER_SNIPPET_TYPE_CREATED_BY_LABEL" name="created_by"
description="COM_COMPONENTBUILDER_SNIPPET_TYPE_CREATED_BY_DESC" /> type="user"
<!-- Published Field. Type: List (joomla)--> label="COM_COMPONENTBUILDER_SNIPPET_TYPE_CREATED_BY_LABEL"
<field name="published" description="COM_COMPONENTBUILDER_SNIPPET_TYPE_CREATED_BY_DESC"
type="list" />
label="JSTATUS"> <!-- Published Field. Type: List (joomla) -->
<option value="1">JPUBLISHED</option> <field name="published" type="list" label="JSTATUS"
<option value="0">JUNPUBLISHED</option> description="JFIELD_PUBLISHED_DESC" class="chzn-color-state"
<option value="2">JARCHIVED</option> filter="intval" size="1" default="1" >
<option value="-2">JTRASHED</option> <option value="1">
</field> JPUBLISHED</option>
<!-- Date Modified Field. Type: Calendar (joomla)--> <option value="0">
<field name="modified" JUNPUBLISHED</option>
type="calendar" <option value="2">
class="readonly" JARCHIVED</option>
label="COM_COMPONENTBUILDER_SNIPPET_TYPE_MODIFIED_DATE_LABEL" <option value="-2">
description="COM_COMPONENTBUILDER_SNIPPET_TYPE_MODIFIED_DATE_DESC" JTRASHED</option>
size="22" </field>
readonly="true" <!-- Date Modified Field. Type: Calendar (joomla) -->
format="%Y-%m-%d %H:%M:%S" <field name="modified" type="calendar" class="readonly"
filter="user_utc" /> label="COM_COMPONENTBUILDER_SNIPPET_TYPE_MODIFIED_DATE_LABEL" description="COM_COMPONENTBUILDER_SNIPPET_TYPE_MODIFIED_DATE_DESC"
<!-- User Modified Field. Type: User (joomla)--> size="22" readonly="true" format="%Y-%m-%d %H:%M:%S" filter="user_utc" />
<field name="modified_by" <!-- User Modified Field. Type: User (joomla) -->
type="user" <field name="modified_by" type="user"
label="COM_COMPONENTBUILDER_SNIPPET_TYPE_MODIFIED_BY_LABEL" label="COM_COMPONENTBUILDER_SNIPPET_TYPE_MODIFIED_BY_LABEL"
description="COM_COMPONENTBUILDER_SNIPPET_TYPE_MODIFIED_BY_DESC" description="COM_COMPONENTBUILDER_SNIPPET_TYPE_MODIFIED_BY_DESC"
class="readonly" class="readonly"
readonly="true" readonly="true"
filter="unset" /> filter="unset"
<!-- Access Field. Type: Accesslevel (joomla)--> />
<field name="access" <!-- Access Field. Type: Accesslevel (joomla) -->
type="accesslevel" <field name="access"
label="JFIELD_ACCESS_LABEL" type="accesslevel"
description="JFIELD_ACCESS_DESC" label="JFIELD_ACCESS_LABEL"
default="1" description="JFIELD_ACCESS_DESC"
required="false" /> default="1"
<!-- Ordering Field. Type: Numbers (joomla)--> required="false"
<field name="ordering" />
type="number" <!-- Ordering Field. Type: Numbers (joomla) -->
class="inputbox validate-ordering" <field
label="COM_COMPONENTBUILDER_SNIPPET_TYPE_ORDERING_LABEL" name="ordering"
description="" type="number"
default="0" class="inputbox validate-ordering"
size="6" label="COM_COMPONENTBUILDER_SNIPPET_TYPE_ORDERING_LABEL"
required="false" /> description=""
<!-- Version Field. Type: Text (joomla)--> default="0"
<field name="version" size="6"
type="text" required="false"
class="readonly" />
label="COM_COMPONENTBUILDER_SNIPPET_TYPE_VERSION_LABEL" <!-- Version Field. Type: Text (joomla) -->
description="COM_COMPONENTBUILDER_SNIPPET_TYPE_VERSION_DESC" <field
size="6" name="version"
readonly="true" type="text"
filter="unset" /> class="readonly"
<!-- Dynamic Fields.--> label="COM_COMPONENTBUILDER_SNIPPET_TYPE_VERSION_LABEL"
<!-- Name Field. Type: Text. (joomla)--> description="COM_COMPONENTBUILDER_SNIPPET_TYPE_VERSION_DESC"
<field type="text" size="6"
name="name" readonly="true"
label="COM_COMPONENTBUILDER_SNIPPET_TYPE_NAME_LABEL" filter="unset"
size="40" />
maxlength="150" <!-- Dynamic Fields. -->
description="COM_COMPONENTBUILDER_SNIPPET_TYPE_NAME_DESCRIPTION" <!-- Name Field. Type: Text. (joomla) -->
class="text_area" <field
readonly="false" type="text"
disabled="false" name="name"
required="true" label="COM_COMPONENTBUILDER_SNIPPET_TYPE_NAME_LABEL"
filter="STRING" size="40"
message="COM_COMPONENTBUILDER_SNIPPET_TYPE_NAME_MESSAGE" maxlength="150"
hint="COM_COMPONENTBUILDER_SNIPPET_TYPE_NAME_HINT" /> description="COM_COMPONENTBUILDER_SNIPPET_TYPE_NAME_DESCRIPTION"
<!-- Description Field. Type: Text. (joomla)--> class="text_area"
<field type="text" readonly="false"
name="description" disabled="false"
label="COM_COMPONENTBUILDER_SNIPPET_TYPE_DESCRIPTION_LABEL" required="true"
size="80" filter="STRING"
maxlength="150" message="COM_COMPONENTBUILDER_SNIPPET_TYPE_NAME_MESSAGE"
description="COM_COMPONENTBUILDER_SNIPPET_TYPE_DESCRIPTION_DESCRIPTION" hint="COM_COMPONENTBUILDER_SNIPPET_TYPE_NAME_HINT"
class="text_area" />
readonly="false" <!-- Description Field. Type: Text. (joomla) -->
disabled="false" <field
required="false" type="text"
filter="STRING" name="description"
message="COM_COMPONENTBUILDER_SNIPPET_TYPE_DESCRIPTION_MESSAGE" label="COM_COMPONENTBUILDER_SNIPPET_TYPE_DESCRIPTION_LABEL"
hint="COM_COMPONENTBUILDER_SNIPPET_TYPE_DESCRIPTION_HINT" /> size="80"
</fieldset> 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. --> <!-- Access Control Fields. -->
<fieldset name="accesscontrol"> <fieldset name="accesscontrol">

View File

@ -4,217 +4,221 @@
addfieldpath="/administrator/components/com_componentbuilder/models/fields" addfieldpath="/administrator/components/com_componentbuilder/models/fields"
> >
<fieldset name="details"> <fieldset name="details">
<!-- Default Fields.--> <!-- Default Fields. -->
<!-- Id Field. Type: Text (joomla)--> <!-- Id Field. Type: Text (joomla) -->
<field name="id" <field
type="text" name="id"
class="readonly" type="text" class="readonly" label="JGLOBAL_FIELD_ID_LABEL"
label="JGLOBAL_FIELD_ID_LABEL" description ="JGLOBAL_FIELD_ID_DESC" size="10" default="0"
description="JGLOBAL_FIELD_ID_DESC" readonly="true"
size="10" />
default="0" /> <!-- Date Created Field. Type: Calendar (joomla) -->
<!-- Date Created Field. Type: Calendar (joomla)--> <field
<field name="created" name="created"
type="calendar" type="calendar"
label="COM_COMPONENTBUILDER_TEMPLATE_CREATED_DATE_LABEL" label="COM_COMPONENTBUILDER_TEMPLATE_CREATED_DATE_LABEL"
description="COM_COMPONENTBUILDER_TEMPLATE_CREATED_DATE_DESC" description="COM_COMPONENTBUILDER_TEMPLATE_CREATED_DATE_DESC"
size="22" size="22"
format="%Y-%m-%d %H:%M:%S" format="%Y-%m-%d %H:%M:%S"
filter="user_utc" /> filter="user_utc"
<!-- User Created Field. Type: User (joomla)--> />
<field name="created_by" <!-- User Created Field. Type: User (joomla) -->
type="user" <field
label="COM_COMPONENTBUILDER_TEMPLATE_CREATED_BY_LABEL" name="created_by"
description="COM_COMPONENTBUILDER_TEMPLATE_CREATED_BY_DESC" /> type="user"
<!-- Published Field. Type: List (joomla)--> label="COM_COMPONENTBUILDER_TEMPLATE_CREATED_BY_LABEL"
<field name="published" description="COM_COMPONENTBUILDER_TEMPLATE_CREATED_BY_DESC"
type="list" />
label="JSTATUS"> <!-- Published Field. Type: List (joomla) -->
<option value="1">JPUBLISHED</option> <field name="published" type="list" label="JSTATUS"
<option value="0">JUNPUBLISHED</option> description="JFIELD_PUBLISHED_DESC" class="chzn-color-state"
<option value="2">JARCHIVED</option> filter="intval" size="1" default="1" >
<option value="-2">JTRASHED</option> <option value="1">
</field> JPUBLISHED</option>
<!-- Date Modified Field. Type: Calendar (joomla)--> <option value="0">
<field name="modified" JUNPUBLISHED</option>
type="calendar" <option value="2">
class="readonly" JARCHIVED</option>
label="COM_COMPONENTBUILDER_TEMPLATE_MODIFIED_DATE_LABEL" <option value="-2">
description="COM_COMPONENTBUILDER_TEMPLATE_MODIFIED_DATE_DESC" JTRASHED</option>
size="22" </field>
readonly="true" <!-- Date Modified Field. Type: Calendar (joomla) -->
format="%Y-%m-%d %H:%M:%S" <field name="modified" type="calendar" class="readonly"
filter="user_utc" /> label="COM_COMPONENTBUILDER_TEMPLATE_MODIFIED_DATE_LABEL" description="COM_COMPONENTBUILDER_TEMPLATE_MODIFIED_DATE_DESC"
<!-- User Modified Field. Type: User (joomla)--> size="22" readonly="true" format="%Y-%m-%d %H:%M:%S" filter="user_utc" />
<field name="modified_by" <!-- User Modified Field. Type: User (joomla) -->
type="user" <field name="modified_by" type="user"
label="COM_COMPONENTBUILDER_TEMPLATE_MODIFIED_BY_LABEL" label="COM_COMPONENTBUILDER_TEMPLATE_MODIFIED_BY_LABEL"
description="COM_COMPONENTBUILDER_TEMPLATE_MODIFIED_BY_DESC" description="COM_COMPONENTBUILDER_TEMPLATE_MODIFIED_BY_DESC"
class="readonly" class="readonly"
readonly="true" readonly="true"
filter="unset" /> filter="unset"
<!-- Access Field. Type: Accesslevel (joomla)--> />
<field name="access" <!-- Access Field. Type: Accesslevel (joomla) -->
type="accesslevel" <field name="access"
label="JFIELD_ACCESS_LABEL" type="accesslevel"
description="JFIELD_ACCESS_DESC" label="JFIELD_ACCESS_LABEL"
default="1" description="JFIELD_ACCESS_DESC"
required="false" /> default="1"
<!-- Ordering Field. Type: Numbers (joomla)--> required="false"
<field name="ordering" />
type="number" <!-- Ordering Field. Type: Numbers (joomla) -->
class="inputbox validate-ordering" <field
label="COM_COMPONENTBUILDER_TEMPLATE_ORDERING_LABEL" name="ordering"
description="" type="number"
default="0" class="inputbox validate-ordering"
size="6" label="COM_COMPONENTBUILDER_TEMPLATE_ORDERING_LABEL"
required="false" /> description=""
<!-- Version Field. Type: Text (joomla)--> default="0"
<field name="version" size="6"
type="text" required="false"
class="readonly" />
label="COM_COMPONENTBUILDER_TEMPLATE_VERSION_LABEL" <!-- Version Field. Type: Text (joomla) -->
description="COM_COMPONENTBUILDER_TEMPLATE_VERSION_DESC" <field
size="6" name="version"
readonly="true" type="text"
filter="unset" /> class="readonly"
<!-- Dynamic Fields.--> label="COM_COMPONENTBUILDER_TEMPLATE_VERSION_LABEL"
<!-- Name Field. Type: Text. (joomla)--> description="COM_COMPONENTBUILDER_TEMPLATE_VERSION_DESC"
<field type="text" size="6"
name="name" readonly="true"
label="COM_COMPONENTBUILDER_TEMPLATE_NAME_LABEL" filter="unset"
size="40" />
maxlength="150" <!-- Dynamic Fields. -->
description="COM_COMPONENTBUILDER_TEMPLATE_NAME_DESCRIPTION" <!-- Name Field. Type: Text. (joomla) -->
class="text_area" <field
readonly="false" type="text"
disabled="false" name="name"
required="true" label="COM_COMPONENTBUILDER_TEMPLATE_NAME_LABEL"
filter="STRING" size="40"
message="COM_COMPONENTBUILDER_TEMPLATE_NAME_MESSAGE" maxlength="150"
hint="COM_COMPONENTBUILDER_TEMPLATE_NAME_HINT" /> description="COM_COMPONENTBUILDER_TEMPLATE_NAME_DESCRIPTION"
<!-- Alias Field. Type: Text. (joomla)--> class="text_area"
<field type="text" readonly="false"
name="alias" disabled="false"
label="COM_COMPONENTBUILDER_TEMPLATE_ALIAS_LABEL" required="true"
size="40" filter="STRING"
maxlength="50" message="COM_COMPONENTBUILDER_TEMPLATE_NAME_MESSAGE"
description="COM_COMPONENTBUILDER_TEMPLATE_ALIAS_DESCRIPTION" hint="COM_COMPONENTBUILDER_TEMPLATE_NAME_HINT"
class="text_area" />
filter="CMD" <!-- Alias Field. Type: Text. (joomla) -->
message="COM_COMPONENTBUILDER_TEMPLATE_ALIAS_MESSAGE" <field
hint="COM_COMPONENTBUILDER_TEMPLATE_ALIAS_HINT" /> type="text"
<!-- Description Field. Type: Text. (joomla)--> name="alias"
<field type="text" label="COM_COMPONENTBUILDER_TEMPLATE_ALIAS_LABEL"
name="description" size="40"
label="COM_COMPONENTBUILDER_TEMPLATE_DESCRIPTION_LABEL" maxlength="50"
size="80" description="COM_COMPONENTBUILDER_TEMPLATE_ALIAS_DESCRIPTION"
maxlength="150" class="text_area"
description="COM_COMPONENTBUILDER_TEMPLATE_DESCRIPTION_DESCRIPTION" filter="CMD"
class="text_area" message="COM_COMPONENTBUILDER_TEMPLATE_ALIAS_MESSAGE"
readonly="false" hint="COM_COMPONENTBUILDER_TEMPLATE_ALIAS_HINT"
disabled="false" />
required="true" <!-- Description Field. Type: Text. (joomla) -->
filter="STRING" <field
message="COM_COMPONENTBUILDER_TEMPLATE_DESCRIPTION_MESSAGE" type="text"
hint="COM_COMPONENTBUILDER_TEMPLATE_DESCRIPTION_HINT" /> name="description"
<!-- Snippet Field. Type: Snippets. (custom)--> label="COM_COMPONENTBUILDER_TEMPLATE_DESCRIPTION_LABEL"
<field type="snippets" size="80"
name="snippet" maxlength="150"
label="COM_COMPONENTBUILDER_TEMPLATE_SNIPPET_LABEL" description="COM_COMPONENTBUILDER_TEMPLATE_DESCRIPTION_DESCRIPTION"
description="COM_COMPONENTBUILDER_TEMPLATE_SNIPPET_DESCRIPTION" class="text_area"
class="list_class" readonly="false"
multiple="false" disabled="false"
required="false" required="true"
button="true" /> filter="STRING"
<!-- Php_view Field. Type: Textarea. (joomla)--> message="COM_COMPONENTBUILDER_TEMPLATE_DESCRIPTION_MESSAGE"
<field type="textarea" hint="COM_COMPONENTBUILDER_TEMPLATE_DESCRIPTION_HINT"
name="php_view" />
label="COM_COMPONENTBUILDER_TEMPLATE_PHP_VIEW_LABEL" <!-- Snippet Field. Type: Snippets. (custom) -->
rows="17" <field
cols="5" type="snippets"
description="COM_COMPONENTBUILDER_TEMPLATE_PHP_VIEW_DESCRIPTION" name="snippet"
class="text_area span12" label="COM_COMPONENTBUILDER_TEMPLATE_SNIPPET_LABEL"
filter="raw" description="COM_COMPONENTBUILDER_TEMPLATE_SNIPPET_DESCRIPTION"
hint="COM_COMPONENTBUILDER_TEMPLATE_PHP_VIEW_HINT" class="list_class"
required="true" /> multiple="false"
<!-- Add_php_view Field. Type: Radio. (joomla)--> required="false"
<field type="radio" button="true"
name="add_php_view" />
label="COM_COMPONENTBUILDER_TEMPLATE_ADD_PHP_VIEW_LABEL" <!-- Php_view Field. Type: Textarea. (joomla) -->
class="btn-group btn-group-yesno" <field
default="0" type="textarea"
required="true"> name="php_view"
<!-- Option Set.--> label="COM_COMPONENTBUILDER_TEMPLATE_PHP_VIEW_LABEL"
<option value="1">COM_COMPONENTBUILDER_TEMPLATE_YES</option> rows="17"
<option value="0">COM_COMPONENTBUILDER_TEMPLATE_NO</option> cols="5"
</field> description="COM_COMPONENTBUILDER_TEMPLATE_PHP_VIEW_DESCRIPTION"
<!-- Dynamic_values Field. Type: Note. A None Database Field. (joomla)--> class="text_area span12"
<field type="note" filter="raw"
name="dynamic_values" hint="COM_COMPONENTBUILDER_TEMPLATE_PHP_VIEW_HINT"
label="COM_COMPONENTBUILDER_TEMPLATE_DYNAMIC_VALUES_LABEL" required="true"
description="COM_COMPONENTBUILDER_TEMPLATE_DYNAMIC_VALUES_DESCRIPTION" />
heading="h4" <!-- Add_php_view Field. Type: Radio. (joomla) -->
class="dynamic_values" /> <field
<!-- Dynamic_get Field. Type: Dynamicget. (custom)--> type="radio"
<field type="dynamicget" name="add_php_view"
name="dynamic_get" label="COM_COMPONENTBUILDER_TEMPLATE_ADD_PHP_VIEW_LABEL"
label="COM_COMPONENTBUILDER_TEMPLATE_DYNAMIC_GET_LABEL" class="btn-group btn-group-yesno"
description="COM_COMPONENTBUILDER_TEMPLATE_DYNAMIC_GET_DESCRIPTION" default="0"
multiple="false" required="true">
required="false" <!-- Option Set. -->
button="true" /> <option value="1">
<!-- Not_required Field. Type: Hidden. (joomla)--> COM_COMPONENTBUILDER_TEMPLATE_YES</option>
<field type="hidden" <option value="0">
name="not_required" COM_COMPONENTBUILDER_TEMPLATE_NO</option>
default="[]" /> </field>
<!-- Template Field. Type: Textarea. (joomla)--> <!-- Dynamic_values Field. Type: Note. A None Database Field. (joomla) -->
<field type="textarea" <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" />
name="template" <!-- Dynamic_get Field. Type: Dynamicget. (custom) -->
label="COM_COMPONENTBUILDER_TEMPLATE_TEMPLATE_LABEL" <field
rows="20" type="dynamicget"
cols="15" name="dynamic_get"
class="text_area span12" label="COM_COMPONENTBUILDER_TEMPLATE_DYNAMIC_GET_LABEL"
filter="raw" description="COM_COMPONENTBUILDER_TEMPLATE_DYNAMIC_GET_DESCRIPTION"
hint="COM_COMPONENTBUILDER_TEMPLATE_TEMPLATE_HINT" multiple="false"
required="true" /> required="false"
<!-- Note_snippet_usage Field. Type: Note. A None Database Field. (joomla)--> button="true"
<field type="note" />
name="note_snippet_usage" <!-- Not_required Field. Type: Hidden. (joomla) -->
label="COM_COMPONENTBUILDER_TEMPLATE_NOTE_SNIPPET_USAGE_LABEL" <field
heading="h4" type="hidden"
class="snippet-usage note_snippet_usage" /> name="not_required"
<!-- Note_uikit_snippet Field. Type: Note. A None Database Field. (joomla)--> default="[]"
<field type="note" />
name="note_uikit_snippet" <!-- Template Field. Type: Textarea. (joomla) -->
label="COM_COMPONENTBUILDER_TEMPLATE_NOTE_UIKIT_SNIPPET_LABEL" <field
heading="h4" type="textarea"
class="snippet-code note_uikit_snippet" /> name="template"
<!-- Note_add_language_string Field. Type: Note. A None Database Field. (joomla)--> label="COM_COMPONENTBUILDER_TEMPLATE_TEMPLATE_LABEL"
<field type="note" rows="20"
name="note_add_language_string" cols="15"
label="COM_COMPONENTBUILDER_TEMPLATE_NOTE_ADD_LANGUAGE_STRING_LABEL" class="text_area span12"
description="COM_COMPONENTBUILDER_TEMPLATE_NOTE_ADD_LANGUAGE_STRING_DESCRIPTION" filter="raw"
heading="h4" hint="COM_COMPONENTBUILDER_TEMPLATE_TEMPLATE_HINT"
class="note_add_language_string" /> required="true"
<!-- Libraries Field. Type: Libraries. (custom)--> />
<field type="libraries" <!-- Note_snippet_usage Field. Type: Note. A None Database Field. (joomla) -->
name="libraries" <field type="note" name="note_snippet_usage" label="COM_COMPONENTBUILDER_TEMPLATE_NOTE_SNIPPET_USAGE_LABEL" heading="h4" class="snippet-usage note_snippet_usage" />
label="COM_COMPONENTBUILDER_TEMPLATE_LIBRARIES_LABEL" <!-- Note_uikit_snippet Field. Type: Note. A None Database Field. (joomla) -->
description="COM_COMPONENTBUILDER_TEMPLATE_LIBRARIES_DESCRIPTION" <field type="note" name="note_uikit_snippet" label="COM_COMPONENTBUILDER_TEMPLATE_NOTE_UIKIT_SNIPPET_LABEL" heading="h4" class="snippet-code note_uikit_snippet" />
class="list_class" <!-- Note_add_language_string Field. Type: Note. A None Database Field. (joomla) -->
multiple="true" <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" />
default="0" <!-- Libraries Field. Type: Libraries. (custom) -->
required="false" <field
button="true" /> type="libraries"
<!-- Note_libraries_selection Field. Type: Note. A None Database Field. (joomla)--> name="libraries"
<field type="note" label="COM_COMPONENTBUILDER_TEMPLATE_LIBRARIES_LABEL"
name="note_libraries_selection" description="COM_COMPONENTBUILDER_TEMPLATE_LIBRARIES_DESCRIPTION"
label="COM_COMPONENTBUILDER_TEMPLATE_NOTE_LIBRARIES_SELECTION_LABEL" class="list_class"
description="COM_COMPONENTBUILDER_TEMPLATE_NOTE_LIBRARIES_SELECTION_DESCRIPTION" multiple="true"
heading="h4" default="0"
class="alert alert-info note_libraries_selection" /> required="false"
</fieldset> 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. --> <!-- Access Control Fields. -->
<fieldset name="accesscontrol"> <fieldset name="accesscontrol">

View File

@ -713,86 +713,91 @@ class ComponentbuilderModelJoomla_components extends JModelList
*/ */
protected function smartExportBuilder() protected function smartExportBuilder()
{ {
// set db data // check if data is set
$data = serialize($this->smartExport); if (isset($this->smartExport) && ComponentbuilderHelper::checkArray($this->smartExport))
// lock the data if set
if (ComponentbuilderHelper::checkArray($this->key))
{ {
// lock the data // set db data
$this->key = md5(implode('', $this->key)); $data = serialize($this->smartExport);
$locker = new FOFEncryptAes($this->key, 128); // lock the data if set
$data = $locker->encryptString($data); if (ComponentbuilderHelper::checkArray($this->key))
// 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; // 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 else
{ {
// use global if more then one component is exported, or if none has a buy link // Set the owner information
$this->info['getKeyFrom']['buy_link'] = $this->params->get('export_buy_link', null); $data = base64_encode($data);
} }
$this->info['getKeyFrom']['package_links'] = $this->exportPackageLinks; // set the path
} $dbPath = $this->packagePath . '/db.vdm';
else // write the db data to file in package
{ if (!ComponentbuilderHelper::writeFile($dbPath, wordwrap($data, 128, "\n", true)))
// 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'))
{ {
return false; return false;
} }
// remove the local file // set info data
JFile::delete($this->zipPath); $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 return false;
if (!ComponentbuilderHelper::removeFolder($this->packagePath))
{
return false;
}
return true;
} }
/** /**

View File

@ -1,7 +1,7 @@
<?xml version="1.0" encoding="utf-8"?> <?xml version="1.0" encoding="utf-8"?>
<extension type="component" version="3.2" method="upgrade"> <extension type="component" version="3.2" method="upgrade">
<name>COM_COMPONENTBUILDER</name> <name>COM_COMPONENTBUILDER</name>
<creationDate>11th March, 2018</creationDate> <creationDate>18th March, 2018</creationDate>
<author>Llewellyn van der Merwe</author> <author>Llewellyn van der Merwe</author>
<authorEmail>llewellyn@joomlacomponentbuilder.com</authorEmail> <authorEmail>llewellyn@joomlacomponentbuilder.com</authorEmail>
<authorUrl>http://joomlacomponentbuilder.com</authorUrl> <authorUrl>http://joomlacomponentbuilder.com</authorUrl>

View File

@ -3594,7 +3594,7 @@ class com_componentbuilderInstallerScript
$query = $db->getQuery(true); $query = $db->getQuery(true);
// Field to update. // Field to update.
$fields = array( $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. // Condition.
$conditions = array( $conditions = array(

View File

@ -620,16 +620,19 @@ abstract class ComponentbuilderHelper
} }
/** /**
* get the localkey * the basic localkey
**/ **/
protected static $localkey = false; protected static $localkey = false;
/**
* get the localkey
**/
public static function getLocalKey() public static function getLocalKey()
{ {
if (!self::$localkey) if (!self::$localkey)
{ {
// get the main key // get the basic key
self::$localkey = md5(JComponentHelper::getParams('com_componentbuilder')->get('basic_key', 'localKey34fdWEkl')); self::$localkey = md5(self::getCryptKey('basic', 'localKey34fdWEkl'));
} }
return self::$localkey; return self::$localkey;
} }
@ -702,8 +705,18 @@ abstract class ComponentbuilderHelper
} }
return false; 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); $r = explode($start, $content);
if (isset($r[1])) if (isset($r[1]))
@ -713,17 +726,32 @@ abstract class ComponentbuilderHelper
} }
return ''; 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++) for ($i = 0; ; $i++)
{ {
// search for string
$found = self::getBetween($content,$start,$end); $found = self::getBetween($content,$start,$end);
if (self::checkString($found)) if (self::checkString($found))
{ {
$buket[] = $found; // add to bucket
$bucket[] = $found;
// build removal string
$remove = $start.$found.$end; $remove = $start.$found.$end;
// remove from content
$content = str_replace($remove,'',$content); $content = str_replace($remove,'',$content);
} }
else else
@ -736,9 +764,10 @@ abstract class ComponentbuilderHelper
break; break;
} }
} }
return array_unique($buket); // only return unique array of values
return array_unique($bucket);
} }
public static function typeField($type,$option = 'default') public static function typeField($type,$option = 'default')
{ {
// list of default fields // list of default fields
@ -1560,6 +1589,7 @@ abstract class ComponentbuilderHelper
// return the object // return the object
return self::$CRYPT[$TYPE]; return self::$CRYPT[$TYPE];
} }
public static function jsonToString($value, $sperator = ", ", $table = null) public static function jsonToString($value, $sperator = ", ", $table = null)
{ {