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:
@ -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###
|
||||
|
@ -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
|
||||
*/
|
||||
|
@ -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
|
||||
*/
|
||||
|
@ -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
|
||||
*/
|
||||
|
@ -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###
|
@ -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
|
||||
|
@ -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
|
||||
|
@ -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
|
||||
|
@ -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
|
||||
|
@ -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>
|
||||
|
@ -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###');
|
||||
|
@ -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###');
|
||||
|
@ -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###
|
||||
|
@ -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###
|
||||
|
@ -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###
|
||||
|
@ -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###
|
||||
|
@ -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###
|
||||
}
|
||||
|
60
admin/compiler/joomla_3/router_4.php
Normal file
60
admin/compiler/joomla_3/router_4.php
Normal 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###
|
||||
}
|
Reference in New Issue
Block a user