Moved the MVC to extend the CMS MVC via namespace.
This commit is contained in:
@ -13,10 +13,12 @@
|
||||
// No direct access to this file
|
||||
defined('_JEXEC') or die('Restricted access');
|
||||
|
||||
use Joomla\CMS\MVC\View\HtmlView;
|
||||
|
||||
/**
|
||||
* Admin_custom_tabs View class
|
||||
* Admin_custom_tabs Html View class
|
||||
*/
|
||||
class ComponentbuilderViewAdmin_custom_tabs extends JViewLegacy
|
||||
class ComponentbuilderViewAdmin_custom_tabs extends HtmlView
|
||||
{
|
||||
/**
|
||||
* display method of View
|
||||
|
@ -13,10 +13,12 @@
|
||||
// No direct access to this file
|
||||
defined('_JEXEC') or die('Restricted access');
|
||||
|
||||
use Joomla\CMS\MVC\View\HtmlView;
|
||||
|
||||
/**
|
||||
* Admin_fields View class
|
||||
* Admin_fields Html View class
|
||||
*/
|
||||
class ComponentbuilderViewAdmin_fields extends JViewLegacy
|
||||
class ComponentbuilderViewAdmin_fields extends HtmlView
|
||||
{
|
||||
/**
|
||||
* display method of View
|
||||
|
@ -13,10 +13,12 @@
|
||||
// No direct access to this file
|
||||
defined('_JEXEC') or die('Restricted access');
|
||||
|
||||
use Joomla\CMS\MVC\View\HtmlView;
|
||||
|
||||
/**
|
||||
* Admin_fields_conditions View class
|
||||
* Admin_fields_conditions Html View class
|
||||
*/
|
||||
class ComponentbuilderViewAdmin_fields_conditions extends JViewLegacy
|
||||
class ComponentbuilderViewAdmin_fields_conditions extends HtmlView
|
||||
{
|
||||
/**
|
||||
* display method of View
|
||||
|
@ -13,10 +13,12 @@
|
||||
// No direct access to this file
|
||||
defined('_JEXEC') or die('Restricted access');
|
||||
|
||||
use Joomla\CMS\MVC\View\HtmlView;
|
||||
|
||||
/**
|
||||
* Admin_fields_relations View class
|
||||
* Admin_fields_relations Html View class
|
||||
*/
|
||||
class ComponentbuilderViewAdmin_fields_relations extends JViewLegacy
|
||||
class ComponentbuilderViewAdmin_fields_relations extends HtmlView
|
||||
{
|
||||
/**
|
||||
* display method of View
|
||||
|
@ -13,10 +13,12 @@
|
||||
// No direct access to this file
|
||||
defined('_JEXEC') or die('Restricted access');
|
||||
|
||||
use Joomla\CMS\MVC\View\HtmlView;
|
||||
|
||||
/**
|
||||
* Admin_view View class
|
||||
* Admin_view Html View class
|
||||
*/
|
||||
class ComponentbuilderViewAdmin_view extends JViewLegacy
|
||||
class ComponentbuilderViewAdmin_view extends HtmlView
|
||||
{
|
||||
/**
|
||||
* display method of View
|
||||
|
@ -13,10 +13,12 @@
|
||||
// No direct access to this file
|
||||
defined('_JEXEC') or die('Restricted access');
|
||||
|
||||
use Joomla\CMS\MVC\View\HtmlView;
|
||||
|
||||
/**
|
||||
* Componentbuilder View class for the Admin_views
|
||||
* Componentbuilder Html View class for the Admin_views
|
||||
*/
|
||||
class ComponentbuilderViewAdmin_views extends JViewLegacy
|
||||
class ComponentbuilderViewAdmin_views extends HtmlView
|
||||
{
|
||||
/**
|
||||
* Admin_views view display method
|
||||
|
@ -13,10 +13,12 @@
|
||||
// No direct access to this file
|
||||
defined('_JEXEC') or die('Restricted access');
|
||||
|
||||
use Joomla\CMS\MVC\View\HtmlView;
|
||||
|
||||
/**
|
||||
* Componentbuilder View class for the Admins_custom_tabs
|
||||
* Componentbuilder Html View class for the Admins_custom_tabs
|
||||
*/
|
||||
class ComponentbuilderViewAdmins_custom_tabs extends JViewLegacy
|
||||
class ComponentbuilderViewAdmins_custom_tabs extends HtmlView
|
||||
{
|
||||
/**
|
||||
* Admins_custom_tabs view display method
|
||||
|
@ -13,10 +13,12 @@
|
||||
// No direct access to this file
|
||||
defined('_JEXEC') or die('Restricted access');
|
||||
|
||||
use Joomla\CMS\MVC\View\HtmlView;
|
||||
|
||||
/**
|
||||
* Componentbuilder View class for the Admins_fields
|
||||
* Componentbuilder Html View class for the Admins_fields
|
||||
*/
|
||||
class ComponentbuilderViewAdmins_fields extends JViewLegacy
|
||||
class ComponentbuilderViewAdmins_fields extends HtmlView
|
||||
{
|
||||
/**
|
||||
* Admins_fields view display method
|
||||
|
@ -13,10 +13,12 @@
|
||||
// No direct access to this file
|
||||
defined('_JEXEC') or die('Restricted access');
|
||||
|
||||
use Joomla\CMS\MVC\View\HtmlView;
|
||||
|
||||
/**
|
||||
* Componentbuilder View class for the Admins_fields_conditions
|
||||
* Componentbuilder Html View class for the Admins_fields_conditions
|
||||
*/
|
||||
class ComponentbuilderViewAdmins_fields_conditions extends JViewLegacy
|
||||
class ComponentbuilderViewAdmins_fields_conditions extends HtmlView
|
||||
{
|
||||
/**
|
||||
* Admins_fields_conditions view display method
|
||||
|
@ -13,10 +13,12 @@
|
||||
// No direct access to this file
|
||||
defined('_JEXEC') or die('Restricted access');
|
||||
|
||||
use Joomla\CMS\MVC\View\HtmlView;
|
||||
|
||||
/**
|
||||
* Componentbuilder View class for the Admins_fields_relations
|
||||
* Componentbuilder Html View class for the Admins_fields_relations
|
||||
*/
|
||||
class ComponentbuilderViewAdmins_fields_relations extends JViewLegacy
|
||||
class ComponentbuilderViewAdmins_fields_relations extends HtmlView
|
||||
{
|
||||
/**
|
||||
* Admins_fields_relations view display method
|
||||
|
@ -13,10 +13,12 @@
|
||||
// No direct access to this file
|
||||
defined('_JEXEC') or die('Restricted access');
|
||||
|
||||
use Joomla\CMS\MVC\View\HtmlView;
|
||||
|
||||
/**
|
||||
* Componentbuilder View class for the Class_extendings
|
||||
* Componentbuilder Html View class for the Class_extendings
|
||||
*/
|
||||
class ComponentbuilderViewClass_extendings extends JViewLegacy
|
||||
class ComponentbuilderViewClass_extendings extends HtmlView
|
||||
{
|
||||
/**
|
||||
* Class_extendings view display method
|
||||
|
@ -13,10 +13,12 @@
|
||||
// No direct access to this file
|
||||
defined('_JEXEC') or die('Restricted access');
|
||||
|
||||
use Joomla\CMS\MVC\View\HtmlView;
|
||||
|
||||
/**
|
||||
* Class_extends View class
|
||||
* Class_extends Html View class
|
||||
*/
|
||||
class ComponentbuilderViewClass_extends extends JViewLegacy
|
||||
class ComponentbuilderViewClass_extends extends HtmlView
|
||||
{
|
||||
/**
|
||||
* display method of View
|
||||
|
@ -13,10 +13,12 @@
|
||||
// No direct access to this file
|
||||
defined('_JEXEC') or die('Restricted access');
|
||||
|
||||
use Joomla\CMS\MVC\View\HtmlView;
|
||||
|
||||
/**
|
||||
* Class_method View class
|
||||
* Class_method Html View class
|
||||
*/
|
||||
class ComponentbuilderViewClass_method extends JViewLegacy
|
||||
class ComponentbuilderViewClass_method extends HtmlView
|
||||
{
|
||||
/**
|
||||
* display method of View
|
||||
|
@ -13,10 +13,12 @@
|
||||
// No direct access to this file
|
||||
defined('_JEXEC') or die('Restricted access');
|
||||
|
||||
use Joomla\CMS\MVC\View\HtmlView;
|
||||
|
||||
/**
|
||||
* Componentbuilder View class for the Class_methods
|
||||
* Componentbuilder Html View class for the Class_methods
|
||||
*/
|
||||
class ComponentbuilderViewClass_methods extends JViewLegacy
|
||||
class ComponentbuilderViewClass_methods extends HtmlView
|
||||
{
|
||||
/**
|
||||
* Class_methods view display method
|
||||
|
@ -13,10 +13,12 @@
|
||||
// No direct access to this file
|
||||
defined('_JEXEC') or die('Restricted access');
|
||||
|
||||
use Joomla\CMS\MVC\View\HtmlView;
|
||||
|
||||
/**
|
||||
* Componentbuilder View class for the Class_properties
|
||||
* Componentbuilder Html View class for the Class_properties
|
||||
*/
|
||||
class ComponentbuilderViewClass_properties extends JViewLegacy
|
||||
class ComponentbuilderViewClass_properties extends HtmlView
|
||||
{
|
||||
/**
|
||||
* Class_properties view display method
|
||||
|
@ -13,10 +13,12 @@
|
||||
// No direct access to this file
|
||||
defined('_JEXEC') or die('Restricted access');
|
||||
|
||||
use Joomla\CMS\MVC\View\HtmlView;
|
||||
|
||||
/**
|
||||
* Class_property View class
|
||||
* Class_property Html View class
|
||||
*/
|
||||
class ComponentbuilderViewClass_property extends JViewLegacy
|
||||
class ComponentbuilderViewClass_property extends HtmlView
|
||||
{
|
||||
/**
|
||||
* display method of View
|
||||
|
@ -13,12 +13,13 @@
|
||||
// No direct access to this file
|
||||
defined('_JEXEC') or die('Restricted access');
|
||||
|
||||
use Joomla\CMS\MVC\View\HtmlView;
|
||||
use Joomla\CMS\Filesystem\File;
|
||||
|
||||
/**
|
||||
* Componentbuilder View class for the Compiler
|
||||
* Componentbuilder Html View class for the Compiler
|
||||
*/
|
||||
class ComponentbuilderViewCompiler extends JViewLegacy
|
||||
class ComponentbuilderViewCompiler extends HtmlView
|
||||
{
|
||||
// Overwriting JView display method
|
||||
function display($tpl = null)
|
||||
@ -235,12 +236,12 @@ class ComponentbuilderViewCompiler extends JViewLegacy
|
||||
// The uikit css.
|
||||
if ((!$HeaderCheck->css_loaded('uikit.min') || $uikit == 1) && $uikit != 2 && $uikit != 3)
|
||||
{
|
||||
JHtml::_('stylesheet', 'com_componentbuilder/uikit-v2/css/uikit'.$style.$size.'.css', ['version' => 'auto']);
|
||||
JHtml::_('stylesheet', 'media/com_componentbuilder/uikit-v2/css/uikit'.$style.$size.'.css', ['version' => 'auto']);
|
||||
}
|
||||
// The uikit js.
|
||||
if ((!$HeaderCheck->js_loaded('uikit.min') || $uikit == 1) && $uikit != 2 && $uikit != 3)
|
||||
{
|
||||
JHtml::_('script', 'com_componentbuilder/uikit-v2/js/uikit'.$size.'.js', ['version' => 'auto']);
|
||||
JHtml::_('script', 'media/com_componentbuilder/uikit-v2/js/uikit'.$size.'.js', ['version' => 'auto']);
|
||||
}
|
||||
|
||||
// Load the script to find all uikit components needed.
|
||||
@ -280,13 +281,13 @@ class ComponentbuilderViewCompiler extends JViewLegacy
|
||||
if (File::exists(JPATH_ROOT.'/media/com_componentbuilder/uikit-v2/css/components/'.$name.$style.$size.'.css'))
|
||||
{
|
||||
// load the css.
|
||||
JHtml::_('stylesheet', 'com_componentbuilder/uikit-v2/css/components/'.$name.$style.$size.'.css', ['version' => 'auto']);
|
||||
JHtml::_('stylesheet', 'media/com_componentbuilder/uikit-v2/css/components/'.$name.$style.$size.'.css', ['version' => 'auto']);
|
||||
}
|
||||
// check if the JavaScript file exists.
|
||||
if (File::exists(JPATH_ROOT.'/media/com_componentbuilder/uikit-v2/js/components/'.$name.$size.'.js'))
|
||||
{
|
||||
// load the js.
|
||||
JHtml::_('script', 'com_componentbuilder/uikit-v2/js/components/'.$name.$size.'.js', ['version' => 'auto'], ['type' => 'text/javascript', 'async' => 'async']);
|
||||
JHtml::_('script', 'media/com_componentbuilder/uikit-v2/js/components/'.$name.$size.'.js', ['version' => 'auto'], ['type' => 'text/javascript', 'async' => 'async']);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
@ -13,10 +13,12 @@
|
||||
// No direct access to this file
|
||||
defined('_JEXEC') or die('Restricted access');
|
||||
|
||||
use Joomla\CMS\MVC\View\HtmlView;
|
||||
|
||||
/**
|
||||
* Component_admin_views View class
|
||||
* Component_admin_views Html View class
|
||||
*/
|
||||
class ComponentbuilderViewComponent_admin_views extends JViewLegacy
|
||||
class ComponentbuilderViewComponent_admin_views extends HtmlView
|
||||
{
|
||||
/**
|
||||
* display method of View
|
||||
|
@ -13,10 +13,12 @@
|
||||
// No direct access to this file
|
||||
defined('_JEXEC') or die('Restricted access');
|
||||
|
||||
use Joomla\CMS\MVC\View\HtmlView;
|
||||
|
||||
/**
|
||||
* Component_config View class
|
||||
* Component_config Html View class
|
||||
*/
|
||||
class ComponentbuilderViewComponent_config extends JViewLegacy
|
||||
class ComponentbuilderViewComponent_config extends HtmlView
|
||||
{
|
||||
/**
|
||||
* display method of View
|
||||
|
@ -13,10 +13,12 @@
|
||||
// No direct access to this file
|
||||
defined('_JEXEC') or die('Restricted access');
|
||||
|
||||
use Joomla\CMS\MVC\View\HtmlView;
|
||||
|
||||
/**
|
||||
* Component_custom_admin_menus View class
|
||||
* Component_custom_admin_menus Html View class
|
||||
*/
|
||||
class ComponentbuilderViewComponent_custom_admin_menus extends JViewLegacy
|
||||
class ComponentbuilderViewComponent_custom_admin_menus extends HtmlView
|
||||
{
|
||||
/**
|
||||
* display method of View
|
||||
|
@ -13,10 +13,12 @@
|
||||
// No direct access to this file
|
||||
defined('_JEXEC') or die('Restricted access');
|
||||
|
||||
use Joomla\CMS\MVC\View\HtmlView;
|
||||
|
||||
/**
|
||||
* Component_custom_admin_views View class
|
||||
* Component_custom_admin_views Html View class
|
||||
*/
|
||||
class ComponentbuilderViewComponent_custom_admin_views extends JViewLegacy
|
||||
class ComponentbuilderViewComponent_custom_admin_views extends HtmlView
|
||||
{
|
||||
/**
|
||||
* display method of View
|
||||
|
@ -13,10 +13,12 @@
|
||||
// No direct access to this file
|
||||
defined('_JEXEC') or die('Restricted access');
|
||||
|
||||
use Joomla\CMS\MVC\View\HtmlView;
|
||||
|
||||
/**
|
||||
* Component_dashboard View class
|
||||
* Component_dashboard Html View class
|
||||
*/
|
||||
class ComponentbuilderViewComponent_dashboard extends JViewLegacy
|
||||
class ComponentbuilderViewComponent_dashboard extends HtmlView
|
||||
{
|
||||
/**
|
||||
* display method of View
|
||||
|
@ -13,10 +13,12 @@
|
||||
// No direct access to this file
|
||||
defined('_JEXEC') or die('Restricted access');
|
||||
|
||||
use Joomla\CMS\MVC\View\HtmlView;
|
||||
|
||||
/**
|
||||
* Component_files_folders View class
|
||||
* Component_files_folders Html View class
|
||||
*/
|
||||
class ComponentbuilderViewComponent_files_folders extends JViewLegacy
|
||||
class ComponentbuilderViewComponent_files_folders extends HtmlView
|
||||
{
|
||||
/**
|
||||
* display method of View
|
||||
|
@ -13,10 +13,12 @@
|
||||
// No direct access to this file
|
||||
defined('_JEXEC') or die('Restricted access');
|
||||
|
||||
use Joomla\CMS\MVC\View\HtmlView;
|
||||
|
||||
/**
|
||||
* Component_modules View class
|
||||
* Component_modules Html View class
|
||||
*/
|
||||
class ComponentbuilderViewComponent_modules extends JViewLegacy
|
||||
class ComponentbuilderViewComponent_modules extends HtmlView
|
||||
{
|
||||
/**
|
||||
* display method of View
|
||||
|
@ -13,10 +13,12 @@
|
||||
// No direct access to this file
|
||||
defined('_JEXEC') or die('Restricted access');
|
||||
|
||||
use Joomla\CMS\MVC\View\HtmlView;
|
||||
|
||||
/**
|
||||
* Component_mysql_tweaks View class
|
||||
* Component_mysql_tweaks Html View class
|
||||
*/
|
||||
class ComponentbuilderViewComponent_mysql_tweaks extends JViewLegacy
|
||||
class ComponentbuilderViewComponent_mysql_tweaks extends HtmlView
|
||||
{
|
||||
/**
|
||||
* display method of View
|
||||
|
@ -13,10 +13,12 @@
|
||||
// No direct access to this file
|
||||
defined('_JEXEC') or die('Restricted access');
|
||||
|
||||
use Joomla\CMS\MVC\View\HtmlView;
|
||||
|
||||
/**
|
||||
* Component_placeholders View class
|
||||
* Component_placeholders Html View class
|
||||
*/
|
||||
class ComponentbuilderViewComponent_placeholders extends JViewLegacy
|
||||
class ComponentbuilderViewComponent_placeholders extends HtmlView
|
||||
{
|
||||
/**
|
||||
* display method of View
|
||||
|
@ -13,10 +13,12 @@
|
||||
// No direct access to this file
|
||||
defined('_JEXEC') or die('Restricted access');
|
||||
|
||||
use Joomla\CMS\MVC\View\HtmlView;
|
||||
|
||||
/**
|
||||
* Component_plugins View class
|
||||
* Component_plugins Html View class
|
||||
*/
|
||||
class ComponentbuilderViewComponent_plugins extends JViewLegacy
|
||||
class ComponentbuilderViewComponent_plugins extends HtmlView
|
||||
{
|
||||
/**
|
||||
* display method of View
|
||||
|
@ -13,10 +13,12 @@
|
||||
// No direct access to this file
|
||||
defined('_JEXEC') or die('Restricted access');
|
||||
|
||||
use Joomla\CMS\MVC\View\HtmlView;
|
||||
|
||||
/**
|
||||
* Component_site_views View class
|
||||
* Component_site_views Html View class
|
||||
*/
|
||||
class ComponentbuilderViewComponent_site_views extends JViewLegacy
|
||||
class ComponentbuilderViewComponent_site_views extends HtmlView
|
||||
{
|
||||
/**
|
||||
* display method of View
|
||||
|
@ -13,10 +13,12 @@
|
||||
// No direct access to this file
|
||||
defined('_JEXEC') or die('Restricted access');
|
||||
|
||||
use Joomla\CMS\MVC\View\HtmlView;
|
||||
|
||||
/**
|
||||
* Component_updates View class
|
||||
* Component_updates Html View class
|
||||
*/
|
||||
class ComponentbuilderViewComponent_updates extends JViewLegacy
|
||||
class ComponentbuilderViewComponent_updates extends HtmlView
|
||||
{
|
||||
/**
|
||||
* display method of View
|
||||
|
@ -13,10 +13,12 @@
|
||||
// No direct access to this file
|
||||
defined('_JEXEC') or die('Restricted access');
|
||||
|
||||
use Joomla\CMS\MVC\View\HtmlView;
|
||||
|
||||
/**
|
||||
* Componentbuilder View class for the Components_admin_views
|
||||
* Componentbuilder Html View class for the Components_admin_views
|
||||
*/
|
||||
class ComponentbuilderViewComponents_admin_views extends JViewLegacy
|
||||
class ComponentbuilderViewComponents_admin_views extends HtmlView
|
||||
{
|
||||
/**
|
||||
* Components_admin_views view display method
|
||||
|
@ -13,10 +13,12 @@
|
||||
// No direct access to this file
|
||||
defined('_JEXEC') or die('Restricted access');
|
||||
|
||||
use Joomla\CMS\MVC\View\HtmlView;
|
||||
|
||||
/**
|
||||
* Componentbuilder View class for the Components_config
|
||||
* Componentbuilder Html View class for the Components_config
|
||||
*/
|
||||
class ComponentbuilderViewComponents_config extends JViewLegacy
|
||||
class ComponentbuilderViewComponents_config extends HtmlView
|
||||
{
|
||||
/**
|
||||
* Components_config view display method
|
||||
|
@ -13,10 +13,12 @@
|
||||
// No direct access to this file
|
||||
defined('_JEXEC') or die('Restricted access');
|
||||
|
||||
use Joomla\CMS\MVC\View\HtmlView;
|
||||
|
||||
/**
|
||||
* Componentbuilder View class for the Components_custom_admin_menus
|
||||
* Componentbuilder Html View class for the Components_custom_admin_menus
|
||||
*/
|
||||
class ComponentbuilderViewComponents_custom_admin_menus extends JViewLegacy
|
||||
class ComponentbuilderViewComponents_custom_admin_menus extends HtmlView
|
||||
{
|
||||
/**
|
||||
* Components_custom_admin_menus view display method
|
||||
|
@ -13,10 +13,12 @@
|
||||
// No direct access to this file
|
||||
defined('_JEXEC') or die('Restricted access');
|
||||
|
||||
use Joomla\CMS\MVC\View\HtmlView;
|
||||
|
||||
/**
|
||||
* Componentbuilder View class for the Components_custom_admin_views
|
||||
* Componentbuilder Html View class for the Components_custom_admin_views
|
||||
*/
|
||||
class ComponentbuilderViewComponents_custom_admin_views extends JViewLegacy
|
||||
class ComponentbuilderViewComponents_custom_admin_views extends HtmlView
|
||||
{
|
||||
/**
|
||||
* Components_custom_admin_views view display method
|
||||
|
@ -13,10 +13,12 @@
|
||||
// No direct access to this file
|
||||
defined('_JEXEC') or die('Restricted access');
|
||||
|
||||
use Joomla\CMS\MVC\View\HtmlView;
|
||||
|
||||
/**
|
||||
* Componentbuilder View class for the Components_dashboard
|
||||
* Componentbuilder Html View class for the Components_dashboard
|
||||
*/
|
||||
class ComponentbuilderViewComponents_dashboard extends JViewLegacy
|
||||
class ComponentbuilderViewComponents_dashboard extends HtmlView
|
||||
{
|
||||
/**
|
||||
* Components_dashboard view display method
|
||||
|
@ -13,10 +13,12 @@
|
||||
// No direct access to this file
|
||||
defined('_JEXEC') or die('Restricted access');
|
||||
|
||||
use Joomla\CMS\MVC\View\HtmlView;
|
||||
|
||||
/**
|
||||
* Componentbuilder View class for the Components_files_folders
|
||||
* Componentbuilder Html View class for the Components_files_folders
|
||||
*/
|
||||
class ComponentbuilderViewComponents_files_folders extends JViewLegacy
|
||||
class ComponentbuilderViewComponents_files_folders extends HtmlView
|
||||
{
|
||||
/**
|
||||
* Components_files_folders view display method
|
||||
|
@ -13,10 +13,12 @@
|
||||
// No direct access to this file
|
||||
defined('_JEXEC') or die('Restricted access');
|
||||
|
||||
use Joomla\CMS\MVC\View\HtmlView;
|
||||
|
||||
/**
|
||||
* Componentbuilder View class for the Components_modules
|
||||
* Componentbuilder Html View class for the Components_modules
|
||||
*/
|
||||
class ComponentbuilderViewComponents_modules extends JViewLegacy
|
||||
class ComponentbuilderViewComponents_modules extends HtmlView
|
||||
{
|
||||
/**
|
||||
* Components_modules view display method
|
||||
|
@ -13,10 +13,12 @@
|
||||
// No direct access to this file
|
||||
defined('_JEXEC') or die('Restricted access');
|
||||
|
||||
use Joomla\CMS\MVC\View\HtmlView;
|
||||
|
||||
/**
|
||||
* Componentbuilder View class for the Components_mysql_tweaks
|
||||
* Componentbuilder Html View class for the Components_mysql_tweaks
|
||||
*/
|
||||
class ComponentbuilderViewComponents_mysql_tweaks extends JViewLegacy
|
||||
class ComponentbuilderViewComponents_mysql_tweaks extends HtmlView
|
||||
{
|
||||
/**
|
||||
* Components_mysql_tweaks view display method
|
||||
|
@ -13,10 +13,12 @@
|
||||
// No direct access to this file
|
||||
defined('_JEXEC') or die('Restricted access');
|
||||
|
||||
use Joomla\CMS\MVC\View\HtmlView;
|
||||
|
||||
/**
|
||||
* Componentbuilder View class for the Components_placeholders
|
||||
* Componentbuilder Html View class for the Components_placeholders
|
||||
*/
|
||||
class ComponentbuilderViewComponents_placeholders extends JViewLegacy
|
||||
class ComponentbuilderViewComponents_placeholders extends HtmlView
|
||||
{
|
||||
/**
|
||||
* Components_placeholders view display method
|
||||
|
@ -13,10 +13,12 @@
|
||||
// No direct access to this file
|
||||
defined('_JEXEC') or die('Restricted access');
|
||||
|
||||
use Joomla\CMS\MVC\View\HtmlView;
|
||||
|
||||
/**
|
||||
* Componentbuilder View class for the Components_plugins
|
||||
* Componentbuilder Html View class for the Components_plugins
|
||||
*/
|
||||
class ComponentbuilderViewComponents_plugins extends JViewLegacy
|
||||
class ComponentbuilderViewComponents_plugins extends HtmlView
|
||||
{
|
||||
/**
|
||||
* Components_plugins view display method
|
||||
|
@ -13,10 +13,12 @@
|
||||
// No direct access to this file
|
||||
defined('_JEXEC') or die('Restricted access');
|
||||
|
||||
use Joomla\CMS\MVC\View\HtmlView;
|
||||
|
||||
/**
|
||||
* Componentbuilder View class for the Components_site_views
|
||||
* Componentbuilder Html View class for the Components_site_views
|
||||
*/
|
||||
class ComponentbuilderViewComponents_site_views extends JViewLegacy
|
||||
class ComponentbuilderViewComponents_site_views extends HtmlView
|
||||
{
|
||||
/**
|
||||
* Components_site_views view display method
|
||||
|
@ -13,10 +13,12 @@
|
||||
// No direct access to this file
|
||||
defined('_JEXEC') or die('Restricted access');
|
||||
|
||||
use Joomla\CMS\MVC\View\HtmlView;
|
||||
|
||||
/**
|
||||
* Componentbuilder View class for the Components_updates
|
||||
* Componentbuilder Html View class for the Components_updates
|
||||
*/
|
||||
class ComponentbuilderViewComponents_updates extends JViewLegacy
|
||||
class ComponentbuilderViewComponents_updates extends HtmlView
|
||||
{
|
||||
/**
|
||||
* Components_updates view display method
|
||||
|
@ -13,10 +13,12 @@
|
||||
// No direct access to this file
|
||||
defined('_JEXEC') or die('Restricted access');
|
||||
|
||||
use Joomla\CMS\MVC\View\HtmlView;
|
||||
|
||||
/**
|
||||
* Custom_admin_view View class
|
||||
* Custom_admin_view Html View class
|
||||
*/
|
||||
class ComponentbuilderViewCustom_admin_view extends JViewLegacy
|
||||
class ComponentbuilderViewCustom_admin_view extends HtmlView
|
||||
{
|
||||
/**
|
||||
* display method of View
|
||||
|
@ -13,10 +13,12 @@
|
||||
// No direct access to this file
|
||||
defined('_JEXEC') or die('Restricted access');
|
||||
|
||||
use Joomla\CMS\MVC\View\HtmlView;
|
||||
|
||||
/**
|
||||
* Componentbuilder View class for the Custom_admin_views
|
||||
* Componentbuilder Html View class for the Custom_admin_views
|
||||
*/
|
||||
class ComponentbuilderViewCustom_admin_views extends JViewLegacy
|
||||
class ComponentbuilderViewCustom_admin_views extends HtmlView
|
||||
{
|
||||
/**
|
||||
* Custom_admin_views view display method
|
||||
|
@ -13,10 +13,12 @@
|
||||
// No direct access to this file
|
||||
defined('_JEXEC') or die('Restricted access');
|
||||
|
||||
use Joomla\CMS\MVC\View\HtmlView;
|
||||
|
||||
/**
|
||||
* Custom_code View class
|
||||
* Custom_code Html View class
|
||||
*/
|
||||
class ComponentbuilderViewCustom_code extends JViewLegacy
|
||||
class ComponentbuilderViewCustom_code extends HtmlView
|
||||
{
|
||||
/**
|
||||
* display method of View
|
||||
|
@ -13,10 +13,12 @@
|
||||
// No direct access to this file
|
||||
defined('_JEXEC') or die('Restricted access');
|
||||
|
||||
use Joomla\CMS\MVC\View\HtmlView;
|
||||
|
||||
/**
|
||||
* Componentbuilder View class for the Custom_codes
|
||||
* Componentbuilder Html View class for the Custom_codes
|
||||
*/
|
||||
class ComponentbuilderViewCustom_codes extends JViewLegacy
|
||||
class ComponentbuilderViewCustom_codes extends HtmlView
|
||||
{
|
||||
/**
|
||||
* Custom_codes view display method
|
||||
|
@ -13,10 +13,12 @@
|
||||
// No direct access to this file
|
||||
defined('_JEXEC') or die('Restricted access');
|
||||
|
||||
use Joomla\CMS\MVC\View\HtmlView;
|
||||
|
||||
/**
|
||||
* Dynamic_get View class
|
||||
* Dynamic_get Html View class
|
||||
*/
|
||||
class ComponentbuilderViewDynamic_get extends JViewLegacy
|
||||
class ComponentbuilderViewDynamic_get extends HtmlView
|
||||
{
|
||||
/**
|
||||
* display method of View
|
||||
|
@ -13,10 +13,12 @@
|
||||
// No direct access to this file
|
||||
defined('_JEXEC') or die('Restricted access');
|
||||
|
||||
use Joomla\CMS\MVC\View\HtmlView;
|
||||
|
||||
/**
|
||||
* Componentbuilder View class for the Dynamic_gets
|
||||
* Componentbuilder Html View class for the Dynamic_gets
|
||||
*/
|
||||
class ComponentbuilderViewDynamic_gets extends JViewLegacy
|
||||
class ComponentbuilderViewDynamic_gets extends HtmlView
|
||||
{
|
||||
/**
|
||||
* Dynamic_gets view display method
|
||||
|
@ -13,10 +13,12 @@
|
||||
// No direct access to this file
|
||||
defined('_JEXEC') or die('Restricted access');
|
||||
|
||||
use Joomla\CMS\MVC\View\HtmlView;
|
||||
|
||||
/**
|
||||
* Field View class
|
||||
* Field Html View class
|
||||
*/
|
||||
class ComponentbuilderViewField extends JViewLegacy
|
||||
class ComponentbuilderViewField extends HtmlView
|
||||
{
|
||||
/**
|
||||
* display method of View
|
||||
|
@ -13,10 +13,12 @@
|
||||
// No direct access to this file
|
||||
defined('_JEXEC') or die('Restricted access');
|
||||
|
||||
use Joomla\CMS\MVC\View\HtmlView;
|
||||
|
||||
/**
|
||||
* Componentbuilder View class for the Fields
|
||||
* Componentbuilder Html View class for the Fields
|
||||
*/
|
||||
class ComponentbuilderViewFields extends JViewLegacy
|
||||
class ComponentbuilderViewFields extends HtmlView
|
||||
{
|
||||
/**
|
||||
* Fields view display method
|
||||
|
@ -13,10 +13,12 @@
|
||||
// No direct access to this file
|
||||
defined('_JEXEC') or die('Restricted access');
|
||||
|
||||
use Joomla\CMS\MVC\View\HtmlView;
|
||||
|
||||
/**
|
||||
* Fieldtype View class
|
||||
* Fieldtype Html View class
|
||||
*/
|
||||
class ComponentbuilderViewFieldtype extends JViewLegacy
|
||||
class ComponentbuilderViewFieldtype extends HtmlView
|
||||
{
|
||||
/**
|
||||
* display method of View
|
||||
@ -197,9 +199,9 @@ class ComponentbuilderViewFieldtype extends JViewLegacy
|
||||
|
||||
// Add the CSS for Footable
|
||||
$this->document->addStyleSheet('https://maxcdn.bootstrapcdn.com/font-awesome/4.5.0/css/font-awesome.min.css');
|
||||
JHtml::_('stylesheet', 'com_componentbuilder/footable-v3/css/footable.standalone.min.css', ['version' => 'auto']);
|
||||
JHtml::_('stylesheet', 'media/com_componentbuilder/footable-v3/css/footable.standalone.min.css', ['version' => 'auto']);
|
||||
// Add the JavaScript for Footable (adding all functions)
|
||||
JHtml::_('script', 'com_componentbuilder/footable-v3/js/footable.min.js', ['version' => 'auto']);
|
||||
JHtml::_('script', 'media/com_componentbuilder/footable-v3/js/footable.min.js', ['version' => 'auto']);
|
||||
|
||||
$footable = "jQuery(document).ready(function() { jQuery(function () { jQuery('.footable').footable();});});";
|
||||
$this->document->addScriptDeclaration($footable);
|
||||
|
@ -13,10 +13,12 @@
|
||||
// No direct access to this file
|
||||
defined('_JEXEC') or die('Restricted access');
|
||||
|
||||
use Joomla\CMS\MVC\View\HtmlView;
|
||||
|
||||
/**
|
||||
* Componentbuilder View class for the Fieldtypes
|
||||
* Componentbuilder Html View class for the Fieldtypes
|
||||
*/
|
||||
class ComponentbuilderViewFieldtypes extends JViewLegacy
|
||||
class ComponentbuilderViewFieldtypes extends HtmlView
|
||||
{
|
||||
/**
|
||||
* Fieldtypes view display method
|
||||
|
@ -13,12 +13,13 @@
|
||||
// No direct access to this file
|
||||
defined('_JEXEC') or die('Restricted access');
|
||||
|
||||
use Joomla\CMS\MVC\View\HtmlView;
|
||||
use Joomla\CMS\Filesystem\File;
|
||||
|
||||
/**
|
||||
* Componentbuilder View class for the Get_snippets
|
||||
* Componentbuilder Html View class for the Get_snippets
|
||||
*/
|
||||
class ComponentbuilderViewGet_snippets extends JViewLegacy
|
||||
class ComponentbuilderViewGet_snippets extends HtmlView
|
||||
{
|
||||
// Overwriting JView display method
|
||||
function display($tpl = null)
|
||||
@ -79,12 +80,12 @@ class ComponentbuilderViewGet_snippets extends JViewLegacy
|
||||
// The uikit css.
|
||||
if ((!$HeaderCheck->css_loaded('uikit.min') || $uikit == 1) && $uikit != 2 && $uikit != 3)
|
||||
{
|
||||
JHtml::_('stylesheet', 'com_componentbuilder/uikit-v2/css/uikit'.$style.$size.'.css', ['version' => 'auto']);
|
||||
JHtml::_('stylesheet', 'media/com_componentbuilder/uikit-v2/css/uikit'.$style.$size.'.css', ['version' => 'auto']);
|
||||
}
|
||||
// The uikit js.
|
||||
if ((!$HeaderCheck->js_loaded('uikit.min') || $uikit == 1) && $uikit != 2 && $uikit != 3)
|
||||
{
|
||||
JHtml::_('script', 'com_componentbuilder/uikit-v2/js/uikit'.$size.'.js', ['version' => 'auto']);
|
||||
JHtml::_('script', 'media/com_componentbuilder/uikit-v2/js/uikit'.$size.'.js', ['version' => 'auto']);
|
||||
}
|
||||
|
||||
// Load the script to find all uikit components needed.
|
||||
@ -110,13 +111,13 @@ class ComponentbuilderViewGet_snippets extends JViewLegacy
|
||||
if (File::exists(JPATH_ROOT.'/media/com_componentbuilder/uikit-v2/css/components/'.$name.$style.$size.'.css'))
|
||||
{
|
||||
// load the css.
|
||||
JHtml::_('stylesheet', 'com_componentbuilder/uikit-v2/css/components/'.$name.$style.$size.'.css', ['version' => 'auto']);
|
||||
JHtml::_('stylesheet', 'media/com_componentbuilder/uikit-v2/css/components/'.$name.$style.$size.'.css', ['version' => 'auto']);
|
||||
}
|
||||
// check if the JavaScript file exists.
|
||||
if (File::exists(JPATH_ROOT.'/media/com_componentbuilder/uikit-v2/js/components/'.$name.$size.'.js'))
|
||||
{
|
||||
// load the js.
|
||||
JHtml::_('script', 'com_componentbuilder/uikit-v2/js/components/'.$name.$size.'.js', ['version' => 'auto'], ['type' => 'text/javascript', 'async' => 'async']);
|
||||
JHtml::_('script', 'media/com_componentbuilder/uikit-v2/js/components/'.$name.$size.'.js', ['version' => 'auto'], ['type' => 'text/javascript', 'async' => 'async']);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
@ -13,10 +13,12 @@
|
||||
// No direct access to this file
|
||||
defined('_JEXEC') or die('Restricted access');
|
||||
|
||||
use Joomla\CMS\MVC\View\HtmlView;
|
||||
|
||||
/**
|
||||
* Help_document View class
|
||||
* Help_document Html View class
|
||||
*/
|
||||
class ComponentbuilderViewHelp_document extends JViewLegacy
|
||||
class ComponentbuilderViewHelp_document extends HtmlView
|
||||
{
|
||||
/**
|
||||
* display method of View
|
||||
|
@ -13,10 +13,12 @@
|
||||
// No direct access to this file
|
||||
defined('_JEXEC') or die('Restricted access');
|
||||
|
||||
use Joomla\CMS\MVC\View\HtmlView;
|
||||
|
||||
/**
|
||||
* Componentbuilder View class for the Help_documents
|
||||
* Componentbuilder Html View class for the Help_documents
|
||||
*/
|
||||
class ComponentbuilderViewHelp_documents extends JViewLegacy
|
||||
class ComponentbuilderViewHelp_documents extends HtmlView
|
||||
{
|
||||
/**
|
||||
* Help_documents view display method
|
||||
|
@ -13,10 +13,12 @@
|
||||
// No direct access to this file
|
||||
defined('_JEXEC') or die('Restricted access');
|
||||
|
||||
use Joomla\CMS\MVC\View\HtmlView;
|
||||
|
||||
/**
|
||||
* Componentbuilder Import View
|
||||
* Componentbuilder Import Html View
|
||||
*/
|
||||
class ComponentbuilderViewImport extends JViewLegacy
|
||||
class ComponentbuilderViewImport extends HtmlView
|
||||
{
|
||||
protected $headerList;
|
||||
protected $hasPackage = false;
|
||||
|
@ -13,10 +13,12 @@
|
||||
// No direct access to this file
|
||||
defined('_JEXEC') or die('Restricted access');
|
||||
|
||||
use Joomla\CMS\MVC\View\HtmlView;
|
||||
|
||||
/**
|
||||
* Componentbuilder Import_joomla_components View
|
||||
* Componentbuilder Import_joomla_components Html View
|
||||
*/
|
||||
class ComponentbuilderViewImport_joomla_components extends JViewLegacy
|
||||
class ComponentbuilderViewImport_joomla_components extends HtmlView
|
||||
{
|
||||
protected $headerList;
|
||||
protected $hasPackage = false;
|
||||
|
@ -13,10 +13,12 @@
|
||||
// No direct access to this file
|
||||
defined('_JEXEC') or die('Restricted access');
|
||||
|
||||
use Joomla\CMS\MVC\View\HtmlView;
|
||||
|
||||
/**
|
||||
* Componentbuilder Import_language_translations View
|
||||
* Componentbuilder Import_language_translations Html View
|
||||
*/
|
||||
class ComponentbuilderViewImport_language_translations extends JViewLegacy
|
||||
class ComponentbuilderViewImport_language_translations extends HtmlView
|
||||
{
|
||||
protected $headerList;
|
||||
protected $hasPackage = false;
|
||||
|
@ -13,10 +13,12 @@
|
||||
// No direct access to this file
|
||||
defined('_JEXEC') or die('Restricted access');
|
||||
|
||||
use Joomla\CMS\MVC\View\HtmlView;
|
||||
|
||||
/**
|
||||
* Joomla_component View class
|
||||
* Joomla_component Html View class
|
||||
*/
|
||||
class ComponentbuilderViewJoomla_component extends JViewLegacy
|
||||
class ComponentbuilderViewJoomla_component extends HtmlView
|
||||
{
|
||||
/**
|
||||
* display method of View
|
||||
|
@ -13,10 +13,12 @@
|
||||
// No direct access to this file
|
||||
defined('_JEXEC') or die('Restricted access');
|
||||
|
||||
use Joomla\CMS\MVC\View\HtmlView;
|
||||
|
||||
/**
|
||||
* Componentbuilder View class for the Joomla_components
|
||||
* Componentbuilder Html View class for the Joomla_components
|
||||
*/
|
||||
class ComponentbuilderViewJoomla_components extends JViewLegacy
|
||||
class ComponentbuilderViewJoomla_components extends HtmlView
|
||||
{
|
||||
/**
|
||||
* Joomla_components view display method
|
||||
|
@ -13,10 +13,12 @@
|
||||
// No direct access to this file
|
||||
defined('_JEXEC') or die('Restricted access');
|
||||
|
||||
use Joomla\CMS\MVC\View\HtmlView;
|
||||
|
||||
/**
|
||||
* Joomla_module View class
|
||||
* Joomla_module Html View class
|
||||
*/
|
||||
class ComponentbuilderViewJoomla_module extends JViewLegacy
|
||||
class ComponentbuilderViewJoomla_module extends HtmlView
|
||||
{
|
||||
/**
|
||||
* display method of View
|
||||
|
@ -13,10 +13,12 @@
|
||||
// No direct access to this file
|
||||
defined('_JEXEC') or die('Restricted access');
|
||||
|
||||
use Joomla\CMS\MVC\View\HtmlView;
|
||||
|
||||
/**
|
||||
* Joomla_module_files_folders_urls View class
|
||||
* Joomla_module_files_folders_urls Html View class
|
||||
*/
|
||||
class ComponentbuilderViewJoomla_module_files_folders_urls extends JViewLegacy
|
||||
class ComponentbuilderViewJoomla_module_files_folders_urls extends HtmlView
|
||||
{
|
||||
/**
|
||||
* display method of View
|
||||
|
@ -13,10 +13,12 @@
|
||||
// No direct access to this file
|
||||
defined('_JEXEC') or die('Restricted access');
|
||||
|
||||
use Joomla\CMS\MVC\View\HtmlView;
|
||||
|
||||
/**
|
||||
* Joomla_module_updates View class
|
||||
* Joomla_module_updates Html View class
|
||||
*/
|
||||
class ComponentbuilderViewJoomla_module_updates extends JViewLegacy
|
||||
class ComponentbuilderViewJoomla_module_updates extends HtmlView
|
||||
{
|
||||
/**
|
||||
* display method of View
|
||||
|
@ -13,10 +13,12 @@
|
||||
// No direct access to this file
|
||||
defined('_JEXEC') or die('Restricted access');
|
||||
|
||||
use Joomla\CMS\MVC\View\HtmlView;
|
||||
|
||||
/**
|
||||
* Componentbuilder View class for the Joomla_modules
|
||||
* Componentbuilder Html View class for the Joomla_modules
|
||||
*/
|
||||
class ComponentbuilderViewJoomla_modules extends JViewLegacy
|
||||
class ComponentbuilderViewJoomla_modules extends HtmlView
|
||||
{
|
||||
/**
|
||||
* Joomla_modules view display method
|
||||
|
@ -13,10 +13,12 @@
|
||||
// No direct access to this file
|
||||
defined('_JEXEC') or die('Restricted access');
|
||||
|
||||
use Joomla\CMS\MVC\View\HtmlView;
|
||||
|
||||
/**
|
||||
* Componentbuilder View class for the Joomla_modules_files_folders_urls
|
||||
* Componentbuilder Html View class for the Joomla_modules_files_folders_urls
|
||||
*/
|
||||
class ComponentbuilderViewJoomla_modules_files_folders_urls extends JViewLegacy
|
||||
class ComponentbuilderViewJoomla_modules_files_folders_urls extends HtmlView
|
||||
{
|
||||
/**
|
||||
* Joomla_modules_files_folders_urls view display method
|
||||
|
@ -13,10 +13,12 @@
|
||||
// No direct access to this file
|
||||
defined('_JEXEC') or die('Restricted access');
|
||||
|
||||
use Joomla\CMS\MVC\View\HtmlView;
|
||||
|
||||
/**
|
||||
* Componentbuilder View class for the Joomla_modules_updates
|
||||
* Componentbuilder Html View class for the Joomla_modules_updates
|
||||
*/
|
||||
class ComponentbuilderViewJoomla_modules_updates extends JViewLegacy
|
||||
class ComponentbuilderViewJoomla_modules_updates extends HtmlView
|
||||
{
|
||||
/**
|
||||
* Joomla_modules_updates view display method
|
||||
|
@ -13,10 +13,12 @@
|
||||
// No direct access to this file
|
||||
defined('_JEXEC') or die('Restricted access');
|
||||
|
||||
use Joomla\CMS\MVC\View\HtmlView;
|
||||
|
||||
/**
|
||||
* Joomla_plugin View class
|
||||
* Joomla_plugin Html View class
|
||||
*/
|
||||
class ComponentbuilderViewJoomla_plugin extends JViewLegacy
|
||||
class ComponentbuilderViewJoomla_plugin extends HtmlView
|
||||
{
|
||||
/**
|
||||
* display method of View
|
||||
|
@ -13,10 +13,12 @@
|
||||
// No direct access to this file
|
||||
defined('_JEXEC') or die('Restricted access');
|
||||
|
||||
use Joomla\CMS\MVC\View\HtmlView;
|
||||
|
||||
/**
|
||||
* Joomla_plugin_files_folders_urls View class
|
||||
* Joomla_plugin_files_folders_urls Html View class
|
||||
*/
|
||||
class ComponentbuilderViewJoomla_plugin_files_folders_urls extends JViewLegacy
|
||||
class ComponentbuilderViewJoomla_plugin_files_folders_urls extends HtmlView
|
||||
{
|
||||
/**
|
||||
* display method of View
|
||||
|
@ -13,10 +13,12 @@
|
||||
// No direct access to this file
|
||||
defined('_JEXEC') or die('Restricted access');
|
||||
|
||||
use Joomla\CMS\MVC\View\HtmlView;
|
||||
|
||||
/**
|
||||
* Joomla_plugin_group View class
|
||||
* Joomla_plugin_group Html View class
|
||||
*/
|
||||
class ComponentbuilderViewJoomla_plugin_group extends JViewLegacy
|
||||
class ComponentbuilderViewJoomla_plugin_group extends HtmlView
|
||||
{
|
||||
/**
|
||||
* display method of View
|
||||
|
@ -13,10 +13,12 @@
|
||||
// No direct access to this file
|
||||
defined('_JEXEC') or die('Restricted access');
|
||||
|
||||
use Joomla\CMS\MVC\View\HtmlView;
|
||||
|
||||
/**
|
||||
* Componentbuilder View class for the Joomla_plugin_groups
|
||||
* Componentbuilder Html View class for the Joomla_plugin_groups
|
||||
*/
|
||||
class ComponentbuilderViewJoomla_plugin_groups extends JViewLegacy
|
||||
class ComponentbuilderViewJoomla_plugin_groups extends HtmlView
|
||||
{
|
||||
/**
|
||||
* Joomla_plugin_groups view display method
|
||||
|
@ -13,10 +13,12 @@
|
||||
// No direct access to this file
|
||||
defined('_JEXEC') or die('Restricted access');
|
||||
|
||||
use Joomla\CMS\MVC\View\HtmlView;
|
||||
|
||||
/**
|
||||
* Joomla_plugin_updates View class
|
||||
* Joomla_plugin_updates Html View class
|
||||
*/
|
||||
class ComponentbuilderViewJoomla_plugin_updates extends JViewLegacy
|
||||
class ComponentbuilderViewJoomla_plugin_updates extends HtmlView
|
||||
{
|
||||
/**
|
||||
* display method of View
|
||||
|
@ -13,10 +13,12 @@
|
||||
// No direct access to this file
|
||||
defined('_JEXEC') or die('Restricted access');
|
||||
|
||||
use Joomla\CMS\MVC\View\HtmlView;
|
||||
|
||||
/**
|
||||
* Componentbuilder View class for the Joomla_plugins
|
||||
* Componentbuilder Html View class for the Joomla_plugins
|
||||
*/
|
||||
class ComponentbuilderViewJoomla_plugins extends JViewLegacy
|
||||
class ComponentbuilderViewJoomla_plugins extends HtmlView
|
||||
{
|
||||
/**
|
||||
* Joomla_plugins view display method
|
||||
|
@ -13,10 +13,12 @@
|
||||
// No direct access to this file
|
||||
defined('_JEXEC') or die('Restricted access');
|
||||
|
||||
use Joomla\CMS\MVC\View\HtmlView;
|
||||
|
||||
/**
|
||||
* Componentbuilder View class for the Joomla_plugins_files_folders_urls
|
||||
* Componentbuilder Html View class for the Joomla_plugins_files_folders_urls
|
||||
*/
|
||||
class ComponentbuilderViewJoomla_plugins_files_folders_urls extends JViewLegacy
|
||||
class ComponentbuilderViewJoomla_plugins_files_folders_urls extends HtmlView
|
||||
{
|
||||
/**
|
||||
* Joomla_plugins_files_folders_urls view display method
|
||||
|
@ -13,10 +13,12 @@
|
||||
// No direct access to this file
|
||||
defined('_JEXEC') or die('Restricted access');
|
||||
|
||||
use Joomla\CMS\MVC\View\HtmlView;
|
||||
|
||||
/**
|
||||
* Componentbuilder View class for the Joomla_plugins_updates
|
||||
* Componentbuilder Html View class for the Joomla_plugins_updates
|
||||
*/
|
||||
class ComponentbuilderViewJoomla_plugins_updates extends JViewLegacy
|
||||
class ComponentbuilderViewJoomla_plugins_updates extends HtmlView
|
||||
{
|
||||
/**
|
||||
* Joomla_plugins_updates view display method
|
||||
|
@ -13,10 +13,12 @@
|
||||
// No direct access to this file
|
||||
defined('_JEXEC') or die('Restricted access');
|
||||
|
||||
use Joomla\CMS\MVC\View\HtmlView;
|
||||
|
||||
/**
|
||||
* Language View class
|
||||
* Language Html View class
|
||||
*/
|
||||
class ComponentbuilderViewLanguage extends JViewLegacy
|
||||
class ComponentbuilderViewLanguage extends HtmlView
|
||||
{
|
||||
/**
|
||||
* display method of View
|
||||
|
@ -13,10 +13,12 @@
|
||||
// No direct access to this file
|
||||
defined('_JEXEC') or die('Restricted access');
|
||||
|
||||
use Joomla\CMS\MVC\View\HtmlView;
|
||||
|
||||
/**
|
||||
* Language_translation View class
|
||||
* Language_translation Html View class
|
||||
*/
|
||||
class ComponentbuilderViewLanguage_translation extends JViewLegacy
|
||||
class ComponentbuilderViewLanguage_translation extends HtmlView
|
||||
{
|
||||
/**
|
||||
* display method of View
|
||||
|
@ -13,10 +13,12 @@
|
||||
// No direct access to this file
|
||||
defined('_JEXEC') or die('Restricted access');
|
||||
|
||||
use Joomla\CMS\MVC\View\HtmlView;
|
||||
|
||||
/**
|
||||
* Componentbuilder View class for the Language_translations
|
||||
* Componentbuilder Html View class for the Language_translations
|
||||
*/
|
||||
class ComponentbuilderViewLanguage_translations extends JViewLegacy
|
||||
class ComponentbuilderViewLanguage_translations extends HtmlView
|
||||
{
|
||||
/**
|
||||
* Language_translations view display method
|
||||
|
@ -13,10 +13,12 @@
|
||||
// No direct access to this file
|
||||
defined('_JEXEC') or die('Restricted access');
|
||||
|
||||
use Joomla\CMS\MVC\View\HtmlView;
|
||||
|
||||
/**
|
||||
* Componentbuilder View class for the Languages
|
||||
* Componentbuilder Html View class for the Languages
|
||||
*/
|
||||
class ComponentbuilderViewLanguages extends JViewLegacy
|
||||
class ComponentbuilderViewLanguages extends HtmlView
|
||||
{
|
||||
/**
|
||||
* Languages view display method
|
||||
|
@ -13,10 +13,12 @@
|
||||
// No direct access to this file
|
||||
defined('_JEXEC') or die('Restricted access');
|
||||
|
||||
use Joomla\CMS\MVC\View\HtmlView;
|
||||
|
||||
/**
|
||||
* Layout View class
|
||||
* Layout Html View class
|
||||
*/
|
||||
class ComponentbuilderViewLayout extends JViewLegacy
|
||||
class ComponentbuilderViewLayout extends HtmlView
|
||||
{
|
||||
/**
|
||||
* display method of View
|
||||
|
@ -13,10 +13,12 @@
|
||||
// No direct access to this file
|
||||
defined('_JEXEC') or die('Restricted access');
|
||||
|
||||
use Joomla\CMS\MVC\View\HtmlView;
|
||||
|
||||
/**
|
||||
* Componentbuilder View class for the Layouts
|
||||
* Componentbuilder Html View class for the Layouts
|
||||
*/
|
||||
class ComponentbuilderViewLayouts extends JViewLegacy
|
||||
class ComponentbuilderViewLayouts extends HtmlView
|
||||
{
|
||||
/**
|
||||
* Layouts view display method
|
||||
|
@ -13,10 +13,12 @@
|
||||
// No direct access to this file
|
||||
defined('_JEXEC') or die('Restricted access');
|
||||
|
||||
use Joomla\CMS\MVC\View\HtmlView;
|
||||
|
||||
/**
|
||||
* Componentbuilder View class for the Libraries
|
||||
* Componentbuilder Html View class for the Libraries
|
||||
*/
|
||||
class ComponentbuilderViewLibraries extends JViewLegacy
|
||||
class ComponentbuilderViewLibraries extends HtmlView
|
||||
{
|
||||
/**
|
||||
* Libraries view display method
|
||||
|
@ -13,10 +13,12 @@
|
||||
// No direct access to this file
|
||||
defined('_JEXEC') or die('Restricted access');
|
||||
|
||||
use Joomla\CMS\MVC\View\HtmlView;
|
||||
|
||||
/**
|
||||
* Componentbuilder View class for the Libraries_config
|
||||
* Componentbuilder Html View class for the Libraries_config
|
||||
*/
|
||||
class ComponentbuilderViewLibraries_config extends JViewLegacy
|
||||
class ComponentbuilderViewLibraries_config extends HtmlView
|
||||
{
|
||||
/**
|
||||
* Libraries_config view display method
|
||||
|
@ -13,10 +13,12 @@
|
||||
// No direct access to this file
|
||||
defined('_JEXEC') or die('Restricted access');
|
||||
|
||||
use Joomla\CMS\MVC\View\HtmlView;
|
||||
|
||||
/**
|
||||
* Componentbuilder View class for the Libraries_files_folders_urls
|
||||
* Componentbuilder Html View class for the Libraries_files_folders_urls
|
||||
*/
|
||||
class ComponentbuilderViewLibraries_files_folders_urls extends JViewLegacy
|
||||
class ComponentbuilderViewLibraries_files_folders_urls extends HtmlView
|
||||
{
|
||||
/**
|
||||
* Libraries_files_folders_urls view display method
|
||||
|
@ -13,10 +13,12 @@
|
||||
// No direct access to this file
|
||||
defined('_JEXEC') or die('Restricted access');
|
||||
|
||||
use Joomla\CMS\MVC\View\HtmlView;
|
||||
|
||||
/**
|
||||
* Library View class
|
||||
* Library Html View class
|
||||
*/
|
||||
class ComponentbuilderViewLibrary extends JViewLegacy
|
||||
class ComponentbuilderViewLibrary extends HtmlView
|
||||
{
|
||||
/**
|
||||
* display method of View
|
||||
|
@ -13,10 +13,12 @@
|
||||
// No direct access to this file
|
||||
defined('_JEXEC') or die('Restricted access');
|
||||
|
||||
use Joomla\CMS\MVC\View\HtmlView;
|
||||
|
||||
/**
|
||||
* Library_config View class
|
||||
* Library_config Html View class
|
||||
*/
|
||||
class ComponentbuilderViewLibrary_config extends JViewLegacy
|
||||
class ComponentbuilderViewLibrary_config extends HtmlView
|
||||
{
|
||||
/**
|
||||
* display method of View
|
||||
|
@ -13,10 +13,12 @@
|
||||
// No direct access to this file
|
||||
defined('_JEXEC') or die('Restricted access');
|
||||
|
||||
use Joomla\CMS\MVC\View\HtmlView;
|
||||
|
||||
/**
|
||||
* Library_files_folders_urls View class
|
||||
* Library_files_folders_urls Html View class
|
||||
*/
|
||||
class ComponentbuilderViewLibrary_files_folders_urls extends JViewLegacy
|
||||
class ComponentbuilderViewLibrary_files_folders_urls extends HtmlView
|
||||
{
|
||||
/**
|
||||
* display method of View
|
||||
|
@ -13,10 +13,12 @@
|
||||
// No direct access to this file
|
||||
defined('_JEXEC') or die('Restricted access');
|
||||
|
||||
use Joomla\CMS\MVC\View\HtmlView;
|
||||
|
||||
/**
|
||||
* Placeholder View class
|
||||
* Placeholder Html View class
|
||||
*/
|
||||
class ComponentbuilderViewPlaceholder extends JViewLegacy
|
||||
class ComponentbuilderViewPlaceholder extends HtmlView
|
||||
{
|
||||
/**
|
||||
* display method of View
|
||||
|
@ -13,10 +13,12 @@
|
||||
// No direct access to this file
|
||||
defined('_JEXEC') or die('Restricted access');
|
||||
|
||||
use Joomla\CMS\MVC\View\HtmlView;
|
||||
|
||||
/**
|
||||
* Componentbuilder View class for the Placeholders
|
||||
* Componentbuilder Html View class for the Placeholders
|
||||
*/
|
||||
class ComponentbuilderViewPlaceholders extends JViewLegacy
|
||||
class ComponentbuilderViewPlaceholders extends HtmlView
|
||||
{
|
||||
/**
|
||||
* Placeholders view display method
|
||||
|
@ -13,10 +13,12 @@
|
||||
// No direct access to this file
|
||||
defined('_JEXEC') or die('Restricted access');
|
||||
|
||||
use Joomla\CMS\MVC\View\HtmlView;
|
||||
|
||||
/**
|
||||
* Server View class
|
||||
* Server Html View class
|
||||
*/
|
||||
class ComponentbuilderViewServer extends JViewLegacy
|
||||
class ComponentbuilderViewServer extends HtmlView
|
||||
{
|
||||
/**
|
||||
* display method of View
|
||||
@ -195,9 +197,9 @@ class ComponentbuilderViewServer extends JViewLegacy
|
||||
|
||||
// Add the CSS for Footable
|
||||
$this->document->addStyleSheet('https://maxcdn.bootstrapcdn.com/font-awesome/4.5.0/css/font-awesome.min.css');
|
||||
JHtml::_('stylesheet', 'com_componentbuilder/footable-v3/css/footable.standalone.min.css', ['version' => 'auto']);
|
||||
JHtml::_('stylesheet', 'media/com_componentbuilder/footable-v3/css/footable.standalone.min.css', ['version' => 'auto']);
|
||||
// Add the JavaScript for Footable (adding all functions)
|
||||
JHtml::_('script', 'com_componentbuilder/footable-v3/js/footable.min.js', ['version' => 'auto']);
|
||||
JHtml::_('script', 'media/com_componentbuilder/footable-v3/js/footable.min.js', ['version' => 'auto']);
|
||||
|
||||
$footable = "jQuery(document).ready(function() { jQuery(function () { jQuery('.footable').footable();});});";
|
||||
$this->document->addScriptDeclaration($footable);
|
||||
|
@ -13,10 +13,12 @@
|
||||
// No direct access to this file
|
||||
defined('_JEXEC') or die('Restricted access');
|
||||
|
||||
use Joomla\CMS\MVC\View\HtmlView;
|
||||
|
||||
/**
|
||||
* Componentbuilder View class for the Servers
|
||||
* Componentbuilder Html View class for the Servers
|
||||
*/
|
||||
class ComponentbuilderViewServers extends JViewLegacy
|
||||
class ComponentbuilderViewServers extends HtmlView
|
||||
{
|
||||
/**
|
||||
* Servers view display method
|
||||
|
@ -13,10 +13,12 @@
|
||||
// No direct access to this file
|
||||
defined('_JEXEC') or die('Restricted access');
|
||||
|
||||
use Joomla\CMS\MVC\View\HtmlView;
|
||||
|
||||
/**
|
||||
* Site_view View class
|
||||
* Site_view Html View class
|
||||
*/
|
||||
class ComponentbuilderViewSite_view extends JViewLegacy
|
||||
class ComponentbuilderViewSite_view extends HtmlView
|
||||
{
|
||||
/**
|
||||
* display method of View
|
||||
|
@ -13,10 +13,12 @@
|
||||
// No direct access to this file
|
||||
defined('_JEXEC') or die('Restricted access');
|
||||
|
||||
use Joomla\CMS\MVC\View\HtmlView;
|
||||
|
||||
/**
|
||||
* Componentbuilder View class for the Site_views
|
||||
* Componentbuilder Html View class for the Site_views
|
||||
*/
|
||||
class ComponentbuilderViewSite_views extends JViewLegacy
|
||||
class ComponentbuilderViewSite_views extends HtmlView
|
||||
{
|
||||
/**
|
||||
* Site_views view display method
|
||||
|
@ -13,10 +13,12 @@
|
||||
// No direct access to this file
|
||||
defined('_JEXEC') or die('Restricted access');
|
||||
|
||||
use Joomla\CMS\MVC\View\HtmlView;
|
||||
|
||||
/**
|
||||
* Snippet View class
|
||||
* Snippet Html View class
|
||||
*/
|
||||
class ComponentbuilderViewSnippet extends JViewLegacy
|
||||
class ComponentbuilderViewSnippet extends HtmlView
|
||||
{
|
||||
/**
|
||||
* display method of View
|
||||
|
@ -13,10 +13,12 @@
|
||||
// No direct access to this file
|
||||
defined('_JEXEC') or die('Restricted access');
|
||||
|
||||
use Joomla\CMS\MVC\View\HtmlView;
|
||||
|
||||
/**
|
||||
* Snippet_type View class
|
||||
* Snippet_type Html View class
|
||||
*/
|
||||
class ComponentbuilderViewSnippet_type extends JViewLegacy
|
||||
class ComponentbuilderViewSnippet_type extends HtmlView
|
||||
{
|
||||
/**
|
||||
* display method of View
|
||||
|
@ -13,10 +13,12 @@
|
||||
// No direct access to this file
|
||||
defined('_JEXEC') or die('Restricted access');
|
||||
|
||||
use Joomla\CMS\MVC\View\HtmlView;
|
||||
|
||||
/**
|
||||
* Componentbuilder View class for the Snippet_types
|
||||
* Componentbuilder Html View class for the Snippet_types
|
||||
*/
|
||||
class ComponentbuilderViewSnippet_types extends JViewLegacy
|
||||
class ComponentbuilderViewSnippet_types extends HtmlView
|
||||
{
|
||||
/**
|
||||
* Snippet_types view display method
|
||||
|
@ -13,10 +13,12 @@
|
||||
// No direct access to this file
|
||||
defined('_JEXEC') or die('Restricted access');
|
||||
|
||||
use Joomla\CMS\MVC\View\HtmlView;
|
||||
|
||||
/**
|
||||
* Componentbuilder View class for the Snippets
|
||||
* Componentbuilder Html View class for the Snippets
|
||||
*/
|
||||
class ComponentbuilderViewSnippets extends JViewLegacy
|
||||
class ComponentbuilderViewSnippets extends HtmlView
|
||||
{
|
||||
/**
|
||||
* Snippets view display method
|
||||
|
@ -13,10 +13,12 @@
|
||||
// No direct access to this file
|
||||
defined('_JEXEC') or die('Restricted access');
|
||||
|
||||
use Joomla\CMS\MVC\View\HtmlView;
|
||||
|
||||
/**
|
||||
* Template View class
|
||||
* Template Html View class
|
||||
*/
|
||||
class ComponentbuilderViewTemplate extends JViewLegacy
|
||||
class ComponentbuilderViewTemplate extends HtmlView
|
||||
{
|
||||
/**
|
||||
* display method of View
|
||||
|
@ -13,10 +13,12 @@
|
||||
// No direct access to this file
|
||||
defined('_JEXEC') or die('Restricted access');
|
||||
|
||||
use Joomla\CMS\MVC\View\HtmlView;
|
||||
|
||||
/**
|
||||
* Componentbuilder View class for the Templates
|
||||
* Componentbuilder Html View class for the Templates
|
||||
*/
|
||||
class ComponentbuilderViewTemplates extends JViewLegacy
|
||||
class ComponentbuilderViewTemplates extends HtmlView
|
||||
{
|
||||
/**
|
||||
* Templates view display method
|
||||
|
@ -13,10 +13,12 @@
|
||||
// No direct access to this file
|
||||
defined('_JEXEC') or die('Restricted access');
|
||||
|
||||
use Joomla\CMS\MVC\View\HtmlView;
|
||||
|
||||
/**
|
||||
* Validation_rule View class
|
||||
* Validation_rule Html View class
|
||||
*/
|
||||
class ComponentbuilderViewValidation_rule extends JViewLegacy
|
||||
class ComponentbuilderViewValidation_rule extends HtmlView
|
||||
{
|
||||
/**
|
||||
* display method of View
|
||||
|
@ -13,10 +13,12 @@
|
||||
// No direct access to this file
|
||||
defined('_JEXEC') or die('Restricted access');
|
||||
|
||||
use Joomla\CMS\MVC\View\HtmlView;
|
||||
|
||||
/**
|
||||
* Componentbuilder View class for the Validation_rules
|
||||
* Componentbuilder Html View class for the Validation_rules
|
||||
*/
|
||||
class ComponentbuilderViewValidation_rules extends JViewLegacy
|
||||
class ComponentbuilderViewValidation_rules extends HtmlView
|
||||
{
|
||||
/**
|
||||
* Validation_rules view display method
|
||||
|
Reference in New Issue
Block a user