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

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

View File

@ -3,6 +3,7 @@
*
* @created ###CREATIONDATE###
* @author ###AUTHOR### <###AUTHORWEBSITE###>
* @gitea Joomla Component Builder <https://git.vdm.dev/joomla/Component-Builder>
* @github Joomla Component Builder <https://github.com/vdm-io/Joomla-Component-Builder>
* @copyright ###COPYRIGHT###
* @license ###LICENSE###

View File

@ -17,6 +17,8 @@ defined('_JEXEC') or die('Restricted access');
// No direct access to this file
defined('_JEXEC') or die('Restricted access');
###DASH_CONTROLLER_HEADER###
/**
* ###Component### Controller
*/

View File

@ -17,6 +17,8 @@ defined('_JEXEC') or die('Restricted access');
// No direct access to this file
defined('_JEXEC') or die('Restricted access');
###DASH_MODEL_HEADER###
/**
* ###Component### Model
*/

View File

@ -17,6 +17,8 @@ defined('_JEXEC') or die('Restricted access');
// No direct access to this file
defined('_JEXEC') or die('Restricted access');
###DASH_VIEW_HTML_HEADER###
/**
* ###Component### View class
*/

View File

@ -17,6 +17,6 @@ defined('_JEXEC') or die('Restricted access');
// No direct access to this file
defined('_JEXEC') or die('Restricted access');
JHtml::_('behavior.tooltip');
###DASH_VIEW_HEADER###
?>###DASH_DISPLAY_DATA###

View File

@ -36,7 +36,7 @@ abstract class ###Component###Helper
*
* @var string
*/
public static $langTag;###ADMIN_GLOBAL_EVENT_HELPER######CUSTOM_HELPER_SCRIPT######BOTH_CUSTOM_HELPER_SCRIPT###
public static $langTag;###ADMIN_GLOBAL_EVENT_HELPER######CUSTOM_HELPER_SCRIPT######BOTH_CUSTOM_HELPER_SCRIPT######ADMIN_POWER_EVENT_HELPER###
/**
* Load the Composer Vendors

View File

@ -36,7 +36,7 @@ abstract class ###Component###Helper
*
* @var string
*/
public static $langTag;###SITE_GLOBAL_EVENT_HELPER######SITE_CUSTOM_HELPER_SCRIPT######BOTH_CUSTOM_HELPER_SCRIPT###
public static $langTag;###SITE_GLOBAL_EVENT_HELPER######SITE_CUSTOM_HELPER_SCRIPT######BOTH_CUSTOM_HELPER_SCRIPT######SITE_POWER_EVENT_HELPER###
/**
* Load the Composer Vendors

View File

@ -17,7 +17,7 @@ defined('_JEXEC') or die('Restricted access');
// No direct access to this file
defined('_JEXEC') or die('Restricted access');
use Joomla\Utilities\ArrayHelper;
###AJAX_ADMIN_MODEL_HEADER###
/**
* ###Component### Ajax Model

View File

@ -17,7 +17,7 @@ defined('_JEXEC') or die('Restricted access');
// No direct access to this file
defined('_JEXEC') or die('Restricted access');
use Joomla\Utilities\ArrayHelper;
###AJAX_SITE_MODEL_HEADER###
/**
* ###Component### Ajax Model

View File

@ -1,5 +1,5 @@
<?xml version="1.0" encoding="utf-8"?>
<extension type="component" version="3.2" method="upgrade">
<extension type="component" version="###XMLVERSION###" method="upgrade">
<name>COM_###COMPONENT###</name>
<creationDate>###BUILDDATE###</creationDate>
<author>###AUTHOR###</author>

View File

@ -31,8 +31,8 @@ $document->addStyleSheet('components/com_###component###/assets/css/admin.css');
$document->addScript('components/com_###component###/assets/js/admin.js');
// require helper files
JLoader::register('###Component###Helper', __DIR__ . '/helpers/###component###.php'); ###HELPER_EMAIL###
JLoader::register('JHtmlBatch_', __DIR__ . '/helpers/html/batch_.php');###LICENSE_LOCKED_INT### ###ADMIN_GLOBAL_EVENT###
JLoader::register('###Component###Helper', __DIR__ . '/helpers/###component###.php');###HELPER_EMAIL###
JLoader::register('JHtmlBatch_', __DIR__ . '/helpers/html/batch_.php');###LICENSE_LOCKED_INT######ADMIN_GLOBAL_EVENT######ADMIN_POWER_EVENT###
// Get an instance of the controller prefixed by ###Component###
$controller = JControllerLegacy::getInstance('###Component###');

View File

@ -26,7 +26,7 @@ $document->addScript('components/com_###component###/assets/js/site.js');
// Require helper files
JLoader::register('###Component###Helper', __DIR__ . '/helpers/###component###.php');###HELPER_EMAIL###
JLoader::register('###Component###HelperRoute', __DIR__ . '/helpers/route.php');###LICENSE_LOCKED_INT### ###SITE_GLOBAL_EVENT###
JLoader::register('###Component###HelperRoute', __DIR__ . '/helpers/route.php');###LICENSE_LOCKED_INT######SITE_GLOBAL_EVENT######SITE_POWER_EVENT###
// Get an instance of the controller prefixed by ###Component###
$controller = JControllerLegacy::getInstance('###Component###');

View File

@ -15,6 +15,6 @@ defined('_JEXEC') or die('Restricted access');
###BOM###
// No direct access to this file
defined('JPATH_BASE') or die('Restricted access');###ADMIN_LAYOUT_CODE###
defined('JPATH_BASE') or die('Restricted access');###ADMIN_LAYOUT_HEADER######ADMIN_LAYOUT_CODE###
?>###ADMIN_LAYOUT_BODY###

View File

@ -15,6 +15,6 @@ defined('_JEXEC') or die('Restricted access');
###BOM###
// No direct access to this file
defined('JPATH_BASE') or die('Restricted access');###CUSTOM_ADMIN_LAYOUT_CODE###
defined('JPATH_BASE') or die('Restricted access');###CUSTOM_ADMIN_LAYOUT_HEADER######CUSTOM_ADMIN_LAYOUT_CODE###
?>###CUSTOM_ADMIN_LAYOUT_BODY###

View File

@ -15,6 +15,6 @@ defined('_JEXEC') or die('Restricted access');
###BOM###
// No direct access to this file
defined('JPATH_BASE') or die('Restricted access');###SITE_LAYOUT_CODE###
defined('JPATH_BASE') or die('Restricted access');###SITE_LAYOUT_HEADER######SITE_LAYOUT_CODE###
?>###SITE_LAYOUT_BODY###

View File

@ -15,6 +15,6 @@ defined('_JEXEC') or die('Restricted access');
###BOM###
// No direct access to this file
defined('JPATH_BASE') or die('Restricted access');###OVERRIDE_LAYOUT_CODE###
defined('JPATH_BASE') or die('Restricted access');###OVERRIDE_LAYOUT_HEADER######OVERRIDE_LAYOUT_CODE###
?>###OVERRIDE_LAYOUT_BODY###

View File

@ -119,7 +119,7 @@ class ###Component###Router extends JComponentRouterBase
$count = count($segments);
$vars = array();
//Handle View and Identifier
// Handle View and Identifier
switch($segments[0])
{###ROUTER_PARSE_SWITCH###
}

View File

@ -0,0 +1,60 @@
<?php
/**
* @package Joomla.Component.Builder
*
* @created 30th April, 2015
* @author Llewellyn van der Merwe <http://www.joomlacomponentbuilder.com>
* @github Joomla Component Builder <https://github.com/vdm-io/Joomla-Component-Builder>
* @copyright Copyright (C) 2015 Vast Development Method. All rights reserved.
* @license GNU General Public License version 2 or later; see LICENSE.txt
*/
// No direct access to this file
defined('_JEXEC') or die('Restricted access');
?>
###BOM###
// No direct access to this file
defined('_JEXEC') or die('Restricted access');
use Joomla\CMS\Application\CMSApplication;
use Joomla\CMS\Component\Router\RouterView;
use Joomla\CMS\Component\Router\RouterViewConfiguration;
use Joomla\CMS\Component\Router\Rules\MenuRules;
use Joomla\CMS\Component\Router\Rules\StandardRules;
use Joomla\CMS\Component\Router\Rules\NomenuRules;
use Joomla\CMS\Factory;
use Joomla\CMS\Menu\SiteMenu;
/**
* Routing class from com_###component###
*
* @since 3.10
*/
class ###Component###Router extends RouterView
{
/**
* The database driver
*
* @var \JDatabaseDriver
* @since 1.0
*/
protected $db;
/**
* Search Component router constructor
*
* @param CMSApplication $app The application object
* @param SiteMenu $menu The menu object to work with
*/
public function __construct($app = null, $menu = null)
{
$this->db = Factory::getDbo();###ROUTER_BUILD_VIEWS_CONF###
parent::__construct($app, $menu);
$this->attachRule(new MenuRules($this));
$this->attachRule(new StandardRules($this));
$this->attachRule(new NomenuRules($this));
}###ROUTER_BUILD_VIEWS_SEGMENT_ID###
}