* @git 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'); use Joomla\CMS\Factory; use Joomla\CMS\Language\Text; use Joomla\CMS\HTML\HTMLHelper as Html; use VDM\Joomla\Utilities\ArrayHelper; use VDM\Joomla\Utilities\GetHelper; use VDM\Joomla\Utilities\StringHelper; $edit = "index.php?option=com_componentbuilder&view=joomla_components&task=joomla_component.edit"; ?> items as $i => $item): ?> user->authorise('core.manage', 'com_checkin') || $item->checked_out == $this->user->id || $item->checked_out == 0; $userChkOut = Factory::getUser($item->checked_out); $canDo = ComponentbuilderHelper::getActions('joomla_component',$item,'joomla_components'); ?> get('joomla_component.edit.state')): ?> saveOrder) { $iconClass = ' inactive tip-top" hasTooltip" title="' . Html::tooltipText('JORDERINGDISABLED'); } ?> saveOrder) : ?> get('joomla_component.edit')): ?> checked_out) : ?> id); ?> id); ?>
get('joomla_component.edit')): ?> escape($item->system_name); ?> checked_out): ?> name, $item->checked_out_time, 'joomla_components.', $canCheckin); ?> escape($item->system_name); ?> - escape($item->component_version); ?>
return_here is set if (!isset($this->return_here)) { $this->return_here = urlencode(base64_encode((string) Uri::getInstance())); } // setup the buttons if (!isset($_buttons) || !ArrayHelper::check($_buttons)) { $_buttons = array(); $_buttons[0] = array( array( 'view' => 'component_admin_views', 'views' => 'components_admin_views', 'title' => Text::_('COM_COMPONENTBUILDER_THE_COMPONENT_ADMIN_VIEWS'), 'icon' => 'stack'), array( 'view' => 'component_custom_admin_views', 'views' => 'components_custom_admin_views', 'title' => Text::_('COM_COMPONENTBUILDER_THE_COMPONENT_CUSTOM_ADMIN_VIEWS'), 'icon' => 'screen'), array( 'view' => 'component_site_views', 'views' => 'components_site_views', 'title' => Text::_('COM_COMPONENTBUILDER_THE_COMPONENT_SITE_VIEWS'), 'icon' => 'palette'), array( 'view' => 'component_router', 'views' => 'components_routers', 'title' => Text::_('COM_COMPONENTBUILDER_THE_COMPONENT_SITE_ROUTER'), 'icon' => 'tree-2'), array( 'view' => 'component_config', 'views' => 'components_config', 'title' => Text::_('COM_COMPONENTBUILDER_THE_COMPONENT_CONFIG'), 'icon' => 'options') ); $_buttons[1] = array( array( 'view' => 'component_placeholders', 'views' => 'components_placeholders', 'title' => Text::_('COM_COMPONENTBUILDER_THE_COMPONENT_PLACEHOLDERS'), 'icon' => 'search'), array( 'view' => 'component_updates', 'views' => 'components_updates', 'title' => Text::_('COM_COMPONENTBUILDER_THE_COMPONENT_UPDATES'), 'icon' => 'database'), array( 'view' => 'component_mysql_tweaks', 'views' => 'components_mysql_tweaks', 'title' => Text::_('COM_COMPONENTBUILDER_THE_COMPONENT_MYSQL_TWEAKS'), 'icon' => 'screwdriver'), array( 'view' => 'component_files_folders', 'views' => 'components_files_folders', 'title' => Text::_('COM_COMPONENTBUILDER_THE_COMPONENT_FILES_FOLDERS'), 'icon' => 'briefcase') ); $_buttons[2] = array( array( 'view' => 'component_custom_admin_menus', 'views' => 'components_custom_admin_menus', 'title' => Text::_('COM_COMPONENTBUILDER_THE_COMPONENT_CUSTOM_ADMIN_MENUS'), 'icon' => 'plus'), array( 'view' => 'component_dashboard', 'views' => 'components_dashboard', 'title' => Text::_('COM_COMPONENTBUILDER_THE_COMPONENT_DASHBOARD'), 'icon' => 'dashboard'), array( 'view' => 'component_modules', 'views' => 'components_modules', 'title' => Text::_('COM_COMPONENTBUILDER_THE_COMPONENT_MODULES'), 'icon' => 'cube'), array( 'view' => 'component_plugins', 'views' => 'components_plugins', 'title' => Text::_('COM_COMPONENTBUILDER_THE_COMPONENT_PLUGINS'), 'icon' => 'power-cord') ); } ?>
get($_button['view'].'.edit') && ($id = GetHelper::var($_button['view'], $item->id, 'joomla_component', 'id')) !== false): ?> get($_button['view'].'.create')): ?>
escape($item->name_code); ?>
get($_button['view'].'.edit') && ($id = GetHelper::var($_button['view'], $item->id, 'joomla_component', 'id')) !== false): ?> get($_button['view'].'.create')): ?>
escape($item->short_description); ?>
get($_button['view'].'.edit') && ($id = GetHelper::var($_button['view'], $item->id, 'joomla_component', 'id')) !== false): ?> get($_button['view'].'.create')): ?>
escape($item->companyname); ?>
author)) : ?> escape($item->author); ?>
email) && StringHelper::check($item->author)) : ?> escape($item->email); ?>
website) && StringHelper::check($item->author)) : ?> escape($item->website); ?>
get('joomla_component.edit.state')) : ?> checked_out) : ?> published, $i, 'joomla_components.', true, 'cb'); ?> published, $i, 'joomla_components.', false, 'cb'); ?> published, $i, 'joomla_components.', true, 'cb'); ?> published, $i, 'joomla_components.', false, 'cb'); ?> id; ?>