From 3329aad3c7c74508360fc24e7b29961f98edebd4 Mon Sep 17 00:00:00 2001 From: Llewellyn van der Merwe Date: Thu, 3 May 2018 16:04:47 +0200 Subject: [PATCH] Added the option to Manage JCB Package Directories in the globle Options area --- README.md | 4 +- admin/README.txt | 4 +- admin/config.xml | 146 +++++++++++------- .../en-GB/en-GB.com_componentbuilder.ini | 14 +- admin/models/joomla_components.php | 4 +- .../import_joomla_components/tmpl/default.php | 13 +- .../import_joomla_components/view.html.php | 19 ++- script.php | 2 +- 8 files changed, 138 insertions(+), 68 deletions(-) diff --git a/README.md b/README.md index 6765cf21d..054559bb4 100644 --- a/README.md +++ b/README.md @@ -130,8 +130,8 @@ Component Builder is mapped as a component in itself on my local development env + *Version*: 2.7.7 + *Copyright*: Copyright (C) 2015. All Rights Reserved + *License*: GNU/GPL Version 2 or later - http://www.gnu.org/licenses/gpl-2.0.html -+ *Line count*: **193677** -+ *Field count*: **1030** ++ *Line count*: **193747** ++ *Field count*: **1034** + *File count*: **1201** + *Folder count*: **193** diff --git a/admin/README.txt b/admin/README.txt index 6765cf21d..054559bb4 100644 --- a/admin/README.txt +++ b/admin/README.txt @@ -130,8 +130,8 @@ Component Builder is mapped as a component in itself on my local development env + *Version*: 2.7.7 + *Copyright*: Copyright (C) 2015. All Rights Reserved + *License*: GNU/GPL Version 2 or later - http://www.gnu.org/licenses/gpl-2.0.html -+ *Line count*: **193677** -+ *Field count*: **1030** ++ *Line count*: **193747** ++ *Field count*: **1034** + *File count*: **1201** + *Folder count*: **193** diff --git a/admin/config.xml b/admin/config.xml index 69746aa31..efaaa8bab 100644 --- a/admin/config.xml +++ b/admin/config.xml @@ -47,6 +47,40 @@ /> + + + + + + + + + + + + + + + - - + + COM_COMPONENTBUILDER_CONFIG_NO - - - - - - - - - - - - - - - - - - COM_COMPONENTBUILDER_CONFIG_NEVER_UPDATE + + + + + + + + + + + + + + + + + + + + info['getKeyFrom']['package_links'] = $this->exportPackageLinks; // we started adding this at v2.7.7 - $this->info['source']['paid'] = true; + $this->info['key'] = true; } else { + // we started adding this at v2.7.7 + $this->info['key'] = true; // Set the owner information $data = base64_encode($data); } diff --git a/admin/views/import_joomla_components/tmpl/default.php b/admin/views/import_joomla_components/tmpl/default.php index 289a09bd9..3b405c49b 100644 --- a/admin/views/import_joomla_components/tmpl/default.php +++ b/admin/views/import_joomla_components/tmpl/default.php @@ -139,7 +139,6 @@ JHtml::_('behavior.keepalive'); jQuery(document).ready(function($) { var outerDiv = $('body'); - $('
') .css("background", "rgba(255, 255, 255, .8) url('components/com_componentbuilder/assets/images/import.gif') 50% 15% no-repeat") .css("top", outerDiv.position().top - $(window).scrollTop()) @@ -287,7 +286,8 @@ jQuery(document).ready(function($) {

-

+

+

@@ -317,7 +317,8 @@ jQuery(document).ready(function($) {

-

+

+

@@ -352,22 +353,27 @@ jQuery(document).ready(function($) {