Adds gitea URL. Adds option to add changelog gh-813. Adds clone option to some areas. Fixed gh-784 to allow BASE64 filter selection.

This commit is contained in:
2021-12-21 16:44:50 +02:00
parent 6beb6edf91
commit 53725a917d
1442 changed files with 6776 additions and 1922 deletions

View File

@ -4,6 +4,7 @@
*
* @created 30th April, 2015
* @author Llewellyn van der Merwe <http://www.joomlacomponentbuilder.com>
* @gitea Joomla Component Builder <https://git.vdm.dev/joomla/Component-Builder>
* @github Joomla Component Builder <https://github.com/vdm-io/Joomla-Component-Builder>
* @copyright Copyright (C) 2015 Vast Development Method. All rights reserved.
* @license GNU General Public License version 2 or later; see LICENSE.txt
@ -35,6 +36,12 @@ class ComponentbuilderModelComponent_custom_admin_views extends JModelAdmin
'above' => array(
'joomla_component'
)
),
'clone' => array(
'left' => array(
'note_how_to_clone',
'clone_me'
)
)
);
@ -838,6 +845,15 @@ class ComponentbuilderModelComponent_custom_admin_views extends JModelAdmin
$data['metadata'] = (string) $metadata;
}
// check if we have a clone moment
if (isset($data['clone_me']) && $data['clone_me'] > 0)
{
// get addcustom_admin_views data from clone_me (component_custom_admin_views)
$data['addcustom_admin_views'] = ComponentbuilderHelper::getVar('component_custom_admin_views', $data['clone_me'], 'joomla_component', 'addcustom_admin_views');
}
// Set the addcustom_admin_views items to data.
if (isset($data['addcustom_admin_views']) && is_array($data['addcustom_admin_views']))
{