* @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 VDM\Joomla\Utilities\ArrayHelper; use VDM\Joomla\Utilities\StringHelper; // set the defaults $items = $displayData->vymlinked_components; $user = JFactory::getUser(); $id = $displayData->item->id; // set the edit URL $edit = "index.php?option=com_componentbuilder&view=joomla_components&task=joomla_component.edit"; // set a return value $return = ($id) ? "index.php?option=com_componentbuilder&view=server&layout=edit&id=" . $id : ""; // check for a return value $jinput = JFactory::getApplication()->input; if ($_return = $jinput->get('return', null, 'base64')) { $return .= "&return=" . $_return; } // check if return value was set if (ComponentbuilderHelper::checkString($return)) { // set the referral values $ref = ($id) ? "&ref=server&refid=" . $id . "&return=" . urlencode(base64_encode($return)) : "&return=" . urlencode(base64_encode($return)); } else { $ref = ($id) ? "&ref=server&refid=" . $id : ""; } ?>
$item): ?> authorise('core.manage', 'com_checkin') || $item->checked_out == $user->id || $item->checked_out == 0; $userChkOut = JFactory::getUser($item->checked_out); $canDo = ComponentbuilderHelper::getActions('joomla_component',$item,'joomla_components'); ?> published == 1): ?> published == 0): ?> published == 2): ?> published == -2): ?>
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) JUri::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' => JText::_('COM_COMPONENTBUILDER_THE_COMPONENT_ADMIN_VIEWS'), 'icon' => 'stack'), array( 'view' => 'component_custom_admin_views', 'views' => 'components_custom_admin_views', 'title' => JText::_('COM_COMPONENTBUILDER_THE_COMPONENT_CUSTOM_ADMIN_VIEWS'), 'icon' => 'screen'), array( 'view' => 'component_site_views', 'views' => 'components_site_views', 'title' => JText::_('COM_COMPONENTBUILDER_THE_COMPONENT_SITE_VIEWS'), 'icon' => 'palette'), array( 'view' => 'component_config', 'views' => 'components_config', 'title' => JText::_('COM_COMPONENTBUILDER_THE_COMPONENT_CONFIG'), 'icon' => 'options') ); $_buttons[1] = array( array( 'view' => 'component_placeholders', 'views' => 'components_placeholders', 'title' => JText::_('COM_COMPONENTBUILDER_THE_COMPONENT_PLACEHOLDERS'), 'icon' => 'search'), array( 'view' => 'component_updates', 'views' => 'components_updates', 'title' => JText::_('COM_COMPONENTBUILDER_THE_COMPONENT_UPDATES'), 'icon' => 'database'), array( 'view' => 'component_mysql_tweaks', 'views' => 'components_mysql_tweaks', 'title' => JText::_('COM_COMPONENTBUILDER_THE_COMPONENT_MYSQL_TWEAKS'), 'icon' => 'screwdriver'), array( 'view' => 'component_files_folders', 'views' => 'components_files_folders', 'title' => JText::_('COM_COMPONENTBUILDER_THE_COMPONENT_FILES_FOLDERS'), 'icon' => 'briefcase') ); $_buttons[2] = array( array( 'view' => 'component_custom_admin_menus', 'views' => 'components_custom_admin_menus', 'title' => JText::_('COM_COMPONENTBUILDER_THE_COMPONENT_CUSTOM_ADMIN_MENUS'), 'icon' => 'plus'), array( 'view' => 'component_dashboard', 'views' => 'components_dashboard', 'title' => JText::_('COM_COMPONENTBUILDER_THE_COMPONENT_DASHBOARD'), 'icon' => 'dashboard'), array( 'view' => 'component_modules', 'views' => 'components_modules', 'title' => JText::_('COM_COMPONENTBUILDER_THE_COMPONENT_MODULES'), 'icon' => 'cube'), array( 'view' => 'component_plugins', 'views' => 'components_plugins', 'title' => JText::_('COM_COMPONENTBUILDER_THE_COMPONENT_PLUGINS'), 'icon' => 'power-cord') ); } ?>
get($_button['view'].'.edit') && ($id = ComponentbuilderHelper::getVar($_button['view'], $item->id, 'joomla_component', 'id')) !== false): ?> get($_button['view'].'.create')): ?>
escape($item->name_code); ?>
get($_button['view'].'.edit') && ($id = ComponentbuilderHelper::getVar($_button['view'], $item->id, 'joomla_component', 'id')) !== false): ?> get($_button['view'].'.create')): ?>
escape($item->short_description); ?>
get($_button['view'].'.edit') && ($id = ComponentbuilderHelper::getVar($_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); ?>
id; ?>