Compare commits
5 Commits
Author | SHA1 | Date | |
---|---|---|---|
4e65696d40 | |||
737785ea33 | |||
41defc9e7a | |||
5ca3d0b533 | |||
5331e32e11 |
20
README.md
20
README.md
@ -1,4 +1,4 @@
|
||||
# Component Builder (2.0.8)
|
||||
# Component Builder (2.1.0)
|
||||
|
||||
This is a [Joomla 3.x] (http://www.joomla.org/) component.
|
||||
|
||||
@ -38,32 +38,32 @@ Would you require more help VDM.io has a number of support plans available [visi
|
||||
+ *Author*: [Llewellyn van der Merwe] (mailto:info@vdm.io)
|
||||
+ *Name*: [Component Builder] (https://www.vdm.io/joomla-component-builder)
|
||||
+ *First Build*: 30th April, 2015
|
||||
+ *Last Build*: 30th January, 2016
|
||||
+ *Version*: 2.0.8
|
||||
+ *Last Build*: 18th February, 2016
|
||||
+ *Version*: 2.1.0
|
||||
+ *Copyright*: Copyright (C) 2015. All Rights Reserved
|
||||
+ *License*: GNU/GPL Version 2 or later - http://www.gnu.org/licenses/gpl-2.0.html
|
||||
|
||||
## Build Time
|
||||
|
||||
**221 Hours** or **28 Eight Hour Days** (actual time the author saved -
|
||||
**223 Hours** or **28 Eight Hour Days** (actual time the author saved -
|
||||
due to [Automated Component Builder] (https://www.vdm.io/joomla-component-builder))
|
||||
|
||||
> (if creating a folder and file took **5 seconds** and writing one line of code took **10 seconds**,
|
||||
> never making one mistake or taking any coffee break.)
|
||||
|
||||
+ *Line count*: **79362**
|
||||
+ *File count*: **489**
|
||||
+ *Folder count*: **95**
|
||||
+ *Line count*: **79960**
|
||||
+ *File count*: **491**
|
||||
+ *Folder count*: **96**
|
||||
|
||||
**146 Hours** or **18 Eight Hour Days** (the actual time the author spent)
|
||||
**147 Hours** or **18 Eight Hour Days** (the actual time the author spent)
|
||||
|
||||
> (with the following break down:
|
||||
> **debugging @55hours** = codingtime / 4;
|
||||
> **debugging @56hours** = codingtime / 4;
|
||||
> **planning @32hours** = codingtime / 7;
|
||||
> **mapping @22hours** = codingtime / 10;
|
||||
> **office @37hours** = codingtime / 6;)
|
||||
|
||||
**367 Hours** or **46 Eight Hour Days**
|
||||
**370 Hours** or **46 Eight Hour Days**
|
||||
(a total of the realistic time frame for this project)
|
||||
|
||||
> (if creating a folder and file took **5 seconds** and writing one line of code took **10 seconds**,
|
||||
|
@ -9,8 +9,8 @@
|
||||
|_|
|
||||
/-------------------------------------------------------------------------------------------------------------------------------/
|
||||
|
||||
@version 2.0.8
|
||||
@build 30th January, 2016
|
||||
@version 2.1.0
|
||||
@build 18th February, 2016
|
||||
@created 30th April, 2015
|
||||
@package Component Builder
|
||||
@subpackage admin.css
|
||||
|
@ -9,8 +9,8 @@
|
||||
|_|
|
||||
/-------------------------------------------------------------------------------------------------------------------------------/
|
||||
|
||||
@version 2.0.8
|
||||
@build 30th January, 2016
|
||||
@version 2.1.0
|
||||
@build 18th February, 2016
|
||||
@created 30th April, 2015
|
||||
@package Component Builder
|
||||
@subpackage admin_view.css
|
||||
|
@ -9,8 +9,8 @@
|
||||
|_|
|
||||
/-------------------------------------------------------------------------------------------------------------------------------/
|
||||
|
||||
@version 2.0.8
|
||||
@build 30th January, 2016
|
||||
@version 2.1.0
|
||||
@build 18th February, 2016
|
||||
@created 30th April, 2015
|
||||
@package Component Builder
|
||||
@subpackage admin_views.css
|
||||
|
@ -9,8 +9,8 @@
|
||||
|_|
|
||||
/-------------------------------------------------------------------------------------------------------------------------------/
|
||||
|
||||
@version 2.0.8
|
||||
@build 30th January, 2016
|
||||
@version 2.1.0
|
||||
@build 18th February, 2016
|
||||
@created 30th April, 2015
|
||||
@package Component Builder
|
||||
@subpackage component.css
|
||||
|
@ -9,8 +9,8 @@
|
||||
|_|
|
||||
/-------------------------------------------------------------------------------------------------------------------------------/
|
||||
|
||||
@version 2.0.8
|
||||
@build 30th January, 2016
|
||||
@version 2.1.0
|
||||
@build 18th February, 2016
|
||||
@created 30th April, 2015
|
||||
@package Component Builder
|
||||
@subpackage components.css
|
||||
|
@ -9,8 +9,8 @@
|
||||
|_|
|
||||
/-------------------------------------------------------------------------------------------------------------------------------/
|
||||
|
||||
@version 2.0.8
|
||||
@build 30th January, 2016
|
||||
@version 2.1.0
|
||||
@build 18th February, 2016
|
||||
@created 30th April, 2015
|
||||
@package Component Builder
|
||||
@subpackage custom_admin_view.css
|
||||
|
@ -9,8 +9,8 @@
|
||||
|_|
|
||||
/-------------------------------------------------------------------------------------------------------------------------------/
|
||||
|
||||
@version 2.0.8
|
||||
@build 30th January, 2016
|
||||
@version 2.1.0
|
||||
@build 18th February, 2016
|
||||
@created 30th April, 2015
|
||||
@package Component Builder
|
||||
@subpackage custom_admin_views.css
|
||||
|
@ -9,8 +9,8 @@
|
||||
|_|
|
||||
/-------------------------------------------------------------------------------------------------------------------------------/
|
||||
|
||||
@version 2.0.8
|
||||
@build 30th January, 2016
|
||||
@version 2.1.0
|
||||
@build 18th February, 2016
|
||||
@created 30th April, 2015
|
||||
@package Component Builder
|
||||
@subpackage dashboard.css
|
||||
|
@ -9,8 +9,8 @@
|
||||
|_|
|
||||
/-------------------------------------------------------------------------------------------------------------------------------/
|
||||
|
||||
@version 2.0.8
|
||||
@build 30th January, 2016
|
||||
@version 2.1.0
|
||||
@build 18th February, 2016
|
||||
@created 30th April, 2015
|
||||
@package Component Builder
|
||||
@subpackage dynamic_get.css
|
||||
|
@ -9,8 +9,8 @@
|
||||
|_|
|
||||
/-------------------------------------------------------------------------------------------------------------------------------/
|
||||
|
||||
@version 2.0.8
|
||||
@build 30th January, 2016
|
||||
@version 2.1.0
|
||||
@build 18th February, 2016
|
||||
@created 30th April, 2015
|
||||
@package Component Builder
|
||||
@subpackage dynamic_gets.css
|
||||
|
@ -9,8 +9,8 @@
|
||||
|_|
|
||||
/-------------------------------------------------------------------------------------------------------------------------------/
|
||||
|
||||
@version 2.0.8
|
||||
@build 30th January, 2016
|
||||
@version 2.1.0
|
||||
@build 18th February, 2016
|
||||
@created 30th April, 2015
|
||||
@package Component Builder
|
||||
@subpackage field.css
|
||||
|
@ -9,8 +9,8 @@
|
||||
|_|
|
||||
/-------------------------------------------------------------------------------------------------------------------------------/
|
||||
|
||||
@version 2.0.8
|
||||
@build 30th January, 2016
|
||||
@version 2.1.0
|
||||
@build 18th February, 2016
|
||||
@created 30th April, 2015
|
||||
@package Component Builder
|
||||
@subpackage fields.css
|
||||
|
@ -9,8 +9,8 @@
|
||||
|_|
|
||||
/-------------------------------------------------------------------------------------------------------------------------------/
|
||||
|
||||
@version 2.0.8
|
||||
@build 30th January, 2016
|
||||
@version 2.1.0
|
||||
@build 18th February, 2016
|
||||
@created 30th April, 2015
|
||||
@package Component Builder
|
||||
@subpackage fieldtype.css
|
||||
|
@ -9,8 +9,8 @@
|
||||
|_|
|
||||
/-------------------------------------------------------------------------------------------------------------------------------/
|
||||
|
||||
@version 2.0.8
|
||||
@build 30th January, 2016
|
||||
@version 2.1.0
|
||||
@build 18th February, 2016
|
||||
@created 30th April, 2015
|
||||
@package Component Builder
|
||||
@subpackage fieldtypes.css
|
||||
|
@ -9,8 +9,8 @@
|
||||
|_|
|
||||
/-------------------------------------------------------------------------------------------------------------------------------/
|
||||
|
||||
@version 2.0.8
|
||||
@build 30th January, 2016
|
||||
@version 2.1.0
|
||||
@build 18th February, 2016
|
||||
@created 30th April, 2015
|
||||
@package Component Builder
|
||||
@subpackage help_document.css
|
||||
|
@ -9,8 +9,8 @@
|
||||
|_|
|
||||
/-------------------------------------------------------------------------------------------------------------------------------/
|
||||
|
||||
@version 2.0.8
|
||||
@build 30th January, 2016
|
||||
@version 2.1.0
|
||||
@build 18th February, 2016
|
||||
@created 30th April, 2015
|
||||
@package Component Builder
|
||||
@subpackage help_documents.css
|
||||
|
@ -9,8 +9,8 @@
|
||||
|_|
|
||||
/-------------------------------------------------------------------------------------------------------------------------------/
|
||||
|
||||
@version 2.0.8
|
||||
@build 30th January, 2016
|
||||
@version 2.1.0
|
||||
@build 18th February, 2016
|
||||
@created 30th April, 2015
|
||||
@package Component Builder
|
||||
@subpackage layout.css
|
||||
|
@ -9,8 +9,8 @@
|
||||
|_|
|
||||
/-------------------------------------------------------------------------------------------------------------------------------/
|
||||
|
||||
@version 2.0.8
|
||||
@build 30th January, 2016
|
||||
@version 2.1.0
|
||||
@build 18th February, 2016
|
||||
@created 30th April, 2015
|
||||
@package Component Builder
|
||||
@subpackage layouts.css
|
||||
|
@ -9,8 +9,8 @@
|
||||
|_|
|
||||
/-------------------------------------------------------------------------------------------------------------------------------/
|
||||
|
||||
@version 2.0.8
|
||||
@build 30th January, 2016
|
||||
@version 2.1.0
|
||||
@build 18th February, 2016
|
||||
@created 30th April, 2015
|
||||
@package Component Builder
|
||||
@subpackage site_view.css
|
||||
|
@ -9,8 +9,8 @@
|
||||
|_|
|
||||
/-------------------------------------------------------------------------------------------------------------------------------/
|
||||
|
||||
@version 2.0.8
|
||||
@build 30th January, 2016
|
||||
@version 2.1.0
|
||||
@build 18th February, 2016
|
||||
@created 30th April, 2015
|
||||
@package Component Builder
|
||||
@subpackage site_views.css
|
||||
|
@ -9,8 +9,8 @@
|
||||
|_|
|
||||
/-------------------------------------------------------------------------------------------------------------------------------/
|
||||
|
||||
@version 2.0.8
|
||||
@build 30th January, 2016
|
||||
@version 2.1.0
|
||||
@build 18th February, 2016
|
||||
@created 30th April, 2015
|
||||
@package Component Builder
|
||||
@subpackage snippet.css
|
||||
|
@ -9,8 +9,8 @@
|
||||
|_|
|
||||
/-------------------------------------------------------------------------------------------------------------------------------/
|
||||
|
||||
@version 2.0.8
|
||||
@build 30th January, 2016
|
||||
@version 2.1.0
|
||||
@build 18th February, 2016
|
||||
@created 30th April, 2015
|
||||
@package Component Builder
|
||||
@subpackage snippets.css
|
||||
|
@ -9,8 +9,8 @@
|
||||
|_|
|
||||
/-------------------------------------------------------------------------------------------------------------------------------/
|
||||
|
||||
@version 2.0.8
|
||||
@build 30th January, 2016
|
||||
@version 2.1.0
|
||||
@build 18th February, 2016
|
||||
@created 30th April, 2015
|
||||
@package Component Builder
|
||||
@subpackage template.css
|
||||
|
@ -9,8 +9,8 @@
|
||||
|_|
|
||||
/-------------------------------------------------------------------------------------------------------------------------------/
|
||||
|
||||
@version 2.0.8
|
||||
@build 30th January, 2016
|
||||
@version 2.1.0
|
||||
@build 18th February, 2016
|
||||
@created 30th April, 2015
|
||||
@package Component Builder
|
||||
@subpackage templates.css
|
||||
|
@ -206,5 +206,5 @@ class ###Component###Model###Component### extends JModelList
|
||||
}
|
||||
}
|
||||
return $icons;
|
||||
}
|
||||
}###DASH_MODEL_METHODS###
|
||||
}
|
||||
|
@ -51,7 +51,7 @@ class ###Component###View###Component### extends JViewLegacy
|
||||
};
|
||||
// Assign data to the view
|
||||
$this->icons = $this->get('Icons');
|
||||
$this->contributors = ###Component###Helper::getContributors();
|
||||
$this->contributors = ###Component###Helper::getContributors();###DASH_GET_CUSTOM_DATA###
|
||||
|
||||
// Set the toolbar
|
||||
$this->addToolBar();
|
||||
|
@ -29,22 +29,4 @@ defined('_JEXEC') or die('Restricted access');
|
||||
// No direct access to this file
|
||||
defined('_JEXEC') or die('Restricted access');
|
||||
|
||||
?>
|
||||
<div id="j-main-container" class="span9">
|
||||
<?php echo JHtml::_('bootstrap.startAccordion', 'dashboard_left', array('active' => 'main')); ?>
|
||||
|
||||
<?php echo JHtml::_('bootstrap.addSlide', 'dashboard_left', 'cPanel', 'main'); ?>
|
||||
<?php echo $this->loadTemplate('main');?>
|
||||
<?php echo JHtml::_('bootstrap.endSlide'); ?>
|
||||
|
||||
<?php echo JHtml::_('bootstrap.endAccordion'); ?>
|
||||
</div>
|
||||
<div id="j-main-container" class="span3">
|
||||
<?php echo JHtml::_('bootstrap.startAccordion', 'dashboard_right', array('active' => 'vdm')); ?>
|
||||
|
||||
<?php echo JHtml::_('bootstrap.addSlide', 'dashboard_right', '###COMPANYNAME###', 'vdm'); ?>
|
||||
<?php echo $this->loadTemplate('vdm');?>
|
||||
<?php echo JHtml::_('bootstrap.endSlide'); ?>
|
||||
|
||||
<?php echo JHtml::_('bootstrap.endAccordion'); ?>
|
||||
</div>
|
||||
?>###DASH_DISPLAY_DATA###
|
@ -252,7 +252,7 @@ abstract class ###Component###Helper
|
||||
foreach ($actions as $action)
|
||||
{
|
||||
// set to use component default
|
||||
$allow = true;
|
||||
$fallback= true;
|
||||
if (self::checkObject($record) && isset($record->id) && $record->id > 0 && !in_array($action->name,$componentActions))
|
||||
{
|
||||
// The record has been set. Check the record permissions.
|
||||
@ -268,13 +268,13 @@ abstract class ###Component###Helper
|
||||
{
|
||||
$result->set($action->name, true);
|
||||
// set not to use component default
|
||||
$allow = false;
|
||||
$fallback= false;
|
||||
}
|
||||
else
|
||||
{
|
||||
$result->set($action->name, false);
|
||||
// set not to use component default
|
||||
$allow = false;
|
||||
$fallback= false;
|
||||
}
|
||||
}
|
||||
elseif ($user->authorise($view.'edit.own', 'com_###component###.'.$view.'.' . (int) $record->id))
|
||||
@ -284,13 +284,13 @@ abstract class ###Component###Helper
|
||||
{
|
||||
$result->set($action->name, true);
|
||||
// set not to use component default
|
||||
$allow = false;
|
||||
$fallback= false;
|
||||
}
|
||||
else
|
||||
{
|
||||
$result->set($action->name, false);
|
||||
// set not to use component default
|
||||
$allow = false;
|
||||
$fallback= false;
|
||||
}
|
||||
}
|
||||
elseif ($user->authorise('core.edit.own', 'com_###component###'))
|
||||
@ -300,13 +300,13 @@ abstract class ###Component###Helper
|
||||
{
|
||||
$result->set($action->name, true);
|
||||
// set not to use component default
|
||||
$allow = false;
|
||||
$fallback= false;
|
||||
}
|
||||
else
|
||||
{
|
||||
$result->set($action->name, false);
|
||||
// set not to use component default
|
||||
$allow = false;
|
||||
$fallback= false;
|
||||
}
|
||||
}
|
||||
elseif ($user->authorise($view.'edit.own', 'com_###component###'))
|
||||
@ -316,13 +316,13 @@ abstract class ###Component###Helper
|
||||
{
|
||||
$result->set($action->name, true);
|
||||
// set not to use component default
|
||||
$allow = false;
|
||||
$fallback= false;
|
||||
}
|
||||
else
|
||||
{
|
||||
$result->set($action->name, false);
|
||||
// set not to use component default
|
||||
$allow = false;
|
||||
$fallback= false;
|
||||
}
|
||||
}
|
||||
}
|
||||
@ -352,13 +352,13 @@ abstract class ###Component###Helper
|
||||
{
|
||||
$result->set($action->name, true);
|
||||
// set not to use component default
|
||||
$allow = false;
|
||||
$fallback= false;
|
||||
}
|
||||
else
|
||||
{
|
||||
$result->set($action->name, false);
|
||||
// set not to use component default
|
||||
$allow = false;
|
||||
$fallback= false;
|
||||
}
|
||||
}
|
||||
elseif ($user->authorise($view.'edit.own', 'com_###component###.'.$views.'.category.' . (int) $record->catid))
|
||||
@ -368,13 +368,13 @@ abstract class ###Component###Helper
|
||||
{
|
||||
$result->set($action->name, true);
|
||||
// set not to use component default
|
||||
$allow = false;
|
||||
$fallback= false;
|
||||
}
|
||||
else
|
||||
{
|
||||
$result->set($action->name, false);
|
||||
// set not to use component default
|
||||
$allow = false;
|
||||
$fallback= false;
|
||||
}
|
||||
}
|
||||
elseif ($user->authorise('core.edit.own', 'com_###component###'))
|
||||
@ -384,13 +384,13 @@ abstract class ###Component###Helper
|
||||
{
|
||||
$result->set($action->name, true);
|
||||
// set not to use component default
|
||||
$allow = false;
|
||||
$fallback= false;
|
||||
}
|
||||
else
|
||||
{
|
||||
$result->set($action->name, false);
|
||||
// set not to use component default
|
||||
$allow = false;
|
||||
$fallback= false;
|
||||
}
|
||||
}
|
||||
elseif ($user->authorise($view.'edit.own', 'com_###component###'))
|
||||
@ -400,13 +400,13 @@ abstract class ###Component###Helper
|
||||
{
|
||||
$result->set($action->name, true);
|
||||
// set not to use component default
|
||||
$allow = false;
|
||||
$fallback= false;
|
||||
}
|
||||
else
|
||||
{
|
||||
$result->set($action->name, false);
|
||||
// set not to use component default
|
||||
$allow = false;
|
||||
$fallback= false;
|
||||
}
|
||||
}
|
||||
}
|
||||
@ -414,7 +414,7 @@ abstract class ###Component###Helper
|
||||
}
|
||||
}
|
||||
// if allowed then fallback on component global settings
|
||||
if ($allow)
|
||||
if ($fallback)
|
||||
{
|
||||
$result->set($action->name, $user->authorise($action->name, 'com_###component###'));
|
||||
}
|
||||
|
@ -355,7 +355,7 @@ abstract class ###Component###Helper
|
||||
foreach ($actions as $action)
|
||||
{
|
||||
// set to use component default
|
||||
$allow = true;
|
||||
$fallback = true;
|
||||
if (self::checkObject($record) && isset($record->id) && $record->id > 0 && !in_array($action->name,$componentActions))
|
||||
{
|
||||
// The record has been set. Check the record permissions.
|
||||
@ -371,13 +371,13 @@ abstract class ###Component###Helper
|
||||
{
|
||||
$result->set($action->name, true);
|
||||
// set not to use component default
|
||||
$allow = false;
|
||||
$fallback = false;
|
||||
}
|
||||
else
|
||||
{
|
||||
$result->set($action->name, false);
|
||||
// set not to use component default
|
||||
$allow = false;
|
||||
$fallback = false;
|
||||
}
|
||||
}
|
||||
elseif ($user->authorise($view.'edit.own', 'com_###component###.'.$view.'.' . (int) $record->id))
|
||||
@ -387,13 +387,13 @@ abstract class ###Component###Helper
|
||||
{
|
||||
$result->set($action->name, true);
|
||||
// set not to use component default
|
||||
$allow = false;
|
||||
$fallback = false;
|
||||
}
|
||||
else
|
||||
{
|
||||
$result->set($action->name, false);
|
||||
// set not to use component default
|
||||
$allow = false;
|
||||
$fallback = false;
|
||||
}
|
||||
}
|
||||
elseif ($user->authorise('core.edit.own', 'com_###component###'))
|
||||
@ -403,13 +403,13 @@ abstract class ###Component###Helper
|
||||
{
|
||||
$result->set($action->name, true);
|
||||
// set not to use component default
|
||||
$allow = false;
|
||||
$fallback = false;
|
||||
}
|
||||
else
|
||||
{
|
||||
$result->set($action->name, false);
|
||||
// set not to use component default
|
||||
$allow = false;
|
||||
$fallback = false;
|
||||
}
|
||||
}
|
||||
elseif ($user->authorise($view.'edit.own', 'com_###component###'))
|
||||
@ -419,13 +419,13 @@ abstract class ###Component###Helper
|
||||
{
|
||||
$result->set($action->name, true);
|
||||
// set not to use component default
|
||||
$allow = false;
|
||||
$fallback = false;
|
||||
}
|
||||
else
|
||||
{
|
||||
$result->set($action->name, false);
|
||||
// set not to use component default
|
||||
$allow = false;
|
||||
$fallback = false;
|
||||
}
|
||||
}
|
||||
}
|
||||
@ -455,13 +455,13 @@ abstract class ###Component###Helper
|
||||
{
|
||||
$result->set($action->name, true);
|
||||
// set not to use component default
|
||||
$allow = false;
|
||||
$fallback = false;
|
||||
}
|
||||
else
|
||||
{
|
||||
$result->set($action->name, false);
|
||||
// set not to use component default
|
||||
$allow = false;
|
||||
$fallback = false;
|
||||
}
|
||||
}
|
||||
elseif ($user->authorise($view.'edit.own', 'com_###component###.'.$views.'.category.' . (int) $record->catid))
|
||||
@ -471,13 +471,13 @@ abstract class ###Component###Helper
|
||||
{
|
||||
$result->set($action->name, true);
|
||||
// set not to use component default
|
||||
$allow = false;
|
||||
$fallback = false;
|
||||
}
|
||||
else
|
||||
{
|
||||
$result->set($action->name, false);
|
||||
// set not to use component default
|
||||
$allow = false;
|
||||
$fallback = false;
|
||||
}
|
||||
}
|
||||
elseif ($user->authorise('core.edit.own', 'com_###component###'))
|
||||
@ -487,13 +487,13 @@ abstract class ###Component###Helper
|
||||
{
|
||||
$result->set($action->name, true);
|
||||
// set not to use component default
|
||||
$allow = false;
|
||||
$fallback = false;
|
||||
}
|
||||
else
|
||||
{
|
||||
$result->set($action->name, false);
|
||||
// set not to use component default
|
||||
$allow = false;
|
||||
$fallback = false;
|
||||
}
|
||||
}
|
||||
elseif ($user->authorise($view.'edit.own', 'com_###component###'))
|
||||
@ -503,13 +503,13 @@ abstract class ###Component###Helper
|
||||
{
|
||||
$result->set($action->name, true);
|
||||
// set not to use component default
|
||||
$allow = false;
|
||||
$fallback = false;
|
||||
}
|
||||
else
|
||||
{
|
||||
$result->set($action->name, false);
|
||||
// set not to use component default
|
||||
$allow = false;
|
||||
$fallback = false;
|
||||
}
|
||||
}
|
||||
}
|
||||
@ -517,7 +517,7 @@ abstract class ###Component###Helper
|
||||
}
|
||||
}
|
||||
// if allowed then fallback on component global settings
|
||||
if ($allow)
|
||||
if ($fallback)
|
||||
{
|
||||
$result->set($action->name, $user->authorise($action->name, 'com_###component###'));
|
||||
}
|
||||
|
@ -264,7 +264,7 @@ class ###Component###Controller###View### extends JControllerForm
|
||||
*
|
||||
* @since 11.1
|
||||
*/
|
||||
protected function postSaveHook(JModelLegacy &$model, $validData = array())
|
||||
protected function postSaveHook(JModelLegacy $model, $validData = array())
|
||||
{###POSTSAVEHOOK###
|
||||
}
|
||||
|
||||
|
@ -264,7 +264,7 @@ class ###Component###Controller###View### extends JControllerForm
|
||||
*
|
||||
* @since 11.1
|
||||
*/
|
||||
protected function postSaveHook(JModelLegacy &$model, $validData = array())
|
||||
protected function postSaveHook(JModelLegacy $model, $validData = array())
|
||||
{###POSTSAVEHOOK###
|
||||
}
|
||||
|
||||
|
@ -700,7 +700,7 @@
|
||||
"type": "template"
|
||||
},
|
||||
"layout_custom_admin.php": {
|
||||
"path": "c0mp0n3nt/admin/layouts/VIEW",
|
||||
"path": "c0mp0n3nt/admin/layouts",
|
||||
"rename": "layout_custom_admin",
|
||||
"type": "layout"
|
||||
}
|
||||
|
@ -10,8 +10,8 @@
|
||||
|_|
|
||||
/-------------------------------------------------------------------------------------------------------------------------------/
|
||||
|
||||
@version 2.0.8
|
||||
@build 30th January, 2016
|
||||
@version 2.1.0
|
||||
@build 18th February, 2016
|
||||
@created 30th April, 2015
|
||||
@package Component Builder
|
||||
@subpackage componentbuilder.php
|
||||
|
@ -467,24 +467,6 @@
|
||||
message="Error! Please add folder path here."
|
||||
hint="COM_COMPONENTBUILDER_CONFIG_BACKUP_FOLDER_PATH_HINT"
|
||||
/>
|
||||
<!-- Note_git_folder_path Field. Type: Note. A None Database Field. (joomla) -->
|
||||
<field type="note" name="note_git_folder_path" label="COM_COMPONENTBUILDER_CONFIG_NOTE_GIT_FOLDER_PATH_LABEL" description="COM_COMPONENTBUILDER_CONFIG_NOTE_GIT_FOLDER_PATH_DESCRIPTION" heading="h4" class="alert alert-info note_git_folder_path" />
|
||||
<!-- Git_folder_path Field. Type: Text. (joomla) -->
|
||||
<field
|
||||
type="text"
|
||||
name="git_folder_path"
|
||||
label="COM_COMPONENTBUILDER_CONFIG_GIT_FOLDER_PATH_LABEL"
|
||||
size="70"
|
||||
maxlength="150"
|
||||
description="COM_COMPONENTBUILDER_CONFIG_GIT_FOLDER_PATH_DESCRIPTION"
|
||||
class="text_area"
|
||||
readonly="false"
|
||||
disabled="false"
|
||||
required="false"
|
||||
filter="PATH"
|
||||
message="Error! Please add folder path here."
|
||||
hint="COM_COMPONENTBUILDER_CONFIG_GIT_FOLDER_PATH_HINT"
|
||||
/>
|
||||
</fieldset>
|
||||
<fieldset
|
||||
name="permissions"
|
||||
|
@ -10,8 +10,8 @@
|
||||
|_|
|
||||
/-------------------------------------------------------------------------------------------------------------------------------/
|
||||
|
||||
@version 2.0.8
|
||||
@build 30th January, 2016
|
||||
@version 2.1.0
|
||||
@build 18th February, 2016
|
||||
@created 30th April, 2015
|
||||
@package Component Builder
|
||||
@subpackage controller.php
|
||||
|
@ -10,8 +10,8 @@
|
||||
|_|
|
||||
/-------------------------------------------------------------------------------------------------------------------------------/
|
||||
|
||||
@version 2.0.8
|
||||
@build 30th January, 2016
|
||||
@version 2.1.0
|
||||
@build 18th February, 2016
|
||||
@created 30th April, 2015
|
||||
@package Component Builder
|
||||
@subpackage admin_view.php
|
||||
@ -319,7 +319,7 @@ class ComponentbuilderControllerAdmin_view extends JControllerForm
|
||||
*
|
||||
* @since 11.1
|
||||
*/
|
||||
protected function postSaveHook(JModelLegacy &$model, $validData = array())
|
||||
protected function postSaveHook(JModelLegacy $model, $validData = array())
|
||||
{
|
||||
return;
|
||||
}
|
||||
|
@ -10,8 +10,8 @@
|
||||
|_|
|
||||
/-------------------------------------------------------------------------------------------------------------------------------/
|
||||
|
||||
@version 2.0.8
|
||||
@build 30th January, 2016
|
||||
@version 2.1.0
|
||||
@build 18th February, 2016
|
||||
@created 30th April, 2015
|
||||
@package Component Builder
|
||||
@subpackage admin_views.php
|
||||
|
@ -10,8 +10,8 @@
|
||||
|_|
|
||||
/-------------------------------------------------------------------------------------------------------------------------------/
|
||||
|
||||
@version 2.0.8
|
||||
@build 30th January, 2016
|
||||
@version 2.1.0
|
||||
@build 18th February, 2016
|
||||
@created 30th April, 2015
|
||||
@package Component Builder
|
||||
@subpackage ajax.json.php
|
||||
|
@ -10,8 +10,8 @@
|
||||
|_|
|
||||
/-------------------------------------------------------------------------------------------------------------------------------/
|
||||
|
||||
@version 2.0.8
|
||||
@build 30th January, 2016
|
||||
@version 2.1.0
|
||||
@build 18th February, 2016
|
||||
@created 30th April, 2015
|
||||
@package Component Builder
|
||||
@subpackage compiler.php
|
||||
|
@ -10,8 +10,8 @@
|
||||
|_|
|
||||
/-------------------------------------------------------------------------------------------------------------------------------/
|
||||
|
||||
@version 2.0.8
|
||||
@build 30th January, 2016
|
||||
@version 2.1.0
|
||||
@build 18th February, 2016
|
||||
@created 30th April, 2015
|
||||
@package Component Builder
|
||||
@subpackage component.php
|
||||
@ -305,7 +305,7 @@ class ComponentbuilderControllerComponent extends JControllerForm
|
||||
*
|
||||
* @since 11.1
|
||||
*/
|
||||
protected function postSaveHook(JModelLegacy &$model, $validData = array())
|
||||
protected function postSaveHook(JModelLegacy $model, $validData = array())
|
||||
{
|
||||
return;
|
||||
}
|
||||
|
@ -10,8 +10,8 @@
|
||||
|_|
|
||||
/-------------------------------------------------------------------------------------------------------------------------------/
|
||||
|
||||
@version 2.0.8
|
||||
@build 30th January, 2016
|
||||
@version 2.1.0
|
||||
@build 18th February, 2016
|
||||
@created 30th April, 2015
|
||||
@package Component Builder
|
||||
@subpackage componentbuilder.php
|
||||
|
@ -10,8 +10,8 @@
|
||||
|_|
|
||||
/-------------------------------------------------------------------------------------------------------------------------------/
|
||||
|
||||
@version 2.0.8
|
||||
@build 30th January, 2016
|
||||
@version 2.1.0
|
||||
@build 18th February, 2016
|
||||
@created 30th April, 2015
|
||||
@package Component Builder
|
||||
@subpackage components.php
|
||||
|
@ -10,8 +10,8 @@
|
||||
|_|
|
||||
/-------------------------------------------------------------------------------------------------------------------------------/
|
||||
|
||||
@version 2.0.8
|
||||
@build 30th January, 2016
|
||||
@version 2.1.0
|
||||
@build 18th February, 2016
|
||||
@created 30th April, 2015
|
||||
@package Component Builder
|
||||
@subpackage custom_admin_view.php
|
||||
@ -319,7 +319,7 @@ class ComponentbuilderControllerCustom_admin_view extends JControllerForm
|
||||
*
|
||||
* @since 11.1
|
||||
*/
|
||||
protected function postSaveHook(JModelLegacy &$model, $validData = array())
|
||||
protected function postSaveHook(JModelLegacy $model, $validData = array())
|
||||
{
|
||||
return;
|
||||
}
|
||||
|
@ -10,8 +10,8 @@
|
||||
|_|
|
||||
/-------------------------------------------------------------------------------------------------------------------------------/
|
||||
|
||||
@version 2.0.8
|
||||
@build 30th January, 2016
|
||||
@version 2.1.0
|
||||
@build 18th February, 2016
|
||||
@created 30th April, 2015
|
||||
@package Component Builder
|
||||
@subpackage custom_admin_views.php
|
||||
|
@ -10,8 +10,8 @@
|
||||
|_|
|
||||
/-------------------------------------------------------------------------------------------------------------------------------/
|
||||
|
||||
@version 2.0.8
|
||||
@build 30th January, 2016
|
||||
@version 2.1.0
|
||||
@build 18th February, 2016
|
||||
@created 30th April, 2015
|
||||
@package Component Builder
|
||||
@subpackage dynamic_get.php
|
||||
@ -319,7 +319,7 @@ class ComponentbuilderControllerDynamic_get extends JControllerForm
|
||||
*
|
||||
* @since 11.1
|
||||
*/
|
||||
protected function postSaveHook(JModelLegacy &$model, $validData = array())
|
||||
protected function postSaveHook(JModelLegacy $model, $validData = array())
|
||||
{
|
||||
return;
|
||||
}
|
||||
|
@ -10,8 +10,8 @@
|
||||
|_|
|
||||
/-------------------------------------------------------------------------------------------------------------------------------/
|
||||
|
||||
@version 2.0.8
|
||||
@build 30th January, 2016
|
||||
@version 2.1.0
|
||||
@build 18th February, 2016
|
||||
@created 30th April, 2015
|
||||
@package Component Builder
|
||||
@subpackage dynamic_gets.php
|
||||
|
@ -10,8 +10,8 @@
|
||||
|_|
|
||||
/-------------------------------------------------------------------------------------------------------------------------------/
|
||||
|
||||
@version 2.0.8
|
||||
@build 30th January, 2016
|
||||
@version 2.1.0
|
||||
@build 18th February, 2016
|
||||
@created 30th April, 2015
|
||||
@package Component Builder
|
||||
@subpackage field.php
|
||||
@ -349,7 +349,7 @@ class ComponentbuilderControllerField extends JControllerForm
|
||||
*
|
||||
* @since 11.1
|
||||
*/
|
||||
protected function postSaveHook(JModelLegacy &$model, $validData = array())
|
||||
protected function postSaveHook(JModelLegacy $model, $validData = array())
|
||||
{
|
||||
return;
|
||||
}
|
||||
|
@ -10,8 +10,8 @@
|
||||
|_|
|
||||
/-------------------------------------------------------------------------------------------------------------------------------/
|
||||
|
||||
@version 2.0.8
|
||||
@build 30th January, 2016
|
||||
@version 2.1.0
|
||||
@build 18th February, 2016
|
||||
@created 30th April, 2015
|
||||
@package Component Builder
|
||||
@subpackage fields.php
|
||||
|
@ -10,8 +10,8 @@
|
||||
|_|
|
||||
/-------------------------------------------------------------------------------------------------------------------------------/
|
||||
|
||||
@version 2.0.8
|
||||
@build 30th January, 2016
|
||||
@version 2.1.0
|
||||
@build 18th February, 2016
|
||||
@created 30th April, 2015
|
||||
@package Component Builder
|
||||
@subpackage fieldtype.php
|
||||
@ -349,7 +349,7 @@ class ComponentbuilderControllerFieldtype extends JControllerForm
|
||||
*
|
||||
* @since 11.1
|
||||
*/
|
||||
protected function postSaveHook(JModelLegacy &$model, $validData = array())
|
||||
protected function postSaveHook(JModelLegacy $model, $validData = array())
|
||||
{
|
||||
return;
|
||||
}
|
||||
|
@ -10,8 +10,8 @@
|
||||
|_|
|
||||
/-------------------------------------------------------------------------------------------------------------------------------/
|
||||
|
||||
@version 2.0.8
|
||||
@build 30th January, 2016
|
||||
@version 2.1.0
|
||||
@build 18th February, 2016
|
||||
@created 30th April, 2015
|
||||
@package Component Builder
|
||||
@subpackage fieldtypes.php
|
||||
|
@ -10,8 +10,8 @@
|
||||
|_|
|
||||
/-------------------------------------------------------------------------------------------------------------------------------/
|
||||
|
||||
@version 2.0.8
|
||||
@build 30th January, 2016
|
||||
@version 2.1.0
|
||||
@build 18th February, 2016
|
||||
@created 30th April, 2015
|
||||
@package Component Builder
|
||||
@subpackage help.php
|
||||
|
@ -10,8 +10,8 @@
|
||||
|_|
|
||||
/-------------------------------------------------------------------------------------------------------------------------------/
|
||||
|
||||
@version 2.0.8
|
||||
@build 30th January, 2016
|
||||
@version 2.1.0
|
||||
@build 18th February, 2016
|
||||
@created 30th April, 2015
|
||||
@package Component Builder
|
||||
@subpackage help_document.php
|
||||
@ -319,7 +319,7 @@ class ComponentbuilderControllerHelp_document extends JControllerForm
|
||||
*
|
||||
* @since 11.1
|
||||
*/
|
||||
protected function postSaveHook(JModelLegacy &$model, $validData = array())
|
||||
protected function postSaveHook(JModelLegacy $model, $validData = array())
|
||||
{
|
||||
return;
|
||||
}
|
||||
|
@ -10,8 +10,8 @@
|
||||
|_|
|
||||
/-------------------------------------------------------------------------------------------------------------------------------/
|
||||
|
||||
@version 2.0.8
|
||||
@build 30th January, 2016
|
||||
@version 2.1.0
|
||||
@build 18th February, 2016
|
||||
@created 30th April, 2015
|
||||
@package Component Builder
|
||||
@subpackage help_documents.php
|
||||
|
@ -10,8 +10,8 @@
|
||||
|_|
|
||||
/-------------------------------------------------------------------------------------------------------------------------------/
|
||||
|
||||
@version 2.0.8
|
||||
@build 30th January, 2016
|
||||
@version 2.1.0
|
||||
@build 18th February, 2016
|
||||
@created 30th April, 2015
|
||||
@package Component Builder
|
||||
@subpackage import.php
|
||||
|
@ -10,8 +10,8 @@
|
||||
|_|
|
||||
/-------------------------------------------------------------------------------------------------------------------------------/
|
||||
|
||||
@version 2.0.8
|
||||
@build 30th January, 2016
|
||||
@version 2.1.0
|
||||
@build 18th February, 2016
|
||||
@created 30th April, 2015
|
||||
@package Component Builder
|
||||
@subpackage layout.php
|
||||
@ -319,7 +319,7 @@ class ComponentbuilderControllerLayout extends JControllerForm
|
||||
*
|
||||
* @since 11.1
|
||||
*/
|
||||
protected function postSaveHook(JModelLegacy &$model, $validData = array())
|
||||
protected function postSaveHook(JModelLegacy $model, $validData = array())
|
||||
{
|
||||
return;
|
||||
}
|
||||
|
@ -10,8 +10,8 @@
|
||||
|_|
|
||||
/-------------------------------------------------------------------------------------------------------------------------------/
|
||||
|
||||
@version 2.0.8
|
||||
@build 30th January, 2016
|
||||
@version 2.1.0
|
||||
@build 18th February, 2016
|
||||
@created 30th April, 2015
|
||||
@package Component Builder
|
||||
@subpackage layouts.php
|
||||
|
@ -10,8 +10,8 @@
|
||||
|_|
|
||||
/-------------------------------------------------------------------------------------------------------------------------------/
|
||||
|
||||
@version 2.0.8
|
||||
@build 30th January, 2016
|
||||
@version 2.1.0
|
||||
@build 18th February, 2016
|
||||
@created 30th April, 2015
|
||||
@package Component Builder
|
||||
@subpackage site_view.php
|
||||
@ -319,7 +319,7 @@ class ComponentbuilderControllerSite_view extends JControllerForm
|
||||
*
|
||||
* @since 11.1
|
||||
*/
|
||||
protected function postSaveHook(JModelLegacy &$model, $validData = array())
|
||||
protected function postSaveHook(JModelLegacy $model, $validData = array())
|
||||
{
|
||||
return;
|
||||
}
|
||||
|
@ -10,8 +10,8 @@
|
||||
|_|
|
||||
/-------------------------------------------------------------------------------------------------------------------------------/
|
||||
|
||||
@version 2.0.8
|
||||
@build 30th January, 2016
|
||||
@version 2.1.0
|
||||
@build 18th February, 2016
|
||||
@created 30th April, 2015
|
||||
@package Component Builder
|
||||
@subpackage site_views.php
|
||||
|
@ -10,8 +10,8 @@
|
||||
|_|
|
||||
/-------------------------------------------------------------------------------------------------------------------------------/
|
||||
|
||||
@version 2.0.8
|
||||
@build 30th January, 2016
|
||||
@version 2.1.0
|
||||
@build 18th February, 2016
|
||||
@created 30th April, 2015
|
||||
@package Component Builder
|
||||
@subpackage snippet.php
|
||||
@ -319,7 +319,7 @@ class ComponentbuilderControllerSnippet extends JControllerForm
|
||||
*
|
||||
* @since 11.1
|
||||
*/
|
||||
protected function postSaveHook(JModelLegacy &$model, $validData = array())
|
||||
protected function postSaveHook(JModelLegacy $model, $validData = array())
|
||||
{
|
||||
return;
|
||||
}
|
||||
|
@ -10,8 +10,8 @@
|
||||
|_|
|
||||
/-------------------------------------------------------------------------------------------------------------------------------/
|
||||
|
||||
@version 2.0.8
|
||||
@build 30th January, 2016
|
||||
@version 2.1.0
|
||||
@build 18th February, 2016
|
||||
@created 30th April, 2015
|
||||
@package Component Builder
|
||||
@subpackage snippets.php
|
||||
|
@ -10,8 +10,8 @@
|
||||
|_|
|
||||
/-------------------------------------------------------------------------------------------------------------------------------/
|
||||
|
||||
@version 2.0.8
|
||||
@build 30th January, 2016
|
||||
@version 2.1.0
|
||||
@build 18th February, 2016
|
||||
@created 30th April, 2015
|
||||
@package Component Builder
|
||||
@subpackage template.php
|
||||
@ -319,7 +319,7 @@ class ComponentbuilderControllerTemplate extends JControllerForm
|
||||
*
|
||||
* @since 11.1
|
||||
*/
|
||||
protected function postSaveHook(JModelLegacy &$model, $validData = array())
|
||||
protected function postSaveHook(JModelLegacy $model, $validData = array())
|
||||
{
|
||||
return;
|
||||
}
|
||||
|
@ -10,8 +10,8 @@
|
||||
|_|
|
||||
/-------------------------------------------------------------------------------------------------------------------------------/
|
||||
|
||||
@version 2.0.8
|
||||
@build 30th January, 2016
|
||||
@version 2.1.0
|
||||
@build 18th February, 2016
|
||||
@created 30th April, 2015
|
||||
@package Component Builder
|
||||
@subpackage templates.php
|
||||
|
1
admin/custom/importViews/index.html
Normal file
1
admin/custom/importViews/index.html
Normal file
@ -0,0 +1 @@
|
||||
<html><body bgcolor="#FFFFFF"></body></html>
|
1
admin/custom/importViews/tmpl/index.html
Normal file
1
admin/custom/importViews/tmpl/index.html
Normal file
@ -0,0 +1 @@
|
||||
<html><body bgcolor="#FFFFFF"></body></html>
|
@ -132,6 +132,8 @@ class Compiler
|
||||
protected $layoutData = array();
|
||||
protected $getAsLookup = array();
|
||||
protected $otherWhere = array();
|
||||
protected $target;
|
||||
protected $_adminViewData;
|
||||
|
||||
/**
|
||||
* Constructor
|
||||
@ -324,6 +326,11 @@ class Compiler
|
||||
// ###UPDATE_VERSION_MYSQL###
|
||||
$this->setVersionController();
|
||||
|
||||
// build route parse switch
|
||||
$this->fileContentStatic['###ROUTER_PARSE_SWITCH###'] = '';
|
||||
// build route views
|
||||
$this->fileContentStatic['###ROUTER_BUILD_VIEWS###'] = '';
|
||||
|
||||
// setup back-views and all needed stuff for the admin
|
||||
if (isset($this->componentData->admin_views) && ComponentbuilderHelper::checkArray($this->componentData->admin_views))
|
||||
{
|
||||
@ -629,6 +636,13 @@ class Compiler
|
||||
}
|
||||
$this->fileContentStatic['###ROUTEHELPER###'] .= $this->setRouterHelp($viewName_single, $viewName_list);
|
||||
|
||||
if ($view['edit_create_site_view'])
|
||||
{
|
||||
// add needed router stuff for front edit views
|
||||
$this->fileContentStatic['###ROUTER_PARSE_SWITCH###'] .= $this->routerParseSwitch($viewName_single);
|
||||
$this->fileContentStatic['###ROUTER_BUILD_VIEWS###'] .= $this->routerBuildViews($viewName_single);
|
||||
}
|
||||
|
||||
// ###ACCESS_SECTIONS###
|
||||
if (!isset($this->fileContentStatic['###ACCESS_SECTIONS###']))
|
||||
{
|
||||
@ -831,6 +845,15 @@ class Compiler
|
||||
// ###DASHBOARDICONACCESS###
|
||||
$this->fileContentDynamic[$this->fileContentStatic['###component###']]['###DASHBOARDICONACCESS###'] = $this->setDashboardIconAccess();
|
||||
|
||||
// ###DASH_MODEL_METHODS###
|
||||
$this->fileContentDynamic[$this->fileContentStatic['###component###']]['###DASH_MODEL_METHODS###'] = $this->setDashboardModelMethods();
|
||||
|
||||
// ###DASH_GET_CUSTOM_DATA###
|
||||
$this->fileContentDynamic[$this->fileContentStatic['###component###']]['###DASH_GET_CUSTOM_DATA###'] = $this->setDashboardGetCustomData();
|
||||
|
||||
// ###DASH_DISPLAY_DATA###
|
||||
$this->fileContentDynamic[$this->fileContentStatic['###component###']]['###DASH_DISPLAY_DATA###'] = $this->setDashboardDisplayData();
|
||||
|
||||
// add import
|
||||
if (isset($this->addEximport) && $this->addEximport)
|
||||
{
|
||||
@ -892,15 +915,10 @@ class Compiler
|
||||
$this->lang = $keepLang;
|
||||
}
|
||||
|
||||
// build route parse switch
|
||||
$this->fileContentStatic['###ROUTER_PARSE_SWITCH###'] = '';
|
||||
|
||||
// setup front-views and all needed stuff for the site
|
||||
if (isset($this->componentData->site_views) && ComponentbuilderHelper::checkArray($this->componentData->site_views))
|
||||
{
|
||||
$this->target = 'site';
|
||||
// build route views
|
||||
$this->fileContentStatic['###ROUTER_BUILD_VIEWS###'] = '';
|
||||
// var_dump($this->componentData->site_views);exit;
|
||||
// start dynamic build
|
||||
foreach ($this->componentData->site_views as $view)
|
||||
@ -944,7 +962,7 @@ class Compiler
|
||||
// insure the needed route helper is loaded
|
||||
$this->fileContentStatic['###ROUTEHELPER###'] .= $this->setRouterHelp($view['settings']->code,$view['settings']->code, true);
|
||||
// build route details
|
||||
$this->fileContentStatic['###ROUTER_PARSE_SWITCH###'] .= $this->routerParseSwitch($view['settings']->code,1);
|
||||
$this->fileContentStatic['###ROUTER_PARSE_SWITCH###'] .= $this->routerParseSwitch($view['settings']->code);
|
||||
$this->fileContentStatic['###ROUTER_BUILD_VIEWS###'] .= $this->routerBuildViews($view['settings']->code);
|
||||
|
||||
if ($view['settings']->main_get->gettype == 1)
|
||||
@ -1135,7 +1153,7 @@ class Compiler
|
||||
|
||||
protected function setLockLicense()
|
||||
{
|
||||
if ($this->componentData->add_license && $this->componentData->license_type == 2)
|
||||
if ($this->componentData->add_license && $this->componentData->license_type == 3)
|
||||
{
|
||||
$_VDM = '_'.ComponentbuilderHelper::safeString(ComponentbuilderHelper::randomkey(10),'U');
|
||||
// add it to the system
|
||||
@ -1156,7 +1174,7 @@ class Compiler
|
||||
|
||||
protected function setLockLicensePer($view)
|
||||
{
|
||||
if ($this->componentData->add_license && $this->componentData->license_type == 2)
|
||||
if ($this->componentData->add_license && $this->componentData->license_type == 3)
|
||||
{
|
||||
$boolMethod = 'isHonest';
|
||||
$globalbool = ComponentbuilderHelper::safeString(ComponentbuilderHelper::randomkey(4));
|
||||
@ -1283,15 +1301,15 @@ class Compiler
|
||||
$encrypt[] = "\t\t\$session = JFactory::getSession();";
|
||||
$encrypt[] = "\t\t\$V2uekt2wcgwk = \$session->get(\$Vk5smi0wjnjb, null);";
|
||||
$encrypt[] = "\t\t\$h4sgrGsqq = \$this->get(\$Vk5smi0wjnjb,\$V2uekt2wcgwk);";
|
||||
$encrypt[] = "\t\tif (isset(\$h4sgrGsqq['nuut']) && \$h4sgrGsqq['nuut'] && \$h4sgrGsqq['status'] == 'Active' && isset(\$h4sgrGsqq['eiegrendel']) && strlen(\$h4sgrGsqq['eiegrendel']) > 300)";
|
||||
$encrypt[] = "\t\tif (isset(\$h4sgrGsqq['nuut']) && \$h4sgrGsqq['nuut'] && (isset(\$h4sgrGsqq['status']) && 'Active' == \$h4sgrGsqq['status']) && isset(\$h4sgrGsqq['eiegrendel']) && strlen(\$h4sgrGsqq['eiegrendel']) > 300)";
|
||||
$encrypt[] = "\t\t{";
|
||||
$encrypt[] = "\t\t\t\$session->set(\$Vk5smi0wjnjb, \$h4sgrGsqq['eiegrendel']);";
|
||||
$encrypt[] = "\t\t}";
|
||||
$encrypt[] = "\t\tif (\$h4sgrGsqq['status'] == 'Active' && isset(\$h4sgrGsqq['md5hash']) && strlen(\$h4sgrGsqq['md5hash']) == 32 && isset(\$h4sgrGsqq['customfields']) && strlen(\$h4sgrGsqq['customfields']) > 4)";
|
||||
$encrypt[] = "\t\tif ((isset(\$h4sgrGsqq['status']) && 'Active' == \$h4sgrGsqq['status']) && isset(\$h4sgrGsqq['md5hash']) && strlen(\$h4sgrGsqq['md5hash']) == 32 && isset(\$h4sgrGsqq['customfields']) && strlen(\$h4sgrGsqq['customfields']) > 4)";
|
||||
$encrypt[] = "\t\t{";
|
||||
$encrypt[] = "\t\t\t\$this->_key = md5(\$h4sgrGsqq['customfields']);";
|
||||
$encrypt[] = "\t\t}";
|
||||
$encrypt[] = "\t\tif (\$h4sgrGsqq['status'] == 'Active' && isset(\$h4sgrGsqq['md5hash']) && strlen(\$h4sgrGsqq['md5hash']) == 32 )";
|
||||
$encrypt[] = "\t\tif ((isset(\$h4sgrGsqq['status']) && 'Active' == \$h4sgrGsqq['status']) && isset(\$h4sgrGsqq['md5hash']) && strlen(\$h4sgrGsqq['md5hash']) == 32 )";
|
||||
$encrypt[] = "\t\t{";
|
||||
$encrypt[] = "\t\t\t\$this->_is = true;";
|
||||
$encrypt[] = "\t\t}";
|
||||
@ -1398,7 +1416,7 @@ class Compiler
|
||||
$encrypt[] = "\t\t\t\t\treturn \$Vwasqoybpyed;";
|
||||
$encrypt[] = "\t\t\t\t}";
|
||||
$encrypt[] = "\t\t\t} else {";
|
||||
$encrypt[] = "\t\t\t\tpreg_match_all('/<(.*?)>([^<]+)<\/\1>/i', \$Vqojefyeohg5, \$V1ot20wob03f);";
|
||||
$encrypt[] = "\t\t\t\tpreg_match_all('".'/<(.*?)>([^<]+)<\/\\1>/i'."', \$Vqojefyeohg5, \$V1ot20wob03f);";
|
||||
$encrypt[] = "\t\t\t\t\$Vwasqoybpyed = array();";
|
||||
$encrypt[] = "\t\t\t\tforeach (\$V1ot20wob03f[1] AS \$V2sgyscukmgi=>\$V1u00zkzmb1d) {";
|
||||
$encrypt[] = "\t\t\t\t\t\$Vwasqoybpyed[\$V1u00zkzmb1d] = \$V1ot20wob03f[2][\$V2sgyscukmgi];";
|
||||
@ -1571,6 +1589,10 @@ class Compiler
|
||||
$updateXML[] = "\t\t<version>".$update['version']."</version>";
|
||||
$updateXML[] = "\t\t".'<infourl title="'.$this->fileContentStatic['###Component_name###'].'!">'.$this->fileContentStatic['###AUTHORWEBSITE###'].'</infourl>';
|
||||
$updateXML[] = "\t\t<downloads>";
|
||||
if (!isset($update['url']))
|
||||
{
|
||||
$update['url'] = 'http://domain.com/demo.xml';
|
||||
}
|
||||
$updateXML[] = "\t\t\t".'<downloadurl type="full" format="zip">'.$update['url'].'</downloadurl>';
|
||||
$updateXML[] = "\t\t</downloads>";
|
||||
$updateXML[] = "\t\t<tags>";
|
||||
@ -3477,7 +3499,7 @@ class Compiler
|
||||
|
||||
protected function setGetModules($view,$TARGET)
|
||||
{
|
||||
if ($this->getModule[$this->target][$view['settings']->code])
|
||||
if (isset($this->getModule[$this->target][$view['settings']->code]) && $this->getModule[$this->target][$view['settings']->code])
|
||||
{
|
||||
$addModule = array();
|
||||
$addModule[] = "\n\n\t/**";
|
||||
@ -4913,9 +4935,8 @@ class Compiler
|
||||
return $script;
|
||||
}
|
||||
|
||||
protected function setInstallScript()
|
||||
protected function setComponentToContentTypes($action)
|
||||
{
|
||||
// reset script
|
||||
$script = '';
|
||||
if (isset($this->componentData->admin_views) && ComponentbuilderHelper::checkArray($this->componentData->admin_views))
|
||||
{
|
||||
@ -4948,8 +4969,13 @@ class Compiler
|
||||
// build the db insert query
|
||||
if (ComponentbuilderHelper::checkArray($dbStuff))
|
||||
{
|
||||
$taabb = '';
|
||||
if ($action == 'update')
|
||||
{
|
||||
$taabb = "\t";
|
||||
}
|
||||
$script .= "\n\n\t\t\t//".$this->setLine(__LINE__)." Get The Database object";
|
||||
$script .= "\n\n\t\t\t\$db = JFactory::getDbo();";
|
||||
$script .= "\n\t\t\t\$db = JFactory::getDbo();";
|
||||
foreach ($dbStuff as $name => $tables)
|
||||
{
|
||||
if (ComponentbuilderHelper::checkArray($tables))
|
||||
@ -4961,13 +4987,46 @@ class Compiler
|
||||
{
|
||||
$script .= "\n\t\t\t\$".$code."->".$table." = '".$data."';";
|
||||
}
|
||||
$script .= "\n\n\t\t\t//".$this->setLine(__LINE__)." Insert the object into the content types table.";
|
||||
$script .= "\n\t\t\t\$".$code."Inserted = \$db->insertObject('#__content_types', \$".$code.");";
|
||||
if ($action == 'update')
|
||||
{
|
||||
// we first load script to check if data exist
|
||||
$script .= "\n\n\t\t\t//".$this->setLine(__LINE__)." Check if ".$name." type is already in content_type DB.";
|
||||
$script .= "\n\t\t\t\$".$code."_id = null;";
|
||||
$script .= "\n\t\t\t\$query = \$db->getQuery(true);";
|
||||
$script .= "\n\t\t\t\$query->select(\$db->quoteName(array('type_id')));";
|
||||
$script .= "\n\t\t\t\$query->from(\$db->quoteName('#__content_types'));";
|
||||
$script .= "\n\t\t\t\$query->where(\$db->quoteName('type_alias') . ' LIKE '. \$db->quote($".$code."->type_alias));";
|
||||
$script .= "\n\t\t\t\$db->setQuery(\$query);";
|
||||
$script .= "\n\t\t\t\$db->execute();";
|
||||
}
|
||||
$script .= "\n\n\t\t\t//".$this->setLine(__LINE__)." Set the object into the content types table.";
|
||||
if ($action == 'update')
|
||||
{
|
||||
$script .= "\n\t\t\tif (\$db->getNumRows())";
|
||||
$script .= "\n\t\t\t{";
|
||||
$script .= "\n\t\t\t\t\$".$code."->type_id = \$db->loadResult();";
|
||||
$script .= "\n\t\t\t\t\$".$code."_Updated = \$db->updateObject('#__content_types', \$".$code.", 'type_id');";
|
||||
$script .= "\n\t\t\t}";
|
||||
$script .= "\n\t\t\telse";
|
||||
$script .= "\n\t\t\t{";
|
||||
}
|
||||
$script .= "\n\t\t\t".$taabb."\$".$code."_Inserted = \$db->insertObject('#__content_types', \$".$code.");";
|
||||
if ($action == 'update')
|
||||
{
|
||||
$script .= "\n\t\t\t}";
|
||||
}
|
||||
}
|
||||
}
|
||||
$script .= "\n\n";
|
||||
}
|
||||
}
|
||||
return $script;
|
||||
}
|
||||
|
||||
protected function setInstallScript()
|
||||
{
|
||||
// reset script
|
||||
$script = $this->setComponentToContentTypes('install');
|
||||
|
||||
if (isset($this->paramsBuilder) && ComponentbuilderHelper::checkString($this->paramsBuilder))
|
||||
{
|
||||
@ -4997,7 +5056,7 @@ class Compiler
|
||||
if (ComponentbuilderHelper::checkString($script))
|
||||
{
|
||||
$script .= "\n\t\t\t".'echo \'<a target="_blank" href="'.$this->fileContentStatic['###AUTHORWEBSITE###'].'" title="'.$this->fileContentStatic['###Component_name###'].'">';
|
||||
$script .= "\n\t\t\t\t".'<img src="components/com_'.$component.'/assets/images/component-300.jpg"/>';
|
||||
$script .= "\n\t\t\t\t".'<img src="components/com_'.$component.'/assets/images/component-300.'.$this->componentImageType.'"/>';
|
||||
$script .= "\n\t\t\t\t".'</a>\';';
|
||||
|
||||
return $script;
|
||||
@ -5008,11 +5067,11 @@ class Compiler
|
||||
protected function setUpdateScript()
|
||||
{
|
||||
// reset script
|
||||
$script = '';
|
||||
$script = $this->setComponentToContentTypes('update');
|
||||
if (isset($this->componentData->admin_views) && ComponentbuilderHelper::checkArray($this->componentData->admin_views))
|
||||
{
|
||||
$script .= "\n\t\t\t".'echo \'<a target="_blank" href="'.$this->fileContentStatic['###AUTHORWEBSITE###'].'" title="'.$this->fileContentStatic['###Component_name###'].'">';
|
||||
$script .= "\n\t\t\t\t".'<img src="components/com_'.$this->fileContentStatic['###component###'].'/assets/images/component-300.jpg"/>';
|
||||
$script .= "\n\t\t\t\t".'<img src="components/com_'.$this->fileContentStatic['###component###'].'/assets/images/component-300.'.$this->componentImageType.'"/>';
|
||||
$script .= "\n\t\t\t\t".'</a>';
|
||||
$script .= "\n\t\t\t\t<h3>Upgrade to Version ".$this->fileContentStatic['###VERSION###']." Was Successful! Let us know if anything is not working as expected.</h3>';";
|
||||
}
|
||||
@ -5993,7 +6052,7 @@ class Compiler
|
||||
$this->langContent['admin'][$this->langPrefix.'_KEEP_ORIGINAL_STATE'] = "- Keep Original State -";
|
||||
$this->langContent['admin'][$this->langPrefix.'_KEEP_ORIGINAL_ACCESS'] = "- Keep Original Access -";
|
||||
$this->langContent['admin'][$this->langPrefix.'_KEEP_ORIGINAL_CATEGORY'] = "- Keep Original Category -";
|
||||
if ($this->componentData->add_license && $this->componentData->license_type == 2)
|
||||
if ($this->componentData->add_license && $this->componentData->license_type == 3)
|
||||
{
|
||||
$this->langContent['admin']['NIE_REG_NIE'] = "<br /><br /><center><h1>Lincense not set for ".$this->componentData->name.".</h1><p>Notify your administrator!<br />The lincense can be obtained from ".$this->componentData->companyname.".</p></center>";
|
||||
}
|
||||
@ -6615,6 +6674,13 @@ class Compiler
|
||||
// set the linked view tabs
|
||||
$linkedTab = array();
|
||||
$keys = array();
|
||||
// setup correct core target
|
||||
$coreLoad = false;
|
||||
if (isset($this->permissionCore[$viewName_single]))
|
||||
{
|
||||
$core = $this->permissionCore[$viewName_single];
|
||||
$coreLoad = true;
|
||||
}
|
||||
if (isset($this->linkedAdminViews[$viewName_single]) && ComponentbuilderHelper::checkArray($this->linkedAdminViews[$viewName_single]))
|
||||
{
|
||||
foreach ($this->linkedAdminViews[$viewName_single] as $linkedView)
|
||||
@ -6761,6 +6827,8 @@ class Compiler
|
||||
{
|
||||
// set layout code name
|
||||
$layoutCodeName = $tabCodeName.'_fullwidth';
|
||||
// set identifiers
|
||||
$linkedViewIdentifier[$linkedViewId] = $tabCodeName;
|
||||
//set function name
|
||||
$codeName = ComponentbuilderHelper::safeString(ComponentbuilderHelper::randomkey(3).$tabCodeName);
|
||||
// set as items layout
|
||||
@ -6856,8 +6924,40 @@ class Compiler
|
||||
{
|
||||
$body .= "\n\n\t<?php echo JHtml::_('bootstrap.startTabSet', '".$viewName_single."Tab', array('active' => '".$tabCodeName."')); ?>";
|
||||
}
|
||||
// if this is a linked view set permissions
|
||||
$closeIT = false;
|
||||
if(in_array($tabCodeName,$linkedViewIdentifier))
|
||||
{
|
||||
// get view name
|
||||
$linkedViewId = array_search($tabCodeName,$linkedViewIdentifier);
|
||||
$linkedViewData = $this->getAdminViewData($linkedViewId);
|
||||
$linkedCodeName = ComponentbuilderHelper::safeString($linkedViewData->name_single);
|
||||
// setup correct core target
|
||||
$coreLoadLinked = false;
|
||||
if (isset($this->permissionCore[$linkedCodeName]))
|
||||
{
|
||||
$coreLinked = $this->permissionCore[$linkedCodeName];
|
||||
$coreLoadLinked = true;
|
||||
}
|
||||
// check if the item has permissions.
|
||||
if ($coreLoadLinked && isset($coreLinked['core.access']) && isset($this->permissionBuilder['global'][$coreLinked['core.access']]) && ComponentbuilderHelper::checkArray($this->permissionBuilder['global'][$coreLinked['core.access']]) && in_array($linkedCodeName,$this->permissionBuilder['global'][$coreLinked['core.access']]))
|
||||
{
|
||||
$body .= "\n\n\t<?php if (\$this->canDo->get('".$coreLinked['core.access']."')) : ?>";
|
||||
$closeIT = true;
|
||||
}
|
||||
else
|
||||
{
|
||||
$body .= "\n";
|
||||
}
|
||||
// insure clear
|
||||
unset($coreLoadLinked,$coreLinked,$linkedViewData);
|
||||
}
|
||||
else
|
||||
{
|
||||
$body .= "\n";
|
||||
}
|
||||
// start tab
|
||||
$body .= "\n\n\t<?php echo JHtml::_('bootstrap.addTab', '".$viewName_single."Tab', '".$tabCodeName."', JText::_('".$tabLangName."', true)); ?>";
|
||||
$body .= "\n\t<?php echo JHtml::_('bootstrap.addTab', '".$viewName_single."Tab', '".$tabCodeName."', JText::_('".$tabLangName."', true)); ?>";
|
||||
// add the main
|
||||
$body .= "\n\t\t".'<div class="row-fluid form-horizontal-desktop">';
|
||||
$body .= $main;
|
||||
@ -6870,6 +6970,10 @@ class Compiler
|
||||
$body .= "\n\t\t</div>";
|
||||
}
|
||||
$body .= "\n\t<?php echo JHtml::_('bootstrap.endTab'); ?>";
|
||||
if($closeIT)
|
||||
{
|
||||
$body .= "\n\t<?php endif; ?>";
|
||||
}
|
||||
// set counter
|
||||
$tabCounter++;
|
||||
}
|
||||
@ -6913,8 +7017,25 @@ class Compiler
|
||||
$this->setLayout($viewName_single, $tabCodeNameLeft, $items_one, 'layoutpublished');
|
||||
$this->setLayout($viewName_single, $tabCodeNameRight, $items_two, 'layoutpublished');
|
||||
}
|
||||
// check if the item has permissions.
|
||||
$publishingPer = array();
|
||||
$allToBeChekced = array('core.delete','core.edit.created_by','core.edit.state','core.edit.created');
|
||||
foreach ($allToBeChekced as $core_permission)
|
||||
{
|
||||
if ($coreLoad && isset($core[$core_permission]) && isset($this->permissionBuilder['global'][$core[$core_permission]]) && ComponentbuilderHelper::checkArray($this->permissionBuilder['global'][$core[$core_permission]]) && in_array($viewName_single,$this->permissionBuilder['global'][$core[$core_permission]]))
|
||||
{
|
||||
// set permissions.
|
||||
$publishingPer[] = "\$this->canDo->get('".$core[$core_permission]."')";
|
||||
}
|
||||
else
|
||||
{
|
||||
// set permissions.
|
||||
$publishingPer[] = "\$this->canDo->get('".$core_permission."')";
|
||||
}
|
||||
}
|
||||
$body .= "\n\n\t<?php if (".implode(' || ', $publishingPer).") : ?>";
|
||||
// set the default publishing tab
|
||||
$body .= "\n\n\t<?php echo JHtml::_('bootstrap.addTab', '".$viewName_single."Tab', '".$tabCodeNameLeft."', JText::_('".$tabLangName."', true)); ?>";
|
||||
$body .= "\n\t<?php echo JHtml::_('bootstrap.addTab', '".$viewName_single."Tab', '".$tabCodeNameLeft."', JText::_('".$tabLangName."', true)); ?>";
|
||||
$body .= "\n\t\t".'<div class="row-fluid form-horizontal-desktop">';
|
||||
$body .= "\n\t\t\t".'<div class="span6">';
|
||||
$body .= "\n\t\t\t\t<?php echo JLayoutHelper::render('".$viewName_single.".".$tabCodeNameLeft."', \$this); ?>";
|
||||
@ -6924,6 +7045,7 @@ class Compiler
|
||||
$body .= "\n\t\t\t</div>";
|
||||
$body .= "\n\t\t</div>";
|
||||
$body .= "\n\t<?php echo JHtml::_('bootstrap.endTab'); ?>";
|
||||
$body .= "\n\t<?php endif; ?>";
|
||||
// make sure we dont load it to a view with the name component
|
||||
if ($viewName_single != 'component')
|
||||
{
|
||||
@ -12737,9 +12859,12 @@ class Compiler
|
||||
$imagePath = $this->componentPath.'/admin/assets/images';
|
||||
// move the image to its place
|
||||
JFile::copy(JPATH_SITE.'/'.$path, $imagePath.'/component-300.'.$type,'',true);
|
||||
// now set the type to global for re-use
|
||||
$this->componentImageType = $type;
|
||||
// return image type
|
||||
return $type;
|
||||
}
|
||||
$this->componentImageType = 'jpg';
|
||||
return 'jpg';
|
||||
}
|
||||
|
||||
@ -12753,6 +12878,7 @@ class Compiler
|
||||
return '';
|
||||
|
||||
}
|
||||
|
||||
protected function setDashboardIcons()
|
||||
{
|
||||
if (isset($this->componentData->admin_views) && ComponentbuilderHelper::checkArray($this->componentData->admin_views))
|
||||
@ -12912,6 +13038,62 @@ class Compiler
|
||||
return false;
|
||||
}
|
||||
|
||||
protected function setDashboardModelMethods()
|
||||
{
|
||||
if (0)
|
||||
{
|
||||
// methods array reset
|
||||
$methods = array();
|
||||
// set dashboard methods
|
||||
|
||||
// return the methods
|
||||
return "\n\t".implode("\n\t",$methods);
|
||||
}
|
||||
return '';
|
||||
}
|
||||
|
||||
protected function setDashboardGetCustomData()
|
||||
{
|
||||
if (0)
|
||||
{
|
||||
// gets array reset
|
||||
$gets = array();
|
||||
// set dashboard gets
|
||||
|
||||
// return the gets
|
||||
return "\n\t\t".implode("\n\t\t",$gets);
|
||||
}
|
||||
return '';
|
||||
}
|
||||
|
||||
protected function setDashboardDisplayData()
|
||||
{
|
||||
// display array reset
|
||||
$display = array();
|
||||
// set dashboard display
|
||||
$display[] = '<div id="j-main-container" class="span9">';
|
||||
$display[] = "<?php echo JHtml::_('bootstrap.startAccordion', 'dashboard_left', array('active' => 'main')); ?>";
|
||||
|
||||
$display[] = "\n<?php echo JHtml::_('bootstrap.addSlide', 'dashboard_left', 'cPanel', 'main'); ?>";
|
||||
$display[] = "<?php echo \$this->loadTemplate('main');?>";
|
||||
$display[] = "<?php echo JHtml::_('bootstrap.endSlide'); ?>";
|
||||
|
||||
$display[] = "\n<?php echo JHtml::_('bootstrap.endAccordion'); ?>";
|
||||
$display[] = "</div>";
|
||||
$display[] = '<div id="j-main-container" class="span3">';
|
||||
$display[] = "<?php echo JHtml::_('bootstrap.startAccordion', 'dashboard_right', array('active' => 'vdm')); ?>";
|
||||
|
||||
$display[] = "\n<?php echo JHtml::_('bootstrap.addSlide', 'dashboard_right', '".$this->fileContentStatic['###COMPANYNAME###']."', 'vdm'); ?>";
|
||||
$display[] = "<?php echo \$this->loadTemplate('vdm');?>";
|
||||
$display[] = "<?php echo JHtml::_('bootstrap.endSlide'); ?>";
|
||||
|
||||
$display[] = "\n<?php echo JHtml::_('bootstrap.endAccordion'); ?>";
|
||||
$display[] = "</div>";
|
||||
|
||||
// return the display
|
||||
return "\n".implode("\n",$display);
|
||||
}
|
||||
|
||||
protected function addCustomDashboardIcons(&$view,&$counter)
|
||||
{
|
||||
// see if we should have custom menus
|
||||
@ -13473,19 +13655,19 @@ class Compiler
|
||||
$this->configFieldSets[] = "\t\t".'label="'.$lang.'_GLOBAL_LABEL"';
|
||||
$this->configFieldSets[] = "\t\t".'description="'.$lang.'_GLOBAL_DESC">';
|
||||
// set application update License Key
|
||||
if ($this->componentData->add_license)
|
||||
if ($this->componentData->add_license && 1 != $this->componentData->license_type)
|
||||
{
|
||||
// set licence type switch
|
||||
switch ($this->componentData->license_type)
|
||||
{
|
||||
case 1:
|
||||
case 2:
|
||||
// for updates
|
||||
$this->langContent[$this->lang][$lang.'_LICENSE_KEY_NOTE_LABEL']= "Your License Key";
|
||||
$this->langContent[$this->lang][$lang.'_LICENSE_KEY_NOTE_DESC'] = "To get updates you must add the license key here that you recieved from ".$this->componentData->companyname;
|
||||
// set the field
|
||||
$this->configFieldSets[] = "\t\t".'<field type="note" name="license_key_note" class="alert alert-info" label="'.$lang.'_LICENSE_KEY_NOTE_LABEL" description="'.$lang.'_LICENSE_KEY_NOTE_DESC" />';
|
||||
break;
|
||||
case 2:
|
||||
case 3:
|
||||
// with vdm to lock down ownership
|
||||
$this->langContent[$this->lang][$lang.'_LICENSE_KEY_NOTE_LABEL']= "Your License Key";
|
||||
$this->langContent[$this->lang][$lang.'_LICENSE_KEY_NOTE_DESC'] = "To use this component you must add the license key here that you recieved from ".$this->componentData->companyname;
|
||||
@ -14211,10 +14393,10 @@ for developing fast and powerful web interfaces. For more info visit <a href=\"h
|
||||
if (isset($this->advancedEncryption) && $this->advancedEncryption)
|
||||
{
|
||||
// set field lang
|
||||
$this->langContent[$this->lang][$lang.'_VDM_KEY_LABEL'] = "VDM Key <small>(advanced encryption)</small>";
|
||||
$this->langContent[$this->lang][$lang.'_VDM_KEY_DESC'] = "Add the VDM public key here.";
|
||||
$this->langContent[$this->lang][$lang.'_VDM_KEY_LABEL'] = "Advanced Key <small>(advanced encryption)</small>";
|
||||
$this->langContent[$this->lang][$lang.'_VDM_KEY_DESC'] = "Add the advanced key here.";
|
||||
$this->langContent[$this->lang][$lang.'_VDM_KEY_NOTE_LABEL'] = "Advanced Encryption";
|
||||
$this->langContent[$this->lang][$lang.'_VDM_KEY_NOTE_DESC'] = "When using the advanced encryption you need to get a VDM public key from https://www.vdm.io/encryption/<br />Never change this public key once it is set! <b>DATA WILL GET CORRUPTED IF YOU DO!</b>";
|
||||
$this->langContent[$this->lang][$lang.'_VDM_KEY_NOTE_DESC'] = "When using the advanced encryption you need to get an advanced key from ".$this->componentData->companyname.".<br />Never change this advanced key once it is set! <b>DATA WILL GET CORRUPTED IF YOU DO!</b>";
|
||||
// set the field
|
||||
$this->configFieldSets[] = "\t\t".'<field type="note" name="vdm_key_note" class="alert alert-info" label="'.$lang.'_VDM_KEY_NOTE_LABEL" description="'.$lang.'_VDM_KEY_NOTE_DESC" />';
|
||||
$this->configFieldSets[] = "\t\t".'<field name="advanced_key"';
|
||||
@ -15608,6 +15790,7 @@ for developing fast and powerful web interfaces. For more info visit <a href=\"h
|
||||
{
|
||||
$id_array[] = trim($ids);
|
||||
}
|
||||
$id_array_new = array();
|
||||
// check for ranges
|
||||
foreach ($id_array as $key => $id)
|
||||
{
|
||||
@ -15619,10 +15802,14 @@ for developing fast and powerful web interfaces. For more info visit <a href=\"h
|
||||
if (count($id_range) == 2)
|
||||
{
|
||||
$range = range($id_range[0],$id_range[1]);
|
||||
$id_array = array_merge($id_array,$range);
|
||||
$id_array_new = array_merge($id_array_new,$range);
|
||||
}
|
||||
}
|
||||
}
|
||||
if (ComponentbuilderHelper::checkArray($id_array_new))
|
||||
{
|
||||
$id_array = array_merge($id_array_new, $id_array);
|
||||
}
|
||||
// final fixing to array
|
||||
if (ComponentbuilderHelper::checkArray($id_array))
|
||||
{
|
||||
@ -15646,6 +15833,8 @@ for developing fast and powerful web interfaces. For more info visit <a href=\"h
|
||||
}
|
||||
|
||||
protected function getAdminViewData($id)
|
||||
{
|
||||
if (!isset($this->_adminViewData[$id]))
|
||||
{
|
||||
// Get a db connection.
|
||||
$db = JFactory::getDbo();
|
||||
@ -15968,8 +16157,10 @@ for developing fast and powerful web interfaces. For more info visit <a href=\"h
|
||||
unset($view->sql);
|
||||
}
|
||||
}
|
||||
$this->_adminViewData[$id] = $view;
|
||||
}
|
||||
// return the found view data
|
||||
return $view;
|
||||
return $this->_adminViewData[$id];
|
||||
}
|
||||
|
||||
protected function uniqueCode($code)
|
||||
|
@ -10,8 +10,8 @@
|
||||
|_|
|
||||
/-------------------------------------------------------------------------------------------------------------------------------/
|
||||
|
||||
@version 2.0.8
|
||||
@build 30th January, 2016
|
||||
@version 2.1.0
|
||||
@build 18th February, 2016
|
||||
@created 30th April, 2015
|
||||
@package Component Builder
|
||||
@subpackage componentbuilder.php
|
||||
@ -780,7 +780,7 @@ abstract class ComponentbuilderHelper
|
||||
foreach ($actions as $action)
|
||||
{
|
||||
// set to use component default
|
||||
$allow = true;
|
||||
$fallback= true;
|
||||
if (self::checkObject($record) && isset($record->id) && $record->id > 0 && !in_array($action->name,$componentActions))
|
||||
{
|
||||
// The record has been set. Check the record permissions.
|
||||
@ -796,13 +796,13 @@ abstract class ComponentbuilderHelper
|
||||
{
|
||||
$result->set($action->name, true);
|
||||
// set not to use component default
|
||||
$allow = false;
|
||||
$fallback= false;
|
||||
}
|
||||
else
|
||||
{
|
||||
$result->set($action->name, false);
|
||||
// set not to use component default
|
||||
$allow = false;
|
||||
$fallback= false;
|
||||
}
|
||||
}
|
||||
elseif ($user->authorise($view.'edit.own', 'com_componentbuilder.'.$view.'.' . (int) $record->id))
|
||||
@ -812,13 +812,13 @@ abstract class ComponentbuilderHelper
|
||||
{
|
||||
$result->set($action->name, true);
|
||||
// set not to use component default
|
||||
$allow = false;
|
||||
$fallback= false;
|
||||
}
|
||||
else
|
||||
{
|
||||
$result->set($action->name, false);
|
||||
// set not to use component default
|
||||
$allow = false;
|
||||
$fallback= false;
|
||||
}
|
||||
}
|
||||
elseif ($user->authorise('core.edit.own', 'com_componentbuilder'))
|
||||
@ -828,13 +828,13 @@ abstract class ComponentbuilderHelper
|
||||
{
|
||||
$result->set($action->name, true);
|
||||
// set not to use component default
|
||||
$allow = false;
|
||||
$fallback= false;
|
||||
}
|
||||
else
|
||||
{
|
||||
$result->set($action->name, false);
|
||||
// set not to use component default
|
||||
$allow = false;
|
||||
$fallback= false;
|
||||
}
|
||||
}
|
||||
elseif ($user->authorise($view.'edit.own', 'com_componentbuilder'))
|
||||
@ -844,13 +844,13 @@ abstract class ComponentbuilderHelper
|
||||
{
|
||||
$result->set($action->name, true);
|
||||
// set not to use component default
|
||||
$allow = false;
|
||||
$fallback= false;
|
||||
}
|
||||
else
|
||||
{
|
||||
$result->set($action->name, false);
|
||||
// set not to use component default
|
||||
$allow = false;
|
||||
$fallback= false;
|
||||
}
|
||||
}
|
||||
}
|
||||
@ -880,13 +880,13 @@ abstract class ComponentbuilderHelper
|
||||
{
|
||||
$result->set($action->name, true);
|
||||
// set not to use component default
|
||||
$allow = false;
|
||||
$fallback= false;
|
||||
}
|
||||
else
|
||||
{
|
||||
$result->set($action->name, false);
|
||||
// set not to use component default
|
||||
$allow = false;
|
||||
$fallback= false;
|
||||
}
|
||||
}
|
||||
elseif ($user->authorise($view.'edit.own', 'com_componentbuilder.'.$views.'.category.' . (int) $record->catid))
|
||||
@ -896,13 +896,13 @@ abstract class ComponentbuilderHelper
|
||||
{
|
||||
$result->set($action->name, true);
|
||||
// set not to use component default
|
||||
$allow = false;
|
||||
$fallback= false;
|
||||
}
|
||||
else
|
||||
{
|
||||
$result->set($action->name, false);
|
||||
// set not to use component default
|
||||
$allow = false;
|
||||
$fallback= false;
|
||||
}
|
||||
}
|
||||
elseif ($user->authorise('core.edit.own', 'com_componentbuilder'))
|
||||
@ -912,13 +912,13 @@ abstract class ComponentbuilderHelper
|
||||
{
|
||||
$result->set($action->name, true);
|
||||
// set not to use component default
|
||||
$allow = false;
|
||||
$fallback= false;
|
||||
}
|
||||
else
|
||||
{
|
||||
$result->set($action->name, false);
|
||||
// set not to use component default
|
||||
$allow = false;
|
||||
$fallback= false;
|
||||
}
|
||||
}
|
||||
elseif ($user->authorise($view.'edit.own', 'com_componentbuilder'))
|
||||
@ -928,13 +928,13 @@ abstract class ComponentbuilderHelper
|
||||
{
|
||||
$result->set($action->name, true);
|
||||
// set not to use component default
|
||||
$allow = false;
|
||||
$fallback= false;
|
||||
}
|
||||
else
|
||||
{
|
||||
$result->set($action->name, false);
|
||||
// set not to use component default
|
||||
$allow = false;
|
||||
$fallback= false;
|
||||
}
|
||||
}
|
||||
}
|
||||
@ -942,7 +942,7 @@ abstract class ComponentbuilderHelper
|
||||
}
|
||||
}
|
||||
// if allowed then fallback on component global settings
|
||||
if ($allow)
|
||||
if ($fallback)
|
||||
{
|
||||
$result->set($action->name, $user->authorise($action->name, 'com_componentbuilder'));
|
||||
}
|
||||
|
@ -10,8 +10,8 @@
|
||||
|_|
|
||||
/-------------------------------------------------------------------------------------------------------------------------------/
|
||||
|
||||
@version 2.0.8
|
||||
@build 30th January, 2016
|
||||
@version 2.1.0
|
||||
@build 18th February, 2016
|
||||
@created 30th April, 2015
|
||||
@package Component Builder
|
||||
@subpackage batch_.php
|
||||
|
@ -10,8 +10,8 @@
|
||||
|_|
|
||||
/-------------------------------------------------------------------------------------------------------------------------------/
|
||||
|
||||
@version 2.0.8
|
||||
@build 30th January, 2016
|
||||
@version 2.1.0
|
||||
@build 18th February, 2016
|
||||
@created 30th April, 2015
|
||||
@package Component Builder
|
||||
@subpackage indenter.php
|
||||
|
@ -10,8 +10,8 @@
|
||||
|_|
|
||||
/-------------------------------------------------------------------------------------------------------------------------------/
|
||||
|
||||
@version 2.0.8
|
||||
@build 30th January, 2016
|
||||
@version 2.1.0
|
||||
@build 18th February, 2016
|
||||
@created 30th April, 2015
|
||||
@package Component Builder
|
||||
@subpackage js.php
|
||||
|
@ -10,8 +10,8 @@
|
||||
|_|
|
||||
/-------------------------------------------------------------------------------------------------------------------------------/
|
||||
|
||||
@version 2.0.8
|
||||
@build 30th January, 2016
|
||||
@version 2.1.0
|
||||
@build 18th February, 2016
|
||||
@created 30th April, 2015
|
||||
@package Component Builder
|
||||
@subpackage minify.php
|
||||
|
@ -438,6 +438,8 @@ COM_COMPONENTBUILDER_COMPONENT_ADD_CSS_LABEL="Add CSS"
|
||||
COM_COMPONENTBUILDER_COMPONENT_ADD_LICENSE="Add License"
|
||||
COM_COMPONENTBUILDER_COMPONENT_ADD_LICENSE_DESCRIPTION="Add the option to use a license in the component."
|
||||
COM_COMPONENTBUILDER_COMPONENT_ADD_LICENSE_LABEL="Add License (whmcs)"
|
||||
COM_COMPONENTBUILDER_COMPONENT_ADD_PHP_DASHBOARD_METHODS="Add Php Dashboard Methods"
|
||||
COM_COMPONENTBUILDER_COMPONENT_ADD_PHP_DASHBOARD_METHODS_LABEL="Add PHP (dashboard Methods)"
|
||||
COM_COMPONENTBUILDER_COMPONENT_ADD_PHP_HELPER_ADMIN="Add Php Helper Admin"
|
||||
COM_COMPONENTBUILDER_COMPONENT_ADD_PHP_HELPER_ADMIN_LABEL="Add PHP (helper_admin Class)"
|
||||
COM_COMPONENTBUILDER_COMPONENT_ADD_PHP_HELPER_SITE="Add Php Helper Site"
|
||||
@ -446,7 +448,7 @@ COM_COMPONENTBUILDER_COMPONENT_ADD_SITE_EVENT="Add Site Event"
|
||||
COM_COMPONENTBUILDER_COMPONENT_ADD_SITE_EVENT_LABEL="Add Global Site Event"
|
||||
COM_COMPONENTBUILDER_COMPONENT_ADD_SQL="Add Sql"
|
||||
COM_COMPONENTBUILDER_COMPONENT_ADD_SQL_DESCRIPTION="if set in view"
|
||||
COM_COMPONENTBUILDER_COMPONENT_ADD_SQL_LABEL="Add MySQL"
|
||||
COM_COMPONENTBUILDER_COMPONENT_ADD_SQL_LABEL="Add MySQL (to view table)"
|
||||
COM_COMPONENTBUILDER_COMPONENT_ADD_SQL_OPTIONS_DESCRIPTION="if being added"
|
||||
COM_COMPONENTBUILDER_COMPONENT_ADD_SQL_OPTIONS_LABEL="Options"
|
||||
COM_COMPONENTBUILDER_COMPONENT_ADMINVIEW="Adminview"
|
||||
@ -456,6 +458,7 @@ COM_COMPONENTBUILDER_COMPONENT_ADMINVIEWS_LABEL="Views"
|
||||
COM_COMPONENTBUILDER_COMPONENT_ADMINVIEW_DESCRIPTION="Select an admin view"
|
||||
COM_COMPONENTBUILDER_COMPONENT_ADMINVIEW_LABEL="View"
|
||||
COM_COMPONENTBUILDER_COMPONENT_ADMIN_VIEWS="Admin Views"
|
||||
COM_COMPONENTBUILDER_COMPONENT_ADVANCED_ENCRYPTION_ONLY_TO_LOCK_DATA="Advanced encryption (only to lock data)"
|
||||
COM_COMPONENTBUILDER_COMPONENT_ALL="All"
|
||||
COM_COMPONENTBUILDER_COMPONENT_ARCHIVE="Archive"
|
||||
COM_COMPONENTBUILDER_COMPONENT_ARROW_DOWN="Arrow Down"
|
||||
@ -562,6 +565,8 @@ COM_COMPONENTBUILDER_COMPONENT_DASHBOARD_ADD_DESCRIPTION="Select if the view sho
|
||||
COM_COMPONENTBUILDER_COMPONENT_DASHBOARD_ADD_LABEL="Dashboard (add record)"
|
||||
COM_COMPONENTBUILDER_COMPONENT_DASHBOARD_LIST_DESCRIPTION="Select if the view should show on the dashboard."
|
||||
COM_COMPONENTBUILDER_COMPONENT_DASHBOARD_LIST_LABEL="Dashboard (list of records)"
|
||||
COM_COMPONENTBUILDER_COMPONENT_DASHBOARD_TAB="Dashboard Tab"
|
||||
COM_COMPONENTBUILDER_COMPONENT_DASHBOARD_TAB_SELECT="Add"
|
||||
COM_COMPONENTBUILDER_COMPONENT_DATABASE="Database"
|
||||
COM_COMPONENTBUILDER_COMPONENT_DEBUG_LINENR="Debug Linenr"
|
||||
COM_COMPONENTBUILDER_COMPONENT_DEBUG_LINENR_DESCRIPTION="Add corresponding line numbers, so to see where in the compiler the line of code was build."
|
||||
@ -579,9 +584,9 @@ COM_COMPONENTBUILDER_COMPONENT_EDIT="Editing the Component"
|
||||
COM_COMPONENTBUILDER_COMPONENT_EDIT_CREATE_SITE_VIEW_DESCRIPTION="add site edit & create view for this admin view"
|
||||
COM_COMPONENTBUILDER_COMPONENT_EDIT_CREATE_SITE_VIEW_LABEL="Edit/Create Site View"
|
||||
COM_COMPONENTBUILDER_COMPONENT_EMAIL="Email"
|
||||
COM_COMPONENTBUILDER_COMPONENT_EMAIL_DESCRIPTION="Enter Author Email"
|
||||
COM_COMPONENTBUILDER_COMPONENT_EMAIL_HINT="Author Email Here"
|
||||
COM_COMPONENTBUILDER_COMPONENT_EMAIL_LABEL="Author Email"
|
||||
COM_COMPONENTBUILDER_COMPONENT_EMAIL_DESCRIPTION="Enter Email"
|
||||
COM_COMPONENTBUILDER_COMPONENT_EMAIL_HINT="demo@example.com"
|
||||
COM_COMPONENTBUILDER_COMPONENT_EMAIL_LABEL="Email"
|
||||
COM_COMPONENTBUILDER_COMPONENT_EMPTYCONTRIBUTORS="Emptycontributors"
|
||||
COM_COMPONENTBUILDER_COMPONENT_EMPTYCONTRIBUTORS_DESCRIPTION="Set if a list of empty contributor fields should be added."
|
||||
COM_COMPONENTBUILDER_COMPONENT_EMPTYCONTRIBUTORS_LABEL="Empty Contributor Fields"
|
||||
@ -630,6 +635,9 @@ COM_COMPONENTBUILDER_COMPONENT_FRONT="Front"
|
||||
COM_COMPONENTBUILDER_COMPONENT_GENERIC="Generic"
|
||||
COM_COMPONENTBUILDER_COMPONENT_GRID="Grid"
|
||||
COM_COMPONENTBUILDER_COMPONENT_GRID_TWO="Grid 2"
|
||||
COM_COMPONENTBUILDER_COMPONENT_HEADER_DESCRIPTION="Enter Header Here"
|
||||
COM_COMPONENTBUILDER_COMPONENT_HEADER_HINT="Header Here"
|
||||
COM_COMPONENTBUILDER_COMPONENT_HEADER_LABEL="Header"
|
||||
COM_COMPONENTBUILDER_COMPONENT_HEALTH="Health"
|
||||
COM_COMPONENTBUILDER_COMPONENT_HEART="Heart"
|
||||
COM_COMPONENTBUILDER_COMPONENT_HEART_TWO="Heart 2"
|
||||
@ -637,6 +645,8 @@ COM_COMPONENTBUILDER_COMPONENT_HISTORY_DESCRIPTION="Select if the items of this
|
||||
COM_COMPONENTBUILDER_COMPONENT_HISTORY_LABEL="Keep History"
|
||||
COM_COMPONENTBUILDER_COMPONENT_HOME="Home"
|
||||
COM_COMPONENTBUILDER_COMPONENT_HOME_TWO="Home 2"
|
||||
COM_COMPONENTBUILDER_COMPONENT_HTML_HINT="// Add the tab HTML here. To access php values <?php echo $this->methodname->value; ?>"
|
||||
COM_COMPONENTBUILDER_COMPONENT_HTML_LABEL="HTML"
|
||||
COM_COMPONENTBUILDER_COMPONENT_ICOMOON_DESCRIPTION="Joomla Standard Icomoon Fonts"
|
||||
COM_COMPONENTBUILDER_COMPONENT_ICOMOON_LABEL="Icon"
|
||||
COM_COMPONENTBUILDER_COMPONENT_ICON_DESCRIPTION="Add the icon to the image folder and select it here (128 x 128px)"
|
||||
@ -662,7 +672,7 @@ COM_COMPONENTBUILDER_COMPONENT_LICENSE_HINT="Add License Here"
|
||||
COM_COMPONENTBUILDER_COMPONENT_LICENSE_LABEL="License"
|
||||
COM_COMPONENTBUILDER_COMPONENT_LICENSE_TYPE="License Type"
|
||||
COM_COMPONENTBUILDER_COMPONENT_LICENSE_TYPE_DESCRIPTION="How should the license be implemented."
|
||||
COM_COMPONENTBUILDER_COMPONENT_LICENSE_TYPE_LABEL="License Implementation"
|
||||
COM_COMPONENTBUILDER_COMPONENT_LICENSE_TYPE_LABEL="Implementation"
|
||||
COM_COMPONENTBUILDER_COMPONENT_LINK="Link"
|
||||
COM_COMPONENTBUILDER_COMPONENT_LINK_DESCRIPTION="Enter menu link"
|
||||
COM_COMPONENTBUILDER_COMPONENT_LINK_HINT="Menu Link Here"
|
||||
@ -795,6 +805,10 @@ COM_COMPONENTBUILDER_COMPONENT_PHP_ADMIN_EVENT="Php Admin Event"
|
||||
COM_COMPONENTBUILDER_COMPONENT_PHP_ADMIN_EVENT_DESCRIPTION="PHP script for the global helper admin event method."
|
||||
COM_COMPONENTBUILDER_COMPONENT_PHP_ADMIN_EVENT_HINT="// add custom PHP script to the global helper admin event method."
|
||||
COM_COMPONENTBUILDER_COMPONENT_PHP_ADMIN_EVENT_LABEL="Global Helper Admin Event"
|
||||
COM_COMPONENTBUILDER_COMPONENT_PHP_DASHBOARD_METHODS="Php Dashboard Methods"
|
||||
COM_COMPONENTBUILDER_COMPONENT_PHP_DASHBOARD_METHODS_DESCRIPTION="PHP methods to place in the dashboard model."
|
||||
COM_COMPONENTBUILDER_COMPONENT_PHP_DASHBOARD_METHODS_HINT="// add custom PHP methods to dashboard model. Use the [public function getMethodname()] to insure the data is set to the view, note the convention [public function get...()] replace the .... with the unique method name."
|
||||
COM_COMPONENTBUILDER_COMPONENT_PHP_DASHBOARD_METHODS_LABEL="PHP Dashboard Methods"
|
||||
COM_COMPONENTBUILDER_COMPONENT_PHP_HELPER_ADMIN="Php Helper Admin"
|
||||
COM_COMPONENTBUILDER_COMPONENT_PHP_HELPER_ADMIN_DESCRIPTION="Add your PHP here! [Do not add the php tags]"
|
||||
COM_COMPONENTBUILDER_COMPONENT_PHP_HELPER_ADMIN_HINT="// The PHP abstract Methods to add to the component helper class. Only Methods! as it will directly be add as methods to the helper class!"
|
||||
@ -928,7 +942,7 @@ COM_COMPONENTBUILDER_COMPONENT_WARNING_CIRCLE="Warning Circle"
|
||||
COM_COMPONENTBUILDER_COMPONENT_WEBSITE="Website"
|
||||
COM_COMPONENTBUILDER_COMPONENT_WEBSITE_DESCRIPTION="Enter website address"
|
||||
COM_COMPONENTBUILDER_COMPONENT_WEBSITE_HINT="http://www.example.com"
|
||||
COM_COMPONENTBUILDER_COMPONENT_WEBSITE_LABEL="Author Website"
|
||||
COM_COMPONENTBUILDER_COMPONENT_WEBSITE_LABEL="Website"
|
||||
COM_COMPONENTBUILDER_COMPONENT_WHMCS_KEY="Whmcs Key"
|
||||
COM_COMPONENTBUILDER_COMPONENT_WHMCS_KEY_DESCRIPTION="Add your WHMCS Secret Key here that is needed for this license"
|
||||
COM_COMPONENTBUILDER_COMPONENT_WHMCS_KEY_HINT="Secret Key"
|
||||
@ -1001,9 +1015,6 @@ COM_COMPONENTBUILDER_CONFIG_ENCRYPTION_LABEL="Encryption Settings"
|
||||
COM_COMPONENTBUILDER_CONFIG_FLAT_LOAD="Flat"
|
||||
COM_COMPONENTBUILDER_CONFIG_FOLDER_PATHS="Folder Paths"
|
||||
COM_COMPONENTBUILDER_CONFIG_FORCE_LOAD="Force"
|
||||
COM_COMPONENTBUILDER_CONFIG_GIT_FOLDER_PATH_DESCRIPTION="Here you can set the path to the git folder."
|
||||
COM_COMPONENTBUILDER_CONFIG_GIT_FOLDER_PATH_HINT="/home/user/git"
|
||||
COM_COMPONENTBUILDER_CONFIG_GIT_FOLDER_PATH_LABEL="Git Folder Path"
|
||||
COM_COMPONENTBUILDER_CONFIG_GLOBAL_DESC="The Global Parameters"
|
||||
COM_COMPONENTBUILDER_CONFIG_GLOBAL_LABEL="Global"
|
||||
COM_COMPONENTBUILDER_CONFIG_GRADIANT_LOAD="Gradient"
|
||||
@ -1016,8 +1027,6 @@ COM_COMPONENTBUILDER_CONFIG_NOTE_COMPILER_FOLDER_PATH_DESCRIPTION="The compiler
|
||||
COM_COMPONENTBUILDER_CONFIG_NOTE_COMPILER_FOLDER_PATH_LABEL="Moving The Compiler Folder"
|
||||
COM_COMPONENTBUILDER_CONFIG_NOTE_CUSTOM_FOLDER_PATH_DESCRIPTION="The custom folder is where all files and folders that you would like to include in your components are stored, the default location is [administrator/components/com_componentbuilder/custom]. You can move this folder by adding your own path here. Remember to move the content of the default custom folder to this new location."
|
||||
COM_COMPONENTBUILDER_CONFIG_NOTE_CUSTOM_FOLDER_PATH_LABEL="Moving The Custom Folder"
|
||||
COM_COMPONENTBUILDER_CONFIG_NOTE_GIT_FOLDER_PATH_DESCRIPTION="You must set the folder where all the components should be deployed for git. You will have to still do your git commit and other git commands yourself. Each component will create their own folder inside this git folder."
|
||||
COM_COMPONENTBUILDER_CONFIG_NOTE_GIT_FOLDER_PATH_LABEL="Adding git to your compiler method"
|
||||
COM_COMPONENTBUILDER_CONFIG_ONLY_EXTRA="Only Extra"
|
||||
COM_COMPONENTBUILDER_CONFIG_UIKIT_DESC="<b>The Parameters for the uikit are set here.</b><br />Uikit is a lightweight and modular front-end framework
|
||||
for developing fast and powerful web interfaces. For more info visit <a href="http://getuikit.com/" >http://getuikit.com/</a>"
|
||||
@ -1881,7 +1890,7 @@ COM_COMPONENTBUILDER_FIELD_ADD_JAVASCRIPT_VIEWS_FOOTER="Add Javascript Views Foo
|
||||
COM_COMPONENTBUILDER_FIELD_ADD_JAVASCRIPT_VIEWS_FOOTER_LABEL="Add JavaScript (views-footer)"
|
||||
COM_COMPONENTBUILDER_FIELD_ADD_JAVASCRIPT_VIEW_FOOTER="Add Javascript View Footer"
|
||||
COM_COMPONENTBUILDER_FIELD_ADD_JAVASCRIPT_VIEW_FOOTER_LABEL="Add JavaScript (view-footer)"
|
||||
COM_COMPONENTBUILDER_FIELD_ADVANCE_ENCRYPTION_VDMKEY="Advance Encryption (VDM-key)"
|
||||
COM_COMPONENTBUILDER_FIELD_ADVANCE_ENCRYPTION_WHMCSKEY="Advance Encryption (WHMCS-key)"
|
||||
COM_COMPONENTBUILDER_FIELD_BASESIXTY_FOUR="base64"
|
||||
COM_COMPONENTBUILDER_FIELD_BASIC_ENCRYPTION_LOCALKEY="Basic Encryption (local-key)"
|
||||
COM_COMPONENTBUILDER_FIELD_BIGINT="BIGINT"
|
||||
|
@ -10,8 +10,8 @@
|
||||
|_|
|
||||
/-------------------------------------------------------------------------------------------------------------------------------/
|
||||
|
||||
@version 2.0.8
|
||||
@build 30th January, 2016
|
||||
@version 2.1.0
|
||||
@build 18th February, 2016
|
||||
@created 30th April, 2015
|
||||
@package Component Builder
|
||||
@subpackage css_fullwidth.php
|
||||
|
@ -10,8 +10,8 @@
|
||||
|_|
|
||||
/-------------------------------------------------------------------------------------------------------------------------------/
|
||||
|
||||
@version 2.0.8
|
||||
@build 30th January, 2016
|
||||
@version 2.1.0
|
||||
@build 18th February, 2016
|
||||
@created 30th April, 2015
|
||||
@package Component Builder
|
||||
@subpackage fields_fullwidth.php
|
||||
@ -29,7 +29,7 @@
|
||||
defined('_JEXEC') or die('Restricted access');
|
||||
|
||||
// set the defaults
|
||||
$items = $displayData->jswfields;
|
||||
$items = $displayData->wyzfields;
|
||||
$user = JFactory::getUser();
|
||||
$id = $displayData->item->id;
|
||||
$edit = "index.php?option=com_componentbuilder&view=fields&task=field.edit";
|
||||
|
@ -10,8 +10,8 @@
|
||||
|_|
|
||||
/-------------------------------------------------------------------------------------------------------------------------------/
|
||||
|
||||
@version 2.0.8
|
||||
@build 30th January, 2016
|
||||
@version 2.1.0
|
||||
@build 18th February, 2016
|
||||
@created 30th April, 2015
|
||||
@package Component Builder
|
||||
@subpackage javascript_fullwidth.php
|
||||
|
@ -10,8 +10,8 @@
|
||||
|_|
|
||||
/-------------------------------------------------------------------------------------------------------------------------------/
|
||||
|
||||
@version 2.0.8
|
||||
@build 30th January, 2016
|
||||
@version 2.1.0
|
||||
@build 18th February, 2016
|
||||
@created 30th April, 2015
|
||||
@package Component Builder
|
||||
@subpackage mysql_fullwidth.php
|
||||
|
@ -10,8 +10,8 @@
|
||||
|_|
|
||||
/-------------------------------------------------------------------------------------------------------------------------------/
|
||||
|
||||
@version 2.0.8
|
||||
@build 30th January, 2016
|
||||
@version 2.1.0
|
||||
@build 18th February, 2016
|
||||
@created 30th April, 2015
|
||||
@package Component Builder
|
||||
@subpackage mysql_left.php
|
||||
|
@ -10,8 +10,8 @@
|
||||
|_|
|
||||
/-------------------------------------------------------------------------------------------------------------------------------/
|
||||
|
||||
@version 2.0.8
|
||||
@build 30th January, 2016
|
||||
@version 2.1.0
|
||||
@build 18th February, 2016
|
||||
@created 30th April, 2015
|
||||
@package Component Builder
|
||||
@subpackage php_fullwidth.php
|
||||
|
@ -10,8 +10,8 @@
|
||||
|_|
|
||||
/-------------------------------------------------------------------------------------------------------------------------------/
|
||||
|
||||
@version 2.0.8
|
||||
@build 30th January, 2016
|
||||
@version 2.1.0
|
||||
@build 18th February, 2016
|
||||
@created 30th April, 2015
|
||||
@package Component Builder
|
||||
@subpackage publishing.php
|
||||
|
@ -10,8 +10,8 @@
|
||||
|_|
|
||||
/-------------------------------------------------------------------------------------------------------------------------------/
|
||||
|
||||
@version 2.0.8
|
||||
@build 30th January, 2016
|
||||
@version 2.1.0
|
||||
@build 18th February, 2016
|
||||
@created 30th April, 2015
|
||||
@package Component Builder
|
||||
@subpackage publlshing.php
|
||||
|
@ -10,8 +10,8 @@
|
||||
|_|
|
||||
/-------------------------------------------------------------------------------------------------------------------------------/
|
||||
|
||||
@version 2.0.8
|
||||
@build 30th January, 2016
|
||||
@version 2.1.0
|
||||
@build 18th February, 2016
|
||||
@created 30th April, 2015
|
||||
@package Component Builder
|
||||
@subpackage settings_above.php
|
||||
|
@ -10,8 +10,8 @@
|
||||
|_|
|
||||
/-------------------------------------------------------------------------------------------------------------------------------/
|
||||
|
||||
@version 2.0.8
|
||||
@build 30th January, 2016
|
||||
@version 2.1.0
|
||||
@build 18th February, 2016
|
||||
@created 30th April, 2015
|
||||
@package Component Builder
|
||||
@subpackage settings_left.php
|
||||
|
@ -10,8 +10,8 @@
|
||||
|_|
|
||||
/-------------------------------------------------------------------------------------------------------------------------------/
|
||||
|
||||
@version 2.0.8
|
||||
@build 30th January, 2016
|
||||
@version 2.1.0
|
||||
@build 18th February, 2016
|
||||
@created 30th April, 2015
|
||||
@package Component Builder
|
||||
@subpackage settings_right.php
|
||||
|
@ -10,8 +10,8 @@
|
||||
|_|
|
||||
/-------------------------------------------------------------------------------------------------------------------------------/
|
||||
|
||||
@version 2.0.8
|
||||
@build 30th January, 2016
|
||||
@version 2.1.0
|
||||
@build 18th February, 2016
|
||||
@created 30th April, 2015
|
||||
@package Component Builder
|
||||
@subpackage settings_under.php
|
||||
|
@ -10,8 +10,8 @@
|
||||
|_|
|
||||
/-------------------------------------------------------------------------------------------------------------------------------/
|
||||
|
||||
@version 2.0.8
|
||||
@build 30th January, 2016
|
||||
@version 2.1.0
|
||||
@build 18th February, 2016
|
||||
@created 30th April, 2015
|
||||
@package Component Builder
|
||||
@subpackage batchselection.php
|
||||
|
@ -10,8 +10,8 @@
|
||||
|_|
|
||||
/-------------------------------------------------------------------------------------------------------------------------------/
|
||||
|
||||
@version 2.0.8
|
||||
@build 30th January, 2016
|
||||
@version 2.1.0
|
||||
@build 18th February, 2016
|
||||
@created 30th April, 2015
|
||||
@package Component Builder
|
||||
@subpackage admin_views_fullwidth.php
|
||||
@ -29,7 +29,7 @@
|
||||
defined('_JEXEC') or die('Restricted access');
|
||||
|
||||
// set the defaults
|
||||
$items = $displayData->mdyadmin_views;
|
||||
$items = $displayData->xnyadmin_views;
|
||||
$user = JFactory::getUser();
|
||||
$id = $displayData->item->id;
|
||||
$edit = "index.php?option=com_componentbuilder&view=admin_views&task=admin_view.edit";
|
||||
|
@ -10,8 +10,8 @@
|
||||
|_|
|
||||
/-------------------------------------------------------------------------------------------------------------------------------/
|
||||
|
||||
@version 2.0.8
|
||||
@build 30th January, 2016
|
||||
@version 2.1.0
|
||||
@build 18th February, 2016
|
||||
@created 30th April, 2015
|
||||
@package Component Builder
|
||||
@subpackage details_above.php
|
||||
|
@ -10,8 +10,8 @@
|
||||
|_|
|
||||
/-------------------------------------------------------------------------------------------------------------------------------/
|
||||
|
||||
@version 2.0.8
|
||||
@build 30th January, 2016
|
||||
@version 2.1.0
|
||||
@build 18th February, 2016
|
||||
@created 30th April, 2015
|
||||
@package Component Builder
|
||||
@subpackage details_left.php
|
||||
|
@ -10,8 +10,8 @@
|
||||
|_|
|
||||
/-------------------------------------------------------------------------------------------------------------------------------/
|
||||
|
||||
@version 2.0.8
|
||||
@build 30th January, 2016
|
||||
@version 2.1.0
|
||||
@build 18th February, 2016
|
||||
@created 30th April, 2015
|
||||
@package Component Builder
|
||||
@subpackage details_right.php
|
||||
|
@ -10,8 +10,8 @@
|
||||
|_|
|
||||
/-------------------------------------------------------------------------------------------------------------------------------/
|
||||
|
||||
@version 2.0.8
|
||||
@build 30th January, 2016
|
||||
@version 2.1.0
|
||||
@build 18th February, 2016
|
||||
@created 30th April, 2015
|
||||
@package Component Builder
|
||||
@subpackage details_under.php
|
||||
|
@ -10,8 +10,8 @@
|
||||
|_|
|
||||
/-------------------------------------------------------------------------------------------------------------------------------/
|
||||
|
||||
@version 2.0.8
|
||||
@build 30th January, 2016
|
||||
@version 2.1.0
|
||||
@build 18th February, 2016
|
||||
@created 30th April, 2015
|
||||
@package Component Builder
|
||||
@subpackage publishing.php
|
||||
|
@ -10,8 +10,8 @@
|
||||
|_|
|
||||
/-------------------------------------------------------------------------------------------------------------------------------/
|
||||
|
||||
@version 2.0.8
|
||||
@build 30th January, 2016
|
||||
@version 2.1.0
|
||||
@build 18th February, 2016
|
||||
@created 30th April, 2015
|
||||
@package Component Builder
|
||||
@subpackage publlshing.php
|
||||
|
@ -10,8 +10,8 @@
|
||||
|_|
|
||||
/-------------------------------------------------------------------------------------------------------------------------------/
|
||||
|
||||
@version 2.0.8
|
||||
@build 30th January, 2016
|
||||
@version 2.1.0
|
||||
@build 18th February, 2016
|
||||
@created 30th April, 2015
|
||||
@package Component Builder
|
||||
@subpackage readme_left.php
|
||||
|
@ -10,8 +10,8 @@
|
||||
|_|
|
||||
/-------------------------------------------------------------------------------------------------------------------------------/
|
||||
|
||||
@version 2.0.8
|
||||
@build 30th January, 2016
|
||||
@version 2.1.0
|
||||
@build 18th February, 2016
|
||||
@created 30th April, 2015
|
||||
@package Component Builder
|
||||
@subpackage readme_right.php
|
||||
|
@ -10,8 +10,8 @@
|
||||
|_|
|
||||
/-------------------------------------------------------------------------------------------------------------------------------/
|
||||
|
||||
@version 2.0.8
|
||||
@build 30th January, 2016
|
||||
@version 2.1.0
|
||||
@build 18th February, 2016
|
||||
@created 30th April, 2015
|
||||
@package Component Builder
|
||||
@subpackage scripts_fullwidth.php
|
||||
@ -45,7 +45,10 @@ $fields = $displayData->get('fields') ?: array(
|
||||
'add_site_event',
|
||||
'php_site_event',
|
||||
'add_sql',
|
||||
'sql'
|
||||
'sql',
|
||||
'add_php_dashboard_methods',
|
||||
'php_dashboard_methods',
|
||||
'dashboard_tab'
|
||||
);
|
||||
|
||||
?>
|
||||
|
@ -10,8 +10,8 @@
|
||||
|_|
|
||||
/-------------------------------------------------------------------------------------------------------------------------------/
|
||||
|
||||
@version 2.0.8
|
||||
@build 30th January, 2016
|
||||
@version 2.1.0
|
||||
@build 18th February, 2016
|
||||
@created 30th April, 2015
|
||||
@package Component Builder
|
||||
@subpackage settings_left.php
|
||||
|
@ -10,8 +10,8 @@
|
||||
|_|
|
||||
/-------------------------------------------------------------------------------------------------------------------------------/
|
||||
|
||||
@version 2.0.8
|
||||
@build 30th January, 2016
|
||||
@version 2.1.0
|
||||
@build 18th February, 2016
|
||||
@created 30th April, 2015
|
||||
@package Component Builder
|
||||
@subpackage settings_right.php
|
||||
@ -35,10 +35,10 @@ $fields = $displayData->get('fields') ?: array(
|
||||
'addcontributors',
|
||||
'emptycontributors',
|
||||
'number',
|
||||
'spacer_hr_b',
|
||||
'spacer_hr_a',
|
||||
'note_add_files',
|
||||
'addfiles',
|
||||
'spacer_hr_a',
|
||||
'spacer_hr_b',
|
||||
'note_add_folders',
|
||||
'addfolders'
|
||||
);
|
||||
|
@ -10,8 +10,8 @@
|
||||
|_|
|
||||
/-------------------------------------------------------------------------------------------------------------------------------/
|
||||
|
||||
@version 2.0.8
|
||||
@build 30th January, 2016
|
||||
@version 2.1.0
|
||||
@build 18th February, 2016
|
||||
@created 30th April, 2015
|
||||
@package Component Builder
|
||||
@subpackage site_views_fullwidth.php
|
||||
@ -29,7 +29,7 @@
|
||||
defined('_JEXEC') or die('Restricted access');
|
||||
|
||||
// set the defaults
|
||||
$items = $displayData->ibusite_views;
|
||||
$items = $displayData->njksite_views;
|
||||
$user = JFactory::getUser();
|
||||
$id = $displayData->item->id;
|
||||
$edit = "index.php?option=com_componentbuilder&view=site_views&task=site_view.edit";
|
||||
|
@ -10,8 +10,8 @@
|
||||
|_|
|
||||
/-------------------------------------------------------------------------------------------------------------------------------/
|
||||
|
||||
@version 2.0.8
|
||||
@build 30th January, 2016
|
||||
@version 2.1.0
|
||||
@build 18th February, 2016
|
||||
@created 30th April, 2015
|
||||
@package Component Builder
|
||||
@subpackage custom_buttons_fullwidth.php
|
||||
|
@ -10,8 +10,8 @@
|
||||
|_|
|
||||
/-------------------------------------------------------------------------------------------------------------------------------/
|
||||
|
||||
@version 2.0.8
|
||||
@build 30th January, 2016
|
||||
@version 2.1.0
|
||||
@build 18th February, 2016
|
||||
@created 30th April, 2015
|
||||
@package Component Builder
|
||||
@subpackage custom_buttons_left.php
|
||||
|
Some files were not shown because too many files have changed in this diff Show More
Reference in New Issue
Block a user