added some updated notes to the paths area

This commit is contained in:
Llewellyn van der Merwe 2018-03-02 04:08:40 +02:00
parent 836df43fcc
commit 1902604328
No known key found for this signature in database
GPG Key ID: CAD7B16D27AF28C5
9 changed files with 389 additions and 299 deletions

View File

@ -130,8 +130,8 @@ Component Builder is mapped as a component in itself on my local development env
+ *Version*: 2.6.17 + *Version*: 2.6.17
+ *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*: **183421** + *Line count*: **183511**
+ *Field count*: **1641** + *Field count*: **1645**
+ *File count*: **1169** + *File count*: **1169**
+ *Folder count*: **189** + *Folder count*: **189**

View File

@ -130,8 +130,8 @@ Component Builder is mapped as a component in itself on my local development env
+ *Version*: 2.6.17 + *Version*: 2.6.17
+ *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*: **183421** + *Line count*: **183511**
+ *Field count*: **1641** + *Field count*: **1645**
+ *File count*: **1169** + *File count*: **1169**
+ *Folder count*: **189** + *Folder count*: **189**

View File

@ -2001,13 +2001,50 @@ COM_COMPONENTBUILDER_COMPONENT_FILES_FOLDERS_MODIFIED_DATE_DESC="The date this C
COM_COMPONENTBUILDER_COMPONENT_FILES_FOLDERS_MODIFIED_DATE_LABEL="Modified Date" COM_COMPONENTBUILDER_COMPONENT_FILES_FOLDERS_MODIFIED_DATE_LABEL="Modified Date"
COM_COMPONENTBUILDER_COMPONENT_FILES_FOLDERS_NEW="A New Component Files & Folders" COM_COMPONENTBUILDER_COMPONENT_FILES_FOLDERS_NEW="A New Component Files & Folders"
COM_COMPONENTBUILDER_COMPONENT_FILES_FOLDERS_NOTE_ADD_FILES_DESCRIPTION="You can add custom files to the component, simply add the files to the administrator/components/com_componentbuilder/custom folder and then select them here." COM_COMPONENTBUILDER_COMPONENT_FILES_FOLDERS_NOTE_ADD_FILES_DESCRIPTION="You can add custom files to the component, simply add the files to the administrator/components/com_componentbuilder/custom folder and then select them here."
COM_COMPONENTBUILDER_COMPONENT_FILES_FOLDERS_NOTE_ADD_FILES_FULLPATH_DESCRIPTION="You can add any files to the component, by using the full system path. Example: /home/user/folder/file.php (make sure that php has permission to read the file)" COM_COMPONENTBUILDER_COMPONENT_FILES_FOLDERS_NOTE_ADD_FILES_FULLPATH_DESCRIPTION="You can add any files to the component, by using the full system path. Example: /home/user/folder/file.php (make sure that php has permission to read the file)<br /><b>Please note</b> that you can also <b>use constant paths in your full path</b> (directly without quotes), this is highly recommended to insure portability.<br />To see a list of constant paths please read the notes below. Example: JPATH_ROOT/file.php or JPATH_ROOT/components/com_yourcomponentname/helpers/file.php"
COM_COMPONENTBUILDER_COMPONENT_FILES_FOLDERS_NOTE_ADD_FILES_FULLPATH_LABEL="Adding Files" COM_COMPONENTBUILDER_COMPONENT_FILES_FOLDERS_NOTE_ADD_FILES_FULLPATH_LABEL="Adding Files"
COM_COMPONENTBUILDER_COMPONENT_FILES_FOLDERS_NOTE_ADD_FILES_LABEL="Adding Custom Files" COM_COMPONENTBUILDER_COMPONENT_FILES_FOLDERS_NOTE_ADD_FILES_LABEL="Adding Custom Files"
COM_COMPONENTBUILDER_COMPONENT_FILES_FOLDERS_NOTE_ADD_FOLDERS_DESCRIPTION="You can add custom folders to the component, simply add the folders to the administrator/components/com_componentbuilder/custom folder and then select them here." COM_COMPONENTBUILDER_COMPONENT_FILES_FOLDERS_NOTE_ADD_FOLDERS_DESCRIPTION="You can add custom folders to the component, simply add the folders to the administrator/components/com_componentbuilder/custom folder and then select them here."
COM_COMPONENTBUILDER_COMPONENT_FILES_FOLDERS_NOTE_ADD_FOLDERS_FULLPATH_DESCRIPTION="You can any folders to the component, by using the full system path. Example: /home/user/folder (make sure that php has permission to read the folder)" COM_COMPONENTBUILDER_COMPONENT_FILES_FOLDERS_NOTE_ADD_FOLDERS_FULLPATH_DESCRIPTION="You can any folders to the component, by using the full system path. Example: /home/user/folder (make sure that php has permission to read the folder)<br /><b>Please note</b> that you can also <b>use constant paths in your full path</b> (directly without quotes), this is highly recommended to insure portability.<br />To see a list of constant paths please read the notes below. Example: JPATH_ROOT/folder or JPATH_ROOT/components/com_yourcomponentname/helpers/folder"
COM_COMPONENTBUILDER_COMPONENT_FILES_FOLDERS_NOTE_ADD_FOLDERS_FULLPATH_LABEL="Adding Folders" COM_COMPONENTBUILDER_COMPONENT_FILES_FOLDERS_NOTE_ADD_FOLDERS_FULLPATH_LABEL="Adding Folders"
COM_COMPONENTBUILDER_COMPONENT_FILES_FOLDERS_NOTE_ADD_FOLDERS_LABEL="Adding Custom Folders" COM_COMPONENTBUILDER_COMPONENT_FILES_FOLDERS_NOTE_ADD_FOLDERS_LABEL="Adding Custom Folders"
COM_COMPONENTBUILDER_COMPONENT_FILES_FOLDERS_NOTE_CONSTANT_PATHS_DESCRIPTION="<p>// The path to the administrator folder.<br />
<b>JPATH_ADMINISTRATOR</b><br />
// The path to the installed Joomla! site, or JPATH_ROOT/administrator if executed from the backend.<br />
<b>JPATH_BASE</b><br />
// The path to the cache folder.<br />
<b>JPATH_CACHE</b><br />
// The path to the administration folder of the current component being executed.<br />
<b>JPATH_COMPONENT_ADMINISTRATOR</b><br />
// The path to the site folder of the current component being executed.<br />
<b>JPATH_COMPONENT_SITE</b><br />
// The path to the current component being executed.<br />
<b>JPATH_COMPONENT</b><br />
// The path to folder containing the configuration.php file.<br />
<b>JPATH_CONFIGURATION</b><br />
// The path to the installation folder.<br />
<b>JPATH_INSTALLATION</b><br />
// The path to the libraries folder.<br />
<b>JPATH_LIBRARIES</b><br />
// The path to the plugins folder.<br />
<b>JPATH_PLUGINS</b><br />
// The path to the installed Joomla! site.<br />
<b>JPATH_ROOT</b><br />
// The path to the installed Joomla! site.<br />
<b>JPATH_SITE</b><br />
// The path to the templates folder.<br />
<b>JPATH_THEMES</b></p>
<p>JPATH_SITE is meant to represent the root path of the JSite application,<br />
just as JPATH_ADMINISTRATOR is mean to represent the root path of the JAdministrator application.<br />
JPATH_BASE is the root path for the current requested application.... so if you are in the administrator application:<br />
JPATH_BASE == JPATH_ADMINISTRATOR<br />
If you are in the site application:<br />
JPATH_BASE == JPATH_SITE<br />
If you are in the installation application:<br />
JPATH_BASE == JPATH_INSTALLATION.<br />
JPATH_ROOT is the root path for the Joomla install and does not depend upon any application.</p>"
COM_COMPONENTBUILDER_COMPONENT_FILES_FOLDERS_NOTE_CONSTANT_PATHS_LABEL="Constant Paths"
COM_COMPONENTBUILDER_COMPONENT_FILES_FOLDERS_NOTNEW_DESCRIPTION="Should file be updated." COM_COMPONENTBUILDER_COMPONENT_FILES_FOLDERS_NOTNEW_DESCRIPTION="Should file be updated."
COM_COMPONENTBUILDER_COMPONENT_FILES_FOLDERS_NOTNEW_LABEL="Update" COM_COMPONENTBUILDER_COMPONENT_FILES_FOLDERS_NOTNEW_LABEL="Update"
COM_COMPONENTBUILDER_COMPONENT_FILES_FOLDERS_ORDERING_LABEL="Ordering" COM_COMPONENTBUILDER_COMPONENT_FILES_FOLDERS_ORDERING_LABEL="Ordering"
@ -5004,15 +5041,52 @@ COM_COMPONENTBUILDER_LIBRARY_FILES_FOLDERS_URLS_MODIFIED_DATE_DESC="The date thi
COM_COMPONENTBUILDER_LIBRARY_FILES_FOLDERS_URLS_MODIFIED_DATE_LABEL="Modified Date" COM_COMPONENTBUILDER_LIBRARY_FILES_FOLDERS_URLS_MODIFIED_DATE_LABEL="Modified Date"
COM_COMPONENTBUILDER_LIBRARY_FILES_FOLDERS_URLS_NEW="A New Library Files, Folders & URLs" COM_COMPONENTBUILDER_LIBRARY_FILES_FOLDERS_URLS_NEW="A New Library Files, Folders & URLs"
COM_COMPONENTBUILDER_LIBRARY_FILES_FOLDERS_URLS_NOTE_ADD_FILES_DESCRIPTION="You can add custom files to the component, simply add the files to the administrator/components/com_componentbuilder/custom folder and then select them here." COM_COMPONENTBUILDER_LIBRARY_FILES_FOLDERS_URLS_NOTE_ADD_FILES_DESCRIPTION="You can add custom files to the component, simply add the files to the administrator/components/com_componentbuilder/custom folder and then select them here."
COM_COMPONENTBUILDER_LIBRARY_FILES_FOLDERS_URLS_NOTE_ADD_FILES_FULLPATH_DESCRIPTION="You can add any files to the component, by using the full system path. Example: /home/user/folder/file.php (make sure that php has permission to read the file)" COM_COMPONENTBUILDER_LIBRARY_FILES_FOLDERS_URLS_NOTE_ADD_FILES_FULLPATH_DESCRIPTION="You can add any files to the component, by using the full system path. Example: /home/user/folder/file.php (make sure that php has permission to read the file)<br /><b>Please note</b> that you can also <b>use constant paths in your full path</b> (directly without quotes), this is highly recommended to insure portability.<br />To see a list of constant paths please read the notes below. Example: JPATH_ROOT/file.php or JPATH_ROOT/components/com_yourcomponentname/helpers/file.php"
COM_COMPONENTBUILDER_LIBRARY_FILES_FOLDERS_URLS_NOTE_ADD_FILES_FULLPATH_LABEL="Adding Files" COM_COMPONENTBUILDER_LIBRARY_FILES_FOLDERS_URLS_NOTE_ADD_FILES_FULLPATH_LABEL="Adding Files"
COM_COMPONENTBUILDER_LIBRARY_FILES_FOLDERS_URLS_NOTE_ADD_FILES_LABEL="Adding Custom Files" COM_COMPONENTBUILDER_LIBRARY_FILES_FOLDERS_URLS_NOTE_ADD_FILES_LABEL="Adding Custom Files"
COM_COMPONENTBUILDER_LIBRARY_FILES_FOLDERS_URLS_NOTE_ADD_FOLDERS_DESCRIPTION="You can add custom folders to the component, simply add the folders to the administrator/components/com_componentbuilder/custom folder and then select them here." COM_COMPONENTBUILDER_LIBRARY_FILES_FOLDERS_URLS_NOTE_ADD_FOLDERS_DESCRIPTION="You can add custom folders to the component, simply add the folders to the administrator/components/com_componentbuilder/custom folder and then select them here."
COM_COMPONENTBUILDER_LIBRARY_FILES_FOLDERS_URLS_NOTE_ADD_FOLDERS_FULLPATH_DESCRIPTION="You can any folders to the component, by using the full system path. Example: /home/user/folder (make sure that php has permission to read the folder)" COM_COMPONENTBUILDER_LIBRARY_FILES_FOLDERS_URLS_NOTE_ADD_FOLDERS_FULLPATH_DESCRIPTION="You can any folders to the component, by using the full system path. Example: /home/user/folder (make sure that php has permission to read the folder)<br /><b>Please note</b> that you can also <b>use constant paths in your full path</b> (directly without quotes), this is highly recommended to insure portability.<br />To see a list of constant paths please read the notes below. Example: JPATH_ROOT/folder or JPATH_ROOT/components/com_yourcomponentname/helpers/folder"
COM_COMPONENTBUILDER_LIBRARY_FILES_FOLDERS_URLS_NOTE_ADD_FOLDERS_FULLPATH_LABEL="Adding Folders" COM_COMPONENTBUILDER_LIBRARY_FILES_FOLDERS_URLS_NOTE_ADD_FOLDERS_FULLPATH_LABEL="Adding Folders"
COM_COMPONENTBUILDER_LIBRARY_FILES_FOLDERS_URLS_NOTE_ADD_FOLDERS_LABEL="Adding Custom Folders" COM_COMPONENTBUILDER_LIBRARY_FILES_FOLDERS_URLS_NOTE_ADD_FOLDERS_LABEL="Adding Custom Folders"
COM_COMPONENTBUILDER_LIBRARY_FILES_FOLDERS_URLS_NOTE_ADD_URLS_DESCRIPTION="You can add urls here, and it can be used in three ways. As a direct link <b>(default)</b> or to get the file content and add it to the component <b>(get)</b> or as both local and link <b>(dynamic)</b>" COM_COMPONENTBUILDER_LIBRARY_FILES_FOLDERS_URLS_NOTE_ADD_URLS_DESCRIPTION="You can add urls here, and it can be used in three ways. As a direct link <b>(default)</b> or to get the file content and add it to the component <b>(get)</b> or as both local and link <b>(dynamic)</b>"
COM_COMPONENTBUILDER_LIBRARY_FILES_FOLDERS_URLS_NOTE_ADD_URLS_LABEL="Adding Urls" COM_COMPONENTBUILDER_LIBRARY_FILES_FOLDERS_URLS_NOTE_ADD_URLS_LABEL="Adding Urls"
COM_COMPONENTBUILDER_LIBRARY_FILES_FOLDERS_URLS_NOTE_CONSTANT_PATHS_DESCRIPTION="<p>// The path to the administrator folder.<br />
<b>JPATH_ADMINISTRATOR</b><br />
// The path to the installed Joomla! site, or JPATH_ROOT/administrator if executed from the backend.<br />
<b>JPATH_BASE</b><br />
// The path to the cache folder.<br />
<b>JPATH_CACHE</b><br />
// The path to the administration folder of the current component being executed.<br />
<b>JPATH_COMPONENT_ADMINISTRATOR</b><br />
// The path to the site folder of the current component being executed.<br />
<b>JPATH_COMPONENT_SITE</b><br />
// The path to the current component being executed.<br />
<b>JPATH_COMPONENT</b><br />
// The path to folder containing the configuration.php file.<br />
<b>JPATH_CONFIGURATION</b><br />
// The path to the installation folder.<br />
<b>JPATH_INSTALLATION</b><br />
// The path to the libraries folder.<br />
<b>JPATH_LIBRARIES</b><br />
// The path to the plugins folder.<br />
<b>JPATH_PLUGINS</b><br />
// The path to the installed Joomla! site.<br />
<b>JPATH_ROOT</b><br />
// The path to the installed Joomla! site.<br />
<b>JPATH_SITE</b><br />
// The path to the templates folder.<br />
<b>JPATH_THEMES</b></p>
<p>JPATH_SITE is meant to represent the root path of the JSite application,<br />
just as JPATH_ADMINISTRATOR is mean to represent the root path of the JAdministrator application.<br />
JPATH_BASE is the root path for the current requested application.... so if you are in the administrator application:<br />
JPATH_BASE == JPATH_ADMINISTRATOR<br />
If you are in the site application:<br />
JPATH_BASE == JPATH_SITE<br />
If you are in the installation application:<br />
JPATH_BASE == JPATH_INSTALLATION.<br />
JPATH_ROOT is the root path for the Joomla install and does not depend upon any application.</p>"
COM_COMPONENTBUILDER_LIBRARY_FILES_FOLDERS_URLS_NOTE_CONSTANT_PATHS_LABEL="Constant Paths"
COM_COMPONENTBUILDER_LIBRARY_FILES_FOLDERS_URLS_NOTNEW_DESCRIPTION="Should file be updated." COM_COMPONENTBUILDER_LIBRARY_FILES_FOLDERS_URLS_NOTNEW_DESCRIPTION="Should file be updated."
COM_COMPONENTBUILDER_LIBRARY_FILES_FOLDERS_URLS_NOTNEW_LABEL="Update" COM_COMPONENTBUILDER_LIBRARY_FILES_FOLDERS_URLS_NOTNEW_LABEL="Update"
COM_COMPONENTBUILDER_LIBRARY_FILES_FOLDERS_URLS_ORDERING_LABEL="Ordering" COM_COMPONENTBUILDER_LIBRARY_FILES_FOLDERS_URLS_ORDERING_LABEL="Ordering"

View File

@ -33,7 +33,8 @@ $fields = $displayData->get('fields') ?: array(
'note_add_files_fullpath', 'note_add_files_fullpath',
'addfilesfullpath', 'addfilesfullpath',
'note_add_folders_fullpath', 'note_add_folders_fullpath',
'addfoldersfullpath' 'addfoldersfullpath',
'note_constant_paths'
); );
?> ?>

View File

@ -33,7 +33,8 @@ $fields = $displayData->get('fields') ?: array(
'note_add_files_fullpath', 'note_add_files_fullpath',
'addfilesfullpath', 'addfilesfullpath',
'note_add_folders_fullpath', 'note_add_folders_fullpath',
'addfoldersfullpath' 'addfoldersfullpath',
'note_constant_paths'
); );
?> ?>

View File

@ -95,20 +95,12 @@ class ComponentbuilderModelComponent_files_folders extends JModelAdmin
$item->metadata = $registry->toArray(); $item->metadata = $registry->toArray();
} }
if (!empty($item->addfiles)) if (!empty($item->addfoldersfullpath))
{ {
// Convert the addfiles field to an array. // Convert the addfoldersfullpath field to an array.
$addfiles = new Registry; $addfoldersfullpath = new Registry;
$addfiles->loadString($item->addfiles); $addfoldersfullpath->loadString($item->addfoldersfullpath);
$item->addfiles = $addfiles->toArray(); $item->addfoldersfullpath = $addfoldersfullpath->toArray();
}
if (!empty($item->addfolders))
{
// Convert the addfolders field to an array.
$addfolders = new Registry;
$addfolders->loadString($item->addfolders);
$item->addfolders = $addfolders->toArray();
} }
if (!empty($item->addfilesfullpath)) if (!empty($item->addfilesfullpath))
@ -119,12 +111,20 @@ class ComponentbuilderModelComponent_files_folders extends JModelAdmin
$item->addfilesfullpath = $addfilesfullpath->toArray(); $item->addfilesfullpath = $addfilesfullpath->toArray();
} }
if (!empty($item->addfoldersfullpath)) if (!empty($item->addfolders))
{ {
// Convert the addfoldersfullpath field to an array. // Convert the addfolders field to an array.
$addfoldersfullpath = new Registry; $addfolders = new Registry;
$addfoldersfullpath->loadString($item->addfoldersfullpath); $addfolders->loadString($item->addfolders);
$item->addfoldersfullpath = $addfoldersfullpath->toArray(); $item->addfolders = $addfolders->toArray();
}
if (!empty($item->addfiles))
{
// Convert the addfiles field to an array.
$addfiles = new Registry;
$addfiles->loadString($item->addfiles);
$item->addfiles = $addfiles->toArray();
} }
// update the fields // update the fields
@ -838,30 +838,17 @@ class ComponentbuilderModelComponent_files_folders extends JModelAdmin
$data['metadata'] = (string) $metadata; $data['metadata'] = (string) $metadata;
} }
// Set the addfiles items to data. // Set the addfoldersfullpath items to data.
if (isset($data['addfiles']) && is_array($data['addfiles'])) if (isset($data['addfoldersfullpath']) && is_array($data['addfoldersfullpath']))
{ {
$addfiles = new JRegistry; $addfoldersfullpath = new JRegistry;
$addfiles->loadArray($data['addfiles']); $addfoldersfullpath->loadArray($data['addfoldersfullpath']);
$data['addfiles'] = (string) $addfiles; $data['addfoldersfullpath'] = (string) $addfoldersfullpath;
} }
elseif (!isset($data['addfiles'])) elseif (!isset($data['addfoldersfullpath']))
{ {
// Set the empty addfiles to data // Set the empty addfoldersfullpath to data
$data['addfiles'] = ''; $data['addfoldersfullpath'] = '';
}
// Set the addfolders items to data.
if (isset($data['addfolders']) && is_array($data['addfolders']))
{
$addfolders = new JRegistry;
$addfolders->loadArray($data['addfolders']);
$data['addfolders'] = (string) $addfolders;
}
elseif (!isset($data['addfolders']))
{
// Set the empty addfolders to data
$data['addfolders'] = '';
} }
// Set the addfilesfullpath items to data. // Set the addfilesfullpath items to data.
@ -877,17 +864,30 @@ class ComponentbuilderModelComponent_files_folders extends JModelAdmin
$data['addfilesfullpath'] = ''; $data['addfilesfullpath'] = '';
} }
// Set the addfoldersfullpath items to data. // Set the addfolders items to data.
if (isset($data['addfoldersfullpath']) && is_array($data['addfoldersfullpath'])) if (isset($data['addfolders']) && is_array($data['addfolders']))
{ {
$addfoldersfullpath = new JRegistry; $addfolders = new JRegistry;
$addfoldersfullpath->loadArray($data['addfoldersfullpath']); $addfolders->loadArray($data['addfolders']);
$data['addfoldersfullpath'] = (string) $addfoldersfullpath; $data['addfolders'] = (string) $addfolders;
} }
elseif (!isset($data['addfoldersfullpath'])) elseif (!isset($data['addfolders']))
{ {
// Set the empty addfoldersfullpath to data // Set the empty addfolders to data
$data['addfoldersfullpath'] = ''; $data['addfolders'] = '';
}
// Set the addfiles items to data.
if (isset($data['addfiles']) && is_array($data['addfiles']))
{
$addfiles = new JRegistry;
$addfiles->loadArray($data['addfiles']);
$data['addfiles'] = (string) $addfiles;
}
elseif (!isset($data['addfiles']))
{
// Set the empty addfiles to data
$data['addfiles'] = '';
} }
// Set the Params Items to data // Set the Params Items to data

View File

@ -89,20 +89,53 @@
required="true" required="true"
readonly="true" readonly="true"
button="false" /> button="false" />
<!-- Note_add_folders_fullpath Field. Type: Note. A None Database Field. (joomla)--> <!-- Addfoldersfullpath Field. Type: Subform. (joomla)-->
<field type="note" <field type="subform"
name="note_add_folders_fullpath" name="addfoldersfullpath"
label="COM_COMPONENTBUILDER_COMPONENT_FILES_FOLDERS_NOTE_ADD_FOLDERS_FULLPATH_LABEL" label="COM_COMPONENTBUILDER_COMPONENT_FILES_FOLDERS_ADDFOLDERSFULLPATH_LABEL"
description="COM_COMPONENTBUILDER_COMPONENT_FILES_FOLDERS_NOTE_ADD_FOLDERS_FULLPATH_DESCRIPTION" layout="joomla.form.field.subform.repeatable-table"
heading="h4" multiple="true"
class="alert alert-info note_add_folders_fullpath" /> description="COM_COMPONENTBUILDER_COMPONENT_FILES_FOLDERS_ADDFOLDERSFULLPATH_DESCRIPTION"
<!-- Note_add_files_fullpath Field. Type: Note. A None Database Field. (joomla)--> icon="list"
<field type="note" maximum="500">
name="note_add_files_fullpath" <form hidden="true"
label="COM_COMPONENTBUILDER_COMPONENT_FILES_FOLDERS_NOTE_ADD_FILES_FULLPATH_LABEL" name="list_addfoldersfullpath_modal"
description="COM_COMPONENTBUILDER_COMPONENT_FILES_FOLDERS_NOTE_ADD_FILES_FULLPATH_DESCRIPTION" repeat="true">
heading="h4" <!-- Folderpath Field. Type: Text. (joomla)-->
class="alert alert-info note_add_files_fullpath" /> <field type="text"
name="folderpath"
label="COM_COMPONENTBUILDER_COMPONENT_FILES_FOLDERS_FOLDERPATH_LABEL"
size="70"
maxlength="300"
description="COM_COMPONENTBUILDER_COMPONENT_FILES_FOLDERS_FOLDERPATH_DESCRIPTION"
class="text_area"
required="false"
filter="PATH"
message="COM_COMPONENTBUILDER_COMPONENT_FILES_FOLDERS_FOLDERPATH_MESSAGE"
hint="COM_COMPONENTBUILDER_COMPONENT_FILES_FOLDERS_FOLDERPATH_HINT" />
<!-- Path Field. Type: Text. (joomla)-->
<field type="text"
name="path"
label="COM_COMPONENTBUILDER_COMPONENT_FILES_FOLDERS_PATH_LABEL"
size="40"
maxlength="150"
description="COM_COMPONENTBUILDER_COMPONENT_FILES_FOLDERS_PATH_DESCRIPTION"
class="text_area"
readonly="false"
disabled="false"
required="false"
filter="PATH"
message="COM_COMPONENTBUILDER_COMPONENT_FILES_FOLDERS_PATH_MESSAGE"
hint="COM_COMPONENTBUILDER_COMPONENT_FILES_FOLDERS_PATH_HINT" />
<!-- Rename Field. Type: Checkbox. (joomla)-->
<field type="checkbox"
name="rename"
label="COM_COMPONENTBUILDER_COMPONENT_FILES_FOLDERS_RENAME_LABEL"
value="1"
required="false"
class="inputbox" />
</form>
</field>
<!-- Note_add_folders Field. Type: Note. A None Database Field. (joomla)--> <!-- Note_add_folders Field. Type: Note. A None Database Field. (joomla)-->
<field type="note" <field type="note"
name="note_add_folders" name="note_add_folders"
@ -110,28 +143,30 @@
description="COM_COMPONENTBUILDER_COMPONENT_FILES_FOLDERS_NOTE_ADD_FOLDERS_DESCRIPTION" description="COM_COMPONENTBUILDER_COMPONENT_FILES_FOLDERS_NOTE_ADD_FOLDERS_DESCRIPTION"
heading="h4" heading="h4"
class="alert alert-info note_add_folders" /> class="alert alert-info note_add_folders" />
<!-- Addfiles Field. Type: Subform. (joomla)--> <!-- Addfilesfullpath Field. Type: Subform. (joomla)-->
<field type="subform" <field type="subform"
name="addfiles" name="addfilesfullpath"
label="COM_COMPONENTBUILDER_COMPONENT_FILES_FOLDERS_ADDFILES_LABEL" label="COM_COMPONENTBUILDER_COMPONENT_FILES_FOLDERS_ADDFILESFULLPATH_LABEL"
layout="joomla.form.field.subform.repeatable-table" layout="joomla.form.field.subform.repeatable-table"
multiple="true" multiple="true"
description="COM_COMPONENTBUILDER_COMPONENT_FILES_FOLDERS_ADDFILES_DESCRIPTION" description="COM_COMPONENTBUILDER_COMPONENT_FILES_FOLDERS_ADDFILESFULLPATH_DESCRIPTION"
icon="list" icon="list"
maximum="500"> maximum="500">
<form hidden="true" <form hidden="true"
name="list_addfiles_modal" name="list_addfilesfullpath_modal"
repeat="true"> repeat="true">
<!-- File Field. Type: Customfilelist. (custom)--> <!-- Filepath Field. Type: Text. (joomla)-->
<field type="customfilelist" <field type="text"
name="file" name="filepath"
label="COM_COMPONENTBUILDER_COMPONENT_FILES_FOLDERS_FILE_LABEL" label="COM_COMPONENTBUILDER_COMPONENT_FILES_FOLDERS_FILEPATH_LABEL"
description="COM_COMPONENTBUILDER_COMPONENT_FILES_FOLDERS_FILE_DESCRIPTION" size="70"
class="list_class" maxlength="300"
multiple="false" description="COM_COMPONENTBUILDER_COMPONENT_FILES_FOLDERS_FILEPATH_DESCRIPTION"
default="0" class="text_area"
required="false" required="false"
button="false" /> filter="PATH"
message="COM_COMPONENTBUILDER_COMPONENT_FILES_FOLDERS_FILEPATH_MESSAGE"
hint="COM_COMPONENTBUILDER_COMPONENT_FILES_FOLDERS_FILEPATH_HINT" />
<!-- Path Field. Type: Text. (joomla)--> <!-- Path Field. Type: Text. (joomla)-->
<field type="text" <field type="text"
name="path" name="path"
@ -201,30 +236,28 @@
class="inputbox" /> class="inputbox" />
</form> </form>
</field> </field>
<!-- Addfilesfullpath Field. Type: Subform. (joomla)--> <!-- Addfiles Field. Type: Subform. (joomla)-->
<field type="subform" <field type="subform"
name="addfilesfullpath" name="addfiles"
label="COM_COMPONENTBUILDER_COMPONENT_FILES_FOLDERS_ADDFILESFULLPATH_LABEL" label="COM_COMPONENTBUILDER_COMPONENT_FILES_FOLDERS_ADDFILES_LABEL"
layout="joomla.form.field.subform.repeatable-table" layout="joomla.form.field.subform.repeatable-table"
multiple="true" multiple="true"
description="COM_COMPONENTBUILDER_COMPONENT_FILES_FOLDERS_ADDFILESFULLPATH_DESCRIPTION" description="COM_COMPONENTBUILDER_COMPONENT_FILES_FOLDERS_ADDFILES_DESCRIPTION"
icon="list" icon="list"
maximum="500"> maximum="500">
<form hidden="true" <form hidden="true"
name="list_addfilesfullpath_modal" name="list_addfiles_modal"
repeat="true"> repeat="true">
<!-- Filepath Field. Type: Text. (joomla)--> <!-- File Field. Type: Customfilelist. (custom)-->
<field type="text" <field type="customfilelist"
name="filepath" name="file"
label="COM_COMPONENTBUILDER_COMPONENT_FILES_FOLDERS_FILEPATH_LABEL" label="COM_COMPONENTBUILDER_COMPONENT_FILES_FOLDERS_FILE_LABEL"
size="70" description="COM_COMPONENTBUILDER_COMPONENT_FILES_FOLDERS_FILE_DESCRIPTION"
maxlength="300" class="list_class"
description="COM_COMPONENTBUILDER_COMPONENT_FILES_FOLDERS_FILEPATH_DESCRIPTION" multiple="false"
class="text_area" default="0"
required="false" required="false"
filter="PATH" button="false" />
message="COM_COMPONENTBUILDER_COMPONENT_FILES_FOLDERS_FILEPATH_MESSAGE"
hint="COM_COMPONENTBUILDER_COMPONENT_FILES_FOLDERS_FILEPATH_HINT" />
<!-- Path Field. Type: Text. (joomla)--> <!-- Path Field. Type: Text. (joomla)-->
<field type="text" <field type="text"
name="path" name="path"
@ -256,53 +289,27 @@
description="COM_COMPONENTBUILDER_COMPONENT_FILES_FOLDERS_NOTE_ADD_FILES_DESCRIPTION" description="COM_COMPONENTBUILDER_COMPONENT_FILES_FOLDERS_NOTE_ADD_FILES_DESCRIPTION"
heading="h4" heading="h4"
class="alert alert-info note_add_files" /> class="alert alert-info note_add_files" />
<!-- Addfoldersfullpath Field. Type: Subform. (joomla)--> <!-- Note_add_folders_fullpath Field. Type: Note. A None Database Field. (joomla)-->
<field type="subform" <field type="note"
name="addfoldersfullpath" name="note_add_folders_fullpath"
label="COM_COMPONENTBUILDER_COMPONENT_FILES_FOLDERS_ADDFOLDERSFULLPATH_LABEL" label="COM_COMPONENTBUILDER_COMPONENT_FILES_FOLDERS_NOTE_ADD_FOLDERS_FULLPATH_LABEL"
layout="joomla.form.field.subform.repeatable-table" description="COM_COMPONENTBUILDER_COMPONENT_FILES_FOLDERS_NOTE_ADD_FOLDERS_FULLPATH_DESCRIPTION"
multiple="true" heading="h4"
description="COM_COMPONENTBUILDER_COMPONENT_FILES_FOLDERS_ADDFOLDERSFULLPATH_DESCRIPTION" class="alert alert-info note_add_folders_fullpath" />
icon="list" <!-- Note_add_files_fullpath Field. Type: Note. A None Database Field. (joomla)-->
maximum="500"> <field type="note"
<form hidden="true" name="note_add_files_fullpath"
name="list_addfoldersfullpath_modal" label="COM_COMPONENTBUILDER_COMPONENT_FILES_FOLDERS_NOTE_ADD_FILES_FULLPATH_LABEL"
repeat="true"> description="COM_COMPONENTBUILDER_COMPONENT_FILES_FOLDERS_NOTE_ADD_FILES_FULLPATH_DESCRIPTION"
<!-- Folderpath Field. Type: Text. (joomla)--> heading="h4"
<field type="text" class="alert alert-info note_add_files_fullpath" />
name="folderpath" <!-- Note_constant_paths Field. Type: Note. A None Database Field. (joomla)-->
label="COM_COMPONENTBUILDER_COMPONENT_FILES_FOLDERS_FOLDERPATH_LABEL" <field type="note"
size="70" name="note_constant_paths"
maxlength="300" label="COM_COMPONENTBUILDER_COMPONENT_FILES_FOLDERS_NOTE_CONSTANT_PATHS_LABEL"
description="COM_COMPONENTBUILDER_COMPONENT_FILES_FOLDERS_FOLDERPATH_DESCRIPTION" description="COM_COMPONENTBUILDER_COMPONENT_FILES_FOLDERS_NOTE_CONSTANT_PATHS_DESCRIPTION"
class="text_area" heading="h4"
required="false" class="alert alert-info note_constant_paths" />
filter="PATH"
message="COM_COMPONENTBUILDER_COMPONENT_FILES_FOLDERS_FOLDERPATH_MESSAGE"
hint="COM_COMPONENTBUILDER_COMPONENT_FILES_FOLDERS_FOLDERPATH_HINT" />
<!-- Path Field. Type: Text. (joomla)-->
<field type="text"
name="path"
label="COM_COMPONENTBUILDER_COMPONENT_FILES_FOLDERS_PATH_LABEL"
size="40"
maxlength="150"
description="COM_COMPONENTBUILDER_COMPONENT_FILES_FOLDERS_PATH_DESCRIPTION"
class="text_area"
readonly="false"
disabled="false"
required="false"
filter="PATH"
message="COM_COMPONENTBUILDER_COMPONENT_FILES_FOLDERS_PATH_MESSAGE"
hint="COM_COMPONENTBUILDER_COMPONENT_FILES_FOLDERS_PATH_HINT" />
<!-- Rename Field. Type: Checkbox. (joomla)-->
<field type="checkbox"
name="rename"
label="COM_COMPONENTBUILDER_COMPONENT_FILES_FOLDERS_RENAME_LABEL"
value="1"
required="false"
class="inputbox" />
</form>
</field>
</fieldset> </fieldset>
<!-- Access Control Fields. --> <!-- Access Control Fields. -->

View File

@ -89,13 +89,53 @@
default="0" default="0"
required="true" required="true"
readonly="true" /> readonly="true" />
<!-- Note_add_folders_fullpath Field. Type: Note. A None Database Field. (joomla)--> <!-- Addfoldersfullpath Field. Type: Subform. (joomla)-->
<field type="note" <field type="subform"
name="note_add_folders_fullpath" name="addfoldersfullpath"
label="COM_COMPONENTBUILDER_LIBRARY_FILES_FOLDERS_URLS_NOTE_ADD_FOLDERS_FULLPATH_LABEL" label="COM_COMPONENTBUILDER_LIBRARY_FILES_FOLDERS_URLS_ADDFOLDERSFULLPATH_LABEL"
description="COM_COMPONENTBUILDER_LIBRARY_FILES_FOLDERS_URLS_NOTE_ADD_FOLDERS_FULLPATH_DESCRIPTION" layout="joomla.form.field.subform.repeatable-table"
heading="h4" multiple="true"
class="alert alert-info note_add_folders_fullpath" /> description="COM_COMPONENTBUILDER_LIBRARY_FILES_FOLDERS_URLS_ADDFOLDERSFULLPATH_DESCRIPTION"
icon="list"
maximum="500">
<form hidden="true"
name="list_addfoldersfullpath_modal"
repeat="true">
<!-- Folderpath Field. Type: Text. (joomla)-->
<field type="text"
name="folderpath"
label="COM_COMPONENTBUILDER_LIBRARY_FILES_FOLDERS_URLS_FOLDERPATH_LABEL"
size="70"
maxlength="300"
description="COM_COMPONENTBUILDER_LIBRARY_FILES_FOLDERS_URLS_FOLDERPATH_DESCRIPTION"
class="text_area"
required="false"
filter="PATH"
message="COM_COMPONENTBUILDER_LIBRARY_FILES_FOLDERS_URLS_FOLDERPATH_MESSAGE"
hint="COM_COMPONENTBUILDER_LIBRARY_FILES_FOLDERS_URLS_FOLDERPATH_HINT" />
<!-- Path Field. Type: Text. (joomla)-->
<field type="text"
name="path"
label="COM_COMPONENTBUILDER_LIBRARY_FILES_FOLDERS_URLS_PATH_LABEL"
size="40"
maxlength="150"
description="COM_COMPONENTBUILDER_LIBRARY_FILES_FOLDERS_URLS_PATH_DESCRIPTION"
class="text_area"
readonly="false"
disabled="false"
required="false"
filter="PATH"
message="COM_COMPONENTBUILDER_LIBRARY_FILES_FOLDERS_URLS_PATH_MESSAGE"
hint="COM_COMPONENTBUILDER_LIBRARY_FILES_FOLDERS_URLS_PATH_HINT" />
<!-- Rename Field. Type: Checkbox. (joomla)-->
<field type="checkbox"
name="rename"
label="COM_COMPONENTBUILDER_LIBRARY_FILES_FOLDERS_URLS_RENAME_LABEL"
value="1"
required="false"
class="inputbox" />
</form>
</field>
<!-- Addurls Field. Type: Subform. (joomla)--> <!-- Addurls Field. Type: Subform. (joomla)-->
<field type="subform" <field type="subform"
name="addurls" name="addurls"
@ -138,13 +178,54 @@
</field> </field>
</form> </form>
</field> </field>
<!-- Note_add_files_fullpath Field. Type: Note. A None Database Field. (joomla)--> <!-- Addfilesfullpath Field. Type: Subform. (joomla)-->
<field type="note" <field type="subform"
name="note_add_files_fullpath" name="addfilesfullpath"
label="COM_COMPONENTBUILDER_LIBRARY_FILES_FOLDERS_URLS_NOTE_ADD_FILES_FULLPATH_LABEL" label="COM_COMPONENTBUILDER_LIBRARY_FILES_FOLDERS_URLS_ADDFILESFULLPATH_LABEL"
description="COM_COMPONENTBUILDER_LIBRARY_FILES_FOLDERS_URLS_NOTE_ADD_FILES_FULLPATH_DESCRIPTION" layout="joomla.form.field.subform.repeatable-table"
heading="h4" multiple="true"
class="alert alert-info note_add_files_fullpath" /> description="COM_COMPONENTBUILDER_LIBRARY_FILES_FOLDERS_URLS_ADDFILESFULLPATH_DESCRIPTION"
icon="list"
maximum="500">
<form hidden="true"
name="list_addfilesfullpath_modal"
repeat="true">
<!-- Filepath Field. Type: Text. (joomla)-->
<field type="text"
name="filepath"
label="COM_COMPONENTBUILDER_LIBRARY_FILES_FOLDERS_URLS_FILEPATH_LABEL"
size="70"
maxlength="300"
description="COM_COMPONENTBUILDER_LIBRARY_FILES_FOLDERS_URLS_FILEPATH_DESCRIPTION"
class="text_area"
required="false"
filter="PATH"
message="COM_COMPONENTBUILDER_LIBRARY_FILES_FOLDERS_URLS_FILEPATH_MESSAGE"
hint="COM_COMPONENTBUILDER_LIBRARY_FILES_FOLDERS_URLS_FILEPATH_HINT" />
<!-- Path Field. Type: Text. (joomla)-->
<field type="text"
name="path"
label="COM_COMPONENTBUILDER_LIBRARY_FILES_FOLDERS_URLS_PATH_LABEL"
size="40"
maxlength="150"
description="COM_COMPONENTBUILDER_LIBRARY_FILES_FOLDERS_URLS_PATH_DESCRIPTION"
class="text_area"
readonly="false"
disabled="false"
required="false"
filter="PATH"
message="COM_COMPONENTBUILDER_LIBRARY_FILES_FOLDERS_URLS_PATH_MESSAGE"
hint="COM_COMPONENTBUILDER_LIBRARY_FILES_FOLDERS_URLS_PATH_HINT" />
<!-- Notnew Field. Type: Checkbox. (joomla)-->
<field type="checkbox"
name="notnew"
label="COM_COMPONENTBUILDER_LIBRARY_FILES_FOLDERS_URLS_NOTNEW_LABEL"
value="1"
required="false"
description="COM_COMPONENTBUILDER_LIBRARY_FILES_FOLDERS_URLS_NOTNEW_DESCRIPTION"
class="inputbox" />
</form>
</field>
<!-- Note_add_files Field. Type: Note. A None Database Field. (joomla)--> <!-- Note_add_files Field. Type: Note. A None Database Field. (joomla)-->
<field type="note" <field type="note"
name="note_add_files" name="note_add_files"
@ -205,6 +286,13 @@
class="inputbox" /> class="inputbox" />
</form> </form>
</field> </field>
<!-- Note_add_files_fullpath Field. Type: Note. A None Database Field. (joomla)-->
<field type="note"
name="note_add_files_fullpath"
label="COM_COMPONENTBUILDER_LIBRARY_FILES_FOLDERS_URLS_NOTE_ADD_FILES_FULLPATH_LABEL"
description="COM_COMPONENTBUILDER_LIBRARY_FILES_FOLDERS_URLS_NOTE_ADD_FILES_FULLPATH_DESCRIPTION"
heading="h4"
class="alert alert-info note_add_files_fullpath" />
<!-- Note_add_folders Field. Type: Note. A None Database Field. (joomla)--> <!-- Note_add_folders Field. Type: Note. A None Database Field. (joomla)-->
<field type="note" <field type="note"
name="note_add_folders" name="note_add_folders"
@ -212,54 +300,13 @@
description="COM_COMPONENTBUILDER_LIBRARY_FILES_FOLDERS_URLS_NOTE_ADD_FOLDERS_DESCRIPTION" description="COM_COMPONENTBUILDER_LIBRARY_FILES_FOLDERS_URLS_NOTE_ADD_FOLDERS_DESCRIPTION"
heading="h4" heading="h4"
class="alert alert-info note_add_folders" /> class="alert alert-info note_add_folders" />
<!-- Addfilesfullpath Field. Type: Subform. (joomla)--> <!-- Note_add_folders_fullpath Field. Type: Note. A None Database Field. (joomla)-->
<field type="subform" <field type="note"
name="addfilesfullpath" name="note_add_folders_fullpath"
label="COM_COMPONENTBUILDER_LIBRARY_FILES_FOLDERS_URLS_ADDFILESFULLPATH_LABEL" label="COM_COMPONENTBUILDER_LIBRARY_FILES_FOLDERS_URLS_NOTE_ADD_FOLDERS_FULLPATH_LABEL"
layout="joomla.form.field.subform.repeatable-table" description="COM_COMPONENTBUILDER_LIBRARY_FILES_FOLDERS_URLS_NOTE_ADD_FOLDERS_FULLPATH_DESCRIPTION"
multiple="true" heading="h4"
description="COM_COMPONENTBUILDER_LIBRARY_FILES_FOLDERS_URLS_ADDFILESFULLPATH_DESCRIPTION" class="alert alert-info note_add_folders_fullpath" />
icon="list"
maximum="500">
<form hidden="true"
name="list_addfilesfullpath_modal"
repeat="true">
<!-- Filepath Field. Type: Text. (joomla)-->
<field type="text"
name="filepath"
label="COM_COMPONENTBUILDER_LIBRARY_FILES_FOLDERS_URLS_FILEPATH_LABEL"
size="70"
maxlength="300"
description="COM_COMPONENTBUILDER_LIBRARY_FILES_FOLDERS_URLS_FILEPATH_DESCRIPTION"
class="text_area"
required="false"
filter="PATH"
message="COM_COMPONENTBUILDER_LIBRARY_FILES_FOLDERS_URLS_FILEPATH_MESSAGE"
hint="COM_COMPONENTBUILDER_LIBRARY_FILES_FOLDERS_URLS_FILEPATH_HINT" />
<!-- Path Field. Type: Text. (joomla)-->
<field type="text"
name="path"
label="COM_COMPONENTBUILDER_LIBRARY_FILES_FOLDERS_URLS_PATH_LABEL"
size="40"
maxlength="150"
description="COM_COMPONENTBUILDER_LIBRARY_FILES_FOLDERS_URLS_PATH_DESCRIPTION"
class="text_area"
readonly="false"
disabled="false"
required="false"
filter="PATH"
message="COM_COMPONENTBUILDER_LIBRARY_FILES_FOLDERS_URLS_PATH_MESSAGE"
hint="COM_COMPONENTBUILDER_LIBRARY_FILES_FOLDERS_URLS_PATH_HINT" />
<!-- Notnew Field. Type: Checkbox. (joomla)-->
<field type="checkbox"
name="notnew"
label="COM_COMPONENTBUILDER_LIBRARY_FILES_FOLDERS_URLS_NOTNEW_LABEL"
value="1"
required="false"
description="COM_COMPONENTBUILDER_LIBRARY_FILES_FOLDERS_URLS_NOTNEW_DESCRIPTION"
class="inputbox" />
</form>
</field>
<!-- Addfolders Field. Type: Subform. (joomla)--> <!-- Addfolders Field. Type: Subform. (joomla)-->
<field type="subform" <field type="subform"
name="addfolders" name="addfolders"
@ -305,53 +352,13 @@
class="inputbox" /> class="inputbox" />
</form> </form>
</field> </field>
<!-- Addfoldersfullpath Field. Type: Subform. (joomla)--> <!-- Note_constant_paths Field. Type: Note. A None Database Field. (joomla)-->
<field type="subform" <field type="note"
name="addfoldersfullpath" name="note_constant_paths"
label="COM_COMPONENTBUILDER_LIBRARY_FILES_FOLDERS_URLS_ADDFOLDERSFULLPATH_LABEL" label="COM_COMPONENTBUILDER_LIBRARY_FILES_FOLDERS_URLS_NOTE_CONSTANT_PATHS_LABEL"
layout="joomla.form.field.subform.repeatable-table" description="COM_COMPONENTBUILDER_LIBRARY_FILES_FOLDERS_URLS_NOTE_CONSTANT_PATHS_DESCRIPTION"
multiple="true" heading="h4"
description="COM_COMPONENTBUILDER_LIBRARY_FILES_FOLDERS_URLS_ADDFOLDERSFULLPATH_DESCRIPTION" class="alert alert-info note_constant_paths" />
icon="list"
maximum="500">
<form hidden="true"
name="list_addfoldersfullpath_modal"
repeat="true">
<!-- Folderpath Field. Type: Text. (joomla)-->
<field type="text"
name="folderpath"
label="COM_COMPONENTBUILDER_LIBRARY_FILES_FOLDERS_URLS_FOLDERPATH_LABEL"
size="70"
maxlength="300"
description="COM_COMPONENTBUILDER_LIBRARY_FILES_FOLDERS_URLS_FOLDERPATH_DESCRIPTION"
class="text_area"
required="false"
filter="PATH"
message="COM_COMPONENTBUILDER_LIBRARY_FILES_FOLDERS_URLS_FOLDERPATH_MESSAGE"
hint="COM_COMPONENTBUILDER_LIBRARY_FILES_FOLDERS_URLS_FOLDERPATH_HINT" />
<!-- Path Field. Type: Text. (joomla)-->
<field type="text"
name="path"
label="COM_COMPONENTBUILDER_LIBRARY_FILES_FOLDERS_URLS_PATH_LABEL"
size="40"
maxlength="150"
description="COM_COMPONENTBUILDER_LIBRARY_FILES_FOLDERS_URLS_PATH_DESCRIPTION"
class="text_area"
readonly="false"
disabled="false"
required="false"
filter="PATH"
message="COM_COMPONENTBUILDER_LIBRARY_FILES_FOLDERS_URLS_PATH_MESSAGE"
hint="COM_COMPONENTBUILDER_LIBRARY_FILES_FOLDERS_URLS_PATH_HINT" />
<!-- Rename Field. Type: Checkbox. (joomla)-->
<field type="checkbox"
name="rename"
label="COM_COMPONENTBUILDER_LIBRARY_FILES_FOLDERS_URLS_RENAME_LABEL"
value="1"
required="false"
class="inputbox" />
</form>
</field>
</fieldset> </fieldset>
<!-- Access Control Fields. --> <!-- Access Control Fields. -->

View File

@ -95,6 +95,14 @@ class ComponentbuilderModelLibrary_files_folders_urls extends JModelAdmin
$item->metadata = $registry->toArray(); $item->metadata = $registry->toArray();
} }
if (!empty($item->addfoldersfullpath))
{
// Convert the addfoldersfullpath field to an array.
$addfoldersfullpath = new Registry;
$addfoldersfullpath->loadString($item->addfoldersfullpath);
$item->addfoldersfullpath = $addfoldersfullpath->toArray();
}
if (!empty($item->addurls)) if (!empty($item->addurls))
{ {
// Convert the addurls field to an array. // Convert the addurls field to an array.
@ -103,14 +111,6 @@ class ComponentbuilderModelLibrary_files_folders_urls extends JModelAdmin
$item->addurls = $addurls->toArray(); $item->addurls = $addurls->toArray();
} }
if (!empty($item->addfiles))
{
// Convert the addfiles field to an array.
$addfiles = new Registry;
$addfiles->loadString($item->addfiles);
$item->addfiles = $addfiles->toArray();
}
if (!empty($item->addfilesfullpath)) if (!empty($item->addfilesfullpath))
{ {
// Convert the addfilesfullpath field to an array. // Convert the addfilesfullpath field to an array.
@ -119,20 +119,20 @@ class ComponentbuilderModelLibrary_files_folders_urls extends JModelAdmin
$item->addfilesfullpath = $addfilesfullpath->toArray(); $item->addfilesfullpath = $addfilesfullpath->toArray();
} }
if (!empty($item->addfiles))
{
// Convert the addfiles field to an array.
$addfiles = new Registry;
$addfiles->loadString($item->addfiles);
$item->addfiles = $addfiles->toArray();
}
if (!empty($item->addfolders)) if (!empty($item->addfolders))
{ {
// Convert the addfolders field to an array. // Convert the addfolders field to an array.
$addfolders = new Registry; $addfolders = new Registry;
$addfolders->loadString($item->addfolders); $addfolders->loadString($item->addfolders);
$item->addfolders = $addfolders->toArray(); $item->addfolders = $addfolders->toArray();
}
if (!empty($item->addfoldersfullpath))
{
// Convert the addfoldersfullpath field to an array.
$addfoldersfullpath = new Registry;
$addfoldersfullpath->loadString($item->addfoldersfullpath);
$item->addfoldersfullpath = $addfoldersfullpath->toArray();
} }
if (!empty($item->id)) if (!empty($item->id))
@ -814,6 +814,19 @@ class ComponentbuilderModelLibrary_files_folders_urls extends JModelAdmin
$data['metadata'] = (string) $metadata; $data['metadata'] = (string) $metadata;
} }
// Set the addfoldersfullpath items to data.
if (isset($data['addfoldersfullpath']) && is_array($data['addfoldersfullpath']))
{
$addfoldersfullpath = new JRegistry;
$addfoldersfullpath->loadArray($data['addfoldersfullpath']);
$data['addfoldersfullpath'] = (string) $addfoldersfullpath;
}
elseif (!isset($data['addfoldersfullpath']))
{
// Set the empty addfoldersfullpath to data
$data['addfoldersfullpath'] = '';
}
// Set the addurls items to data. // Set the addurls items to data.
if (isset($data['addurls']) && is_array($data['addurls'])) if (isset($data['addurls']) && is_array($data['addurls']))
{ {
@ -827,19 +840,6 @@ class ComponentbuilderModelLibrary_files_folders_urls extends JModelAdmin
$data['addurls'] = ''; $data['addurls'] = '';
} }
// Set the addfiles items to data.
if (isset($data['addfiles']) && is_array($data['addfiles']))
{
$addfiles = new JRegistry;
$addfiles->loadArray($data['addfiles']);
$data['addfiles'] = (string) $addfiles;
}
elseif (!isset($data['addfiles']))
{
// Set the empty addfiles to data
$data['addfiles'] = '';
}
// Set the addfilesfullpath items to data. // Set the addfilesfullpath items to data.
if (isset($data['addfilesfullpath']) && is_array($data['addfilesfullpath'])) if (isset($data['addfilesfullpath']) && is_array($data['addfilesfullpath']))
{ {
@ -853,6 +853,19 @@ class ComponentbuilderModelLibrary_files_folders_urls extends JModelAdmin
$data['addfilesfullpath'] = ''; $data['addfilesfullpath'] = '';
} }
// Set the addfiles items to data.
if (isset($data['addfiles']) && is_array($data['addfiles']))
{
$addfiles = new JRegistry;
$addfiles->loadArray($data['addfiles']);
$data['addfiles'] = (string) $addfiles;
}
elseif (!isset($data['addfiles']))
{
// Set the empty addfiles to data
$data['addfiles'] = '';
}
// Set the addfolders items to data. // Set the addfolders items to data.
if (isset($data['addfolders']) && is_array($data['addfolders'])) if (isset($data['addfolders']) && is_array($data['addfolders']))
{ {
@ -864,19 +877,6 @@ class ComponentbuilderModelLibrary_files_folders_urls extends JModelAdmin
{ {
// Set the empty addfolders to data // Set the empty addfolders to data
$data['addfolders'] = ''; $data['addfolders'] = '';
}
// Set the addfoldersfullpath items to data.
if (isset($data['addfoldersfullpath']) && is_array($data['addfoldersfullpath']))
{
$addfoldersfullpath = new JRegistry;
$addfoldersfullpath->loadArray($data['addfoldersfullpath']);
$data['addfoldersfullpath'] = (string) $addfoldersfullpath;
}
elseif (!isset($data['addfoldersfullpath']))
{
// Set the empty addfoldersfullpath to data
$data['addfoldersfullpath'] = '';
} }
// Set the Params Items to data // Set the Params Items to data