Compare commits
8 Commits
Author | SHA1 | Date | |
---|---|---|---|
2fab51f611
|
|||
22aa94ad9c
|
|||
6d24fcfd2b
|
|||
04ebefe98d
|
|||
6a96c3b2c1
|
|||
c8b65b3b0b
|
|||
0cbe573fe0
|
|||
9f05fb090f
|
102
CHANGELOG.md
102
CHANGELOG.md
@ -1,3 +1,23 @@
|
|||||||
|
# v5.0.2
|
||||||
|
|
||||||
|
- Fix site view form missing classes in J4+
|
||||||
|
- Fix permissions tab in items in J4+
|
||||||
|
- Fix site display controller checkEditId function in J4+
|
||||||
|
- Add class methods to the HtmlView classes in J4+
|
||||||
|
- Fix broken toolbar call in HtmlView in J4+
|
||||||
|
- Fix missing scripts and styles fields and methods in the site admin view model
|
||||||
|
- Update subform field layout across JCB for cleaner look
|
||||||
|
- Remove expansion feature
|
||||||
|
- Fix helper area
|
||||||
|
- Fix database mySql update in J4+
|
||||||
|
- Remove phpspreadsheet completely from Joomla 4+
|
||||||
|
- Add option to use powers in preflight event in the installer class
|
||||||
|
- Fix abstract schema class function check default index warring
|
||||||
|
- Fix dynamicGet so that the table values will load again. #1155
|
||||||
|
- Add more pure JS to the dynamic get area
|
||||||
|
- Add native plugin builder for Joomla 4 & 5
|
||||||
|
- Add basic API for admin views
|
||||||
|
|
||||||
# v5.0.1
|
# v5.0.1
|
||||||
|
|
||||||
- Fix auto build from SQL in Joomla 5.
|
- Fix auto build from SQL in Joomla 5.
|
||||||
@ -69,54 +89,40 @@
|
|||||||
- Add the BaseDatabaseModel use statement to custom site view controller. #1119
|
- Add the BaseDatabaseModel use statement to custom site view controller. #1119
|
||||||
- Fix the customfolderlist field. #1120
|
- Fix the customfolderlist field. #1120
|
||||||
|
|
||||||
# v4.0.1
|
# v4.0.2
|
||||||
|
|
||||||
- Fix auto build from SQL in Joomla 4.
|
- Fix site view form missing classes in J4+
|
||||||
- Fix permission issue for admin views.
|
- Fix permissions tab in items in J4+
|
||||||
- Add in JCB gitea push feature to help maintain JCB core features.
|
- Fix site display controller checkEditId function in J4+
|
||||||
- Add extending options to interfaces.
|
- Add class methods to the HtmlView classes in J4+
|
||||||
- Change the extendsinterfaces field to allow null, #1139
|
- Fix broken toolbar call in HtmlView in J4+
|
||||||
- Update the Schema class to also update null mismatching if needed
|
- Fix missing scripts and styles fields and methods in the site admin view model
|
||||||
- Add repositories for better integration with gitea
|
- Update subform field layout across JCB for cleaner look
|
||||||
- Refactored the Data classes
|
- Remove expansion feature
|
||||||
- Add new Data classes
|
- Fix helper area
|
||||||
- Add new subform classes
|
- Fix database mySql update in J4+
|
||||||
- Fix registry class methods return type
|
- Remove phpspreadsheet completely from Joomla 4+
|
||||||
- Update all list and custom fields to use the new layouts
|
- Add option to use powers in preflight event in the installer class
|
||||||
- Add push options to Joomla Power
|
- Fix abstract schema class function check default index warring
|
||||||
- Complete the Joomla Power Init and Reset features
|
- Fix dynamicGet so that the table values will load again. #1155
|
||||||
- Fix Gitea Contents class functions
|
- Add more pure JS to the dynamic get area
|
||||||
- Fix subform set methods
|
- Add native plugin builder for Joomla 4 & 5
|
||||||
- Improved the Joomla Power Push path
|
|
||||||
- Fix the metadata, metadesc, metakey database issue
|
|
||||||
- Fix function mismatch call in the compiler power class.
|
|
||||||
- Fix init feature to only add missing powers
|
|
||||||
- Fix controller postSaveHook function, for correct model class in Joomla 4 and 5
|
|
||||||
- Fix app instances (mismatch) in the install script and schema class when installing from CLI
|
|
||||||
- Add option to use placeholders in Joomla Power namespaces.
|
|
||||||
- Fix subform layout of uikit in JCB
|
|
||||||
|
|
||||||
# v3.2.2
|
# v3.2.3
|
||||||
|
|
||||||
- Fix auto build from SQL in Joomla 4 and 5.
|
- Fix site view form missing classes in J4+
|
||||||
- Fix permission issue for admin views.
|
- Fix permissions tab in items in J4+
|
||||||
- Add extending options to interfaces.
|
- Fix site display controller checkEditId function in J4+
|
||||||
- Update the Schema class to also update null mismatching if needed
|
- Add class methods to the HtmlView classes in J4+
|
||||||
- Add repositories for better integration with gitea
|
- Fix broken toolbar call in HtmlView in J4+
|
||||||
- Refactored the Data classes
|
- Fix missing scripts and styles fields and methods in the site admin view model
|
||||||
- Add new Data classes
|
- Update subform field layout across JCB for cleaner look
|
||||||
- Add new subform classes
|
- Remove expansion feature
|
||||||
- Fix registry class methods return type
|
- Fix helper area
|
||||||
- Update all list and custom fields to use the new layouts
|
- Fix database mySql update in J4+
|
||||||
- Add push options to Joomla Power
|
- Remove phpspreadsheet completely from Joomla 4+
|
||||||
- Complete the Joomla Power Init and Reset features
|
- Add option to use powers in preflight event in the installer class
|
||||||
- Fix Gitea Contents class functions
|
- Fix abstract schema class function check default index warring
|
||||||
- Fix subform set methods
|
- Fix dynamicGet so that the table values will load again. #1155
|
||||||
- Improved the Joomla Power Push path
|
- Keep jQuery in dynamicGet area for Joomla 3
|
||||||
- Fix the metadata, metadesc, metakey database issue
|
- Add native plugin builder for Joomla 4 & 5
|
||||||
- Fix function mismatch call in the compiler power class.
|
|
||||||
- Fix init feature to only add missing powers
|
|
||||||
- Fix controller postSaveHook function, for correct model class in Joomla 4 and 5
|
|
||||||
- Fix app instances (mismatch) in the install script and schema class when installing from CLI
|
|
||||||
- Add option to use placeholders in Joomla Power namespaces.
|
|
||||||
- Fix subform layout of uikit in JCB
|
|
60
ComponentbuilderInstallerPowerloader.php
Normal file
60
ComponentbuilderInstallerPowerloader.php
Normal file
@ -0,0 +1,60 @@
|
|||||||
|
<?php
|
||||||
|
/**
|
||||||
|
* @package Joomla.Component.Builder
|
||||||
|
*
|
||||||
|
* @created 30th April, 2015
|
||||||
|
* @author Llewellyn van der Merwe <https://dev.vdm.io>
|
||||||
|
* @git Joomla Component Builder <https://git.vdm.dev/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
|
||||||
|
*/
|
||||||
|
|
||||||
|
// No direct access to this file
|
||||||
|
defined('_JEXEC') or die;
|
||||||
|
|
||||||
|
// register additional namespace
|
||||||
|
spl_autoload_register(function ($class) {
|
||||||
|
// project-specific base directories and namespace prefix
|
||||||
|
$search = [
|
||||||
|
'libraries/vendor_jcb/VDM.Joomla.Gitea' => 'VDM\\Joomla\\Gitea',
|
||||||
|
'libraries/vendor_jcb/VDM.Joomla.FOF' => 'VDM\\Joomla\\FOF',
|
||||||
|
'libraries/vendor_jcb/VDM.Joomla' => 'VDM\\Joomla',
|
||||||
|
'libraries/vendor_jcb/VDM.Minify' => 'VDM\\Minify',
|
||||||
|
'libraries/vendor_jcb/VDM.Psr' => 'VDM\\Psr'
|
||||||
|
];
|
||||||
|
// Start the search and load if found
|
||||||
|
$found = false;
|
||||||
|
$found_base_dir = "";
|
||||||
|
$found_len = 0;
|
||||||
|
foreach ($search as $base_dir => $prefix)
|
||||||
|
{
|
||||||
|
// does the class use the namespace prefix?
|
||||||
|
$len = strlen($prefix);
|
||||||
|
if (strncmp($prefix, $class, $len) === 0)
|
||||||
|
{
|
||||||
|
// we have a match so load the values
|
||||||
|
$found = true;
|
||||||
|
$found_base_dir = $base_dir;
|
||||||
|
$found_len = $len;
|
||||||
|
// done here
|
||||||
|
break;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
// check if we found a match
|
||||||
|
if (!$found)
|
||||||
|
{
|
||||||
|
// not found so move to the next registered autoloader
|
||||||
|
return;
|
||||||
|
}
|
||||||
|
// get the relative class name
|
||||||
|
$relative_class = substr($class, $found_len);
|
||||||
|
// replace the namespace prefix with the base directory, replace namespace
|
||||||
|
// separators with directory separators in the relative class name, append
|
||||||
|
// with .php
|
||||||
|
$file = __DIR__ . '/' . $found_base_dir . '/src' . str_replace('\\', '/', $relative_class) . '.php';
|
||||||
|
// if the file exists, require it
|
||||||
|
if (file_exists($file))
|
||||||
|
{
|
||||||
|
require $file;
|
||||||
|
}
|
||||||
|
});
|
@ -19,6 +19,7 @@ use Joomla\CMS\Version;
|
|||||||
use Joomla\CMS\HTML\HTMLHelper as Html;
|
use Joomla\CMS\HTML\HTMLHelper as Html;
|
||||||
use Joomla\Filesystem\Folder;
|
use Joomla\Filesystem\Folder;
|
||||||
use Joomla\Database\DatabaseInterface;
|
use Joomla\Database\DatabaseInterface;
|
||||||
|
use VDM\Joomla\Componentbuilder\PHPConfigurationChecker;
|
||||||
use VDM\Joomla\Componentbuilder\Table\SchemaChecker;
|
use VDM\Joomla\Componentbuilder\Table\SchemaChecker;
|
||||||
|
|
||||||
// No direct access to this file
|
// No direct access to this file
|
||||||
@ -48,7 +49,7 @@ class Com_ComponentbuilderInstallerScript implements InstallerScriptInterface
|
|||||||
/**
|
/**
|
||||||
* The version number of the extension.
|
* The version number of the extension.
|
||||||
*
|
*
|
||||||
* @var string
|
* @var string
|
||||||
* @since 3.6
|
* @since 3.6
|
||||||
*/
|
*/
|
||||||
protected $release;
|
protected $release;
|
||||||
@ -56,7 +57,7 @@ class Com_ComponentbuilderInstallerScript implements InstallerScriptInterface
|
|||||||
/**
|
/**
|
||||||
* The table the parameters are stored in.
|
* The table the parameters are stored in.
|
||||||
*
|
*
|
||||||
* @var string
|
* @var string
|
||||||
* @since 3.6
|
* @since 3.6
|
||||||
*/
|
*/
|
||||||
protected $paramTable;
|
protected $paramTable;
|
||||||
@ -64,7 +65,7 @@ class Com_ComponentbuilderInstallerScript implements InstallerScriptInterface
|
|||||||
/**
|
/**
|
||||||
* The extension name. This should be set in the installer script.
|
* The extension name. This should be set in the installer script.
|
||||||
*
|
*
|
||||||
* @var string
|
* @var string
|
||||||
* @since 3.6
|
* @since 3.6
|
||||||
*/
|
*/
|
||||||
protected $extension;
|
protected $extension;
|
||||||
@ -72,7 +73,7 @@ class Com_ComponentbuilderInstallerScript implements InstallerScriptInterface
|
|||||||
/**
|
/**
|
||||||
* A list of files to be deleted
|
* A list of files to be deleted
|
||||||
*
|
*
|
||||||
* @var array
|
* @var array
|
||||||
* @since 3.6
|
* @since 3.6
|
||||||
*/
|
*/
|
||||||
protected $deleteFiles = [];
|
protected $deleteFiles = [];
|
||||||
@ -80,7 +81,7 @@ class Com_ComponentbuilderInstallerScript implements InstallerScriptInterface
|
|||||||
/**
|
/**
|
||||||
* A list of folders to be deleted
|
* A list of folders to be deleted
|
||||||
*
|
*
|
||||||
* @var array
|
* @var array
|
||||||
* @since 3.6
|
* @since 3.6
|
||||||
*/
|
*/
|
||||||
protected $deleteFolders = [];
|
protected $deleteFolders = [];
|
||||||
@ -88,7 +89,7 @@ class Com_ComponentbuilderInstallerScript implements InstallerScriptInterface
|
|||||||
/**
|
/**
|
||||||
* A list of CLI script files to be copied to the cli directory
|
* A list of CLI script files to be copied to the cli directory
|
||||||
*
|
*
|
||||||
* @var array
|
* @var array
|
||||||
* @since 3.6
|
* @since 3.6
|
||||||
*/
|
*/
|
||||||
protected $cliScriptFiles = [];
|
protected $cliScriptFiles = [];
|
||||||
@ -96,7 +97,7 @@ class Com_ComponentbuilderInstallerScript implements InstallerScriptInterface
|
|||||||
/**
|
/**
|
||||||
* Minimum PHP version required to install the extension
|
* Minimum PHP version required to install the extension
|
||||||
*
|
*
|
||||||
* @var string
|
* @var string
|
||||||
* @since 3.6
|
* @since 3.6
|
||||||
*/
|
*/
|
||||||
protected $minimumPhp;
|
protected $minimumPhp;
|
||||||
@ -104,7 +105,7 @@ class Com_ComponentbuilderInstallerScript implements InstallerScriptInterface
|
|||||||
/**
|
/**
|
||||||
* Minimum Joomla! version required to install the extension
|
* Minimum Joomla! version required to install the extension
|
||||||
*
|
*
|
||||||
* @var string
|
* @var string
|
||||||
* @since 3.6
|
* @since 3.6
|
||||||
*/
|
*/
|
||||||
protected $minimumJoomla;
|
protected $minimumJoomla;
|
||||||
@ -158,7 +159,6 @@ class Com_ComponentbuilderInstallerScript implements InstallerScriptInterface
|
|||||||
* @param InstallerAdapter $adapter The adapter calling this method
|
* @param InstallerAdapter $adapter The adapter calling this method
|
||||||
*
|
*
|
||||||
* @return boolean True on success
|
* @return boolean True on success
|
||||||
*
|
|
||||||
* @since 4.2.0
|
* @since 4.2.0
|
||||||
*/
|
*/
|
||||||
public function install(InstallerAdapter $adapter): bool {return true;}
|
public function install(InstallerAdapter $adapter): bool {return true;}
|
||||||
@ -180,7 +180,6 @@ class Com_ComponentbuilderInstallerScript implements InstallerScriptInterface
|
|||||||
* @param InstallerAdapter $adapter The adapter calling this method
|
* @param InstallerAdapter $adapter The adapter calling this method
|
||||||
*
|
*
|
||||||
* @return boolean True on success
|
* @return boolean True on success
|
||||||
*
|
|
||||||
* @since 4.2.0
|
* @since 4.2.0
|
||||||
*/
|
*/
|
||||||
public function uninstall(InstallerAdapter $adapter): bool
|
public function uninstall(InstallerAdapter $adapter): bool
|
||||||
@ -525,7 +524,6 @@ class Com_ComponentbuilderInstallerScript implements InstallerScriptInterface
|
|||||||
* @param InstallerAdapter $adapter The adapter calling this method
|
* @param InstallerAdapter $adapter The adapter calling this method
|
||||||
*
|
*
|
||||||
* @return boolean True on success
|
* @return boolean True on success
|
||||||
*
|
|
||||||
* @since 4.2.0
|
* @since 4.2.0
|
||||||
*/
|
*/
|
||||||
public function preflight(string $type, InstallerAdapter $adapter): bool
|
public function preflight(string $type, InstallerAdapter $adapter): bool
|
||||||
@ -573,16 +571,22 @@ class Com_ComponentbuilderInstallerScript implements InstallerScriptInterface
|
|||||||
$this->removeFolder($cleaner);
|
$this->removeFolder($cleaner);
|
||||||
}
|
}
|
||||||
|
|
||||||
// Check that the required configuration are set for PHP
|
// Check that the PHP configurations are sufficient
|
||||||
$this->phpConfigurationCheck($this->app);
|
if ($this->classExists(PHPConfigurationChecker::class))
|
||||||
|
{
|
||||||
|
(new PHPConfigurationChecker())->run();
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
// do any install needed
|
// do any install needed
|
||||||
if ($type === 'install')
|
if ($type === 'install')
|
||||||
{
|
{
|
||||||
|
|
||||||
// Check that the required configuration are set for PHP
|
// Check that the PHP configurations are sufficient
|
||||||
$this->phpConfigurationCheck($this->app);
|
if ($this->classExists(PHPConfigurationChecker::class))
|
||||||
|
{
|
||||||
|
(new PHPConfigurationChecker())->run();
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
return true;
|
return true;
|
||||||
@ -595,7 +599,6 @@ class Com_ComponentbuilderInstallerScript implements InstallerScriptInterface
|
|||||||
* @param InstallerAdapter $adapter The adapter calling this method
|
* @param InstallerAdapter $adapter The adapter calling this method
|
||||||
*
|
*
|
||||||
* @return boolean True on success
|
* @return boolean True on success
|
||||||
*
|
|
||||||
* @since 4.2.0
|
* @since 4.2.0
|
||||||
*/
|
*/
|
||||||
public function postflight(string $type, InstallerAdapter $adapter): bool
|
public function postflight(string $type, InstallerAdapter $adapter): bool
|
||||||
@ -1060,11 +1063,11 @@ class Com_ComponentbuilderInstallerScript implements InstallerScriptInterface
|
|||||||
// rules
|
// rules
|
||||||
'',
|
'',
|
||||||
// fieldMappings
|
// fieldMappings
|
||||||
'{"common": {"core_content_item_id": "id","core_title": "title","core_state": "published","core_alias": "alias","core_created_time": "created","core_modified_time": "modified","core_body": "content","core_hits": "hits","core_publish_up": "null","core_publish_down": "null","core_access": "null","core_params": "params","core_featured": "null","core_metadata": "null","core_language": "null","core_images": "null","core_urls": "null","core_version": "version","core_ordering": "ordering","core_metakey": "null","core_metadesc": "null","core_catid": "null","core_xreference": "null","asset_id": "asset_id"},"special": {"title":"title","type":"type","groups":"groups","location":"location","admin_view":"admin_view","site_view":"site_view","not_required":"not_required","content":"content","article":"article","url":"url","target":"target","alias":"alias"}}',
|
'{"common": {"core_content_item_id": "id","core_title": "title","core_state": "published","core_alias": "alias","core_created_time": "created","core_modified_time": "modified","core_body": "content","core_hits": "hits","core_publish_up": "null","core_publish_down": "null","core_access": "null","core_params": "params","core_featured": "null","core_metadata": "null","core_language": "null","core_images": "null","core_urls": "null","core_version": "version","core_ordering": "ordering","core_metakey": "null","core_metadesc": "null","core_catid": "null","core_xreference": "null","asset_id": "asset_id"},"special": {"title":"title","type":"type","groups":"groups","location":"location","admin_view":"admin_view","site_view":"site_view","alias":"alias","content":"content","article":"article","url":"url","target":"target"}}',
|
||||||
// router
|
// router
|
||||||
'',
|
'',
|
||||||
// contentHistoryOptions
|
// contentHistoryOptions
|
||||||
'{"formFile": "administrator/components/com_componentbuilder/forms/help_document.xml","hideFields": ["asset_id","checked_out","checked_out_time","not_required"],"ignoreChanges": ["modified_by","modified","checked_out","checked_out_time","version","hits"],"convertToInt": ["published","ordering","version","hits","type","location","not_required","article","target"],"displayLookup": [{"sourceColumn": "created_by","targetTable": "#__users","targetColumn": "id","displayColumn": "name"},{"sourceColumn": "modified_by","targetTable": "#__users","targetColumn": "id","displayColumn": "name"},{"sourceColumn": "article","targetTable": "#__content","targetColumn": "id","displayColumn": "title"}]}'
|
'{"formFile": "administrator/components/com_componentbuilder/forms/help_document.xml","hideFields": ["asset_id","checked_out","checked_out_time"],"ignoreChanges": ["modified_by","modified","checked_out","checked_out_time","version","hits"],"convertToInt": ["published","ordering","version","hits","type","location","article","target"],"displayLookup": [{"sourceColumn": "created_by","targetTable": "#__users","targetColumn": "id","displayColumn": "name"},{"sourceColumn": "modified_by","targetTable": "#__users","targetColumn": "id","displayColumn": "name"},{"sourceColumn": "article","targetTable": "#__content","targetColumn": "id","displayColumn": "title"}]}'
|
||||||
);
|
);
|
||||||
// Install Admin fields Content Types.
|
// Install Admin fields Content Types.
|
||||||
$this->setContentType(
|
$this->setContentType(
|
||||||
@ -1511,10 +1514,10 @@ class Com_ComponentbuilderInstallerScript implements InstallerScriptInterface
|
|||||||
|
|
||||||
|
|
||||||
// Fix the assets table rules column size.
|
// Fix the assets table rules column size.
|
||||||
$this->setDatabaseAssetsRulesFix(96160, "MEDIUMTEXT");
|
$this->setDatabaseAssetsRulesFix(95040, "MEDIUMTEXT");
|
||||||
// Install the global extension params.
|
// Install the global extension params.
|
||||||
$this->setExtensionsParams(
|
$this->setExtensionsParams(
|
||||||
'{"autorName":"Llewellyn van der Merwe","autorEmail":"joomla@vdm.io","subform_layouts":"default","editor":"none","manage_jcb_package_directories":"2","set_browser_storage":"1","storage_time_to_live":"global","super_powers_documentation":"0","powers_repository":"0","super_powers_repositories":"0","builder_gif_size":"480-272","compiler_plugin":["componentbuilderactionlogcompiler","componentbuilderfieldorderingcompiler","componentbuilderheaderscompiler","componentbuilderpowersautoloadercompiler","componentbuilderprivacycompiler"],"add_menu_prefix":"1","menu_prefix":"»","namespace_prefix":"JCB","minify":"0","language":"en-GB","percentagelanguageadd":"30","assets_table_fix":"2","compiler_field_builder_type":"2","field_name_builder":"1","type_name_builder":"1","import_guid_only":"1","export_language_strings":"1","development_method":"1","expansion":"0","return_options_build":"2","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","add_jquery_framework":"1","uikit_load":"1","uikit_min":"","uikit_style":""}'
|
'{"autorName":"Llewellyn van der Merwe","autorEmail":"joomla@vdm.io","subform_layouts":"default","editor":"none","manage_jcb_package_directories":"2","set_browser_storage":"1","storage_time_to_live":"global","super_powers_documentation":"0","powers_repository":"0","super_powers_repositories":"0","builder_gif_size":"480-272","compiler_plugin":["componentbuilderactionlogcompiler","componentbuilderfieldorderingcompiler","componentbuilderheaderscompiler","componentbuilderpowersautoloadercompiler","componentbuilderprivacycompiler"],"add_menu_prefix":"1","menu_prefix":"»","namespace_prefix":"JCB","minify":"0","language":"en-GB","percentagelanguageadd":"30","assets_table_fix":"2","compiler_field_builder_type":"2","field_name_builder":"1","type_name_builder":"1","import_guid_only":"1","export_language_strings":"1","cronjob_backup_type":"1","cronjob_backup_server":"0","backup_package_name":"JCB_Backup_[YEAR]_[MONTH]_[DAY]","export_company":"Vast Development Method","export_owner":"Llewellyn van der Merwe","export_email":"joomla@vdm.io","export_website":"https://dev.vdm.io/","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","add_jquery_framework":"1","uikit_load":"1","uikit_min":"","uikit_style":""}'
|
||||||
);
|
);
|
||||||
|
|
||||||
|
|
||||||
@ -2806,11 +2809,11 @@ class Com_ComponentbuilderInstallerScript implements InstallerScriptInterface
|
|||||||
// rules
|
// rules
|
||||||
'',
|
'',
|
||||||
// fieldMappings
|
// fieldMappings
|
||||||
'{"common": {"core_content_item_id": "id","core_title": "title","core_state": "published","core_alias": "alias","core_created_time": "created","core_modified_time": "modified","core_body": "content","core_hits": "hits","core_publish_up": "null","core_publish_down": "null","core_access": "null","core_params": "params","core_featured": "null","core_metadata": "null","core_language": "null","core_images": "null","core_urls": "null","core_version": "version","core_ordering": "ordering","core_metakey": "null","core_metadesc": "null","core_catid": "null","core_xreference": "null","asset_id": "asset_id"},"special": {"title":"title","type":"type","groups":"groups","location":"location","admin_view":"admin_view","site_view":"site_view","not_required":"not_required","content":"content","article":"article","url":"url","target":"target","alias":"alias"}}',
|
'{"common": {"core_content_item_id": "id","core_title": "title","core_state": "published","core_alias": "alias","core_created_time": "created","core_modified_time": "modified","core_body": "content","core_hits": "hits","core_publish_up": "null","core_publish_down": "null","core_access": "null","core_params": "params","core_featured": "null","core_metadata": "null","core_language": "null","core_images": "null","core_urls": "null","core_version": "version","core_ordering": "ordering","core_metakey": "null","core_metadesc": "null","core_catid": "null","core_xreference": "null","asset_id": "asset_id"},"special": {"title":"title","type":"type","groups":"groups","location":"location","admin_view":"admin_view","site_view":"site_view","alias":"alias","content":"content","article":"article","url":"url","target":"target"}}',
|
||||||
// router
|
// router
|
||||||
'',
|
'',
|
||||||
// contentHistoryOptions
|
// contentHistoryOptions
|
||||||
'{"formFile": "administrator/components/com_componentbuilder/forms/help_document.xml","hideFields": ["asset_id","checked_out","checked_out_time","not_required"],"ignoreChanges": ["modified_by","modified","checked_out","checked_out_time","version","hits"],"convertToInt": ["published","ordering","version","hits","type","location","not_required","article","target"],"displayLookup": [{"sourceColumn": "created_by","targetTable": "#__users","targetColumn": "id","displayColumn": "name"},{"sourceColumn": "modified_by","targetTable": "#__users","targetColumn": "id","displayColumn": "name"},{"sourceColumn": "article","targetTable": "#__content","targetColumn": "id","displayColumn": "title"}]}'
|
'{"formFile": "administrator/components/com_componentbuilder/forms/help_document.xml","hideFields": ["asset_id","checked_out","checked_out_time"],"ignoreChanges": ["modified_by","modified","checked_out","checked_out_time","version","hits"],"convertToInt": ["published","ordering","version","hits","type","location","article","target"],"displayLookup": [{"sourceColumn": "created_by","targetTable": "#__users","targetColumn": "id","displayColumn": "name"},{"sourceColumn": "modified_by","targetTable": "#__users","targetColumn": "id","displayColumn": "name"},{"sourceColumn": "article","targetTable": "#__content","targetColumn": "id","displayColumn": "title"}]}'
|
||||||
);
|
);
|
||||||
// Update Admin fields Content Types.
|
// Update Admin fields Content Types.
|
||||||
$this->setContentType(
|
$this->setContentType(
|
||||||
@ -3267,7 +3270,7 @@ class Com_ComponentbuilderInstallerScript implements InstallerScriptInterface
|
|||||||
echo '<div style="background-color: #fff;" class="alert alert-info"><a target="_blank" href="https://dev.vdm.io" title="Component Builder">
|
echo '<div style="background-color: #fff;" class="alert alert-info"><a target="_blank" href="https://dev.vdm.io" title="Component Builder">
|
||||||
<img src="components/com_componentbuilder/assets/images/vdm-component.jpg"/>
|
<img src="components/com_componentbuilder/assets/images/vdm-component.jpg"/>
|
||||||
</a>
|
</a>
|
||||||
<h3>Upgrade to Version 5.0.1 Was Successful! Let us know if anything is not working as expected.</h3></div>';
|
<h3>Upgrade to Version 5.0.2 Was Successful! Let us know if anything is not working as expected.</h3></div>';
|
||||||
|
|
||||||
// Add/Update component in the action logs extensions table.
|
// Add/Update component in the action logs extensions table.
|
||||||
$this->setActionLogsExtensions();
|
$this->setActionLogsExtensions();
|
||||||
@ -4105,7 +4108,7 @@ class Com_ComponentbuilderInstallerScript implements InstallerScriptInterface
|
|||||||
* @param array|null $ignore The folders and files to ignore and not remove.
|
* @param array|null $ignore The folders and files to ignore and not remove.
|
||||||
*
|
*
|
||||||
* @return bool True if all specified files/folders are removed, false otherwise.
|
* @return bool True if all specified files/folders are removed, false otherwise.
|
||||||
* @since 3.2.2
|
* @since 3.2.2
|
||||||
*/
|
*/
|
||||||
protected function removeFolder(string $dir, ?array $ignore = null): bool
|
protected function removeFolder(string $dir, ?array $ignore = null): bool
|
||||||
{
|
{
|
||||||
@ -4156,7 +4159,7 @@ class Com_ComponentbuilderInstallerScript implements InstallerScriptInterface
|
|||||||
* @param array $ignore The folders and files to ignore.
|
* @param array $ignore The folders and files to ignore.
|
||||||
*
|
*
|
||||||
* @return bool True if the directory is empty or contains only ignored items, false otherwise.
|
* @return bool True if the directory is empty or contains only ignored items, false otherwise.
|
||||||
* @since 3.2.1
|
* @since 3.2.1
|
||||||
*/
|
*/
|
||||||
protected function isDirEmpty(string $dir, array $ignore): bool
|
protected function isDirEmpty(string $dir, array $ignore): bool
|
||||||
{
|
{
|
||||||
@ -4176,7 +4179,6 @@ class Com_ComponentbuilderInstallerScript implements InstallerScriptInterface
|
|||||||
* Remove the files and folders in the given array from
|
* Remove the files and folders in the given array from
|
||||||
*
|
*
|
||||||
* @return void
|
* @return void
|
||||||
*
|
|
||||||
* @since 3.6
|
* @since 3.6
|
||||||
*/
|
*/
|
||||||
protected function removeFiles()
|
protected function removeFiles()
|
||||||
@ -4208,7 +4210,6 @@ class Com_ComponentbuilderInstallerScript implements InstallerScriptInterface
|
|||||||
* Moves the CLI scripts into the CLI folder in the CMS
|
* Moves the CLI scripts into the CLI folder in the CMS
|
||||||
*
|
*
|
||||||
* @return void
|
* @return void
|
||||||
*
|
|
||||||
* @since 3.6
|
* @since 3.6
|
||||||
*/
|
*/
|
||||||
protected function moveCliFiles()
|
protected function moveCliFiles()
|
||||||
@ -4239,7 +4240,7 @@ class Com_ComponentbuilderInstallerScript implements InstallerScriptInterface
|
|||||||
* @param string $contentHistoryOptions
|
* @param string $contentHistoryOptions
|
||||||
*
|
*
|
||||||
* @return void
|
* @return void
|
||||||
* @since 4.4.2
|
* @since 4.4.2
|
||||||
*/
|
*/
|
||||||
protected function setContentType(
|
protected function setContentType(
|
||||||
string $typeTitle,
|
string $typeTitle,
|
||||||
@ -4301,7 +4302,7 @@ class Com_ComponentbuilderInstallerScript implements InstallerScriptInterface
|
|||||||
* @param string $textPrefix
|
* @param string $textPrefix
|
||||||
*
|
*
|
||||||
* @return void
|
* @return void
|
||||||
* @since 4.4.2
|
* @since 4.4.2
|
||||||
*/
|
*/
|
||||||
protected function setActionLogConfig(
|
protected function setActionLogConfig(
|
||||||
string $typeTitle,
|
string $typeTitle,
|
||||||
@ -4354,7 +4355,7 @@ class Com_ComponentbuilderInstallerScript implements InstallerScriptInterface
|
|||||||
* Set action logs extensions integration
|
* Set action logs extensions integration
|
||||||
*
|
*
|
||||||
* @return void
|
* @return void
|
||||||
* @since 4.4.2
|
* @since 4.4.2
|
||||||
*/
|
*/
|
||||||
protected function setActionLogsExtensions(): void
|
protected function setActionLogsExtensions(): void
|
||||||
{
|
{
|
||||||
@ -4395,7 +4396,7 @@ class Com_ComponentbuilderInstallerScript implements InstallerScriptInterface
|
|||||||
* @param string $rules The component rules
|
* @param string $rules The component rules
|
||||||
*
|
*
|
||||||
* @return void
|
* @return void
|
||||||
* @since 4.4.2
|
* @since 4.4.2
|
||||||
*/
|
*/
|
||||||
protected function setAssetsRules(string $rules): void
|
protected function setAssetsRules(string $rules): void
|
||||||
{
|
{
|
||||||
@ -4433,7 +4434,7 @@ class Com_ComponentbuilderInstallerScript implements InstallerScriptInterface
|
|||||||
* @param string $params The component rules
|
* @param string $params The component rules
|
||||||
*
|
*
|
||||||
* @return void
|
* @return void
|
||||||
* @since 4.4.2
|
* @since 4.4.2
|
||||||
*/
|
*/
|
||||||
protected function setExtensionsParams(string $params): void
|
protected function setExtensionsParams(string $params): void
|
||||||
{
|
{
|
||||||
@ -4476,7 +4477,7 @@ class Com_ComponentbuilderInstallerScript implements InstallerScriptInterface
|
|||||||
* @param string $dataType This datatype we will change the rules column to if it to small.
|
* @param string $dataType This datatype we will change the rules column to if it to small.
|
||||||
*
|
*
|
||||||
* @return void
|
* @return void
|
||||||
* @since 4.4.2
|
* @since 4.4.2
|
||||||
*/
|
*/
|
||||||
protected function setDatabaseAssetsRulesFix(int $accessWorseCase, string $dataType): void
|
protected function setDatabaseAssetsRulesFix(int $accessWorseCase, string $dataType): void
|
||||||
{
|
{
|
||||||
@ -4511,7 +4512,7 @@ class Com_ComponentbuilderInstallerScript implements InstallerScriptInterface
|
|||||||
* @param bool $fields The switch to also remove related field data
|
* @param bool $fields The switch to also remove related field data
|
||||||
*
|
*
|
||||||
* @return void
|
* @return void
|
||||||
* @since 4.4.2
|
* @since 4.4.2
|
||||||
*/
|
*/
|
||||||
protected function removeViewData(string $context, bool $fields = false): void
|
protected function removeViewData(string $context, bool $fields = false): void
|
||||||
{
|
{
|
||||||
@ -4534,7 +4535,7 @@ class Com_ComponentbuilderInstallerScript implements InstallerScriptInterface
|
|||||||
* @param string $context The view context
|
* @param string $context The view context
|
||||||
*
|
*
|
||||||
* @return void
|
* @return void
|
||||||
* @since 4.4.2
|
* @since 4.4.2
|
||||||
*/
|
*/
|
||||||
protected function removeContentTypes(string $context): void
|
protected function removeContentTypes(string $context): void
|
||||||
{
|
{
|
||||||
@ -4591,7 +4592,7 @@ class Com_ComponentbuilderInstallerScript implements InstallerScriptInterface
|
|||||||
* @param string $context The view context
|
* @param string $context The view context
|
||||||
*
|
*
|
||||||
* @return void
|
* @return void
|
||||||
* @since 4.4.2
|
* @since 4.4.2
|
||||||
*/
|
*/
|
||||||
protected function removeFields(string $context): void
|
protected function removeFields(string $context): void
|
||||||
{
|
{
|
||||||
@ -4653,7 +4654,7 @@ class Com_ComponentbuilderInstallerScript implements InstallerScriptInterface
|
|||||||
* @param array $ids The view context
|
* @param array $ids The view context
|
||||||
*
|
*
|
||||||
* @return void
|
* @return void
|
||||||
* @since 4.4.2
|
* @since 4.4.2
|
||||||
*/
|
*/
|
||||||
protected function removeFieldsValues(string $context, array $ids): void
|
protected function removeFieldsValues(string $context, array $ids): void
|
||||||
{
|
{
|
||||||
@ -4684,7 +4685,7 @@ class Com_ComponentbuilderInstallerScript implements InstallerScriptInterface
|
|||||||
* @param string $context The view context
|
* @param string $context The view context
|
||||||
*
|
*
|
||||||
* @return void
|
* @return void
|
||||||
* @since 4.4.2
|
* @since 4.4.2
|
||||||
*/
|
*/
|
||||||
protected function removeFieldsGroups(string $context): void
|
protected function removeFieldsGroups(string $context): void
|
||||||
{
|
{
|
||||||
@ -4739,7 +4740,7 @@ class Com_ComponentbuilderInstallerScript implements InstallerScriptInterface
|
|||||||
* @param string $context The view context
|
* @param string $context The view context
|
||||||
*
|
*
|
||||||
* @return void
|
* @return void
|
||||||
* @since 4.4.2
|
* @since 4.4.2
|
||||||
*/
|
*/
|
||||||
protected function removeViewHistory(string $context): void
|
protected function removeViewHistory(string $context): void
|
||||||
{
|
{
|
||||||
@ -4771,7 +4772,7 @@ class Com_ComponentbuilderInstallerScript implements InstallerScriptInterface
|
|||||||
* @param array $ids The type ids
|
* @param array $ids The type ids
|
||||||
*
|
*
|
||||||
* @return void
|
* @return void
|
||||||
* @since 4.4.2
|
* @since 4.4.2
|
||||||
*/
|
*/
|
||||||
protected function removeUcmBase(array $ids): void
|
protected function removeUcmBase(array $ids): void
|
||||||
{
|
{
|
||||||
@ -4804,7 +4805,7 @@ class Com_ComponentbuilderInstallerScript implements InstallerScriptInterface
|
|||||||
* @param string $context The view context
|
* @param string $context The view context
|
||||||
*
|
*
|
||||||
* @return void
|
* @return void
|
||||||
* @since 4.4.2
|
* @since 4.4.2
|
||||||
*/
|
*/
|
||||||
protected function removeUcmContent(string $context): void
|
protected function removeUcmContent(string $context): void
|
||||||
{
|
{
|
||||||
@ -4836,7 +4837,7 @@ class Com_ComponentbuilderInstallerScript implements InstallerScriptInterface
|
|||||||
* @param string $context The view context
|
* @param string $context The view context
|
||||||
*
|
*
|
||||||
* @return void
|
* @return void
|
||||||
* @since 4.4.2
|
* @since 4.4.2
|
||||||
*/
|
*/
|
||||||
protected function removeContentItemTagMap(string $context): void
|
protected function removeContentItemTagMap(string $context): void
|
||||||
{
|
{
|
||||||
@ -4871,7 +4872,7 @@ class Com_ComponentbuilderInstallerScript implements InstallerScriptInterface
|
|||||||
* @param string $context The view context
|
* @param string $context The view context
|
||||||
*
|
*
|
||||||
* @return void
|
* @return void
|
||||||
* @since 4.4.2
|
* @since 4.4.2
|
||||||
*/
|
*/
|
||||||
protected function removeActionLogConfig(string $context): void
|
protected function removeActionLogConfig(string $context): void
|
||||||
{
|
{
|
||||||
@ -4901,7 +4902,7 @@ class Com_ComponentbuilderInstallerScript implements InstallerScriptInterface
|
|||||||
* Remove Asset Table Integrated
|
* Remove Asset Table Integrated
|
||||||
*
|
*
|
||||||
* @return void
|
* @return void
|
||||||
* @since 4.4.2
|
* @since 4.4.2
|
||||||
*/
|
*/
|
||||||
protected function removeAssetData(): void
|
protected function removeAssetData(): void
|
||||||
{
|
{
|
||||||
@ -4929,7 +4930,7 @@ class Com_ComponentbuilderInstallerScript implements InstallerScriptInterface
|
|||||||
* Remove action logs extensions integrated
|
* Remove action logs extensions integrated
|
||||||
*
|
*
|
||||||
* @return void
|
* @return void
|
||||||
* @since 4.4.2
|
* @since 4.4.2
|
||||||
*/
|
*/
|
||||||
protected function removeActionLogsExtensions(): void
|
protected function removeActionLogsExtensions(): void
|
||||||
{
|
{
|
||||||
@ -4959,7 +4960,7 @@ class Com_ComponentbuilderInstallerScript implements InstallerScriptInterface
|
|||||||
* Remove remove database fix (if possible)
|
* Remove remove database fix (if possible)
|
||||||
*
|
*
|
||||||
* @return void
|
* @return void
|
||||||
* @since 4.4.2
|
* @since 4.4.2
|
||||||
*/
|
*/
|
||||||
protected function removeDatabaseAssetsRulesFix(): void
|
protected function removeDatabaseAssetsRulesFix(): void
|
||||||
{
|
{
|
||||||
@ -4997,134 +4998,35 @@ class Com_ComponentbuilderInstallerScript implements InstallerScriptInterface
|
|||||||
* @param string $className The fully qualified name of the class to check.
|
* @param string $className The fully qualified name of the class to check.
|
||||||
*
|
*
|
||||||
* @return bool True if the class exists or was successfully loaded, false otherwise.
|
* @return bool True if the class exists or was successfully loaded, false otherwise.
|
||||||
* @since 4.0.1
|
* @since 4.0.1
|
||||||
*/
|
*/
|
||||||
protected function classExists(string $className): bool
|
protected function classExists(string $className): bool
|
||||||
{
|
{
|
||||||
if (!class_exists($className, true))
|
if (class_exists($className, true))
|
||||||
{
|
{
|
||||||
// The power autoloader for this project (JPATH_ADMINISTRATOR) area.
|
return true;
|
||||||
$power_autoloader = JPATH_ADMINISTRATOR . '/components/com_componentbuilder/src/Helper/PowerloaderHelper.php';
|
}
|
||||||
if (file_exists($power_autoloader))
|
|
||||||
{
|
|
||||||
require_once $power_autoloader;
|
|
||||||
}
|
|
||||||
|
|
||||||
// Check again if the class now exists after requiring the autoloader
|
// Autoloaders to check
|
||||||
if (!class_exists($className, true))
|
$autoloaders = [
|
||||||
|
__DIR__ . '/ComponentbuilderInstallerPowerloader.php',
|
||||||
|
JPATH_ADMINISTRATOR . '/components/com_componentbuilder/src/Helper/PowerloaderHelper.php'
|
||||||
|
];
|
||||||
|
|
||||||
|
foreach ($autoloaders as $autoloader)
|
||||||
|
{
|
||||||
|
if (file_exists($autoloader))
|
||||||
{
|
{
|
||||||
return false;
|
require_once $autoloader;
|
||||||
|
|
||||||
|
if (class_exists($className, true))
|
||||||
|
{
|
||||||
|
return true;
|
||||||
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
return true;
|
|
||||||
}
|
|
||||||
|
|
||||||
/**
|
return false;
|
||||||
* Define the required limits with specific messages for success and warning scenarios
|
|
||||||
*
|
|
||||||
* @var array
|
|
||||||
* @since 3.2.1
|
|
||||||
*/
|
|
||||||
protected array $requiredPHPConfigs = [
|
|
||||||
'upload_max_filesize' => [
|
|
||||||
'value' => '128M',
|
|
||||||
'success' => 'The upload_max_filesize is appropriately set to handle large files, which is essential for uploading substantial components and media.',
|
|
||||||
'warning' => 'The current upload_max_filesize may not support large file uploads effectively, potentially causing failures during component installation.'
|
|
||||||
],
|
|
||||||
'post_max_size' => [
|
|
||||||
'value' => '128M',
|
|
||||||
'success' => 'The post_max_size setting is sufficient to manage large data submissions, ensuring smooth data processing within forms and uploads.',
|
|
||||||
'warning' => 'An insufficient post_max_size can lead to truncated data submissions, affecting form functionality and data integrity.'
|
|
||||||
],
|
|
||||||
'max_execution_time' => [
|
|
||||||
'value' => 60,
|
|
||||||
'success' => 'Max execution time is set high enough to execute complex operations without premature termination, which is crucial for lengthy operations.',
|
|
||||||
'warning' => 'A low max execution time could lead to script timeouts, especially during intensive operations, which might interrupt execution and cause failures during the compiling of a large extension.'
|
|
||||||
],
|
|
||||||
'max_input_vars' => [
|
|
||||||
'value' => 7000,
|
|
||||||
'success' => 'The max_input_vars setting supports a high number of input variables, facilitating complex forms and detailed component configurations.',
|
|
||||||
'warning' => 'Too few max_input_vars may result in lost data during processing complex forms, which can lead to incomplete configurations and operational issues.'
|
|
||||||
],
|
|
||||||
'max_input_time' => [
|
|
||||||
'value' => 60,
|
|
||||||
'success' => 'Max input time is adequate for processing inputs efficiently during high-load operations, ensuring no premature timeouts.',
|
|
||||||
'warning' => 'An insufficient max input time could result in incomplete data processing during input-heavy operations, potentially leading to errors and data loss.'
|
|
||||||
],
|
|
||||||
'memory_limit' => [
|
|
||||||
'value' => '256M',
|
|
||||||
'success' => 'The memory limit is set high to accommodate extensive operations and data processing, which enhances overall performance and stability.',
|
|
||||||
'warning' => 'A low memory limit can lead to frequent crashes and performance issues, particularly when processing large amounts of data or complex calculations.'
|
|
||||||
]
|
|
||||||
];
|
|
||||||
|
|
||||||
/**
|
|
||||||
* Helper function to convert PHP INI memory values to bytes
|
|
||||||
*
|
|
||||||
* @param string $value The value to convert
|
|
||||||
*
|
|
||||||
* @return int The bytes value
|
|
||||||
* @since 3.2.1
|
|
||||||
*/
|
|
||||||
protected function convertToBytes(string $value): int
|
|
||||||
{
|
|
||||||
$value = trim($value);
|
|
||||||
$lastChar = strtolower($value[strlen($value) - 1]);
|
|
||||||
$numValue = substr($value, 0, -1);
|
|
||||||
|
|
||||||
switch ($lastChar)
|
|
||||||
{
|
|
||||||
case 'g':
|
|
||||||
return $numValue * 1024 * 1024 * 1024;
|
|
||||||
case 'm':
|
|
||||||
return $numValue * 1024 * 1024;
|
|
||||||
case 'k':
|
|
||||||
return $numValue * 1024;
|
|
||||||
default:
|
|
||||||
return (int) $value;
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
/**
|
|
||||||
* Check that the required configurations are set for PHP
|
|
||||||
*
|
|
||||||
* @param $app The application
|
|
||||||
*
|
|
||||||
* @return void
|
|
||||||
* @since 3.2.1
|
|
||||||
*/
|
|
||||||
protected function phpConfigurationCheck($app): void
|
|
||||||
{
|
|
||||||
$showHelp = false;
|
|
||||||
|
|
||||||
// Check each configuration and provide detailed feedback
|
|
||||||
foreach ($this->requiredPHPConfigs as $configName => $configDetails)
|
|
||||||
{
|
|
||||||
$currentValue = ini_get($configName);
|
|
||||||
if ($currentValue === false)
|
|
||||||
{
|
|
||||||
$app->enqueueMessage("Error: Unable to retrieve current setting for '{$configName}'.", 'error');
|
|
||||||
continue;
|
|
||||||
}
|
|
||||||
|
|
||||||
$isMemoryValue = strpbrk($configDetails['value'], 'KMG') !== false;
|
|
||||||
$requiredValueBytes = $isMemoryValue ? $this->convertToBytes($configDetails['value']) : (int) $configDetails['value'];
|
|
||||||
$currentValueBytes = $isMemoryValue ? $this->convertToBytes($currentValue) : (int) $currentValue;
|
|
||||||
$conditionMet = $currentValueBytes >= $requiredValueBytes;
|
|
||||||
|
|
||||||
$messageType = $conditionMet ? 'message' : 'warning';
|
|
||||||
$messageText = $conditionMet ?
|
|
||||||
"Success: {$configName} is set to {$currentValue}. " . $configDetails['success'] :
|
|
||||||
"Warning: {$configName} configuration should be at least {$configDetails['value']} but is currently {$currentValue}. " . $configDetails['warning'];
|
|
||||||
$showHelp = ($showHelp || $messageType === 'warning') ? true : false;
|
|
||||||
$app->enqueueMessage($messageText, $messageType);
|
|
||||||
}
|
|
||||||
|
|
||||||
if ($showHelp)
|
|
||||||
{
|
|
||||||
$app->enqueueMessage('To optimize your Joomla Component Builder (JCB) development environment, specific PHP settings must be enhanced.<br>These settings are crucial for ensuring the successful installation and compilation of extensions.<br>We\'ve identified that certain configurations currently do not meet the recommended standards.<br>To adjust these settings and prevent potential issues, please consult our detailed guide available at <a href="https://git.vdm.dev/joomla/Component-Builder/wiki/PHP-Settings" target="_blank">JCB PHP Settings Wiki</a>.
|
|
||||||
', 'notice');
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
14
README.md
14
README.md
@ -9,7 +9,7 @@ The Component Builder for [Joomla](https://extensions.joomla.org/extension/compo
|
|||||||
|
|
||||||
Whether you're a seasoned [Joomla](https://extensions.joomla.org/extension/component-builder/) developer, or have just started, Component Builder will save you lots of time and money. A real must have!
|
Whether you're a seasoned [Joomla](https://extensions.joomla.org/extension/component-builder/) developer, or have just started, Component Builder will save you lots of time and money. A real must have!
|
||||||
|
|
||||||
You can install it quite easily and with no limitations. On [gitea](https://git.vdm.dev/joomla/Component-Builder/tags) is the latest release (5.0.1) with **ALL** its features and **ALL** concepts totally open-source and free!
|
You can install it quite easily and with no limitations. On [gitea](https://git.vdm.dev/joomla/Component-Builder/tags) is the latest release (5.0.2) with **ALL** its features and **ALL** concepts totally open-source and free!
|
||||||
|
|
||||||
> Watch Quick Build of a Hello World component in [JCB on Youtube](https://www.youtube.com/watch?v=IQfsLYIeblk&list=PLQRGFI8XZ_wtGvPQZWBfDzzlERLQgpMRE&index=45)
|
> Watch Quick Build of a Hello World component in [JCB on Youtube](https://www.youtube.com/watch?v=IQfsLYIeblk&list=PLQRGFI8XZ_wtGvPQZWBfDzzlERLQgpMRE&index=45)
|
||||||
|
|
||||||
@ -144,14 +144,14 @@ TODO
|
|||||||
+ *Author*: [Llewellyn van der Merwe](mailto:joomla@vdm.io)
|
+ *Author*: [Llewellyn van der Merwe](mailto:joomla@vdm.io)
|
||||||
+ *Name*: [Component Builder](https://git.vdm.dev/joomla/Component-Builder)
|
+ *Name*: [Component Builder](https://git.vdm.dev/joomla/Component-Builder)
|
||||||
+ *First Build*: 30th April, 2015
|
+ *First Build*: 30th April, 2015
|
||||||
+ *Last Build*: 20th July, 2024
|
+ *Last Build*: 16th August, 2024
|
||||||
+ *Version*: 5.0.1
|
+ *Version*: 5.0.2
|
||||||
+ *Copyright*: Copyright (C) 2015 Vast Development Method. All rights reserved.
|
+ *Copyright*: Copyright (C) 2015 Vast Development Method. All rights reserved.
|
||||||
+ *License*: GNU General Public License version 2 or later; see LICENSE.txt
|
+ *License*: GNU General Public License version 2 or later; see LICENSE.txt
|
||||||
+ *Line count*: **781244**
|
+ *Line count*: **826768**
|
||||||
+ *Field count*: **2110**
|
+ *Field count*: **2100**
|
||||||
+ *File count*: **5483**
|
+ *File count*: **5753**
|
||||||
+ *Folder count*: **552**
|
+ *Folder count*: **618**
|
||||||
|
|
||||||
> This **component** was build with a [Joomla](https://extensions.joomla.org/extension/component-builder/) [Automated Component Builder](https://www.joomlacomponentbuilder.com).
|
> This **component** was build with a [Joomla](https://extensions.joomla.org/extension/component-builder/) [Automated Component Builder](https://www.joomlacomponentbuilder.com).
|
||||||
> Developed by [Llewellyn van der Merwe](mailto:joomla@vdm.io)
|
> Developed by [Llewellyn van der Merwe](mailto:joomla@vdm.io)
|
||||||
|
@ -9,7 +9,7 @@ The Component Builder for [Joomla](https://extensions.joomla.org/extension/compo
|
|||||||
|
|
||||||
Whether you're a seasoned [Joomla](https://extensions.joomla.org/extension/component-builder/) developer, or have just started, Component Builder will save you lots of time and money. A real must have!
|
Whether you're a seasoned [Joomla](https://extensions.joomla.org/extension/component-builder/) developer, or have just started, Component Builder will save you lots of time and money. A real must have!
|
||||||
|
|
||||||
You can install it quite easily and with no limitations. On [gitea](https://git.vdm.dev/joomla/Component-Builder/tags) is the latest release (5.0.1) with **ALL** its features and **ALL** concepts totally open-source and free!
|
You can install it quite easily and with no limitations. On [gitea](https://git.vdm.dev/joomla/Component-Builder/tags) is the latest release (5.0.2) with **ALL** its features and **ALL** concepts totally open-source and free!
|
||||||
|
|
||||||
> Watch Quick Build of a Hello World component in [JCB on Youtube](https://www.youtube.com/watch?v=IQfsLYIeblk&list=PLQRGFI8XZ_wtGvPQZWBfDzzlERLQgpMRE&index=45)
|
> Watch Quick Build of a Hello World component in [JCB on Youtube](https://www.youtube.com/watch?v=IQfsLYIeblk&list=PLQRGFI8XZ_wtGvPQZWBfDzzlERLQgpMRE&index=45)
|
||||||
|
|
||||||
@ -144,14 +144,14 @@ TODO
|
|||||||
+ *Author*: [Llewellyn van der Merwe](mailto:joomla@vdm.io)
|
+ *Author*: [Llewellyn van der Merwe](mailto:joomla@vdm.io)
|
||||||
+ *Name*: [Component Builder](https://git.vdm.dev/joomla/Component-Builder)
|
+ *Name*: [Component Builder](https://git.vdm.dev/joomla/Component-Builder)
|
||||||
+ *First Build*: 30th April, 2015
|
+ *First Build*: 30th April, 2015
|
||||||
+ *Last Build*: 20th July, 2024
|
+ *Last Build*: 16th August, 2024
|
||||||
+ *Version*: 5.0.1
|
+ *Version*: 5.0.2
|
||||||
+ *Copyright*: Copyright (C) 2015 Vast Development Method. All rights reserved.
|
+ *Copyright*: Copyright (C) 2015 Vast Development Method. All rights reserved.
|
||||||
+ *License*: GNU General Public License version 2 or later; see LICENSE.txt
|
+ *License*: GNU General Public License version 2 or later; see LICENSE.txt
|
||||||
+ *Line count*: **781244**
|
+ *Line count*: **826768**
|
||||||
+ *Field count*: **2110**
|
+ *Field count*: **2100**
|
||||||
+ *File count*: **5483**
|
+ *File count*: **5753**
|
||||||
+ *Folder count*: **552**
|
+ *Folder count*: **618**
|
||||||
|
|
||||||
> This **component** was build with a [Joomla](https://extensions.joomla.org/extension/component-builder/) [Automated Component Builder](https://www.joomlacomponentbuilder.com).
|
> This **component** was build with a [Joomla](https://extensions.joomla.org/extension/component-builder/) [Automated Component Builder](https://www.joomlacomponentbuilder.com).
|
||||||
> Developed by [Llewellyn van der Merwe](mailto:joomla@vdm.io)
|
> Developed by [Llewellyn van der Merwe](mailto:joomla@vdm.io)
|
||||||
|
@ -13,7 +13,6 @@
|
|||||||
<action name="core.edit.own" title="JACTION_EDITOWN" description="JACTION_EDITOWN_COMPONENT_DESC" />
|
<action name="core.edit.own" title="JACTION_EDITOWN" description="JACTION_EDITOWN_COMPONENT_DESC" />
|
||||||
<action name="core.edit.created_by" title="COM_COMPONENTBUILDER_EDIT_CREATED_BY" description="COM_COMPONENTBUILDER_EDIT_CREATED_BY_DESC" />
|
<action name="core.edit.created_by" title="COM_COMPONENTBUILDER_EDIT_CREATED_BY" description="COM_COMPONENTBUILDER_EDIT_CREATED_BY_DESC" />
|
||||||
<action name="core.edit.created" title="COM_COMPONENTBUILDER_EDIT_CREATED_DATE" description="COM_COMPONENTBUILDER_EDIT_CREATED_DATE_DESC" />
|
<action name="core.edit.created" title="COM_COMPONENTBUILDER_EDIT_CREATED_DATE" description="COM_COMPONENTBUILDER_EDIT_CREATED_DATE_DESC" />
|
||||||
<action name="admin_view.run_expansion" title="COM_COMPONENTBUILDER_ADMIN_VIEW_RUN_EXPANSION_BUTTON_ACCESS" description="COM_COMPONENTBUILDER_ADMIN_VIEW_RUN_EXPANSION_BUTTON_ACCESS_DESC" />
|
|
||||||
<action name="admin_view.access" title="COM_COMPONENTBUILDER_ADMIN_VIEWS_ACCESS" description="COM_COMPONENTBUILDER_ADMIN_VIEWS_ACCESS_DESC" />
|
<action name="admin_view.access" title="COM_COMPONENTBUILDER_ADMIN_VIEWS_ACCESS" description="COM_COMPONENTBUILDER_ADMIN_VIEWS_ACCESS_DESC" />
|
||||||
<action name="admin_view.batch" title="COM_COMPONENTBUILDER_ADMIN_VIEWS_BATCH_USE" description="COM_COMPONENTBUILDER_ADMIN_VIEWS_BATCH_USE_DESC" />
|
<action name="admin_view.batch" title="COM_COMPONENTBUILDER_ADMIN_VIEWS_BATCH_USE" description="COM_COMPONENTBUILDER_ADMIN_VIEWS_BATCH_USE_DESC" />
|
||||||
<action name="admin_view.create" title="COM_COMPONENTBUILDER_ADMIN_VIEWS_CREATE" description="COM_COMPONENTBUILDER_ADMIN_VIEWS_CREATE_DESC" />
|
<action name="admin_view.create" title="COM_COMPONENTBUILDER_ADMIN_VIEWS_CREATE" description="COM_COMPONENTBUILDER_ADMIN_VIEWS_CREATE_DESC" />
|
||||||
@ -250,7 +249,6 @@
|
|||||||
<action name="custom_code.edit.state" title="COM_COMPONENTBUILDER_CUSTOM_CODES_EDIT_STATE" description="COM_COMPONENTBUILDER_CUSTOM_CODES_EDIT_STATE_DESC" />
|
<action name="custom_code.edit.state" title="COM_COMPONENTBUILDER_CUSTOM_CODES_EDIT_STATE" description="COM_COMPONENTBUILDER_CUSTOM_CODES_EDIT_STATE_DESC" />
|
||||||
<action name="custom_code.version" title="COM_COMPONENTBUILDER_CUSTOM_CODES_EDIT_VERSION" description="COM_COMPONENTBUILDER_CUSTOM_CODES_EDIT_VERSION_DESC" />
|
<action name="custom_code.version" title="COM_COMPONENTBUILDER_CUSTOM_CODES_EDIT_VERSION" description="COM_COMPONENTBUILDER_CUSTOM_CODES_EDIT_VERSION_DESC" />
|
||||||
<action name="custom_code.submenu" title="COM_COMPONENTBUILDER_CUSTOM_CODES_SUBMENU" description="COM_COMPONENTBUILDER_CUSTOM_CODES_SUBMENU_DESC" />
|
<action name="custom_code.submenu" title="COM_COMPONENTBUILDER_CUSTOM_CODES_SUBMENU" description="COM_COMPONENTBUILDER_CUSTOM_CODES_SUBMENU_DESC" />
|
||||||
<action name="dynamic_get.run_expansion" title="COM_COMPONENTBUILDER_DYNAMIC_GET_RUN_EXPANSION_BUTTON_ACCESS" description="COM_COMPONENTBUILDER_DYNAMIC_GET_RUN_EXPANSION_BUTTON_ACCESS_DESC" />
|
|
||||||
<action name="dynamic_get.access" title="COM_COMPONENTBUILDER_DYNAMIC_GETS_ACCESS" description="COM_COMPONENTBUILDER_DYNAMIC_GETS_ACCESS_DESC" />
|
<action name="dynamic_get.access" title="COM_COMPONENTBUILDER_DYNAMIC_GETS_ACCESS" description="COM_COMPONENTBUILDER_DYNAMIC_GETS_ACCESS_DESC" />
|
||||||
<action name="dynamic_get.batch" title="COM_COMPONENTBUILDER_DYNAMIC_GETS_BATCH_USE" description="COM_COMPONENTBUILDER_DYNAMIC_GETS_BATCH_USE_DESC" />
|
<action name="dynamic_get.batch" title="COM_COMPONENTBUILDER_DYNAMIC_GETS_BATCH_USE" description="COM_COMPONENTBUILDER_DYNAMIC_GETS_BATCH_USE_DESC" />
|
||||||
<action name="dynamic_get.create" title="COM_COMPONENTBUILDER_DYNAMIC_GETS_CREATE" description="COM_COMPONENTBUILDER_DYNAMIC_GETS_CREATE_DESC" />
|
<action name="dynamic_get.create" title="COM_COMPONENTBUILDER_DYNAMIC_GETS_CREATE" description="COM_COMPONENTBUILDER_DYNAMIC_GETS_CREATE_DESC" />
|
||||||
@ -262,7 +260,6 @@
|
|||||||
<action name="dynamic_get.edit.state" title="COM_COMPONENTBUILDER_DYNAMIC_GETS_EDIT_STATE" description="COM_COMPONENTBUILDER_DYNAMIC_GETS_EDIT_STATE_DESC" />
|
<action name="dynamic_get.edit.state" title="COM_COMPONENTBUILDER_DYNAMIC_GETS_EDIT_STATE" description="COM_COMPONENTBUILDER_DYNAMIC_GETS_EDIT_STATE_DESC" />
|
||||||
<action name="dynamic_get.version" title="COM_COMPONENTBUILDER_DYNAMIC_GETS_EDIT_VERSION" description="COM_COMPONENTBUILDER_DYNAMIC_GETS_EDIT_VERSION_DESC" />
|
<action name="dynamic_get.version" title="COM_COMPONENTBUILDER_DYNAMIC_GETS_EDIT_VERSION" description="COM_COMPONENTBUILDER_DYNAMIC_GETS_EDIT_VERSION_DESC" />
|
||||||
<action name="dynamic_get.submenu" title="COM_COMPONENTBUILDER_DYNAMIC_GETS_SUBMENU" description="COM_COMPONENTBUILDER_DYNAMIC_GETS_SUBMENU_DESC" />
|
<action name="dynamic_get.submenu" title="COM_COMPONENTBUILDER_DYNAMIC_GETS_SUBMENU" description="COM_COMPONENTBUILDER_DYNAMIC_GETS_SUBMENU_DESC" />
|
||||||
<action name="field.run_expansion" title="COM_COMPONENTBUILDER_FIELD_RUN_EXPANSION_BUTTON_ACCESS" description="COM_COMPONENTBUILDER_FIELD_RUN_EXPANSION_BUTTON_ACCESS_DESC" />
|
|
||||||
<action name="field.access" title="COM_COMPONENTBUILDER_FIELDS_ACCESS" description="COM_COMPONENTBUILDER_FIELDS_ACCESS_DESC" />
|
<action name="field.access" title="COM_COMPONENTBUILDER_FIELDS_ACCESS" description="COM_COMPONENTBUILDER_FIELDS_ACCESS_DESC" />
|
||||||
<action name="field.batch" title="COM_COMPONENTBUILDER_FIELDS_BATCH_USE" description="COM_COMPONENTBUILDER_FIELDS_BATCH_USE_DESC" />
|
<action name="field.batch" title="COM_COMPONENTBUILDER_FIELDS_BATCH_USE" description="COM_COMPONENTBUILDER_FIELDS_BATCH_USE_DESC" />
|
||||||
<action name="field.create" title="COM_COMPONENTBUILDER_FIELDS_CREATE" description="COM_COMPONENTBUILDER_FIELDS_CREATE_DESC" />
|
<action name="field.create" title="COM_COMPONENTBUILDER_FIELDS_CREATE" description="COM_COMPONENTBUILDER_FIELDS_CREATE_DESC" />
|
||||||
@ -315,7 +312,6 @@
|
|||||||
<action name="joomla_component.version" title="COM_COMPONENTBUILDER_JOOMLA_COMPONENTS_EDIT_VERSION" description="COM_COMPONENTBUILDER_JOOMLA_COMPONENTS_EDIT_VERSION_DESC" />
|
<action name="joomla_component.version" title="COM_COMPONENTBUILDER_JOOMLA_COMPONENTS_EDIT_VERSION" description="COM_COMPONENTBUILDER_JOOMLA_COMPONENTS_EDIT_VERSION_DESC" />
|
||||||
<action name="joomla_component.submenu" title="COM_COMPONENTBUILDER_JOOMLA_COMPONENTS_SUBMENU" description="COM_COMPONENTBUILDER_JOOMLA_COMPONENTS_SUBMENU_DESC" />
|
<action name="joomla_component.submenu" title="COM_COMPONENTBUILDER_JOOMLA_COMPONENTS_SUBMENU" description="COM_COMPONENTBUILDER_JOOMLA_COMPONENTS_SUBMENU_DESC" />
|
||||||
<action name="joomla_module.get_snippets" title="COM_COMPONENTBUILDER_JOOMLA_MODULE_GET_SNIPPETS_BUTTON_ACCESS" description="COM_COMPONENTBUILDER_JOOMLA_MODULE_GET_SNIPPETS_BUTTON_ACCESS_DESC" />
|
<action name="joomla_module.get_snippets" title="COM_COMPONENTBUILDER_JOOMLA_MODULE_GET_SNIPPETS_BUTTON_ACCESS" description="COM_COMPONENTBUILDER_JOOMLA_MODULE_GET_SNIPPETS_BUTTON_ACCESS_DESC" />
|
||||||
<action name="joomla_module.run_expansion" title="COM_COMPONENTBUILDER_JOOMLA_MODULE_RUN_EXPANSION_BUTTON_ACCESS" description="COM_COMPONENTBUILDER_JOOMLA_MODULE_RUN_EXPANSION_BUTTON_ACCESS_DESC" />
|
|
||||||
<action name="joomla_module.access" title="COM_COMPONENTBUILDER_JOOMLA_MODULES_ACCESS" description="COM_COMPONENTBUILDER_JOOMLA_MODULES_ACCESS_DESC" />
|
<action name="joomla_module.access" title="COM_COMPONENTBUILDER_JOOMLA_MODULES_ACCESS" description="COM_COMPONENTBUILDER_JOOMLA_MODULES_ACCESS_DESC" />
|
||||||
<action name="joomla_module.batch" title="COM_COMPONENTBUILDER_JOOMLA_MODULES_BATCH_USE" description="COM_COMPONENTBUILDER_JOOMLA_MODULES_BATCH_USE_DESC" />
|
<action name="joomla_module.batch" title="COM_COMPONENTBUILDER_JOOMLA_MODULES_BATCH_USE" description="COM_COMPONENTBUILDER_JOOMLA_MODULES_BATCH_USE_DESC" />
|
||||||
<action name="joomla_module.create" title="COM_COMPONENTBUILDER_JOOMLA_MODULES_CREATE" description="COM_COMPONENTBUILDER_JOOMLA_MODULES_CREATE_DESC" />
|
<action name="joomla_module.create" title="COM_COMPONENTBUILDER_JOOMLA_MODULES_CREATE" description="COM_COMPONENTBUILDER_JOOMLA_MODULES_CREATE_DESC" />
|
||||||
@ -354,7 +350,6 @@
|
|||||||
<action name="joomla_plugin_group.version" title="COM_COMPONENTBUILDER_JOOMLA_PLUGIN_GROUPS_EDIT_VERSION" description="COM_COMPONENTBUILDER_JOOMLA_PLUGIN_GROUPS_EDIT_VERSION_DESC" />
|
<action name="joomla_plugin_group.version" title="COM_COMPONENTBUILDER_JOOMLA_PLUGIN_GROUPS_EDIT_VERSION" description="COM_COMPONENTBUILDER_JOOMLA_PLUGIN_GROUPS_EDIT_VERSION_DESC" />
|
||||||
<action name="joomla_plugin.methods" title="COM_COMPONENTBUILDER_JOOMLA_PLUGIN_METHODS_BUTTON_ACCESS" description="COM_COMPONENTBUILDER_JOOMLA_PLUGIN_METHODS_BUTTON_ACCESS_DESC" />
|
<action name="joomla_plugin.methods" title="COM_COMPONENTBUILDER_JOOMLA_PLUGIN_METHODS_BUTTON_ACCESS" description="COM_COMPONENTBUILDER_JOOMLA_PLUGIN_METHODS_BUTTON_ACCESS_DESC" />
|
||||||
<action name="joomla_plugin.properties" title="COM_COMPONENTBUILDER_JOOMLA_PLUGIN_PROPERTIES_BUTTON_ACCESS" description="COM_COMPONENTBUILDER_JOOMLA_PLUGIN_PROPERTIES_BUTTON_ACCESS_DESC" />
|
<action name="joomla_plugin.properties" title="COM_COMPONENTBUILDER_JOOMLA_PLUGIN_PROPERTIES_BUTTON_ACCESS" description="COM_COMPONENTBUILDER_JOOMLA_PLUGIN_PROPERTIES_BUTTON_ACCESS_DESC" />
|
||||||
<action name="joomla_plugin.run_expansion" title="COM_COMPONENTBUILDER_JOOMLA_PLUGIN_RUN_EXPANSION_BUTTON_ACCESS" description="COM_COMPONENTBUILDER_JOOMLA_PLUGIN_RUN_EXPANSION_BUTTON_ACCESS_DESC" />
|
|
||||||
<action name="joomla_plugin.access" title="COM_COMPONENTBUILDER_JOOMLA_PLUGINS_ACCESS" description="COM_COMPONENTBUILDER_JOOMLA_PLUGINS_ACCESS_DESC" />
|
<action name="joomla_plugin.access" title="COM_COMPONENTBUILDER_JOOMLA_PLUGINS_ACCESS" description="COM_COMPONENTBUILDER_JOOMLA_PLUGINS_ACCESS_DESC" />
|
||||||
<action name="joomla_plugin.batch" title="COM_COMPONENTBUILDER_JOOMLA_PLUGINS_BATCH_USE" description="COM_COMPONENTBUILDER_JOOMLA_PLUGINS_BATCH_USE_DESC" />
|
<action name="joomla_plugin.batch" title="COM_COMPONENTBUILDER_JOOMLA_PLUGINS_BATCH_USE" description="COM_COMPONENTBUILDER_JOOMLA_PLUGINS_BATCH_USE_DESC" />
|
||||||
<action name="joomla_plugin.create" title="COM_COMPONENTBUILDER_JOOMLA_PLUGINS_CREATE" description="COM_COMPONENTBUILDER_JOOMLA_PLUGINS_CREATE_DESC" />
|
<action name="joomla_plugin.create" title="COM_COMPONENTBUILDER_JOOMLA_PLUGINS_CREATE" description="COM_COMPONENTBUILDER_JOOMLA_PLUGINS_CREATE_DESC" />
|
||||||
@ -471,7 +466,6 @@
|
|||||||
<action name="placeholder.submenu" title="COM_COMPONENTBUILDER_PLACEHOLDERS_SUBMENU" description="COM_COMPONENTBUILDER_PLACEHOLDERS_SUBMENU_DESC" />
|
<action name="placeholder.submenu" title="COM_COMPONENTBUILDER_PLACEHOLDERS_SUBMENU" description="COM_COMPONENTBUILDER_PLACEHOLDERS_SUBMENU_DESC" />
|
||||||
<action name="power.init" title="COM_COMPONENTBUILDER_POWER_INIT_BUTTON_ACCESS" description="COM_COMPONENTBUILDER_POWER_INIT_BUTTON_ACCESS_DESC" />
|
<action name="power.init" title="COM_COMPONENTBUILDER_POWER_INIT_BUTTON_ACCESS" description="COM_COMPONENTBUILDER_POWER_INIT_BUTTON_ACCESS_DESC" />
|
||||||
<action name="power.reset" title="COM_COMPONENTBUILDER_POWER_RESET_BUTTON_ACCESS" description="COM_COMPONENTBUILDER_POWER_RESET_BUTTON_ACCESS_DESC" />
|
<action name="power.reset" title="COM_COMPONENTBUILDER_POWER_RESET_BUTTON_ACCESS" description="COM_COMPONENTBUILDER_POWER_RESET_BUTTON_ACCESS_DESC" />
|
||||||
<action name="power.run_expansion" title="COM_COMPONENTBUILDER_POWER_RUN_EXPANSION_BUTTON_ACCESS" description="COM_COMPONENTBUILDER_POWER_RUN_EXPANSION_BUTTON_ACCESS_DESC" />
|
|
||||||
<action name="power.access" title="COM_COMPONENTBUILDER_POWERS_ACCESS" description="COM_COMPONENTBUILDER_POWERS_ACCESS_DESC" />
|
<action name="power.access" title="COM_COMPONENTBUILDER_POWERS_ACCESS" description="COM_COMPONENTBUILDER_POWERS_ACCESS_DESC" />
|
||||||
<action name="power.batch" title="COM_COMPONENTBUILDER_POWERS_BATCH_USE" description="COM_COMPONENTBUILDER_POWERS_BATCH_USE_DESC" />
|
<action name="power.batch" title="COM_COMPONENTBUILDER_POWERS_BATCH_USE" description="COM_COMPONENTBUILDER_POWERS_BATCH_USE_DESC" />
|
||||||
<action name="power.create" title="COM_COMPONENTBUILDER_POWERS_CREATE" description="COM_COMPONENTBUILDER_POWERS_CREATE_DESC" />
|
<action name="power.create" title="COM_COMPONENTBUILDER_POWERS_CREATE" description="COM_COMPONENTBUILDER_POWERS_CREATE_DESC" />
|
||||||
@ -540,7 +534,6 @@
|
|||||||
<action name="template.dashboard_list" title="COM_COMPONENTBUILDER_TEMPLATES_DASHBOARD_LIST" description="COM_COMPONENTBUILDER_TEMPLATES_DASHBOARD_LIST_DESC" />
|
<action name="template.dashboard_list" title="COM_COMPONENTBUILDER_TEMPLATES_DASHBOARD_LIST" description="COM_COMPONENTBUILDER_TEMPLATES_DASHBOARD_LIST_DESC" />
|
||||||
<action name="template.version" title="COM_COMPONENTBUILDER_TEMPLATES_EDIT_VERSION" description="COM_COMPONENTBUILDER_TEMPLATES_EDIT_VERSION_DESC" />
|
<action name="template.version" title="COM_COMPONENTBUILDER_TEMPLATES_EDIT_VERSION" description="COM_COMPONENTBUILDER_TEMPLATES_EDIT_VERSION_DESC" />
|
||||||
<action name="template.submenu" title="COM_COMPONENTBUILDER_TEMPLATES_SUBMENU" description="COM_COMPONENTBUILDER_TEMPLATES_SUBMENU_DESC" />
|
<action name="template.submenu" title="COM_COMPONENTBUILDER_TEMPLATES_SUBMENU" description="COM_COMPONENTBUILDER_TEMPLATES_SUBMENU_DESC" />
|
||||||
<action name="validation_rule.run_expansion" title="COM_COMPONENTBUILDER_VALIDATION_RULE_RUN_EXPANSION_BUTTON_ACCESS" description="COM_COMPONENTBUILDER_VALIDATION_RULE_RUN_EXPANSION_BUTTON_ACCESS_DESC" />
|
|
||||||
<action name="validation_rule.access" title="COM_COMPONENTBUILDER_VALIDATION_RULES_ACCESS" description="COM_COMPONENTBUILDER_VALIDATION_RULES_ACCESS_DESC" />
|
<action name="validation_rule.access" title="COM_COMPONENTBUILDER_VALIDATION_RULES_ACCESS" description="COM_COMPONENTBUILDER_VALIDATION_RULES_ACCESS_DESC" />
|
||||||
<action name="validation_rule.batch" title="COM_COMPONENTBUILDER_VALIDATION_RULES_BATCH_USE" description="COM_COMPONENTBUILDER_VALIDATION_RULES_BATCH_USE_DESC" />
|
<action name="validation_rule.batch" title="COM_COMPONENTBUILDER_VALIDATION_RULES_BATCH_USE" description="COM_COMPONENTBUILDER_VALIDATION_RULES_BATCH_USE_DESC" />
|
||||||
<action name="validation_rule.create" title="COM_COMPONENTBUILDER_VALIDATION_RULES_CREATE" description="COM_COMPONENTBUILDER_VALIDATION_RULES_CREATE_DESC" />
|
<action name="validation_rule.create" title="COM_COMPONENTBUILDER_VALIDATION_RULES_CREATE" description="COM_COMPONENTBUILDER_VALIDATION_RULES_CREATE_DESC" />
|
||||||
|
@ -14,7 +14,7 @@
|
|||||||
}
|
}
|
||||||
.fieldMedium { width: 120px; }
|
.fieldMedium { width: 120px; }
|
||||||
.fieldLarge { width: 320px; }
|
.fieldLarge { width: 320px; }
|
||||||
.fieldMid { width: 80px; }
|
.fieldMid { width: 89px; }
|
||||||
.fieldFull { width: 100%; }
|
.fieldFull { width: 100%; }
|
||||||
.fieldSmall { width: 60px; }
|
.fieldSmall { width: 74px; }
|
||||||
code { display: inline-block; margin: 3px;}
|
code { display: inline-block; margin: 3px;}
|
||||||
|
@ -28,6 +28,8 @@ HTML::_('bootstrap.renderModal');
|
|||||||
|
|
||||||
/**
|
/**
|
||||||
* Script File of ###Component### Component
|
* Script File of ###Component### Component
|
||||||
|
*
|
||||||
|
* @since 1.5.0
|
||||||
*/
|
*/
|
||||||
class Com_###Component###InstallerScript
|
class Com_###Component###InstallerScript
|
||||||
{
|
{
|
||||||
@ -35,6 +37,7 @@ class Com_###Component###InstallerScript
|
|||||||
* Constructor
|
* Constructor
|
||||||
*
|
*
|
||||||
* @param ComponentAdapter $parent The object responsible for running this script
|
* @param ComponentAdapter $parent The object responsible for running this script
|
||||||
|
* @since 1.5.0
|
||||||
*/
|
*/
|
||||||
public function __construct(ComponentAdapter $parent) {}
|
public function __construct(ComponentAdapter $parent) {}
|
||||||
|
|
||||||
@ -44,6 +47,7 @@ class Com_###Component###InstallerScript
|
|||||||
* @param ComponentAdapter $parent The object responsible for running this script
|
* @param ComponentAdapter $parent The object responsible for running this script
|
||||||
*
|
*
|
||||||
* @return boolean True on success
|
* @return boolean True on success
|
||||||
|
* @since 1.5.0
|
||||||
*/
|
*/
|
||||||
public function install(ComponentAdapter $parent) {}
|
public function install(ComponentAdapter $parent) {}
|
||||||
|
|
||||||
@ -51,6 +55,8 @@ class Com_###Component###InstallerScript
|
|||||||
* Called on uninstallation
|
* Called on uninstallation
|
||||||
*
|
*
|
||||||
* @param ComponentAdapter $parent The object responsible for running this script
|
* @param ComponentAdapter $parent The object responsible for running this script
|
||||||
|
*
|
||||||
|
* @since 1.5.0
|
||||||
*/
|
*/
|
||||||
public function uninstall(ComponentAdapter $parent)
|
public function uninstall(ComponentAdapter $parent)
|
||||||
{###UNINSTALLSCRIPT###
|
{###UNINSTALLSCRIPT###
|
||||||
@ -68,6 +74,7 @@ class Com_###Component###InstallerScript
|
|||||||
* @param ComponentAdapter $parent The object responsible for running this script
|
* @param ComponentAdapter $parent The object responsible for running this script
|
||||||
*
|
*
|
||||||
* @return boolean True on success
|
* @return boolean True on success
|
||||||
|
* @since 1.5.0
|
||||||
*/
|
*/
|
||||||
public function update(ComponentAdapter $parent){}
|
public function update(ComponentAdapter $parent){}
|
||||||
|
|
||||||
@ -78,6 +85,7 @@ class Com_###Component###InstallerScript
|
|||||||
* @param ComponentAdapter $parent The object responsible for running this script
|
* @param ComponentAdapter $parent The object responsible for running this script
|
||||||
*
|
*
|
||||||
* @return boolean True on success
|
* @return boolean True on success
|
||||||
|
* @since 1.5.0
|
||||||
*/
|
*/
|
||||||
public function preflight($type, ComponentAdapter $parent)
|
public function preflight($type, ComponentAdapter $parent)
|
||||||
{
|
{
|
||||||
@ -121,6 +129,7 @@ class Com_###Component###InstallerScript
|
|||||||
* @param ComponentAdapter $parent The object responsible for running this script
|
* @param ComponentAdapter $parent The object responsible for running this script
|
||||||
*
|
*
|
||||||
* @return boolean True on success
|
* @return boolean True on success
|
||||||
|
* @since 1.5.0
|
||||||
*/
|
*/
|
||||||
public function postflight($type, ComponentAdapter $parent)
|
public function postflight($type, ComponentAdapter $parent)
|
||||||
{
|
{
|
||||||
@ -144,7 +153,7 @@ class Com_###Component###InstallerScript
|
|||||||
* @param array|null $ignore The folders and files to ignore and not remove.
|
* @param array|null $ignore The folders and files to ignore and not remove.
|
||||||
*
|
*
|
||||||
* @return bool True if all specified files/folders are removed, false otherwise.
|
* @return bool True if all specified files/folders are removed, false otherwise.
|
||||||
* @since 3.2.2
|
* @since 3.2.2
|
||||||
*/
|
*/
|
||||||
protected function removeFolder(string $dir, ?array $ignore = null): bool
|
protected function removeFolder(string $dir, ?array $ignore = null): bool
|
||||||
{
|
{
|
||||||
@ -195,7 +204,7 @@ class Com_###Component###InstallerScript
|
|||||||
* @param array $ignore The folders and files to ignore.
|
* @param array $ignore The folders and files to ignore.
|
||||||
*
|
*
|
||||||
* @return bool True if the directory is empty or contains only ignored items, false otherwise.
|
* @return bool True if the directory is empty or contains only ignored items, false otherwise.
|
||||||
* @since 3.2.1
|
* @since 3.2.1
|
||||||
*/
|
*/
|
||||||
protected function isDirEmpty(string $dir, array $ignore): bool
|
protected function isDirEmpty(string $dir, array $ignore): bool
|
||||||
{
|
{
|
||||||
@ -217,7 +226,7 @@ class Com_###Component###InstallerScript
|
|||||||
* @input array The array to check
|
* @input array The array to check
|
||||||
*
|
*
|
||||||
* @returns bool/int number of items in array on success
|
* @returns bool/int number of items in array on success
|
||||||
* @since 3.2.2
|
* @since 3.2.2
|
||||||
*/
|
*/
|
||||||
protected function checkArray($array, $removeEmptyString = false)
|
protected function checkArray($array, $removeEmptyString = false)
|
||||||
{
|
{
|
||||||
@ -247,20 +256,31 @@ class Com_###Component###InstallerScript
|
|||||||
* @param string $className The fully qualified name of the class to check.
|
* @param string $className The fully qualified name of the class to check.
|
||||||
*
|
*
|
||||||
* @return bool True if the class exists or was successfully loaded, false otherwise.
|
* @return bool True if the class exists or was successfully loaded, false otherwise.
|
||||||
* @since 3.2.2
|
* @since 3.2.2
|
||||||
*/
|
*/
|
||||||
protected function classExists(string $className): bool
|
protected function classExists(string $className): bool
|
||||||
{
|
{
|
||||||
if (!class_exists($className, true))
|
if (class_exists($className, true))
|
||||||
{
|
{
|
||||||
###THREE_POWER_AUTOLOADER###
|
return true;
|
||||||
|
}
|
||||||
|
|
||||||
// Check again if the class now exists after requiring the autoloader
|
// Autoloaders to check
|
||||||
if (!class_exists($className, true))
|
$autoloaders = [###INSTALLER_POWER_AUTOLOADER_ARRAY###];
|
||||||
|
|
||||||
|
foreach ($autoloaders as $autoloader)
|
||||||
|
{
|
||||||
|
if (file_exists($autoloader))
|
||||||
{
|
{
|
||||||
return false;
|
require_once $autoloader;
|
||||||
|
|
||||||
|
if (class_exists($className, true))
|
||||||
|
{
|
||||||
|
return true;
|
||||||
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
return true;
|
|
||||||
|
return false;
|
||||||
}###INSTALLERMETHODS###
|
}###INSTALLERMETHODS###
|
||||||
}
|
}
|
||||||
|
18
admin/compiler/joomla_3/script_powerloader.php
Normal file
18
admin/compiler/joomla_3/script_powerloader.php
Normal file
@ -0,0 +1,18 @@
|
|||||||
|
<?php
|
||||||
|
/**
|
||||||
|
* @package Joomla.Component.Builder
|
||||||
|
*
|
||||||
|
* @created 30th April, 2015
|
||||||
|
* @author Llewellyn van der Merwe <https://dev.vdm.io>
|
||||||
|
* @git Joomla Component Builder <https://git.vdm.dev/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
|
||||||
|
*/
|
||||||
|
|
||||||
|
// No direct access to this file
|
||||||
|
defined('_JEXEC') or die('Restricted access');
|
||||||
|
?>
|
||||||
|
###BOM###
|
||||||
|
|
||||||
|
// No direct access to this file
|
||||||
|
defined('_JEXEC') or die;###INSTALLER_POWER_HELPER###
|
@ -184,6 +184,12 @@
|
|||||||
"rename": false,
|
"rename": false,
|
||||||
"type": "file"
|
"type": "file"
|
||||||
},
|
},
|
||||||
|
"script_powerloader.php": {
|
||||||
|
"naam": "script_powerloader.php",
|
||||||
|
"path": "c0mp0n3nt/",
|
||||||
|
"rename": false,
|
||||||
|
"type": "file"
|
||||||
|
},
|
||||||
"install.mysql.utf8.sql": {
|
"install.mysql.utf8.sql": {
|
||||||
"naam": "install.mysql.utf8.sql",
|
"naam": "install.mysql.utf8.sql",
|
||||||
"path": "c0mp0n3nt/admin/sql",
|
"path": "c0mp0n3nt/admin/sql",
|
||||||
|
@ -27,6 +27,62 @@ namespace ###NAMESPACEPREFIX###\Component\###ComponentNamespace###\Administrator
|
|||||||
*/
|
*/
|
||||||
class HtmlView extends BaseHtmlView
|
class HtmlView extends BaseHtmlView
|
||||||
{
|
{
|
||||||
|
/**
|
||||||
|
* The items from the model
|
||||||
|
*
|
||||||
|
* @var mixed
|
||||||
|
* @since 3.10.11
|
||||||
|
*/
|
||||||
|
public mixed $items;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* The state object
|
||||||
|
*
|
||||||
|
* @var mixed
|
||||||
|
* @since 3.10.11
|
||||||
|
*/
|
||||||
|
public mixed $state;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* The styles url array
|
||||||
|
*
|
||||||
|
* @var array
|
||||||
|
* @since 5.0.0
|
||||||
|
*/
|
||||||
|
protected array $styles;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* The scripts url array
|
||||||
|
*
|
||||||
|
* @var array
|
||||||
|
* @since 5.0.0
|
||||||
|
*/
|
||||||
|
protected array $scripts;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* The actions object
|
||||||
|
*
|
||||||
|
* @var object
|
||||||
|
* @since 3.10.11
|
||||||
|
*/
|
||||||
|
public object $canDo;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* The return here base64 url
|
||||||
|
*
|
||||||
|
* @var string
|
||||||
|
* @since 3.10.11
|
||||||
|
*/
|
||||||
|
public string $return_here;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* The user object.
|
||||||
|
*
|
||||||
|
* @var Joomla___effdaf6d_2275_425d_9f52_d4952e564d34___Power
|
||||||
|
* @since 3.10.11
|
||||||
|
*/
|
||||||
|
public Joomla___effdaf6d_2275_425d_9f52_d4952e564d34___Power $user;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* ###Views### view display method
|
* ###Views### view display method
|
||||||
*
|
*
|
||||||
@ -43,7 +99,7 @@ class HtmlView extends BaseHtmlView
|
|||||||
$this->state = $this->get('State');
|
$this->state = $this->get('State');
|
||||||
$this->styles = $this->get('Styles');
|
$this->styles = $this->get('Styles');
|
||||||
$this->scripts = $this->get('Scripts');
|
$this->scripts = $this->get('Scripts');
|
||||||
$this->user ??= Factory::getApplication()->getIdentity();###ADMIN_DIPLAY_METHOD###
|
$this->user ??= $this->getCurrentUser();###ADMIN_DIPLAY_METHOD###
|
||||||
$this->saveOrder = $this->listOrder == 'a.ordering';
|
$this->saveOrder = $this->listOrder == 'a.ordering';
|
||||||
// set the return here value
|
// set the return here value
|
||||||
$this->return_here = urlencode(base64_encode((string) Uri::getInstance()));
|
$this->return_here = urlencode(base64_encode((string) Uri::getInstance()));
|
||||||
|
@ -27,6 +27,86 @@ namespace ###NAMESPACEPREFIX###\Component\###ComponentNamespace###\Administrator
|
|||||||
*/
|
*/
|
||||||
class HtmlView extends BaseHtmlView
|
class HtmlView extends BaseHtmlView
|
||||||
{
|
{
|
||||||
|
/**
|
||||||
|
* The item from the model
|
||||||
|
*
|
||||||
|
* @var mixed
|
||||||
|
* @since 3.10.11
|
||||||
|
*/
|
||||||
|
public mixed $item;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* The state object
|
||||||
|
*
|
||||||
|
* @var mixed
|
||||||
|
* @since 3.10.11
|
||||||
|
*/
|
||||||
|
public mixed $state;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* The form from the model
|
||||||
|
*
|
||||||
|
* @var mixed
|
||||||
|
* @since 3.10.11
|
||||||
|
*/
|
||||||
|
public mixed $form;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* The toolbar object
|
||||||
|
*
|
||||||
|
* @var Toolbar
|
||||||
|
* @since 3.10.11
|
||||||
|
*/
|
||||||
|
public Toolbar $toolbar;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* The styles url array
|
||||||
|
*
|
||||||
|
* @var array
|
||||||
|
* @since 5.0.0
|
||||||
|
*/
|
||||||
|
protected array $styles;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* The scripts url array
|
||||||
|
*
|
||||||
|
* @var array
|
||||||
|
* @since 5.0.0
|
||||||
|
*/
|
||||||
|
protected array $scripts;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* The actions object
|
||||||
|
*
|
||||||
|
* @var object
|
||||||
|
* @since 3.10.11
|
||||||
|
*/
|
||||||
|
public object $canDo;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* The origin referral view name
|
||||||
|
*
|
||||||
|
* @var string
|
||||||
|
* @since 3.10.11
|
||||||
|
*/
|
||||||
|
public string $ref;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* The origin referral item id
|
||||||
|
*
|
||||||
|
* @var int
|
||||||
|
* @since 3.10.11
|
||||||
|
*/
|
||||||
|
public int $refid;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* The referral url suffix values
|
||||||
|
*
|
||||||
|
* @var string
|
||||||
|
* @since 3.10.11
|
||||||
|
*/
|
||||||
|
public string $referral;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* ###View### view display method
|
* ###View### view display method
|
||||||
*
|
*
|
||||||
@ -41,7 +121,7 @@ class HtmlView extends BaseHtmlView
|
|||||||
$this->params = ComponentHelper::getParams('com_###component###');
|
$this->params = ComponentHelper::getParams('com_###component###');
|
||||||
$this->useCoreUI = true;
|
$this->useCoreUI = true;
|
||||||
// Assign the variables
|
// Assign the variables
|
||||||
$this->form = $this->get('Form');
|
$this->form ??= $this->get('Form');
|
||||||
$this->item = $this->get('Item');
|
$this->item = $this->get('Item');
|
||||||
$this->styles = $this->get('Styles');
|
$this->styles = $this->get('Styles');
|
||||||
$this->scripts = $this->get('Scripts');
|
$this->scripts = $this->get('Scripts');
|
||||||
|
45
admin/compiler/joomla_4/API_VIEWS_CONTROLLER.php
Normal file
45
admin/compiler/joomla_4/API_VIEWS_CONTROLLER.php
Normal file
@ -0,0 +1,45 @@
|
|||||||
|
<?php
|
||||||
|
/**
|
||||||
|
* @package Joomla.Component.Builder
|
||||||
|
*
|
||||||
|
* @created 4th September 2022
|
||||||
|
* @author Llewellyn van der Merwe <https://dev.vdm.io>
|
||||||
|
* @git Joomla Component Builder <https://git.vdm.dev/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
|
||||||
|
*/
|
||||||
|
|
||||||
|
// No direct access to this JCB template file (EVER)
|
||||||
|
defined('_JCB_TEMPLATE') or die;
|
||||||
|
?>
|
||||||
|
###BOM###
|
||||||
|
namespace ###NAMESPACEPREFIX###\Component\###ComponentNamespace###\Api\Controller;
|
||||||
|
|
||||||
|
###API_VIEWS_CONTROLLER_HEADER###
|
||||||
|
|
||||||
|
// No direct access to this file
|
||||||
|
\defined('_JEXEC') or die;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* ###Views### Api Controller
|
||||||
|
*
|
||||||
|
* @since 4.0.0
|
||||||
|
*/
|
||||||
|
class ###Views###Controller extends ApiController
|
||||||
|
{
|
||||||
|
/**
|
||||||
|
* The content type of the item.
|
||||||
|
*
|
||||||
|
* @var string
|
||||||
|
* @since 4.0.0
|
||||||
|
*/
|
||||||
|
protected $contentType = '###views###';
|
||||||
|
|
||||||
|
/**
|
||||||
|
* The default view for the display method.
|
||||||
|
*
|
||||||
|
* @var string
|
||||||
|
* @since 3.0
|
||||||
|
*/
|
||||||
|
protected $default_view = '###views###';
|
||||||
|
}
|
30
admin/compiler/joomla_4/API_VIEWS_JSON.php
Normal file
30
admin/compiler/joomla_4/API_VIEWS_JSON.php
Normal file
@ -0,0 +1,30 @@
|
|||||||
|
<?php
|
||||||
|
/**
|
||||||
|
* @package Joomla.Component.Builder
|
||||||
|
*
|
||||||
|
* @created 4th September 2022
|
||||||
|
* @author Llewellyn van der Merwe <https://dev.vdm.io>
|
||||||
|
* @git Joomla Component Builder <https://git.vdm.dev/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
|
||||||
|
*/
|
||||||
|
|
||||||
|
// No direct access to this JCB template file (EVER)
|
||||||
|
defined('_JCB_TEMPLATE') or die;
|
||||||
|
?>
|
||||||
|
###BOM###
|
||||||
|
namespace ###NAMESPACEPREFIX###\Component\###ComponentNamespace###\Api\View\###Views###;
|
||||||
|
|
||||||
|
###API_VIEWS_JSON_HEADER###
|
||||||
|
|
||||||
|
// No direct access to this file
|
||||||
|
\defined('_JEXEC') or die;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* ###Component### Json View class for the ###Views###
|
||||||
|
*
|
||||||
|
* @since 4.0.0
|
||||||
|
*/
|
||||||
|
class JsonapiView extends BaseApiView
|
||||||
|
{
|
||||||
|
}
|
72
admin/compiler/joomla_4/API_VIEW_CONTROLLER.php
Normal file
72
admin/compiler/joomla_4/API_VIEW_CONTROLLER.php
Normal file
@ -0,0 +1,72 @@
|
|||||||
|
<?php
|
||||||
|
/**
|
||||||
|
* @package Joomla.Component.Builder
|
||||||
|
*
|
||||||
|
* @created 4th September 2022
|
||||||
|
* @author Llewellyn van der Merwe <https://dev.vdm.io>
|
||||||
|
* @git Joomla Component Builder <https://git.vdm.dev/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
|
||||||
|
*/
|
||||||
|
|
||||||
|
// No direct access to this JCB template file (EVER)
|
||||||
|
defined('_JCB_TEMPLATE') or die;
|
||||||
|
?>
|
||||||
|
###BOM###
|
||||||
|
namespace ###NAMESPACEPREFIX###\Component\###ComponentNamespace###\Api\Controller;
|
||||||
|
|
||||||
|
###API_VIEW_CONTROLLER_HEADER###
|
||||||
|
|
||||||
|
// No direct access to this file
|
||||||
|
\defined('_JEXEC') or die;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* ###View### Api Controller
|
||||||
|
*
|
||||||
|
* @since 4.0.0
|
||||||
|
*/
|
||||||
|
class ###View###Controller extends ApiController
|
||||||
|
{
|
||||||
|
/**
|
||||||
|
* The content type of the item.
|
||||||
|
*
|
||||||
|
* @var string
|
||||||
|
* @since 4.0.0
|
||||||
|
*/
|
||||||
|
protected $contentType = '###view###';
|
||||||
|
|
||||||
|
/**
|
||||||
|
* The default view for the display method.
|
||||||
|
*
|
||||||
|
* @var string
|
||||||
|
* @since 3.0
|
||||||
|
*/
|
||||||
|
protected $default_view = '###view###';
|
||||||
|
|
||||||
|
/**
|
||||||
|
* Method override to check if you can add a new record.
|
||||||
|
*
|
||||||
|
* @param array $data An array of input data.
|
||||||
|
*
|
||||||
|
* @return boolean
|
||||||
|
*
|
||||||
|
* @since 1.6
|
||||||
|
*/
|
||||||
|
protected function allowAdd($data = [])
|
||||||
|
{###JCONTROLLERFORM_ALLOWADD###
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* Method override to check if you can edit an existing record.
|
||||||
|
*
|
||||||
|
* @param array $data An array of input data.
|
||||||
|
* @param string $key The name of the key for the primary key.
|
||||||
|
*
|
||||||
|
* @return boolean
|
||||||
|
*
|
||||||
|
* @since 1.6
|
||||||
|
*/
|
||||||
|
protected function allowEdit($data = [], $key = 'id')
|
||||||
|
{###JCONTROLLERFORM_ALLOWEDIT###
|
||||||
|
}
|
||||||
|
}
|
30
admin/compiler/joomla_4/API_VIEW_JSON.php
Normal file
30
admin/compiler/joomla_4/API_VIEW_JSON.php
Normal file
@ -0,0 +1,30 @@
|
|||||||
|
<?php
|
||||||
|
/**
|
||||||
|
* @package Joomla.Component.Builder
|
||||||
|
*
|
||||||
|
* @created 4th September 2022
|
||||||
|
* @author Llewellyn van der Merwe <https://dev.vdm.io>
|
||||||
|
* @git Joomla Component Builder <https://git.vdm.dev/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
|
||||||
|
*/
|
||||||
|
|
||||||
|
// No direct access to this JCB template file (EVER)
|
||||||
|
defined('_JCB_TEMPLATE') or die;
|
||||||
|
?>
|
||||||
|
###BOM###
|
||||||
|
namespace ###NAMESPACEPREFIX###\Component\###ComponentNamespace###\Api\View\###View###;
|
||||||
|
|
||||||
|
###API_VIEW_JSON_HEADER###
|
||||||
|
|
||||||
|
// No direct access to this file
|
||||||
|
\defined('_JEXEC') or die;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* ###View### Json View class
|
||||||
|
*
|
||||||
|
* @since 4.0.0
|
||||||
|
*/
|
||||||
|
class JsonapiView extends BaseApiView
|
||||||
|
{
|
||||||
|
}
|
@ -27,6 +27,38 @@ namespace ###NAMESPACEPREFIX###\Component\###ComponentNamespace###\Administrator
|
|||||||
*/
|
*/
|
||||||
class HtmlView extends BaseHtmlView
|
class HtmlView extends BaseHtmlView
|
||||||
{
|
{
|
||||||
|
/**
|
||||||
|
* The styles url array
|
||||||
|
*
|
||||||
|
* @var array
|
||||||
|
* @since 5.0.0
|
||||||
|
*/
|
||||||
|
protected array $styles;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* The scripts url array
|
||||||
|
*
|
||||||
|
* @var array
|
||||||
|
* @since 5.0.0
|
||||||
|
*/
|
||||||
|
protected array $scripts;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* The actions object
|
||||||
|
*
|
||||||
|
* @var object
|
||||||
|
* @since 3.10.11
|
||||||
|
*/
|
||||||
|
public object $canDo;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* The user object.
|
||||||
|
*
|
||||||
|
* @var Joomla___effdaf6d_2275_425d_9f52_d4952e564d34___Power
|
||||||
|
* @since 3.10.11
|
||||||
|
*/
|
||||||
|
public Joomla___effdaf6d_2275_425d_9f52_d4952e564d34___Power $user;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Display the view
|
* Display the view
|
||||||
*
|
*
|
||||||
@ -42,11 +74,11 @@ class HtmlView extends BaseHtmlView
|
|||||||
// get the application
|
// get the application
|
||||||
$this->app ??= Factory::getApplication();
|
$this->app ??= Factory::getApplication();
|
||||||
// get the user object
|
// get the user object
|
||||||
$this->user ??= $this->app->getIdentity();
|
$this->user ??= $this->getCurrentUser();
|
||||||
// get global action permissions
|
// get global action permissions
|
||||||
$this->canDo = ###Component###Helper::getActions('###sview###');
|
$this->canDo = ###Component###Helper::getActions('###sview###');
|
||||||
$this->styles = $this->get('Styles');
|
$this->styles = $this->get('Styles') ?? [];
|
||||||
$this->scripts = $this->get('Scripts');###CUSTOM_ADMIN_DIPLAY_METHOD###
|
$this->scripts = $this->get('Scripts') ?? [];###CUSTOM_ADMIN_DIPLAY_METHOD###
|
||||||
|
|
||||||
// Set the html view document stuff
|
// Set the html view document stuff
|
||||||
$this->_prepareDocument();
|
$this->_prepareDocument();
|
||||||
|
18
admin/compiler/joomla_4/INSTALLER_AUTOLOADER_CLASS.php
Normal file
18
admin/compiler/joomla_4/INSTALLER_AUTOLOADER_CLASS.php
Normal file
@ -0,0 +1,18 @@
|
|||||||
|
<?php
|
||||||
|
/**
|
||||||
|
* @package Joomla.Component.Builder
|
||||||
|
*
|
||||||
|
* @created 4th September 2022
|
||||||
|
* @author Llewellyn van der Merwe <https://dev.vdm.io>
|
||||||
|
* @git Joomla Component Builder <https://git.vdm.dev/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
|
||||||
|
*/
|
||||||
|
|
||||||
|
// No direct access to this JCB template file (EVER)
|
||||||
|
defined('_JCB_TEMPLATE') or die;
|
||||||
|
?>
|
||||||
|
###BOM###
|
||||||
|
|
||||||
|
// No direct access to this file
|
||||||
|
defined('_JEXEC') or die;###INSTALLER_POWER_HELPER###
|
@ -52,7 +52,7 @@ class Com_###Component###InstallerScript implements InstallerScriptInterface
|
|||||||
/**
|
/**
|
||||||
* The version number of the extension.
|
* The version number of the extension.
|
||||||
*
|
*
|
||||||
* @var string
|
* @var string
|
||||||
* @since 3.6
|
* @since 3.6
|
||||||
*/
|
*/
|
||||||
protected $release;
|
protected $release;
|
||||||
@ -60,7 +60,7 @@ class Com_###Component###InstallerScript implements InstallerScriptInterface
|
|||||||
/**
|
/**
|
||||||
* The table the parameters are stored in.
|
* The table the parameters are stored in.
|
||||||
*
|
*
|
||||||
* @var string
|
* @var string
|
||||||
* @since 3.6
|
* @since 3.6
|
||||||
*/
|
*/
|
||||||
protected $paramTable;
|
protected $paramTable;
|
||||||
@ -68,7 +68,7 @@ class Com_###Component###InstallerScript implements InstallerScriptInterface
|
|||||||
/**
|
/**
|
||||||
* The extension name. This should be set in the installer script.
|
* The extension name. This should be set in the installer script.
|
||||||
*
|
*
|
||||||
* @var string
|
* @var string
|
||||||
* @since 3.6
|
* @since 3.6
|
||||||
*/
|
*/
|
||||||
protected $extension;
|
protected $extension;
|
||||||
@ -76,7 +76,7 @@ class Com_###Component###InstallerScript implements InstallerScriptInterface
|
|||||||
/**
|
/**
|
||||||
* A list of files to be deleted
|
* A list of files to be deleted
|
||||||
*
|
*
|
||||||
* @var array
|
* @var array
|
||||||
* @since 3.6
|
* @since 3.6
|
||||||
*/
|
*/
|
||||||
protected $deleteFiles = [];
|
protected $deleteFiles = [];
|
||||||
@ -84,7 +84,7 @@ class Com_###Component###InstallerScript implements InstallerScriptInterface
|
|||||||
/**
|
/**
|
||||||
* A list of folders to be deleted
|
* A list of folders to be deleted
|
||||||
*
|
*
|
||||||
* @var array
|
* @var array
|
||||||
* @since 3.6
|
* @since 3.6
|
||||||
*/
|
*/
|
||||||
protected $deleteFolders = [];
|
protected $deleteFolders = [];
|
||||||
@ -92,7 +92,7 @@ class Com_###Component###InstallerScript implements InstallerScriptInterface
|
|||||||
/**
|
/**
|
||||||
* A list of CLI script files to be copied to the cli directory
|
* A list of CLI script files to be copied to the cli directory
|
||||||
*
|
*
|
||||||
* @var array
|
* @var array
|
||||||
* @since 3.6
|
* @since 3.6
|
||||||
*/
|
*/
|
||||||
protected $cliScriptFiles = [];
|
protected $cliScriptFiles = [];
|
||||||
@ -100,7 +100,7 @@ class Com_###Component###InstallerScript implements InstallerScriptInterface
|
|||||||
/**
|
/**
|
||||||
* Minimum PHP version required to install the extension
|
* Minimum PHP version required to install the extension
|
||||||
*
|
*
|
||||||
* @var string
|
* @var string
|
||||||
* @since 3.6
|
* @since 3.6
|
||||||
*/
|
*/
|
||||||
protected $minimumPhp;
|
protected $minimumPhp;
|
||||||
@ -108,7 +108,7 @@ class Com_###Component###InstallerScript implements InstallerScriptInterface
|
|||||||
/**
|
/**
|
||||||
* Minimum Joomla! version required to install the extension
|
* Minimum Joomla! version required to install the extension
|
||||||
*
|
*
|
||||||
* @var string
|
* @var string
|
||||||
* @since 3.6
|
* @since 3.6
|
||||||
*/
|
*/
|
||||||
protected $minimumJoomla;
|
protected $minimumJoomla;
|
||||||
@ -162,7 +162,6 @@ class Com_###Component###InstallerScript implements InstallerScriptInterface
|
|||||||
* @param InstallerAdapter $adapter The adapter calling this method
|
* @param InstallerAdapter $adapter The adapter calling this method
|
||||||
*
|
*
|
||||||
* @return boolean True on success
|
* @return boolean True on success
|
||||||
*
|
|
||||||
* @since 4.2.0
|
* @since 4.2.0
|
||||||
*/
|
*/
|
||||||
public function install(InstallerAdapter $adapter): bool {return true;}
|
public function install(InstallerAdapter $adapter): bool {return true;}
|
||||||
@ -184,7 +183,6 @@ class Com_###Component###InstallerScript implements InstallerScriptInterface
|
|||||||
* @param InstallerAdapter $adapter The adapter calling this method
|
* @param InstallerAdapter $adapter The adapter calling this method
|
||||||
*
|
*
|
||||||
* @return boolean True on success
|
* @return boolean True on success
|
||||||
*
|
|
||||||
* @since 4.2.0
|
* @since 4.2.0
|
||||||
*/
|
*/
|
||||||
public function uninstall(InstallerAdapter $adapter): bool
|
public function uninstall(InstallerAdapter $adapter): bool
|
||||||
@ -207,7 +205,6 @@ class Com_###Component###InstallerScript implements InstallerScriptInterface
|
|||||||
* @param InstallerAdapter $adapter The adapter calling this method
|
* @param InstallerAdapter $adapter The adapter calling this method
|
||||||
*
|
*
|
||||||
* @return boolean True on success
|
* @return boolean True on success
|
||||||
*
|
|
||||||
* @since 4.2.0
|
* @since 4.2.0
|
||||||
*/
|
*/
|
||||||
public function preflight(string $type, InstallerAdapter $adapter): bool
|
public function preflight(string $type, InstallerAdapter $adapter): bool
|
||||||
@ -252,7 +249,6 @@ class Com_###Component###InstallerScript implements InstallerScriptInterface
|
|||||||
* @param InstallerAdapter $adapter The adapter calling this method
|
* @param InstallerAdapter $adapter The adapter calling this method
|
||||||
*
|
*
|
||||||
* @return boolean True on success
|
* @return boolean True on success
|
||||||
*
|
|
||||||
* @since 4.2.0
|
* @since 4.2.0
|
||||||
*/
|
*/
|
||||||
public function postflight(string $type, InstallerAdapter $adapter): bool
|
public function postflight(string $type, InstallerAdapter $adapter): bool
|
||||||
@ -284,7 +280,7 @@ class Com_###Component###InstallerScript implements InstallerScriptInterface
|
|||||||
* @param array|null $ignore The folders and files to ignore and not remove.
|
* @param array|null $ignore The folders and files to ignore and not remove.
|
||||||
*
|
*
|
||||||
* @return bool True if all specified files/folders are removed, false otherwise.
|
* @return bool True if all specified files/folders are removed, false otherwise.
|
||||||
* @since 3.2.2
|
* @since 3.2.2
|
||||||
*/
|
*/
|
||||||
protected function removeFolder(string $dir, ?array $ignore = null): bool
|
protected function removeFolder(string $dir, ?array $ignore = null): bool
|
||||||
{
|
{
|
||||||
@ -335,7 +331,7 @@ class Com_###Component###InstallerScript implements InstallerScriptInterface
|
|||||||
* @param array $ignore The folders and files to ignore.
|
* @param array $ignore The folders and files to ignore.
|
||||||
*
|
*
|
||||||
* @return bool True if the directory is empty or contains only ignored items, false otherwise.
|
* @return bool True if the directory is empty or contains only ignored items, false otherwise.
|
||||||
* @since 3.2.1
|
* @since 3.2.1
|
||||||
*/
|
*/
|
||||||
protected function isDirEmpty(string $dir, array $ignore): bool
|
protected function isDirEmpty(string $dir, array $ignore): bool
|
||||||
{
|
{
|
||||||
@ -355,7 +351,6 @@ class Com_###Component###InstallerScript implements InstallerScriptInterface
|
|||||||
* Remove the files and folders in the given array from
|
* Remove the files and folders in the given array from
|
||||||
*
|
*
|
||||||
* @return void
|
* @return void
|
||||||
*
|
|
||||||
* @since 3.6
|
* @since 3.6
|
||||||
*/
|
*/
|
||||||
protected function removeFiles()
|
protected function removeFiles()
|
||||||
@ -387,7 +382,6 @@ class Com_###Component###InstallerScript implements InstallerScriptInterface
|
|||||||
* Moves the CLI scripts into the CLI folder in the CMS
|
* Moves the CLI scripts into the CLI folder in the CMS
|
||||||
*
|
*
|
||||||
* @return void
|
* @return void
|
||||||
*
|
|
||||||
* @since 3.6
|
* @since 3.6
|
||||||
*/
|
*/
|
||||||
protected function moveCliFiles()
|
protected function moveCliFiles()
|
||||||
@ -418,7 +412,7 @@ class Com_###Component###InstallerScript implements InstallerScriptInterface
|
|||||||
* @param string $contentHistoryOptions
|
* @param string $contentHistoryOptions
|
||||||
*
|
*
|
||||||
* @return void
|
* @return void
|
||||||
* @since 4.4.2
|
* @since 4.4.2
|
||||||
*/
|
*/
|
||||||
protected function setContentType(
|
protected function setContentType(
|
||||||
string $typeTitle,
|
string $typeTitle,
|
||||||
@ -480,7 +474,7 @@ class Com_###Component###InstallerScript implements InstallerScriptInterface
|
|||||||
* @param string $textPrefix
|
* @param string $textPrefix
|
||||||
*
|
*
|
||||||
* @return void
|
* @return void
|
||||||
* @since 4.4.2
|
* @since 4.4.2
|
||||||
*/
|
*/
|
||||||
protected function setActionLogConfig(
|
protected function setActionLogConfig(
|
||||||
string $typeTitle,
|
string $typeTitle,
|
||||||
@ -533,7 +527,7 @@ class Com_###Component###InstallerScript implements InstallerScriptInterface
|
|||||||
* Set action logs extensions integration
|
* Set action logs extensions integration
|
||||||
*
|
*
|
||||||
* @return void
|
* @return void
|
||||||
* @since 4.4.2
|
* @since 4.4.2
|
||||||
*/
|
*/
|
||||||
protected function setActionLogsExtensions(): void
|
protected function setActionLogsExtensions(): void
|
||||||
{
|
{
|
||||||
@ -574,7 +568,7 @@ class Com_###Component###InstallerScript implements InstallerScriptInterface
|
|||||||
* @param string $rules The component rules
|
* @param string $rules The component rules
|
||||||
*
|
*
|
||||||
* @return void
|
* @return void
|
||||||
* @since 4.4.2
|
* @since 4.4.2
|
||||||
*/
|
*/
|
||||||
protected function setAssetsRules(string $rules): void
|
protected function setAssetsRules(string $rules): void
|
||||||
{
|
{
|
||||||
@ -612,7 +606,7 @@ class Com_###Component###InstallerScript implements InstallerScriptInterface
|
|||||||
* @param string $params The component rules
|
* @param string $params The component rules
|
||||||
*
|
*
|
||||||
* @return void
|
* @return void
|
||||||
* @since 4.4.2
|
* @since 4.4.2
|
||||||
*/
|
*/
|
||||||
protected function setExtensionsParams(string $params): void
|
protected function setExtensionsParams(string $params): void
|
||||||
{
|
{
|
||||||
@ -655,7 +649,7 @@ class Com_###Component###InstallerScript implements InstallerScriptInterface
|
|||||||
* @param string $dataType This datatype we will change the rules column to if it to small.
|
* @param string $dataType This datatype we will change the rules column to if it to small.
|
||||||
*
|
*
|
||||||
* @return void
|
* @return void
|
||||||
* @since 4.4.2
|
* @since 4.4.2
|
||||||
*/
|
*/
|
||||||
protected function setDatabaseAssetsRulesFix(int $accessWorseCase, string $dataType): void
|
protected function setDatabaseAssetsRulesFix(int $accessWorseCase, string $dataType): void
|
||||||
{
|
{
|
||||||
@ -690,7 +684,7 @@ class Com_###Component###InstallerScript implements InstallerScriptInterface
|
|||||||
* @param bool $fields The switch to also remove related field data
|
* @param bool $fields The switch to also remove related field data
|
||||||
*
|
*
|
||||||
* @return void
|
* @return void
|
||||||
* @since 4.4.2
|
* @since 4.4.2
|
||||||
*/
|
*/
|
||||||
protected function removeViewData(string $context, bool $fields = false): void
|
protected function removeViewData(string $context, bool $fields = false): void
|
||||||
{
|
{
|
||||||
@ -713,7 +707,7 @@ class Com_###Component###InstallerScript implements InstallerScriptInterface
|
|||||||
* @param string $context The view context
|
* @param string $context The view context
|
||||||
*
|
*
|
||||||
* @return void
|
* @return void
|
||||||
* @since 4.4.2
|
* @since 4.4.2
|
||||||
*/
|
*/
|
||||||
protected function removeContentTypes(string $context): void
|
protected function removeContentTypes(string $context): void
|
||||||
{
|
{
|
||||||
@ -770,7 +764,7 @@ class Com_###Component###InstallerScript implements InstallerScriptInterface
|
|||||||
* @param string $context The view context
|
* @param string $context The view context
|
||||||
*
|
*
|
||||||
* @return void
|
* @return void
|
||||||
* @since 4.4.2
|
* @since 4.4.2
|
||||||
*/
|
*/
|
||||||
protected function removeFields(string $context): void
|
protected function removeFields(string $context): void
|
||||||
{
|
{
|
||||||
@ -832,7 +826,7 @@ class Com_###Component###InstallerScript implements InstallerScriptInterface
|
|||||||
* @param array $ids The view context
|
* @param array $ids The view context
|
||||||
*
|
*
|
||||||
* @return void
|
* @return void
|
||||||
* @since 4.4.2
|
* @since 4.4.2
|
||||||
*/
|
*/
|
||||||
protected function removeFieldsValues(string $context, array $ids): void
|
protected function removeFieldsValues(string $context, array $ids): void
|
||||||
{
|
{
|
||||||
@ -863,7 +857,7 @@ class Com_###Component###InstallerScript implements InstallerScriptInterface
|
|||||||
* @param string $context The view context
|
* @param string $context The view context
|
||||||
*
|
*
|
||||||
* @return void
|
* @return void
|
||||||
* @since 4.4.2
|
* @since 4.4.2
|
||||||
*/
|
*/
|
||||||
protected function removeFieldsGroups(string $context): void
|
protected function removeFieldsGroups(string $context): void
|
||||||
{
|
{
|
||||||
@ -918,7 +912,7 @@ class Com_###Component###InstallerScript implements InstallerScriptInterface
|
|||||||
* @param string $context The view context
|
* @param string $context The view context
|
||||||
*
|
*
|
||||||
* @return void
|
* @return void
|
||||||
* @since 4.4.2
|
* @since 4.4.2
|
||||||
*/
|
*/
|
||||||
protected function removeViewHistory(string $context): void
|
protected function removeViewHistory(string $context): void
|
||||||
{
|
{
|
||||||
@ -950,7 +944,7 @@ class Com_###Component###InstallerScript implements InstallerScriptInterface
|
|||||||
* @param array $ids The type ids
|
* @param array $ids The type ids
|
||||||
*
|
*
|
||||||
* @return void
|
* @return void
|
||||||
* @since 4.4.2
|
* @since 4.4.2
|
||||||
*/
|
*/
|
||||||
protected function removeUcmBase(array $ids): void
|
protected function removeUcmBase(array $ids): void
|
||||||
{
|
{
|
||||||
@ -983,7 +977,7 @@ class Com_###Component###InstallerScript implements InstallerScriptInterface
|
|||||||
* @param string $context The view context
|
* @param string $context The view context
|
||||||
*
|
*
|
||||||
* @return void
|
* @return void
|
||||||
* @since 4.4.2
|
* @since 4.4.2
|
||||||
*/
|
*/
|
||||||
protected function removeUcmContent(string $context): void
|
protected function removeUcmContent(string $context): void
|
||||||
{
|
{
|
||||||
@ -1015,7 +1009,7 @@ class Com_###Component###InstallerScript implements InstallerScriptInterface
|
|||||||
* @param string $context The view context
|
* @param string $context The view context
|
||||||
*
|
*
|
||||||
* @return void
|
* @return void
|
||||||
* @since 4.4.2
|
* @since 4.4.2
|
||||||
*/
|
*/
|
||||||
protected function removeContentItemTagMap(string $context): void
|
protected function removeContentItemTagMap(string $context): void
|
||||||
{
|
{
|
||||||
@ -1050,7 +1044,7 @@ class Com_###Component###InstallerScript implements InstallerScriptInterface
|
|||||||
* @param string $context The view context
|
* @param string $context The view context
|
||||||
*
|
*
|
||||||
* @return void
|
* @return void
|
||||||
* @since 4.4.2
|
* @since 4.4.2
|
||||||
*/
|
*/
|
||||||
protected function removeActionLogConfig(string $context): void
|
protected function removeActionLogConfig(string $context): void
|
||||||
{
|
{
|
||||||
@ -1080,7 +1074,7 @@ class Com_###Component###InstallerScript implements InstallerScriptInterface
|
|||||||
* Remove Asset Table Integrated
|
* Remove Asset Table Integrated
|
||||||
*
|
*
|
||||||
* @return void
|
* @return void
|
||||||
* @since 4.4.2
|
* @since 4.4.2
|
||||||
*/
|
*/
|
||||||
protected function removeAssetData(): void
|
protected function removeAssetData(): void
|
||||||
{
|
{
|
||||||
@ -1108,7 +1102,7 @@ class Com_###Component###InstallerScript implements InstallerScriptInterface
|
|||||||
* Remove action logs extensions integrated
|
* Remove action logs extensions integrated
|
||||||
*
|
*
|
||||||
* @return void
|
* @return void
|
||||||
* @since 4.4.2
|
* @since 4.4.2
|
||||||
*/
|
*/
|
||||||
protected function removeActionLogsExtensions(): void
|
protected function removeActionLogsExtensions(): void
|
||||||
{
|
{
|
||||||
@ -1138,7 +1132,7 @@ class Com_###Component###InstallerScript implements InstallerScriptInterface
|
|||||||
* Remove remove database fix (if possible)
|
* Remove remove database fix (if possible)
|
||||||
*
|
*
|
||||||
* @return void
|
* @return void
|
||||||
* @since 4.4.2
|
* @since 4.4.2
|
||||||
*/
|
*/
|
||||||
protected function removeDatabaseAssetsRulesFix(): void
|
protected function removeDatabaseAssetsRulesFix(): void
|
||||||
{
|
{
|
||||||
@ -1176,20 +1170,31 @@ class Com_###Component###InstallerScript implements InstallerScriptInterface
|
|||||||
* @param string $className The fully qualified name of the class to check.
|
* @param string $className The fully qualified name of the class to check.
|
||||||
*
|
*
|
||||||
* @return bool True if the class exists or was successfully loaded, false otherwise.
|
* @return bool True if the class exists or was successfully loaded, false otherwise.
|
||||||
* @since 4.0.1
|
* @since 4.0.1
|
||||||
*/
|
*/
|
||||||
protected function classExists(string $className): bool
|
protected function classExists(string $className): bool
|
||||||
{
|
{
|
||||||
if (!class_exists($className, true))
|
if (class_exists($className, true))
|
||||||
{
|
{
|
||||||
###THREE_POWER_AUTOLOADER###
|
return true;
|
||||||
|
}
|
||||||
|
|
||||||
// Check again if the class now exists after requiring the autoloader
|
// Autoloaders to check
|
||||||
if (!class_exists($className, true))
|
$autoloaders = [###INSTALLER_POWER_AUTOLOADER_ARRAY###];
|
||||||
|
|
||||||
|
foreach ($autoloaders as $autoloader)
|
||||||
|
{
|
||||||
|
if (file_exists($autoloader))
|
||||||
{
|
{
|
||||||
return false;
|
require_once $autoloader;
|
||||||
|
|
||||||
|
if (class_exists($className, true))
|
||||||
|
{
|
||||||
|
return true;
|
||||||
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
return true;
|
|
||||||
|
return false;
|
||||||
}###INSTALLERMETHODS###
|
}###INSTALLERMETHODS###
|
||||||
}
|
}
|
||||||
|
@ -27,6 +27,86 @@ namespace ###NAMESPACEPREFIX###\Component\###ComponentNamespace###\Site\View\###
|
|||||||
*/
|
*/
|
||||||
class HtmlView extends BaseHtmlView
|
class HtmlView extends BaseHtmlView
|
||||||
{
|
{
|
||||||
|
/**
|
||||||
|
* The item from the model
|
||||||
|
*
|
||||||
|
* @var mixed
|
||||||
|
* @since 3.10.11
|
||||||
|
*/
|
||||||
|
public mixed $item;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* The state object
|
||||||
|
*
|
||||||
|
* @var mixed
|
||||||
|
* @since 3.10.11
|
||||||
|
*/
|
||||||
|
public mixed $state;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* The form from the model
|
||||||
|
*
|
||||||
|
* @var mixed
|
||||||
|
* @since 3.10.11
|
||||||
|
*/
|
||||||
|
public mixed $form;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* The toolbar object
|
||||||
|
*
|
||||||
|
* @var Toolbar
|
||||||
|
* @since 3.10.11
|
||||||
|
*/
|
||||||
|
public Toolbar $toolbar;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* The styles url array
|
||||||
|
*
|
||||||
|
* @var array
|
||||||
|
* @since 5.0.0
|
||||||
|
*/
|
||||||
|
protected array $styles;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* The scripts url array
|
||||||
|
*
|
||||||
|
* @var array
|
||||||
|
* @since 5.0.0
|
||||||
|
*/
|
||||||
|
protected array $scripts;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* The actions object
|
||||||
|
*
|
||||||
|
* @var object
|
||||||
|
* @since 3.10.11
|
||||||
|
*/
|
||||||
|
public object $canDo;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* The origin referral view name
|
||||||
|
*
|
||||||
|
* @var string
|
||||||
|
* @since 3.10.11
|
||||||
|
*/
|
||||||
|
public string $ref;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* The origin referral view item id
|
||||||
|
*
|
||||||
|
* @var int
|
||||||
|
* @since 3.10.11
|
||||||
|
*/
|
||||||
|
public int $refid;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* The referral url suffix values
|
||||||
|
*
|
||||||
|
* @var string
|
||||||
|
* @since 3.10.11
|
||||||
|
*/
|
||||||
|
public string $referral;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* ###View### view display method
|
* ###View### view display method
|
||||||
*
|
*
|
||||||
@ -41,11 +121,11 @@ class HtmlView extends BaseHtmlView
|
|||||||
$this->params = ComponentHelper::getParams('com_###component###');
|
$this->params = ComponentHelper::getParams('com_###component###');
|
||||||
$this->useCoreUI = true;
|
$this->useCoreUI = true;
|
||||||
// Assign the variables
|
// Assign the variables
|
||||||
$this->form = $this->get('Form');
|
$this->form ??= $this->get('Form');
|
||||||
$this->item = $this->get('Item');
|
$this->item = $this->get('Item');
|
||||||
$this->state = $this->get('State');
|
$this->state = $this->get('State');
|
||||||
$this->styles = $this->get('Styles');
|
$this->styles = $this->get('Styles') ?? [];
|
||||||
$this->scripts = $this->get('Scripts');
|
$this->scripts = $this->get('Scripts') ?? [];
|
||||||
// get action permissions
|
// get action permissions
|
||||||
$this->canDo = ###Component###Helper::getActions('###view###', $this->item);
|
$this->canDo = ###Component###Helper::getActions('###view###', $this->item);
|
||||||
// get input
|
// get input
|
||||||
@ -97,6 +177,9 @@ class HtmlView extends BaseHtmlView
|
|||||||
protected function addToolbar(): void
|
protected function addToolbar(): void
|
||||||
{
|
{
|
||||||
###ADDTOOLBAR###
|
###ADDTOOLBAR###
|
||||||
|
|
||||||
|
// now initiate the toolbar
|
||||||
|
$this->toolbar ??= Toolbar::getInstance();
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
@ -36,6 +36,28 @@ class ###View###Model extends AdminModel
|
|||||||
*/
|
*/
|
||||||
protected $tabLayoutFields = ###TABLAYOUTFIELDSARRAY###;
|
protected $tabLayoutFields = ###TABLAYOUTFIELDSARRAY###;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* The styles array.
|
||||||
|
*
|
||||||
|
* @var array
|
||||||
|
* @since 4.3
|
||||||
|
*/
|
||||||
|
protected array $styles = [
|
||||||
|
'components/com_###component###/assets/css/site.css',
|
||||||
|
'components/com_###component###/assets/css/###view###.css'
|
||||||
|
];
|
||||||
|
|
||||||
|
/**
|
||||||
|
* The scripts array.
|
||||||
|
*
|
||||||
|
* @var array
|
||||||
|
* @since 4.3
|
||||||
|
*/
|
||||||
|
protected array $scripts = [
|
||||||
|
'components/com_###component###/assets/js/site.js',
|
||||||
|
'media/com_###component###/js/###view###.js'
|
||||||
|
];
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* @var string The prefix to use with controller messages.
|
* @var string The prefix to use with controller messages.
|
||||||
* @since 1.6
|
* @since 1.6
|
||||||
@ -119,13 +141,47 @@ class ###View###Model extends AdminModel
|
|||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Method to get the script that have to be included on the form
|
* Method to get the styles that have to be included on the view
|
||||||
*
|
*
|
||||||
* @return string script files
|
* @return array styles files
|
||||||
|
* @since 4.3
|
||||||
*/
|
*/
|
||||||
public function getScript()
|
public function getStyles(): array
|
||||||
{
|
{
|
||||||
return 'media/com_###component###/js/###view###.js';
|
return $this->styles;
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* Method to set the styles that have to be included on the view
|
||||||
|
*
|
||||||
|
* @return void
|
||||||
|
* @since 4.3
|
||||||
|
*/
|
||||||
|
public function setStyles(string $path): void
|
||||||
|
{
|
||||||
|
$this->styles[] = $path;
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* Method to get the script that have to be included on the view
|
||||||
|
*
|
||||||
|
* @return array script files
|
||||||
|
* @since 4.3
|
||||||
|
*/
|
||||||
|
public function getScripts(): array
|
||||||
|
{
|
||||||
|
return $this->scripts;
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* Method to set the script that have to be included on the view
|
||||||
|
*
|
||||||
|
* @return void
|
||||||
|
* @since 4.3
|
||||||
|
*/
|
||||||
|
public function setScript(string $path): void
|
||||||
|
{
|
||||||
|
$this->scripts[] = $path;
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
@ -15,9 +15,13 @@ defined('_JCB_TEMPLATE') or die;
|
|||||||
###BOM###
|
###BOM###
|
||||||
namespace ###NAMESPACEPREFIX###\Component\###ComponentNamespace###\Site\Controller;
|
namespace ###NAMESPACEPREFIX###\Component\###ComponentNamespace###\Site\Controller;
|
||||||
|
|
||||||
|
use Joomla\Input\Input;
|
||||||
use Joomla\CMS\Factory;
|
use Joomla\CMS\Factory;
|
||||||
|
use Joomla\CMS\Application\CMSApplication;
|
||||||
use Joomla\CMS\MVC\Controller\BaseController;
|
use Joomla\CMS\MVC\Controller\BaseController;
|
||||||
|
use Joomla\CMS\MVC\Factory\MVCFactoryInterface;
|
||||||
use Joomla\CMS\Router\Route;
|
use Joomla\CMS\Router\Route;
|
||||||
|
use Joomla\CMS\User\User;
|
||||||
use Joomla\Utilities\ArrayHelper;
|
use Joomla\Utilities\ArrayHelper;
|
||||||
use Joomla\CMS\Language\Text;
|
use Joomla\CMS\Language\Text;
|
||||||
|
|
||||||
@ -31,13 +35,50 @@ use Joomla\CMS\Language\Text;
|
|||||||
*/
|
*/
|
||||||
class DisplayController extends BaseController
|
class DisplayController extends BaseController
|
||||||
{
|
{
|
||||||
|
/**
|
||||||
|
* The allowed edit views.
|
||||||
|
*
|
||||||
|
* @var array
|
||||||
|
* @since 4.0.0
|
||||||
|
*/
|
||||||
|
protected array $allowed_edit_views = [###SITE_ALLOW_EDIT_VIEWS_ARRAY###
|
||||||
|
];
|
||||||
|
|
||||||
|
/**
|
||||||
|
* The application identity object.
|
||||||
|
*
|
||||||
|
* @var User
|
||||||
|
* @since 4.0.0
|
||||||
|
*/
|
||||||
|
protected $identity;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* @param array $config An optional associative array of configuration settings.
|
||||||
|
* Recognized key values include 'name', 'default_task', 'model_path', and
|
||||||
|
* 'view_path' (this list is not meant to be comprehensive).
|
||||||
|
* @param MVCFactoryInterface|null $factory The factory.
|
||||||
|
* @param CMSApplication|null $app The Application for the dispatcher
|
||||||
|
* @param Input|null $input The Input object for the request
|
||||||
|
*
|
||||||
|
* @throws \Exception
|
||||||
|
* @since 3.0.1
|
||||||
|
*/
|
||||||
|
public function __construct($config = [], MVCFactoryInterface $factory = null, $app = null, $input = null)
|
||||||
|
{
|
||||||
|
$app ??= Factory::getApplication();
|
||||||
|
$this->identity ??= $app->getIdentity();
|
||||||
|
|
||||||
|
parent::__construct($config, $factory, $app, $input);
|
||||||
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Method to display a view.
|
* Method to display a view.
|
||||||
*
|
*
|
||||||
* @param boolean $cachable If true, the view output will be cached.
|
* @param boolean $cachable If true, the view output will be cached.
|
||||||
* @param boolean $urlparams An array of safe URL parameters and their variable types, for valid values see {@link InputFilter::clean()}.
|
* @param boolean|array $urlparams An array of safe URL parameters and their variable types, for valid values see {@link InputFilter::clean()}.
|
||||||
*
|
*
|
||||||
* @return DisplayController This object to support chaining.
|
* @return DisplayController This object to support chaining.
|
||||||
|
* @throws \Exception
|
||||||
* @since 1.5
|
* @since 1.5
|
||||||
*/
|
*/
|
||||||
function display($cachable = false, $urlparams = false)
|
function display($cachable = false, $urlparams = false)
|
||||||
@ -51,14 +92,13 @@ class DisplayController extends BaseController
|
|||||||
$cachable = true;
|
$cachable = true;
|
||||||
|
|
||||||
// ensure that the view is not cashable if edit view or if user is logged in
|
// ensure that the view is not cashable if edit view or if user is logged in
|
||||||
$user = $this->app->getIdentity();
|
if ($this->identity->get('id') || $this->input->getMethod() === 'POST' || $isEdit)
|
||||||
if ($user->get('id') || $this->input->getMethod() === 'POST' || $isEdit)
|
|
||||||
{
|
{
|
||||||
$cachable = false;
|
$cachable = false;
|
||||||
}
|
}
|
||||||
|
|
||||||
// Check for edit form.
|
// Check for edit form.
|
||||||
if ($isEdit && !$this->checkEditId('com_###component###.edit.'.$view, $id))
|
if ($isEdit && !$this->checkEditId($view, $id))
|
||||||
{
|
{
|
||||||
// check if item was opened from other than its own list view
|
// check if item was opened from other than its own list view
|
||||||
$ref = $this->input->getCmd('ref', 0);
|
$ref = $this->input->getCmd('ref', 0);
|
||||||
@ -68,12 +108,12 @@ class DisplayController extends BaseController
|
|||||||
if ($refid > 0 && Super___1f28cb53_60d9_4db1_b517_3c7dc6b429ef___Power::check($ref))
|
if ($refid > 0 && Super___1f28cb53_60d9_4db1_b517_3c7dc6b429ef___Power::check($ref))
|
||||||
{
|
{
|
||||||
// redirect to item of ref
|
// redirect to item of ref
|
||||||
$this->setRedirect(Route::_('index.php?option=com_###component###&view='.(string)$ref.'&layout=edit&id='.(int)$refid, false));
|
$this->setRedirect(Route::_('index.php?option=com_###component###&view=' . (string) $ref . '&layout=edit&id=' . (int) $refid, false));
|
||||||
}
|
}
|
||||||
elseif (Super___1f28cb53_60d9_4db1_b517_3c7dc6b429ef___Power::check($ref))
|
elseif (Super___1f28cb53_60d9_4db1_b517_3c7dc6b429ef___Power::check($ref))
|
||||||
{
|
{
|
||||||
// redirect to ref
|
// redirect to ref
|
||||||
$this->setRedirect(Route::_('index.php?option=com_###component###&view='.(string)$ref, false));
|
$this->setRedirect(Route::_('index.php?option=com_###component###&view=' . (string) $ref, false));
|
||||||
}
|
}
|
||||||
else
|
else
|
||||||
{
|
{
|
||||||
@ -115,18 +155,133 @@ class DisplayController extends BaseController
|
|||||||
return $this;
|
return $this;
|
||||||
}
|
}
|
||||||
|
|
||||||
protected function checkEditView($view)
|
/**
|
||||||
|
* Method to check whether an ID is in the edit list.
|
||||||
|
*
|
||||||
|
* @param string $context The view name.
|
||||||
|
* @param integer $id The ID of the record to add to the edit list.
|
||||||
|
*
|
||||||
|
* @return boolean True if the ID is in the edit list.
|
||||||
|
*
|
||||||
|
* @throws \Exception
|
||||||
|
* @since 3.0
|
||||||
|
*/
|
||||||
|
protected function checkEditId($context, $id)
|
||||||
|
{
|
||||||
|
if (parent::checkEditId("com_###component###.edit.{$context}", $id))
|
||||||
|
{
|
||||||
|
return true;
|
||||||
|
}
|
||||||
|
|
||||||
|
// check user edit access
|
||||||
|
if ($this->canEditId($context, $id))
|
||||||
|
{
|
||||||
|
$this->holdEditId("com_###component###.edit.{$context}", $id);
|
||||||
|
|
||||||
|
return true;
|
||||||
|
}
|
||||||
|
|
||||||
|
return false;
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* Method to check whether an ID is allowed to be edited by the active user.
|
||||||
|
*
|
||||||
|
* @param string $view The view name.
|
||||||
|
* @param integer $id The ID of the record to add to the edit list.
|
||||||
|
*
|
||||||
|
* @return boolean True if the ID is in the edit list.
|
||||||
|
*
|
||||||
|
* @since 5.0.2
|
||||||
|
*/
|
||||||
|
protected function canEditId($view, $id): bool
|
||||||
|
{
|
||||||
|
// check that this view is even allowed
|
||||||
|
$allowed = $this->getAllowedEditView($view);
|
||||||
|
if ($allowed === null)
|
||||||
|
{
|
||||||
|
return false;
|
||||||
|
}
|
||||||
|
|
||||||
|
// check if this item has custom function set for canEditId
|
||||||
|
if (isset($allowed['function'])
|
||||||
|
&& method_exists($this, $allowed['function'])
|
||||||
|
&& $this->{$allowed['function']}(['id' => $id], 'id'))
|
||||||
|
{
|
||||||
|
return true;
|
||||||
|
}
|
||||||
|
|
||||||
|
// check if this item can be accessed (and has access)
|
||||||
|
$access = true;
|
||||||
|
if (isset($allowed['access']))
|
||||||
|
{
|
||||||
|
$access = ($this->identity->authorise($allowed['access'], "com_###component###.{$view}." . (int) $id)
|
||||||
|
&& $this->identity->authorise($allowed['access'], 'com_###component###'));
|
||||||
|
}
|
||||||
|
|
||||||
|
// check if this item can be edited
|
||||||
|
$edit = false;
|
||||||
|
if ($access && isset($allowed['edit']))
|
||||||
|
{
|
||||||
|
$edit = ($this->identity->authorise($allowed['edit'], "com_###component###.{$view}." . (int) $id)
|
||||||
|
&& $this->identity->authorise($allowed['edit'], 'com_###component###'));
|
||||||
|
}
|
||||||
|
|
||||||
|
// check if this item can be edited by owner
|
||||||
|
if ($access && !$edit && isset($allowed['edit.own']))
|
||||||
|
{
|
||||||
|
$edit = ($this->identity->authorise($allowed['edit.own'], "com_###component###.{$view}." . (int) $id)
|
||||||
|
&& $this->identity->authorise($allowed['edit.own'], 'com_###component###'));
|
||||||
|
}
|
||||||
|
|
||||||
|
return $edit;
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* Checks if the provided view is an edit view.
|
||||||
|
*
|
||||||
|
* This method verifies whether the given view name is recognized as an edit view.
|
||||||
|
* It uses the StringHelper::check() method to validate the input and then checks
|
||||||
|
* against a predefined list of edit views.
|
||||||
|
*
|
||||||
|
* @param string|null $view The name of the view to check.
|
||||||
|
*
|
||||||
|
* @return bool True if the view is an edit view, false otherwise.
|
||||||
|
* @since 4.0.0
|
||||||
|
*/
|
||||||
|
protected function checkEditView(?string $view): bool
|
||||||
{
|
{
|
||||||
if (Super___1f28cb53_60d9_4db1_b517_3c7dc6b429ef___Power::check($view))
|
if (Super___1f28cb53_60d9_4db1_b517_3c7dc6b429ef___Power::check($view))
|
||||||
{
|
{
|
||||||
$views = [###SITE_EDIT_VIEW_ARRAY###
|
// check if this is an edit view
|
||||||
];
|
if (isset($this->allowed_edit_views[$view]))
|
||||||
// check if this is a edit view
|
|
||||||
if (in_array($view,$views))
|
|
||||||
{
|
{
|
||||||
return true;
|
return true;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
return false;
|
return false;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* Get the allowed edit view permission map
|
||||||
|
*
|
||||||
|
* @param string|null $view The name of the view to check.
|
||||||
|
*
|
||||||
|
* @return array|null The permissions map
|
||||||
|
* @since 5.0.2
|
||||||
|
*/
|
||||||
|
protected function getAllowedEditView(?string $view): ?array
|
||||||
|
{
|
||||||
|
if (Super___1f28cb53_60d9_4db1_b517_3c7dc6b429ef___Power::check($view))
|
||||||
|
{
|
||||||
|
// check if this is an edit view
|
||||||
|
if (isset($this->allowed_edit_views[$view]))
|
||||||
|
{
|
||||||
|
return $this->allowed_edit_views[$view];
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
return null;
|
||||||
|
}###SITE_ALLOW_EDIT_VIEWS_FUNCTIONS###
|
||||||
}
|
}
|
||||||
|
@ -27,6 +27,54 @@ namespace ###NAMESPACEPREFIX###\Component\###ComponentNamespace###\Site\View\###
|
|||||||
*/
|
*/
|
||||||
class HtmlView extends BaseHtmlView
|
class HtmlView extends BaseHtmlView
|
||||||
{
|
{
|
||||||
|
/**
|
||||||
|
* The items from the model
|
||||||
|
*
|
||||||
|
* @var mixed
|
||||||
|
* @since 3.10.11
|
||||||
|
*/
|
||||||
|
public mixed $items;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* The toolbar object
|
||||||
|
*
|
||||||
|
* @var Toolbar
|
||||||
|
* @since 3.10.11
|
||||||
|
*/
|
||||||
|
public Toolbar $toolbar;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* The styles url array
|
||||||
|
*
|
||||||
|
* @var array
|
||||||
|
* @since 5.0.0
|
||||||
|
*/
|
||||||
|
protected array $styles;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* The scripts url array
|
||||||
|
*
|
||||||
|
* @var array
|
||||||
|
* @since 5.0.0
|
||||||
|
*/
|
||||||
|
protected array $scripts;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* The actions object
|
||||||
|
*
|
||||||
|
* @var object
|
||||||
|
* @since 3.10.11
|
||||||
|
*/
|
||||||
|
public object $canDo;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* The user object.
|
||||||
|
*
|
||||||
|
* @var Joomla___effdaf6d_2275_425d_9f52_d4952e564d34___Power
|
||||||
|
* @since 3.10.11
|
||||||
|
*/
|
||||||
|
public Joomla___effdaf6d_2275_425d_9f52_d4952e564d34___Power $user;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Display the view
|
* Display the view
|
||||||
*
|
*
|
||||||
@ -82,6 +130,7 @@ class HtmlView extends BaseHtmlView
|
|||||||
{
|
{
|
||||||
ToolbarHelper::help('COM_###COMPONENT###_HELP_MANAGER', false, $this->help_url);
|
ToolbarHelper::help('COM_###COMPONENT###_HELP_MANAGER', false, $this->help_url);
|
||||||
}
|
}
|
||||||
|
|
||||||
// now initiate the toolbar
|
// now initiate the toolbar
|
||||||
$this->toolbar = Toolbar::getInstance();
|
$this->toolbar = Toolbar::getInstance();
|
||||||
}###SITE_GET_MODULE###
|
}###SITE_GET_MODULE###
|
||||||
|
@ -25,7 +25,7 @@ namespace ###NAMESPACEPREFIX###\Component\###ComponentNamespace###\Site\Controll
|
|||||||
*
|
*
|
||||||
* @since 1.6
|
* @since 1.6
|
||||||
*/
|
*/
|
||||||
class ###SView###Controller extends FormController
|
class ###SView###Controller extends Joomla___907ccae5_57a9_44b9_a8aa_5b905d1cd70f___Power
|
||||||
{
|
{
|
||||||
/**
|
/**
|
||||||
* The prefix to use with controller messages.
|
* The prefix to use with controller messages.
|
||||||
@ -107,14 +107,14 @@ class ###SView###Controller extends FormController
|
|||||||
* Function that allows child controller access to model data
|
* Function that allows child controller access to model data
|
||||||
* after the data has been saved.
|
* after the data has been saved.
|
||||||
*
|
*
|
||||||
* @param BaseDatabaseModel $model The data model object.
|
* @param Joomla___6dce7a1b_cfc3_4c2a_837d_be9cbc902446___Power $model The data model object.
|
||||||
* @param array $validData The validated data.
|
* @param array $validData The validated data.
|
||||||
*
|
*
|
||||||
* @return void
|
* @return void
|
||||||
*
|
*
|
||||||
* @since 12.2
|
* @since 12.2
|
||||||
*/
|
*/
|
||||||
protected function postSaveHook(BaseDatabaseModel $model, $validData = [])
|
protected function postSaveHook(Joomla___6dce7a1b_cfc3_4c2a_837d_be9cbc902446___Power $model, $validData = [])
|
||||||
{
|
{
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
@ -27,6 +27,38 @@ namespace ###NAMESPACEPREFIX###\Component\###ComponentNamespace###\Site\View\###
|
|||||||
*/
|
*/
|
||||||
class HtmlView extends BaseHtmlView
|
class HtmlView extends BaseHtmlView
|
||||||
{
|
{
|
||||||
|
/**
|
||||||
|
* The toolbar object
|
||||||
|
*
|
||||||
|
* @var Toolbar
|
||||||
|
* @since 3.10.11
|
||||||
|
*/
|
||||||
|
public Toolbar $toolbar;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* The styles url array
|
||||||
|
*
|
||||||
|
* @var array
|
||||||
|
* @since 3.10.11
|
||||||
|
*/
|
||||||
|
protected array $styles;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* The scripts url array
|
||||||
|
*
|
||||||
|
* @var array
|
||||||
|
* @since 3.10.11
|
||||||
|
*/
|
||||||
|
protected array $scripts;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* The user object.
|
||||||
|
*
|
||||||
|
* @var Joomla___effdaf6d_2275_425d_9f52_d4952e564d34___Power
|
||||||
|
* @since 3.10.11
|
||||||
|
*/
|
||||||
|
public Joomla___effdaf6d_2275_425d_9f52_d4952e564d34___Power $user;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Display the view
|
* Display the view
|
||||||
*
|
*
|
||||||
@ -41,10 +73,10 @@ class HtmlView extends BaseHtmlView
|
|||||||
$this->app ??= Factory::getApplication();
|
$this->app ??= Factory::getApplication();
|
||||||
$this->params = $this->app->getParams();
|
$this->params = $this->app->getParams();
|
||||||
$this->menu = $this->app->getMenu()->getActive();
|
$this->menu = $this->app->getMenu()->getActive();
|
||||||
$this->styles = $this->get('Styles');
|
$this->styles = $this->get('Styles') ?? [];
|
||||||
$this->scripts = $this->get('Scripts');
|
$this->scripts = $this->get('Scripts') ?? [];
|
||||||
// get the user object
|
// get the user object
|
||||||
$this->user ??= $this->app->getIdentity();###SITE_DIPLAY_METHOD###
|
$this->user ??= $this->getCurrentUser();###SITE_DIPLAY_METHOD###
|
||||||
}###SITE_EXTRA_DIPLAY_METHODS###
|
}###SITE_EXTRA_DIPLAY_METHODS###
|
||||||
|
|
||||||
/**
|
/**
|
||||||
@ -82,8 +114,9 @@ class HtmlView extends BaseHtmlView
|
|||||||
{
|
{
|
||||||
ToolbarHelper::help('COM_###COMPONENT###_HELP_MANAGER', false, $this->help_url);
|
ToolbarHelper::help('COM_###COMPONENT###_HELP_MANAGER', false, $this->help_url);
|
||||||
}
|
}
|
||||||
|
|
||||||
// now initiate the toolbar
|
// now initiate the toolbar
|
||||||
$this->toolbar = Toolbar::getInstance();
|
$this->toolbar ??= Toolbar::getInstance();
|
||||||
}###SITE_GET_MODULE###
|
}###SITE_GET_MODULE###
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
@ -33,6 +33,12 @@
|
|||||||
},
|
},
|
||||||
"tmpl": "tmpl"
|
"tmpl": "tmpl"
|
||||||
},
|
},
|
||||||
|
"api": {
|
||||||
|
"src": {
|
||||||
|
"Controller": "Controller",
|
||||||
|
"View": "View"
|
||||||
|
}
|
||||||
|
},
|
||||||
"site": {
|
"site": {
|
||||||
"assets": {
|
"assets": {
|
||||||
"css": "css",
|
"css": "css",
|
||||||
@ -182,6 +188,13 @@
|
|||||||
"newName": "[[[Component]]]InstallerScript.php",
|
"newName": "[[[Component]]]InstallerScript.php",
|
||||||
"type": "file"
|
"type": "file"
|
||||||
},
|
},
|
||||||
|
"INSTALLER_AUTOLOADER_CLASS.php": {
|
||||||
|
"naam": "INSTALLER_AUTOLOADER_CLASS.php",
|
||||||
|
"path": "c0mp0n3nt/",
|
||||||
|
"rename": "new",
|
||||||
|
"newName": "[[[Component]]]InstallerPowerloader.php",
|
||||||
|
"type": "file"
|
||||||
|
},
|
||||||
"SITE_DISPATCHER.php": {
|
"SITE_DISPATCHER.php": {
|
||||||
"naam": "SITE_DISPATCHER.php",
|
"naam": "SITE_DISPATCHER.php",
|
||||||
"path": "c0mp0n3nt/site/src/Dispatcher",
|
"path": "c0mp0n3nt/site/src/Dispatcher",
|
||||||
@ -557,6 +570,32 @@
|
|||||||
"type": "javascript_file"
|
"type": "javascript_file"
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
|
"api": {
|
||||||
|
"API_VIEW_CONTROLLER.php": {
|
||||||
|
"path": "c0mp0n3nt/api/src/Controller",
|
||||||
|
"rename": "new",
|
||||||
|
"newName": "[[[Name]]]Controller.php",
|
||||||
|
"type": "single"
|
||||||
|
},
|
||||||
|
"API_VIEW_JSON.php": {
|
||||||
|
"path": "c0mp0n3nt/api/src/View/[[[Name]]]",
|
||||||
|
"rename": "new",
|
||||||
|
"newName": "JsonapiView.php",
|
||||||
|
"type": "single"
|
||||||
|
},
|
||||||
|
"API_VIEWS_CONTROLLER.php": {
|
||||||
|
"path": "c0mp0n3nt/api/src/Controller",
|
||||||
|
"rename": "new",
|
||||||
|
"newName": "[[[Name]]]Controller.php",
|
||||||
|
"type": "list"
|
||||||
|
},
|
||||||
|
"API_VIEWS_JSON.php": {
|
||||||
|
"path": "c0mp0n3nt/api/src/View/[[[Name]]]",
|
||||||
|
"rename": "new",
|
||||||
|
"newName": "JsonapiView.php",
|
||||||
|
"type": "list"
|
||||||
|
}
|
||||||
|
},
|
||||||
"site": {
|
"site": {
|
||||||
"SITE_VIEWS_HTML.php": {
|
"SITE_VIEWS_HTML.php": {
|
||||||
"path": "c0mp0n3nt/site/src/View/[[[Name]]]",
|
"path": "c0mp0n3nt/site/src/View/[[[Name]]]",
|
||||||
|
119
admin/config.xml
119
admin/config.xml
@ -113,7 +113,7 @@
|
|||||||
multiple="false"
|
multiple="false"
|
||||||
filter="CMD"
|
filter="CMD"
|
||||||
required="true"
|
required="true"
|
||||||
default="joomla.form.field.subform.repeatable-table">
|
default="repeatablejcbjfive">
|
||||||
<!-- Option Set. -->
|
<!-- Option Set. -->
|
||||||
<option value="joomla.form.field.subform.repeatable-table">
|
<option value="joomla.form.field.subform.repeatable-table">
|
||||||
COM_COMPONENTBUILDER_CONFIG_REPEATABLETABLE_JOOMLA</option>
|
COM_COMPONENTBUILDER_CONFIG_REPEATABLETABLE_JOOMLA</option>
|
||||||
@ -1007,115 +1007,6 @@
|
|||||||
COM_COMPONENTBUILDER_CONFIG_NO</option>
|
COM_COMPONENTBUILDER_CONFIG_NO</option>
|
||||||
</field>
|
</field>
|
||||||
</fieldset>
|
</fieldset>
|
||||||
<fieldset
|
|
||||||
name="development_method_custom_config"
|
|
||||||
label="COM_COMPONENTBUILDER_CONFIG_DEVELOPMENT_METHOD">
|
|
||||||
|
|
||||||
<!-- Development_method Field. Type: Radio. (joomla) -->
|
|
||||||
<field
|
|
||||||
type="radio"
|
|
||||||
name="development_method"
|
|
||||||
label="COM_COMPONENTBUILDER_CONFIG_DEVELOPMENT_METHOD_LABEL"
|
|
||||||
description="COM_COMPONENTBUILDER_CONFIG_DEVELOPMENT_METHOD_DESCRIPTION"
|
|
||||||
class="btn-group btn-group-yesno"
|
|
||||||
default="1"
|
|
||||||
required="true">
|
|
||||||
<!-- Option Set. -->
|
|
||||||
<option value="1">
|
|
||||||
COM_COMPONENTBUILDER_CONFIG_DEFAULT</option>
|
|
||||||
<option value="2">
|
|
||||||
COM_COMPONENTBUILDER_CONFIG_EXPANSION</option>
|
|
||||||
</field>
|
|
||||||
<!-- Note_development_method_default Field. Type: Note. A None Database Field. (joomla) -->
|
|
||||||
<field type="note" name="note_development_method_default" label="COM_COMPONENTBUILDER_CONFIG_NOTE_DEVELOPMENT_METHOD_DEFAULT_LABEL" description="COM_COMPONENTBUILDER_CONFIG_NOTE_DEVELOPMENT_METHOD_DEFAULT_DESCRIPTION" heading="h2" class="alert alert-info note_development_method_default" showon="development_method:1" />
|
|
||||||
<!-- Note_development_method_expansion Field. Type: Note. A None Database Field. (joomla) -->
|
|
||||||
<field type="note" name="note_development_method_expansion" label="COM_COMPONENTBUILDER_CONFIG_NOTE_DEVELOPMENT_METHOD_EXPANSION_LABEL" description="COM_COMPONENTBUILDER_CONFIG_NOTE_DEVELOPMENT_METHOD_EXPANSION_DESCRIPTION" heading="h2" class="alert alert-info note_development_method_expansion" showon="development_method:2" />
|
|
||||||
<!-- Expansion Field. Type: Subform. (joomla) -->
|
|
||||||
<field
|
|
||||||
type="subform"
|
|
||||||
name="expansion"
|
|
||||||
label="COM_COMPONENTBUILDER_CONFIG_EXPANSION_LABEL"
|
|
||||||
layout="joomla.form.field.subform.repeatable-table"
|
|
||||||
multiple="true"
|
|
||||||
description="COM_COMPONENTBUILDER_CONFIG_EXPANSION_DESCRIPTION"
|
|
||||||
icon="list"
|
|
||||||
max="50"
|
|
||||||
min="1"
|
|
||||||
showon="development_method:2">
|
|
||||||
<form hidden="true" name="list_expansion_modal" repeat="true">
|
|
||||||
<!-- Component_id Field. Type: Joomlacomponent. (custom) -->
|
|
||||||
<field
|
|
||||||
type="joomlacomponent"
|
|
||||||
name="component_id"
|
|
||||||
label="COM_COMPONENTBUILDER_CONFIG_COMPONENT_ID_LABEL"
|
|
||||||
class="list_class"
|
|
||||||
multiple="false"
|
|
||||||
default="0"
|
|
||||||
button="false"
|
|
||||||
/>
|
|
||||||
<!-- Install Field. Type: List. (joomla) -->
|
|
||||||
<field
|
|
||||||
type="list"
|
|
||||||
name="install"
|
|
||||||
label="COM_COMPONENTBUILDER_CONFIG_INSTALL_LABEL"
|
|
||||||
description="COM_COMPONENTBUILDER_CONFIG_INSTALL_DESCRIPTION"
|
|
||||||
class="list_class"
|
|
||||||
multiple="false"
|
|
||||||
default="1">
|
|
||||||
<!-- Option Set. -->
|
|
||||||
<option value="1">
|
|
||||||
COM_COMPONENTBUILDER_CONFIG_TRUE</option>
|
|
||||||
<option value="2">
|
|
||||||
COM_COMPONENTBUILDER_CONFIG_FALSE</option>
|
|
||||||
</field>
|
|
||||||
<!-- Backup Field. Type: Checkbox. (joomla) -->
|
|
||||||
<field
|
|
||||||
type="checkbox"
|
|
||||||
name="backup"
|
|
||||||
label="COM_COMPONENTBUILDER_CONFIG_BACKUP_LABEL"
|
|
||||||
value="1"
|
|
||||||
description="COM_COMPONENTBUILDER_CONFIG_BACKUP_DESCRIPTION"
|
|
||||||
class="inputbox"
|
|
||||||
/>
|
|
||||||
<!-- Repository Field. Type: Checkbox. (joomla) -->
|
|
||||||
<field
|
|
||||||
type="checkbox"
|
|
||||||
name="repository"
|
|
||||||
label="COM_COMPONENTBUILDER_CONFIG_REPOSITORY_LABEL"
|
|
||||||
value="1"
|
|
||||||
description="COM_COMPONENTBUILDER_CONFIG_REPOSITORY_DESCRIPTION"
|
|
||||||
class="inputbox"
|
|
||||||
/>
|
|
||||||
<!-- Add_placeholders Field. Type: Checkbox. (joomla) -->
|
|
||||||
<field
|
|
||||||
type="checkbox"
|
|
||||||
name="add_placeholders"
|
|
||||||
label="COM_COMPONENTBUILDER_CONFIG_ADD_PLACEHOLDERS_LABEL"
|
|
||||||
value="1"
|
|
||||||
default=""
|
|
||||||
description="COM_COMPONENTBUILDER_CONFIG_ADD_PLACEHOLDERS_DESCRIPTION"
|
|
||||||
class="inputbox"
|
|
||||||
/>
|
|
||||||
</form>
|
|
||||||
</field>
|
|
||||||
<!-- Return_options_build Field. Type: Radio. (joomla) -->
|
|
||||||
<field
|
|
||||||
type="radio"
|
|
||||||
name="return_options_build"
|
|
||||||
label="COM_COMPONENTBUILDER_CONFIG_RETURN_OPTIONS_BUILD_LABEL"
|
|
||||||
description="COM_COMPONENTBUILDER_CONFIG_RETURN_OPTIONS_BUILD_DESCRIPTION"
|
|
||||||
class="btn-group btn-group-yesno"
|
|
||||||
default="2"
|
|
||||||
showon="development_method:2">
|
|
||||||
<!-- Option Set. -->
|
|
||||||
<option value="1">
|
|
||||||
COM_COMPONENTBUILDER_CONFIG_DISPLAY_MESSAGE</option>
|
|
||||||
<option value="2">
|
|
||||||
COM_COMPONENTBUILDER_CONFIG_ONLY_BOOLEAN</option>
|
|
||||||
</field>
|
|
||||||
<!-- Expansioncronjob_note Field. Type: Note. A None Database Field. (joomla) -->
|
|
||||||
<field type="note" name="expansioncronjob_note" label="COM_COMPONENTBUILDER_CONFIG_EXPANSIONCRONJOB_NOTE_LABEL" description="COM_COMPONENTBUILDER_CONFIG_EXPANSIONCRONJOB_NOTE_DESCRIPTION" heading="h4" class="expansioncronjob_note" showon="development_method:2" />
|
|
||||||
</fieldset>
|
|
||||||
<fieldset
|
<fieldset
|
||||||
name="auto_backup_custom_config"
|
name="auto_backup_custom_config"
|
||||||
label="COM_COMPONENTBUILDER_CONFIG_AUTO_BACKUP">
|
label="COM_COMPONENTBUILDER_CONFIG_AUTO_BACKUP">
|
||||||
@ -1136,9 +1027,9 @@
|
|||||||
<option value="2">
|
<option value="2">
|
||||||
COM_COMPONENTBUILDER_CONFIG_REMOTE_SERVER</option>
|
COM_COMPONENTBUILDER_CONFIG_REMOTE_SERVER</option>
|
||||||
</field>
|
</field>
|
||||||
<!-- Cronjob_backup_server Field. Type: Servers. (custom) -->
|
<!-- Cronjob_backup_server Field. Type: Cron_servers. (custom) -->
|
||||||
<field
|
<field
|
||||||
type="servers"
|
type="cron_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"
|
||||||
@ -1306,6 +1197,7 @@
|
|||||||
label="COM_COMPONENTBUILDER_CONFIG_EXPORT_COMPANY_LABEL"
|
label="COM_COMPONENTBUILDER_CONFIG_EXPORT_COMPANY_LABEL"
|
||||||
size="40"
|
size="40"
|
||||||
maxlength="150"
|
maxlength="150"
|
||||||
|
default="Vast Development Method"
|
||||||
description="COM_COMPONENTBUILDER_CONFIG_EXPORT_COMPANY_DESCRIPTION"
|
description="COM_COMPONENTBUILDER_CONFIG_EXPORT_COMPANY_DESCRIPTION"
|
||||||
class="text_area"
|
class="text_area"
|
||||||
required="true"
|
required="true"
|
||||||
@ -1321,6 +1213,7 @@
|
|||||||
label="COM_COMPONENTBUILDER_CONFIG_EXPORT_OWNER_LABEL"
|
label="COM_COMPONENTBUILDER_CONFIG_EXPORT_OWNER_LABEL"
|
||||||
size="10"
|
size="10"
|
||||||
maxlength="120"
|
maxlength="120"
|
||||||
|
default="Llewellyn van der Merwe"
|
||||||
description="COM_COMPONENTBUILDER_CONFIG_EXPORT_OWNER_DESCRIPTION"
|
description="COM_COMPONENTBUILDER_CONFIG_EXPORT_OWNER_DESCRIPTION"
|
||||||
class="text_area"
|
class="text_area"
|
||||||
required="true"
|
required="true"
|
||||||
@ -1336,6 +1229,7 @@
|
|||||||
label="COM_COMPONENTBUILDER_CONFIG_EXPORT_EMAIL_LABEL"
|
label="COM_COMPONENTBUILDER_CONFIG_EXPORT_EMAIL_LABEL"
|
||||||
size="40"
|
size="40"
|
||||||
maxlength="150"
|
maxlength="150"
|
||||||
|
default="joomla@vdm.io"
|
||||||
description="COM_COMPONENTBUILDER_CONFIG_EXPORT_EMAIL_DESCRIPTION"
|
description="COM_COMPONENTBUILDER_CONFIG_EXPORT_EMAIL_DESCRIPTION"
|
||||||
class="text_area"
|
class="text_area"
|
||||||
required="true"
|
required="true"
|
||||||
@ -1352,6 +1246,7 @@
|
|||||||
label="COM_COMPONENTBUILDER_CONFIG_EXPORT_WEBSITE_LABEL"
|
label="COM_COMPONENTBUILDER_CONFIG_EXPORT_WEBSITE_LABEL"
|
||||||
size="60"
|
size="60"
|
||||||
maxlength="150"
|
maxlength="150"
|
||||||
|
default="https://dev.vdm.io/"
|
||||||
description="COM_COMPONENTBUILDER_CONFIG_EXPORT_WEBSITE_DESCRIPTION"
|
description="COM_COMPONENTBUILDER_CONFIG_EXPORT_WEBSITE_DESCRIPTION"
|
||||||
class="text_area"
|
class="text_area"
|
||||||
required="true"
|
required="true"
|
||||||
|
@ -129,7 +129,7 @@
|
|||||||
name="tab"
|
name="tab"
|
||||||
label="COM_COMPONENTBUILDER_ADMIN_CUSTOM_TABS_TAB_LABEL"
|
label="COM_COMPONENTBUILDER_ADMIN_CUSTOM_TABS_TAB_LABEL"
|
||||||
description="COM_COMPONENTBUILDER_ADMIN_CUSTOM_TABS_TAB_DESCRIPTION"
|
description="COM_COMPONENTBUILDER_ADMIN_CUSTOM_TABS_TAB_DESCRIPTION"
|
||||||
class="fieldMedium"
|
layout="joomla.form.field.list-fancy-select"
|
||||||
multiple="false"
|
multiple="false"
|
||||||
default="1"
|
default="1"
|
||||||
button="false"
|
button="false"
|
||||||
|
@ -129,7 +129,7 @@
|
|||||||
name="field"
|
name="field"
|
||||||
label="COM_COMPONENTBUILDER_ADMIN_FIELDS_FIELD_LABEL"
|
label="COM_COMPONENTBUILDER_ADMIN_FIELDS_FIELD_LABEL"
|
||||||
description="COM_COMPONENTBUILDER_ADMIN_FIELDS_FIELD_DESCRIPTION"
|
description="COM_COMPONENTBUILDER_ADMIN_FIELDS_FIELD_DESCRIPTION"
|
||||||
class="list_class fieldFull"
|
layout="joomla.form.field.list-fancy-select"
|
||||||
multiple="false"
|
multiple="false"
|
||||||
required="true"
|
required="true"
|
||||||
button="false"
|
button="false"
|
||||||
@ -140,7 +140,8 @@
|
|||||||
name="list"
|
name="list"
|
||||||
label="COM_COMPONENTBUILDER_ADMIN_FIELDS_LIST_LABEL"
|
label="COM_COMPONENTBUILDER_ADMIN_FIELDS_LIST_LABEL"
|
||||||
description="COM_COMPONENTBUILDER_ADMIN_FIELDS_LIST_DESCRIPTION"
|
description="COM_COMPONENTBUILDER_ADMIN_FIELDS_LIST_DESCRIPTION"
|
||||||
class="fieldMedium count-the-items1235"
|
class="count-the-items1235"
|
||||||
|
layout="joomla.form.field.list-fancy-select"
|
||||||
multiple="false"
|
multiple="false"
|
||||||
onchange="checkAdminBehaviour(this)">
|
onchange="checkAdminBehaviour(this)">
|
||||||
<!-- Option Set. -->
|
<!-- Option Set. -->
|
||||||
@ -215,7 +216,7 @@
|
|||||||
name="filter"
|
name="filter"
|
||||||
label="COM_COMPONENTBUILDER_ADMIN_FIELDS_FILTER_LABEL"
|
label="COM_COMPONENTBUILDER_ADMIN_FIELDS_FILTER_LABEL"
|
||||||
description="COM_COMPONENTBUILDER_ADMIN_FIELDS_FILTER_DESCRIPTION"
|
description="COM_COMPONENTBUILDER_ADMIN_FIELDS_FILTER_DESCRIPTION"
|
||||||
class="fieldSmall"
|
layout="joomla.form.field.list-fancy-select"
|
||||||
multiple="false"
|
multiple="false"
|
||||||
default=""
|
default=""
|
||||||
onchange="explainFilterBehaviour(this)">
|
onchange="explainFilterBehaviour(this)">
|
||||||
@ -243,7 +244,7 @@
|
|||||||
name="tab"
|
name="tab"
|
||||||
label="COM_COMPONENTBUILDER_ADMIN_FIELDS_TAB_LABEL"
|
label="COM_COMPONENTBUILDER_ADMIN_FIELDS_TAB_LABEL"
|
||||||
description="COM_COMPONENTBUILDER_ADMIN_FIELDS_TAB_DESCRIPTION"
|
description="COM_COMPONENTBUILDER_ADMIN_FIELDS_TAB_DESCRIPTION"
|
||||||
class="fieldMedium"
|
layout="joomla.form.field.list-fancy-select"
|
||||||
multiple="false"
|
multiple="false"
|
||||||
default="1"
|
default="1"
|
||||||
button="false"
|
button="false"
|
||||||
@ -254,7 +255,7 @@
|
|||||||
name="alignment"
|
name="alignment"
|
||||||
label="COM_COMPONENTBUILDER_ADMIN_FIELDS_ALIGNMENT_LABEL"
|
label="COM_COMPONENTBUILDER_ADMIN_FIELDS_ALIGNMENT_LABEL"
|
||||||
description="COM_COMPONENTBUILDER_ADMIN_FIELDS_ALIGNMENT_DESCRIPTION"
|
description="COM_COMPONENTBUILDER_ADMIN_FIELDS_ALIGNMENT_DESCRIPTION"
|
||||||
class="fieldMedium"
|
layout="joomla.form.field.list-fancy-select"
|
||||||
multiple="false"
|
multiple="false"
|
||||||
filter="INT"
|
filter="INT"
|
||||||
default="1">
|
default="1">
|
||||||
@ -292,7 +293,7 @@
|
|||||||
name="permission"
|
name="permission"
|
||||||
label="COM_COMPONENTBUILDER_ADMIN_FIELDS_PERMISSION_LABEL"
|
label="COM_COMPONENTBUILDER_ADMIN_FIELDS_PERMISSION_LABEL"
|
||||||
description="COM_COMPONENTBUILDER_ADMIN_FIELDS_PERMISSION_DESCRIPTION"
|
description="COM_COMPONENTBUILDER_ADMIN_FIELDS_PERMISSION_DESCRIPTION"
|
||||||
class="fieldMedium"
|
layout="joomla.form.field.list-fancy-select"
|
||||||
multiple="true">
|
multiple="true">
|
||||||
<!-- Option Set. -->
|
<!-- Option Set. -->
|
||||||
<option value="1">
|
<option value="1">
|
||||||
|
@ -128,7 +128,7 @@
|
|||||||
name="target_field"
|
name="target_field"
|
||||||
label="COM_COMPONENTBUILDER_ADMIN_FIELDS_CONDITIONS_TARGET_FIELD_LABEL"
|
label="COM_COMPONENTBUILDER_ADMIN_FIELDS_CONDITIONS_TARGET_FIELD_LABEL"
|
||||||
description="COM_COMPONENTBUILDER_ADMIN_FIELDS_CONDITIONS_TARGET_FIELD_DESCRIPTION"
|
description="COM_COMPONENTBUILDER_ADMIN_FIELDS_CONDITIONS_TARGET_FIELD_DESCRIPTION"
|
||||||
class="fieldLarge"
|
layout="joomla.form.field.list-fancy-select"
|
||||||
multiple="true"
|
multiple="true"
|
||||||
default=""
|
default=""
|
||||||
required="true"
|
required="true"
|
||||||
@ -140,7 +140,7 @@
|
|||||||
name="target_behavior"
|
name="target_behavior"
|
||||||
label="COM_COMPONENTBUILDER_ADMIN_FIELDS_CONDITIONS_TARGET_BEHAVIOR_LABEL"
|
label="COM_COMPONENTBUILDER_ADMIN_FIELDS_CONDITIONS_TARGET_BEHAVIOR_LABEL"
|
||||||
description="COM_COMPONENTBUILDER_ADMIN_FIELDS_CONDITIONS_TARGET_BEHAVIOR_DESCRIPTION"
|
description="COM_COMPONENTBUILDER_ADMIN_FIELDS_CONDITIONS_TARGET_BEHAVIOR_DESCRIPTION"
|
||||||
class="list_class fieldLarge"
|
layout="joomla.form.field.list-fancy-select"
|
||||||
multiple="false"
|
multiple="false"
|
||||||
filter="INT"
|
filter="INT"
|
||||||
required="true"
|
required="true"
|
||||||
@ -161,7 +161,7 @@
|
|||||||
name="target_relation"
|
name="target_relation"
|
||||||
label="COM_COMPONENTBUILDER_ADMIN_FIELDS_CONDITIONS_TARGET_RELATION_LABEL"
|
label="COM_COMPONENTBUILDER_ADMIN_FIELDS_CONDITIONS_TARGET_RELATION_LABEL"
|
||||||
description="COM_COMPONENTBUILDER_ADMIN_FIELDS_CONDITIONS_TARGET_RELATION_DESCRIPTION"
|
description="COM_COMPONENTBUILDER_ADMIN_FIELDS_CONDITIONS_TARGET_RELATION_DESCRIPTION"
|
||||||
class="list_class fieldLarge"
|
layout="joomla.form.field.list-fancy-select"
|
||||||
multiple="false"
|
multiple="false"
|
||||||
filter="INT"
|
filter="INT"
|
||||||
required="true"
|
required="true"
|
||||||
@ -178,7 +178,7 @@
|
|||||||
name="match_field"
|
name="match_field"
|
||||||
label="COM_COMPONENTBUILDER_ADMIN_FIELDS_CONDITIONS_MATCH_FIELD_LABEL"
|
label="COM_COMPONENTBUILDER_ADMIN_FIELDS_CONDITIONS_MATCH_FIELD_LABEL"
|
||||||
description="COM_COMPONENTBUILDER_ADMIN_FIELDS_CONDITIONS_MATCH_FIELD_DESCRIPTION"
|
description="COM_COMPONENTBUILDER_ADMIN_FIELDS_CONDITIONS_MATCH_FIELD_DESCRIPTION"
|
||||||
class="fieldLarge"
|
layout="joomla.form.field.list-fancy-select"
|
||||||
multiple="false"
|
multiple="false"
|
||||||
required="true"
|
required="true"
|
||||||
button="false"
|
button="false"
|
||||||
@ -189,7 +189,7 @@
|
|||||||
name="match_behavior"
|
name="match_behavior"
|
||||||
label="COM_COMPONENTBUILDER_ADMIN_FIELDS_CONDITIONS_MATCH_BEHAVIOR_LABEL"
|
label="COM_COMPONENTBUILDER_ADMIN_FIELDS_CONDITIONS_MATCH_BEHAVIOR_LABEL"
|
||||||
description="COM_COMPONENTBUILDER_ADMIN_FIELDS_CONDITIONS_MATCH_BEHAVIOR_DESCRIPTION"
|
description="COM_COMPONENTBUILDER_ADMIN_FIELDS_CONDITIONS_MATCH_BEHAVIOR_DESCRIPTION"
|
||||||
class="list_class fieldLarge"
|
layout="joomla.form.field.list-fancy-select"
|
||||||
multiple="false"
|
multiple="false"
|
||||||
filter="INT"
|
filter="INT"
|
||||||
required="true"
|
required="true"
|
||||||
|
@ -128,9 +128,8 @@
|
|||||||
name="listfield"
|
name="listfield"
|
||||||
label="COM_COMPONENTBUILDER_ADMIN_FIELDS_RELATIONS_LISTFIELD_LABEL"
|
label="COM_COMPONENTBUILDER_ADMIN_FIELDS_RELATIONS_LISTFIELD_LABEL"
|
||||||
description="COM_COMPONENTBUILDER_ADMIN_FIELDS_RELATIONS_LISTFIELD_DESCRIPTION"
|
description="COM_COMPONENTBUILDER_ADMIN_FIELDS_RELATIONS_LISTFIELD_DESCRIPTION"
|
||||||
class="fieldLarge"
|
layout="joomla.form.field.list-fancy-select"
|
||||||
multiple="false"
|
multiple="false"
|
||||||
default=""
|
|
||||||
required="true"
|
required="true"
|
||||||
onchange="getCodeGlueOptions(this)"
|
onchange="getCodeGlueOptions(this)"
|
||||||
button="false"
|
button="false"
|
||||||
@ -155,7 +154,7 @@
|
|||||||
name="joinfields"
|
name="joinfields"
|
||||||
label="COM_COMPONENTBUILDER_ADMIN_FIELDS_RELATIONS_JOINFIELDS_LABEL"
|
label="COM_COMPONENTBUILDER_ADMIN_FIELDS_RELATIONS_JOINFIELDS_LABEL"
|
||||||
description="COM_COMPONENTBUILDER_ADMIN_FIELDS_RELATIONS_JOINFIELDS_DESCRIPTION"
|
description="COM_COMPONENTBUILDER_ADMIN_FIELDS_RELATIONS_JOINFIELDS_DESCRIPTION"
|
||||||
class="fieldLarge"
|
layout="joomla.form.field.list-fancy-select"
|
||||||
multiple="true"
|
multiple="true"
|
||||||
onchange="getCodeGlueOptions(this)"
|
onchange="getCodeGlueOptions(this)"
|
||||||
button="false"
|
button="false"
|
||||||
@ -165,7 +164,8 @@
|
|||||||
type="list"
|
type="list"
|
||||||
name="area"
|
name="area"
|
||||||
label="COM_COMPONENTBUILDER_ADMIN_FIELDS_RELATIONS_AREA_LABEL"
|
label="COM_COMPONENTBUILDER_ADMIN_FIELDS_RELATIONS_AREA_LABEL"
|
||||||
class="list_class fieldLarge"
|
class="list_class"
|
||||||
|
layout="joomla.form.field.list-fancy-select"
|
||||||
multiple="false"
|
multiple="false"
|
||||||
validate="int"
|
validate="int"
|
||||||
default="1"
|
default="1"
|
||||||
@ -183,7 +183,7 @@
|
|||||||
type="list"
|
type="list"
|
||||||
name="join_type"
|
name="join_type"
|
||||||
label="COM_COMPONENTBUILDER_ADMIN_FIELDS_RELATIONS_JOIN_TYPE_LABEL"
|
label="COM_COMPONENTBUILDER_ADMIN_FIELDS_RELATIONS_JOIN_TYPE_LABEL"
|
||||||
class="list_class fieldLarge"
|
layout="joomla.form.field.list-fancy-select"
|
||||||
multiple="false"
|
multiple="false"
|
||||||
validate="int"
|
validate="int"
|
||||||
default="1"
|
default="1"
|
||||||
|
@ -691,7 +691,7 @@
|
|||||||
name="adminview"
|
name="adminview"
|
||||||
label="COM_COMPONENTBUILDER_ADMIN_VIEW_ADMINVIEW_LABEL"
|
label="COM_COMPONENTBUILDER_ADMIN_VIEW_ADMINVIEW_LABEL"
|
||||||
description="COM_COMPONENTBUILDER_ADMIN_VIEW_ADMINVIEW_DESCRIPTION"
|
description="COM_COMPONENTBUILDER_ADMIN_VIEW_ADMINVIEW_DESCRIPTION"
|
||||||
class="fieldMedium"
|
layout="joomla.form.field.list-fancy-select"
|
||||||
multiple="false"
|
multiple="false"
|
||||||
default=""
|
default=""
|
||||||
required="true"
|
required="true"
|
||||||
@ -1362,7 +1362,8 @@
|
|||||||
name="icomoon"
|
name="icomoon"
|
||||||
label="COM_COMPONENTBUILDER_ADMIN_VIEW_ICOMOON_LABEL"
|
label="COM_COMPONENTBUILDER_ADMIN_VIEW_ICOMOON_LABEL"
|
||||||
description="COM_COMPONENTBUILDER_ADMIN_VIEW_ICOMOON_DESCRIPTION"
|
description="COM_COMPONENTBUILDER_ADMIN_VIEW_ICOMOON_DESCRIPTION"
|
||||||
class="list_class fieldMedium icomoon342"
|
class="icomoon342"
|
||||||
|
layout="joomla.form.field.list-fancy-select"
|
||||||
multiple="false"
|
multiple="false"
|
||||||
onchange="getIconImage(this);">
|
onchange="getIconImage(this);">
|
||||||
<!-- Option Set. -->
|
<!-- Option Set. -->
|
||||||
|
@ -142,7 +142,7 @@
|
|||||||
name="adminview"
|
name="adminview"
|
||||||
label="COM_COMPONENTBUILDER_COMPONENT_ADMIN_VIEWS_ADMINVIEW_LABEL"
|
label="COM_COMPONENTBUILDER_COMPONENT_ADMIN_VIEWS_ADMINVIEW_LABEL"
|
||||||
description="COM_COMPONENTBUILDER_COMPONENT_ADMIN_VIEWS_ADMINVIEW_DESCRIPTION"
|
description="COM_COMPONENTBUILDER_COMPONENT_ADMIN_VIEWS_ADMINVIEW_DESCRIPTION"
|
||||||
class="fieldMedium"
|
layout="joomla.form.field.list-fancy-select"
|
||||||
multiple="false"
|
multiple="false"
|
||||||
default=""
|
default=""
|
||||||
required="true"
|
required="true"
|
||||||
@ -154,7 +154,8 @@
|
|||||||
name="icomoon"
|
name="icomoon"
|
||||||
label="COM_COMPONENTBUILDER_COMPONENT_ADMIN_VIEWS_ICOMOON_LABEL"
|
label="COM_COMPONENTBUILDER_COMPONENT_ADMIN_VIEWS_ICOMOON_LABEL"
|
||||||
description="COM_COMPONENTBUILDER_COMPONENT_ADMIN_VIEWS_ICOMOON_DESCRIPTION"
|
description="COM_COMPONENTBUILDER_COMPONENT_ADMIN_VIEWS_ICOMOON_DESCRIPTION"
|
||||||
class="list_class fieldMedium icomoon342"
|
class="icomoon342"
|
||||||
|
layout="joomla.form.field.list-fancy-select"
|
||||||
multiple="false"
|
multiple="false"
|
||||||
onchange="getIconImage(this);">
|
onchange="getIconImage(this);">
|
||||||
<!-- Option Set. -->
|
<!-- Option Set. -->
|
||||||
@ -679,13 +680,31 @@
|
|||||||
description="COM_COMPONENTBUILDER_COMPONENT_ADMIN_VIEWS_PORT_DESCRIPTION"
|
description="COM_COMPONENTBUILDER_COMPONENT_ADMIN_VIEWS_PORT_DESCRIPTION"
|
||||||
class="inputbox"
|
class="inputbox"
|
||||||
/>
|
/>
|
||||||
|
<!-- Add_api Field. Type: List. (joomla) -->
|
||||||
|
<field
|
||||||
|
type="list"
|
||||||
|
name="add_api"
|
||||||
|
label="COM_COMPONENTBUILDER_COMPONENT_ADMIN_VIEWS_ADD_API_LABEL"
|
||||||
|
description="COM_COMPONENTBUILDER_COMPONENT_ADMIN_VIEWS_ADD_API_DESCRIPTION"
|
||||||
|
layout="joomla.form.field.list-fancy-select"
|
||||||
|
multiple="false">
|
||||||
|
<!-- Option Set. -->
|
||||||
|
<option value="0">
|
||||||
|
COM_COMPONENTBUILDER_COMPONENT_ADMIN_VIEWS_NONE</option>
|
||||||
|
<option value="1">
|
||||||
|
COM_COMPONENTBUILDER_COMPONENT_ADMIN_VIEWS_LIST</option>
|
||||||
|
<option value="3">
|
||||||
|
COM_COMPONENTBUILDER_COMPONENT_ADMIN_VIEWS_ITEM</option>
|
||||||
|
<option value="2">
|
||||||
|
COM_COMPONENTBUILDER_COMPONENT_ADMIN_VIEWS_BOTH</option>
|
||||||
|
</field>
|
||||||
<!-- Filter Field. Type: List. (joomla) -->
|
<!-- Filter Field. Type: List. (joomla) -->
|
||||||
<field
|
<field
|
||||||
type="list"
|
type="list"
|
||||||
name="filter"
|
name="filter"
|
||||||
label="COM_COMPONENTBUILDER_COMPONENT_ADMIN_VIEWS_FILTER_LABEL"
|
label="COM_COMPONENTBUILDER_COMPONENT_ADMIN_VIEWS_FILTER_LABEL"
|
||||||
description="COM_COMPONENTBUILDER_COMPONENT_ADMIN_VIEWS_FILTER_DESCRIPTION"
|
description="COM_COMPONENTBUILDER_COMPONENT_ADMIN_VIEWS_FILTER_DESCRIPTION"
|
||||||
class="fieldMedium"
|
layout="joomla.form.field.list-fancy-select"
|
||||||
multiple="false"
|
multiple="false"
|
||||||
default="2">
|
default="2">
|
||||||
<!-- Option Set. -->
|
<!-- Option Set. -->
|
||||||
@ -700,7 +719,7 @@
|
|||||||
name="edit_create_site_view"
|
name="edit_create_site_view"
|
||||||
label="COM_COMPONENTBUILDER_COMPONENT_ADMIN_VIEWS_EDIT_CREATE_SITE_VIEW_LABEL"
|
label="COM_COMPONENTBUILDER_COMPONENT_ADMIN_VIEWS_EDIT_CREATE_SITE_VIEW_LABEL"
|
||||||
description="COM_COMPONENTBUILDER_COMPONENT_ADMIN_VIEWS_EDIT_CREATE_SITE_VIEW_DESCRIPTION"
|
description="COM_COMPONENTBUILDER_COMPONENT_ADMIN_VIEWS_EDIT_CREATE_SITE_VIEW_DESCRIPTION"
|
||||||
class="fieldMedium"
|
layout="joomla.form.field.list-fancy-select"
|
||||||
multiple="false">
|
multiple="false">
|
||||||
<!-- Option Set. -->
|
<!-- Option Set. -->
|
||||||
<option value="">
|
<option value="">
|
||||||
|
@ -141,7 +141,7 @@
|
|||||||
name="field"
|
name="field"
|
||||||
label="COM_COMPONENTBUILDER_COMPONENT_CONFIG_FIELD_LABEL"
|
label="COM_COMPONENTBUILDER_COMPONENT_CONFIG_FIELD_LABEL"
|
||||||
description="COM_COMPONENTBUILDER_COMPONENT_CONFIG_FIELD_DESCRIPTION"
|
description="COM_COMPONENTBUILDER_COMPONENT_CONFIG_FIELD_DESCRIPTION"
|
||||||
class="list_class fieldFull"
|
layout="joomla.form.field.list-fancy-select"
|
||||||
multiple="false"
|
multiple="false"
|
||||||
required="true"
|
required="true"
|
||||||
button="false"
|
button="false"
|
||||||
@ -152,7 +152,7 @@
|
|||||||
name="custom_value"
|
name="custom_value"
|
||||||
label="COM_COMPONENTBUILDER_COMPONENT_CONFIG_CUSTOM_VALUE_LABEL"
|
label="COM_COMPONENTBUILDER_COMPONENT_CONFIG_CUSTOM_VALUE_LABEL"
|
||||||
rows="2"
|
rows="2"
|
||||||
cols="4"
|
cols="30"
|
||||||
description="COM_COMPONENTBUILDER_COMPONENT_CONFIG_CUSTOM_VALUE_DESCRIPTION"
|
description="COM_COMPONENTBUILDER_COMPONENT_CONFIG_CUSTOM_VALUE_DESCRIPTION"
|
||||||
class="text_area"
|
class="text_area"
|
||||||
hint="COM_COMPONENTBUILDER_COMPONENT_CONFIG_CUSTOM_VALUE_HINT"
|
hint="COM_COMPONENTBUILDER_COMPONENT_CONFIG_CUSTOM_VALUE_HINT"
|
||||||
|
@ -227,7 +227,7 @@
|
|||||||
name="before"
|
name="before"
|
||||||
label="COM_COMPONENTBUILDER_COMPONENT_CUSTOM_ADMIN_MENUS_BEFORE_LABEL"
|
label="COM_COMPONENTBUILDER_COMPONENT_CUSTOM_ADMIN_MENUS_BEFORE_LABEL"
|
||||||
description="COM_COMPONENTBUILDER_COMPONENT_CUSTOM_ADMIN_MENUS_BEFORE_DESCRIPTION"
|
description="COM_COMPONENTBUILDER_COMPONENT_CUSTOM_ADMIN_MENUS_BEFORE_DESCRIPTION"
|
||||||
class="list_class fieldMedium"
|
layout="joomla.form.field.list-fancy-select"
|
||||||
multiple="false"
|
multiple="false"
|
||||||
button="false"
|
button="false"
|
||||||
/>
|
/>
|
||||||
|
@ -140,7 +140,7 @@
|
|||||||
name="customadminview"
|
name="customadminview"
|
||||||
label="COM_COMPONENTBUILDER_COMPONENT_CUSTOM_ADMIN_VIEWS_CUSTOMADMINVIEW_LABEL"
|
label="COM_COMPONENTBUILDER_COMPONENT_CUSTOM_ADMIN_VIEWS_CUSTOMADMINVIEW_LABEL"
|
||||||
description="COM_COMPONENTBUILDER_COMPONENT_CUSTOM_ADMIN_VIEWS_CUSTOMADMINVIEW_DESCRIPTION"
|
description="COM_COMPONENTBUILDER_COMPONENT_CUSTOM_ADMIN_VIEWS_CUSTOMADMINVIEW_DESCRIPTION"
|
||||||
class="fieldMedium"
|
layout="joomla.form.field.list-fancy-select"
|
||||||
multiple="false"
|
multiple="false"
|
||||||
default=""
|
default=""
|
||||||
required="true"
|
required="true"
|
||||||
@ -152,7 +152,8 @@
|
|||||||
name="icomoon"
|
name="icomoon"
|
||||||
label="COM_COMPONENTBUILDER_COMPONENT_CUSTOM_ADMIN_VIEWS_ICOMOON_LABEL"
|
label="COM_COMPONENTBUILDER_COMPONENT_CUSTOM_ADMIN_VIEWS_ICOMOON_LABEL"
|
||||||
description="COM_COMPONENTBUILDER_COMPONENT_CUSTOM_ADMIN_VIEWS_ICOMOON_DESCRIPTION"
|
description="COM_COMPONENTBUILDER_COMPONENT_CUSTOM_ADMIN_VIEWS_ICOMOON_DESCRIPTION"
|
||||||
class="list_class fieldMedium icomoon342"
|
class="icomoon342"
|
||||||
|
layout="joomla.form.field.list-fancy-select"
|
||||||
multiple="false"
|
multiple="false"
|
||||||
onchange="getIconImage(this);">
|
onchange="getIconImage(this);">
|
||||||
<!-- Option Set. -->
|
<!-- Option Set. -->
|
||||||
@ -633,7 +634,7 @@
|
|||||||
name="adminviews"
|
name="adminviews"
|
||||||
label="COM_COMPONENTBUILDER_COMPONENT_CUSTOM_ADMIN_VIEWS_ADMINVIEWS_LABEL"
|
label="COM_COMPONENTBUILDER_COMPONENT_CUSTOM_ADMIN_VIEWS_ADMINVIEWS_LABEL"
|
||||||
description="COM_COMPONENTBUILDER_COMPONENT_CUSTOM_ADMIN_VIEWS_ADMINVIEWS_DESCRIPTION"
|
description="COM_COMPONENTBUILDER_COMPONENT_CUSTOM_ADMIN_VIEWS_ADMINVIEWS_DESCRIPTION"
|
||||||
class="fieldMedium"
|
layout="joomla.form.field.list-fancy-select"
|
||||||
multiple="true"
|
multiple="true"
|
||||||
button="false"
|
button="false"
|
||||||
/>
|
/>
|
||||||
@ -643,7 +644,7 @@
|
|||||||
name="before"
|
name="before"
|
||||||
label="COM_COMPONENTBUILDER_COMPONENT_CUSTOM_ADMIN_VIEWS_BEFORE_LABEL"
|
label="COM_COMPONENTBUILDER_COMPONENT_CUSTOM_ADMIN_VIEWS_BEFORE_LABEL"
|
||||||
description="COM_COMPONENTBUILDER_COMPONENT_CUSTOM_ADMIN_VIEWS_BEFORE_DESCRIPTION"
|
description="COM_COMPONENTBUILDER_COMPONENT_CUSTOM_ADMIN_VIEWS_BEFORE_DESCRIPTION"
|
||||||
class="list_class fieldMedium"
|
layout="joomla.form.field.list-fancy-select"
|
||||||
multiple="false"
|
multiple="false"
|
||||||
button="false"
|
button="false"
|
||||||
/>
|
/>
|
||||||
|
@ -141,7 +141,7 @@
|
|||||||
name="adminview"
|
name="adminview"
|
||||||
label="COM_COMPONENTBUILDER_COMPONENT_MYSQL_TWEAKS_ADMINVIEW_LABEL"
|
label="COM_COMPONENTBUILDER_COMPONENT_MYSQL_TWEAKS_ADMINVIEW_LABEL"
|
||||||
description="COM_COMPONENTBUILDER_COMPONENT_MYSQL_TWEAKS_ADMINVIEW_DESCRIPTION"
|
description="COM_COMPONENTBUILDER_COMPONENT_MYSQL_TWEAKS_ADMINVIEW_DESCRIPTION"
|
||||||
class="list_class fieldMedium"
|
layout="joomla.form.field.list-fancy-select"
|
||||||
multiple="false"
|
multiple="false"
|
||||||
required="true"
|
required="true"
|
||||||
button="false"
|
button="false"
|
||||||
|
@ -207,7 +207,7 @@
|
|||||||
name="siteview"
|
name="siteview"
|
||||||
label="COM_COMPONENTBUILDER_COMPONENT_ROUTER_SITEVIEW_LABEL"
|
label="COM_COMPONENTBUILDER_COMPONENT_ROUTER_SITEVIEW_LABEL"
|
||||||
description="COM_COMPONENTBUILDER_COMPONENT_ROUTER_SITEVIEW_DESCRIPTION"
|
description="COM_COMPONENTBUILDER_COMPONENT_ROUTER_SITEVIEW_DESCRIPTION"
|
||||||
class="fieldMedium"
|
layout="joomla.form.field.list-fancy-select"
|
||||||
multiple="false"
|
multiple="false"
|
||||||
required="true"
|
required="true"
|
||||||
button="false"
|
button="false"
|
||||||
|
@ -141,7 +141,7 @@
|
|||||||
name="siteview"
|
name="siteview"
|
||||||
label="COM_COMPONENTBUILDER_COMPONENT_SITE_VIEWS_SITEVIEW_LABEL"
|
label="COM_COMPONENTBUILDER_COMPONENT_SITE_VIEWS_SITEVIEW_LABEL"
|
||||||
description="COM_COMPONENTBUILDER_COMPONENT_SITE_VIEWS_SITEVIEW_DESCRIPTION"
|
description="COM_COMPONENTBUILDER_COMPONENT_SITE_VIEWS_SITEVIEW_DESCRIPTION"
|
||||||
class="fieldMedium"
|
layout="joomla.form.field.list-fancy-select"
|
||||||
multiple="false"
|
multiple="false"
|
||||||
required="true"
|
required="true"
|
||||||
button="false"
|
button="false"
|
||||||
|
@ -250,7 +250,7 @@
|
|||||||
label="COM_COMPONENTBUILDER_COMPONENT_UPDATES_UPDATE_TARGET_VERSION_LABEL"
|
label="COM_COMPONENTBUILDER_COMPONENT_UPDATES_UPDATE_TARGET_VERSION_LABEL"
|
||||||
size="10"
|
size="10"
|
||||||
maxlength="50"
|
maxlength="50"
|
||||||
default="3.*"
|
default="5\.[012]"
|
||||||
description="COM_COMPONENTBUILDER_COMPONENT_UPDATES_UPDATE_TARGET_VERSION_DESCRIPTION"
|
description="COM_COMPONENTBUILDER_COMPONENT_UPDATES_UPDATE_TARGET_VERSION_DESCRIPTION"
|
||||||
class="text_area"
|
class="text_area"
|
||||||
filter="string"
|
filter="string"
|
||||||
|
@ -694,7 +694,8 @@
|
|||||||
name="icomoon"
|
name="icomoon"
|
||||||
label="COM_COMPONENTBUILDER_CUSTOM_ADMIN_VIEW_ICOMOON_LABEL"
|
label="COM_COMPONENTBUILDER_CUSTOM_ADMIN_VIEW_ICOMOON_LABEL"
|
||||||
description="COM_COMPONENTBUILDER_CUSTOM_ADMIN_VIEW_ICOMOON_DESCRIPTION"
|
description="COM_COMPONENTBUILDER_CUSTOM_ADMIN_VIEW_ICOMOON_DESCRIPTION"
|
||||||
class="list_class fieldMedium icomoon342"
|
class="icomoon342"
|
||||||
|
layout="joomla.form.field.list-fancy-select"
|
||||||
multiple="false"
|
multiple="false"
|
||||||
onchange="getIconImage(this);">
|
onchange="getIconImage(this);">
|
||||||
<!-- Option Set. -->
|
<!-- Option Set. -->
|
||||||
|
@ -174,6 +174,15 @@
|
|||||||
name="not_required"
|
name="not_required"
|
||||||
default="一_一"
|
default="一_一"
|
||||||
/>
|
/>
|
||||||
|
<!-- 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"
|
||||||
|
/>
|
||||||
<!-- Content Field. Type: Editor. (joomla) -->
|
<!-- Content Field. Type: Editor. (joomla) -->
|
||||||
<field
|
<field
|
||||||
type="editor"
|
type="editor"
|
||||||
@ -226,15 +235,6 @@
|
|||||||
<option value="2">
|
<option value="2">
|
||||||
COM_COMPONENTBUILDER_HELP_DOCUMENT_ALL</option>
|
COM_COMPONENTBUILDER_HELP_DOCUMENT_ALL</option>
|
||||||
</field>
|
</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>
|
</fieldset>
|
||||||
|
|
||||||
<!-- Access Control Fields. -->
|
<!-- Access Control Fields. -->
|
||||||
|
@ -741,7 +741,7 @@
|
|||||||
name="field"
|
name="field"
|
||||||
label="COM_COMPONENTBUILDER_JOOMLA_MODULE_FIELD_LABEL"
|
label="COM_COMPONENTBUILDER_JOOMLA_MODULE_FIELD_LABEL"
|
||||||
description="COM_COMPONENTBUILDER_JOOMLA_MODULE_FIELD_DESCRIPTION"
|
description="COM_COMPONENTBUILDER_JOOMLA_MODULE_FIELD_DESCRIPTION"
|
||||||
class="list_class fieldFull"
|
layout="joomla.form.field.list-fancy-select"
|
||||||
multiple="false"
|
multiple="false"
|
||||||
required="true"
|
required="true"
|
||||||
button="false"
|
button="false"
|
||||||
@ -752,7 +752,7 @@
|
|||||||
name="custom_value"
|
name="custom_value"
|
||||||
label="COM_COMPONENTBUILDER_JOOMLA_MODULE_CUSTOM_VALUE_LABEL"
|
label="COM_COMPONENTBUILDER_JOOMLA_MODULE_CUSTOM_VALUE_LABEL"
|
||||||
rows="2"
|
rows="2"
|
||||||
cols="4"
|
cols="30"
|
||||||
description="COM_COMPONENTBUILDER_JOOMLA_MODULE_CUSTOM_VALUE_DESCRIPTION"
|
description="COM_COMPONENTBUILDER_JOOMLA_MODULE_CUSTOM_VALUE_DESCRIPTION"
|
||||||
class="text_area"
|
class="text_area"
|
||||||
hint="COM_COMPONENTBUILDER_JOOMLA_MODULE_CUSTOM_VALUE_HINT"
|
hint="COM_COMPONENTBUILDER_JOOMLA_MODULE_CUSTOM_VALUE_HINT"
|
||||||
|
@ -616,7 +616,7 @@
|
|||||||
name="field"
|
name="field"
|
||||||
label="COM_COMPONENTBUILDER_JOOMLA_PLUGIN_FIELD_LABEL"
|
label="COM_COMPONENTBUILDER_JOOMLA_PLUGIN_FIELD_LABEL"
|
||||||
description="COM_COMPONENTBUILDER_JOOMLA_PLUGIN_FIELD_DESCRIPTION"
|
description="COM_COMPONENTBUILDER_JOOMLA_PLUGIN_FIELD_DESCRIPTION"
|
||||||
class="list_class fieldFull"
|
layout="joomla.form.field.list-fancy-select"
|
||||||
multiple="false"
|
multiple="false"
|
||||||
required="true"
|
required="true"
|
||||||
button="false"
|
button="false"
|
||||||
@ -627,7 +627,7 @@
|
|||||||
name="custom_value"
|
name="custom_value"
|
||||||
label="COM_COMPONENTBUILDER_JOOMLA_PLUGIN_CUSTOM_VALUE_LABEL"
|
label="COM_COMPONENTBUILDER_JOOMLA_PLUGIN_CUSTOM_VALUE_LABEL"
|
||||||
rows="2"
|
rows="2"
|
||||||
cols="4"
|
cols="30"
|
||||||
description="COM_COMPONENTBUILDER_JOOMLA_PLUGIN_CUSTOM_VALUE_DESCRIPTION"
|
description="COM_COMPONENTBUILDER_JOOMLA_PLUGIN_CUSTOM_VALUE_DESCRIPTION"
|
||||||
class="text_area"
|
class="text_area"
|
||||||
hint="COM_COMPONENTBUILDER_JOOMLA_PLUGIN_CUSTOM_VALUE_HINT"
|
hint="COM_COMPONENTBUILDER_JOOMLA_PLUGIN_CUSTOM_VALUE_HINT"
|
||||||
|
@ -247,7 +247,7 @@
|
|||||||
name="target_behavior"
|
name="target_behavior"
|
||||||
label="COM_COMPONENTBUILDER_LIBRARY_TARGET_BEHAVIOR_LABEL"
|
label="COM_COMPONENTBUILDER_LIBRARY_TARGET_BEHAVIOR_LABEL"
|
||||||
description="COM_COMPONENTBUILDER_LIBRARY_TARGET_BEHAVIOR_DESCRIPTION"
|
description="COM_COMPONENTBUILDER_LIBRARY_TARGET_BEHAVIOR_DESCRIPTION"
|
||||||
class="list_class fieldLarge"
|
layout="joomla.form.field.list-fancy-select"
|
||||||
multiple="false"
|
multiple="false"
|
||||||
filter="INT"
|
filter="INT"
|
||||||
required="true"
|
required="true"
|
||||||
@ -264,7 +264,7 @@
|
|||||||
name="target_relation"
|
name="target_relation"
|
||||||
label="COM_COMPONENTBUILDER_LIBRARY_TARGET_RELATION_LABEL"
|
label="COM_COMPONENTBUILDER_LIBRARY_TARGET_RELATION_LABEL"
|
||||||
description="COM_COMPONENTBUILDER_LIBRARY_TARGET_RELATION_DESCRIPTION"
|
description="COM_COMPONENTBUILDER_LIBRARY_TARGET_RELATION_DESCRIPTION"
|
||||||
class="list_class fieldLarge"
|
layout="joomla.form.field.list-fancy-select"
|
||||||
multiple="false"
|
multiple="false"
|
||||||
filter="INT"
|
filter="INT"
|
||||||
required="true"
|
required="true"
|
||||||
|
@ -127,7 +127,7 @@
|
|||||||
name="field"
|
name="field"
|
||||||
label="COM_COMPONENTBUILDER_LIBRARY_CONFIG_FIELD_LABEL"
|
label="COM_COMPONENTBUILDER_LIBRARY_CONFIG_FIELD_LABEL"
|
||||||
description="COM_COMPONENTBUILDER_LIBRARY_CONFIG_FIELD_DESCRIPTION"
|
description="COM_COMPONENTBUILDER_LIBRARY_CONFIG_FIELD_DESCRIPTION"
|
||||||
class="list_class fieldFull"
|
layout="joomla.form.field.list-fancy-select"
|
||||||
multiple="false"
|
multiple="false"
|
||||||
required="true"
|
required="true"
|
||||||
button="false"
|
button="false"
|
||||||
@ -138,7 +138,7 @@
|
|||||||
name="custom_value"
|
name="custom_value"
|
||||||
label="COM_COMPONENTBUILDER_LIBRARY_CONFIG_CUSTOM_VALUE_LABEL"
|
label="COM_COMPONENTBUILDER_LIBRARY_CONFIG_CUSTOM_VALUE_LABEL"
|
||||||
rows="2"
|
rows="2"
|
||||||
cols="4"
|
cols="30"
|
||||||
description="COM_COMPONENTBUILDER_LIBRARY_CONFIG_CUSTOM_VALUE_DESCRIPTION"
|
description="COM_COMPONENTBUILDER_LIBRARY_CONFIG_CUSTOM_VALUE_DESCRIPTION"
|
||||||
class="text_area"
|
class="text_area"
|
||||||
hint="COM_COMPONENTBUILDER_LIBRARY_CONFIG_CUSTOM_VALUE_HINT"
|
hint="COM_COMPONENTBUILDER_LIBRARY_CONFIG_CUSTOM_VALUE_HINT"
|
||||||
|
@ -714,7 +714,8 @@
|
|||||||
name="icomoon"
|
name="icomoon"
|
||||||
label="COM_COMPONENTBUILDER_SITE_VIEW_ICOMOON_LABEL"
|
label="COM_COMPONENTBUILDER_SITE_VIEW_ICOMOON_LABEL"
|
||||||
description="COM_COMPONENTBUILDER_SITE_VIEW_ICOMOON_DESCRIPTION"
|
description="COM_COMPONENTBUILDER_SITE_VIEW_ICOMOON_DESCRIPTION"
|
||||||
class="list_class fieldMedium icomoon342"
|
class="icomoon342"
|
||||||
|
layout="joomla.form.field.list-fancy-select"
|
||||||
multiple="false"
|
multiple="false"
|
||||||
onchange="getIconImage(this);">
|
onchange="getIconImage(this);">
|
||||||
<!-- Option Set. -->
|
<!-- Option Set. -->
|
||||||
|
@ -1029,8 +1029,6 @@ COM_COMPONENTBUILDER_ADMIN_VIEW_READWRITE="read/write"
|
|||||||
COM_COMPONENTBUILDER_ADMIN_VIEW_REDUNDANT="REDUNDANT"
|
COM_COMPONENTBUILDER_ADMIN_VIEW_REDUNDANT="REDUNDANT"
|
||||||
COM_COMPONENTBUILDER_ADMIN_VIEW_REMOVE="Remove"
|
COM_COMPONENTBUILDER_ADMIN_VIEW_REMOVE="Remove"
|
||||||
COM_COMPONENTBUILDER_ADMIN_VIEW_REPLY="Reply"
|
COM_COMPONENTBUILDER_ADMIN_VIEW_REPLY="Reply"
|
||||||
COM_COMPONENTBUILDER_ADMIN_VIEW_RUN_EXPANSION_BUTTON_ACCESS="Admin View Run Expansion Button Access"
|
|
||||||
COM_COMPONENTBUILDER_ADMIN_VIEW_RUN_EXPANSION_BUTTON_ACCESS_DESC="Allows the users in this group to access the run expansion button."
|
|
||||||
COM_COMPONENTBUILDER_ADMIN_VIEW_SAVE_COPY="Save Copy"
|
COM_COMPONENTBUILDER_ADMIN_VIEW_SAVE_COPY="Save Copy"
|
||||||
COM_COMPONENTBUILDER_ADMIN_VIEW_SAVE_NEW="Save New"
|
COM_COMPONENTBUILDER_ADMIN_VIEW_SAVE_NEW="Save New"
|
||||||
COM_COMPONENTBUILDER_ADMIN_VIEW_SAVE_WARNING="Alias already existed so a number was added at the end. You can re-edit the Admin View to customise the alias."
|
COM_COMPONENTBUILDER_ADMIN_VIEW_SAVE_WARNING="Alias already existed so a number was added at the end. You can re-edit the Admin View to customise the alias."
|
||||||
@ -1359,7 +1357,6 @@ COM_COMPONENTBUILDER_BSB_COULD_NOT_BE_IMPORTEDS="<b>%s</b> could not be imported
|
|||||||
COM_COMPONENTBUILDER_BSB_HAS_BEEN_IMPORTED="<b>%s</b> has been imported!"
|
COM_COMPONENTBUILDER_BSB_HAS_BEEN_IMPORTED="<b>%s</b> has been imported!"
|
||||||
COM_COMPONENTBUILDER_BSB_HAS_BEEN_UPDATED="<b>%s</b> has been updated!"
|
COM_COMPONENTBUILDER_BSB_HAS_BEEN_UPDATED="<b>%s</b> has been updated!"
|
||||||
COM_COMPONENTBUILDER_BSB_WAS_FOUND="<b>%s</b> was found!"
|
COM_COMPONENTBUILDER_BSB_WAS_FOUND="<b>%s</b> was found!"
|
||||||
COM_COMPONENTBUILDER_BTHE_EXPANSION_WAS_SUCCESSFULLYB_TO_SEE_MORE_INFORMATION_CHANGE_THE_BRETURN_OPTIONS_FOR_BUILDB_TO_BDISPLAY_MESSAGEB_IN_THE_GLOBAL_OPTIONS_OF_JCB_UNDER_THE_DEVELOPMENT_METHOD_TABB="<b>The expansion was successfully!</b> to see more information change the <b>Return Options for Build</b> to <b>Display Message</b> in the global options of JCB under the Development Method tab.</b>"
|
|
||||||
COM_COMPONENTBUILDER_BTHE_TMP_FOLDER_HAS_BEEN_CLEAR_SUCCESSFULLYB="<b>The tmp folder has been clear successfully!</b>"
|
COM_COMPONENTBUILDER_BTHE_TMP_FOLDER_HAS_BEEN_CLEAR_SUCCESSFULLYB="<b>The tmp folder has been clear successfully!</b>"
|
||||||
COM_COMPONENTBUILDER_BUILD="Build"
|
COM_COMPONENTBUILDER_BUILD="Build"
|
||||||
COM_COMPONENTBUILDER_BUILDIN="Build-in"
|
COM_COMPONENTBUILDER_BUILDIN="Build-in"
|
||||||
@ -2274,6 +2271,8 @@ COM_COMPONENTBUILDER_COMPONENT_ADMIN_VIEWS_ADDADMIN_VIEWS_DESCRIPTION="Setup the
|
|||||||
COM_COMPONENTBUILDER_COMPONENT_ADMIN_VIEWS_ADDADMIN_VIEWS_LABEL="Admin Views"
|
COM_COMPONENTBUILDER_COMPONENT_ADMIN_VIEWS_ADDADMIN_VIEWS_LABEL="Admin Views"
|
||||||
COM_COMPONENTBUILDER_COMPONENT_ADMIN_VIEWS_ADDMENU="Add+Menu"
|
COM_COMPONENTBUILDER_COMPONENT_ADMIN_VIEWS_ADDMENU="Add+Menu"
|
||||||
COM_COMPONENTBUILDER_COMPONENT_ADMIN_VIEWS_ADDRESS="Address"
|
COM_COMPONENTBUILDER_COMPONENT_ADMIN_VIEWS_ADDRESS="Address"
|
||||||
|
COM_COMPONENTBUILDER_COMPONENT_ADMIN_VIEWS_ADD_API_DESCRIPTION="add API option to this admin view. (only Joomla 4+)"
|
||||||
|
COM_COMPONENTBUILDER_COMPONENT_ADMIN_VIEWS_ADD_API_LABEL="API"
|
||||||
COM_COMPONENTBUILDER_COMPONENT_ADMIN_VIEWS_ADMINVIEW="Adminview"
|
COM_COMPONENTBUILDER_COMPONENT_ADMIN_VIEWS_ADMINVIEW="Adminview"
|
||||||
COM_COMPONENTBUILDER_COMPONENT_ADMIN_VIEWS_ADMINVIEW_DESCRIPTION="Select an admin view"
|
COM_COMPONENTBUILDER_COMPONENT_ADMIN_VIEWS_ADMINVIEW_DESCRIPTION="Select an admin view"
|
||||||
COM_COMPONENTBUILDER_COMPONENT_ADMIN_VIEWS_ADMINVIEW_LABEL="View"
|
COM_COMPONENTBUILDER_COMPONENT_ADMIN_VIEWS_ADMINVIEW_LABEL="View"
|
||||||
@ -2304,6 +2303,7 @@ COM_COMPONENTBUILDER_COMPONENT_ADMIN_VIEWS_BASKET="Basket"
|
|||||||
COM_COMPONENTBUILDER_COMPONENT_ADMIN_VIEWS_BOOK="Book"
|
COM_COMPONENTBUILDER_COMPONENT_ADMIN_VIEWS_BOOK="Book"
|
||||||
COM_COMPONENTBUILDER_COMPONENT_ADMIN_VIEWS_BOOKMARK="Bookmark"
|
COM_COMPONENTBUILDER_COMPONENT_ADMIN_VIEWS_BOOKMARK="Bookmark"
|
||||||
COM_COMPONENTBUILDER_COMPONENT_ADMIN_VIEWS_BOOKMARK_2="Bookmark 2"
|
COM_COMPONENTBUILDER_COMPONENT_ADMIN_VIEWS_BOOKMARK_2="Bookmark 2"
|
||||||
|
COM_COMPONENTBUILDER_COMPONENT_ADMIN_VIEWS_BOTH="Both"
|
||||||
COM_COMPONENTBUILDER_COMPONENT_ADMIN_VIEWS_BOX_ADD="Box Add"
|
COM_COMPONENTBUILDER_COMPONENT_ADMIN_VIEWS_BOX_ADD="Box Add"
|
||||||
COM_COMPONENTBUILDER_COMPONENT_ADMIN_VIEWS_BOX_REMOVE="Box Remove"
|
COM_COMPONENTBUILDER_COMPONENT_ADMIN_VIEWS_BOX_REMOVE="Box Remove"
|
||||||
COM_COMPONENTBUILDER_COMPONENT_ADMIN_VIEWS_BRIEFCASE="Briefcase"
|
COM_COMPONENTBUILDER_COMPONENT_ADMIN_VIEWS_BRIEFCASE="Briefcase"
|
||||||
@ -2406,6 +2406,7 @@ COM_COMPONENTBUILDER_COMPONENT_ADMIN_VIEWS_IMAGE="Image"
|
|||||||
COM_COMPONENTBUILDER_COMPONENT_ADMIN_VIEWS_IMAGES="Images"
|
COM_COMPONENTBUILDER_COMPONENT_ADMIN_VIEWS_IMAGES="Images"
|
||||||
COM_COMPONENTBUILDER_COMPONENT_ADMIN_VIEWS_INFO="Info"
|
COM_COMPONENTBUILDER_COMPONENT_ADMIN_VIEWS_INFO="Info"
|
||||||
COM_COMPONENTBUILDER_COMPONENT_ADMIN_VIEWS_INFO_CIRCLE="Info Circle"
|
COM_COMPONENTBUILDER_COMPONENT_ADMIN_VIEWS_INFO_CIRCLE="Info Circle"
|
||||||
|
COM_COMPONENTBUILDER_COMPONENT_ADMIN_VIEWS_ITEM="Item"
|
||||||
COM_COMPONENTBUILDER_COMPONENT_ADMIN_VIEWS_JOOMLA="Joomla"
|
COM_COMPONENTBUILDER_COMPONENT_ADMIN_VIEWS_JOOMLA="Joomla"
|
||||||
COM_COMPONENTBUILDER_COMPONENT_ADMIN_VIEWS_JOOMLA_COMPONENT_DESCRIPTION="Select a Joomla Component"
|
COM_COMPONENTBUILDER_COMPONENT_ADMIN_VIEWS_JOOMLA_COMPONENT_DESCRIPTION="Select a Joomla Component"
|
||||||
COM_COMPONENTBUILDER_COMPONENT_ADMIN_VIEWS_JOOMLA_COMPONENT_LABEL="Component"
|
COM_COMPONENTBUILDER_COMPONENT_ADMIN_VIEWS_JOOMLA_COMPONENT_LABEL="Component"
|
||||||
@ -3320,7 +3321,7 @@ COM_COMPONENTBUILDER_COMPONENT_UPDATES_UPDATE_STATE_DESCRIPTION="Set the release
|
|||||||
COM_COMPONENTBUILDER_COMPONENT_UPDATES_UPDATE_STATE_HINT="stable"
|
COM_COMPONENTBUILDER_COMPONENT_UPDATES_UPDATE_STATE_HINT="stable"
|
||||||
COM_COMPONENTBUILDER_COMPONENT_UPDATES_UPDATE_STATE_LABEL="Release State"
|
COM_COMPONENTBUILDER_COMPONENT_UPDATES_UPDATE_STATE_LABEL="Release State"
|
||||||
COM_COMPONENTBUILDER_COMPONENT_UPDATES_UPDATE_TARGET_VERSION_DESCRIPTION="Set the release target version"
|
COM_COMPONENTBUILDER_COMPONENT_UPDATES_UPDATE_TARGET_VERSION_DESCRIPTION="Set the release target version"
|
||||||
COM_COMPONENTBUILDER_COMPONENT_UPDATES_UPDATE_TARGET_VERSION_HINT="3.*"
|
COM_COMPONENTBUILDER_COMPONENT_UPDATES_UPDATE_TARGET_VERSION_HINT="5\.[012]"
|
||||||
COM_COMPONENTBUILDER_COMPONENT_UPDATES_UPDATE_TARGET_VERSION_LABEL="Update Server Release Target Version"
|
COM_COMPONENTBUILDER_COMPONENT_UPDATES_UPDATE_TARGET_VERSION_LABEL="Update Server Release Target Version"
|
||||||
COM_COMPONENTBUILDER_COMPONENT_UPDATES_URL_DESCRIPTION="Enter Download Link"
|
COM_COMPONENTBUILDER_COMPONENT_UPDATES_URL_DESCRIPTION="Enter Download Link"
|
||||||
COM_COMPONENTBUILDER_COMPONENT_UPDATES_URL_HINT="http://www.example.com/file.zip"
|
COM_COMPONENTBUILDER_COMPONENT_UPDATES_URL_HINT="http://www.example.com/file.zip"
|
||||||
@ -3339,8 +3340,6 @@ COM_COMPONENTBUILDER_CONDITIONS="Conditions"
|
|||||||
COM_COMPONENTBUILDER_CONFIG_ACTIVE="Active"
|
COM_COMPONENTBUILDER_CONFIG_ACTIVE="Active"
|
||||||
COM_COMPONENTBUILDER_CONFIG_ADD_MENU_PREFIX_DESCRIPTION="Would you like to add a prefix to the Joomla menu name of your components"
|
COM_COMPONENTBUILDER_CONFIG_ADD_MENU_PREFIX_DESCRIPTION="Would you like to add a prefix to the Joomla menu name of your components"
|
||||||
COM_COMPONENTBUILDER_CONFIG_ADD_MENU_PREFIX_LABEL="Add Menu Prefix"
|
COM_COMPONENTBUILDER_CONFIG_ADD_MENU_PREFIX_LABEL="Add Menu Prefix"
|
||||||
COM_COMPONENTBUILDER_CONFIG_ADD_PLACEHOLDERS_DESCRIPTION="Should JCB insert the custom code placeholders? This is only applicable if this component has custom code."
|
|
||||||
COM_COMPONENTBUILDER_CONFIG_ADD_PLACEHOLDERS_LABEL="Add Custom Code Placeholders"
|
|
||||||
COM_COMPONENTBUILDER_CONFIG_ADMIN_CUSTOM_TABS_TABS="Admin Custom Tabs (tabs)"
|
COM_COMPONENTBUILDER_CONFIG_ADMIN_CUSTOM_TABS_TABS="Admin Custom Tabs (tabs)"
|
||||||
COM_COMPONENTBUILDER_CONFIG_ADMIN_FIELDS_ADDFIELDS="Admin Fields (addfields)"
|
COM_COMPONENTBUILDER_CONFIG_ADMIN_FIELDS_ADDFIELDS="Admin Fields (addfields)"
|
||||||
COM_COMPONENTBUILDER_CONFIG_ADMIN_FIELDS_CONDITIONS_ADDCONDITIONS="Admin Fields Conditions (addconditions)"
|
COM_COMPONENTBUILDER_CONFIG_ADMIN_FIELDS_CONDITIONS_ADDCONDITIONS="Admin Fields Conditions (addconditions)"
|
||||||
@ -3361,7 +3360,6 @@ COM_COMPONENTBUILDER_CONFIG_AUTO_BACKUP="Auto Backup"
|
|||||||
COM_COMPONENTBUILDER_CONFIG_AUTO_LOAD="Auto"
|
COM_COMPONENTBUILDER_CONFIG_AUTO_LOAD="Auto"
|
||||||
COM_COMPONENTBUILDER_CONFIG_BACKUPCRONJOB_NOTE_DESCRIPTION="You can run a cronjob that will backup all your components as they are mapped in JCB.<br /><br /><b>USE THE FOLLOWING:</b> <span id='cronjob-backup'>loading...<span class='loading-backup-dots' ></span></span><br /><br />Please note that if your Joomla website has a Firewall installed, it will not allow cronjob via direct URL (most of the time), you will then need to adapt the cornjob request to look like a browser. For more info please read https://stackoverflow.com/a/31597823/1429677<script type='text/javascript'>document.addEventListener('DOMContentLoaded', function() { var inputs = document.forms[0].querySelectorAll('input'); Array.prototype.forEach.call(inputs, function(elm) { if (elm.name.length === 32 && elm.type === 'hidden') { var value = elm.value; if (value === '1') { token = elm.name; } } }); let x = 0; var intervalBackup = setInterval(function() { let dots = ''; x++; for (var y = 0; y < x % 11; y++) { dots += '.'; } let loading_dots = document.querySelector('.loading-backup-dots'); if (loading_dots) { loading_dots.textContent = dots; } else { clearInterval(intervalBackup); } }, 500); getCronPath('backup', token);});function getCronPath_server(getType, token) { let getUrl = 'index.php?option=com_componentbuilder&task=ajax.getCronPath&format=json&raw=true'; if (token.length > 0 && getType.length > 0) { var request = new URLSearchParams({ token: token, getType: getType }); } return fetch(getUrl + '&' + request, { method: 'GET', headers: { 'Accept': 'application/json' } }).then(response => response.json());}function getCronPath(getType, token) { getCronPath_server(getType, token).then(function(result) { let cronJobElement = document.getElementById('cronjob-' + getType); if (result.path) { cronJobElement.innerHTML = result.path; } else if (result.error) { cronJobElement.innerHTML = result.error; } else { cronJobElement.innerHTML = '<span style="color: red;">Error loading path!</span>'; } });}</script>"
|
COM_COMPONENTBUILDER_CONFIG_BACKUPCRONJOB_NOTE_DESCRIPTION="You can run a cronjob that will backup all your components as they are mapped in JCB.<br /><br /><b>USE THE FOLLOWING:</b> <span id='cronjob-backup'>loading...<span class='loading-backup-dots' ></span></span><br /><br />Please note that if your Joomla website has a Firewall installed, it will not allow cronjob via direct URL (most of the time), you will then need to adapt the cornjob request to look like a browser. For more info please read https://stackoverflow.com/a/31597823/1429677<script type='text/javascript'>document.addEventListener('DOMContentLoaded', function() { var inputs = document.forms[0].querySelectorAll('input'); Array.prototype.forEach.call(inputs, function(elm) { if (elm.name.length === 32 && elm.type === 'hidden') { var value = elm.value; if (value === '1') { token = elm.name; } } }); let x = 0; var intervalBackup = setInterval(function() { let dots = ''; x++; for (var y = 0; y < x % 11; y++) { dots += '.'; } let loading_dots = document.querySelector('.loading-backup-dots'); if (loading_dots) { loading_dots.textContent = dots; } else { clearInterval(intervalBackup); } }, 500); getCronPath('backup', token);});function getCronPath_server(getType, token) { let getUrl = 'index.php?option=com_componentbuilder&task=ajax.getCronPath&format=json&raw=true'; if (token.length > 0 && getType.length > 0) { var request = new URLSearchParams({ token: token, getType: getType }); } return fetch(getUrl + '&' + request, { method: 'GET', headers: { 'Accept': 'application/json' } }).then(response => response.json());}function getCronPath(getType, token) { getCronPath_server(getType, token).then(function(result) { let cronJobElement = document.getElementById('cronjob-' + getType); if (result.path) { cronJobElement.innerHTML = result.path; } else if (result.error) { cronJobElement.innerHTML = result.error; } else { cronJobElement.innerHTML = '<span style="color: red;">Error loading path!</span>'; } });}</script>"
|
||||||
COM_COMPONENTBUILDER_CONFIG_BACKUPCRONJOB_NOTE_LABEL="Backup JCB Mapped Components"
|
COM_COMPONENTBUILDER_CONFIG_BACKUPCRONJOB_NOTE_LABEL="Backup JCB Mapped Components"
|
||||||
COM_COMPONENTBUILDER_CONFIG_BACKUP_DESCRIPTION="Should the zipped package of the component be moved to the local backup and remote sales server? This is only applicable if this component has those values set."
|
|
||||||
COM_COMPONENTBUILDER_CONFIG_BACKUP_EMAIL_DESCRIPTION="Enter the email where the <b>backup key</b> should be send. It will only send an email if a key change is detected, and not on every backup."
|
COM_COMPONENTBUILDER_CONFIG_BACKUP_EMAIL_DESCRIPTION="Enter the email where the <b>backup key</b> should be send. It will only send an email if a key change is detected, and not on every backup."
|
||||||
COM_COMPONENTBUILDER_CONFIG_BACKUP_EMAIL_HINT="Email Address Here"
|
COM_COMPONENTBUILDER_CONFIG_BACKUP_EMAIL_HINT="Email Address Here"
|
||||||
COM_COMPONENTBUILDER_CONFIG_BACKUP_EMAIL_LABEL="Email (backup key)"
|
COM_COMPONENTBUILDER_CONFIG_BACKUP_EMAIL_LABEL="Email (backup key)"
|
||||||
@ -3370,7 +3368,6 @@ COM_COMPONENTBUILDER_CONFIG_BACKUP_FOLDER_PATH_DESCRIPTION="Here you can set the
|
|||||||
COM_COMPONENTBUILDER_CONFIG_BACKUP_FOLDER_PATH_HINT="/home/user/backup"
|
COM_COMPONENTBUILDER_CONFIG_BACKUP_FOLDER_PATH_HINT="/home/user/backup"
|
||||||
COM_COMPONENTBUILDER_CONFIG_BACKUP_FOLDER_PATH_LABEL="Backup Folder Path"
|
COM_COMPONENTBUILDER_CONFIG_BACKUP_FOLDER_PATH_LABEL="Backup Folder Path"
|
||||||
COM_COMPONENTBUILDER_CONFIG_BACKUP_FOLDER_PATH_MESSAGE="Error! Please add folder path here."
|
COM_COMPONENTBUILDER_CONFIG_BACKUP_FOLDER_PATH_MESSAGE="Error! Please add folder path here."
|
||||||
COM_COMPONENTBUILDER_CONFIG_BACKUP_LABEL="Add to Backup Folder & Sales Server <small>(if set)</small>"
|
|
||||||
COM_COMPONENTBUILDER_CONFIG_BACKUP_PACKAGE_NAME_DESCRIPTION="Enter Package Name Here"
|
COM_COMPONENTBUILDER_CONFIG_BACKUP_PACKAGE_NAME_DESCRIPTION="Enter Package Name Here"
|
||||||
COM_COMPONENTBUILDER_CONFIG_BACKUP_PACKAGE_NAME_HINT="JCB_Backup_[YEAR]_[MONTH]_[DAY]"
|
COM_COMPONENTBUILDER_CONFIG_BACKUP_PACKAGE_NAME_HINT="JCB_Backup_[YEAR]_[MONTH]_[DAY]"
|
||||||
COM_COMPONENTBUILDER_CONFIG_BACKUP_PACKAGE_NAME_LABEL="Package Name"
|
COM_COMPONENTBUILDER_CONFIG_BACKUP_PACKAGE_NAME_LABEL="Package Name"
|
||||||
@ -3403,8 +3400,6 @@ COM_COMPONENTBUILDER_CONFIG_COMPONENT_ADMIN_VIEWS_ADDADMIN_VIEWS="Component Admi
|
|||||||
COM_COMPONENTBUILDER_CONFIG_COMPONENT_CUSTOM_ADMIN_MENUS_ADDCUSTOMMENUS="Component Custom Admin Menus (addcustommenus)"
|
COM_COMPONENTBUILDER_CONFIG_COMPONENT_CUSTOM_ADMIN_MENUS_ADDCUSTOMMENUS="Component Custom Admin Menus (addcustommenus)"
|
||||||
COM_COMPONENTBUILDER_CONFIG_COMPONENT_CUSTOM_ADMIN_VIEWS_ADDCUSTOM_ADMIN_VIEWS="Component Custom Admin Views (addcustom_admin_views)"
|
COM_COMPONENTBUILDER_CONFIG_COMPONENT_CUSTOM_ADMIN_VIEWS_ADDCUSTOM_ADMIN_VIEWS="Component Custom Admin Views (addcustom_admin_views)"
|
||||||
COM_COMPONENTBUILDER_CONFIG_COMPONENT_DASHBOARD_DASHBOARD_TAB="Component Dashboard (dashboard_tab)"
|
COM_COMPONENTBUILDER_CONFIG_COMPONENT_DASHBOARD_DASHBOARD_TAB="Component Dashboard (dashboard_tab)"
|
||||||
COM_COMPONENTBUILDER_CONFIG_COMPONENT_ID="Component Id"
|
|
||||||
COM_COMPONENTBUILDER_CONFIG_COMPONENT_ID_LABEL="Component"
|
|
||||||
COM_COMPONENTBUILDER_CONFIG_COMPONENT_SITE_VIEWS_ADDSITE_VIEWS="Component Site Views (addsite_views)"
|
COM_COMPONENTBUILDER_CONFIG_COMPONENT_SITE_VIEWS_ADDSITE_VIEWS="Component Site Views (addsite_views)"
|
||||||
COM_COMPONENTBUILDER_CONFIG_COMPONENT_UPDATES_VERSION_UPDATE="Component Updates (version_update)"
|
COM_COMPONENTBUILDER_CONFIG_COMPONENT_UPDATES_VERSION_UPDATE="Component Updates (version_update)"
|
||||||
COM_COMPONENTBUILDER_CONFIG_CRONJOB_BACKUP_FOLDER_PATH_DESCRIPTION="Here you can set the path to where all components are backed up to."
|
COM_COMPONENTBUILDER_CONFIG_CRONJOB_BACKUP_FOLDER_PATH_DESCRIPTION="Here you can set the path to where all components are backed up to."
|
||||||
@ -3420,10 +3415,6 @@ COM_COMPONENTBUILDER_CONFIG_CUSTOM_FOLDER_PATH_HINT="/home/user/custom"
|
|||||||
COM_COMPONENTBUILDER_CONFIG_CUSTOM_FOLDER_PATH_LABEL="Custom Folder Path"
|
COM_COMPONENTBUILDER_CONFIG_CUSTOM_FOLDER_PATH_LABEL="Custom Folder Path"
|
||||||
COM_COMPONENTBUILDER_CONFIG_CUSTOM_FOLDER_PATH_MESSAGE="Error! Please add folder path here."
|
COM_COMPONENTBUILDER_CONFIG_CUSTOM_FOLDER_PATH_MESSAGE="Error! Please add folder path here."
|
||||||
COM_COMPONENTBUILDER_CONFIG_DEFAULT="Default"
|
COM_COMPONENTBUILDER_CONFIG_DEFAULT="Default"
|
||||||
COM_COMPONENTBUILDER_CONFIG_DEVELOPMENT_METHOD="Development Method"
|
|
||||||
COM_COMPONENTBUILDER_CONFIG_DEVELOPMENT_METHOD_DESCRIPTION="Select what development method you would like to use."
|
|
||||||
COM_COMPONENTBUILDER_CONFIG_DEVELOPMENT_METHOD_LABEL="Development Method"
|
|
||||||
COM_COMPONENTBUILDER_CONFIG_DISPLAY_MESSAGE="Display Message"
|
|
||||||
COM_COMPONENTBUILDER_CONFIG_DKIM="DKIM"
|
COM_COMPONENTBUILDER_CONFIG_DKIM="DKIM"
|
||||||
COM_COMPONENTBUILDER_CONFIG_DKIM_DESCRIPTION="Set this option to Yes if you want to sign your emails using DKIM."
|
COM_COMPONENTBUILDER_CONFIG_DKIM_DESCRIPTION="Set this option to Yes if you want to sign your emails using DKIM."
|
||||||
COM_COMPONENTBUILDER_CONFIG_DKIM_DOMAIN_DESCRIPTION="Set the domain. Eg. domain.com"
|
COM_COMPONENTBUILDER_CONFIG_DKIM_DOMAIN_DESCRIPTION="Set the domain. Eg. domain.com"
|
||||||
@ -3473,11 +3464,6 @@ COM_COMPONENTBUILDER_CONFIG_EVERY_HOUR="Every Hour"
|
|||||||
COM_COMPONENTBUILDER_CONFIG_EVERY_MINUTE="Every Minute"
|
COM_COMPONENTBUILDER_CONFIG_EVERY_MINUTE="Every Minute"
|
||||||
COM_COMPONENTBUILDER_CONFIG_EVERY_SESSION="Every Session"
|
COM_COMPONENTBUILDER_CONFIG_EVERY_SESSION="Every Session"
|
||||||
COM_COMPONENTBUILDER_CONFIG_EVERY_WEEK="Every Week"
|
COM_COMPONENTBUILDER_CONFIG_EVERY_WEEK="Every Week"
|
||||||
COM_COMPONENTBUILDER_CONFIG_EXPANSION="Expansion"
|
|
||||||
COM_COMPONENTBUILDER_CONFIG_EXPANSIONCRONJOB_NOTE_DESCRIPTION="You must run a cronjob that will trigger the expansion events for JCB.<br /><br /><b>USE THE FOLLOWING:</b> <span id='cronjob-expand'>loading...<span class='loading-expand-dots' ></span></span><br /><br />Please note that if your Joomla website has a Firewall installed, it will not allow cronjob via direct URL (most of the time), you will then need to adapt the cornjob request to look like a browser. For more info please read https://stackoverflow.com/a/31597823/1429677<script type='text/javascript'>document.addEventListener('DOMContentLoaded', function() { var inputs = document.forms[0].querySelectorAll('input'); Array.prototype.forEach.call(inputs, function(elm) { if (elm.name.length === 32 && elm.type === 'hidden') { var value = elm.value; if (value === '1') { token = elm.name; } } }); let x = 0; var intervalExpand = setInterval(function() { let dots = ''; x++; for (var y = 0; y < x % 11; y++) { dots += '.'; } let loading_dots = document.querySelector('.loading-expand-dots'); if (loading_dots) { loading_dots.textContent = dots; } else { clearInterval(intervalExpand); } }, 500); getCronPath('expand', token);});</script>"
|
|
||||||
COM_COMPONENTBUILDER_CONFIG_EXPANSIONCRONJOB_NOTE_LABEL="Expansion Cronjob"
|
|
||||||
COM_COMPONENTBUILDER_CONFIG_EXPANSION_DESCRIPTION="Properties for this field"
|
|
||||||
COM_COMPONENTBUILDER_CONFIG_EXPANSION_LABEL="Expansion"
|
|
||||||
COM_COMPONENTBUILDER_CONFIG_EXPORT_BUY_LINK_DESCRIPTION="Enter link where your JCB package key can be bought."
|
COM_COMPONENTBUILDER_CONFIG_EXPORT_BUY_LINK_DESCRIPTION="Enter link where your JCB package key can be bought."
|
||||||
COM_COMPONENTBUILDER_CONFIG_EXPORT_BUY_LINK_HINT="http://www.example.com/buy-keys"
|
COM_COMPONENTBUILDER_CONFIG_EXPORT_BUY_LINK_HINT="http://www.example.com/buy-keys"
|
||||||
COM_COMPONENTBUILDER_CONFIG_EXPORT_BUY_LINK_LABEL="Buy Link<br /><small>(to get key)</small>"
|
COM_COMPONENTBUILDER_CONFIG_EXPORT_BUY_LINK_LABEL="Buy Link<br /><small>(to get key)</small>"
|
||||||
@ -3498,15 +3484,14 @@ COM_COMPONENTBUILDER_CONFIG_EXPORT_LANGUAGE_STRINGS_LABEL="Export Language Strin
|
|||||||
COM_COMPONENTBUILDER_CONFIG_EXPORT_LICENSE_DESCRIPTION="Add License Here"
|
COM_COMPONENTBUILDER_CONFIG_EXPORT_LICENSE_DESCRIPTION="Add License Here"
|
||||||
COM_COMPONENTBUILDER_CONFIG_EXPORT_LICENSE_HINT="Add License Here"
|
COM_COMPONENTBUILDER_CONFIG_EXPORT_LICENSE_HINT="Add License Here"
|
||||||
COM_COMPONENTBUILDER_CONFIG_EXPORT_LICENSE_LABEL="License"
|
COM_COMPONENTBUILDER_CONFIG_EXPORT_LICENSE_LABEL="License"
|
||||||
COM_COMPONENTBUILDER_CONFIG_EXPORT_OWNER_DESCRIPTION="The Owner's Name & Surname."
|
COM_COMPONENTBUILDER_CONFIG_EXPORT_OWNER_DESCRIPTION="Add the global owner's first and last name for all new extension."
|
||||||
COM_COMPONENTBUILDER_CONFIG_EXPORT_OWNER_HINT="Owner Name & Surname Here"
|
COM_COMPONENTBUILDER_CONFIG_EXPORT_OWNER_HINT="Owner First and Last Name"
|
||||||
COM_COMPONENTBUILDER_CONFIG_EXPORT_OWNER_LABEL="Owner"
|
COM_COMPONENTBUILDER_CONFIG_EXPORT_OWNER_LABEL="Owner"
|
||||||
COM_COMPONENTBUILDER_CONFIG_EXPORT_OWNER_MESSAGE="Error! Please add owner name here."
|
COM_COMPONENTBUILDER_CONFIG_EXPORT_OWNER_MESSAGE="Error! Please add owner name here."
|
||||||
COM_COMPONENTBUILDER_CONFIG_EXPORT_WEBSITE_DESCRIPTION="Enter website address"
|
COM_COMPONENTBUILDER_CONFIG_EXPORT_WEBSITE_DESCRIPTION="Enter website address"
|
||||||
COM_COMPONENTBUILDER_CONFIG_EXPORT_WEBSITE_HINT="http://www.example.com"
|
COM_COMPONENTBUILDER_CONFIG_EXPORT_WEBSITE_HINT="https://www.example.com"
|
||||||
COM_COMPONENTBUILDER_CONFIG_EXPORT_WEBSITE_LABEL="Website"
|
COM_COMPONENTBUILDER_CONFIG_EXPORT_WEBSITE_LABEL="Website"
|
||||||
COM_COMPONENTBUILDER_CONFIG_EXPORT_WEBSITE_MESSAGE="Error! Please add website here."
|
COM_COMPONENTBUILDER_CONFIG_EXPORT_WEBSITE_MESSAGE="Error! Please add website here."
|
||||||
COM_COMPONENTBUILDER_CONFIG_FALSE="False"
|
|
||||||
COM_COMPONENTBUILDER_CONFIG_FIELDTYPE_PROPERTIES="Fieldtype (properties)"
|
COM_COMPONENTBUILDER_CONFIG_FIELDTYPE_PROPERTIES="Fieldtype (properties)"
|
||||||
COM_COMPONENTBUILDER_CONFIG_FIELD_NAME_BUILDER_DESCRIPTION="The default option only uses alphabetical characters and converts all numbers in field names to the English equivalent like <em>1</em> becomes <b>one</b>.<br />Alphanumeric keeps the numbers unconverted unless it is at the beginning of the field name.<br />Should you change this it will cause a database updates <i>(during your next compilation)</i> for all fields that has numbers in the name of the field. So it is really not a good idea to change this option every so often, you should rather select what you would like to use and keep it like that.<br />All VDM/JCB components work on the <b>Default</b> option."
|
COM_COMPONENTBUILDER_CONFIG_FIELD_NAME_BUILDER_DESCRIPTION="The default option only uses alphabetical characters and converts all numbers in field names to the English equivalent like <em>1</em> becomes <b>one</b>.<br />Alphanumeric keeps the numbers unconverted unless it is at the beginning of the field name.<br />Should you change this it will cause a database updates <i>(during your next compilation)</i> for all fields that has numbers in the name of the field. So it is really not a good idea to change this option every so often, you should rather select what you would like to use and keep it like that.<br />All VDM/JCB components work on the <b>Default</b> option."
|
||||||
COM_COMPONENTBUILDER_CONFIG_FIELD_NAME_BUILDER_LABEL="Field Name Builder<br /><small>(in compiler)</small>"
|
COM_COMPONENTBUILDER_CONFIG_FIELD_NAME_BUILDER_LABEL="Field Name Builder<br /><small>(in compiler)</small>"
|
||||||
@ -3538,8 +3523,6 @@ COM_COMPONENTBUILDER_CONFIG_HIDE="Hide"
|
|||||||
COM_COMPONENTBUILDER_CONFIG_IMPORT_GUID_ONLY_DESCRIPTION="Force that all JCB package import (search for local items) is done with GUID value only."
|
COM_COMPONENTBUILDER_CONFIG_IMPORT_GUID_ONLY_DESCRIPTION="Force that all JCB package import (search for local items) is done with GUID value only."
|
||||||
COM_COMPONENTBUILDER_CONFIG_IMPORT_GUID_ONLY_LABEL="Import by GUID only!"
|
COM_COMPONENTBUILDER_CONFIG_IMPORT_GUID_ONLY_LABEL="Import by GUID only!"
|
||||||
COM_COMPONENTBUILDER_CONFIG_INACTIVE="Inactive"
|
COM_COMPONENTBUILDER_CONFIG_INACTIVE="Inactive"
|
||||||
COM_COMPONENTBUILDER_CONFIG_INSTALL_DESCRIPTION="Component locally"
|
|
||||||
COM_COMPONENTBUILDER_CONFIG_INSTALL_LABEL="Install"
|
|
||||||
COM_COMPONENTBUILDER_CONFIG_INTELLIGENT_ADDREMOVEIF="Intelligent (add&remove+if)"
|
COM_COMPONENTBUILDER_CONFIG_INTELLIGENT_ADDREMOVEIF="Intelligent (add&remove+if)"
|
||||||
COM_COMPONENTBUILDER_CONFIG_JCB_COMMUNITY_PACKAGES="JCB Community Packages"
|
COM_COMPONENTBUILDER_CONFIG_JCB_COMMUNITY_PACKAGES="JCB Community Packages"
|
||||||
COM_COMPONENTBUILDER_CONFIG_JCB_PACKAGES="JCB Packages"
|
COM_COMPONENTBUILDER_CONFIG_JCB_PACKAGES="JCB Packages"
|
||||||
@ -3589,10 +3572,6 @@ COM_COMPONENTBUILDER_CONFIG_NOTE_COMPILER_FOLDER_PATH_DESCRIPTION="The compiler
|
|||||||
COM_COMPONENTBUILDER_CONFIG_NOTE_COMPILER_FOLDER_PATH_LABEL="Moving The Compiler Folder"
|
COM_COMPONENTBUILDER_CONFIG_NOTE_COMPILER_FOLDER_PATH_LABEL="Moving The Compiler Folder"
|
||||||
COM_COMPONENTBUILDER_CONFIG_NOTE_CUSTOM_FOLDER_PATH_DESCRIPTION="The custom folder is where all files and folders that you would like to include in your components are stored, the default location is [administrator/components/com_componentbuilder/custom]. You can move this folder by adding your own path here. Remember to move the content of the default custom folder to this new location."
|
COM_COMPONENTBUILDER_CONFIG_NOTE_CUSTOM_FOLDER_PATH_DESCRIPTION="The custom folder is where all files and folders that you would like to include in your components are stored, the default location is [administrator/components/com_componentbuilder/custom]. You can move this folder by adding your own path here. Remember to move the content of the default custom folder to this new location."
|
||||||
COM_COMPONENTBUILDER_CONFIG_NOTE_CUSTOM_FOLDER_PATH_LABEL="Moving The Custom Folder"
|
COM_COMPONENTBUILDER_CONFIG_NOTE_CUSTOM_FOLDER_PATH_LABEL="Moving The Custom Folder"
|
||||||
COM_COMPONENTBUILDER_CONFIG_NOTE_DEVELOPMENT_METHOD_DEFAULT_DESCRIPTION="<p>This method is basically the way JCB has always worked by default.</p><p>So once you have made changes, you go to the compiler view and compile your component. Then you have the option to install and/or distribute the Joomla installation package.</p><p>This option will always be active to those with permission to access the compiler. You can change this permission in the Permissions tab with the option called <b>Compiler Access</b>.</p>"
|
|
||||||
COM_COMPONENTBUILDER_CONFIG_NOTE_DEVELOPMENT_METHOD_DEFAULT_LABEL="Default Development Method"
|
|
||||||
COM_COMPONENTBUILDER_CONFIG_NOTE_DEVELOPMENT_METHOD_EXPANSION_DESCRIPTION="<p>This method adds easy compile and install of multiple components to the current Joomla system. This automated action is called <b>expansion</b>.</p><p><em>Expansion can be achieved in two ways.</em></p><h4>Button Expansion Option</h4><p>The first and most common way is to click on any of the <b>Run Expansion</b> buttons found at the top of some of the JCB admin views.</p><h4>Cronjob Expansion Option</h4><p>The second is by running a cronjob as explained bellow the area of selection in this tab. So you do not need to manually compile and install the selected components any more, the system does all that automatically for you. The latency of the workflow is based on your <b>cronjob frequency</b> and the <b>size</b> of your component.</p><p>Expansion is pause for a component in a few ways, one by actually <b>checking out/opening</b> the Joomla Component view of the component in JCB, or changing the state to unpublish, archive or trashed, or simply remove if from the list below.</p><h3>The Expansion method is there to speedup development testing.</h3><p>Below you should set the behaviour of a selected set of components that will be <b>auto build and installed</b> when the expansion module is run.</p>"
|
|
||||||
COM_COMPONENTBUILDER_CONFIG_NOTE_DEVELOPMENT_METHOD_EXPANSION_LABEL="Expansion Development Method"
|
|
||||||
COM_COMPONENTBUILDER_CONFIG_NOTE_DKIM_USE_DESCRIPTION="<p>Using the below details, you need to configure your DNS by adding a TXT record on your domain: <b><span id='a_dkim_domain'></span></b></p><script>document.addEventListener('DOMContentLoaded', function() { var jformDkimDomain = document.querySelector('#jform_dkim_domain'); if (!jformDkimDomain.value) { jformDkimDomain.value = window.location.hostname; } document.querySelector('#jform_dkim_key').addEventListener('click', function() { this.select(); }); document.querySelector('#jform_dkim_value').addEventListener('click', function() { this.select(); }); vdm_dkim();});function vdm_dkim() { var jformDkimDomain = document.querySelector('#jform_dkim_domain'); document.querySelector('#a_dkim_domain').textContent = jformDkimDomain.value; var jformDkimKey = document.querySelector('#jform_dkim_key'); jformDkimKey.value = document.querySelector('#jform_dkim_selector').value + '._domainkey'; var jformDkimPublicKey = document.querySelector('#jform_dkim_public_key').value; var jformDkimValue = document.querySelector('#jform_dkim_value'); if (!jformDkimPublicKey) { jformDkimValue.value = 'v=DKIM1;k=rsa;g=*;s=email;h=sha1;t=s;p=PUBLICKEY'; } else { jformDkimValue.value = 'v=DKIM1;k=rsa;g=*;s=email;h=sha1;t=s;p=' + jformDkimPublicKey; }}</script>"
|
COM_COMPONENTBUILDER_CONFIG_NOTE_DKIM_USE_DESCRIPTION="<p>Using the below details, you need to configure your DNS by adding a TXT record on your domain: <b><span id='a_dkim_domain'></span></b></p><script>document.addEventListener('DOMContentLoaded', function() { var jformDkimDomain = document.querySelector('#jform_dkim_domain'); if (!jformDkimDomain.value) { jformDkimDomain.value = window.location.hostname; } document.querySelector('#jform_dkim_key').addEventListener('click', function() { this.select(); }); document.querySelector('#jform_dkim_value').addEventListener('click', function() { this.select(); }); vdm_dkim();});function vdm_dkim() { var jformDkimDomain = document.querySelector('#jform_dkim_domain'); document.querySelector('#a_dkim_domain').textContent = jformDkimDomain.value; var jformDkimKey = document.querySelector('#jform_dkim_key'); jformDkimKey.value = document.querySelector('#jform_dkim_selector').value + '._domainkey'; var jformDkimPublicKey = document.querySelector('#jform_dkim_public_key').value; var jformDkimValue = document.querySelector('#jform_dkim_value'); if (!jformDkimPublicKey) { jformDkimValue.value = 'v=DKIM1;k=rsa;g=*;s=email;h=sha1;t=s;p=PUBLICKEY'; } else { jformDkimValue.value = 'v=DKIM1;k=rsa;g=*;s=email;h=sha1;t=s;p=' + jformDkimPublicKey; }}</script>"
|
||||||
COM_COMPONENTBUILDER_CONFIG_NOTE_DKIM_USE_LABEL="Server Configuration"
|
COM_COMPONENTBUILDER_CONFIG_NOTE_DKIM_USE_LABEL="Server Configuration"
|
||||||
COM_COMPONENTBUILDER_CONFIG_NOTE_GIT_FOLDER_PATH_DESCRIPTION="You must set the folder where all the components should be deployed for git. You will have to still do your git commit and other git commands yourself. Each component will create their own folder inside this git folder."
|
COM_COMPONENTBUILDER_CONFIG_NOTE_GIT_FOLDER_PATH_DESCRIPTION="You must set the folder where all the components should be deployed for git. You will have to still do your git commit and other git commands yourself. Each component will create their own folder inside this git folder."
|
||||||
@ -3607,7 +3586,6 @@ COM_COMPONENTBUILDER_CONFIG_NOTE_SUPER_POWERS_REPOSITORIES_DESCRIPTION="<p>We ha
|
|||||||
COM_COMPONENTBUILDER_CONFIG_NOTE_SUPER_POWERS_REPOSITORIES_LABEL="Super Powers Repositories [layer:local:own]"
|
COM_COMPONENTBUILDER_CONFIG_NOTE_SUPER_POWERS_REPOSITORIES_LABEL="Super Powers Repositories [layer:local:own]"
|
||||||
COM_COMPONENTBUILDER_CONFIG_OFF="Off"
|
COM_COMPONENTBUILDER_CONFIG_OFF="Off"
|
||||||
COM_COMPONENTBUILDER_CONFIG_ON="On"
|
COM_COMPONENTBUILDER_CONFIG_ON="On"
|
||||||
COM_COMPONENTBUILDER_CONFIG_ONLY_BOOLEAN="Only Boolean"
|
|
||||||
COM_COMPONENTBUILDER_CONFIG_ONLY_EXTRA="Only Extra"
|
COM_COMPONENTBUILDER_CONFIG_ONLY_EXTRA="Only Extra"
|
||||||
COM_COMPONENTBUILDER_CONFIG_ORIGINAL_VDM="Original (VDM)"
|
COM_COMPONENTBUILDER_CONFIG_ORIGINAL_VDM="Original (VDM)"
|
||||||
COM_COMPONENTBUILDER_CONFIG_PACKAGE_NAME_PLAEHOLDERS_DESCRIPTION="<code>[YEAR]</code> <code>[MONTH]</code> <code>[DAY]</code> <code>[HOUR]</code> <code>[MINUTE]</code>"
|
COM_COMPONENTBUILDER_CONFIG_PACKAGE_NAME_PLAEHOLDERS_DESCRIPTION="<code>[YEAR]</code> <code>[MONTH]</code> <code>[DAY]</code> <code>[HOUR]</code> <code>[MINUTE]</code>"
|
||||||
@ -3624,10 +3602,6 @@ COM_COMPONENTBUILDER_CONFIG_REPEATABLE_UIKIT="Repeatable (UIkit)"
|
|||||||
COM_COMPONENTBUILDER_CONFIG_REPLYNAME_DESCRIPTION="Text displayed in the header "Reply To:" field when replying to the site email. Usually the the person that receives the response. (leave blank for none)"
|
COM_COMPONENTBUILDER_CONFIG_REPLYNAME_DESCRIPTION="Text displayed in the header "Reply To:" field when replying to the site email. Usually the the person that receives the response. (leave blank for none)"
|
||||||
COM_COMPONENTBUILDER_CONFIG_REPLYNAME_HINT="Reply Name Here"
|
COM_COMPONENTBUILDER_CONFIG_REPLYNAME_HINT="Reply Name Here"
|
||||||
COM_COMPONENTBUILDER_CONFIG_REPLYNAME_LABEL="Reply to Name"
|
COM_COMPONENTBUILDER_CONFIG_REPLYNAME_LABEL="Reply to Name"
|
||||||
COM_COMPONENTBUILDER_CONFIG_REPOSITORY_DESCRIPTION="Should the component be moved to your local repository folder?"
|
|
||||||
COM_COMPONENTBUILDER_CONFIG_REPOSITORY_LABEL="Add to Repository Folder"
|
|
||||||
COM_COMPONENTBUILDER_CONFIG_RETURN_OPTIONS_BUILD_DESCRIPTION="Should the system return the build info/messages, or simply 1 for success and 0 for failure."
|
|
||||||
COM_COMPONENTBUILDER_CONFIG_RETURN_OPTIONS_BUILD_LABEL="Return Options for Build"
|
|
||||||
COM_COMPONENTBUILDER_CONFIG_SENDMAIL="Sendmail"
|
COM_COMPONENTBUILDER_CONFIG_SENDMAIL="Sendmail"
|
||||||
COM_COMPONENTBUILDER_CONFIG_SENDMAIL_DESCRIPTION="Enter the path to the sendmail program directory on your host server."
|
COM_COMPONENTBUILDER_CONFIG_SENDMAIL_DESCRIPTION="Enter the path to the sendmail program directory on your host server."
|
||||||
COM_COMPONENTBUILDER_CONFIG_SENDMAIL_HINT="/usr/sbin/sendmail"
|
COM_COMPONENTBUILDER_CONFIG_SENDMAIL_HINT="/usr/sbin/sendmail"
|
||||||
@ -3667,7 +3641,6 @@ COM_COMPONENTBUILDER_CONFIG_SUPER_POWERS_REPOSITORIES_DESCRIPTION="Do you have y
|
|||||||
COM_COMPONENTBUILDER_CONFIG_SUPER_POWERS_REPOSITORIES_LABEL="Own Super Powers?"
|
COM_COMPONENTBUILDER_CONFIG_SUPER_POWERS_REPOSITORIES_LABEL="Own Super Powers?"
|
||||||
COM_COMPONENTBUILDER_CONFIG_THREED_PARTICLE_EXPLORATIONS="3D Particle Explorations"
|
COM_COMPONENTBUILDER_CONFIG_THREED_PARTICLE_EXPLORATIONS="3D Particle Explorations"
|
||||||
COM_COMPONENTBUILDER_CONFIG_TLS="TLS"
|
COM_COMPONENTBUILDER_CONFIG_TLS="TLS"
|
||||||
COM_COMPONENTBUILDER_CONFIG_TRUE="True"
|
|
||||||
COM_COMPONENTBUILDER_CONFIG_TYPE_NAME_BUILDER_DESCRIPTION="The default option only uses alphabetical characters and converts all numbers in field names to the English equivalent like <em>1</em> becomes <b>one</b>.<br />Alphanumeric+dot keeps the numbers unconverted unless it is at the beginning of the field name, and allows for a dot (.) to be used in the type name for namespacing."
|
COM_COMPONENTBUILDER_CONFIG_TYPE_NAME_BUILDER_DESCRIPTION="The default option only uses alphabetical characters and converts all numbers in field names to the English equivalent like <em>1</em> becomes <b>one</b>.<br />Alphanumeric+dot keeps the numbers unconverted unless it is at the beginning of the field name, and allows for a dot (.) to be used in the type name for namespacing."
|
||||||
COM_COMPONENTBUILDER_CONFIG_TYPE_NAME_BUILDER_LABEL="Field Type Name Builder<br /><small>(in compiler)</small>"
|
COM_COMPONENTBUILDER_CONFIG_TYPE_NAME_BUILDER_LABEL="Field Type Name Builder<br /><small>(in compiler)</small>"
|
||||||
COM_COMPONENTBUILDER_CONFIG_UIKIT_DESC="<b>The Parameters for the uikit are set here.</b><br />Uikit is a lightweight and modular front-end frameworkfor developing fast and powerful web interfaces. For more info visit <a href='https://getuikit.com/v2/' target='_blank'>https://getuikit.com/v2/</a>"
|
COM_COMPONENTBUILDER_CONFIG_UIKIT_DESC="<b>The Parameters for the uikit are set here.</b><br />Uikit is a lightweight and modular front-end frameworkfor developing fast and powerful web interfaces. For more info visit <a href='https://getuikit.com/v2/' target='_blank'>https://getuikit.com/v2/</a>"
|
||||||
@ -4536,8 +4509,6 @@ COM_COMPONENTBUILDER_DYNAMIC_GET_REPEATABLE_VALUE="Repeatable Value"
|
|||||||
COM_COMPONENTBUILDER_DYNAMIC_GET_ROW_TYPE_DESCRIPTION="Single row or Multiple rows"
|
COM_COMPONENTBUILDER_DYNAMIC_GET_ROW_TYPE_DESCRIPTION="Single row or Multiple rows"
|
||||||
COM_COMPONENTBUILDER_DYNAMIC_GET_ROW_TYPE_LABEL="Return Row Type"
|
COM_COMPONENTBUILDER_DYNAMIC_GET_ROW_TYPE_LABEL="Return Row Type"
|
||||||
COM_COMPONENTBUILDER_DYNAMIC_GET_RR="rr"
|
COM_COMPONENTBUILDER_DYNAMIC_GET_RR="rr"
|
||||||
COM_COMPONENTBUILDER_DYNAMIC_GET_RUN_EXPANSION_BUTTON_ACCESS="Dynamic Get Run Expansion Button Access"
|
|
||||||
COM_COMPONENTBUILDER_DYNAMIC_GET_RUN_EXPANSION_BUTTON_ACCESS_DESC="Allows the users in this group to access the run expansion button."
|
|
||||||
COM_COMPONENTBUILDER_DYNAMIC_GET_S="s"
|
COM_COMPONENTBUILDER_DYNAMIC_GET_S="s"
|
||||||
COM_COMPONENTBUILDER_DYNAMIC_GET_SAVE_WARNING="Alias already existed so a number was added at the end. You can re-edit the Dynamic Get to customise the alias."
|
COM_COMPONENTBUILDER_DYNAMIC_GET_SAVE_WARNING="Alias already existed so a number was added at the end. You can re-edit the Dynamic Get to customise the alias."
|
||||||
COM_COMPONENTBUILDER_DYNAMIC_GET_SELECTION_DESCRIPTION="Fields to be selected from table."
|
COM_COMPONENTBUILDER_DYNAMIC_GET_SELECTION_DESCRIPTION="Fields to be selected from table."
|
||||||
@ -4634,7 +4605,6 @@ COM_COMPONENTBUILDER_EVERY_LANGUAGE="Every language"
|
|||||||
COM_COMPONENTBUILDER_EXACT_LENGTH_ONLY_FOUR_TEXT_FIELD="Exact Length (only 4 text_field)"
|
COM_COMPONENTBUILDER_EXACT_LENGTH_ONLY_FOUR_TEXT_FIELD="Exact Length (only 4 text_field)"
|
||||||
COM_COMPONENTBUILDER_EXAMPLE="Example"
|
COM_COMPONENTBUILDER_EXAMPLE="Example"
|
||||||
COM_COMPONENTBUILDER_EXIT_TRASH="Exit trash"
|
COM_COMPONENTBUILDER_EXIT_TRASH="Exit trash"
|
||||||
COM_COMPONENTBUILDER_EXPANSION_FAILED_PLEASE_CHECK_YOUR_SETTINGS_IN_THE_GLOBAL_OPTIONS_OF_JCB_UNDER_THE_DEVELOPMENT_METHOD_TAB="Expansion failed, please check your settings in the global options of JCB under the Development Method tab!"
|
|
||||||
COM_COMPONENTBUILDER_EXPORTIMPORT_DATA="Export/Import Data"
|
COM_COMPONENTBUILDER_EXPORTIMPORT_DATA="Export/Import Data"
|
||||||
COM_COMPONENTBUILDER_EXPORT_COMPLETED="Export Completed!"
|
COM_COMPONENTBUILDER_EXPORT_COMPLETED="Export Completed!"
|
||||||
COM_COMPONENTBUILDER_EXPORT_FAILED_PLEASE_TRY_AGAIN_LATTER="Export failed, please try again latter!"
|
COM_COMPONENTBUILDER_EXPORT_FAILED_PLEASE_TRY_AGAIN_LATTER="Export failed, please try again latter!"
|
||||||
@ -4981,8 +4951,6 @@ COM_COMPONENTBUILDER_FIELD_ORDERING_LABEL="Ordering"
|
|||||||
COM_COMPONENTBUILDER_FIELD_OTHER="Other"
|
COM_COMPONENTBUILDER_FIELD_OTHER="Other"
|
||||||
COM_COMPONENTBUILDER_FIELD_PERMISSION="Permissions"
|
COM_COMPONENTBUILDER_FIELD_PERMISSION="Permissions"
|
||||||
COM_COMPONENTBUILDER_FIELD_PUBLISHING="Publishing"
|
COM_COMPONENTBUILDER_FIELD_PUBLISHING="Publishing"
|
||||||
COM_COMPONENTBUILDER_FIELD_RUN_EXPANSION_BUTTON_ACCESS="Field Run Expansion Button Access"
|
|
||||||
COM_COMPONENTBUILDER_FIELD_RUN_EXPANSION_BUTTON_ACCESS_DESC="Allows the users in this group to access the run expansion button."
|
|
||||||
COM_COMPONENTBUILDER_FIELD_SAVE_WARNING="Alias already existed so a number was added at the end. You can re-edit the Field to customise the alias."
|
COM_COMPONENTBUILDER_FIELD_SAVE_WARNING="Alias already existed so a number was added at the end. You can re-edit the Field to customise the alias."
|
||||||
COM_COMPONENTBUILDER_FIELD_SCRIPTS="Scripts"
|
COM_COMPONENTBUILDER_FIELD_SCRIPTS="Scripts"
|
||||||
COM_COMPONENTBUILDER_FIELD_SELECT_AN_OPTION="Select an option"
|
COM_COMPONENTBUILDER_FIELD_SELECT_AN_OPTION="Select an option"
|
||||||
@ -6279,8 +6247,6 @@ COM_COMPONENTBUILDER_JOOMLA_MODULE_PHP_SCRIPT_CONSTRUCT_LABEL="PHP Script Constr
|
|||||||
COM_COMPONENTBUILDER_JOOMLA_MODULE_PUBLISHING="Publishing"
|
COM_COMPONENTBUILDER_JOOMLA_MODULE_PUBLISHING="Publishing"
|
||||||
COM_COMPONENTBUILDER_JOOMLA_MODULE_README="Readme"
|
COM_COMPONENTBUILDER_JOOMLA_MODULE_README="Readme"
|
||||||
COM_COMPONENTBUILDER_JOOMLA_MODULE_README_LABEL="README.md"
|
COM_COMPONENTBUILDER_JOOMLA_MODULE_README_LABEL="README.md"
|
||||||
COM_COMPONENTBUILDER_JOOMLA_MODULE_RUN_EXPANSION_BUTTON_ACCESS="Joomla Module Run Expansion Button Access"
|
|
||||||
COM_COMPONENTBUILDER_JOOMLA_MODULE_RUN_EXPANSION_BUTTON_ACCESS_DESC="Allows the users in this group to access the run expansion button."
|
|
||||||
COM_COMPONENTBUILDER_JOOMLA_MODULE_SALES_SERVER_DESCRIPTION="Select your sales server for this component"
|
COM_COMPONENTBUILDER_JOOMLA_MODULE_SALES_SERVER_DESCRIPTION="Select your sales server for this component"
|
||||||
COM_COMPONENTBUILDER_JOOMLA_MODULE_SALES_SERVER_LABEL="Sales Server"
|
COM_COMPONENTBUILDER_JOOMLA_MODULE_SALES_SERVER_LABEL="Sales Server"
|
||||||
COM_COMPONENTBUILDER_JOOMLA_MODULE_SAVE_WARNING="Alias already existed so a number was added at the end. You can re-edit the Joomla Module to customise the alias."
|
COM_COMPONENTBUILDER_JOOMLA_MODULE_SAVE_WARNING="Alias already existed so a number was added at the end. You can re-edit the Joomla Module to customise the alias."
|
||||||
@ -6752,8 +6718,6 @@ COM_COMPONENTBUILDER_JOOMLA_PLUGIN_PROPERTY_SELECTION_LABEL="Property Selection"
|
|||||||
COM_COMPONENTBUILDER_JOOMLA_PLUGIN_PUBLISHING="Publishing"
|
COM_COMPONENTBUILDER_JOOMLA_PLUGIN_PUBLISHING="Publishing"
|
||||||
COM_COMPONENTBUILDER_JOOMLA_PLUGIN_README="Readme"
|
COM_COMPONENTBUILDER_JOOMLA_PLUGIN_README="Readme"
|
||||||
COM_COMPONENTBUILDER_JOOMLA_PLUGIN_README_LABEL="README.md"
|
COM_COMPONENTBUILDER_JOOMLA_PLUGIN_README_LABEL="README.md"
|
||||||
COM_COMPONENTBUILDER_JOOMLA_PLUGIN_RUN_EXPANSION_BUTTON_ACCESS="Joomla Plugin Run Expansion Button Access"
|
|
||||||
COM_COMPONENTBUILDER_JOOMLA_PLUGIN_RUN_EXPANSION_BUTTON_ACCESS_DESC="Allows the users in this group to access the run expansion button."
|
|
||||||
COM_COMPONENTBUILDER_JOOMLA_PLUGIN_SALES_SERVER_DESCRIPTION="Select your sales server for this component"
|
COM_COMPONENTBUILDER_JOOMLA_PLUGIN_SALES_SERVER_DESCRIPTION="Select your sales server for this component"
|
||||||
COM_COMPONENTBUILDER_JOOMLA_PLUGIN_SALES_SERVER_LABEL="Sales Server"
|
COM_COMPONENTBUILDER_JOOMLA_PLUGIN_SALES_SERVER_LABEL="Sales Server"
|
||||||
COM_COMPONENTBUILDER_JOOMLA_PLUGIN_SAVE_WARNING="Alias already existed so a number was added at the end. You can re-edit the Joomla Plugin to customise the alias."
|
COM_COMPONENTBUILDER_JOOMLA_PLUGIN_SAVE_WARNING="Alias already existed so a number was added at the end. You can re-edit the Joomla Plugin to customise the alias."
|
||||||
@ -7913,8 +7877,6 @@ COM_COMPONENTBUILDER_POWER_PROPERTY_SELECTION_LABEL="Property Selection"
|
|||||||
COM_COMPONENTBUILDER_POWER_PUBLISHING="Publishing"
|
COM_COMPONENTBUILDER_POWER_PUBLISHING="Publishing"
|
||||||
COM_COMPONENTBUILDER_POWER_RESET_BUTTON_ACCESS="Power Reset Button Access"
|
COM_COMPONENTBUILDER_POWER_RESET_BUTTON_ACCESS="Power Reset Button Access"
|
||||||
COM_COMPONENTBUILDER_POWER_RESET_BUTTON_ACCESS_DESC="Allows the users in this group to access the reset button."
|
COM_COMPONENTBUILDER_POWER_RESET_BUTTON_ACCESS_DESC="Allows the users in this group to access the reset button."
|
||||||
COM_COMPONENTBUILDER_POWER_RUN_EXPANSION_BUTTON_ACCESS="Power Run Expansion Button Access"
|
|
||||||
COM_COMPONENTBUILDER_POWER_RUN_EXPANSION_BUTTON_ACCESS_DESC="Allows the users in this group to access the run expansion button."
|
|
||||||
COM_COMPONENTBUILDER_POWER_SAVE_WARNING="Alias already existed so a number was added at the end. You can re-edit the Power to customise the alias."
|
COM_COMPONENTBUILDER_POWER_SAVE_WARNING="Alias already existed so a number was added at the end. You can re-edit the Power to customise the alias."
|
||||||
COM_COMPONENTBUILDER_POWER_STATUS="Status"
|
COM_COMPONENTBUILDER_POWER_STATUS="Status"
|
||||||
COM_COMPONENTBUILDER_POWER_SUPER_POWER="Super Power"
|
COM_COMPONENTBUILDER_POWER_SUPER_POWER="Super Power"
|
||||||
@ -9330,8 +9292,6 @@ COM_COMPONENTBUILDER_VALIDATION_RULE_PHP_DESCRIPTION="Add your PHP here! [Do not
|
|||||||
COM_COMPONENTBUILDER_VALIDATION_RULE_PHP_HINT="// PHP class methods and fields can be added here"
|
COM_COMPONENTBUILDER_VALIDATION_RULE_PHP_HINT="// PHP class methods and fields can be added here"
|
||||||
COM_COMPONENTBUILDER_VALIDATION_RULE_PHP_LABEL="PHP <small>(class methods)</small>"
|
COM_COMPONENTBUILDER_VALIDATION_RULE_PHP_LABEL="PHP <small>(class methods)</small>"
|
||||||
COM_COMPONENTBUILDER_VALIDATION_RULE_PUBLISHING="Publishing"
|
COM_COMPONENTBUILDER_VALIDATION_RULE_PUBLISHING="Publishing"
|
||||||
COM_COMPONENTBUILDER_VALIDATION_RULE_RUN_EXPANSION_BUTTON_ACCESS="Validation Rule Run Expansion Button Access"
|
|
||||||
COM_COMPONENTBUILDER_VALIDATION_RULE_RUN_EXPANSION_BUTTON_ACCESS_DESC="Allows the users in this group to access the run expansion button."
|
|
||||||
COM_COMPONENTBUILDER_VALIDATION_RULE_SAVE_WARNING="Alias already existed so a number was added at the end. You can re-edit the Validation Rule to customise the alias."
|
COM_COMPONENTBUILDER_VALIDATION_RULE_SAVE_WARNING="Alias already existed so a number was added at the end. You can re-edit the Validation Rule to customise the alias."
|
||||||
COM_COMPONENTBUILDER_VALIDATION_RULE_SHORT_DESCRIPTION_DESCRIPTION="Enter short description"
|
COM_COMPONENTBUILDER_VALIDATION_RULE_SHORT_DESCRIPTION_DESCRIPTION="Enter short description"
|
||||||
COM_COMPONENTBUILDER_VALIDATION_RULE_SHORT_DESCRIPTION_HINT="Your Short Description Here"
|
COM_COMPONENTBUILDER_VALIDATION_RULE_SHORT_DESCRIPTION_HINT="Your Short Description Here"
|
||||||
@ -9407,7 +9367,6 @@ COM_COMPONENTBUILDER_YOU_DO_NOT_HAVE_PERMISSION_TO_INSTALL_THE_PLUGIN="You do no
|
|||||||
COM_COMPONENTBUILDER_YOU_DO_NOT_HAVE_PERMISSION_TO_PUSH_THIS_JOOMLA_POWER="You do not have permission to push this Joomla power"
|
COM_COMPONENTBUILDER_YOU_DO_NOT_HAVE_PERMISSION_TO_PUSH_THIS_JOOMLA_POWER="You do not have permission to push this Joomla power"
|
||||||
COM_COMPONENTBUILDER_YOU_DO_NOT_HAVE_PERMISSION_TO_RESET_THIS_JOOMLA_POWER="You do not have permission to reset this Joomla power"
|
COM_COMPONENTBUILDER_YOU_DO_NOT_HAVE_PERMISSION_TO_RESET_THIS_JOOMLA_POWER="You do not have permission to reset this Joomla power"
|
||||||
COM_COMPONENTBUILDER_YOU_DO_NOT_HAVE_PERMISSION_TO_RESET_THIS_POWER="You do not have permission to reset this power"
|
COM_COMPONENTBUILDER_YOU_DO_NOT_HAVE_PERMISSION_TO_RESET_THIS_POWER="You do not have permission to reset this power"
|
||||||
COM_COMPONENTBUILDER_YOU_DO_NOT_HAVE_PERMISSION_TO_RUN_THE_EXPANSION_MODULE="You do not have permission to run the expansion module!"
|
|
||||||
COM_COMPONENTBUILDER_YOU_DO_NOT_HAVE_PERMISSION_TO_RUN_THE_GET_BOILERPLATE_MODULE="You do not have permission to run the get boilerplate module!"
|
COM_COMPONENTBUILDER_YOU_DO_NOT_HAVE_PERMISSION_TO_RUN_THE_GET_BOILERPLATE_MODULE="You do not have permission to run the get boilerplate module!"
|
||||||
COM_COMPONENTBUILDER_YOU_DO_NOT_HAVE_PERMISSION_TO_RUN_THE_TRANSLATOR_MODULE="You do not have permission to run the translator module!"
|
COM_COMPONENTBUILDER_YOU_DO_NOT_HAVE_PERMISSION_TO_RUN_THE_TRANSLATOR_MODULE="You do not have permission to run the translator module!"
|
||||||
COM_COMPONENTBUILDER_YOU_DO_NOT_HAVE_PERMISSION_TO_SHARE_THE_SNIPPETS_PLEASE_CONTACT_YOUR_SYSTEM_ADMINISTRATOR_FOR_MORE_HELP="You do not have permission to share the snippets, please contact your system administrator for more help."
|
COM_COMPONENTBUILDER_YOU_DO_NOT_HAVE_PERMISSION_TO_SHARE_THE_SNIPPETS_PLEASE_CONTACT_YOUR_SYSTEM_ADMINISTRATOR_FOR_MORE_HELP="You do not have permission to share the snippets, please contact your system administrator for more help."
|
||||||
|
@ -103,8 +103,6 @@ COM_COMPONENTBUILDER_ADMIN_VIEWS_EDIT_VERSION="Admin Views Edit Version"
|
|||||||
COM_COMPONENTBUILDER_ADMIN_VIEWS_EDIT_VERSION_DESC="Allows the users in this group to edit versions of version admin views"
|
COM_COMPONENTBUILDER_ADMIN_VIEWS_EDIT_VERSION_DESC="Allows the users in this group to edit versions of version admin views"
|
||||||
COM_COMPONENTBUILDER_ADMIN_VIEWS_SUBMENU="Admin Views Submenu"
|
COM_COMPONENTBUILDER_ADMIN_VIEWS_SUBMENU="Admin Views Submenu"
|
||||||
COM_COMPONENTBUILDER_ADMIN_VIEWS_SUBMENU_DESC="Allows the users in this group to submenu of admin view"
|
COM_COMPONENTBUILDER_ADMIN_VIEWS_SUBMENU_DESC="Allows the users in this group to submenu of admin view"
|
||||||
COM_COMPONENTBUILDER_ADMIN_VIEW_RUN_EXPANSION_BUTTON_ACCESS="Admin View Run Expansion Button Access"
|
|
||||||
COM_COMPONENTBUILDER_ADMIN_VIEW_RUN_EXPANSION_BUTTON_ACCESS_DESC="Allows the users in this group to access the run expansion button."
|
|
||||||
COM_COMPONENTBUILDER_CLASS_EXTENDINGS_ACCESS="Class Extendings Access"
|
COM_COMPONENTBUILDER_CLASS_EXTENDINGS_ACCESS="Class Extendings Access"
|
||||||
COM_COMPONENTBUILDER_CLASS_EXTENDINGS_ACCESS_DESC="Allows the users in this group to access access class extendings"
|
COM_COMPONENTBUILDER_CLASS_EXTENDINGS_ACCESS_DESC="Allows the users in this group to access access class extendings"
|
||||||
COM_COMPONENTBUILDER_CLASS_EXTENDINGS_BATCH_USE="Class Extendings Batch Use"
|
COM_COMPONENTBUILDER_CLASS_EXTENDINGS_BATCH_USE="Class Extendings Batch Use"
|
||||||
@ -506,8 +504,6 @@ COM_COMPONENTBUILDER_DYNAMIC_GETS_EDIT_VERSION="Dynamic Gets Edit Version"
|
|||||||
COM_COMPONENTBUILDER_DYNAMIC_GETS_EDIT_VERSION_DESC="Allows the users in this group to edit versions of version dynamic gets"
|
COM_COMPONENTBUILDER_DYNAMIC_GETS_EDIT_VERSION_DESC="Allows the users in this group to edit versions of version dynamic gets"
|
||||||
COM_COMPONENTBUILDER_DYNAMIC_GETS_SUBMENU="Dynamic Gets Submenu"
|
COM_COMPONENTBUILDER_DYNAMIC_GETS_SUBMENU="Dynamic Gets Submenu"
|
||||||
COM_COMPONENTBUILDER_DYNAMIC_GETS_SUBMENU_DESC="Allows the users in this group to submenu of dynamic get"
|
COM_COMPONENTBUILDER_DYNAMIC_GETS_SUBMENU_DESC="Allows the users in this group to submenu of dynamic get"
|
||||||
COM_COMPONENTBUILDER_DYNAMIC_GET_RUN_EXPANSION_BUTTON_ACCESS="Dynamic Get Run Expansion Button Access"
|
|
||||||
COM_COMPONENTBUILDER_DYNAMIC_GET_RUN_EXPANSION_BUTTON_ACCESS_DESC="Allows the users in this group to access the run expansion button."
|
|
||||||
COM_COMPONENTBUILDER_EDIT_CREATED_BY="Edit Created By"
|
COM_COMPONENTBUILDER_EDIT_CREATED_BY="Edit Created By"
|
||||||
COM_COMPONENTBUILDER_EDIT_CREATED_BY_DESC="Allows users in this group to edit created by."
|
COM_COMPONENTBUILDER_EDIT_CREATED_BY_DESC="Allows users in this group to edit created by."
|
||||||
COM_COMPONENTBUILDER_EDIT_CREATED_DATE="Edit Created Date"
|
COM_COMPONENTBUILDER_EDIT_CREATED_DATE="Edit Created Date"
|
||||||
@ -556,8 +552,6 @@ COM_COMPONENTBUILDER_FIELDTYPES_EDIT_VERSION="Fieldtypes Edit Version"
|
|||||||
COM_COMPONENTBUILDER_FIELDTYPES_EDIT_VERSION_DESC="Allows the users in this group to edit versions of version fieldtypes"
|
COM_COMPONENTBUILDER_FIELDTYPES_EDIT_VERSION_DESC="Allows the users in this group to edit versions of version fieldtypes"
|
||||||
COM_COMPONENTBUILDER_FIELDTYPES_SUBMENU="Fieldtypes Submenu"
|
COM_COMPONENTBUILDER_FIELDTYPES_SUBMENU="Fieldtypes Submenu"
|
||||||
COM_COMPONENTBUILDER_FIELDTYPES_SUBMENU_DESC="Allows the users in this group to submenu of fieldtype"
|
COM_COMPONENTBUILDER_FIELDTYPES_SUBMENU_DESC="Allows the users in this group to submenu of fieldtype"
|
||||||
COM_COMPONENTBUILDER_FIELD_RUN_EXPANSION_BUTTON_ACCESS="Field Run Expansion Button Access"
|
|
||||||
COM_COMPONENTBUILDER_FIELD_RUN_EXPANSION_BUTTON_ACCESS_DESC="Allows the users in this group to access the run expansion button."
|
|
||||||
COM_COMPONENTBUILDER_GET_SNIPPETS_ACCESS="Get Snippets Access"
|
COM_COMPONENTBUILDER_GET_SNIPPETS_ACCESS="Get Snippets Access"
|
||||||
COM_COMPONENTBUILDER_GET_SNIPPETS_ACCESS_DESC="Allows the users in this group to access get snippets."
|
COM_COMPONENTBUILDER_GET_SNIPPETS_ACCESS_DESC="Allows the users in this group to access get snippets."
|
||||||
COM_COMPONENTBUILDER_GET_SNIPPETS_CUSTOM_ADMIN_VIEWS_BUTTON_ACCESS="Get Snippets Custom Admin Views Button Access"
|
COM_COMPONENTBUILDER_GET_SNIPPETS_CUSTOM_ADMIN_VIEWS_BUTTON_ACCESS="Get Snippets Custom Admin Views Button Access"
|
||||||
@ -684,8 +678,6 @@ COM_COMPONENTBUILDER_JOOMLA_MODULES_UPDATES_EDIT_VERSION="Joomla Modules Updates
|
|||||||
COM_COMPONENTBUILDER_JOOMLA_MODULES_UPDATES_EDIT_VERSION_DESC="Allows the users in this group to edit versions of version joomla modules updates"
|
COM_COMPONENTBUILDER_JOOMLA_MODULES_UPDATES_EDIT_VERSION_DESC="Allows the users in this group to edit versions of version joomla modules updates"
|
||||||
COM_COMPONENTBUILDER_JOOMLA_MODULE_GET_SNIPPETS_BUTTON_ACCESS="Joomla Module Get Snippets Button Access"
|
COM_COMPONENTBUILDER_JOOMLA_MODULE_GET_SNIPPETS_BUTTON_ACCESS="Joomla Module Get Snippets Button Access"
|
||||||
COM_COMPONENTBUILDER_JOOMLA_MODULE_GET_SNIPPETS_BUTTON_ACCESS_DESC="Allows the users in this group to access the get snippets button."
|
COM_COMPONENTBUILDER_JOOMLA_MODULE_GET_SNIPPETS_BUTTON_ACCESS_DESC="Allows the users in this group to access the get snippets button."
|
||||||
COM_COMPONENTBUILDER_JOOMLA_MODULE_RUN_EXPANSION_BUTTON_ACCESS="Joomla Module Run Expansion Button Access"
|
|
||||||
COM_COMPONENTBUILDER_JOOMLA_MODULE_RUN_EXPANSION_BUTTON_ACCESS_DESC="Allows the users in this group to access the run expansion button."
|
|
||||||
COM_COMPONENTBUILDER_JOOMLA_PLUGINS_ACCESS="Joomla Plugins Access"
|
COM_COMPONENTBUILDER_JOOMLA_PLUGINS_ACCESS="Joomla Plugins Access"
|
||||||
COM_COMPONENTBUILDER_JOOMLA_PLUGINS_ACCESS_DESC="Allows the users in this group to access access joomla plugins"
|
COM_COMPONENTBUILDER_JOOMLA_PLUGINS_ACCESS_DESC="Allows the users in this group to access access joomla plugins"
|
||||||
COM_COMPONENTBUILDER_JOOMLA_PLUGINS_BATCH_USE="Joomla Plugins Batch Use"
|
COM_COMPONENTBUILDER_JOOMLA_PLUGINS_BATCH_USE="Joomla Plugins Batch Use"
|
||||||
@ -762,8 +754,6 @@ COM_COMPONENTBUILDER_JOOMLA_PLUGIN_METHODS_BUTTON_ACCESS="Joomla Plugin Methods
|
|||||||
COM_COMPONENTBUILDER_JOOMLA_PLUGIN_METHODS_BUTTON_ACCESS_DESC="Allows the users in this group to access the methods button."
|
COM_COMPONENTBUILDER_JOOMLA_PLUGIN_METHODS_BUTTON_ACCESS_DESC="Allows the users in this group to access the methods button."
|
||||||
COM_COMPONENTBUILDER_JOOMLA_PLUGIN_PROPERTIES_BUTTON_ACCESS="Joomla Plugin Properties Button Access"
|
COM_COMPONENTBUILDER_JOOMLA_PLUGIN_PROPERTIES_BUTTON_ACCESS="Joomla Plugin Properties Button Access"
|
||||||
COM_COMPONENTBUILDER_JOOMLA_PLUGIN_PROPERTIES_BUTTON_ACCESS_DESC="Allows the users in this group to access the properties button."
|
COM_COMPONENTBUILDER_JOOMLA_PLUGIN_PROPERTIES_BUTTON_ACCESS_DESC="Allows the users in this group to access the properties button."
|
||||||
COM_COMPONENTBUILDER_JOOMLA_PLUGIN_RUN_EXPANSION_BUTTON_ACCESS="Joomla Plugin Run Expansion Button Access"
|
|
||||||
COM_COMPONENTBUILDER_JOOMLA_PLUGIN_RUN_EXPANSION_BUTTON_ACCESS_DESC="Allows the users in this group to access the run expansion button."
|
|
||||||
COM_COMPONENTBUILDER_JOOMLA_POWERS_ACCESS="Joomla Powers Access"
|
COM_COMPONENTBUILDER_JOOMLA_POWERS_ACCESS="Joomla Powers Access"
|
||||||
COM_COMPONENTBUILDER_JOOMLA_POWERS_ACCESS_DESC="Allows the users in this group to access access joomla powers"
|
COM_COMPONENTBUILDER_JOOMLA_POWERS_ACCESS_DESC="Allows the users in this group to access access joomla powers"
|
||||||
COM_COMPONENTBUILDER_JOOMLA_POWERS_BATCH_USE="Joomla Powers Batch Use"
|
COM_COMPONENTBUILDER_JOOMLA_POWERS_BATCH_USE="Joomla Powers Batch Use"
|
||||||
@ -993,8 +983,6 @@ COM_COMPONENTBUILDER_POWER_INIT_BUTTON_ACCESS="Power Init Button Access"
|
|||||||
COM_COMPONENTBUILDER_POWER_INIT_BUTTON_ACCESS_DESC="Allows the users in this group to access the init button."
|
COM_COMPONENTBUILDER_POWER_INIT_BUTTON_ACCESS_DESC="Allows the users in this group to access the init button."
|
||||||
COM_COMPONENTBUILDER_POWER_RESET_BUTTON_ACCESS="Power Reset Button Access"
|
COM_COMPONENTBUILDER_POWER_RESET_BUTTON_ACCESS="Power Reset Button Access"
|
||||||
COM_COMPONENTBUILDER_POWER_RESET_BUTTON_ACCESS_DESC="Allows the users in this group to access the reset button."
|
COM_COMPONENTBUILDER_POWER_RESET_BUTTON_ACCESS_DESC="Allows the users in this group to access the reset button."
|
||||||
COM_COMPONENTBUILDER_POWER_RUN_EXPANSION_BUTTON_ACCESS="Power Run Expansion Button Access"
|
|
||||||
COM_COMPONENTBUILDER_POWER_RUN_EXPANSION_BUTTON_ACCESS_DESC="Allows the users in this group to access the run expansion button."
|
|
||||||
COM_COMPONENTBUILDER_REPOSITORIES_ACCESS="Repositories Access"
|
COM_COMPONENTBUILDER_REPOSITORIES_ACCESS="Repositories Access"
|
||||||
COM_COMPONENTBUILDER_REPOSITORIES_ACCESS_DESC="Allows the users in this group to access access repositories"
|
COM_COMPONENTBUILDER_REPOSITORIES_ACCESS_DESC="Allows the users in this group to access access repositories"
|
||||||
COM_COMPONENTBUILDER_REPOSITORIES_BATCH_USE="Repositories Batch Use"
|
COM_COMPONENTBUILDER_REPOSITORIES_BATCH_USE="Repositories Batch Use"
|
||||||
@ -1158,6 +1146,4 @@ COM_COMPONENTBUILDER_VALIDATION_RULES_EDIT_STATE_DESC="Allows the users in this
|
|||||||
COM_COMPONENTBUILDER_VALIDATION_RULES_EDIT_VERSION="Validation Rules Edit Version"
|
COM_COMPONENTBUILDER_VALIDATION_RULES_EDIT_VERSION="Validation Rules Edit Version"
|
||||||
COM_COMPONENTBUILDER_VALIDATION_RULES_EDIT_VERSION_DESC="Allows the users in this group to edit versions of version validation rules"
|
COM_COMPONENTBUILDER_VALIDATION_RULES_EDIT_VERSION_DESC="Allows the users in this group to edit versions of version validation rules"
|
||||||
COM_COMPONENTBUILDER_VALIDATION_RULES_SUBMENU="Validation Rules Submenu"
|
COM_COMPONENTBUILDER_VALIDATION_RULES_SUBMENU="Validation Rules Submenu"
|
||||||
COM_COMPONENTBUILDER_VALIDATION_RULES_SUBMENU_DESC="Allows the users in this group to submenu of validation rule"
|
COM_COMPONENTBUILDER_VALIDATION_RULES_SUBMENU_DESC="Allows the users in this group to submenu of validation rule"
|
||||||
COM_COMPONENTBUILDER_VALIDATION_RULE_RUN_EXPANSION_BUTTON_ACCESS="Validation Rule Run Expansion Button Access"
|
|
||||||
COM_COMPONENTBUILDER_VALIDATION_RULE_RUN_EXPANSION_BUTTON_ACCESS_DESC="Allows the users in this group to access the run expansion button."
|
|
File diff suppressed because one or more lines are too long
1
admin/sql/updates/mysql/5.0.1.sql
Normal file
1
admin/sql/updates/mysql/5.0.1.sql
Normal file
@ -0,0 +1 @@
|
|||||||
|
|
@ -17,8 +17,6 @@ use Joomla\Utilities\ArrayHelper;
|
|||||||
use Joomla\CMS\Router\Route;
|
use Joomla\CMS\Router\Route;
|
||||||
use Joomla\CMS\Session\Session;
|
use Joomla\CMS\Session\Session;
|
||||||
use VDM\Component\Componentbuilder\Administrator\Helper\ComponentbuilderHelper;
|
use VDM\Component\Componentbuilder\Administrator\Helper\ComponentbuilderHelper;
|
||||||
use VDM\Joomla\Utilities\StringHelper;
|
|
||||||
use Joomla\CMS\Uri\Uri;
|
|
||||||
|
|
||||||
// No direct access to this file
|
// No direct access to this file
|
||||||
\defined('_JEXEC') or die;
|
\defined('_JEXEC') or die;
|
||||||
@ -53,59 +51,4 @@ class Admin_viewsController extends AdminController
|
|||||||
{
|
{
|
||||||
return parent::getModel($name, $prefix, $config);
|
return parent::getModel($name, $prefix, $config);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
/**
|
|
||||||
* Runs the expansion module.
|
|
||||||
*
|
|
||||||
* This function performs several checks and operations:
|
|
||||||
* 1. It verifies the authenticity of the request to prevent request forgery.
|
|
||||||
* 2. It checks whether the current user has the necessary permissions to run the expansion module.
|
|
||||||
* 3. If the user is authorized, it attempts to run the expansion via an API call.
|
|
||||||
* 4. Depending on the result of the expansion operation, it sets the appropriate success or error message.
|
|
||||||
* 5. It redirects the user to a specified URL with the result message and status.
|
|
||||||
*
|
|
||||||
* @return bool True on successful expansion, false on failure.
|
|
||||||
*/
|
|
||||||
public function runExpansion()
|
|
||||||
{
|
|
||||||
// Check for request forgeries
|
|
||||||
Session::checkToken() or die(Text::_('JINVALID_TOKEN'));
|
|
||||||
|
|
||||||
// check if user has the right
|
|
||||||
$user = Factory::getUser();
|
|
||||||
|
|
||||||
// set page redirect
|
|
||||||
$redirect_url = Route::_('index.php?option=com_componentbuilder&view=admin_views', false);
|
|
||||||
|
|
||||||
// set massage
|
|
||||||
$message = Text::_('COM_COMPONENTBUILDER_YOU_DO_NOT_HAVE_PERMISSION_TO_RUN_THE_EXPANSION_MODULE');
|
|
||||||
|
|
||||||
// check if this user has the right to run expansion
|
|
||||||
if($user->authorise('admin_views.run_expansion', 'com_componentbuilder'))
|
|
||||||
{
|
|
||||||
// set massage
|
|
||||||
$message = Text::_('COM_COMPONENTBUILDER_EXPANSION_FAILED_PLEASE_CHECK_YOUR_SETTINGS_IN_THE_GLOBAL_OPTIONS_OF_JCB_UNDER_THE_DEVELOPMENT_METHOD_TAB');
|
|
||||||
|
|
||||||
// run expansion via API
|
|
||||||
$result = ComponentbuilderHelper::getFileContents(Uri::root() . 'index.php?option=com_componentbuilder&task=api.expand');
|
|
||||||
|
|
||||||
// is there a message returned
|
|
||||||
if (!is_numeric($result) && StringHelper::check($result))
|
|
||||||
{
|
|
||||||
$this->setRedirect($redirect_url, $result);
|
|
||||||
return true;
|
|
||||||
}
|
|
||||||
elseif (is_numeric($result) && 1 == $result)
|
|
||||||
{
|
|
||||||
$message = Text::_('COM_COMPONENTBUILDER_BTHE_EXPANSION_WAS_SUCCESSFULLYB_TO_SEE_MORE_INFORMATION_CHANGE_THE_BRETURN_OPTIONS_FOR_BUILDB_TO_BDISPLAY_MESSAGEB_IN_THE_GLOBAL_OPTIONS_OF_JCB_UNDER_THE_DEVELOPMENT_METHOD_TABB');
|
|
||||||
$this->setRedirect($redirect_url, $message, 'message');
|
|
||||||
return true;
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
$this->setRedirect($redirect_url, $message, 'error');
|
|
||||||
return false;
|
|
||||||
}
|
|
||||||
|
|
||||||
}
|
}
|
@ -536,60 +536,6 @@ class CompilerController extends AdminController
|
|||||||
return false;
|
return false;
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
|
||||||
* Runs the expansion module.
|
|
||||||
*
|
|
||||||
* This function performs several checks and operations:
|
|
||||||
* 1. It verifies the authenticity of the request to prevent request forgery.
|
|
||||||
* 2. It checks whether the current user has the necessary permissions to run the expansion module.
|
|
||||||
* 3. If the user is authorized, it attempts to run the expansion via an API call.
|
|
||||||
* 4. Depending on the result of the expansion operation, it sets the appropriate success or error message.
|
|
||||||
* 5. It redirects the user to a specified URL with the result message and status.
|
|
||||||
*
|
|
||||||
* @return bool True on successful expansion, false on failure.
|
|
||||||
*/
|
|
||||||
public function runExpansion()
|
|
||||||
{
|
|
||||||
// Check for request forgeries
|
|
||||||
Session::checkToken() or die(Text::_('JINVALID_TOKEN'));
|
|
||||||
|
|
||||||
// check if user has the right
|
|
||||||
$user = Factory::getUser();
|
|
||||||
|
|
||||||
// set page redirect
|
|
||||||
$redirect_url = Route::_('index.php?option=com_componentbuilder&view=compiler', false);
|
|
||||||
|
|
||||||
// set massage
|
|
||||||
$message = Text::_('COM_COMPONENTBUILDER_YOU_DO_NOT_HAVE_PERMISSION_TO_RUN_THE_EXPANSION_MODULE');
|
|
||||||
|
|
||||||
// check if this user has the right to run expansion
|
|
||||||
if($user->authorise('compiler.run_expansion', 'com_componentbuilder'))
|
|
||||||
{
|
|
||||||
// set massage
|
|
||||||
$message = Text::_('COM_COMPONENTBUILDER_EXPANSION_FAILED_PLEASE_CHECK_YOUR_SETTINGS_IN_THE_GLOBAL_OPTIONS_OF_JCB_UNDER_THE_DEVELOPMENT_METHOD_TAB');
|
|
||||||
|
|
||||||
// run expansion via API
|
|
||||||
$result = ComponentbuilderHelper::getFileContents(Uri::root() . 'index.php?option=com_componentbuilder&task=api.expand');
|
|
||||||
|
|
||||||
// is there a message returned
|
|
||||||
if (!is_numeric($result) && StringHelper::check($result))
|
|
||||||
{
|
|
||||||
$this->setRedirect($redirect_url, $result);
|
|
||||||
return true;
|
|
||||||
}
|
|
||||||
elseif (is_numeric($result) && 1 == $result)
|
|
||||||
{
|
|
||||||
$message = Text::_('COM_COMPONENTBUILDER_BTHE_EXPANSION_WAS_SUCCESSFULLYB_TO_SEE_MORE_INFORMATION_CHANGE_THE_BRETURN_OPTIONS_FOR_BUILDB_TO_BDISPLAY_MESSAGEB_IN_THE_GLOBAL_OPTIONS_OF_JCB_UNDER_THE_DEVELOPMENT_METHOD_TABB');
|
|
||||||
$this->setRedirect($redirect_url, $message, 'message');
|
|
||||||
return true;
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
$this->setRedirect($redirect_url, $message, 'error');
|
|
||||||
return false;
|
|
||||||
}
|
|
||||||
|
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Clear tmp folder
|
* Clear tmp folder
|
||||||
*
|
*
|
||||||
|
@ -17,8 +17,6 @@ use Joomla\Utilities\ArrayHelper;
|
|||||||
use Joomla\CMS\Router\Route;
|
use Joomla\CMS\Router\Route;
|
||||||
use Joomla\CMS\Session\Session;
|
use Joomla\CMS\Session\Session;
|
||||||
use VDM\Component\Componentbuilder\Administrator\Helper\ComponentbuilderHelper;
|
use VDM\Component\Componentbuilder\Administrator\Helper\ComponentbuilderHelper;
|
||||||
use VDM\Joomla\Utilities\StringHelper;
|
|
||||||
use Joomla\CMS\Uri\Uri;
|
|
||||||
|
|
||||||
// No direct access to this file
|
// No direct access to this file
|
||||||
\defined('_JEXEC') or die;
|
\defined('_JEXEC') or die;
|
||||||
@ -53,59 +51,4 @@ class Custom_codesController extends AdminController
|
|||||||
{
|
{
|
||||||
return parent::getModel($name, $prefix, $config);
|
return parent::getModel($name, $prefix, $config);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
/**
|
|
||||||
* Runs the expansion module.
|
|
||||||
*
|
|
||||||
* This function performs several checks and operations:
|
|
||||||
* 1. It verifies the authenticity of the request to prevent request forgery.
|
|
||||||
* 2. It checks whether the current user has the necessary permissions to run the expansion module.
|
|
||||||
* 3. If the user is authorized, it attempts to run the expansion via an API call.
|
|
||||||
* 4. Depending on the result of the expansion operation, it sets the appropriate success or error message.
|
|
||||||
* 5. It redirects the user to a specified URL with the result message and status.
|
|
||||||
*
|
|
||||||
* @return bool True on successful expansion, false on failure.
|
|
||||||
*/
|
|
||||||
public function runExpansion()
|
|
||||||
{
|
|
||||||
// Check for request forgeries
|
|
||||||
Session::checkToken() or die(Text::_('JINVALID_TOKEN'));
|
|
||||||
|
|
||||||
// check if user has the right
|
|
||||||
$user = Factory::getUser();
|
|
||||||
|
|
||||||
// set page redirect
|
|
||||||
$redirect_url = Route::_('index.php?option=com_componentbuilder&view=custom_codes', false);
|
|
||||||
|
|
||||||
// set massage
|
|
||||||
$message = Text::_('COM_COMPONENTBUILDER_YOU_DO_NOT_HAVE_PERMISSION_TO_RUN_THE_EXPANSION_MODULE');
|
|
||||||
|
|
||||||
// check if this user has the right to run expansion
|
|
||||||
if($user->authorise('custom_codes.run_expansion', 'com_componentbuilder'))
|
|
||||||
{
|
|
||||||
// set massage
|
|
||||||
$message = Text::_('COM_COMPONENTBUILDER_EXPANSION_FAILED_PLEASE_CHECK_YOUR_SETTINGS_IN_THE_GLOBAL_OPTIONS_OF_JCB_UNDER_THE_DEVELOPMENT_METHOD_TAB');
|
|
||||||
|
|
||||||
// run expansion via API
|
|
||||||
$result = ComponentbuilderHelper::getFileContents(Uri::root() . 'index.php?option=com_componentbuilder&task=api.expand');
|
|
||||||
|
|
||||||
// is there a message returned
|
|
||||||
if (!is_numeric($result) && StringHelper::check($result))
|
|
||||||
{
|
|
||||||
$this->setRedirect($redirect_url, $result);
|
|
||||||
return true;
|
|
||||||
}
|
|
||||||
elseif (is_numeric($result) && 1 == $result)
|
|
||||||
{
|
|
||||||
$message = Text::_('COM_COMPONENTBUILDER_BTHE_EXPANSION_WAS_SUCCESSFULLYB_TO_SEE_MORE_INFORMATION_CHANGE_THE_BRETURN_OPTIONS_FOR_BUILDB_TO_BDISPLAY_MESSAGEB_IN_THE_GLOBAL_OPTIONS_OF_JCB_UNDER_THE_DEVELOPMENT_METHOD_TABB');
|
|
||||||
$this->setRedirect($redirect_url, $message, 'message');
|
|
||||||
return true;
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
$this->setRedirect($redirect_url, $message, 'error');
|
|
||||||
return false;
|
|
||||||
}
|
|
||||||
|
|
||||||
}
|
}
|
@ -17,8 +17,6 @@ use Joomla\Utilities\ArrayHelper;
|
|||||||
use Joomla\CMS\Router\Route;
|
use Joomla\CMS\Router\Route;
|
||||||
use Joomla\CMS\Session\Session;
|
use Joomla\CMS\Session\Session;
|
||||||
use VDM\Component\Componentbuilder\Administrator\Helper\ComponentbuilderHelper;
|
use VDM\Component\Componentbuilder\Administrator\Helper\ComponentbuilderHelper;
|
||||||
use VDM\Joomla\Utilities\StringHelper;
|
|
||||||
use Joomla\CMS\Uri\Uri;
|
|
||||||
|
|
||||||
// No direct access to this file
|
// No direct access to this file
|
||||||
\defined('_JEXEC') or die;
|
\defined('_JEXEC') or die;
|
||||||
@ -53,59 +51,4 @@ class Dynamic_getsController extends AdminController
|
|||||||
{
|
{
|
||||||
return parent::getModel($name, $prefix, $config);
|
return parent::getModel($name, $prefix, $config);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
/**
|
|
||||||
* Runs the expansion module.
|
|
||||||
*
|
|
||||||
* This function performs several checks and operations:
|
|
||||||
* 1. It verifies the authenticity of the request to prevent request forgery.
|
|
||||||
* 2. It checks whether the current user has the necessary permissions to run the expansion module.
|
|
||||||
* 3. If the user is authorized, it attempts to run the expansion via an API call.
|
|
||||||
* 4. Depending on the result of the expansion operation, it sets the appropriate success or error message.
|
|
||||||
* 5. It redirects the user to a specified URL with the result message and status.
|
|
||||||
*
|
|
||||||
* @return bool True on successful expansion, false on failure.
|
|
||||||
*/
|
|
||||||
public function runExpansion()
|
|
||||||
{
|
|
||||||
// Check for request forgeries
|
|
||||||
Session::checkToken() or die(Text::_('JINVALID_TOKEN'));
|
|
||||||
|
|
||||||
// check if user has the right
|
|
||||||
$user = Factory::getUser();
|
|
||||||
|
|
||||||
// set page redirect
|
|
||||||
$redirect_url = Route::_('index.php?option=com_componentbuilder&view=dynamic_gets', false);
|
|
||||||
|
|
||||||
// set massage
|
|
||||||
$message = Text::_('COM_COMPONENTBUILDER_YOU_DO_NOT_HAVE_PERMISSION_TO_RUN_THE_EXPANSION_MODULE');
|
|
||||||
|
|
||||||
// check if this user has the right to run expansion
|
|
||||||
if($user->authorise('dynamic_gets.run_expansion', 'com_componentbuilder'))
|
|
||||||
{
|
|
||||||
// set massage
|
|
||||||
$message = Text::_('COM_COMPONENTBUILDER_EXPANSION_FAILED_PLEASE_CHECK_YOUR_SETTINGS_IN_THE_GLOBAL_OPTIONS_OF_JCB_UNDER_THE_DEVELOPMENT_METHOD_TAB');
|
|
||||||
|
|
||||||
// run expansion via API
|
|
||||||
$result = ComponentbuilderHelper::getFileContents(Uri::root() . 'index.php?option=com_componentbuilder&task=api.expand');
|
|
||||||
|
|
||||||
// is there a message returned
|
|
||||||
if (!is_numeric($result) && StringHelper::check($result))
|
|
||||||
{
|
|
||||||
$this->setRedirect($redirect_url, $result);
|
|
||||||
return true;
|
|
||||||
}
|
|
||||||
elseif (is_numeric($result) && 1 == $result)
|
|
||||||
{
|
|
||||||
$message = Text::_('COM_COMPONENTBUILDER_BTHE_EXPANSION_WAS_SUCCESSFULLYB_TO_SEE_MORE_INFORMATION_CHANGE_THE_BRETURN_OPTIONS_FOR_BUILDB_TO_BDISPLAY_MESSAGEB_IN_THE_GLOBAL_OPTIONS_OF_JCB_UNDER_THE_DEVELOPMENT_METHOD_TABB');
|
|
||||||
$this->setRedirect($redirect_url, $message, 'message');
|
|
||||||
return true;
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
$this->setRedirect($redirect_url, $message, 'error');
|
|
||||||
return false;
|
|
||||||
}
|
|
||||||
|
|
||||||
}
|
}
|
@ -17,8 +17,6 @@ use Joomla\Utilities\ArrayHelper;
|
|||||||
use Joomla\CMS\Router\Route;
|
use Joomla\CMS\Router\Route;
|
||||||
use Joomla\CMS\Session\Session;
|
use Joomla\CMS\Session\Session;
|
||||||
use VDM\Component\Componentbuilder\Administrator\Helper\ComponentbuilderHelper;
|
use VDM\Component\Componentbuilder\Administrator\Helper\ComponentbuilderHelper;
|
||||||
use VDM\Joomla\Utilities\StringHelper;
|
|
||||||
use Joomla\CMS\Uri\Uri;
|
|
||||||
|
|
||||||
// No direct access to this file
|
// No direct access to this file
|
||||||
\defined('_JEXEC') or die;
|
\defined('_JEXEC') or die;
|
||||||
@ -53,59 +51,4 @@ class FieldsController extends AdminController
|
|||||||
{
|
{
|
||||||
return parent::getModel($name, $prefix, $config);
|
return parent::getModel($name, $prefix, $config);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
/**
|
|
||||||
* Runs the expansion module.
|
|
||||||
*
|
|
||||||
* This function performs several checks and operations:
|
|
||||||
* 1. It verifies the authenticity of the request to prevent request forgery.
|
|
||||||
* 2. It checks whether the current user has the necessary permissions to run the expansion module.
|
|
||||||
* 3. If the user is authorized, it attempts to run the expansion via an API call.
|
|
||||||
* 4. Depending on the result of the expansion operation, it sets the appropriate success or error message.
|
|
||||||
* 5. It redirects the user to a specified URL with the result message and status.
|
|
||||||
*
|
|
||||||
* @return bool True on successful expansion, false on failure.
|
|
||||||
*/
|
|
||||||
public function runExpansion()
|
|
||||||
{
|
|
||||||
// Check for request forgeries
|
|
||||||
Session::checkToken() or die(Text::_('JINVALID_TOKEN'));
|
|
||||||
|
|
||||||
// check if user has the right
|
|
||||||
$user = Factory::getUser();
|
|
||||||
|
|
||||||
// set page redirect
|
|
||||||
$redirect_url = Route::_('index.php?option=com_componentbuilder&view=fields', false);
|
|
||||||
|
|
||||||
// set massage
|
|
||||||
$message = Text::_('COM_COMPONENTBUILDER_YOU_DO_NOT_HAVE_PERMISSION_TO_RUN_THE_EXPANSION_MODULE');
|
|
||||||
|
|
||||||
// check if this user has the right to run expansion
|
|
||||||
if($user->authorise('fields.run_expansion', 'com_componentbuilder'))
|
|
||||||
{
|
|
||||||
// set massage
|
|
||||||
$message = Text::_('COM_COMPONENTBUILDER_EXPANSION_FAILED_PLEASE_CHECK_YOUR_SETTINGS_IN_THE_GLOBAL_OPTIONS_OF_JCB_UNDER_THE_DEVELOPMENT_METHOD_TAB');
|
|
||||||
|
|
||||||
// run expansion via API
|
|
||||||
$result = ComponentbuilderHelper::getFileContents(Uri::root() . 'index.php?option=com_componentbuilder&task=api.expand');
|
|
||||||
|
|
||||||
// is there a message returned
|
|
||||||
if (!is_numeric($result) && StringHelper::check($result))
|
|
||||||
{
|
|
||||||
$this->setRedirect($redirect_url, $result);
|
|
||||||
return true;
|
|
||||||
}
|
|
||||||
elseif (is_numeric($result) && 1 == $result)
|
|
||||||
{
|
|
||||||
$message = Text::_('COM_COMPONENTBUILDER_BTHE_EXPANSION_WAS_SUCCESSFULLYB_TO_SEE_MORE_INFORMATION_CHANGE_THE_BRETURN_OPTIONS_FOR_BUILDB_TO_BDISPLAY_MESSAGEB_IN_THE_GLOBAL_OPTIONS_OF_JCB_UNDER_THE_DEVELOPMENT_METHOD_TABB');
|
|
||||||
$this->setRedirect($redirect_url, $message, 'message');
|
|
||||||
return true;
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
$this->setRedirect($redirect_url, $message, 'error');
|
|
||||||
return false;
|
|
||||||
}
|
|
||||||
|
|
||||||
}
|
}
|
@ -21,7 +21,6 @@ use VDM\Joomla\Componentbuilder\Package\Factory as PackageFactory;
|
|||||||
use VDM\Joomla\Utilities\ArrayHelper as UtilitiesArrayHelper;
|
use VDM\Joomla\Utilities\ArrayHelper as UtilitiesArrayHelper;
|
||||||
use VDM\Joomla\Utilities\ObjectHelper;
|
use VDM\Joomla\Utilities\ObjectHelper;
|
||||||
use VDM\Joomla\Utilities\StringHelper;
|
use VDM\Joomla\Utilities\StringHelper;
|
||||||
use Joomla\CMS\Uri\Uri;
|
|
||||||
|
|
||||||
// No direct access to this file
|
// No direct access to this file
|
||||||
\defined('_JEXEC') or die;
|
\defined('_JEXEC') or die;
|
||||||
@ -121,60 +120,6 @@ class Joomla_componentsController extends AdminController
|
|||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
/**
|
|
||||||
* Runs the expansion module.
|
|
||||||
*
|
|
||||||
* This function performs several checks and operations:
|
|
||||||
* 1. It verifies the authenticity of the request to prevent request forgery.
|
|
||||||
* 2. It checks whether the current user has the necessary permissions to run the expansion module.
|
|
||||||
* 3. If the user is authorized, it attempts to run the expansion via an API call.
|
|
||||||
* 4. Depending on the result of the expansion operation, it sets the appropriate success or error message.
|
|
||||||
* 5. It redirects the user to a specified URL with the result message and status.
|
|
||||||
*
|
|
||||||
* @return bool True on successful expansion, false on failure.
|
|
||||||
*/
|
|
||||||
public function runExpansion()
|
|
||||||
{
|
|
||||||
// Check for request forgeries
|
|
||||||
Session::checkToken() or die(Text::_('JINVALID_TOKEN'));
|
|
||||||
|
|
||||||
// check if user has the right
|
|
||||||
$user = Factory::getUser();
|
|
||||||
|
|
||||||
// set page redirect
|
|
||||||
$redirect_url = Route::_('index.php?option=com_componentbuilder&view=joomla_components', false);
|
|
||||||
|
|
||||||
// set massage
|
|
||||||
$message = Text::_('COM_COMPONENTBUILDER_YOU_DO_NOT_HAVE_PERMISSION_TO_RUN_THE_EXPANSION_MODULE');
|
|
||||||
|
|
||||||
// check if this user has the right to run expansion
|
|
||||||
if($user->authorise('joomla_components.run_expansion', 'com_componentbuilder'))
|
|
||||||
{
|
|
||||||
// set massage
|
|
||||||
$message = Text::_('COM_COMPONENTBUILDER_EXPANSION_FAILED_PLEASE_CHECK_YOUR_SETTINGS_IN_THE_GLOBAL_OPTIONS_OF_JCB_UNDER_THE_DEVELOPMENT_METHOD_TAB');
|
|
||||||
|
|
||||||
// run expansion via API
|
|
||||||
$result = ComponentbuilderHelper::getFileContents(Uri::root() . 'index.php?option=com_componentbuilder&task=api.expand');
|
|
||||||
|
|
||||||
// is there a message returned
|
|
||||||
if (!is_numeric($result) && StringHelper::check($result))
|
|
||||||
{
|
|
||||||
$this->setRedirect($redirect_url, $result);
|
|
||||||
return true;
|
|
||||||
}
|
|
||||||
elseif (is_numeric($result) && 1 == $result)
|
|
||||||
{
|
|
||||||
$message = Text::_('COM_COMPONENTBUILDER_BTHE_EXPANSION_WAS_SUCCESSFULLYB_TO_SEE_MORE_INFORMATION_CHANGE_THE_BRETURN_OPTIONS_FOR_BUILDB_TO_BDISPLAY_MESSAGEB_IN_THE_GLOBAL_OPTIONS_OF_JCB_UNDER_THE_DEVELOPMENT_METHOD_TABB');
|
|
||||||
$this->setRedirect($redirect_url, $message, 'message');
|
|
||||||
return true;
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
$this->setRedirect($redirect_url, $message, 'error');
|
|
||||||
return false;
|
|
||||||
}
|
|
||||||
|
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Clear tmp folder
|
* Clear tmp folder
|
||||||
*
|
*
|
||||||
|
@ -17,8 +17,6 @@ use Joomla\Utilities\ArrayHelper;
|
|||||||
use Joomla\CMS\Router\Route;
|
use Joomla\CMS\Router\Route;
|
||||||
use Joomla\CMS\Session\Session;
|
use Joomla\CMS\Session\Session;
|
||||||
use VDM\Component\Componentbuilder\Administrator\Helper\ComponentbuilderHelper;
|
use VDM\Component\Componentbuilder\Administrator\Helper\ComponentbuilderHelper;
|
||||||
use VDM\Joomla\Utilities\StringHelper;
|
|
||||||
use Joomla\CMS\Uri\Uri;
|
|
||||||
|
|
||||||
// No direct access to this file
|
// No direct access to this file
|
||||||
\defined('_JEXEC') or die;
|
\defined('_JEXEC') or die;
|
||||||
@ -55,60 +53,6 @@ class Joomla_pluginsController extends AdminController
|
|||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
/**
|
|
||||||
* Runs the expansion module.
|
|
||||||
*
|
|
||||||
* This function performs several checks and operations:
|
|
||||||
* 1. It verifies the authenticity of the request to prevent request forgery.
|
|
||||||
* 2. It checks whether the current user has the necessary permissions to run the expansion module.
|
|
||||||
* 3. If the user is authorized, it attempts to run the expansion via an API call.
|
|
||||||
* 4. Depending on the result of the expansion operation, it sets the appropriate success or error message.
|
|
||||||
* 5. It redirects the user to a specified URL with the result message and status.
|
|
||||||
*
|
|
||||||
* @return bool True on successful expansion, false on failure.
|
|
||||||
*/
|
|
||||||
public function runExpansion()
|
|
||||||
{
|
|
||||||
// Check for request forgeries
|
|
||||||
Session::checkToken() or die(Text::_('JINVALID_TOKEN'));
|
|
||||||
|
|
||||||
// check if user has the right
|
|
||||||
$user = Factory::getUser();
|
|
||||||
|
|
||||||
// set page redirect
|
|
||||||
$redirect_url = Route::_('index.php?option=com_componentbuilder&view=joomla_plugins', false);
|
|
||||||
|
|
||||||
// set massage
|
|
||||||
$message = Text::_('COM_COMPONENTBUILDER_YOU_DO_NOT_HAVE_PERMISSION_TO_RUN_THE_EXPANSION_MODULE');
|
|
||||||
|
|
||||||
// check if this user has the right to run expansion
|
|
||||||
if($user->authorise('joomla_plugins.run_expansion', 'com_componentbuilder'))
|
|
||||||
{
|
|
||||||
// set massage
|
|
||||||
$message = Text::_('COM_COMPONENTBUILDER_EXPANSION_FAILED_PLEASE_CHECK_YOUR_SETTINGS_IN_THE_GLOBAL_OPTIONS_OF_JCB_UNDER_THE_DEVELOPMENT_METHOD_TAB');
|
|
||||||
|
|
||||||
// run expansion via API
|
|
||||||
$result = ComponentbuilderHelper::getFileContents(Uri::root() . 'index.php?option=com_componentbuilder&task=api.expand');
|
|
||||||
|
|
||||||
// is there a message returned
|
|
||||||
if (!is_numeric($result) && StringHelper::check($result))
|
|
||||||
{
|
|
||||||
$this->setRedirect($redirect_url, $result);
|
|
||||||
return true;
|
|
||||||
}
|
|
||||||
elseif (is_numeric($result) && 1 == $result)
|
|
||||||
{
|
|
||||||
$message = Text::_('COM_COMPONENTBUILDER_BTHE_EXPANSION_WAS_SUCCESSFULLYB_TO_SEE_MORE_INFORMATION_CHANGE_THE_BRETURN_OPTIONS_FOR_BUILDB_TO_BDISPLAY_MESSAGEB_IN_THE_GLOBAL_OPTIONS_OF_JCB_UNDER_THE_DEVELOPMENT_METHOD_TABB');
|
|
||||||
$this->setRedirect($redirect_url, $message, 'message');
|
|
||||||
return true;
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
$this->setRedirect($redirect_url, $message, 'error');
|
|
||||||
return false;
|
|
||||||
}
|
|
||||||
|
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* get Boilerplate
|
* get Boilerplate
|
||||||
*
|
*
|
||||||
|
@ -17,10 +17,8 @@ use Joomla\Utilities\ArrayHelper;
|
|||||||
use Joomla\CMS\Router\Route;
|
use Joomla\CMS\Router\Route;
|
||||||
use Joomla\CMS\Session\Session;
|
use Joomla\CMS\Session\Session;
|
||||||
use VDM\Component\Componentbuilder\Administrator\Helper\ComponentbuilderHelper;
|
use VDM\Component\Componentbuilder\Administrator\Helper\ComponentbuilderHelper;
|
||||||
use VDM\Joomla\Utilities\StringHelper;
|
|
||||||
use VDM\Joomla\Componentbuilder\Power\Factory as PowerFactory;
|
use VDM\Joomla\Componentbuilder\Power\Factory as PowerFactory;
|
||||||
use VDM\Joomla\Utilities\GetHelper;
|
use VDM\Joomla\Utilities\GetHelper;
|
||||||
use Joomla\CMS\Uri\Uri;
|
|
||||||
|
|
||||||
// No direct access to this file
|
// No direct access to this file
|
||||||
\defined('_JEXEC') or die;
|
\defined('_JEXEC') or die;
|
||||||
@ -56,60 +54,6 @@ class PowersController extends AdminController
|
|||||||
return parent::getModel($name, $prefix, $config);
|
return parent::getModel($name, $prefix, $config);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
/**
|
|
||||||
* Runs the expansion module.
|
|
||||||
*
|
|
||||||
* This function performs several checks and operations:
|
|
||||||
* 1. It verifies the authenticity of the request to prevent request forgery.
|
|
||||||
* 2. It checks whether the current user has the necessary permissions to run the expansion module.
|
|
||||||
* 3. If the user is authorized, it attempts to run the expansion via an API call.
|
|
||||||
* 4. Depending on the result of the expansion operation, it sets the appropriate success or error message.
|
|
||||||
* 5. It redirects the user to a specified URL with the result message and status.
|
|
||||||
*
|
|
||||||
* @return bool True on successful expansion, false on failure.
|
|
||||||
*/
|
|
||||||
public function runExpansion()
|
|
||||||
{
|
|
||||||
// Check for request forgeries
|
|
||||||
Session::checkToken() or die(Text::_('JINVALID_TOKEN'));
|
|
||||||
|
|
||||||
// check if user has the right
|
|
||||||
$user = Factory::getUser();
|
|
||||||
|
|
||||||
// set page redirect
|
|
||||||
$redirect_url = Route::_('index.php?option=com_componentbuilder&view=powers', false);
|
|
||||||
|
|
||||||
// set massage
|
|
||||||
$message = Text::_('COM_COMPONENTBUILDER_YOU_DO_NOT_HAVE_PERMISSION_TO_RUN_THE_EXPANSION_MODULE');
|
|
||||||
|
|
||||||
// check if this user has the right to run expansion
|
|
||||||
if($user->authorise('powers.run_expansion', 'com_componentbuilder'))
|
|
||||||
{
|
|
||||||
// set massage
|
|
||||||
$message = Text::_('COM_COMPONENTBUILDER_EXPANSION_FAILED_PLEASE_CHECK_YOUR_SETTINGS_IN_THE_GLOBAL_OPTIONS_OF_JCB_UNDER_THE_DEVELOPMENT_METHOD_TAB');
|
|
||||||
|
|
||||||
// run expansion via API
|
|
||||||
$result = ComponentbuilderHelper::getFileContents(Uri::root() . 'index.php?option=com_componentbuilder&task=api.expand');
|
|
||||||
|
|
||||||
// is there a message returned
|
|
||||||
if (!is_numeric($result) && StringHelper::check($result))
|
|
||||||
{
|
|
||||||
$this->setRedirect($redirect_url, $result);
|
|
||||||
return true;
|
|
||||||
}
|
|
||||||
elseif (is_numeric($result) && 1 == $result)
|
|
||||||
{
|
|
||||||
$message = Text::_('COM_COMPONENTBUILDER_BTHE_EXPANSION_WAS_SUCCESSFULLYB_TO_SEE_MORE_INFORMATION_CHANGE_THE_BRETURN_OPTIONS_FOR_BUILDB_TO_BDISPLAY_MESSAGEB_IN_THE_GLOBAL_OPTIONS_OF_JCB_UNDER_THE_DEVELOPMENT_METHOD_TABB');
|
|
||||||
$this->setRedirect($redirect_url, $message, 'message');
|
|
||||||
return true;
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
$this->setRedirect($redirect_url, $message, 'error');
|
|
||||||
return false;
|
|
||||||
}
|
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Initializes all remote powers and syncs them with the local database.
|
* Initializes all remote powers and syncs them with the local database.
|
||||||
*
|
*
|
||||||
|
@ -17,8 +17,6 @@ use Joomla\Utilities\ArrayHelper;
|
|||||||
use Joomla\CMS\Router\Route;
|
use Joomla\CMS\Router\Route;
|
||||||
use Joomla\CMS\Session\Session;
|
use Joomla\CMS\Session\Session;
|
||||||
use VDM\Component\Componentbuilder\Administrator\Helper\ComponentbuilderHelper;
|
use VDM\Component\Componentbuilder\Administrator\Helper\ComponentbuilderHelper;
|
||||||
use VDM\Joomla\Utilities\StringHelper;
|
|
||||||
use Joomla\CMS\Uri\Uri;
|
|
||||||
|
|
||||||
// No direct access to this file
|
// No direct access to this file
|
||||||
\defined('_JEXEC') or die;
|
\defined('_JEXEC') or die;
|
||||||
@ -53,59 +51,4 @@ class Validation_rulesController extends AdminController
|
|||||||
{
|
{
|
||||||
return parent::getModel($name, $prefix, $config);
|
return parent::getModel($name, $prefix, $config);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
/**
|
|
||||||
* Runs the expansion module.
|
|
||||||
*
|
|
||||||
* This function performs several checks and operations:
|
|
||||||
* 1. It verifies the authenticity of the request to prevent request forgery.
|
|
||||||
* 2. It checks whether the current user has the necessary permissions to run the expansion module.
|
|
||||||
* 3. If the user is authorized, it attempts to run the expansion via an API call.
|
|
||||||
* 4. Depending on the result of the expansion operation, it sets the appropriate success or error message.
|
|
||||||
* 5. It redirects the user to a specified URL with the result message and status.
|
|
||||||
*
|
|
||||||
* @return bool True on successful expansion, false on failure.
|
|
||||||
*/
|
|
||||||
public function runExpansion()
|
|
||||||
{
|
|
||||||
// Check for request forgeries
|
|
||||||
Session::checkToken() or die(Text::_('JINVALID_TOKEN'));
|
|
||||||
|
|
||||||
// check if user has the right
|
|
||||||
$user = Factory::getUser();
|
|
||||||
|
|
||||||
// set page redirect
|
|
||||||
$redirect_url = Route::_('index.php?option=com_componentbuilder&view=validation_rules', false);
|
|
||||||
|
|
||||||
// set massage
|
|
||||||
$message = Text::_('COM_COMPONENTBUILDER_YOU_DO_NOT_HAVE_PERMISSION_TO_RUN_THE_EXPANSION_MODULE');
|
|
||||||
|
|
||||||
// check if this user has the right to run expansion
|
|
||||||
if($user->authorise('validation_rules.run_expansion', 'com_componentbuilder'))
|
|
||||||
{
|
|
||||||
// set massage
|
|
||||||
$message = Text::_('COM_COMPONENTBUILDER_EXPANSION_FAILED_PLEASE_CHECK_YOUR_SETTINGS_IN_THE_GLOBAL_OPTIONS_OF_JCB_UNDER_THE_DEVELOPMENT_METHOD_TAB');
|
|
||||||
|
|
||||||
// run expansion via API
|
|
||||||
$result = ComponentbuilderHelper::getFileContents(Uri::root() . 'index.php?option=com_componentbuilder&task=api.expand');
|
|
||||||
|
|
||||||
// is there a message returned
|
|
||||||
if (!is_numeric($result) && StringHelper::check($result))
|
|
||||||
{
|
|
||||||
$this->setRedirect($redirect_url, $result);
|
|
||||||
return true;
|
|
||||||
}
|
|
||||||
elseif (is_numeric($result) && 1 == $result)
|
|
||||||
{
|
|
||||||
$message = Text::_('COM_COMPONENTBUILDER_BTHE_EXPANSION_WAS_SUCCESSFULLYB_TO_SEE_MORE_INFORMATION_CHANGE_THE_BRETURN_OPTIONS_FOR_BUILDB_TO_BDISPLAY_MESSAGEB_IN_THE_GLOBAL_OPTIONS_OF_JCB_UNDER_THE_DEVELOPMENT_METHOD_TABB');
|
|
||||||
$this->setRedirect($redirect_url, $message, 'message');
|
|
||||||
return true;
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
$this->setRedirect($redirect_url, $message, 'error');
|
|
||||||
return false;
|
|
||||||
}
|
|
||||||
|
|
||||||
}
|
}
|
@ -17,6 +17,7 @@ use Joomla\CMS\HTML\HTMLHelper as Html;
|
|||||||
use Joomla\CMS\Component\ComponentHelper;
|
use Joomla\CMS\Component\ComponentHelper;
|
||||||
use VDM\Component\Componentbuilder\Administrator\Helper\ComponentbuilderHelper;
|
use VDM\Component\Componentbuilder\Administrator\Helper\ComponentbuilderHelper;
|
||||||
use VDM\Joomla\Utilities\StringHelper;
|
use VDM\Joomla\Utilities\StringHelper;
|
||||||
|
use Joomla\CMS\Filesystem\Folder;
|
||||||
|
|
||||||
// No direct access to this file
|
// No direct access to this file
|
||||||
\defined('_JEXEC') or die;
|
\defined('_JEXEC') or die;
|
||||||
@ -52,7 +53,7 @@ class AdminviewfolderlistField extends ListField
|
|||||||
// now check if there are files in the folder
|
// now check if there are files in the folder
|
||||||
foreach ($localfolders as $localfolder)
|
foreach ($localfolders as $localfolder)
|
||||||
{
|
{
|
||||||
if (is_dir($localfolder) && $folders = \Joomla\Filesystem\Folder::folders($localfolder))
|
if (is_dir($localfolder) && $folders = Folder::folders($localfolder))
|
||||||
{
|
{
|
||||||
if ($this->multiple === false)
|
if ($this->multiple === false)
|
||||||
{
|
{
|
||||||
@ -60,7 +61,7 @@ class AdminviewfolderlistField extends ListField
|
|||||||
}
|
}
|
||||||
foreach ($folders as $folder)
|
foreach ($folders as $folder)
|
||||||
{
|
{
|
||||||
$options[] = Html::_('select.option', $folder, StringHelper::safe($folder, 'W'));
|
$options[] = Html::_('select.option', StringHelper::safe($folder), StringHelper::safe($folder, 'W'));
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
@ -42,24 +42,27 @@ class AdminviewsField extends ListField
|
|||||||
*/
|
*/
|
||||||
protected function getOptions()
|
protected function getOptions()
|
||||||
{
|
{
|
||||||
|
// Get the database object.
|
||||||
$db = Factory::getDBO();
|
$db = Factory::getDBO();
|
||||||
$query = $db->getQuery(true);
|
$query = $db->getQuery(true);
|
||||||
$query->select($db->quoteName(array('a.id','a.system_name'),array('id','adminview_system_name')));
|
$query->select($db->quoteName(array('a.id','a.system_name'),array('id','adminview_system_name')));
|
||||||
$query->from($db->quoteName('#__componentbuilder_admin_view', 'a'));
|
$query->from($db->quoteName('#__componentbuilder_admin_view', 'a'));
|
||||||
$query->where($db->quoteName('a.published') . ' >= 1');
|
$query->where($db->quoteName('a.published') . ' >= 1');
|
||||||
$query->order('a.system_name ASC');
|
$query->order('a.system_name ASC');
|
||||||
$db->setQuery((string)$query);
|
$db->setQuery((string)$query);
|
||||||
$items = $db->loadObjectList();
|
$items = $db->loadObjectList();
|
||||||
$options = array();
|
$options = [];
|
||||||
if ($items)
|
if ($items)
|
||||||
{
|
{
|
||||||
$options[] = Html::_('select.option', '', 'Select an option');
|
if ($this->multiple === false)
|
||||||
foreach($items as $item)
|
{
|
||||||
{
|
$options[] = Html::_('select.option', '', Text::_('COM_COMPONENTBUILDER_SELECT_AN_OPTION'));
|
||||||
$options[] = Html::_('select.option', $item->id, $item->adminview_system_name);
|
}
|
||||||
}
|
foreach($items as $item)
|
||||||
}
|
{
|
||||||
|
$options[] = Html::_('select.option', $item->id, $item->adminview_system_name);
|
||||||
return $options;
|
}
|
||||||
|
}
|
||||||
|
return $options;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
175
admin/src/Field/Cron_serversField.php
Normal file
175
admin/src/Field/Cron_serversField.php
Normal file
@ -0,0 +1,175 @@
|
|||||||
|
<?php
|
||||||
|
/**
|
||||||
|
* @package Joomla.Component.Builder
|
||||||
|
*
|
||||||
|
* @created 30th April, 2015
|
||||||
|
* @author Llewellyn van der Merwe <https://dev.vdm.io>
|
||||||
|
* @git Joomla Component Builder <https://git.vdm.dev/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
|
||||||
|
*/
|
||||||
|
namespace VDM\Component\Componentbuilder\Administrator\Field;
|
||||||
|
|
||||||
|
use Joomla\CMS\Factory;
|
||||||
|
use Joomla\CMS\Form\Field\ListField;
|
||||||
|
use Joomla\CMS\Language\Text;
|
||||||
|
use Joomla\CMS\HTML\HTMLHelper as Html;
|
||||||
|
use Joomla\CMS\Component\ComponentHelper;
|
||||||
|
use VDM\Component\Componentbuilder\Administrator\Helper\ComponentbuilderHelper;
|
||||||
|
|
||||||
|
// No direct access to this file
|
||||||
|
\defined('_JEXEC') or die;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* Cron_servers Form Field class for the Componentbuilder component
|
||||||
|
*
|
||||||
|
* @since 1.6
|
||||||
|
*/
|
||||||
|
class Cron_serversField extends ListField
|
||||||
|
{
|
||||||
|
/**
|
||||||
|
* The cron_servers field type.
|
||||||
|
*
|
||||||
|
* @var string
|
||||||
|
*/
|
||||||
|
public $type = 'Cron_servers';
|
||||||
|
|
||||||
|
/**
|
||||||
|
* Override to add new button
|
||||||
|
*
|
||||||
|
* @return string The field input markup.
|
||||||
|
*
|
||||||
|
* @since 3.2
|
||||||
|
*/
|
||||||
|
protected function getInput()
|
||||||
|
{
|
||||||
|
// see if we should add buttons
|
||||||
|
$set_button = $this->getAttribute('button');
|
||||||
|
// get html
|
||||||
|
$html = parent::getInput();
|
||||||
|
// if true set button
|
||||||
|
if ($set_button === 'true')
|
||||||
|
{
|
||||||
|
$button = array();
|
||||||
|
$script = array();
|
||||||
|
$button_code_name = $this->getAttribute('name');
|
||||||
|
// get the input from url
|
||||||
|
$app = Factory::getApplication();
|
||||||
|
$jinput = $app->input;
|
||||||
|
// get the view name & id
|
||||||
|
$values = $jinput->getArray(array(
|
||||||
|
'id' => 'int',
|
||||||
|
'view' => 'word'
|
||||||
|
));
|
||||||
|
// check if new item
|
||||||
|
$ref = '';
|
||||||
|
$refJ = '';
|
||||||
|
if (!is_null($values['id']) && strlen($values['view']))
|
||||||
|
{
|
||||||
|
// only load referral if not new item.
|
||||||
|
$ref = '&ref=' . $values['view'] . '&refid=' . $values['id'];
|
||||||
|
$refJ = '&ref=' . $values['view'] . '&refid=' . $values['id'];
|
||||||
|
// get the return value.
|
||||||
|
$_uri = (string) \Joomla\CMS\Uri\Uri::getInstance();
|
||||||
|
$_return = urlencode(base64_encode($_uri));
|
||||||
|
// load return value.
|
||||||
|
$ref .= '&return=' . $_return;
|
||||||
|
$refJ .= '&return=' . $_return;
|
||||||
|
}
|
||||||
|
// get button label
|
||||||
|
$button_label = trim($button_code_name);
|
||||||
|
$button_label = preg_replace('/_+/', ' ', $button_label);
|
||||||
|
$button_label = preg_replace('/\s+/', ' ', $button_label);
|
||||||
|
$button_label = preg_replace("/[^A-Za-z ]/", '', $button_label);
|
||||||
|
$button_label = ucfirst(strtolower($button_label));
|
||||||
|
// get user object
|
||||||
|
$user = Factory::getApplication()->getIdentity();
|
||||||
|
// only add if user allowed to create server
|
||||||
|
if ($user->authorise('server.create', 'com_componentbuilder') && $app->isClient('administrator')) // TODO for now only in admin area.
|
||||||
|
{
|
||||||
|
// build Create button
|
||||||
|
$button[] = '<a id="'.$button_code_name.'Create" class="btn btn-small btn-success hasTooltip" title="'.Text::sprintf('COM_COMPONENTBUILDER_CREATE_NEW_S', $button_label).'" style="border-radius: 0px 4px 4px 0px;"
|
||||||
|
href="index.php?option=com_componentbuilder&view=server&layout=edit'.$ref.'" >
|
||||||
|
<span class="icon-new icon-white"></span></a>';
|
||||||
|
}
|
||||||
|
// only add if user allowed to edit server
|
||||||
|
if ($user->authorise('server.edit', 'com_componentbuilder') && $app->isClient('administrator')) // TODO for now only in admin area.
|
||||||
|
{
|
||||||
|
// build edit button
|
||||||
|
$button[] = '<a id="'.$button_code_name.'Edit" class="btn btn-small btn-outline-success button-select hasTooltip" title="'.Text::sprintf('COM_COMPONENTBUILDER_EDIT_S', $button_label).'" style="display: none; border-radius: 0px 4px 4px 0px;" href="#" >
|
||||||
|
<span class="icon-edit"></span></a>';
|
||||||
|
// build script
|
||||||
|
$script[] = "
|
||||||
|
document.addEventListener('DOMContentLoaded', function() {
|
||||||
|
document.getElementById('jform_".$button_code_name."').addEventListener('change', function(e) {
|
||||||
|
e.preventDefault();
|
||||||
|
let ".$button_code_name."Value = this.value;
|
||||||
|
".$button_code_name."Button(".$button_code_name."Value);
|
||||||
|
});
|
||||||
|
let ".$button_code_name."Value = document.getElementById('jform_".$button_code_name."').value;
|
||||||
|
".$button_code_name."Button(".$button_code_name."Value);
|
||||||
|
});
|
||||||
|
function ".$button_code_name."Button(value) {
|
||||||
|
var createButton = document.getElementById('".$button_code_name."Create');
|
||||||
|
var editButton = document.getElementById('".$button_code_name."Edit');
|
||||||
|
if (value > 0) {
|
||||||
|
// hide the create button
|
||||||
|
createButton.style.display = 'none';
|
||||||
|
// show edit button
|
||||||
|
editButton.style.display = 'block';
|
||||||
|
let url = 'index.php?option=com_componentbuilder&view=servers&task=server.edit&id='+value+'".$refJ."';
|
||||||
|
editButton.setAttribute('href', url);
|
||||||
|
} else {
|
||||||
|
// show the create button
|
||||||
|
createButton.style.display = 'block';
|
||||||
|
// hide edit button
|
||||||
|
editButton.style.display = 'none';
|
||||||
|
}
|
||||||
|
}";
|
||||||
|
}
|
||||||
|
// check if button was created for server field.
|
||||||
|
if (is_array($button) && count($button) > 0)
|
||||||
|
{
|
||||||
|
// Load the needed script.
|
||||||
|
$document = Factory::getApplication()->getDocument();
|
||||||
|
$document->addScriptDeclaration(implode(' ',$script));
|
||||||
|
// return the button attached to input field.
|
||||||
|
return '<div class="input-group">' .$html . implode('',$button).'</div>';
|
||||||
|
}
|
||||||
|
}
|
||||||
|
return $html;
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* Method to get a list of options for a list input.
|
||||||
|
*
|
||||||
|
* @return array An array of Html options.
|
||||||
|
* @since 1.6
|
||||||
|
*/
|
||||||
|
protected function getOptions()
|
||||||
|
{
|
||||||
|
// Get the databse object.
|
||||||
|
$db = Factory::getDBO();
|
||||||
|
$query = $db->getQuery(true);
|
||||||
|
$query->select($db->quoteName(array('a.id','a.name','a.protocol'),array('id','cronjob_backup_server_name', 'protocol')));
|
||||||
|
$query->from($db->quoteName('#__componentbuilder_server', 'a'));
|
||||||
|
$query->where($db->quoteName('a.published') . ' >= 1');
|
||||||
|
$query->order('a.name ASC');
|
||||||
|
$db->setQuery((string)$query);
|
||||||
|
$items = $db->loadObjectList();
|
||||||
|
$options = [];
|
||||||
|
if ($items)
|
||||||
|
{
|
||||||
|
if ($this->multiple === false)
|
||||||
|
{
|
||||||
|
$options[] = Html::_('select.option', '', Text::_('COM_COMPONENTBUILDER_SELECT_AN_OPTION'));
|
||||||
|
}
|
||||||
|
foreach($items as $item)
|
||||||
|
{
|
||||||
|
$item->protocol = ($item->protocol == 2) ? Text::_('SFTP') : Text::_('FTP');
|
||||||
|
$options[] = Html::_('select.option', $item->id, $item->cronjob_backup_server_name .' ['.$item->protocol.']');
|
||||||
|
}
|
||||||
|
}
|
||||||
|
return $options;
|
||||||
|
}
|
||||||
|
}
|
@ -42,23 +42,27 @@ class CustomadminviewsField extends ListField
|
|||||||
*/
|
*/
|
||||||
protected function getOptions()
|
protected function getOptions()
|
||||||
{
|
{
|
||||||
$db = Factory::getDBO();
|
// Get the databse object.
|
||||||
$query = $db->getQuery(true);
|
$db = Factory::getDBO();
|
||||||
$query->select($db->quoteName(array('a.id','a.system_name'),array('id','customadminview_system_name')));
|
$query = $db->getQuery(true);
|
||||||
$query->from($db->quoteName('#__componentbuilder_custom_admin_view', 'a'));
|
$query->select($db->quoteName(array('a.id','a.system_name'),array('id','customadminview_system_name')));
|
||||||
$query->where($db->quoteName('a.published') . ' >= 1');
|
$query->from($db->quoteName('#__componentbuilder_custom_admin_view', 'a'));
|
||||||
$query->order('a.system_name ASC');
|
$query->where($db->quoteName('a.published') . ' >= 1');
|
||||||
$db->setQuery((string)$query);
|
$query->order('a.system_name ASC');
|
||||||
$items = $db->loadObjectList();
|
$db->setQuery((string)$query);
|
||||||
$options = array();
|
$items = $db->loadObjectList();
|
||||||
if ($items)
|
$options = [];
|
||||||
{
|
if ($items)
|
||||||
$options[] = Html::_('select.option', '', 'Select an option');
|
{
|
||||||
foreach($items as $item)
|
if ($this->multiple === false)
|
||||||
{
|
{
|
||||||
$options[] = Html::_('select.option', $item->id, $item->customadminview_system_name);
|
$options[] = Html::_('select.option', '', Text::_('COM_COMPONENTBUILDER_SELECT_AN_OPTION'));
|
||||||
}
|
}
|
||||||
}
|
foreach($items as $item)
|
||||||
|
{
|
||||||
|
$options[] = Html::_('select.option', $item->id, $item->customadminview_system_name);
|
||||||
|
}
|
||||||
|
}
|
||||||
return $options;
|
return $options;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
@ -42,25 +42,29 @@ class DynamicgetsField extends ListField
|
|||||||
*/
|
*/
|
||||||
protected function getOptions()
|
protected function getOptions()
|
||||||
{
|
{
|
||||||
|
// Get the databse object.
|
||||||
$db = Factory::getDBO();
|
$db = Factory::getDBO();
|
||||||
$query = $db->getQuery(true);
|
$query = $db->getQuery(true);
|
||||||
$query->select($db->quoteName(array('a.id','a.name','a.gettype'),array('id','dynamic_get_name','type')));
|
$query->select($db->quoteName(array('a.id','a.name','a.gettype'),array('id','dynamic_get_name','type')));
|
||||||
$query->from($db->quoteName('#__componentbuilder_dynamic_get', 'a'));
|
$query->from($db->quoteName('#__componentbuilder_dynamic_get', 'a'));
|
||||||
$query->where($db->quoteName('a.published') . ' = 1');
|
$query->where($db->quoteName('a.published') . ' >= 1');
|
||||||
$query->order('a.name ASC');
|
$query->order('a.name ASC');
|
||||||
$db->setQuery((string)$query);
|
$db->setQuery((string)$query);
|
||||||
$items = $db->loadObjectList();
|
$items = $db->loadObjectList();
|
||||||
$options = array();
|
$options = [];
|
||||||
if ($items)
|
if ($items)
|
||||||
{
|
{
|
||||||
$model = ComponentbuilderHelper::getModel('dynamic_gets');
|
$model = ComponentbuilderHelper::getModel('dynamic_gets');
|
||||||
foreach($items as $item)
|
if ($this->multiple === false)
|
||||||
{
|
{
|
||||||
$type = $model->selectionTranslation($item->type,'gettype');
|
$options[] = Html::_('select.option', '', Text::_('COM_COMPONENTBUILDER_SELECT_AN_OPTION'));
|
||||||
$options[] = Html::_('select.option', $item->id, $item->dynamic_get_name . ' (' . Text::_($type) . ')' );
|
}
|
||||||
}
|
foreach($items as $item)
|
||||||
}
|
{
|
||||||
|
$type = $model->selectionTranslation($item->type, 'gettype');
|
||||||
return $options;
|
$options[] = Html::_('select.option', $item->id, $item->dynamic_get_name . ' (' . Text::_($type) . ')');
|
||||||
|
}
|
||||||
|
}
|
||||||
|
return $options;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
@ -42,23 +42,27 @@ class LibraryreadonlyField extends ListField
|
|||||||
*/
|
*/
|
||||||
protected function getOptions()
|
protected function getOptions()
|
||||||
{
|
{
|
||||||
|
// Get the databse object.
|
||||||
$db = Factory::getDBO();
|
$db = Factory::getDBO();
|
||||||
$query = $db->getQuery(true);
|
$query = $db->getQuery(true);
|
||||||
$query->select($db->quoteName(array('a.id','a.name'),array('id','library_name')));
|
$query->select($db->quoteName(array('a.id','a.name'),array('id','library_name')));
|
||||||
$query->from($db->quoteName('#__componentbuilder_library', 'a'));
|
$query->from($db->quoteName('#__componentbuilder_library', 'a'));
|
||||||
$query->order('a.name ASC');
|
$query->where($db->quoteName('a.published') . ' >= 1');
|
||||||
$db->setQuery((string)$query);
|
$query->order('a.name ASC');
|
||||||
$items = $db->loadObjectList();
|
$db->setQuery((string)$query);
|
||||||
$options = array();
|
$items = $db->loadObjectList();
|
||||||
if ($items)
|
$options = [];
|
||||||
{
|
if ($items)
|
||||||
$options[] = Html::_('select.option', '', 'Select an option');
|
{
|
||||||
foreach($items as $item)
|
if ($this->multiple === false)
|
||||||
{
|
{
|
||||||
$options[] = Html::_('select.option', $item->id, $item->library_name);
|
$options[] = Html::_('select.option', '', Text::_('COM_COMPONENTBUILDER_SELECT_AN_OPTION'));
|
||||||
}
|
}
|
||||||
}
|
foreach($items as $item)
|
||||||
|
{
|
||||||
return $options;
|
$options[] = Html::_('select.option', $item->id, $item->library_name);
|
||||||
|
}
|
||||||
|
}
|
||||||
|
return $options;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
@ -148,25 +148,30 @@ class MaingetsField extends ListField
|
|||||||
*/
|
*/
|
||||||
protected function getOptions()
|
protected function getOptions()
|
||||||
{
|
{
|
||||||
|
// Get the databse object.
|
||||||
$db = Factory::getDBO();
|
$db = Factory::getDBO();
|
||||||
$query = $db->getQuery(true);
|
$query = $db->getQuery(true);
|
||||||
$query->select($db->quoteName(array('a.id','a.name','a.gettype'),array('id','main_get_name','type')));
|
$query->select($db->quoteName(array('a.id','a.name','a.gettype'),array('id','main_get_name','type')));
|
||||||
$query->from($db->quoteName('#__componentbuilder_dynamic_get', 'a'));
|
$query->from($db->quoteName('#__componentbuilder_dynamic_get', 'a'));
|
||||||
$query->where($db->quoteName('a.published') . ' = 1');
|
$query->where($db->quoteName('a.published') . ' = 1');
|
||||||
$query->where('( '.$db->quoteName('a.gettype') . ' = 1 OR ' . $db->quoteName('a.gettype') . ' = 2 )');
|
$query->where('( '.$db->quoteName('a.gettype') . ' = 1 OR ' . $db->quoteName('a.gettype') . ' = 2 )');
|
||||||
$query->order('a.name ASC');
|
$query->order('a.name ASC');
|
||||||
$db->setQuery((string)$query);
|
$db->setQuery((string)$query);
|
||||||
$items = $db->loadObjectList();
|
$items = $db->loadObjectList();
|
||||||
$options = array();
|
$options = [];
|
||||||
if ($items)
|
if ($items)
|
||||||
{
|
{
|
||||||
$model = ComponentbuilderHelper::getModel('dynamic_gets');
|
$model = ComponentbuilderHelper::getModel('dynamic_gets');
|
||||||
foreach($items as $item)
|
if ($this->multiple === false)
|
||||||
{
|
{
|
||||||
|
$options[] = Html::_('select.option', '', Text::_('COM_COMPONENTBUILDER_SELECT_AN_OPTION'));
|
||||||
|
}
|
||||||
|
foreach($items as $item)
|
||||||
|
{
|
||||||
$type = $model->selectionTranslation($item->type,'gettype');
|
$type = $model->selectionTranslation($item->type,'gettype');
|
||||||
$options[] = Html::_('select.option', $item->id, $item->main_get_name . ' (' . Text::_($type) . ')' );
|
$options[] = Html::_('select.option', $item->id, $item->main_get_name . ' (' . Text::_($type) . ')');
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
return $options;
|
return $options;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
@ -148,25 +148,28 @@ class ServersField extends ListField
|
|||||||
*/
|
*/
|
||||||
protected function getOptions()
|
protected function getOptions()
|
||||||
{
|
{
|
||||||
|
// Get the databse object. (prime)
|
||||||
$db = Factory::getDBO();
|
$db = Factory::getDBO();
|
||||||
$query = $db->getQuery(true);
|
$query = $db->getQuery(true);
|
||||||
$query->select($db->quoteName(array('a.id','a.name','a.protocol'),array('id','name', 'protocol')));
|
$query->select($db->quoteName(array('a.id','a.name','a.protocol'),array('id','update_server_name', 'protocol')));
|
||||||
$query->from($db->quoteName('#__componentbuilder_server', 'a'));
|
$query->from($db->quoteName('#__componentbuilder_server', 'a'));
|
||||||
$query->where($db->quoteName('a.published') . ' >= 1');
|
$query->where($db->quoteName('a.published') . ' >= 1');
|
||||||
$query->order('a.name ASC');
|
$query->order('a.name ASC');
|
||||||
$db->setQuery((string)$query);
|
$db->setQuery((string)$query);
|
||||||
$items = $db->loadObjectList();
|
$items = $db->loadObjectList();
|
||||||
$options = array();
|
$options = [];
|
||||||
if ($items)
|
if ($items)
|
||||||
{
|
{
|
||||||
$options[] = Html::_('select.option', '', 'Select an option');
|
if ($this->multiple === false)
|
||||||
foreach($items as $item)
|
{
|
||||||
{
|
$options[] = Html::_('select.option', '', Text::_('COM_COMPONENTBUILDER_SELECT_AN_OPTION'));
|
||||||
$item->protocol = ($item->protocol == 2) ? Text::_('SFTP') : Text::_('FTP');
|
}
|
||||||
$options[] = Html::_('select.option', $item->id, $item->name.' ['.$item->protocol.']');
|
foreach($items as $item)
|
||||||
}
|
{
|
||||||
}
|
$item->protocol = ($item->protocol == 2) ? Text::_('SFTP') : Text::_('FTP');
|
||||||
|
$options[] = Html::_('select.option', $item->id, $item->update_server_name .' ['.$item->protocol.']');
|
||||||
return $options;
|
}
|
||||||
|
}
|
||||||
|
return $options;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
@ -17,6 +17,7 @@ use Joomla\CMS\HTML\HTMLHelper as Html;
|
|||||||
use Joomla\CMS\Component\ComponentHelper;
|
use Joomla\CMS\Component\ComponentHelper;
|
||||||
use VDM\Component\Componentbuilder\Administrator\Helper\ComponentbuilderHelper;
|
use VDM\Component\Componentbuilder\Administrator\Helper\ComponentbuilderHelper;
|
||||||
use VDM\Joomla\Utilities\StringHelper;
|
use VDM\Joomla\Utilities\StringHelper;
|
||||||
|
use Joomla\CMS\Filesystem\Folder;
|
||||||
|
|
||||||
// No direct access to this file
|
// No direct access to this file
|
||||||
\defined('_JEXEC') or die;
|
\defined('_JEXEC') or die;
|
||||||
@ -52,7 +53,7 @@ class SiteviewfolderlistField extends ListField
|
|||||||
// now check if there are files in the folder
|
// now check if there are files in the folder
|
||||||
foreach ($localfolders as $localfolder)
|
foreach ($localfolders as $localfolder)
|
||||||
{
|
{
|
||||||
if (is_dir($localfolder) && $folders = \Joomla\Filesystem\Folder::folders($localfolder))
|
if (is_dir($localfolder) && $folders = Folder::folders($localfolder))
|
||||||
{
|
{
|
||||||
if ($this->multiple === false)
|
if ($this->multiple === false)
|
||||||
{
|
{
|
||||||
@ -60,7 +61,7 @@ class SiteviewfolderlistField extends ListField
|
|||||||
}
|
}
|
||||||
foreach ($folders as $folder)
|
foreach ($folders as $folder)
|
||||||
{
|
{
|
||||||
$options[] = Html::_('select.option', $folder, StringHelper::safe($folder, 'W'));
|
$options[] = Html::_('select.option', StringHelper::safe($folder), StringHelper::safe($folder, 'W'));
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
@ -16,6 +16,7 @@ use Joomla\CMS\Language\Text;
|
|||||||
use Joomla\CMS\HTML\HTMLHelper as Html;
|
use Joomla\CMS\HTML\HTMLHelper as Html;
|
||||||
use Joomla\CMS\Component\ComponentHelper;
|
use Joomla\CMS\Component\ComponentHelper;
|
||||||
use VDM\Component\Componentbuilder\Administrator\Helper\ComponentbuilderHelper;
|
use VDM\Component\Componentbuilder\Administrator\Helper\ComponentbuilderHelper;
|
||||||
|
use VDM\Joomla\Utilities\StringHelper;
|
||||||
|
|
||||||
// No direct access to this file
|
// No direct access to this file
|
||||||
\defined('_JEXEC') or die;
|
\defined('_JEXEC') or die;
|
||||||
@ -148,30 +149,34 @@ class SnippetsField extends ListField
|
|||||||
*/
|
*/
|
||||||
protected function getOptions()
|
protected function getOptions()
|
||||||
{
|
{
|
||||||
|
// Get the databse object.
|
||||||
$db = Factory::getDBO();
|
$db = Factory::getDBO();
|
||||||
$query = $db->getQuery(true);
|
$query = $db->getQuery(true);
|
||||||
$query->select($db->quoteName(array('a.id','a.name','b.name','c.name'),array('id','snippet_name','type','library')));
|
$query->select($db->quoteName(array('a.id','a.name','b.name','c.name'),array('id','snippet_name','type','library')));
|
||||||
$query->from($db->quoteName('#__componentbuilder_snippet', 'a'));
|
$query->from($db->quoteName('#__componentbuilder_snippet', 'a'));
|
||||||
// From the componentbuilder_snippet_type table.
|
// From the componentbuilder_snippet_type table.
|
||||||
$query->join('LEFT', $db->quoteName('#__componentbuilder_snippet_type', 'b') . ' ON (' . $db->quoteName('a.type') . ' = ' . $db->quoteName('b.id') . ')');
|
$query->join('LEFT', $db->quoteName('#__componentbuilder_snippet_type', 'b') . ' ON (' . $db->quoteName('a.type') . ' = ' . $db->quoteName('b.id') . ')');
|
||||||
// From the componentbuilder_library table.
|
// From the componentbuilder_library table.
|
||||||
$query->join('LEFT', $db->quoteName('#__componentbuilder_library', 'c') . ' ON (' . $db->quoteName('a.library') . ' = ' . $db->quoteName('c.id') . ')');
|
$query->join('LEFT', $db->quoteName('#__componentbuilder_library', 'c') . ' ON (' . $db->quoteName('a.library') . ' = ' . $db->quoteName('c.id') . ')');
|
||||||
$query->where($db->quoteName('a.published') . ' >= 1');
|
$query->where($db->quoteName('a.published') . ' >= 1');
|
||||||
$query->order('c.ordering ASC');
|
$query->order('c.ordering ASC');
|
||||||
$query->order('b.name ASC');
|
$query->order('b.name ASC');
|
||||||
$db->setQuery((string)$query);
|
$db->setQuery((string)$query);
|
||||||
$items = $db->loadObjectList();
|
$items = $db->loadObjectList();
|
||||||
$options = array();
|
$options = [];
|
||||||
if ($items)
|
if ($items)
|
||||||
{
|
{
|
||||||
foreach($items as $item)
|
if ($this->multiple === false)
|
||||||
{
|
{
|
||||||
$lib = (isset($item->library) && ComponentbuilderHelper::checkString($item->library)) ? ' (' . $item->library . ')' :'';
|
$options[] = Html::_('select.option', '', Text::_('COM_COMPONENTBUILDER_SELECT_AN_OPTION'));
|
||||||
$type = (isset($item->type) && ComponentbuilderHelper::checkString($item->type)) ? $item->type :Text::_('COM_COMPONENTBUILDER_NO_TYPE');
|
}
|
||||||
$options[] = Html::_('select.option', $item->id, $type . ' - ' . $item->snippet_name . $lib );
|
foreach($items as $item)
|
||||||
}
|
{
|
||||||
}
|
$lib = (isset($item->library) && StringHelper::check($item->library)) ? ' (' . $item->library . ')' :'';
|
||||||
|
$type = (isset($item->type) && StringHelper::check($item->type)) ? $item->type :Text::_('COM_COMPONENTBUILDER_NO_TYPE');
|
||||||
return $options;
|
$options[] = Html::_('select.option', $item->id, $type . ' - ' . $item->snippet_name . $lib);
|
||||||
|
}
|
||||||
|
}
|
||||||
|
return $options;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
@ -42,24 +42,27 @@ class SnippettypeField extends ListField
|
|||||||
*/
|
*/
|
||||||
protected function getOptions()
|
protected function getOptions()
|
||||||
{
|
{
|
||||||
|
// Get the databse object.
|
||||||
$db = Factory::getDBO();
|
$db = Factory::getDBO();
|
||||||
$query = $db->getQuery(true);
|
$query = $db->getQuery(true);
|
||||||
$query->select($db->quoteName(array('a.id','a.name'),array('id','type_name')));
|
$query->select($db->quoteName(array('a.id','a.name'),array('id','type_name')));
|
||||||
$query->from($db->quoteName('#__componentbuilder_snippet_type', 'a'));
|
$query->from($db->quoteName('#__componentbuilder_snippet_type', 'a'));
|
||||||
$query->where($db->quoteName('a.published') . ' >= 1');
|
$query->where($db->quoteName('a.published') . ' >= 1');
|
||||||
$query->order('a.name ASC');
|
$query->order('a.name ASC');
|
||||||
$db->setQuery((string)$query);
|
$db->setQuery((string)$query);
|
||||||
$items = $db->loadObjectList();
|
$items = $db->loadObjectList();
|
||||||
$options = array();
|
$options = [];
|
||||||
if ($items)
|
if ($items)
|
||||||
{
|
{
|
||||||
$options[] = Html::_('select.option', '', 'Select an option');
|
if ($this->multiple === false)
|
||||||
foreach($items as $item)
|
{
|
||||||
{
|
$options[] = Html::_('select.option', '', Text::_('COM_COMPONENTBUILDER_SELECT_AN_OPTION'));
|
||||||
$options[] = Html::_('select.option', $item->id, $item->type_name);
|
}
|
||||||
}
|
foreach($items as $item)
|
||||||
}
|
{
|
||||||
|
$options[] = Html::_('select.option', $item->id, $item->type_name);
|
||||||
return $options;
|
}
|
||||||
|
}
|
||||||
|
return $options;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
@ -22,7 +22,7 @@ use Joomla\CMS\Language\Text;
|
|||||||
use Joomla\CMS\Access\Access;
|
use Joomla\CMS\Access\Access;
|
||||||
use Joomla\CMS\Access\Rules as AccessRules;
|
use Joomla\CMS\Access\Rules as AccessRules;
|
||||||
use Joomla\CMS\Component\ComponentHelper;
|
use Joomla\CMS\Component\ComponentHelper;
|
||||||
use Joomla\CMS\Filesystem\File;
|
use Joomla\Filesystem\File;
|
||||||
use Joomla\CMS\Language\Language;
|
use Joomla\CMS\Language\Language;
|
||||||
use Joomla\CMS\MVC\Model\BaseDatabaseModel;
|
use Joomla\CMS\MVC\Model\BaseDatabaseModel;
|
||||||
use Joomla\CMS\Object\CMSObject;
|
use Joomla\CMS\Object\CMSObject;
|
||||||
@ -5674,8 +5674,8 @@ abstract class ComponentbuilderHelper
|
|||||||
return MathHelper::sum($array, $scale);
|
return MathHelper::sum($array, $scale);
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* create plugin class name
|
* create plugin class name
|
||||||
*
|
*
|
||||||
* @input string The group name
|
* @input string The group name
|
||||||
* @input string The name
|
* @input string The name
|
||||||
@ -5684,7 +5684,7 @@ abstract class ComponentbuilderHelper
|
|||||||
*
|
*
|
||||||
* @since 3.0.9
|
* @since 3.0.9
|
||||||
*
|
*
|
||||||
* @deprecated 4.0 - Use PluginHelper::safe($name, $group);
|
* @deprecated 4.0 - Use PluginHelper::safeClassName($name, $group);
|
||||||
*/
|
*/
|
||||||
public static function createPluginClassName($group, $name)
|
public static function createPluginClassName($group, $name)
|
||||||
{
|
{
|
||||||
|
@ -12,8 +12,8 @@ namespace VDM\Component\Componentbuilder\Administrator\Model;
|
|||||||
|
|
||||||
use Joomla\CMS\Factory;
|
use Joomla\CMS\Factory;
|
||||||
use Joomla\CMS\Language\Text;
|
use Joomla\CMS\Language\Text;
|
||||||
use Joomla\CMS\Filesystem\File;
|
use Joomla\Filesystem\File;
|
||||||
use Joomla\CMS\Filesystem\Folder;
|
use Joomla\Filesystem\Folder;
|
||||||
use Joomla\CMS\Filesystem\Path;
|
use Joomla\CMS\Filesystem\Path;
|
||||||
use Joomla\CMS\Filter\OutputFilter;
|
use Joomla\CMS\Filter\OutputFilter;
|
||||||
use Joomla\CMS\Installer\InstallerHelper;
|
use Joomla\CMS\Installer\InstallerHelper;
|
||||||
|
@ -12,8 +12,8 @@ namespace VDM\Component\Componentbuilder\Administrator\Model;
|
|||||||
|
|
||||||
use Joomla\CMS\Factory;
|
use Joomla\CMS\Factory;
|
||||||
use Joomla\CMS\Language\Text;
|
use Joomla\CMS\Language\Text;
|
||||||
use Joomla\CMS\Filesystem\File;
|
use Joomla\Filesystem\File;
|
||||||
use Joomla\CMS\Filesystem\Folder;
|
use Joomla\Filesystem\Folder;
|
||||||
use Joomla\CMS\Filesystem\Path;
|
use Joomla\CMS\Filesystem\Path;
|
||||||
use Joomla\CMS\Filter\OutputFilter;
|
use Joomla\CMS\Filter\OutputFilter;
|
||||||
use Joomla\CMS\Installer\InstallerHelper;
|
use Joomla\CMS\Installer\InstallerHelper;
|
||||||
|
@ -1467,7 +1467,10 @@ class Joomla_componentModel extends AdminModel
|
|||||||
}
|
}
|
||||||
|
|
||||||
// make sure that the component code name is safe.
|
// make sure that the component code name is safe.
|
||||||
$data['name_code'] = ComponentCodeNameHelper::safe($data['name_code']);
|
if (!empty($data['system_name']) && UtilitiesStringHelper::check($data['system_name']))
|
||||||
|
{
|
||||||
|
$data['name_code'] = ComponentCodeNameHelper::safe($data['name_code']);
|
||||||
|
}
|
||||||
|
|
||||||
// Set the GUID if empty or not valid
|
// Set the GUID if empty or not valid
|
||||||
if (empty($data['guid']) && $data['id'] > 0)
|
if (empty($data['guid']) && $data['id'] > 0)
|
||||||
|
@ -16,6 +16,7 @@ use Joomla\CMS\Toolbar\Toolbar;
|
|||||||
use Joomla\CMS\Form\FormHelper;
|
use Joomla\CMS\Form\FormHelper;
|
||||||
use Joomla\CMS\Session\Session;
|
use Joomla\CMS\Session\Session;
|
||||||
use Joomla\CMS\Uri\Uri;
|
use Joomla\CMS\Uri\Uri;
|
||||||
|
use Joomla\CMS\User\User;
|
||||||
use Joomla\CMS\Component\ComponentHelper;
|
use Joomla\CMS\Component\ComponentHelper;
|
||||||
use Joomla\CMS\HTML\HTMLHelper as Html;
|
use Joomla\CMS\HTML\HTMLHelper as Html;
|
||||||
use Joomla\CMS\Layout\FileLayout;
|
use Joomla\CMS\Layout\FileLayout;
|
||||||
@ -36,6 +37,86 @@ use VDM\Joomla\Utilities\StringHelper;
|
|||||||
*/
|
*/
|
||||||
class HtmlView extends BaseHtmlView
|
class HtmlView extends BaseHtmlView
|
||||||
{
|
{
|
||||||
|
/**
|
||||||
|
* The item from the model
|
||||||
|
*
|
||||||
|
* @var mixed
|
||||||
|
* @since 3.10.11
|
||||||
|
*/
|
||||||
|
public mixed $item;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* The state object
|
||||||
|
*
|
||||||
|
* @var mixed
|
||||||
|
* @since 3.10.11
|
||||||
|
*/
|
||||||
|
public mixed $state;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* The form from the model
|
||||||
|
*
|
||||||
|
* @var mixed
|
||||||
|
* @since 3.10.11
|
||||||
|
*/
|
||||||
|
public mixed $form;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* The toolbar object
|
||||||
|
*
|
||||||
|
* @var Toolbar
|
||||||
|
* @since 3.10.11
|
||||||
|
*/
|
||||||
|
public Toolbar $toolbar;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* The styles url array
|
||||||
|
*
|
||||||
|
* @var array
|
||||||
|
* @since 5.0.0
|
||||||
|
*/
|
||||||
|
protected array $styles;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* The scripts url array
|
||||||
|
*
|
||||||
|
* @var array
|
||||||
|
* @since 5.0.0
|
||||||
|
*/
|
||||||
|
protected array $scripts;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* The actions object
|
||||||
|
*
|
||||||
|
* @var object
|
||||||
|
* @since 3.10.11
|
||||||
|
*/
|
||||||
|
public object $canDo;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* The origin referral view name
|
||||||
|
*
|
||||||
|
* @var string
|
||||||
|
* @since 3.10.11
|
||||||
|
*/
|
||||||
|
public string $ref;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* The origin referral item id
|
||||||
|
*
|
||||||
|
* @var int
|
||||||
|
* @since 3.10.11
|
||||||
|
*/
|
||||||
|
public int $refid;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* The referral url suffix values
|
||||||
|
*
|
||||||
|
* @var string
|
||||||
|
* @since 3.10.11
|
||||||
|
*/
|
||||||
|
public string $referral;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Admin_custom_tabs view display method
|
* Admin_custom_tabs view display method
|
||||||
*
|
*
|
||||||
@ -50,7 +131,7 @@ class HtmlView extends BaseHtmlView
|
|||||||
$this->params = ComponentHelper::getParams('com_componentbuilder');
|
$this->params = ComponentHelper::getParams('com_componentbuilder');
|
||||||
$this->useCoreUI = true;
|
$this->useCoreUI = true;
|
||||||
// Assign the variables
|
// Assign the variables
|
||||||
$this->form = $this->get('Form');
|
$this->form ??= $this->get('Form');
|
||||||
$this->item = $this->get('Item');
|
$this->item = $this->get('Item');
|
||||||
$this->styles = $this->get('Styles');
|
$this->styles = $this->get('Styles');
|
||||||
$this->scripts = $this->get('Scripts');
|
$this->scripts = $this->get('Scripts');
|
||||||
|
@ -16,6 +16,7 @@ use Joomla\CMS\Toolbar\Toolbar;
|
|||||||
use Joomla\CMS\Form\FormHelper;
|
use Joomla\CMS\Form\FormHelper;
|
||||||
use Joomla\CMS\Session\Session;
|
use Joomla\CMS\Session\Session;
|
||||||
use Joomla\CMS\Uri\Uri;
|
use Joomla\CMS\Uri\Uri;
|
||||||
|
use Joomla\CMS\User\User;
|
||||||
use Joomla\CMS\Component\ComponentHelper;
|
use Joomla\CMS\Component\ComponentHelper;
|
||||||
use Joomla\CMS\HTML\HTMLHelper as Html;
|
use Joomla\CMS\HTML\HTMLHelper as Html;
|
||||||
use Joomla\CMS\Layout\FileLayout;
|
use Joomla\CMS\Layout\FileLayout;
|
||||||
@ -36,6 +37,86 @@ use VDM\Joomla\Utilities\StringHelper;
|
|||||||
*/
|
*/
|
||||||
class HtmlView extends BaseHtmlView
|
class HtmlView extends BaseHtmlView
|
||||||
{
|
{
|
||||||
|
/**
|
||||||
|
* The item from the model
|
||||||
|
*
|
||||||
|
* @var mixed
|
||||||
|
* @since 3.10.11
|
||||||
|
*/
|
||||||
|
public mixed $item;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* The state object
|
||||||
|
*
|
||||||
|
* @var mixed
|
||||||
|
* @since 3.10.11
|
||||||
|
*/
|
||||||
|
public mixed $state;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* The form from the model
|
||||||
|
*
|
||||||
|
* @var mixed
|
||||||
|
* @since 3.10.11
|
||||||
|
*/
|
||||||
|
public mixed $form;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* The toolbar object
|
||||||
|
*
|
||||||
|
* @var Toolbar
|
||||||
|
* @since 3.10.11
|
||||||
|
*/
|
||||||
|
public Toolbar $toolbar;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* The styles url array
|
||||||
|
*
|
||||||
|
* @var array
|
||||||
|
* @since 5.0.0
|
||||||
|
*/
|
||||||
|
protected array $styles;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* The scripts url array
|
||||||
|
*
|
||||||
|
* @var array
|
||||||
|
* @since 5.0.0
|
||||||
|
*/
|
||||||
|
protected array $scripts;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* The actions object
|
||||||
|
*
|
||||||
|
* @var object
|
||||||
|
* @since 3.10.11
|
||||||
|
*/
|
||||||
|
public object $canDo;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* The origin referral view name
|
||||||
|
*
|
||||||
|
* @var string
|
||||||
|
* @since 3.10.11
|
||||||
|
*/
|
||||||
|
public string $ref;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* The origin referral item id
|
||||||
|
*
|
||||||
|
* @var int
|
||||||
|
* @since 3.10.11
|
||||||
|
*/
|
||||||
|
public int $refid;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* The referral url suffix values
|
||||||
|
*
|
||||||
|
* @var string
|
||||||
|
* @since 3.10.11
|
||||||
|
*/
|
||||||
|
public string $referral;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Admin_fields view display method
|
* Admin_fields view display method
|
||||||
*
|
*
|
||||||
@ -50,7 +131,7 @@ class HtmlView extends BaseHtmlView
|
|||||||
$this->params = ComponentHelper::getParams('com_componentbuilder');
|
$this->params = ComponentHelper::getParams('com_componentbuilder');
|
||||||
$this->useCoreUI = true;
|
$this->useCoreUI = true;
|
||||||
// Assign the variables
|
// Assign the variables
|
||||||
$this->form = $this->get('Form');
|
$this->form ??= $this->get('Form');
|
||||||
$this->item = $this->get('Item');
|
$this->item = $this->get('Item');
|
||||||
$this->styles = $this->get('Styles');
|
$this->styles = $this->get('Styles');
|
||||||
$this->scripts = $this->get('Scripts');
|
$this->scripts = $this->get('Scripts');
|
||||||
|
@ -16,6 +16,7 @@ use Joomla\CMS\Toolbar\Toolbar;
|
|||||||
use Joomla\CMS\Form\FormHelper;
|
use Joomla\CMS\Form\FormHelper;
|
||||||
use Joomla\CMS\Session\Session;
|
use Joomla\CMS\Session\Session;
|
||||||
use Joomla\CMS\Uri\Uri;
|
use Joomla\CMS\Uri\Uri;
|
||||||
|
use Joomla\CMS\User\User;
|
||||||
use Joomla\CMS\Component\ComponentHelper;
|
use Joomla\CMS\Component\ComponentHelper;
|
||||||
use Joomla\CMS\HTML\HTMLHelper as Html;
|
use Joomla\CMS\HTML\HTMLHelper as Html;
|
||||||
use Joomla\CMS\Layout\FileLayout;
|
use Joomla\CMS\Layout\FileLayout;
|
||||||
@ -36,6 +37,86 @@ use VDM\Joomla\Utilities\StringHelper;
|
|||||||
*/
|
*/
|
||||||
class HtmlView extends BaseHtmlView
|
class HtmlView extends BaseHtmlView
|
||||||
{
|
{
|
||||||
|
/**
|
||||||
|
* The item from the model
|
||||||
|
*
|
||||||
|
* @var mixed
|
||||||
|
* @since 3.10.11
|
||||||
|
*/
|
||||||
|
public mixed $item;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* The state object
|
||||||
|
*
|
||||||
|
* @var mixed
|
||||||
|
* @since 3.10.11
|
||||||
|
*/
|
||||||
|
public mixed $state;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* The form from the model
|
||||||
|
*
|
||||||
|
* @var mixed
|
||||||
|
* @since 3.10.11
|
||||||
|
*/
|
||||||
|
public mixed $form;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* The toolbar object
|
||||||
|
*
|
||||||
|
* @var Toolbar
|
||||||
|
* @since 3.10.11
|
||||||
|
*/
|
||||||
|
public Toolbar $toolbar;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* The styles url array
|
||||||
|
*
|
||||||
|
* @var array
|
||||||
|
* @since 5.0.0
|
||||||
|
*/
|
||||||
|
protected array $styles;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* The scripts url array
|
||||||
|
*
|
||||||
|
* @var array
|
||||||
|
* @since 5.0.0
|
||||||
|
*/
|
||||||
|
protected array $scripts;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* The actions object
|
||||||
|
*
|
||||||
|
* @var object
|
||||||
|
* @since 3.10.11
|
||||||
|
*/
|
||||||
|
public object $canDo;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* The origin referral view name
|
||||||
|
*
|
||||||
|
* @var string
|
||||||
|
* @since 3.10.11
|
||||||
|
*/
|
||||||
|
public string $ref;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* The origin referral item id
|
||||||
|
*
|
||||||
|
* @var int
|
||||||
|
* @since 3.10.11
|
||||||
|
*/
|
||||||
|
public int $refid;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* The referral url suffix values
|
||||||
|
*
|
||||||
|
* @var string
|
||||||
|
* @since 3.10.11
|
||||||
|
*/
|
||||||
|
public string $referral;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Admin_fields_conditions view display method
|
* Admin_fields_conditions view display method
|
||||||
*
|
*
|
||||||
@ -50,7 +131,7 @@ class HtmlView extends BaseHtmlView
|
|||||||
$this->params = ComponentHelper::getParams('com_componentbuilder');
|
$this->params = ComponentHelper::getParams('com_componentbuilder');
|
||||||
$this->useCoreUI = true;
|
$this->useCoreUI = true;
|
||||||
// Assign the variables
|
// Assign the variables
|
||||||
$this->form = $this->get('Form');
|
$this->form ??= $this->get('Form');
|
||||||
$this->item = $this->get('Item');
|
$this->item = $this->get('Item');
|
||||||
$this->styles = $this->get('Styles');
|
$this->styles = $this->get('Styles');
|
||||||
$this->scripts = $this->get('Scripts');
|
$this->scripts = $this->get('Scripts');
|
||||||
|
@ -16,6 +16,7 @@ use Joomla\CMS\Toolbar\Toolbar;
|
|||||||
use Joomla\CMS\Form\FormHelper;
|
use Joomla\CMS\Form\FormHelper;
|
||||||
use Joomla\CMS\Session\Session;
|
use Joomla\CMS\Session\Session;
|
||||||
use Joomla\CMS\Uri\Uri;
|
use Joomla\CMS\Uri\Uri;
|
||||||
|
use Joomla\CMS\User\User;
|
||||||
use Joomla\CMS\Component\ComponentHelper;
|
use Joomla\CMS\Component\ComponentHelper;
|
||||||
use Joomla\CMS\HTML\HTMLHelper as Html;
|
use Joomla\CMS\HTML\HTMLHelper as Html;
|
||||||
use Joomla\CMS\Layout\FileLayout;
|
use Joomla\CMS\Layout\FileLayout;
|
||||||
@ -36,6 +37,86 @@ use VDM\Joomla\Utilities\StringHelper;
|
|||||||
*/
|
*/
|
||||||
class HtmlView extends BaseHtmlView
|
class HtmlView extends BaseHtmlView
|
||||||
{
|
{
|
||||||
|
/**
|
||||||
|
* The item from the model
|
||||||
|
*
|
||||||
|
* @var mixed
|
||||||
|
* @since 3.10.11
|
||||||
|
*/
|
||||||
|
public mixed $item;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* The state object
|
||||||
|
*
|
||||||
|
* @var mixed
|
||||||
|
* @since 3.10.11
|
||||||
|
*/
|
||||||
|
public mixed $state;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* The form from the model
|
||||||
|
*
|
||||||
|
* @var mixed
|
||||||
|
* @since 3.10.11
|
||||||
|
*/
|
||||||
|
public mixed $form;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* The toolbar object
|
||||||
|
*
|
||||||
|
* @var Toolbar
|
||||||
|
* @since 3.10.11
|
||||||
|
*/
|
||||||
|
public Toolbar $toolbar;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* The styles url array
|
||||||
|
*
|
||||||
|
* @var array
|
||||||
|
* @since 5.0.0
|
||||||
|
*/
|
||||||
|
protected array $styles;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* The scripts url array
|
||||||
|
*
|
||||||
|
* @var array
|
||||||
|
* @since 5.0.0
|
||||||
|
*/
|
||||||
|
protected array $scripts;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* The actions object
|
||||||
|
*
|
||||||
|
* @var object
|
||||||
|
* @since 3.10.11
|
||||||
|
*/
|
||||||
|
public object $canDo;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* The origin referral view name
|
||||||
|
*
|
||||||
|
* @var string
|
||||||
|
* @since 3.10.11
|
||||||
|
*/
|
||||||
|
public string $ref;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* The origin referral item id
|
||||||
|
*
|
||||||
|
* @var int
|
||||||
|
* @since 3.10.11
|
||||||
|
*/
|
||||||
|
public int $refid;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* The referral url suffix values
|
||||||
|
*
|
||||||
|
* @var string
|
||||||
|
* @since 3.10.11
|
||||||
|
*/
|
||||||
|
public string $referral;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Admin_fields_relations view display method
|
* Admin_fields_relations view display method
|
||||||
*
|
*
|
||||||
@ -50,7 +131,7 @@ class HtmlView extends BaseHtmlView
|
|||||||
$this->params = ComponentHelper::getParams('com_componentbuilder');
|
$this->params = ComponentHelper::getParams('com_componentbuilder');
|
||||||
$this->useCoreUI = true;
|
$this->useCoreUI = true;
|
||||||
// Assign the variables
|
// Assign the variables
|
||||||
$this->form = $this->get('Form');
|
$this->form ??= $this->get('Form');
|
||||||
$this->item = $this->get('Item');
|
$this->item = $this->get('Item');
|
||||||
$this->styles = $this->get('Styles');
|
$this->styles = $this->get('Styles');
|
||||||
$this->scripts = $this->get('Scripts');
|
$this->scripts = $this->get('Scripts');
|
||||||
|
@ -16,6 +16,7 @@ use Joomla\CMS\Toolbar\Toolbar;
|
|||||||
use Joomla\CMS\Form\FormHelper;
|
use Joomla\CMS\Form\FormHelper;
|
||||||
use Joomla\CMS\Session\Session;
|
use Joomla\CMS\Session\Session;
|
||||||
use Joomla\CMS\Uri\Uri;
|
use Joomla\CMS\Uri\Uri;
|
||||||
|
use Joomla\CMS\User\User;
|
||||||
use Joomla\CMS\Component\ComponentHelper;
|
use Joomla\CMS\Component\ComponentHelper;
|
||||||
use Joomla\CMS\HTML\HTMLHelper as Html;
|
use Joomla\CMS\HTML\HTMLHelper as Html;
|
||||||
use Joomla\CMS\Layout\FileLayout;
|
use Joomla\CMS\Layout\FileLayout;
|
||||||
@ -36,6 +37,86 @@ use VDM\Joomla\Utilities\StringHelper;
|
|||||||
*/
|
*/
|
||||||
class HtmlView extends BaseHtmlView
|
class HtmlView extends BaseHtmlView
|
||||||
{
|
{
|
||||||
|
/**
|
||||||
|
* The item from the model
|
||||||
|
*
|
||||||
|
* @var mixed
|
||||||
|
* @since 3.10.11
|
||||||
|
*/
|
||||||
|
public mixed $item;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* The state object
|
||||||
|
*
|
||||||
|
* @var mixed
|
||||||
|
* @since 3.10.11
|
||||||
|
*/
|
||||||
|
public mixed $state;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* The form from the model
|
||||||
|
*
|
||||||
|
* @var mixed
|
||||||
|
* @since 3.10.11
|
||||||
|
*/
|
||||||
|
public mixed $form;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* The toolbar object
|
||||||
|
*
|
||||||
|
* @var Toolbar
|
||||||
|
* @since 3.10.11
|
||||||
|
*/
|
||||||
|
public Toolbar $toolbar;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* The styles url array
|
||||||
|
*
|
||||||
|
* @var array
|
||||||
|
* @since 5.0.0
|
||||||
|
*/
|
||||||
|
protected array $styles;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* The scripts url array
|
||||||
|
*
|
||||||
|
* @var array
|
||||||
|
* @since 5.0.0
|
||||||
|
*/
|
||||||
|
protected array $scripts;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* The actions object
|
||||||
|
*
|
||||||
|
* @var object
|
||||||
|
* @since 3.10.11
|
||||||
|
*/
|
||||||
|
public object $canDo;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* The origin referral view name
|
||||||
|
*
|
||||||
|
* @var string
|
||||||
|
* @since 3.10.11
|
||||||
|
*/
|
||||||
|
public string $ref;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* The origin referral item id
|
||||||
|
*
|
||||||
|
* @var int
|
||||||
|
* @since 3.10.11
|
||||||
|
*/
|
||||||
|
public int $refid;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* The referral url suffix values
|
||||||
|
*
|
||||||
|
* @var string
|
||||||
|
* @since 3.10.11
|
||||||
|
*/
|
||||||
|
public string $referral;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Admin_view view display method
|
* Admin_view view display method
|
||||||
*
|
*
|
||||||
@ -50,7 +131,7 @@ class HtmlView extends BaseHtmlView
|
|||||||
$this->params = ComponentHelper::getParams('com_componentbuilder');
|
$this->params = ComponentHelper::getParams('com_componentbuilder');
|
||||||
$this->useCoreUI = true;
|
$this->useCoreUI = true;
|
||||||
// Assign the variables
|
// Assign the variables
|
||||||
$this->form = $this->get('Form');
|
$this->form ??= $this->get('Form');
|
||||||
$this->item = $this->get('Item');
|
$this->item = $this->get('Item');
|
||||||
$this->styles = $this->get('Styles');
|
$this->styles = $this->get('Styles');
|
||||||
$this->scripts = $this->get('Scripts');
|
$this->scripts = $this->get('Scripts');
|
||||||
|
@ -16,6 +16,7 @@ use Joomla\CMS\Toolbar\Toolbar;
|
|||||||
use Joomla\CMS\Form\FormHelper;
|
use Joomla\CMS\Form\FormHelper;
|
||||||
use Joomla\CMS\Session\Session;
|
use Joomla\CMS\Session\Session;
|
||||||
use Joomla\CMS\Uri\Uri;
|
use Joomla\CMS\Uri\Uri;
|
||||||
|
use Joomla\CMS\User\User;
|
||||||
use Joomla\CMS\Component\ComponentHelper;
|
use Joomla\CMS\Component\ComponentHelper;
|
||||||
use Joomla\CMS\HTML\HTMLHelper as Html;
|
use Joomla\CMS\HTML\HTMLHelper as Html;
|
||||||
use Joomla\CMS\Layout\FileLayout;
|
use Joomla\CMS\Layout\FileLayout;
|
||||||
@ -37,6 +38,62 @@ use VDM\Joomla\Utilities\StringHelper;
|
|||||||
*/
|
*/
|
||||||
class HtmlView extends BaseHtmlView
|
class HtmlView extends BaseHtmlView
|
||||||
{
|
{
|
||||||
|
/**
|
||||||
|
* The items from the model
|
||||||
|
*
|
||||||
|
* @var mixed
|
||||||
|
* @since 3.10.11
|
||||||
|
*/
|
||||||
|
public mixed $items;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* The state object
|
||||||
|
*
|
||||||
|
* @var mixed
|
||||||
|
* @since 3.10.11
|
||||||
|
*/
|
||||||
|
public mixed $state;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* The styles url array
|
||||||
|
*
|
||||||
|
* @var array
|
||||||
|
* @since 5.0.0
|
||||||
|
*/
|
||||||
|
protected array $styles;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* The scripts url array
|
||||||
|
*
|
||||||
|
* @var array
|
||||||
|
* @since 5.0.0
|
||||||
|
*/
|
||||||
|
protected array $scripts;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* The actions object
|
||||||
|
*
|
||||||
|
* @var object
|
||||||
|
* @since 3.10.11
|
||||||
|
*/
|
||||||
|
public object $canDo;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* The return here base64 url
|
||||||
|
*
|
||||||
|
* @var string
|
||||||
|
* @since 3.10.11
|
||||||
|
*/
|
||||||
|
public string $return_here;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* The user object.
|
||||||
|
*
|
||||||
|
* @var User
|
||||||
|
* @since 3.10.11
|
||||||
|
*/
|
||||||
|
public User $user;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Admin_views view display method
|
* Admin_views view display method
|
||||||
*
|
*
|
||||||
@ -53,7 +110,7 @@ class HtmlView extends BaseHtmlView
|
|||||||
$this->state = $this->get('State');
|
$this->state = $this->get('State');
|
||||||
$this->styles = $this->get('Styles');
|
$this->styles = $this->get('Styles');
|
||||||
$this->scripts = $this->get('Scripts');
|
$this->scripts = $this->get('Scripts');
|
||||||
$this->user ??= Factory::getApplication()->getIdentity();
|
$this->user ??= $this->getCurrentUser();
|
||||||
// Load the filter form from xml.
|
// Load the filter form from xml.
|
||||||
$this->filterForm = $this->get('FilterForm');
|
$this->filterForm = $this->get('FilterForm');
|
||||||
// Load the active filters.
|
// Load the active filters.
|
||||||
@ -141,11 +198,6 @@ class HtmlView extends BaseHtmlView
|
|||||||
ToolbarHelper::trash('admin_views.trash');
|
ToolbarHelper::trash('admin_views.trash');
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
if ($this->user->authorise('admin_view.run_expansion', 'com_componentbuilder'))
|
|
||||||
{
|
|
||||||
// add Run Expansion button.
|
|
||||||
ToolbarHelper::custom('admin_views.runExpansion', 'expand-2 custom-button-runexpansion', '', 'COM_COMPONENTBUILDER_RUN_EXPANSION', false);
|
|
||||||
}
|
|
||||||
|
|
||||||
// set help url for this view if found
|
// set help url for this view if found
|
||||||
$this->help_url = ComponentbuilderHelper::getHelpUrl('admin_views');
|
$this->help_url = ComponentbuilderHelper::getHelpUrl('admin_views');
|
||||||
|
@ -16,6 +16,7 @@ use Joomla\CMS\Toolbar\Toolbar;
|
|||||||
use Joomla\CMS\Form\FormHelper;
|
use Joomla\CMS\Form\FormHelper;
|
||||||
use Joomla\CMS\Session\Session;
|
use Joomla\CMS\Session\Session;
|
||||||
use Joomla\CMS\Uri\Uri;
|
use Joomla\CMS\Uri\Uri;
|
||||||
|
use Joomla\CMS\User\User;
|
||||||
use Joomla\CMS\Component\ComponentHelper;
|
use Joomla\CMS\Component\ComponentHelper;
|
||||||
use Joomla\CMS\HTML\HTMLHelper as Html;
|
use Joomla\CMS\HTML\HTMLHelper as Html;
|
||||||
use Joomla\CMS\Layout\FileLayout;
|
use Joomla\CMS\Layout\FileLayout;
|
||||||
@ -37,6 +38,62 @@ use VDM\Joomla\Utilities\StringHelper;
|
|||||||
*/
|
*/
|
||||||
class HtmlView extends BaseHtmlView
|
class HtmlView extends BaseHtmlView
|
||||||
{
|
{
|
||||||
|
/**
|
||||||
|
* The items from the model
|
||||||
|
*
|
||||||
|
* @var mixed
|
||||||
|
* @since 3.10.11
|
||||||
|
*/
|
||||||
|
public mixed $items;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* The state object
|
||||||
|
*
|
||||||
|
* @var mixed
|
||||||
|
* @since 3.10.11
|
||||||
|
*/
|
||||||
|
public mixed $state;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* The styles url array
|
||||||
|
*
|
||||||
|
* @var array
|
||||||
|
* @since 5.0.0
|
||||||
|
*/
|
||||||
|
protected array $styles;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* The scripts url array
|
||||||
|
*
|
||||||
|
* @var array
|
||||||
|
* @since 5.0.0
|
||||||
|
*/
|
||||||
|
protected array $scripts;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* The actions object
|
||||||
|
*
|
||||||
|
* @var object
|
||||||
|
* @since 3.10.11
|
||||||
|
*/
|
||||||
|
public object $canDo;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* The return here base64 url
|
||||||
|
*
|
||||||
|
* @var string
|
||||||
|
* @since 3.10.11
|
||||||
|
*/
|
||||||
|
public string $return_here;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* The user object.
|
||||||
|
*
|
||||||
|
* @var User
|
||||||
|
* @since 3.10.11
|
||||||
|
*/
|
||||||
|
public User $user;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Admins_custom_tabs view display method
|
* Admins_custom_tabs view display method
|
||||||
*
|
*
|
||||||
@ -53,7 +110,7 @@ class HtmlView extends BaseHtmlView
|
|||||||
$this->state = $this->get('State');
|
$this->state = $this->get('State');
|
||||||
$this->styles = $this->get('Styles');
|
$this->styles = $this->get('Styles');
|
||||||
$this->scripts = $this->get('Scripts');
|
$this->scripts = $this->get('Scripts');
|
||||||
$this->user ??= Factory::getApplication()->getIdentity();
|
$this->user ??= $this->getCurrentUser();
|
||||||
// Load the filter form from xml.
|
// Load the filter form from xml.
|
||||||
$this->filterForm = $this->get('FilterForm');
|
$this->filterForm = $this->get('FilterForm');
|
||||||
// Load the active filters.
|
// Load the active filters.
|
||||||
|
@ -16,6 +16,7 @@ use Joomla\CMS\Toolbar\Toolbar;
|
|||||||
use Joomla\CMS\Form\FormHelper;
|
use Joomla\CMS\Form\FormHelper;
|
||||||
use Joomla\CMS\Session\Session;
|
use Joomla\CMS\Session\Session;
|
||||||
use Joomla\CMS\Uri\Uri;
|
use Joomla\CMS\Uri\Uri;
|
||||||
|
use Joomla\CMS\User\User;
|
||||||
use Joomla\CMS\Component\ComponentHelper;
|
use Joomla\CMS\Component\ComponentHelper;
|
||||||
use Joomla\CMS\HTML\HTMLHelper as Html;
|
use Joomla\CMS\HTML\HTMLHelper as Html;
|
||||||
use Joomla\CMS\Layout\FileLayout;
|
use Joomla\CMS\Layout\FileLayout;
|
||||||
@ -37,6 +38,62 @@ use VDM\Joomla\Utilities\StringHelper;
|
|||||||
*/
|
*/
|
||||||
class HtmlView extends BaseHtmlView
|
class HtmlView extends BaseHtmlView
|
||||||
{
|
{
|
||||||
|
/**
|
||||||
|
* The items from the model
|
||||||
|
*
|
||||||
|
* @var mixed
|
||||||
|
* @since 3.10.11
|
||||||
|
*/
|
||||||
|
public mixed $items;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* The state object
|
||||||
|
*
|
||||||
|
* @var mixed
|
||||||
|
* @since 3.10.11
|
||||||
|
*/
|
||||||
|
public mixed $state;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* The styles url array
|
||||||
|
*
|
||||||
|
* @var array
|
||||||
|
* @since 5.0.0
|
||||||
|
*/
|
||||||
|
protected array $styles;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* The scripts url array
|
||||||
|
*
|
||||||
|
* @var array
|
||||||
|
* @since 5.0.0
|
||||||
|
*/
|
||||||
|
protected array $scripts;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* The actions object
|
||||||
|
*
|
||||||
|
* @var object
|
||||||
|
* @since 3.10.11
|
||||||
|
*/
|
||||||
|
public object $canDo;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* The return here base64 url
|
||||||
|
*
|
||||||
|
* @var string
|
||||||
|
* @since 3.10.11
|
||||||
|
*/
|
||||||
|
public string $return_here;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* The user object.
|
||||||
|
*
|
||||||
|
* @var User
|
||||||
|
* @since 3.10.11
|
||||||
|
*/
|
||||||
|
public User $user;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Admins_fields view display method
|
* Admins_fields view display method
|
||||||
*
|
*
|
||||||
@ -53,7 +110,7 @@ class HtmlView extends BaseHtmlView
|
|||||||
$this->state = $this->get('State');
|
$this->state = $this->get('State');
|
||||||
$this->styles = $this->get('Styles');
|
$this->styles = $this->get('Styles');
|
||||||
$this->scripts = $this->get('Scripts');
|
$this->scripts = $this->get('Scripts');
|
||||||
$this->user ??= Factory::getApplication()->getIdentity();
|
$this->user ??= $this->getCurrentUser();
|
||||||
// Load the filter form from xml.
|
// Load the filter form from xml.
|
||||||
$this->filterForm = $this->get('FilterForm');
|
$this->filterForm = $this->get('FilterForm');
|
||||||
// Load the active filters.
|
// Load the active filters.
|
||||||
|
@ -16,6 +16,7 @@ use Joomla\CMS\Toolbar\Toolbar;
|
|||||||
use Joomla\CMS\Form\FormHelper;
|
use Joomla\CMS\Form\FormHelper;
|
||||||
use Joomla\CMS\Session\Session;
|
use Joomla\CMS\Session\Session;
|
||||||
use Joomla\CMS\Uri\Uri;
|
use Joomla\CMS\Uri\Uri;
|
||||||
|
use Joomla\CMS\User\User;
|
||||||
use Joomla\CMS\Component\ComponentHelper;
|
use Joomla\CMS\Component\ComponentHelper;
|
||||||
use Joomla\CMS\HTML\HTMLHelper as Html;
|
use Joomla\CMS\HTML\HTMLHelper as Html;
|
||||||
use Joomla\CMS\Layout\FileLayout;
|
use Joomla\CMS\Layout\FileLayout;
|
||||||
@ -37,6 +38,62 @@ use VDM\Joomla\Utilities\StringHelper;
|
|||||||
*/
|
*/
|
||||||
class HtmlView extends BaseHtmlView
|
class HtmlView extends BaseHtmlView
|
||||||
{
|
{
|
||||||
|
/**
|
||||||
|
* The items from the model
|
||||||
|
*
|
||||||
|
* @var mixed
|
||||||
|
* @since 3.10.11
|
||||||
|
*/
|
||||||
|
public mixed $items;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* The state object
|
||||||
|
*
|
||||||
|
* @var mixed
|
||||||
|
* @since 3.10.11
|
||||||
|
*/
|
||||||
|
public mixed $state;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* The styles url array
|
||||||
|
*
|
||||||
|
* @var array
|
||||||
|
* @since 5.0.0
|
||||||
|
*/
|
||||||
|
protected array $styles;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* The scripts url array
|
||||||
|
*
|
||||||
|
* @var array
|
||||||
|
* @since 5.0.0
|
||||||
|
*/
|
||||||
|
protected array $scripts;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* The actions object
|
||||||
|
*
|
||||||
|
* @var object
|
||||||
|
* @since 3.10.11
|
||||||
|
*/
|
||||||
|
public object $canDo;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* The return here base64 url
|
||||||
|
*
|
||||||
|
* @var string
|
||||||
|
* @since 3.10.11
|
||||||
|
*/
|
||||||
|
public string $return_here;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* The user object.
|
||||||
|
*
|
||||||
|
* @var User
|
||||||
|
* @since 3.10.11
|
||||||
|
*/
|
||||||
|
public User $user;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Admins_fields_conditions view display method
|
* Admins_fields_conditions view display method
|
||||||
*
|
*
|
||||||
@ -53,7 +110,7 @@ class HtmlView extends BaseHtmlView
|
|||||||
$this->state = $this->get('State');
|
$this->state = $this->get('State');
|
||||||
$this->styles = $this->get('Styles');
|
$this->styles = $this->get('Styles');
|
||||||
$this->scripts = $this->get('Scripts');
|
$this->scripts = $this->get('Scripts');
|
||||||
$this->user ??= Factory::getApplication()->getIdentity();
|
$this->user ??= $this->getCurrentUser();
|
||||||
// Load the filter form from xml.
|
// Load the filter form from xml.
|
||||||
$this->filterForm = $this->get('FilterForm');
|
$this->filterForm = $this->get('FilterForm');
|
||||||
// Load the active filters.
|
// Load the active filters.
|
||||||
|
@ -16,6 +16,7 @@ use Joomla\CMS\Toolbar\Toolbar;
|
|||||||
use Joomla\CMS\Form\FormHelper;
|
use Joomla\CMS\Form\FormHelper;
|
||||||
use Joomla\CMS\Session\Session;
|
use Joomla\CMS\Session\Session;
|
||||||
use Joomla\CMS\Uri\Uri;
|
use Joomla\CMS\Uri\Uri;
|
||||||
|
use Joomla\CMS\User\User;
|
||||||
use Joomla\CMS\Component\ComponentHelper;
|
use Joomla\CMS\Component\ComponentHelper;
|
||||||
use Joomla\CMS\HTML\HTMLHelper as Html;
|
use Joomla\CMS\HTML\HTMLHelper as Html;
|
||||||
use Joomla\CMS\Layout\FileLayout;
|
use Joomla\CMS\Layout\FileLayout;
|
||||||
@ -37,6 +38,62 @@ use VDM\Joomla\Utilities\StringHelper;
|
|||||||
*/
|
*/
|
||||||
class HtmlView extends BaseHtmlView
|
class HtmlView extends BaseHtmlView
|
||||||
{
|
{
|
||||||
|
/**
|
||||||
|
* The items from the model
|
||||||
|
*
|
||||||
|
* @var mixed
|
||||||
|
* @since 3.10.11
|
||||||
|
*/
|
||||||
|
public mixed $items;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* The state object
|
||||||
|
*
|
||||||
|
* @var mixed
|
||||||
|
* @since 3.10.11
|
||||||
|
*/
|
||||||
|
public mixed $state;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* The styles url array
|
||||||
|
*
|
||||||
|
* @var array
|
||||||
|
* @since 5.0.0
|
||||||
|
*/
|
||||||
|
protected array $styles;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* The scripts url array
|
||||||
|
*
|
||||||
|
* @var array
|
||||||
|
* @since 5.0.0
|
||||||
|
*/
|
||||||
|
protected array $scripts;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* The actions object
|
||||||
|
*
|
||||||
|
* @var object
|
||||||
|
* @since 3.10.11
|
||||||
|
*/
|
||||||
|
public object $canDo;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* The return here base64 url
|
||||||
|
*
|
||||||
|
* @var string
|
||||||
|
* @since 3.10.11
|
||||||
|
*/
|
||||||
|
public string $return_here;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* The user object.
|
||||||
|
*
|
||||||
|
* @var User
|
||||||
|
* @since 3.10.11
|
||||||
|
*/
|
||||||
|
public User $user;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Admins_fields_relations view display method
|
* Admins_fields_relations view display method
|
||||||
*
|
*
|
||||||
@ -53,7 +110,7 @@ class HtmlView extends BaseHtmlView
|
|||||||
$this->state = $this->get('State');
|
$this->state = $this->get('State');
|
||||||
$this->styles = $this->get('Styles');
|
$this->styles = $this->get('Styles');
|
||||||
$this->scripts = $this->get('Scripts');
|
$this->scripts = $this->get('Scripts');
|
||||||
$this->user ??= Factory::getApplication()->getIdentity();
|
$this->user ??= $this->getCurrentUser();
|
||||||
// Load the filter form from xml.
|
// Load the filter form from xml.
|
||||||
$this->filterForm = $this->get('FilterForm');
|
$this->filterForm = $this->get('FilterForm');
|
||||||
// Load the active filters.
|
// Load the active filters.
|
||||||
|
@ -16,6 +16,7 @@ use Joomla\CMS\Toolbar\Toolbar;
|
|||||||
use Joomla\CMS\Form\FormHelper;
|
use Joomla\CMS\Form\FormHelper;
|
||||||
use Joomla\CMS\Session\Session;
|
use Joomla\CMS\Session\Session;
|
||||||
use Joomla\CMS\Uri\Uri;
|
use Joomla\CMS\Uri\Uri;
|
||||||
|
use Joomla\CMS\User\User;
|
||||||
use Joomla\CMS\Component\ComponentHelper;
|
use Joomla\CMS\Component\ComponentHelper;
|
||||||
use Joomla\CMS\HTML\HTMLHelper as Html;
|
use Joomla\CMS\HTML\HTMLHelper as Html;
|
||||||
use Joomla\CMS\Layout\FileLayout;
|
use Joomla\CMS\Layout\FileLayout;
|
||||||
@ -37,6 +38,62 @@ use VDM\Joomla\Utilities\StringHelper;
|
|||||||
*/
|
*/
|
||||||
class HtmlView extends BaseHtmlView
|
class HtmlView extends BaseHtmlView
|
||||||
{
|
{
|
||||||
|
/**
|
||||||
|
* The items from the model
|
||||||
|
*
|
||||||
|
* @var mixed
|
||||||
|
* @since 3.10.11
|
||||||
|
*/
|
||||||
|
public mixed $items;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* The state object
|
||||||
|
*
|
||||||
|
* @var mixed
|
||||||
|
* @since 3.10.11
|
||||||
|
*/
|
||||||
|
public mixed $state;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* The styles url array
|
||||||
|
*
|
||||||
|
* @var array
|
||||||
|
* @since 5.0.0
|
||||||
|
*/
|
||||||
|
protected array $styles;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* The scripts url array
|
||||||
|
*
|
||||||
|
* @var array
|
||||||
|
* @since 5.0.0
|
||||||
|
*/
|
||||||
|
protected array $scripts;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* The actions object
|
||||||
|
*
|
||||||
|
* @var object
|
||||||
|
* @since 3.10.11
|
||||||
|
*/
|
||||||
|
public object $canDo;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* The return here base64 url
|
||||||
|
*
|
||||||
|
* @var string
|
||||||
|
* @since 3.10.11
|
||||||
|
*/
|
||||||
|
public string $return_here;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* The user object.
|
||||||
|
*
|
||||||
|
* @var User
|
||||||
|
* @since 3.10.11
|
||||||
|
*/
|
||||||
|
public User $user;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Class_extendings view display method
|
* Class_extendings view display method
|
||||||
*
|
*
|
||||||
@ -53,7 +110,7 @@ class HtmlView extends BaseHtmlView
|
|||||||
$this->state = $this->get('State');
|
$this->state = $this->get('State');
|
||||||
$this->styles = $this->get('Styles');
|
$this->styles = $this->get('Styles');
|
||||||
$this->scripts = $this->get('Scripts');
|
$this->scripts = $this->get('Scripts');
|
||||||
$this->user ??= Factory::getApplication()->getIdentity();
|
$this->user ??= $this->getCurrentUser();
|
||||||
// Load the filter form from xml.
|
// Load the filter form from xml.
|
||||||
$this->filterForm = $this->get('FilterForm');
|
$this->filterForm = $this->get('FilterForm');
|
||||||
// Load the active filters.
|
// Load the active filters.
|
||||||
|
@ -16,6 +16,7 @@ use Joomla\CMS\Toolbar\Toolbar;
|
|||||||
use Joomla\CMS\Form\FormHelper;
|
use Joomla\CMS\Form\FormHelper;
|
||||||
use Joomla\CMS\Session\Session;
|
use Joomla\CMS\Session\Session;
|
||||||
use Joomla\CMS\Uri\Uri;
|
use Joomla\CMS\Uri\Uri;
|
||||||
|
use Joomla\CMS\User\User;
|
||||||
use Joomla\CMS\Component\ComponentHelper;
|
use Joomla\CMS\Component\ComponentHelper;
|
||||||
use Joomla\CMS\HTML\HTMLHelper as Html;
|
use Joomla\CMS\HTML\HTMLHelper as Html;
|
||||||
use Joomla\CMS\Layout\FileLayout;
|
use Joomla\CMS\Layout\FileLayout;
|
||||||
@ -36,6 +37,86 @@ use VDM\Joomla\Utilities\StringHelper;
|
|||||||
*/
|
*/
|
||||||
class HtmlView extends BaseHtmlView
|
class HtmlView extends BaseHtmlView
|
||||||
{
|
{
|
||||||
|
/**
|
||||||
|
* The item from the model
|
||||||
|
*
|
||||||
|
* @var mixed
|
||||||
|
* @since 3.10.11
|
||||||
|
*/
|
||||||
|
public mixed $item;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* The state object
|
||||||
|
*
|
||||||
|
* @var mixed
|
||||||
|
* @since 3.10.11
|
||||||
|
*/
|
||||||
|
public mixed $state;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* The form from the model
|
||||||
|
*
|
||||||
|
* @var mixed
|
||||||
|
* @since 3.10.11
|
||||||
|
*/
|
||||||
|
public mixed $form;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* The toolbar object
|
||||||
|
*
|
||||||
|
* @var Toolbar
|
||||||
|
* @since 3.10.11
|
||||||
|
*/
|
||||||
|
public Toolbar $toolbar;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* The styles url array
|
||||||
|
*
|
||||||
|
* @var array
|
||||||
|
* @since 5.0.0
|
||||||
|
*/
|
||||||
|
protected array $styles;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* The scripts url array
|
||||||
|
*
|
||||||
|
* @var array
|
||||||
|
* @since 5.0.0
|
||||||
|
*/
|
||||||
|
protected array $scripts;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* The actions object
|
||||||
|
*
|
||||||
|
* @var object
|
||||||
|
* @since 3.10.11
|
||||||
|
*/
|
||||||
|
public object $canDo;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* The origin referral view name
|
||||||
|
*
|
||||||
|
* @var string
|
||||||
|
* @since 3.10.11
|
||||||
|
*/
|
||||||
|
public string $ref;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* The origin referral item id
|
||||||
|
*
|
||||||
|
* @var int
|
||||||
|
* @since 3.10.11
|
||||||
|
*/
|
||||||
|
public int $refid;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* The referral url suffix values
|
||||||
|
*
|
||||||
|
* @var string
|
||||||
|
* @since 3.10.11
|
||||||
|
*/
|
||||||
|
public string $referral;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Class_extends view display method
|
* Class_extends view display method
|
||||||
*
|
*
|
||||||
@ -50,7 +131,7 @@ class HtmlView extends BaseHtmlView
|
|||||||
$this->params = ComponentHelper::getParams('com_componentbuilder');
|
$this->params = ComponentHelper::getParams('com_componentbuilder');
|
||||||
$this->useCoreUI = true;
|
$this->useCoreUI = true;
|
||||||
// Assign the variables
|
// Assign the variables
|
||||||
$this->form = $this->get('Form');
|
$this->form ??= $this->get('Form');
|
||||||
$this->item = $this->get('Item');
|
$this->item = $this->get('Item');
|
||||||
$this->styles = $this->get('Styles');
|
$this->styles = $this->get('Styles');
|
||||||
$this->scripts = $this->get('Scripts');
|
$this->scripts = $this->get('Scripts');
|
||||||
|
@ -16,6 +16,7 @@ use Joomla\CMS\Toolbar\Toolbar;
|
|||||||
use Joomla\CMS\Form\FormHelper;
|
use Joomla\CMS\Form\FormHelper;
|
||||||
use Joomla\CMS\Session\Session;
|
use Joomla\CMS\Session\Session;
|
||||||
use Joomla\CMS\Uri\Uri;
|
use Joomla\CMS\Uri\Uri;
|
||||||
|
use Joomla\CMS\User\User;
|
||||||
use Joomla\CMS\Component\ComponentHelper;
|
use Joomla\CMS\Component\ComponentHelper;
|
||||||
use Joomla\CMS\HTML\HTMLHelper as Html;
|
use Joomla\CMS\HTML\HTMLHelper as Html;
|
||||||
use Joomla\CMS\Layout\FileLayout;
|
use Joomla\CMS\Layout\FileLayout;
|
||||||
@ -36,6 +37,86 @@ use VDM\Joomla\Utilities\StringHelper;
|
|||||||
*/
|
*/
|
||||||
class HtmlView extends BaseHtmlView
|
class HtmlView extends BaseHtmlView
|
||||||
{
|
{
|
||||||
|
/**
|
||||||
|
* The item from the model
|
||||||
|
*
|
||||||
|
* @var mixed
|
||||||
|
* @since 3.10.11
|
||||||
|
*/
|
||||||
|
public mixed $item;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* The state object
|
||||||
|
*
|
||||||
|
* @var mixed
|
||||||
|
* @since 3.10.11
|
||||||
|
*/
|
||||||
|
public mixed $state;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* The form from the model
|
||||||
|
*
|
||||||
|
* @var mixed
|
||||||
|
* @since 3.10.11
|
||||||
|
*/
|
||||||
|
public mixed $form;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* The toolbar object
|
||||||
|
*
|
||||||
|
* @var Toolbar
|
||||||
|
* @since 3.10.11
|
||||||
|
*/
|
||||||
|
public Toolbar $toolbar;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* The styles url array
|
||||||
|
*
|
||||||
|
* @var array
|
||||||
|
* @since 5.0.0
|
||||||
|
*/
|
||||||
|
protected array $styles;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* The scripts url array
|
||||||
|
*
|
||||||
|
* @var array
|
||||||
|
* @since 5.0.0
|
||||||
|
*/
|
||||||
|
protected array $scripts;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* The actions object
|
||||||
|
*
|
||||||
|
* @var object
|
||||||
|
* @since 3.10.11
|
||||||
|
*/
|
||||||
|
public object $canDo;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* The origin referral view name
|
||||||
|
*
|
||||||
|
* @var string
|
||||||
|
* @since 3.10.11
|
||||||
|
*/
|
||||||
|
public string $ref;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* The origin referral item id
|
||||||
|
*
|
||||||
|
* @var int
|
||||||
|
* @since 3.10.11
|
||||||
|
*/
|
||||||
|
public int $refid;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* The referral url suffix values
|
||||||
|
*
|
||||||
|
* @var string
|
||||||
|
* @since 3.10.11
|
||||||
|
*/
|
||||||
|
public string $referral;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Class_method view display method
|
* Class_method view display method
|
||||||
*
|
*
|
||||||
@ -50,7 +131,7 @@ class HtmlView extends BaseHtmlView
|
|||||||
$this->params = ComponentHelper::getParams('com_componentbuilder');
|
$this->params = ComponentHelper::getParams('com_componentbuilder');
|
||||||
$this->useCoreUI = true;
|
$this->useCoreUI = true;
|
||||||
// Assign the variables
|
// Assign the variables
|
||||||
$this->form = $this->get('Form');
|
$this->form ??= $this->get('Form');
|
||||||
$this->item = $this->get('Item');
|
$this->item = $this->get('Item');
|
||||||
$this->styles = $this->get('Styles');
|
$this->styles = $this->get('Styles');
|
||||||
$this->scripts = $this->get('Scripts');
|
$this->scripts = $this->get('Scripts');
|
||||||
|
@ -16,6 +16,7 @@ use Joomla\CMS\Toolbar\Toolbar;
|
|||||||
use Joomla\CMS\Form\FormHelper;
|
use Joomla\CMS\Form\FormHelper;
|
||||||
use Joomla\CMS\Session\Session;
|
use Joomla\CMS\Session\Session;
|
||||||
use Joomla\CMS\Uri\Uri;
|
use Joomla\CMS\Uri\Uri;
|
||||||
|
use Joomla\CMS\User\User;
|
||||||
use Joomla\CMS\Component\ComponentHelper;
|
use Joomla\CMS\Component\ComponentHelper;
|
||||||
use Joomla\CMS\HTML\HTMLHelper as Html;
|
use Joomla\CMS\HTML\HTMLHelper as Html;
|
||||||
use Joomla\CMS\Layout\FileLayout;
|
use Joomla\CMS\Layout\FileLayout;
|
||||||
@ -37,6 +38,62 @@ use VDM\Joomla\Utilities\StringHelper;
|
|||||||
*/
|
*/
|
||||||
class HtmlView extends BaseHtmlView
|
class HtmlView extends BaseHtmlView
|
||||||
{
|
{
|
||||||
|
/**
|
||||||
|
* The items from the model
|
||||||
|
*
|
||||||
|
* @var mixed
|
||||||
|
* @since 3.10.11
|
||||||
|
*/
|
||||||
|
public mixed $items;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* The state object
|
||||||
|
*
|
||||||
|
* @var mixed
|
||||||
|
* @since 3.10.11
|
||||||
|
*/
|
||||||
|
public mixed $state;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* The styles url array
|
||||||
|
*
|
||||||
|
* @var array
|
||||||
|
* @since 5.0.0
|
||||||
|
*/
|
||||||
|
protected array $styles;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* The scripts url array
|
||||||
|
*
|
||||||
|
* @var array
|
||||||
|
* @since 5.0.0
|
||||||
|
*/
|
||||||
|
protected array $scripts;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* The actions object
|
||||||
|
*
|
||||||
|
* @var object
|
||||||
|
* @since 3.10.11
|
||||||
|
*/
|
||||||
|
public object $canDo;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* The return here base64 url
|
||||||
|
*
|
||||||
|
* @var string
|
||||||
|
* @since 3.10.11
|
||||||
|
*/
|
||||||
|
public string $return_here;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* The user object.
|
||||||
|
*
|
||||||
|
* @var User
|
||||||
|
* @since 3.10.11
|
||||||
|
*/
|
||||||
|
public User $user;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Class_methods view display method
|
* Class_methods view display method
|
||||||
*
|
*
|
||||||
@ -53,7 +110,7 @@ class HtmlView extends BaseHtmlView
|
|||||||
$this->state = $this->get('State');
|
$this->state = $this->get('State');
|
||||||
$this->styles = $this->get('Styles');
|
$this->styles = $this->get('Styles');
|
||||||
$this->scripts = $this->get('Scripts');
|
$this->scripts = $this->get('Scripts');
|
||||||
$this->user ??= Factory::getApplication()->getIdentity();
|
$this->user ??= $this->getCurrentUser();
|
||||||
// Load the filter form from xml.
|
// Load the filter form from xml.
|
||||||
$this->filterForm = $this->get('FilterForm');
|
$this->filterForm = $this->get('FilterForm');
|
||||||
// Load the active filters.
|
// Load the active filters.
|
||||||
|
@ -16,6 +16,7 @@ use Joomla\CMS\Toolbar\Toolbar;
|
|||||||
use Joomla\CMS\Form\FormHelper;
|
use Joomla\CMS\Form\FormHelper;
|
||||||
use Joomla\CMS\Session\Session;
|
use Joomla\CMS\Session\Session;
|
||||||
use Joomla\CMS\Uri\Uri;
|
use Joomla\CMS\Uri\Uri;
|
||||||
|
use Joomla\CMS\User\User;
|
||||||
use Joomla\CMS\Component\ComponentHelper;
|
use Joomla\CMS\Component\ComponentHelper;
|
||||||
use Joomla\CMS\HTML\HTMLHelper as Html;
|
use Joomla\CMS\HTML\HTMLHelper as Html;
|
||||||
use Joomla\CMS\Layout\FileLayout;
|
use Joomla\CMS\Layout\FileLayout;
|
||||||
@ -37,6 +38,62 @@ use VDM\Joomla\Utilities\StringHelper;
|
|||||||
*/
|
*/
|
||||||
class HtmlView extends BaseHtmlView
|
class HtmlView extends BaseHtmlView
|
||||||
{
|
{
|
||||||
|
/**
|
||||||
|
* The items from the model
|
||||||
|
*
|
||||||
|
* @var mixed
|
||||||
|
* @since 3.10.11
|
||||||
|
*/
|
||||||
|
public mixed $items;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* The state object
|
||||||
|
*
|
||||||
|
* @var mixed
|
||||||
|
* @since 3.10.11
|
||||||
|
*/
|
||||||
|
public mixed $state;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* The styles url array
|
||||||
|
*
|
||||||
|
* @var array
|
||||||
|
* @since 5.0.0
|
||||||
|
*/
|
||||||
|
protected array $styles;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* The scripts url array
|
||||||
|
*
|
||||||
|
* @var array
|
||||||
|
* @since 5.0.0
|
||||||
|
*/
|
||||||
|
protected array $scripts;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* The actions object
|
||||||
|
*
|
||||||
|
* @var object
|
||||||
|
* @since 3.10.11
|
||||||
|
*/
|
||||||
|
public object $canDo;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* The return here base64 url
|
||||||
|
*
|
||||||
|
* @var string
|
||||||
|
* @since 3.10.11
|
||||||
|
*/
|
||||||
|
public string $return_here;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* The user object.
|
||||||
|
*
|
||||||
|
* @var User
|
||||||
|
* @since 3.10.11
|
||||||
|
*/
|
||||||
|
public User $user;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Class_properties view display method
|
* Class_properties view display method
|
||||||
*
|
*
|
||||||
@ -53,7 +110,7 @@ class HtmlView extends BaseHtmlView
|
|||||||
$this->state = $this->get('State');
|
$this->state = $this->get('State');
|
||||||
$this->styles = $this->get('Styles');
|
$this->styles = $this->get('Styles');
|
||||||
$this->scripts = $this->get('Scripts');
|
$this->scripts = $this->get('Scripts');
|
||||||
$this->user ??= Factory::getApplication()->getIdentity();
|
$this->user ??= $this->getCurrentUser();
|
||||||
// Load the filter form from xml.
|
// Load the filter form from xml.
|
||||||
$this->filterForm = $this->get('FilterForm');
|
$this->filterForm = $this->get('FilterForm');
|
||||||
// Load the active filters.
|
// Load the active filters.
|
||||||
|
@ -16,6 +16,7 @@ use Joomla\CMS\Toolbar\Toolbar;
|
|||||||
use Joomla\CMS\Form\FormHelper;
|
use Joomla\CMS\Form\FormHelper;
|
||||||
use Joomla\CMS\Session\Session;
|
use Joomla\CMS\Session\Session;
|
||||||
use Joomla\CMS\Uri\Uri;
|
use Joomla\CMS\Uri\Uri;
|
||||||
|
use Joomla\CMS\User\User;
|
||||||
use Joomla\CMS\Component\ComponentHelper;
|
use Joomla\CMS\Component\ComponentHelper;
|
||||||
use Joomla\CMS\HTML\HTMLHelper as Html;
|
use Joomla\CMS\HTML\HTMLHelper as Html;
|
||||||
use Joomla\CMS\Layout\FileLayout;
|
use Joomla\CMS\Layout\FileLayout;
|
||||||
@ -36,6 +37,86 @@ use VDM\Joomla\Utilities\StringHelper;
|
|||||||
*/
|
*/
|
||||||
class HtmlView extends BaseHtmlView
|
class HtmlView extends BaseHtmlView
|
||||||
{
|
{
|
||||||
|
/**
|
||||||
|
* The item from the model
|
||||||
|
*
|
||||||
|
* @var mixed
|
||||||
|
* @since 3.10.11
|
||||||
|
*/
|
||||||
|
public mixed $item;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* The state object
|
||||||
|
*
|
||||||
|
* @var mixed
|
||||||
|
* @since 3.10.11
|
||||||
|
*/
|
||||||
|
public mixed $state;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* The form from the model
|
||||||
|
*
|
||||||
|
* @var mixed
|
||||||
|
* @since 3.10.11
|
||||||
|
*/
|
||||||
|
public mixed $form;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* The toolbar object
|
||||||
|
*
|
||||||
|
* @var Toolbar
|
||||||
|
* @since 3.10.11
|
||||||
|
*/
|
||||||
|
public Toolbar $toolbar;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* The styles url array
|
||||||
|
*
|
||||||
|
* @var array
|
||||||
|
* @since 5.0.0
|
||||||
|
*/
|
||||||
|
protected array $styles;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* The scripts url array
|
||||||
|
*
|
||||||
|
* @var array
|
||||||
|
* @since 5.0.0
|
||||||
|
*/
|
||||||
|
protected array $scripts;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* The actions object
|
||||||
|
*
|
||||||
|
* @var object
|
||||||
|
* @since 3.10.11
|
||||||
|
*/
|
||||||
|
public object $canDo;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* The origin referral view name
|
||||||
|
*
|
||||||
|
* @var string
|
||||||
|
* @since 3.10.11
|
||||||
|
*/
|
||||||
|
public string $ref;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* The origin referral item id
|
||||||
|
*
|
||||||
|
* @var int
|
||||||
|
* @since 3.10.11
|
||||||
|
*/
|
||||||
|
public int $refid;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* The referral url suffix values
|
||||||
|
*
|
||||||
|
* @var string
|
||||||
|
* @since 3.10.11
|
||||||
|
*/
|
||||||
|
public string $referral;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Class_property view display method
|
* Class_property view display method
|
||||||
*
|
*
|
||||||
@ -50,7 +131,7 @@ class HtmlView extends BaseHtmlView
|
|||||||
$this->params = ComponentHelper::getParams('com_componentbuilder');
|
$this->params = ComponentHelper::getParams('com_componentbuilder');
|
||||||
$this->useCoreUI = true;
|
$this->useCoreUI = true;
|
||||||
// Assign the variables
|
// Assign the variables
|
||||||
$this->form = $this->get('Form');
|
$this->form ??= $this->get('Form');
|
||||||
$this->item = $this->get('Item');
|
$this->item = $this->get('Item');
|
||||||
$this->styles = $this->get('Styles');
|
$this->styles = $this->get('Styles');
|
||||||
$this->scripts = $this->get('Scripts');
|
$this->scripts = $this->get('Scripts');
|
||||||
|
@ -18,6 +18,7 @@ use Joomla\CMS\Layout\FileLayout;
|
|||||||
use Joomla\CMS\MVC\View\HtmlView as BaseHtmlView;
|
use Joomla\CMS\MVC\View\HtmlView as BaseHtmlView;
|
||||||
use Joomla\CMS\Plugin\PluginHelper;
|
use Joomla\CMS\Plugin\PluginHelper;
|
||||||
use Joomla\CMS\Toolbar\ToolbarHelper;
|
use Joomla\CMS\Toolbar\ToolbarHelper;
|
||||||
|
use Joomla\CMS\User\User;
|
||||||
use Joomla\CMS\Document\Document;
|
use Joomla\CMS\Document\Document;
|
||||||
use VDM\Component\Componentbuilder\Administrator\Helper\HeaderCheck;
|
use VDM\Component\Componentbuilder\Administrator\Helper\HeaderCheck;
|
||||||
use VDM\Component\Componentbuilder\Administrator\Helper\ComponentbuilderHelper;
|
use VDM\Component\Componentbuilder\Administrator\Helper\ComponentbuilderHelper;
|
||||||
@ -38,6 +39,38 @@ use VDM\Joomla\Utilities\StringHelper;
|
|||||||
*/
|
*/
|
||||||
class HtmlView extends BaseHtmlView
|
class HtmlView extends BaseHtmlView
|
||||||
{
|
{
|
||||||
|
/**
|
||||||
|
* The styles url array
|
||||||
|
*
|
||||||
|
* @var array
|
||||||
|
* @since 5.0.0
|
||||||
|
*/
|
||||||
|
protected array $styles;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* The scripts url array
|
||||||
|
*
|
||||||
|
* @var array
|
||||||
|
* @since 5.0.0
|
||||||
|
*/
|
||||||
|
protected array $scripts;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* The actions object
|
||||||
|
*
|
||||||
|
* @var object
|
||||||
|
* @since 3.10.11
|
||||||
|
*/
|
||||||
|
public object $canDo;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* The user object.
|
||||||
|
*
|
||||||
|
* @var User
|
||||||
|
* @since 3.10.11
|
||||||
|
*/
|
||||||
|
public User $user;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Display the view
|
* Display the view
|
||||||
*
|
*
|
||||||
@ -53,11 +86,11 @@ class HtmlView extends BaseHtmlView
|
|||||||
// get the application
|
// get the application
|
||||||
$this->app ??= Factory::getApplication();
|
$this->app ??= Factory::getApplication();
|
||||||
// get the user object
|
// get the user object
|
||||||
$this->user ??= $this->app->getIdentity();
|
$this->user ??= $this->getCurrentUser();
|
||||||
// get global action permissions
|
// get global action permissions
|
||||||
$this->canDo = ComponentbuilderHelper::getActions('compiler');
|
$this->canDo = ComponentbuilderHelper::getActions('compiler');
|
||||||
$this->styles = $this->get('Styles');
|
$this->styles = $this->get('Styles') ?? [];
|
||||||
$this->scripts = $this->get('Scripts');
|
$this->scripts = $this->get('Scripts') ?? [];
|
||||||
// Initialise variables.
|
// Initialise variables.
|
||||||
$this->items = $this->get('Items');
|
$this->items = $this->get('Items');
|
||||||
// get the success message if set
|
// get the success message if set
|
||||||
|
@ -16,6 +16,7 @@ use Joomla\CMS\Toolbar\Toolbar;
|
|||||||
use Joomla\CMS\Form\FormHelper;
|
use Joomla\CMS\Form\FormHelper;
|
||||||
use Joomla\CMS\Session\Session;
|
use Joomla\CMS\Session\Session;
|
||||||
use Joomla\CMS\Uri\Uri;
|
use Joomla\CMS\Uri\Uri;
|
||||||
|
use Joomla\CMS\User\User;
|
||||||
use Joomla\CMS\Component\ComponentHelper;
|
use Joomla\CMS\Component\ComponentHelper;
|
||||||
use Joomla\CMS\HTML\HTMLHelper as Html;
|
use Joomla\CMS\HTML\HTMLHelper as Html;
|
||||||
use Joomla\CMS\Layout\FileLayout;
|
use Joomla\CMS\Layout\FileLayout;
|
||||||
@ -36,6 +37,86 @@ use VDM\Joomla\Utilities\StringHelper;
|
|||||||
*/
|
*/
|
||||||
class HtmlView extends BaseHtmlView
|
class HtmlView extends BaseHtmlView
|
||||||
{
|
{
|
||||||
|
/**
|
||||||
|
* The item from the model
|
||||||
|
*
|
||||||
|
* @var mixed
|
||||||
|
* @since 3.10.11
|
||||||
|
*/
|
||||||
|
public mixed $item;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* The state object
|
||||||
|
*
|
||||||
|
* @var mixed
|
||||||
|
* @since 3.10.11
|
||||||
|
*/
|
||||||
|
public mixed $state;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* The form from the model
|
||||||
|
*
|
||||||
|
* @var mixed
|
||||||
|
* @since 3.10.11
|
||||||
|
*/
|
||||||
|
public mixed $form;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* The toolbar object
|
||||||
|
*
|
||||||
|
* @var Toolbar
|
||||||
|
* @since 3.10.11
|
||||||
|
*/
|
||||||
|
public Toolbar $toolbar;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* The styles url array
|
||||||
|
*
|
||||||
|
* @var array
|
||||||
|
* @since 5.0.0
|
||||||
|
*/
|
||||||
|
protected array $styles;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* The scripts url array
|
||||||
|
*
|
||||||
|
* @var array
|
||||||
|
* @since 5.0.0
|
||||||
|
*/
|
||||||
|
protected array $scripts;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* The actions object
|
||||||
|
*
|
||||||
|
* @var object
|
||||||
|
* @since 3.10.11
|
||||||
|
*/
|
||||||
|
public object $canDo;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* The origin referral view name
|
||||||
|
*
|
||||||
|
* @var string
|
||||||
|
* @since 3.10.11
|
||||||
|
*/
|
||||||
|
public string $ref;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* The origin referral item id
|
||||||
|
*
|
||||||
|
* @var int
|
||||||
|
* @since 3.10.11
|
||||||
|
*/
|
||||||
|
public int $refid;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* The referral url suffix values
|
||||||
|
*
|
||||||
|
* @var string
|
||||||
|
* @since 3.10.11
|
||||||
|
*/
|
||||||
|
public string $referral;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Component_admin_views view display method
|
* Component_admin_views view display method
|
||||||
*
|
*
|
||||||
@ -50,7 +131,7 @@ class HtmlView extends BaseHtmlView
|
|||||||
$this->params = ComponentHelper::getParams('com_componentbuilder');
|
$this->params = ComponentHelper::getParams('com_componentbuilder');
|
||||||
$this->useCoreUI = true;
|
$this->useCoreUI = true;
|
||||||
// Assign the variables
|
// Assign the variables
|
||||||
$this->form = $this->get('Form');
|
$this->form ??= $this->get('Form');
|
||||||
$this->item = $this->get('Item');
|
$this->item = $this->get('Item');
|
||||||
$this->styles = $this->get('Styles');
|
$this->styles = $this->get('Styles');
|
||||||
$this->scripts = $this->get('Scripts');
|
$this->scripts = $this->get('Scripts');
|
||||||
|
@ -16,6 +16,7 @@ use Joomla\CMS\Toolbar\Toolbar;
|
|||||||
use Joomla\CMS\Form\FormHelper;
|
use Joomla\CMS\Form\FormHelper;
|
||||||
use Joomla\CMS\Session\Session;
|
use Joomla\CMS\Session\Session;
|
||||||
use Joomla\CMS\Uri\Uri;
|
use Joomla\CMS\Uri\Uri;
|
||||||
|
use Joomla\CMS\User\User;
|
||||||
use Joomla\CMS\Component\ComponentHelper;
|
use Joomla\CMS\Component\ComponentHelper;
|
||||||
use Joomla\CMS\HTML\HTMLHelper as Html;
|
use Joomla\CMS\HTML\HTMLHelper as Html;
|
||||||
use Joomla\CMS\Layout\FileLayout;
|
use Joomla\CMS\Layout\FileLayout;
|
||||||
@ -36,6 +37,86 @@ use VDM\Joomla\Utilities\StringHelper;
|
|||||||
*/
|
*/
|
||||||
class HtmlView extends BaseHtmlView
|
class HtmlView extends BaseHtmlView
|
||||||
{
|
{
|
||||||
|
/**
|
||||||
|
* The item from the model
|
||||||
|
*
|
||||||
|
* @var mixed
|
||||||
|
* @since 3.10.11
|
||||||
|
*/
|
||||||
|
public mixed $item;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* The state object
|
||||||
|
*
|
||||||
|
* @var mixed
|
||||||
|
* @since 3.10.11
|
||||||
|
*/
|
||||||
|
public mixed $state;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* The form from the model
|
||||||
|
*
|
||||||
|
* @var mixed
|
||||||
|
* @since 3.10.11
|
||||||
|
*/
|
||||||
|
public mixed $form;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* The toolbar object
|
||||||
|
*
|
||||||
|
* @var Toolbar
|
||||||
|
* @since 3.10.11
|
||||||
|
*/
|
||||||
|
public Toolbar $toolbar;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* The styles url array
|
||||||
|
*
|
||||||
|
* @var array
|
||||||
|
* @since 5.0.0
|
||||||
|
*/
|
||||||
|
protected array $styles;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* The scripts url array
|
||||||
|
*
|
||||||
|
* @var array
|
||||||
|
* @since 5.0.0
|
||||||
|
*/
|
||||||
|
protected array $scripts;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* The actions object
|
||||||
|
*
|
||||||
|
* @var object
|
||||||
|
* @since 3.10.11
|
||||||
|
*/
|
||||||
|
public object $canDo;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* The origin referral view name
|
||||||
|
*
|
||||||
|
* @var string
|
||||||
|
* @since 3.10.11
|
||||||
|
*/
|
||||||
|
public string $ref;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* The origin referral item id
|
||||||
|
*
|
||||||
|
* @var int
|
||||||
|
* @since 3.10.11
|
||||||
|
*/
|
||||||
|
public int $refid;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* The referral url suffix values
|
||||||
|
*
|
||||||
|
* @var string
|
||||||
|
* @since 3.10.11
|
||||||
|
*/
|
||||||
|
public string $referral;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Component_config view display method
|
* Component_config view display method
|
||||||
*
|
*
|
||||||
@ -50,7 +131,7 @@ class HtmlView extends BaseHtmlView
|
|||||||
$this->params = ComponentHelper::getParams('com_componentbuilder');
|
$this->params = ComponentHelper::getParams('com_componentbuilder');
|
||||||
$this->useCoreUI = true;
|
$this->useCoreUI = true;
|
||||||
// Assign the variables
|
// Assign the variables
|
||||||
$this->form = $this->get('Form');
|
$this->form ??= $this->get('Form');
|
||||||
$this->item = $this->get('Item');
|
$this->item = $this->get('Item');
|
||||||
$this->styles = $this->get('Styles');
|
$this->styles = $this->get('Styles');
|
||||||
$this->scripts = $this->get('Scripts');
|
$this->scripts = $this->get('Scripts');
|
||||||
|
@ -16,6 +16,7 @@ use Joomla\CMS\Toolbar\Toolbar;
|
|||||||
use Joomla\CMS\Form\FormHelper;
|
use Joomla\CMS\Form\FormHelper;
|
||||||
use Joomla\CMS\Session\Session;
|
use Joomla\CMS\Session\Session;
|
||||||
use Joomla\CMS\Uri\Uri;
|
use Joomla\CMS\Uri\Uri;
|
||||||
|
use Joomla\CMS\User\User;
|
||||||
use Joomla\CMS\Component\ComponentHelper;
|
use Joomla\CMS\Component\ComponentHelper;
|
||||||
use Joomla\CMS\HTML\HTMLHelper as Html;
|
use Joomla\CMS\HTML\HTMLHelper as Html;
|
||||||
use Joomla\CMS\Layout\FileLayout;
|
use Joomla\CMS\Layout\FileLayout;
|
||||||
@ -36,6 +37,86 @@ use VDM\Joomla\Utilities\StringHelper;
|
|||||||
*/
|
*/
|
||||||
class HtmlView extends BaseHtmlView
|
class HtmlView extends BaseHtmlView
|
||||||
{
|
{
|
||||||
|
/**
|
||||||
|
* The item from the model
|
||||||
|
*
|
||||||
|
* @var mixed
|
||||||
|
* @since 3.10.11
|
||||||
|
*/
|
||||||
|
public mixed $item;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* The state object
|
||||||
|
*
|
||||||
|
* @var mixed
|
||||||
|
* @since 3.10.11
|
||||||
|
*/
|
||||||
|
public mixed $state;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* The form from the model
|
||||||
|
*
|
||||||
|
* @var mixed
|
||||||
|
* @since 3.10.11
|
||||||
|
*/
|
||||||
|
public mixed $form;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* The toolbar object
|
||||||
|
*
|
||||||
|
* @var Toolbar
|
||||||
|
* @since 3.10.11
|
||||||
|
*/
|
||||||
|
public Toolbar $toolbar;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* The styles url array
|
||||||
|
*
|
||||||
|
* @var array
|
||||||
|
* @since 5.0.0
|
||||||
|
*/
|
||||||
|
protected array $styles;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* The scripts url array
|
||||||
|
*
|
||||||
|
* @var array
|
||||||
|
* @since 5.0.0
|
||||||
|
*/
|
||||||
|
protected array $scripts;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* The actions object
|
||||||
|
*
|
||||||
|
* @var object
|
||||||
|
* @since 3.10.11
|
||||||
|
*/
|
||||||
|
public object $canDo;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* The origin referral view name
|
||||||
|
*
|
||||||
|
* @var string
|
||||||
|
* @since 3.10.11
|
||||||
|
*/
|
||||||
|
public string $ref;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* The origin referral item id
|
||||||
|
*
|
||||||
|
* @var int
|
||||||
|
* @since 3.10.11
|
||||||
|
*/
|
||||||
|
public int $refid;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* The referral url suffix values
|
||||||
|
*
|
||||||
|
* @var string
|
||||||
|
* @since 3.10.11
|
||||||
|
*/
|
||||||
|
public string $referral;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Component_custom_admin_menus view display method
|
* Component_custom_admin_menus view display method
|
||||||
*
|
*
|
||||||
@ -50,7 +131,7 @@ class HtmlView extends BaseHtmlView
|
|||||||
$this->params = ComponentHelper::getParams('com_componentbuilder');
|
$this->params = ComponentHelper::getParams('com_componentbuilder');
|
||||||
$this->useCoreUI = true;
|
$this->useCoreUI = true;
|
||||||
// Assign the variables
|
// Assign the variables
|
||||||
$this->form = $this->get('Form');
|
$this->form ??= $this->get('Form');
|
||||||
$this->item = $this->get('Item');
|
$this->item = $this->get('Item');
|
||||||
$this->styles = $this->get('Styles');
|
$this->styles = $this->get('Styles');
|
||||||
$this->scripts = $this->get('Scripts');
|
$this->scripts = $this->get('Scripts');
|
||||||
|
@ -16,6 +16,7 @@ use Joomla\CMS\Toolbar\Toolbar;
|
|||||||
use Joomla\CMS\Form\FormHelper;
|
use Joomla\CMS\Form\FormHelper;
|
||||||
use Joomla\CMS\Session\Session;
|
use Joomla\CMS\Session\Session;
|
||||||
use Joomla\CMS\Uri\Uri;
|
use Joomla\CMS\Uri\Uri;
|
||||||
|
use Joomla\CMS\User\User;
|
||||||
use Joomla\CMS\Component\ComponentHelper;
|
use Joomla\CMS\Component\ComponentHelper;
|
||||||
use Joomla\CMS\HTML\HTMLHelper as Html;
|
use Joomla\CMS\HTML\HTMLHelper as Html;
|
||||||
use Joomla\CMS\Layout\FileLayout;
|
use Joomla\CMS\Layout\FileLayout;
|
||||||
@ -36,6 +37,86 @@ use VDM\Joomla\Utilities\StringHelper;
|
|||||||
*/
|
*/
|
||||||
class HtmlView extends BaseHtmlView
|
class HtmlView extends BaseHtmlView
|
||||||
{
|
{
|
||||||
|
/**
|
||||||
|
* The item from the model
|
||||||
|
*
|
||||||
|
* @var mixed
|
||||||
|
* @since 3.10.11
|
||||||
|
*/
|
||||||
|
public mixed $item;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* The state object
|
||||||
|
*
|
||||||
|
* @var mixed
|
||||||
|
* @since 3.10.11
|
||||||
|
*/
|
||||||
|
public mixed $state;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* The form from the model
|
||||||
|
*
|
||||||
|
* @var mixed
|
||||||
|
* @since 3.10.11
|
||||||
|
*/
|
||||||
|
public mixed $form;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* The toolbar object
|
||||||
|
*
|
||||||
|
* @var Toolbar
|
||||||
|
* @since 3.10.11
|
||||||
|
*/
|
||||||
|
public Toolbar $toolbar;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* The styles url array
|
||||||
|
*
|
||||||
|
* @var array
|
||||||
|
* @since 5.0.0
|
||||||
|
*/
|
||||||
|
protected array $styles;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* The scripts url array
|
||||||
|
*
|
||||||
|
* @var array
|
||||||
|
* @since 5.0.0
|
||||||
|
*/
|
||||||
|
protected array $scripts;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* The actions object
|
||||||
|
*
|
||||||
|
* @var object
|
||||||
|
* @since 3.10.11
|
||||||
|
*/
|
||||||
|
public object $canDo;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* The origin referral view name
|
||||||
|
*
|
||||||
|
* @var string
|
||||||
|
* @since 3.10.11
|
||||||
|
*/
|
||||||
|
public string $ref;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* The origin referral item id
|
||||||
|
*
|
||||||
|
* @var int
|
||||||
|
* @since 3.10.11
|
||||||
|
*/
|
||||||
|
public int $refid;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* The referral url suffix values
|
||||||
|
*
|
||||||
|
* @var string
|
||||||
|
* @since 3.10.11
|
||||||
|
*/
|
||||||
|
public string $referral;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Component_custom_admin_views view display method
|
* Component_custom_admin_views view display method
|
||||||
*
|
*
|
||||||
@ -50,7 +131,7 @@ class HtmlView extends BaseHtmlView
|
|||||||
$this->params = ComponentHelper::getParams('com_componentbuilder');
|
$this->params = ComponentHelper::getParams('com_componentbuilder');
|
||||||
$this->useCoreUI = true;
|
$this->useCoreUI = true;
|
||||||
// Assign the variables
|
// Assign the variables
|
||||||
$this->form = $this->get('Form');
|
$this->form ??= $this->get('Form');
|
||||||
$this->item = $this->get('Item');
|
$this->item = $this->get('Item');
|
||||||
$this->styles = $this->get('Styles');
|
$this->styles = $this->get('Styles');
|
||||||
$this->scripts = $this->get('Scripts');
|
$this->scripts = $this->get('Scripts');
|
||||||
|
@ -16,6 +16,7 @@ use Joomla\CMS\Toolbar\Toolbar;
|
|||||||
use Joomla\CMS\Form\FormHelper;
|
use Joomla\CMS\Form\FormHelper;
|
||||||
use Joomla\CMS\Session\Session;
|
use Joomla\CMS\Session\Session;
|
||||||
use Joomla\CMS\Uri\Uri;
|
use Joomla\CMS\Uri\Uri;
|
||||||
|
use Joomla\CMS\User\User;
|
||||||
use Joomla\CMS\Component\ComponentHelper;
|
use Joomla\CMS\Component\ComponentHelper;
|
||||||
use Joomla\CMS\HTML\HTMLHelper as Html;
|
use Joomla\CMS\HTML\HTMLHelper as Html;
|
||||||
use Joomla\CMS\Layout\FileLayout;
|
use Joomla\CMS\Layout\FileLayout;
|
||||||
@ -36,6 +37,86 @@ use VDM\Joomla\Utilities\StringHelper;
|
|||||||
*/
|
*/
|
||||||
class HtmlView extends BaseHtmlView
|
class HtmlView extends BaseHtmlView
|
||||||
{
|
{
|
||||||
|
/**
|
||||||
|
* The item from the model
|
||||||
|
*
|
||||||
|
* @var mixed
|
||||||
|
* @since 3.10.11
|
||||||
|
*/
|
||||||
|
public mixed $item;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* The state object
|
||||||
|
*
|
||||||
|
* @var mixed
|
||||||
|
* @since 3.10.11
|
||||||
|
*/
|
||||||
|
public mixed $state;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* The form from the model
|
||||||
|
*
|
||||||
|
* @var mixed
|
||||||
|
* @since 3.10.11
|
||||||
|
*/
|
||||||
|
public mixed $form;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* The toolbar object
|
||||||
|
*
|
||||||
|
* @var Toolbar
|
||||||
|
* @since 3.10.11
|
||||||
|
*/
|
||||||
|
public Toolbar $toolbar;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* The styles url array
|
||||||
|
*
|
||||||
|
* @var array
|
||||||
|
* @since 5.0.0
|
||||||
|
*/
|
||||||
|
protected array $styles;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* The scripts url array
|
||||||
|
*
|
||||||
|
* @var array
|
||||||
|
* @since 5.0.0
|
||||||
|
*/
|
||||||
|
protected array $scripts;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* The actions object
|
||||||
|
*
|
||||||
|
* @var object
|
||||||
|
* @since 3.10.11
|
||||||
|
*/
|
||||||
|
public object $canDo;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* The origin referral view name
|
||||||
|
*
|
||||||
|
* @var string
|
||||||
|
* @since 3.10.11
|
||||||
|
*/
|
||||||
|
public string $ref;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* The origin referral item id
|
||||||
|
*
|
||||||
|
* @var int
|
||||||
|
* @since 3.10.11
|
||||||
|
*/
|
||||||
|
public int $refid;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* The referral url suffix values
|
||||||
|
*
|
||||||
|
* @var string
|
||||||
|
* @since 3.10.11
|
||||||
|
*/
|
||||||
|
public string $referral;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Component_dashboard view display method
|
* Component_dashboard view display method
|
||||||
*
|
*
|
||||||
@ -50,7 +131,7 @@ class HtmlView extends BaseHtmlView
|
|||||||
$this->params = ComponentHelper::getParams('com_componentbuilder');
|
$this->params = ComponentHelper::getParams('com_componentbuilder');
|
||||||
$this->useCoreUI = true;
|
$this->useCoreUI = true;
|
||||||
// Assign the variables
|
// Assign the variables
|
||||||
$this->form = $this->get('Form');
|
$this->form ??= $this->get('Form');
|
||||||
$this->item = $this->get('Item');
|
$this->item = $this->get('Item');
|
||||||
$this->styles = $this->get('Styles');
|
$this->styles = $this->get('Styles');
|
||||||
$this->scripts = $this->get('Scripts');
|
$this->scripts = $this->get('Scripts');
|
||||||
|
@ -16,6 +16,7 @@ use Joomla\CMS\Toolbar\Toolbar;
|
|||||||
use Joomla\CMS\Form\FormHelper;
|
use Joomla\CMS\Form\FormHelper;
|
||||||
use Joomla\CMS\Session\Session;
|
use Joomla\CMS\Session\Session;
|
||||||
use Joomla\CMS\Uri\Uri;
|
use Joomla\CMS\Uri\Uri;
|
||||||
|
use Joomla\CMS\User\User;
|
||||||
use Joomla\CMS\Component\ComponentHelper;
|
use Joomla\CMS\Component\ComponentHelper;
|
||||||
use Joomla\CMS\HTML\HTMLHelper as Html;
|
use Joomla\CMS\HTML\HTMLHelper as Html;
|
||||||
use Joomla\CMS\Layout\FileLayout;
|
use Joomla\CMS\Layout\FileLayout;
|
||||||
@ -36,6 +37,86 @@ use VDM\Joomla\Utilities\StringHelper;
|
|||||||
*/
|
*/
|
||||||
class HtmlView extends BaseHtmlView
|
class HtmlView extends BaseHtmlView
|
||||||
{
|
{
|
||||||
|
/**
|
||||||
|
* The item from the model
|
||||||
|
*
|
||||||
|
* @var mixed
|
||||||
|
* @since 3.10.11
|
||||||
|
*/
|
||||||
|
public mixed $item;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* The state object
|
||||||
|
*
|
||||||
|
* @var mixed
|
||||||
|
* @since 3.10.11
|
||||||
|
*/
|
||||||
|
public mixed $state;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* The form from the model
|
||||||
|
*
|
||||||
|
* @var mixed
|
||||||
|
* @since 3.10.11
|
||||||
|
*/
|
||||||
|
public mixed $form;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* The toolbar object
|
||||||
|
*
|
||||||
|
* @var Toolbar
|
||||||
|
* @since 3.10.11
|
||||||
|
*/
|
||||||
|
public Toolbar $toolbar;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* The styles url array
|
||||||
|
*
|
||||||
|
* @var array
|
||||||
|
* @since 5.0.0
|
||||||
|
*/
|
||||||
|
protected array $styles;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* The scripts url array
|
||||||
|
*
|
||||||
|
* @var array
|
||||||
|
* @since 5.0.0
|
||||||
|
*/
|
||||||
|
protected array $scripts;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* The actions object
|
||||||
|
*
|
||||||
|
* @var object
|
||||||
|
* @since 3.10.11
|
||||||
|
*/
|
||||||
|
public object $canDo;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* The origin referral view name
|
||||||
|
*
|
||||||
|
* @var string
|
||||||
|
* @since 3.10.11
|
||||||
|
*/
|
||||||
|
public string $ref;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* The origin referral item id
|
||||||
|
*
|
||||||
|
* @var int
|
||||||
|
* @since 3.10.11
|
||||||
|
*/
|
||||||
|
public int $refid;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* The referral url suffix values
|
||||||
|
*
|
||||||
|
* @var string
|
||||||
|
* @since 3.10.11
|
||||||
|
*/
|
||||||
|
public string $referral;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Component_files_folders view display method
|
* Component_files_folders view display method
|
||||||
*
|
*
|
||||||
@ -50,7 +131,7 @@ class HtmlView extends BaseHtmlView
|
|||||||
$this->params = ComponentHelper::getParams('com_componentbuilder');
|
$this->params = ComponentHelper::getParams('com_componentbuilder');
|
||||||
$this->useCoreUI = true;
|
$this->useCoreUI = true;
|
||||||
// Assign the variables
|
// Assign the variables
|
||||||
$this->form = $this->get('Form');
|
$this->form ??= $this->get('Form');
|
||||||
$this->item = $this->get('Item');
|
$this->item = $this->get('Item');
|
||||||
$this->styles = $this->get('Styles');
|
$this->styles = $this->get('Styles');
|
||||||
$this->scripts = $this->get('Scripts');
|
$this->scripts = $this->get('Scripts');
|
||||||
|
Some files were not shown because too many files have changed in this diff Show More
Reference in New Issue
Block a user