@copyright Copyright (C) 2015. All Rights Reserved @license GNU/GPL Version 2 or later - http://www.gnu.org/licenses/gpl-2.0.html Builds Complex Joomla Components /-----------------------------------------------------------------------------------------------------------------------------*/ // No direct access to this file defined('_JEXEC') or die('Restricted access'); JHtml::_('jquery.framework'); JHtml::_('bootstrap.tooltip'); JHtml::_('script', 'system/core.js', false, true); JHtml::_('behavior.keepalive'); ?> dataType === 'smart_package') ? '.zip' : '.csv .xls .ods'; ?>
sidebar)) : ?>
sidebar; ?>
hasPackage && ComponentbuilderHelper::checkArray($this->headerList) && ComponentbuilderHelper::checkArray($this->headers)) : ?> $this->activeTab)); ?>
headerList as $name => $title): ?>
hasPackage && $this->dataType === 'smart_package') : ?> packageInfo['name']) && ComponentbuilderHelper::checkArray($this->packageInfo['name'])) { $cAmount = count($this->packageInfo['name']); $comP = ($cAmount == 1) ? 'Component' : 'Components'; } else { $cAmount = 1; $comP = 'Component'; } $hasOwner = (isset($this->packageInfo['getKeyFrom']) && ComponentbuilderHelper::checkArray($this->packageInfo['getKeyFrom'])) ? true:false; $class1 = ($hasOwner) ? 'span6' : 'span12'; ?>

'advanced')); ?>
formPackage): ?> formPackage as $field): ?>
label;?>
input;?>

' . JText::_('COM_COMPONENTBUILDER_PACKAGE_OWNER_DETAILS') . ''; $ownerDetails .= '
    '; if (isset($this->packageInfo['getKeyFrom']['company']) && componentbuilderHelper::checkString($this->packageInfo['getKeyFrom']['company'])) { $owner = $this->packageInfo['getKeyFrom']['company']; $ownerDetails .= '
  • ' . JText::sprintf('COM_COMPONENTBUILDER_EMCOMPANYEM_BSB', $this->packageInfo['getKeyFrom']['company']) . '
  • '; } // add value only if set if (isset($this->packageInfo['getKeyFrom']['owner']) && componentbuilderHelper::checkString($this->packageInfo['getKeyFrom']['owner'])) { if (!isset($owner)) { $owner = $this->packageInfo['getKeyFrom']['owner']; } $ownerDetails .= '
  • ' . JText::sprintf('COM_COMPONENTBUILDER_EMOWNEREM_BSB', $this->packageInfo['getKeyFrom']['owner']) . '
  • '; } // add value only if set if (isset($this->packageInfo['getKeyFrom']['website']) && componentbuilderHelper::checkString($this->packageInfo['getKeyFrom']['website'])) { $ownerDetails .= '
  • ' . JText::sprintf('COM_COMPONENTBUILDER_EMWEBSITEEM_BSB', $this->packageInfo['getKeyFrom']['website']) . '
  • '; } // add value only if set if (isset($this->packageInfo['getKeyFrom']['email']) && componentbuilderHelper::checkString($this->packageInfo['getKeyFrom']['email'])) { $ownerDetails .= '
  • ' . JText::sprintf('COM_COMPONENTBUILDER_EMEMAILEM_BSB', $this->packageInfo['getKeyFrom']['email']) . '
  • '; } // add value only if set if (isset($this->packageInfo['getKeyFrom']['license']) && componentbuilderHelper::checkString($this->packageInfo['getKeyFrom']['license'])) { $ownerDetails .= '
  • ' . JText::sprintf('COM_COMPONENTBUILDER_EMLICENSEEM_BSB', $this->packageInfo['getKeyFrom']['license']) . '
  • '; } // add value only if set if (isset($this->packageInfo['getKeyFrom']['copyright']) && componentbuilderHelper::checkString($this->packageInfo['getKeyFrom']['copyright'])) { $ownerDetails .= '
  • ' . JText::sprintf('COM_COMPONENTBUILDER_EMCOPYRIGHTEM_BSB', $this->packageInfo['getKeyFrom']['copyright']) . '
  • '; } $ownerDetails .= '
'; // provide some details to how the user can get a key if (isset($this->packageInfo['getKeyFrom']['buy_link']) && componentbuilderHelper::checkString($this->packageInfo['getKeyFrom']['buy_link'])) { $ownerDetails .= '
'; $ownerDetails .= JText::sprintf('COM_COMPONENTBUILDER_BGET_THE_KEY_FROMB_A_CLASSBTN_BTNPRIMARY_HREFS_TARGET_BLANK_TITLEGET_A_KEY_FROM_SSA', $this->packageInfo['getKeyFrom']['buy_link'], $owner, $owner); } // add more custom links elseif (isset($this->packageInfo['getKeyFrom']['buy_links']) && componentbuilderHelper::checkArray($this->packageInfo['getKeyFrom']['buy_links'])) { $buttons = array(); foreach ($this->packageInfo['getKeyFrom']['buy_links'] as $keyName => $link) { $buttons[] = JText::sprintf('COM_COMPONENTBUILDER_GET_THE_KEY_FROM_BSB_FOR_A_CLASSBTN_BTNPRIMARY_HREFS_TARGET_BLANK_TITLEGET_A_KEY_FROM_SSA', $owner, $link, $owner, $keyName); } $ownerDetails .= '
'; $ownerDetails .= implode('
', $buttons); } // return the owner details if (!isset($owner)) { $ownerDetails = '

' . JText::_('COM_COMPONENTBUILDER_PACKAGE_OWNER_DETAILS_NOT_FOUND') . '

'; $ownerDetails .= '

' . JText::_('COM_COMPONENTBUILDER_BE_CAUTIOUS_DO_NOT_CONTINUE_UNLESS_YOU_TRUST_THE_ORIGIN_OF_THIS_PACKAGE') . '

'; } echo $ownerDetails; ?>
packageInfo['name']) && ComponentbuilderHelper::checkArray($this->packageInfo['name'])) : ?> packageInfo['name'] as $key => $value): ?> 1 && $counter == 3) { echo '
'; $counter = 1;} ?> 1 && $counter == 1) { echo '
'; } ?>

packageInfo['short_description'][$key]; ?>

  • packageInfo['companyname'][$key]); ?>
  • packageInfo['author'][$key]); ?>
  • packageInfo['email'][$key]); ?>
  • packageInfo['website'][$key]); ?>

packageInfo['license'][$key]; ?>

packageInfo['copyright'][$key]; ?>

dataType === 'smart_package'): ?>

'upload')); ?>
    ()
    ()
    ()