Bug fixes, error on compilation when using view date & version was fixed, headercheck file missing was fixed. Added swithces to controle custom import placeholders and if view version and date should be used

This commit is contained in:
Llewellyn van der Merwe 2017-02-02 13:54:07 +02:00
parent 1a79b92b07
commit 655708cfa3
No known key found for this signature in database
GPG Key ID: CAD7B16D27AF28C5
211 changed files with 1401 additions and 895 deletions

View File

@ -104,13 +104,13 @@ Component Builder is mapped as a component in itself on my local development env
+ *Author*: [Llewellyn van der Merwe](mailto:info@vdm.io) + *Author*: [Llewellyn van der Merwe](mailto:info@vdm.io)
+ *Name*: [Component Builder](http://vdm.bz/component-builder) + *Name*: [Component Builder](http://vdm.bz/component-builder)
+ *First Build*: 30th April, 2015 + *First Build*: 30th April, 2015
+ *Last Build*: 1st February, 2017 + *Last Build*: 2nd February, 2017
+ *Version*: 2.2.9 + *Version*: 2.2.9
+ *Copyright*: Copyright (C) 2015. All Rights Reserved + *Copyright*: Copyright (C) 2015. All Rights Reserved
+ *License*: GNU/GPL Version 2 or later - http://www.gnu.org/licenses/gpl-2.0.html + *License*: GNU/GPL Version 2 or later - http://www.gnu.org/licenses/gpl-2.0.html
+ *Line count*: **90719** + *Line count*: **91088**
+ *File count*: **583** + *File count*: **587**
+ *Folder count*: **104** + *Folder count*: **105**
> This **component** was build with a Joomla [Automated Component Builder](http://vdm.bz/component-builder). > This **component** was build with a Joomla [Automated Component Builder](http://vdm.bz/component-builder).
> Developed by [Llewellyn van der Merwe](mailto:joomla@vdm.io) > Developed by [Llewellyn van der Merwe](mailto:joomla@vdm.io)

View File

@ -104,13 +104,13 @@ Component Builder is mapped as a component in itself on my local development env
+ *Author*: [Llewellyn van der Merwe](mailto:info@vdm.io) + *Author*: [Llewellyn van der Merwe](mailto:info@vdm.io)
+ *Name*: [Component Builder](http://vdm.bz/component-builder) + *Name*: [Component Builder](http://vdm.bz/component-builder)
+ *First Build*: 30th April, 2015 + *First Build*: 30th April, 2015
+ *Last Build*: 1st February, 2017 + *Last Build*: 2nd February, 2017
+ *Version*: 2.2.9 + *Version*: 2.2.9
+ *Copyright*: Copyright (C) 2015. All Rights Reserved + *Copyright*: Copyright (C) 2015. All Rights Reserved
+ *License*: GNU/GPL Version 2 or later - http://www.gnu.org/licenses/gpl-2.0.html + *License*: GNU/GPL Version 2 or later - http://www.gnu.org/licenses/gpl-2.0.html
+ *Line count*: **90719** + *Line count*: **91088**
+ *File count*: **583** + *File count*: **587**
+ *Folder count*: **104** + *Folder count*: **105**
> This **component** was build with a Joomla [Automated Component Builder](http://vdm.bz/component-builder). > This **component** was build with a Joomla [Automated Component Builder](http://vdm.bz/component-builder).
> Developed by [Llewellyn van der Merwe](mailto:joomla@vdm.io) > Developed by [Llewellyn van der Merwe](mailto:joomla@vdm.io)

View File

@ -23,6 +23,10 @@
<action name="admin_view.export" title="COM_COMPONENTBUILDER_ADMIN_VIEWS_EXPORT" description="COM_COMPONENTBUILDER_ADMIN_VIEWS_EXPORT_DESC" /> <action name="admin_view.export" title="COM_COMPONENTBUILDER_ADMIN_VIEWS_EXPORT" description="COM_COMPONENTBUILDER_ADMIN_VIEWS_EXPORT_DESC" />
<action name="admin_view.import" title="COM_COMPONENTBUILDER_ADMIN_VIEWS_IMPORT" description="COM_COMPONENTBUILDER_ADMIN_VIEWS_IMPORT_DESC" /> <action name="admin_view.import" title="COM_COMPONENTBUILDER_ADMIN_VIEWS_IMPORT" description="COM_COMPONENTBUILDER_ADMIN_VIEWS_IMPORT_DESC" />
<action name="admin_view.submenu" title="COM_COMPONENTBUILDER_ADMIN_VIEWS_SUBMENU" description="COM_COMPONENTBUILDER_ADMIN_VIEWS_SUBMENU_DESC" /> <action name="admin_view.submenu" title="COM_COMPONENTBUILDER_ADMIN_VIEWS_SUBMENU" description="COM_COMPONENTBUILDER_ADMIN_VIEWS_SUBMENU_DESC" />
<action name="compiler.access" title="COM_COMPONENTBUILDER_COMPILER_ACCESS" description="COM_COMPONENTBUILDER_COMPILER_ACCESS_DESC" />
<action name="compiler.clear_tmp" title="COM_COMPONENTBUILDER_COMPILER_CLEAR_TMP_BUTTON_ACCESS" description="COM_COMPONENTBUILDER_COMPILER_CLEAR_TMP_BUTTON_ACCESS_DESC" />
<action name="compiler.dashboard_list" title="COM_COMPONENTBUILDER_COMPILER_DASHBOARD_LIST" description="COM_COMPONENTBUILDER_COMPILER_DASHBOARD_LIST_DESC" />
<action name="compiler.submenu" title="COM_COMPONENTBUILDER_COMPILER_SUBMENU" description="COM_COMPONENTBUILDER_COMPILER_SUBMENU_DESC" />
<action name="custom_admin_view.access" title="COM_COMPONENTBUILDER_CUSTOM_ADMIN_VIEWS_ACCESS" description="COM_COMPONENTBUILDER_CUSTOM_ADMIN_VIEWS_ACCESS_DESC" /> <action name="custom_admin_view.access" title="COM_COMPONENTBUILDER_CUSTOM_ADMIN_VIEWS_ACCESS" description="COM_COMPONENTBUILDER_CUSTOM_ADMIN_VIEWS_ACCESS_DESC" />
<action name="custom_admin_view.batch" title="COM_COMPONENTBUILDER_CUSTOM_ADMIN_VIEWS_BATCH_USE" description="COM_COMPONENTBUILDER_CUSTOM_ADMIN_VIEWS_BATCH_USE_DESC" /> <action name="custom_admin_view.batch" title="COM_COMPONENTBUILDER_CUSTOM_ADMIN_VIEWS_BATCH_USE" description="COM_COMPONENTBUILDER_CUSTOM_ADMIN_VIEWS_BATCH_USE_DESC" />
<action name="custom_admin_view.dashboard_add" title="COM_COMPONENTBUILDER_CUSTOM_ADMIN_VIEWS_DASHBOARD_ADD" description="COM_COMPONENTBUILDER_CUSTOM_ADMIN_VIEWS_DASHBOARD_ADD_DESC" /> <action name="custom_admin_view.dashboard_add" title="COM_COMPONENTBUILDER_CUSTOM_ADMIN_VIEWS_DASHBOARD_ADD" description="COM_COMPONENTBUILDER_CUSTOM_ADMIN_VIEWS_DASHBOARD_ADD_DESC" />

View File

@ -10,7 +10,7 @@
/-------------------------------------------------------------------------------------------------------------------------------/ /-------------------------------------------------------------------------------------------------------------------------------/
@version 2.2.9 @version 2.2.9
@build 1st February, 2017 @build 2nd February, 2017
@created 30th April, 2015 @created 30th April, 2015
@package Component Builder @package Component Builder
@subpackage admin.css @subpackage admin.css

View File

@ -0,0 +1,27 @@
/*--------------------------------------------------------------------------------------------------------| www.vdm.io |------/
__ __ _ _____ _ _ __ __ _ _ _
\ \ / / | | | __ \ | | | | | \/ | | | | | | |
\ \ / /_ _ ___| |_ | | | | _____ _____| | ___ _ __ _ __ ___ ___ _ __ | |_ | \ / | ___| |_| |__ ___ __| |
\ \/ / _` / __| __| | | | |/ _ \ \ / / _ \ |/ _ \| '_ \| '_ ` _ \ / _ \ '_ \| __| | |\/| |/ _ \ __| '_ \ / _ \ / _` |
\ / (_| \__ \ |_ | |__| | __/\ V / __/ | (_) | |_) | | | | | | __/ | | | |_ | | | | __/ |_| | | | (_) | (_| |
\/ \__,_|___/\__| |_____/ \___| \_/ \___|_|\___/| .__/|_| |_| |_|\___|_| |_|\__| |_| |_|\___|\__|_| |_|\___/ \__,_|
| |
|_|
/-------------------------------------------------------------------------------------------------------------------------------/
@version @update number 11 of this MVC
@build 2nd February, 2017
@created 1st February, 2017
@package Component Builder
@subpackage compiler.css
@author Llewellyn van der Merwe <http://vdm.bz/component-builder>
@copyright Copyright (C) 2015. All Rights Reserved
@license GNU/GPL Version 2 or later - http://www.gnu.org/licenses/gpl-2.0.html
Builds Complex Joomla Components
/-----------------------------------------------------------------------------------------------------------------------------*/
/* CSS Document */

View File

@ -9,8 +9,8 @@
|_| |_|
/-------------------------------------------------------------------------------------------------------------------------------/ /-------------------------------------------------------------------------------------------------------------------------------/
@version @update number 77 of this MVC @version @update number 80 of this MVC
@build 26th December, 2016 @build 2nd February, 2017
@created 6th May, 2015 @created 6th May, 2015
@package Component Builder @package Component Builder
@subpackage component.css @subpackage component.css

View File

@ -9,8 +9,8 @@
|_| |_|
/-------------------------------------------------------------------------------------------------------------------------------/ /-------------------------------------------------------------------------------------------------------------------------------/
@version @update number 77 of this MVC @version @update number 80 of this MVC
@build 26th December, 2016 @build 2nd February, 2017
@created 6th May, 2015 @created 6th May, 2015
@package Component Builder @package Component Builder
@subpackage components.css @subpackage components.css

View File

@ -10,7 +10,7 @@
/-------------------------------------------------------------------------------------------------------------------------------/ /-------------------------------------------------------------------------------------------------------------------------------/
@version 2.2.9 @version 2.2.9
@build 1st February, 2017 @build 2nd February, 2017
@created 30th April, 2015 @created 30th April, 2015
@package Component Builder @package Component Builder
@subpackage dashboard.css @subpackage dashboard.css

View File

@ -0,0 +1,88 @@
<?php
/*--------------------------------------------------------------------------------------------------------| www.vdm.io |------/
__ __ _ _____ _ _ __ __ _ _ _
\ \ / / | | | __ \ | | | | | \/ | | | | | | |
\ \ / /_ _ ___| |_ | | | | _____ _____| | ___ _ __ _ __ ___ ___ _ __ | |_ | \ / | ___| |_| |__ ___ __| |
\ \/ / _` / __| __| | | | |/ _ \ \ / / _ \ |/ _ \| '_ \| '_ ` _ \ / _ \ '_ \| __| | |\/| |/ _ \ __| '_ \ / _ \ / _` |
\ / (_| \__ \ |_ | |__| | __/\ V / __/ | (_) | |_) | | | | | | __/ | | | |_ | | | | __/ |_| | | | (_) | (_| |
\/ \__,_|___/\__| |_____/ \___| \_/ \___|_|\___/| .__/|_| |_| |_|\___|_| |_|\__| |_| |_|\___|\__|_| |_|\___/ \__,_|
| |
|_|
/-------------------------------------------------------------------------------------------------------------------------------/
@package Component Builder
@subpackage componentbuilder.php
@author Llewellyn van der Merwe <https://www.vdm.io/joomla-component-builder>
@my wife Roline van der Merwe <http://www.vdm.io/>
@copyright Copyright (C) 2015. All Rights Reserved
@license GNU/GPL Version 2 or later - http://www.gnu.org/licenses/gpl-2.0.html
Builds Complex Joomla Components
/-----------------------------------------------------------------------------------------------------------------------------*/
// No direct access to this file
defined('_JEXEC') or die('Restricted access');
?>
###BOM###
// No direct access to this file
defined('_JEXEC') or die('Restricted access');
class HeaderCheck
{
function js_loaded($script_name)
{
// UIkit check point
if (strpos($script_name,'uikit') !== false)
{
$app = JFactory::getApplication();
$getTemplateName = $app->getTemplate('template')->template;
if (strpos($getTemplateName,'yoo') !== false)
{
return true;
}
}
$document = JFactory::getDocument();
$head_data = $document->getHeadData();
foreach (array_keys($head_data['scripts']) as $script)
{
if (stristr($script, $script_name))
{
return true;
}
}
return false;
}
function css_loaded($script_name)
{
// UIkit check point
if (strpos($script_name,'uikit') !== false)
{
$app = JFactory::getApplication();
$getTemplateName = $app->getTemplate('template')->template;
if (strpos($getTemplateName,'yoo') !== false)
{
return true;
}
}
$document = JFactory::getDocument();
$head_data = $document->getHeadData();
foreach (array_keys($head_data['styleSheets']) as $script)
{
if (stristr($script, $script_name))
{
return true;
}
}
return false;
}
}

View File

@ -187,6 +187,13 @@
"rename": false, "rename": false,
"type": "file" "type": "file"
}, },
"headercheck_admin.php": {
"naam":"headercheck_admin.php",
"path": "c0mp0n3nt/admin/helpers",
"rename": "new",
"newName": "headercheck.php",
"type": "file"
},
"LICENSE.txt": { "LICENSE.txt": {
"naam":"LICENSE.txt", "naam":"LICENSE.txt",
"path": "c0mp0n3nt/", "path": "c0mp0n3nt/",

View File

@ -11,7 +11,7 @@
/-------------------------------------------------------------------------------------------------------------------------------/ /-------------------------------------------------------------------------------------------------------------------------------/
@version 2.2.9 @version 2.2.9
@build 1st February, 2017 @build 2nd February, 2017
@created 30th April, 2015 @created 30th April, 2015
@package Component Builder @package Component Builder
@subpackage componentbuilder.php @subpackage componentbuilder.php

View File

@ -11,7 +11,7 @@
/-------------------------------------------------------------------------------------------------------------------------------/ /-------------------------------------------------------------------------------------------------------------------------------/
@version 2.2.9 @version 2.2.9
@build 1st February, 2017 @build 2nd February, 2017
@created 30th April, 2015 @created 30th April, 2015
@package Component Builder @package Component Builder
@subpackage controller.php @subpackage controller.php

View File

@ -11,7 +11,7 @@
/-------------------------------------------------------------------------------------------------------------------------------/ /-------------------------------------------------------------------------------------------------------------------------------/
@version 2.2.9 @version 2.2.9
@build 1st February, 2017 @build 2nd February, 2017
@created 30th April, 2015 @created 30th April, 2015
@package Component Builder @package Component Builder
@subpackage ajax.json.php @subpackage ajax.json.php

View File

@ -10,9 +10,9 @@
|_| |_|
/-------------------------------------------------------------------------------------------------------------------------------/ /-------------------------------------------------------------------------------------------------------------------------------/
@version 2.2.9 @version @update number 11 of this MVC
@build 1st February, 2017 @build 2nd February, 2017
@created 30th April, 2015 @created 1st February, 2017
@package Component Builder @package Component Builder
@subpackage compiler.php @subpackage compiler.php
@author Llewellyn van der Merwe <http://vdm.bz/component-builder> @author Llewellyn van der Merwe <http://vdm.bz/component-builder>
@ -32,8 +32,26 @@ jimport('joomla.application.component.controlleradmin');
/** /**
* Compiler Controller * Compiler Controller
*/ */
class ComponentbuilderControllerCompiler extends JControllerLegacy class ComponentbuilderControllerCompiler extends JControllerAdmin
{ {
protected $text_prefix = 'COM_COMPONENTBUILDER_COMPILER';
/**
* Proxy for getModel.
* @since 2.5
*/
public function getModel($name = 'Compiler', $prefix = 'ComponentbuilderModel', $config = array())
{
$model = parent::getModel($name, $prefix, array('ignore_request' => true));
return $model;
}
public function dashboard()
{
$this->setRedirect(JRoute::_('index.php?option=com_componentbuilder', false));
return;
}
/** /**
* Import an spreadsheet. * Import an spreadsheet.
* *
@ -53,6 +71,8 @@ class ComponentbuilderControllerCompiler extends JControllerLegacy
$version = $jinput->post->get('version', 0, 'INT'); $version = $jinput->post->get('version', 0, 'INT');
$addBackup = $jinput->post->get('backup', 0, 'INT'); $addBackup = $jinput->post->get('backup', 0, 'INT');
$addGit = $jinput->post->get('git', 0, 'INT'); $addGit = $jinput->post->get('git', 0, 'INT');
// include component compiler
require_once JPATH_ADMINISTRATOR.'/components/com_componentbuilder/helpers/compiler.php';
$model = $this->getModel('compiler'); $model = $this->getModel('compiler');
if ($model->builder($version,$componentId,$addBackup,$addGit)) if ($model->builder($version,$componentId,$addBackup,$addGit))
{ {
@ -68,7 +88,7 @@ class ComponentbuilderControllerCompiler extends JControllerLegacy
$app = JFactory::getApplication(); $app = JFactory::getApplication();
$redirect_url = $app->getUserState('com_componentbuilder.redirect_url'); $redirect_url = $app->getUserState('com_componentbuilder.redirect_url');
$message = $app->getUserState('com_componentbuilder.message'); $message = $app->getUserState('com_componentbuilder.message');
if (empty($redirect_url)) if (empty($redirect_url) && $componentId > 0)
{ {
$redirect_url = JRoute::_('index.php?option=com_componentbuilder&view=compiler', false); $redirect_url = JRoute::_('index.php?option=com_componentbuilder&view=compiler', false);
// setup the unrealistic numbers // setup the unrealistic numbers

View File

@ -10,8 +10,8 @@
|_| |_|
/-------------------------------------------------------------------------------------------------------------------------------/ /-------------------------------------------------------------------------------------------------------------------------------/
@version @update number 77 of this MVC @version @update number 80 of this MVC
@build 26th December, 2016 @build 2nd February, 2017
@created 6th May, 2015 @created 6th May, 2015
@package Component Builder @package Component Builder
@subpackage component.php @subpackage component.php

View File

@ -11,7 +11,7 @@
/-------------------------------------------------------------------------------------------------------------------------------/ /-------------------------------------------------------------------------------------------------------------------------------/
@version 2.2.9 @version 2.2.9
@build 1st February, 2017 @build 2nd February, 2017
@created 30th April, 2015 @created 30th April, 2015
@package Component Builder @package Component Builder
@subpackage componentbuilder.php @subpackage componentbuilder.php

View File

@ -10,8 +10,8 @@
|_| |_|
/-------------------------------------------------------------------------------------------------------------------------------/ /-------------------------------------------------------------------------------------------------------------------------------/
@version @update number 77 of this MVC @version @update number 80 of this MVC
@build 26th December, 2016 @build 2nd February, 2017
@created 6th May, 2015 @created 6th May, 2015
@package Component Builder @package Component Builder
@subpackage components.php @subpackage components.php

View File

@ -11,7 +11,7 @@
/-------------------------------------------------------------------------------------------------------------------------------/ /-------------------------------------------------------------------------------------------------------------------------------/
@version 2.2.9 @version 2.2.9
@build 1st February, 2017 @build 2nd February, 2017
@created 30th April, 2015 @created 30th April, 2015
@package Component Builder @package Component Builder
@subpackage help.php @subpackage help.php

View File

@ -11,7 +11,7 @@
/-------------------------------------------------------------------------------------------------------------------------------/ /-------------------------------------------------------------------------------------------------------------------------------/
@version 2.2.9 @version 2.2.9
@build 1st February, 2017 @build 2nd February, 2017
@created 30th April, 2015 @created 30th April, 2015
@package Component Builder @package Component Builder
@subpackage import.php @subpackage import.php

View File

@ -225,7 +225,7 @@ class Compiler extends Infusion
$two = 0; $two = 0;
foreach ($this->newFiles['static'] as $static) foreach ($this->newFiles['static'] as $static)
{ {
if (('README.md' == $static['name'] || 'README.txt' == $static['name']) && $this->componentData->addreadme && JFile::exists($static['path'])) if (('README.md' === $static['name'] || 'README.txt' === $static['name']) && $this->componentData->addreadme && JFile::exists($static['path']))
{ {
$this->buildReadMe($static['path']); $this->buildReadMe($static['path']);
$two++; $two++;
@ -350,7 +350,7 @@ class Compiler extends Infusion
{ {
foreach ($data['config'] as $key => $value) foreach ($data['config'] as $key => $value)
{ {
if ('###VERSION###' == $key) if ('###VERSION###' === $key)
{ {
// hmm we sould in some way make it known that this version number // hmm we sould in some way make it known that this version number
// is not in relation the the project but to the file only... any ideas? // is not in relation the the project but to the file only... any ideas?
@ -563,11 +563,11 @@ class Compiler extends Infusion
{ {
foreach ($options as $option => $value) foreach ($options as $option => $value)
{ {
if ('timeout' == $option) if ('timeout' === $option)
{ {
$options[$option] = (int) $value; $options[$option] = (int) $value;
} }
if ('type' == $option) if ('type' === $option)
{ {
$options[$option] = (string) $value; $options[$option] = (string) $value;
} }

View File

@ -798,7 +798,7 @@ class Get
{ {
foreach ($values as $nr => $value) foreach ($values as $nr => $value)
{ {
if ('html' == $option) if ('html' === $option)
{ {
$value = $this->setCustomContentLang($value); $value = $this->setCustomContentLang($value);
} }
@ -2197,13 +2197,13 @@ class Get
if (ComponentbuilderHelper::checkArray($lines)) if (ComponentbuilderHelper::checkArray($lines))
{ {
$db = JFactory::getDbo(); $db = JFactory::getDbo();
if ('db' == $type) if ('db' === $type)
{ {
$table = '#__'.$asset; $table = '#__'.$asset;
$queryName = $asset; $queryName = $asset;
$view = ''; $view = '';
} }
elseif ('view' == $type) elseif ('view' === $type)
{ {
$view = $this->getViewTableName($asset); $view = $this->getViewTableName($asset);
$table = '#__'.$this->componentCodeName.'_'.$view; $table = '#__'.$this->componentCodeName.'_'.$view;
@ -2229,7 +2229,7 @@ class Get
$get = trim($get); $get = trim($get);
$key = trim($key); $key = trim($key);
// only add the view // only add the view
if ('a' != $as && 1 == $row_type && 'view' == $type && strpos('#'.$key,'#'.$view.'_') === false) if ('a' != $as && 1 == $row_type && 'view' === $type && strpos('#'.$key,'#'.$view.'_') === false)
{ {
$key = $view.'_'.trim($key); $key = $view.'_'.trim($key);
} }

View File

@ -448,24 +448,25 @@ class Structure extends Get
{ {
if (ComponentbuilderHelper::checkObject($view['settings'])) if (ComponentbuilderHelper::checkObject($view['settings']))
{ {
$created = $this->getCreatedDate($view);
$modified = $this->getLastModifiedDate($view); $modified = $this->getLastModifiedDate($view);
if ($view['settings']->name_list != 'null') if ($view['settings']->name_list != 'null')
{ {
$target = array('admin' => $view['settings']->name_list); $target = array('admin' => $view['settings']->name_list);
$config = array('###CREATIONDATE###' => JFactory::getDate($view['settings']->created)->format('jS F, Y'), '###BUILDDATE###' => $modified,'###VERSION###' => $view['settings']->version); $config = array('###CREATIONDATE###' => $created, '###BUILDDATE###' => $modified,'###VERSION###' => $view['settings']->version);
$this->buildDynamique($target,'list', false, $config); $this->buildDynamique($target,'list', false, $config);
} }
if ($view['settings']->name_single != 'null') if ($view['settings']->name_single != 'null')
{ {
$target = array('admin' => $view['settings']->name_single); $target = array('admin' => $view['settings']->name_single);
$config = array('###CREATIONDATE###' => JFactory::getDate($view['settings']->created)->format('jS F, Y'), '###BUILDDATE###' => $modified,'###VERSION###' => $view['settings']->version); $config = array('###CREATIONDATE###' => $created, '###BUILDDATE###' => $modified,'###VERSION###' => $view['settings']->version);
$this->buildDynamique($target,'single', false, $config); $this->buildDynamique($target,'single', false, $config);
} }
if($view['edit_create_site_view']) if($view['edit_create_site_view'])
{ {
// setup the front site edit-view files // setup the front site edit-view files
$target = array('site' => $view['settings']->name_single); $target = array('site' => $view['settings']->name_single);
$config = array('###CREATIONDATE###' => JFactory::getDate($view['settings']->created)->format('jS F, Y'), '###BUILDDATE###' => $modified,'###VERSION###' => $view['settings']->version); $config = array('###CREATIONDATE###' => $created, '###BUILDDATE###' => $modified,'###VERSION###' => $view['settings']->version);
$this->buildDynamique($target,'edit', false, $config); $this->buildDynamique($target,'edit', false, $config);
} }
} }
@ -483,19 +484,20 @@ class Structure extends Get
foreach ($this->componentData->site_views as $nr => $view) foreach ($this->componentData->site_views as $nr => $view)
{ {
$created = $this->getCreatedDate($view);
$modified = $this->getLastModifiedDate($view); $modified = $this->getLastModifiedDate($view);
if ($view['settings']->main_get->gettype == 2) if ($view['settings']->main_get->gettype == 2)
{ {
// set list view // set list view
$target = array('site' => $view['settings']->code); $target = array('site' => $view['settings']->code);
$config = array('###CREATIONDATE###' => JFactory::getDate($view['settings']->created)->format('jS F, Y'), '###BUILDDATE###' => $modified,'###VERSION###' => $view['settings']->version); $config = array('###CREATIONDATE###' => $created, '###BUILDDATE###' => $modified,'###VERSION###' => $view['settings']->version);
$this->buildDynamique($target,'list', false, $config); $this->buildDynamique($target,'list', false, $config);
} }
elseif ($view['settings']->main_get->gettype == 1) elseif ($view['settings']->main_get->gettype == 1)
{ {
// set single view // set single view
$target = array('site' => $view['settings']->code); $target = array('site' => $view['settings']->code);
$config = array('###CREATIONDATE###' => JFactory::getDate($view['settings']->created)->format('jS F, Y'), '###BUILDDATE###' => $modified,'###VERSION###' => $view['settings']->version); $config = array('###CREATIONDATE###' => $created, '###BUILDDATE###' => $modified,'###VERSION###' => $view['settings']->version);
$this->buildDynamique($target,'single', false, $config); $this->buildDynamique($target,'single', false, $config);
} }
} }
@ -505,19 +507,20 @@ class Structure extends Get
{ {
foreach ($this->componentData->custom_admin_views as $nr => $view) foreach ($this->componentData->custom_admin_views as $nr => $view)
{ {
$created = $this->getCreatedDate($view);
$modified = $this->getLastModifiedDate($view); $modified = $this->getLastModifiedDate($view);
if ($view['settings']->main_get->gettype == 2) if ($view['settings']->main_get->gettype == 2)
{ {
// set list view // set list view$view
$target = array('custom_admin' => $view['settings']->code); $target = array('custom_admin' => $view['settings']->code);
$config = array('###CREATIONDATE###' => JFactory::getDate($view['settings']->created)->format('jS F, Y'), '###BUILDDATE###' => JFactory::getDate($view['settings']->modified)->format('jS F, Y'),'###VERSION###' => $view['settings']->version); $config = array('###CREATIONDATE###' => $created, '###BUILDDATE###' => JFactory::getDate($view['settings']->modified)->format('jS F, Y'),'###VERSION###' => $view['settings']->version);
$this->buildDynamique($target,'list', false, $config); $this->buildDynamique($target,'list', false, $config);
} }
elseif ($view['settings']->main_get->gettype == 1) elseif ($view['settings']->main_get->gettype == 1)
{ {
// set single view // set single view
$target = array('custom_admin' => $view['settings']->code); $target = array('custom_admin' => $view['settings']->code);
$config = array('###CREATIONDATE###' => JFactory::getDate($view['settings']->created)->format('jS F, Y'), '###BUILDDATE###' => JFactory::getDate($view['settings']->modified)->format('jS F, Y'),'###VERSION###' => $view['settings']->version); $config = array('###CREATIONDATE###' => $created, '###BUILDDATE###' => JFactory::getDate($view['settings']->modified)->format('jS F, Y'),'###VERSION###' => $view['settings']->version);
$this->buildDynamique($target, 'single', false, $config); $this->buildDynamique($target, 'single', false, $config);
} }
} }
@ -531,6 +534,29 @@ class Structure extends Get
return false; return false;
} }
/**
* get the created date of the (view)
*
* @param array $view The view values
*
* @return string Last Modified Date
*
*/
public function getCreatedDate($view)
{
if (isset($view['settings']->created) && ComponentbuilderHelper::checkString($view['settings']->created))
{
// first set the main date
$date = strtotime($view['settings']->created);
}
else
{
// first set the main date
$date = strtotime("now");
}
return JFactory::getDate($date)->format('jS F, Y');
}
/** /**
* get the last modified date of a MVC (view) * get the last modified date of a MVC (view)
* *
@ -540,9 +566,17 @@ class Structure extends Get
* *
*/ */
public function getLastModifiedDate($view) public function getLastModifiedDate($view)
{
if (isset($view['settings']->modified) && ComponentbuilderHelper::checkString($view['settings']->modified))
{ {
// first set the main date // first set the main date
$date = strtotime($view['settings']->modified); $date = strtotime($view['settings']->modified);
}
else
{
// first set the main date
$date = strtotime("now");
}
if (isset($view['adminview'])) if (isset($view['adminview']))
{ {
$id = $view['adminview'].'admin'; $id = $view['adminview'].'admin';

View File

@ -1018,7 +1018,7 @@ class Fields extends Structure
} }
$fieldSet .= "\n\t\t" . $taber . "/>"; $fieldSet .= "\n\t\t" . $taber . "/>";
// incase the field is in the config and has not been set // incase the field is in the config and has not been set
if ('config' == $viewName && 'configs' == $listViewName) if ('config' === $viewName && 'configs' === $listViewName)
{ {
// set lang (just incase) // set lang (just incase)
$listLangName = $langView . '_' . ComponentbuilderHelper::safeString($name, 'U'); $listLangName = $langView . '_' . ComponentbuilderHelper::safeString($name, 'U');
@ -1350,7 +1350,7 @@ class Fields extends Structure
{ {
$xmlValue = (string) ComponentbuilderHelper::getBetween($field['settings']->xml, $property['name'] . '="', '"'); $xmlValue = (string) ComponentbuilderHelper::getBetween($field['settings']->xml, $property['name'] . '="', '"');
// add the multipal // add the multipal
if ('true' == $xmlValue) if ('true' === $xmlValue)
{ {
$multiple = true; $multiple = true;
} }

View File

@ -281,15 +281,15 @@ class Interpretation extends Fields
$encrypt[] = "\t\t\$session = JFactory::getSession();"; $encrypt[] = "\t\t\$session = JFactory::getSession();";
$encrypt[] = "\t\t\$V2uekt2wcgwk = \$session->get(\$Vk5smi0wjnjb, null);"; $encrypt[] = "\t\t\$V2uekt2wcgwk = \$session->get(\$Vk5smi0wjnjb, null);";
$encrypt[] = "\t\t\$h4sgrGsqq = \$this->get(\$Vk5smi0wjnjb,\$V2uekt2wcgwk);"; $encrypt[] = "\t\t\$h4sgrGsqq = \$this->get(\$Vk5smi0wjnjb,\$V2uekt2wcgwk);";
$encrypt[] = "\t\tif (isset(\$h4sgrGsqq['nuut']) && \$h4sgrGsqq['nuut'] && (isset(\$h4sgrGsqq['status']) && 'Active' == \$h4sgrGsqq['status']) && 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{";
$encrypt[] = "\t\t\t\$session->set(\$Vk5smi0wjnjb, \$h4sgrGsqq['eiegrendel']);"; $encrypt[] = "\t\t\t\$session->set(\$Vk5smi0wjnjb, \$h4sgrGsqq['eiegrendel']);";
$encrypt[] = "\t\t}"; $encrypt[] = "\t\t}";
$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\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{";
$encrypt[] = "\t\t\t\$this->_key = md5(\$h4sgrGsqq['customfields']);"; $encrypt[] = "\t\t\t\$this->_key = md5(\$h4sgrGsqq['customfields']);";
$encrypt[] = "\t\t}"; $encrypt[] = "\t\t}";
$encrypt[] = "\t\tif ((isset(\$h4sgrGsqq['status']) && 'Active' == \$h4sgrGsqq['status']) && 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{";
$encrypt[] = "\t\t\t\$this->_is = true;"; $encrypt[] = "\t\t\t\$this->_is = true;";
$encrypt[] = "\t\t}"; $encrypt[] = "\t\t}";
@ -462,7 +462,7 @@ class Interpretation extends Fields
$function[] = "\t{"; $function[] = "\t{";
$function[] = "\t\t//".$this->setLine(__LINE__)." Get the global params"; $function[] = "\t\t//".$this->setLine(__LINE__)." Get the global params";
$function[] = "\t\t\$params = JComponentHelper::getParams('com_".$component."', true);"; $function[] = "\t\t\$params = JComponentHelper::getParams('com_".$component."', true);";
$function[] = "\t\tif ('advanced' == \$type)"; $function[] = "\t\tif ('advanced' === \$type)";
$function[] = "\t\t{"; $function[] = "\t\t{";
$function[] = "\t\t\t\$advanced_key = \$params->get('advanced_key', \$default);"; $function[] = "\t\t\t\$advanced_key = \$params->get('advanced_key', \$default);";
$function[] = "\t\t\tif (\$advanced_key)"; $function[] = "\t\t\tif (\$advanced_key)";
@ -473,7 +473,7 @@ class Interpretation extends Fields
$function[] = "\n\t\t\t\treturn \$the->_key;"; $function[] = "\n\t\t\t\treturn \$the->_key;";
$function[] = "\t\t\t}"; $function[] = "\t\t\t}";
$function[] = "\t\t}"; $function[] = "\t\t}";
$function[] = "\t\telseif ('basic' == \$type)"; $function[] = "\t\telseif ('basic' === \$type)";
$function[] = "\t\t{"; $function[] = "\t\t{";
$function[] = "\t\t\t\$basic_key = \$params->get('basic_key', \$default);"; $function[] = "\t\t\t\$basic_key = \$params->get('basic_key', \$default);";
$function[] = "\t\t\tif (\$basic_key)"; $function[] = "\t\t\tif (\$basic_key)";
@ -488,7 +488,7 @@ class Interpretation extends Fields
{ {
$function[] = "\n\n\tpublic static function getCryptKey(\$type, \$default = null)"; $function[] = "\n\n\tpublic static function getCryptKey(\$type, \$default = null)";
$function[] = "\t{"; $function[] = "\t{";
$function[] = "\t\tif ('advanced' == \$type)"; $function[] = "\t\tif ('advanced' === \$type)";
$function[] = "\t\t{"; $function[] = "\t\t{";
$function[] = "\t\t\t//".$this->setLine(__LINE__)." Get the global params"; $function[] = "\t\t\t//".$this->setLine(__LINE__)." Get the global params";
$function[] = "\t\t\t\$params = JComponentHelper::getParams('com_".$component."', true);"; $function[] = "\t\t\t\$params = JComponentHelper::getParams('com_".$component."', true);";
@ -508,7 +508,7 @@ class Interpretation extends Fields
{ {
$function[] = "\n\n\tpublic static function getCryptKey(\$type, \$default = null)"; $function[] = "\n\n\tpublic static function getCryptKey(\$type, \$default = null)";
$function[] = "\t{"; $function[] = "\t{";
$function[] = "\t\tif ('basic' == \$type)"; $function[] = "\t\tif ('basic' === \$type)";
$function[] = "\t\t{"; $function[] = "\t\t{";
$function[] = "\t\t\t//".$this->setLine(__LINE__)." Get the global params"; $function[] = "\t\t\t//".$this->setLine(__LINE__)." Get the global params";
$function[] = "\t\t\t\$params = JComponentHelper::getParams('com_".$component."', true);"; $function[] = "\t\t\t\$params = JComponentHelper::getParams('com_".$component."', true);";
@ -1802,7 +1802,7 @@ class Interpretation extends Fields
} }
$getItem .= "\n\t".$tab."\t\t//".$this->setLine(__LINE__)." If no data is found redirect to default page and show warning."; $getItem .= "\n\t".$tab."\t\t//".$this->setLine(__LINE__)." If no data is found redirect to default page and show warning.";
$getItem .= "\n\t".$tab."\t\t\$app->enqueueMessage(JText::_('".$langKeyWord."'), 'warning');"; $getItem .= "\n\t".$tab."\t\t\$app->enqueueMessage(JText::_('".$langKeyWord."'), 'warning');";
if ('site' == $this->target) if ('site' === $this->target)
{ {
// check that the default and the redirect page is not the same // check that the default and the redirect page is not the same
if ($this->fileContentStatic['###SITE_DEFAULT_VIEW###'] != $code) if ($this->fileContentStatic['###SITE_DEFAULT_VIEW###'] != $code)
@ -2576,14 +2576,14 @@ class Interpretation extends Fields
$method .= str_replace(array_keys($this->placeholders),array_values($this->placeholders),"\n\t\t".implode("\n\t\t",$view['settings']->php_jview_display)); $method .= str_replace(array_keys($this->placeholders),array_values($this->placeholders),"\n\t\t".implode("\n\t\t",$view['settings']->php_jview_display));
} }
} }
if ('site' == $this->target) if ('site' === $this->target)
{ {
$method .= "\n\n\t\t//".$this->setLine(__LINE__)." Set the toolbar"; $method .= "\n\n\t\t//".$this->setLine(__LINE__)." Set the toolbar";
$method .= "\n\t\t\$this->addToolBar();"; $method .= "\n\t\t\$this->addToolBar();";
$method .= "\n\n\t\t//".$this->setLine(__LINE__)." set the document"; $method .= "\n\n\t\t//".$this->setLine(__LINE__)." set the document";
$method .= "\n\t\t\$this->_prepareDocument();"; $method .= "\n\t\t\$this->_prepareDocument();";
} }
elseif ('custom_admin' == $this->target) elseif ('custom_admin' === $this->target)
{ {
$method .= "\n\n\t\t//".$this->setLine(__LINE__)." We don't need toolbar in the modal window."; $method .= "\n\n\t\t//".$this->setLine(__LINE__)." We don't need toolbar in the modal window.";
$method .= "\n\t\tif (\$this->getLayout() !== 'modal')"; $method .= "\n\t\tif (\$this->getLayout() !== 'modal')";
@ -2631,7 +2631,7 @@ class Interpretation extends Fields
$this->fileContentDynamic[$view['settings']->code]['###'.$TARGET.'_CUSTOM_BUTTONS###'] = $this->setCustomButtons($view); $this->fileContentDynamic[$view['settings']->code]['###'.$TARGET.'_CUSTOM_BUTTONS###'] = $this->setCustomButtons($view);
// only set the custom get form method if site target // only set the custom get form method if site target
if ('site' == $this->target) if ('site' === $this->target)
{ {
// set the custom get form method ###SITE_CUSTOM_GET_FORM_METHOD### // set the custom get form method ###SITE_CUSTOM_GET_FORM_METHOD###
$this->fileContentDynamic[$view['settings']->code]['###SITE_CUSTOM_GET_FORM_METHOD###'] = $this->setCustomGetForm($view); $this->fileContentDynamic[$view['settings']->code]['###SITE_CUSTOM_GET_FORM_METHOD###'] = $this->setCustomGetForm($view);
@ -2791,7 +2791,7 @@ class Interpretation extends Fields
// set the custom buttons ###CUSTOM_BUTTONS_CONTROLLER### // set the custom buttons ###CUSTOM_BUTTONS_CONTROLLER###
$this->fileContentDynamic[$viewName]['###'.$TARGET.'_CUSTOM_BUTTONS_CONTROLLER###'] = $this->fileContentDynamic[$viewName]['###'.$TARGET.'_CUSTOM_BUTTONS_CONTROLLER###'] =
"\n\n".str_replace(array_keys($this->placeholders),array_values($this->placeholders),$view['settings']->php_controller); "\n\n".str_replace(array_keys($this->placeholders),array_values($this->placeholders),$view['settings']->php_controller);
if ('site' == $this->target) if ('site' === $this->target)
{ {
// add the controller for this view // add the controller for this view
// build the file // build the file
@ -3025,7 +3025,14 @@ class Interpretation extends Fields
$setter .= "\n\n\t\t//".$this->setLine(__LINE__)." always make sure jquery is loaded."; $setter .= "\n\n\t\t//".$this->setLine(__LINE__)." always make sure jquery is loaded.";
$setter .= "\n\t\tJHtml::_('jquery.framework');"; $setter .= "\n\t\tJHtml::_('jquery.framework');";
$setter .= "\n\t\t//".$this->setLine(__LINE__)." Load the header checker class."; $setter .= "\n\t\t//".$this->setLine(__LINE__)." Load the header checker class.";
if ($this->target === 'site')
{
$setter .= "\n\t\trequire_once( JPATH_COMPONENT_SITE.'/helpers/headercheck.php' );"; $setter .= "\n\t\trequire_once( JPATH_COMPONENT_SITE.'/helpers/headercheck.php' );";
}
else
{
$setter .= "\n\t\trequire_once( JPATH_COMPONENT_ADMINISTRATOR.'/helpers/headercheck.php' );";
}
$setter .= "\n\t\t//".$this->setLine(__LINE__)." Initialize the header checker."; $setter .= "\n\t\t//".$this->setLine(__LINE__)." Initialize the header checker.";
$setter .= "\n\t\t\$HeaderCheck = new HeaderCheck;"; $setter .= "\n\t\t\$HeaderCheck = new HeaderCheck;";
// load the defaults needed // load the defaults needed
@ -3236,12 +3243,13 @@ class Interpretation extends Fields
{ {
if (isset($this->templateData[$this->target][$view['settings']->code]) && ComponentbuilderHelper::checkArray($this->templateData[$this->target][$view['settings']->code])) if (isset($this->templateData[$this->target][$view['settings']->code]) && ComponentbuilderHelper::checkArray($this->templateData[$this->target][$view['settings']->code]))
{ {
$created = $this->getCreatedDate($view);
$modified = $this->getLastModifiedDate($view); $modified = $this->getLastModifiedDate($view);
foreach ($this->templateData[$this->target][$view['settings']->code] as $template => $data) foreach ($this->templateData[$this->target][$view['settings']->code] as $template => $data)
{ {
// build the file // build the file
$target = array($this->target => $view['settings']->code); $target = array($this->target => $view['settings']->code);
$config = array('###CREATIONDATE###' => JFactory::getDate($view['settings']->created)->format('jS F, Y'), '###BUILDDATE###' => $modified,'###VERSION###' => $view['settings']->version); $config = array('###CREATIONDATE###' => $created, '###BUILDDATE###' => $modified,'###VERSION###' => $view['settings']->version);
$this->buildDynamique($target,'template', $template, $config); $this->buildDynamique($target,'template', $template, $config);
// set the file data // set the file data
$TARGET = ComponentbuilderHelper::safeString($this->target,'U'); $TARGET = ComponentbuilderHelper::safeString($this->target,'U');
@ -3994,7 +4002,7 @@ class Interpretation extends Fields
$routeHelper[] = "\n\n\t/**"; $routeHelper[] = "\n\n\t/**";
$routeHelper[] = "\t* @param int The route of the ".$View; $routeHelper[] = "\t* @param int The route of the ".$View;
$routeHelper[] = "\t*/"; $routeHelper[] = "\t*/";
if ('category' == $viewName_single || 'categories' == $viewName_single) if ('category' === $viewName_single || 'categories' === $viewName_single)
{ {
$routeHelper[] = "\tpublic static function get".$View."Route(\$id = 0)"; $routeHelper[] = "\tpublic static function get".$View."Route(\$id = 0)";
} }
@ -4259,7 +4267,7 @@ class Interpretation extends Fields
$batchmove[] = "\t\t\t\tforeach (\$values as \$key => \$value)"; $batchmove[] = "\t\t\t\tforeach (\$values as \$key => \$value)";
$batchmove[] = "\t\t\t\t{"; $batchmove[] = "\t\t\t\t{";
$batchmove[] = "\t\t\t\t\t//".$this->setLine(__LINE__)." Do special action for access."; $batchmove[] = "\t\t\t\t\t//".$this->setLine(__LINE__)." Do special action for access.";
$batchmove[] = "\t\t\t\t\tif ('access' == \$key && strlen(\$value) > 0)"; $batchmove[] = "\t\t\t\t\tif ('access' === \$key && strlen(\$value) > 0)";
$batchmove[] = "\t\t\t\t\t{"; $batchmove[] = "\t\t\t\t\t{";
$batchmove[] = "\t\t\t\t\t\t\$this->table->\$key = \$value;"; $batchmove[] = "\t\t\t\t\t\t\$this->table->\$key = \$value;";
$batchmove[] = "\t\t\t\t\t}"; $batchmove[] = "\t\t\t\t\t}";
@ -9614,7 +9622,7 @@ class Interpretation extends Fields
$allow[] = "\t\t\t\$form->setFieldAttribute('".$fieldName."', 'disabled', 'true');"; $allow[] = "\t\t\t\$form->setFieldAttribute('".$fieldName."', 'disabled', 'true');";
$allow[] = "\t\t\t//".$this->setLine(__LINE__)." Disable fields for display."; $allow[] = "\t\t\t//".$this->setLine(__LINE__)." Disable fields for display.";
$allow[] = "\t\t\t\$form->setFieldAttribute('".$fieldName."', 'readonly', 'true');"; $allow[] = "\t\t\t\$form->setFieldAttribute('".$fieldName."', 'readonly', 'true');";
if ('radio' == $fieldType || 'repeatable' == $fieldType) if ('radio' === $fieldType || 'repeatable' === $fieldType)
{ {
$allow[] = "\t\t\t//".$this->setLine(__LINE__)." Disable radio button for display."; $allow[] = "\t\t\t//".$this->setLine(__LINE__)." Disable radio button for display.";
$allow[] = "\t\t\t\$class = \$form->getFieldAttribute('".$fieldName."', 'class', '');"; $allow[] = "\t\t\t\$class = \$form->getFieldAttribute('".$fieldName."', 'class', '');";

View File

@ -11,7 +11,7 @@
/-------------------------------------------------------------------------------------------------------------------------------/ /-------------------------------------------------------------------------------------------------------------------------------/
@version 2.2.9 @version 2.2.9
@build 1st February, 2017 @build 2nd February, 2017
@created 30th April, 2015 @created 30th April, 2015
@package Component Builder @package Component Builder
@subpackage componentbuilder.php @subpackage componentbuilder.php
@ -1539,7 +1539,7 @@ abstract class ComponentbuilderHelper
public static function getCryptKey($type, $default = null) public static function getCryptKey($type, $default = null)
{ {
if ('basic' == $type) if ('basic' === $type)
{ {
// Get the global params // Get the global params
$params = JComponentHelper::getParams('com_componentbuilder', true); $params = JComponentHelper::getParams('com_componentbuilder', true);

View File

@ -0,0 +1,85 @@
<?php
/*--------------------------------------------------------------------------------------------------------| www.vdm.io |------/
__ __ _ _____ _ _ __ __ _ _ _
\ \ / / | | | __ \ | | | | | \/ | | | | | | |
\ \ / /_ _ ___| |_ | | | | _____ _____| | ___ _ __ _ __ ___ ___ _ __ | |_ | \ / | ___| |_| |__ ___ __| |
\ \/ / _` / __| __| | | | |/ _ \ \ / / _ \ |/ _ \| '_ \| '_ ` _ \ / _ \ '_ \| __| | |\/| |/ _ \ __| '_ \ / _ \ / _` |
\ / (_| \__ \ |_ | |__| | __/\ V / __/ | (_) | |_) | | | | | | __/ | | | |_ | | | | __/ |_| | | | (_) | (_| |
\/ \__,_|___/\__| |_____/ \___| \_/ \___|_|\___/| .__/|_| |_| |_|\___|_| |_|\__| |_| |_|\___|\__|_| |_|\___/ \__,_|
| |
|_|
/-------------------------------------------------------------------------------------------------------------------------------/
@version 2.2.9
@build 2nd February, 2017
@created 30th April, 2015
@package Component Builder
@subpackage headercheck.php
@author Llewellyn van der Merwe <http://vdm.bz/component-builder>
@copyright Copyright (C) 2015. All Rights Reserved
@license GNU/GPL Version 2 or later - http://www.gnu.org/licenses/gpl-2.0.html
Builds Complex Joomla Components
/-----------------------------------------------------------------------------------------------------------------------------*/
// No direct access to this file
defined('_JEXEC') or die('Restricted access');
class HeaderCheck
{
function js_loaded($script_name)
{
// UIkit check point
if (strpos($script_name,'uikit') !== false)
{
$app = JFactory::getApplication();
$getTemplateName = $app->getTemplate('template')->template;
if (strpos($getTemplateName,'yoo') !== false)
{
return true;
}
}
$document = JFactory::getDocument();
$head_data = $document->getHeadData();
foreach (array_keys($head_data['scripts']) as $script)
{
if (stristr($script, $script_name))
{
return true;
}
}
return false;
}
function css_loaded($script_name)
{
// UIkit check point
if (strpos($script_name,'uikit') !== false)
{
$app = JFactory::getApplication();
$getTemplateName = $app->getTemplate('template')->template;
if (strpos($getTemplateName,'yoo') !== false)
{
return true;
}
}
$document = JFactory::getDocument();
$head_data = $document->getHeadData();
foreach (array_keys($head_data['styleSheets']) as $script)
{
if (stristr($script, $script_name))
{
return true;
}
}
return false;
}
}

View File

@ -11,7 +11,7 @@
/-------------------------------------------------------------------------------------------------------------------------------/ /-------------------------------------------------------------------------------------------------------------------------------/
@version 2.2.9 @version 2.2.9
@build 1st February, 2017 @build 2nd February, 2017
@created 30th April, 2015 @created 30th April, 2015
@package Component Builder @package Component Builder
@subpackage batch_.php @subpackage batch_.php

View File

@ -11,7 +11,7 @@
/-------------------------------------------------------------------------------------------------------------------------------/ /-------------------------------------------------------------------------------------------------------------------------------/
@version 2.2.9 @version 2.2.9
@build 1st February, 2017 @build 2nd February, 2017
@created 30th April, 2015 @created 30th April, 2015
@package Component Builder @package Component Builder
@subpackage indenter.php @subpackage indenter.php

View File

@ -11,7 +11,7 @@
/-------------------------------------------------------------------------------------------------------------------------------/ /-------------------------------------------------------------------------------------------------------------------------------/
@version 2.2.9 @version 2.2.9
@build 1st February, 2017 @build 2nd February, 2017
@created 30th April, 2015 @created 30th April, 2015
@package Component Builder @package Component Builder
@subpackage js.php @subpackage js.php

View File

@ -11,7 +11,7 @@
/-------------------------------------------------------------------------------------------------------------------------------/ /-------------------------------------------------------------------------------------------------------------------------------/
@version 2.2.9 @version 2.2.9
@build 1st February, 2017 @build 2nd February, 2017
@created 30th April, 2015 @created 30th April, 2015
@package Component Builder @package Component Builder
@subpackage minify.php @subpackage minify.php

View File

@ -683,6 +683,17 @@ COM_COMPONENTBUILDER_AUTHOR="Author"
COM_COMPONENTBUILDER_A_FEW_CLOSED_ISSUES_FROM_GITHUB_IS_LOADING="A few closed issues from Github is loading" COM_COMPONENTBUILDER_A_FEW_CLOSED_ISSUES_FROM_GITHUB_IS_LOADING="A few closed issues from Github is loading"
COM_COMPONENTBUILDER_A_FEW_OPEN_ISSUES_FROM_GITHUB_IS_LOADING="A few open issues from Github is loading" COM_COMPONENTBUILDER_A_FEW_OPEN_ISSUES_FROM_GITHUB_IS_LOADING="A few open issues from Github is loading"
COM_COMPONENTBUILDER_BACK="Back" COM_COMPONENTBUILDER_BACK="Back"
COM_COMPONENTBUILDER_CLEAR_TMP="Clear tmp"
COM_COMPONENTBUILDER_COMPILER="Compiler"
COM_COMPONENTBUILDER_COMPILER_ACCESS="Compiler Access"
COM_COMPONENTBUILDER_COMPILER_ACCESS_DESC=" Allows the users in this group to access compiler."
COM_COMPONENTBUILDER_COMPILER_CLEAR_TMP_BUTTON_ACCESS="Compiler Clear tmp Button Access"
COM_COMPONENTBUILDER_COMPILER_CLEAR_TMP_BUTTON_ACCESS_DESC=" Allows the users in this group to access the clear tmp button."
COM_COMPONENTBUILDER_COMPILER_DASHBOARD_LIST="Compiler Dashboard List"
COM_COMPONENTBUILDER_COMPILER_DASHBOARD_LIST_DESC="Allows the users in this group to update the dashboard list of the Compiler"
COM_COMPONENTBUILDER_COMPILER_DESC="The compiler"
COM_COMPONENTBUILDER_COMPILER_SUBMENU="Compiler Submenu"
COM_COMPONENTBUILDER_COMPILER_SUBMENU_DESC="Allows the users in this group to update the submenu of the Compiler"
COM_COMPONENTBUILDER_COMPONENT="Component" COM_COMPONENTBUILDER_COMPONENT="Component"
COM_COMPONENTBUILDER_COMPONENTS="Components" COM_COMPONENTBUILDER_COMPONENTS="Components"
COM_COMPONENTBUILDER_COMPONENTS_BATCH_OPTIONS="Batch process the selected Components" COM_COMPONENTBUILDER_COMPONENTS_BATCH_OPTIONS="Batch process the selected Components"
@ -771,6 +782,9 @@ COM_COMPONENTBUILDER_COMPONENT_ADD_PHP_PREFLIGHT_INSTALL="Add Php Preflight Inst
COM_COMPONENTBUILDER_COMPONENT_ADD_PHP_PREFLIGHT_INSTALL_LABEL="Add PHP Preflight (install)" COM_COMPONENTBUILDER_COMPONENT_ADD_PHP_PREFLIGHT_INSTALL_LABEL="Add PHP Preflight (install)"
COM_COMPONENTBUILDER_COMPONENT_ADD_PHP_PREFLIGHT_UPDATE="Add Php Preflight Update" COM_COMPONENTBUILDER_COMPONENT_ADD_PHP_PREFLIGHT_UPDATE="Add Php Preflight Update"
COM_COMPONENTBUILDER_COMPONENT_ADD_PHP_PREFLIGHT_UPDATE_LABEL="Add PHP Preflight (update)" COM_COMPONENTBUILDER_COMPONENT_ADD_PHP_PREFLIGHT_UPDATE_LABEL="Add PHP Preflight (update)"
COM_COMPONENTBUILDER_COMPONENT_ADD_PLACEHOLDERS="Add Placeholders"
COM_COMPONENTBUILDER_COMPONENT_ADD_PLACEHOLDERS_DESCRIPTION="Should JCB insert the custom code placeholders? This is only applicable if this component has custom code."
COM_COMPONENTBUILDER_COMPONENT_ADD_PLACEHOLDERS_LABEL="Custom Code Placeholders"
COM_COMPONENTBUILDER_COMPONENT_ADD_SALES_SERVER="Add Sales Server" COM_COMPONENTBUILDER_COMPONENT_ADD_SALES_SERVER="Add Sales Server"
COM_COMPONENTBUILDER_COMPONENT_ADD_SALES_SERVER_LABEL="Add Sales Server" COM_COMPONENTBUILDER_COMPONENT_ADD_SALES_SERVER_LABEL="Add Sales Server"
COM_COMPONENTBUILDER_COMPONENT_ADD_SITE_EVENT="Add Site Event" COM_COMPONENTBUILDER_COMPONENT_ADD_SITE_EVENT="Add Site Event"
@ -1045,6 +1059,9 @@ COM_COMPONENTBUILDER_COMPONENT_MODIFIED_DATE_DESC="The date this Component was m
COM_COMPONENTBUILDER_COMPONENT_MODIFIED_DATE_LABEL="Modified Date" COM_COMPONENTBUILDER_COMPONENT_MODIFIED_DATE_LABEL="Modified Date"
COM_COMPONENTBUILDER_COMPONENT_MOVE="Move" COM_COMPONENTBUILDER_COMPONENT_MOVE="Move"
COM_COMPONENTBUILDER_COMPONENT_MUSIC="Music" COM_COMPONENTBUILDER_COMPONENT_MUSIC="Music"
COM_COMPONENTBUILDER_COMPONENT_MVC_VERSIONDATE="Mvc Versiondate"
COM_COMPONENTBUILDER_COMPONENT_MVC_VERSIONDATE_DESCRIPTION="Use the modified date, and version number of the view/fields instead of the global version in related files."
COM_COMPONENTBUILDER_COMPONENT_MVC_VERSIONDATE_LABEL="Use View Version & Date"
COM_COMPONENTBUILDER_COMPONENT_MYSQL="MySQL" COM_COMPONENTBUILDER_COMPONENT_MYSQL="MySQL"
COM_COMPONENTBUILDER_COMPONENT_MYSQL_DESCRIPTION="Update Dump" COM_COMPONENTBUILDER_COMPONENT_MYSQL_DESCRIPTION="Update Dump"
COM_COMPONENTBUILDER_COMPONENT_MYSQL_HINT="// MySQL for update or blank for none" COM_COMPONENTBUILDER_COMPONENT_MYSQL_HINT="// MySQL for update or blank for none"

View File

@ -11,7 +11,7 @@
/-------------------------------------------------------------------------------------------------------------------------------/ /-------------------------------------------------------------------------------------------------------------------------------/
@version 2.2.9 @version 2.2.9
@build 1st February, 2017 @build 2nd February, 2017
@created 30th April, 2015 @created 30th April, 2015
@package Component Builder @package Component Builder
@subpackage css_fullwidth.php @subpackage css_fullwidth.php

View File

@ -11,7 +11,7 @@
/-------------------------------------------------------------------------------------------------------------------------------/ /-------------------------------------------------------------------------------------------------------------------------------/
@version 2.2.9 @version 2.2.9
@build 1st February, 2017 @build 2nd February, 2017
@created 30th April, 2015 @created 30th April, 2015
@package Component Builder @package Component Builder
@subpackage custom_buttons_fullwidth.php @subpackage custom_buttons_fullwidth.php

View File

@ -11,7 +11,7 @@
/-------------------------------------------------------------------------------------------------------------------------------/ /-------------------------------------------------------------------------------------------------------------------------------/
@version 2.2.9 @version 2.2.9
@build 1st February, 2017 @build 2nd February, 2017
@created 30th April, 2015 @created 30th April, 2015
@package Component Builder @package Component Builder
@subpackage custom_buttons_left.php @subpackage custom_buttons_left.php

View File

@ -11,7 +11,7 @@
/-------------------------------------------------------------------------------------------------------------------------------/ /-------------------------------------------------------------------------------------------------------------------------------/
@version 2.2.9 @version 2.2.9
@build 1st February, 2017 @build 2nd February, 2017
@created 30th April, 2015 @created 30th April, 2015
@package Component Builder @package Component Builder
@subpackage custom_import_fullwidth.php @subpackage custom_import_fullwidth.php

View File

@ -11,7 +11,7 @@
/-------------------------------------------------------------------------------------------------------------------------------/ /-------------------------------------------------------------------------------------------------------------------------------/
@version 2.2.9 @version 2.2.9
@build 1st February, 2017 @build 2nd February, 2017
@created 30th April, 2015 @created 30th April, 2015
@package Component Builder @package Component Builder
@subpackage fields_fullwidth.php @subpackage fields_fullwidth.php

View File

@ -11,7 +11,7 @@
/-------------------------------------------------------------------------------------------------------------------------------/ /-------------------------------------------------------------------------------------------------------------------------------/
@version 2.2.9 @version 2.2.9
@build 1st February, 2017 @build 2nd February, 2017
@created 30th April, 2015 @created 30th April, 2015
@package Component Builder @package Component Builder
@subpackage javascript_fullwidth.php @subpackage javascript_fullwidth.php

View File

@ -11,7 +11,7 @@
/-------------------------------------------------------------------------------------------------------------------------------/ /-------------------------------------------------------------------------------------------------------------------------------/
@version 2.2.9 @version 2.2.9
@build 1st February, 2017 @build 2nd February, 2017
@created 30th April, 2015 @created 30th April, 2015
@package Component Builder @package Component Builder
@subpackage linked_components_fullwidth.php @subpackage linked_components_fullwidth.php

View File

@ -11,7 +11,7 @@
/-------------------------------------------------------------------------------------------------------------------------------/ /-------------------------------------------------------------------------------------------------------------------------------/
@version 2.2.9 @version 2.2.9
@build 1st February, 2017 @build 2nd February, 2017
@created 30th April, 2015 @created 30th April, 2015
@package Component Builder @package Component Builder
@subpackage mysql_fullwidth.php @subpackage mysql_fullwidth.php

View File

@ -11,7 +11,7 @@
/-------------------------------------------------------------------------------------------------------------------------------/ /-------------------------------------------------------------------------------------------------------------------------------/
@version 2.2.9 @version 2.2.9
@build 1st February, 2017 @build 2nd February, 2017
@created 30th April, 2015 @created 30th April, 2015
@package Component Builder @package Component Builder
@subpackage mysql_left.php @subpackage mysql_left.php

View File

@ -11,7 +11,7 @@
/-------------------------------------------------------------------------------------------------------------------------------/ /-------------------------------------------------------------------------------------------------------------------------------/
@version 2.2.9 @version 2.2.9
@build 1st February, 2017 @build 2nd February, 2017
@created 30th April, 2015 @created 30th April, 2015
@package Component Builder @package Component Builder
@subpackage php_fullwidth.php @subpackage php_fullwidth.php

View File

@ -11,7 +11,7 @@
/-------------------------------------------------------------------------------------------------------------------------------/ /-------------------------------------------------------------------------------------------------------------------------------/
@version 2.2.9 @version 2.2.9
@build 1st February, 2017 @build 2nd February, 2017
@created 30th April, 2015 @created 30th April, 2015
@package Component Builder @package Component Builder
@subpackage publishing.php @subpackage publishing.php

View File

@ -11,7 +11,7 @@
/-------------------------------------------------------------------------------------------------------------------------------/ /-------------------------------------------------------------------------------------------------------------------------------/
@version 2.2.9 @version 2.2.9
@build 1st February, 2017 @build 2nd February, 2017
@created 30th April, 2015 @created 30th April, 2015
@package Component Builder @package Component Builder
@subpackage publlshing.php @subpackage publlshing.php

View File

@ -11,7 +11,7 @@
/-------------------------------------------------------------------------------------------------------------------------------/ /-------------------------------------------------------------------------------------------------------------------------------/
@version 2.2.9 @version 2.2.9
@build 1st February, 2017 @build 2nd February, 2017
@created 30th April, 2015 @created 30th April, 2015
@package Component Builder @package Component Builder
@subpackage settings_above.php @subpackage settings_above.php

View File

@ -11,7 +11,7 @@
/-------------------------------------------------------------------------------------------------------------------------------/ /-------------------------------------------------------------------------------------------------------------------------------/
@version 2.2.9 @version 2.2.9
@build 1st February, 2017 @build 2nd February, 2017
@created 30th April, 2015 @created 30th April, 2015
@package Component Builder @package Component Builder
@subpackage settings_left.php @subpackage settings_left.php

View File

@ -11,7 +11,7 @@
/-------------------------------------------------------------------------------------------------------------------------------/ /-------------------------------------------------------------------------------------------------------------------------------/
@version 2.2.9 @version 2.2.9
@build 1st February, 2017 @build 2nd February, 2017
@created 30th April, 2015 @created 30th April, 2015
@package Component Builder @package Component Builder
@subpackage settings_right.php @subpackage settings_right.php

View File

@ -11,7 +11,7 @@
/-------------------------------------------------------------------------------------------------------------------------------/ /-------------------------------------------------------------------------------------------------------------------------------/
@version 2.2.9 @version 2.2.9
@build 1st February, 2017 @build 2nd February, 2017
@created 30th April, 2015 @created 30th April, 2015
@package Component Builder @package Component Builder
@subpackage settings_under.php @subpackage settings_under.php

View File

@ -11,7 +11,7 @@
/-------------------------------------------------------------------------------------------------------------------------------/ /-------------------------------------------------------------------------------------------------------------------------------/
@version 2.2.9 @version 2.2.9
@build 1st February, 2017 @build 2nd February, 2017
@created 30th April, 2015 @created 30th April, 2015
@package Component Builder @package Component Builder
@subpackage batchselection.php @subpackage batchselection.php

View File

@ -11,7 +11,7 @@
/-------------------------------------------------------------------------------------------------------------------------------/ /-------------------------------------------------------------------------------------------------------------------------------/
@version 2.2.9 @version 2.2.9
@build 1st February, 2017 @build 2nd February, 2017
@created 30th April, 2015 @created 30th April, 2015
@package Component Builder @package Component Builder
@subpackage admin_views_fullwidth.php @subpackage admin_views_fullwidth.php

View File

@ -11,7 +11,7 @@
/-------------------------------------------------------------------------------------------------------------------------------/ /-------------------------------------------------------------------------------------------------------------------------------/
@version 2.2.9 @version 2.2.9
@build 1st February, 2017 @build 2nd February, 2017
@created 30th April, 2015 @created 30th April, 2015
@package Component Builder @package Component Builder
@subpackage custom_admin_views_fullwidth.php @subpackage custom_admin_views_fullwidth.php

View File

@ -11,7 +11,7 @@
/-------------------------------------------------------------------------------------------------------------------------------/ /-------------------------------------------------------------------------------------------------------------------------------/
@version 2.2.9 @version 2.2.9
@build 1st February, 2017 @build 2nd February, 2017
@created 30th April, 2015 @created 30th April, 2015
@package Component Builder @package Component Builder
@subpackage details_above.php @subpackage details_above.php

View File

@ -11,7 +11,7 @@
/-------------------------------------------------------------------------------------------------------------------------------/ /-------------------------------------------------------------------------------------------------------------------------------/
@version 2.2.9 @version 2.2.9
@build 1st February, 2017 @build 2nd February, 2017
@created 30th April, 2015 @created 30th April, 2015
@package Component Builder @package Component Builder
@subpackage details_left.php @subpackage details_left.php
@ -35,6 +35,8 @@ $fields = $displayData->get('fields') ?: array(
'component_version', 'component_version',
'version_update', 'version_update',
'debug_linenr', 'debug_linenr',
'add_placeholders',
'mvc_versiondate',
'short_description', 'short_description',
'description', 'description',
'copyright' 'copyright'

View File

@ -11,7 +11,7 @@
/-------------------------------------------------------------------------------------------------------------------------------/ /-------------------------------------------------------------------------------------------------------------------------------/
@version 2.2.9 @version 2.2.9
@build 1st February, 2017 @build 2nd February, 2017
@created 30th April, 2015 @created 30th April, 2015
@package Component Builder @package Component Builder
@subpackage details_right.php @subpackage details_right.php

View File

@ -11,7 +11,7 @@
/-------------------------------------------------------------------------------------------------------------------------------/ /-------------------------------------------------------------------------------------------------------------------------------/
@version 2.2.9 @version 2.2.9
@build 1st February, 2017 @build 2nd February, 2017
@created 30th April, 2015 @created 30th April, 2015
@package Component Builder @package Component Builder
@subpackage details_under.php @subpackage details_under.php

View File

@ -11,7 +11,7 @@
/-------------------------------------------------------------------------------------------------------------------------------/ /-------------------------------------------------------------------------------------------------------------------------------/
@version 2.2.9 @version 2.2.9
@build 1st February, 2017 @build 2nd February, 2017
@created 30th April, 2015 @created 30th April, 2015
@package Component Builder @package Component Builder
@subpackage dynamic_build_beta_fullwidth.php @subpackage dynamic_build_beta_fullwidth.php

View File

@ -11,7 +11,7 @@
/-------------------------------------------------------------------------------------------------------------------------------/ /-------------------------------------------------------------------------------------------------------------------------------/
@version 2.2.9 @version 2.2.9
@build 1st February, 2017 @build 2nd February, 2017
@created 30th April, 2015 @created 30th April, 2015
@package Component Builder @package Component Builder
@subpackage dynamic_integration_fullwidth.php @subpackage dynamic_integration_fullwidth.php

View File

@ -11,7 +11,7 @@
/-------------------------------------------------------------------------------------------------------------------------------/ /-------------------------------------------------------------------------------------------------------------------------------/
@version 2.2.9 @version 2.2.9
@build 1st February, 2017 @build 2nd February, 2017
@created 30th April, 2015 @created 30th April, 2015
@package Component Builder @package Component Builder
@subpackage libs_helpers_fullwidth.php @subpackage libs_helpers_fullwidth.php

View File

@ -11,7 +11,7 @@
/-------------------------------------------------------------------------------------------------------------------------------/ /-------------------------------------------------------------------------------------------------------------------------------/
@version 2.2.9 @version 2.2.9
@build 1st February, 2017 @build 2nd February, 2017
@created 30th April, 2015 @created 30th April, 2015
@package Component Builder @package Component Builder
@subpackage mysql_fullwidth.php @subpackage mysql_fullwidth.php

View File

@ -11,7 +11,7 @@
/-------------------------------------------------------------------------------------------------------------------------------/ /-------------------------------------------------------------------------------------------------------------------------------/
@version 2.2.9 @version 2.2.9
@build 1st February, 2017 @build 2nd February, 2017
@created 30th April, 2015 @created 30th April, 2015
@package Component Builder @package Component Builder
@subpackage php_fullwidth.php @subpackage php_fullwidth.php

View File

@ -11,7 +11,7 @@
/-------------------------------------------------------------------------------------------------------------------------------/ /-------------------------------------------------------------------------------------------------------------------------------/
@version 2.2.9 @version 2.2.9
@build 1st February, 2017 @build 2nd February, 2017
@created 30th April, 2015 @created 30th April, 2015
@package Component Builder @package Component Builder
@subpackage publishing.php @subpackage publishing.php

View File

@ -11,7 +11,7 @@
/-------------------------------------------------------------------------------------------------------------------------------/ /-------------------------------------------------------------------------------------------------------------------------------/
@version 2.2.9 @version 2.2.9
@build 1st February, 2017 @build 2nd February, 2017
@created 30th April, 2015 @created 30th April, 2015
@package Component Builder @package Component Builder
@subpackage publlshing.php @subpackage publlshing.php

View File

@ -11,7 +11,7 @@
/-------------------------------------------------------------------------------------------------------------------------------/ /-------------------------------------------------------------------------------------------------------------------------------/
@version 2.2.9 @version 2.2.9
@build 1st February, 2017 @build 2nd February, 2017
@created 30th April, 2015 @created 30th April, 2015
@package Component Builder @package Component Builder
@subpackage readme_left.php @subpackage readme_left.php

View File

@ -11,7 +11,7 @@
/-------------------------------------------------------------------------------------------------------------------------------/ /-------------------------------------------------------------------------------------------------------------------------------/
@version 2.2.9 @version 2.2.9
@build 1st February, 2017 @build 2nd February, 2017
@created 30th April, 2015 @created 30th April, 2015
@package Component Builder @package Component Builder
@subpackage readme_right.php @subpackage readme_right.php

View File

@ -11,7 +11,7 @@
/-------------------------------------------------------------------------------------------------------------------------------/ /-------------------------------------------------------------------------------------------------------------------------------/
@version 2.2.9 @version 2.2.9
@build 1st February, 2017 @build 2nd February, 2017
@created 30th April, 2015 @created 30th April, 2015
@package Component Builder @package Component Builder
@subpackage settings_left.php @subpackage settings_left.php
@ -34,13 +34,13 @@ $fields = $displayData->get('fields') ?: array(
'addadmin_views', 'addadmin_views',
'addcustom_admin_views', 'addcustom_admin_views',
'addsite_views', 'addsite_views',
'spacer_hr_b', 'spacer_hr_c',
'note_mysql_tweak_options', 'note_mysql_tweak_options',
'sql_tweak', 'sql_tweak',
'spacer_hr_c', 'spacer_hr_d',
'note_add_custom_menus', 'note_add_custom_menus',
'addcustommenus', 'addcustommenus',
'spacer_hr_d', 'spacer_hr_e',
'note_add_config', 'note_add_config',
'addconfig' 'addconfig'
); );

View File

@ -11,7 +11,7 @@
/-------------------------------------------------------------------------------------------------------------------------------/ /-------------------------------------------------------------------------------------------------------------------------------/
@version 2.2.9 @version 2.2.9
@build 1st February, 2017 @build 2nd February, 2017
@created 30th April, 2015 @created 30th April, 2015
@package Component Builder @package Component Builder
@subpackage settings_right.php @subpackage settings_right.php
@ -34,10 +34,10 @@ $fields = $displayData->get('fields') ?: array(
'addcontributors', 'addcontributors',
'emptycontributors', 'emptycontributors',
'number', 'number',
'spacer_hr_e', 'spacer_hr_a',
'note_add_files', 'note_add_files',
'addfiles', 'addfiles',
'spacer_hr_a', 'spacer_hr_b',
'note_add_folders', 'note_add_folders',
'addfolders' 'addfolders'
); );

View File

@ -11,7 +11,7 @@
/-------------------------------------------------------------------------------------------------------------------------------/ /-------------------------------------------------------------------------------------------------------------------------------/
@version 2.2.9 @version 2.2.9
@build 1st February, 2017 @build 2nd February, 2017
@created 30th April, 2015 @created 30th April, 2015
@package Component Builder @package Component Builder
@subpackage site_views_fullwidth.php @subpackage site_views_fullwidth.php

View File

@ -11,7 +11,7 @@
/-------------------------------------------------------------------------------------------------------------------------------/ /-------------------------------------------------------------------------------------------------------------------------------/
@version 2.2.9 @version 2.2.9
@build 1st February, 2017 @build 2nd February, 2017
@created 30th April, 2015 @created 30th April, 2015
@package Component Builder @package Component Builder
@subpackage custom_buttons_fullwidth.php @subpackage custom_buttons_fullwidth.php

View File

@ -11,7 +11,7 @@
/-------------------------------------------------------------------------------------------------------------------------------/ /-------------------------------------------------------------------------------------------------------------------------------/
@version 2.2.9 @version 2.2.9
@build 1st February, 2017 @build 2nd February, 2017
@created 30th April, 2015 @created 30th April, 2015
@package Component Builder @package Component Builder
@subpackage custom_buttons_left.php @subpackage custom_buttons_left.php

View File

@ -11,7 +11,7 @@
/-------------------------------------------------------------------------------------------------------------------------------/ /-------------------------------------------------------------------------------------------------------------------------------/
@version 2.2.9 @version 2.2.9
@build 1st February, 2017 @build 2nd February, 2017
@created 30th April, 2015 @created 30th April, 2015
@package Component Builder @package Component Builder
@subpackage custom_script_fullwidth.php @subpackage custom_script_fullwidth.php

View File

@ -11,7 +11,7 @@
/-------------------------------------------------------------------------------------------------------------------------------/ /-------------------------------------------------------------------------------------------------------------------------------/
@version 2.2.9 @version 2.2.9
@build 1st February, 2017 @build 2nd February, 2017
@created 30th April, 2015 @created 30th April, 2015
@package Component Builder @package Component Builder
@subpackage details_above.php @subpackage details_above.php

View File

@ -11,7 +11,7 @@
/-------------------------------------------------------------------------------------------------------------------------------/ /-------------------------------------------------------------------------------------------------------------------------------/
@version 2.2.9 @version 2.2.9
@build 1st February, 2017 @build 2nd February, 2017
@created 30th April, 2015 @created 30th April, 2015
@package Component Builder @package Component Builder
@subpackage details_fullwidth.php @subpackage details_fullwidth.php

View File

@ -11,7 +11,7 @@
/-------------------------------------------------------------------------------------------------------------------------------/ /-------------------------------------------------------------------------------------------------------------------------------/
@version 2.2.9 @version 2.2.9
@build 1st February, 2017 @build 2nd February, 2017
@created 30th April, 2015 @created 30th April, 2015
@package Component Builder @package Component Builder
@subpackage details_left.php @subpackage details_left.php

View File

@ -11,7 +11,7 @@
/-------------------------------------------------------------------------------------------------------------------------------/ /-------------------------------------------------------------------------------------------------------------------------------/
@version 2.2.9 @version 2.2.9
@build 1st February, 2017 @build 2nd February, 2017
@created 30th April, 2015 @created 30th April, 2015
@package Component Builder @package Component Builder
@subpackage details_right.php @subpackage details_right.php

View File

@ -11,7 +11,7 @@
/-------------------------------------------------------------------------------------------------------------------------------/ /-------------------------------------------------------------------------------------------------------------------------------/
@version 2.2.9 @version 2.2.9
@build 1st February, 2017 @build 2nd February, 2017
@created 30th April, 2015 @created 30th April, 2015
@package Component Builder @package Component Builder
@subpackage details_rightside.php @subpackage details_rightside.php

View File

@ -11,7 +11,7 @@
/-------------------------------------------------------------------------------------------------------------------------------/ /-------------------------------------------------------------------------------------------------------------------------------/
@version 2.2.9 @version 2.2.9
@build 1st February, 2017 @build 2nd February, 2017
@created 30th April, 2015 @created 30th April, 2015
@package Component Builder @package Component Builder
@subpackage details_under.php @subpackage details_under.php

View File

@ -11,7 +11,7 @@
/-------------------------------------------------------------------------------------------------------------------------------/ /-------------------------------------------------------------------------------------------------------------------------------/
@version 2.2.9 @version 2.2.9
@build 1st February, 2017 @build 2nd February, 2017
@created 30th April, 2015 @created 30th April, 2015
@package Component Builder @package Component Builder
@subpackage linked_components_fullwidth.php @subpackage linked_components_fullwidth.php

View File

@ -11,7 +11,7 @@
/-------------------------------------------------------------------------------------------------------------------------------/ /-------------------------------------------------------------------------------------------------------------------------------/
@version 2.2.9 @version 2.2.9
@build 1st February, 2017 @build 2nd February, 2017
@created 30th April, 2015 @created 30th April, 2015
@package Component Builder @package Component Builder
@subpackage publishing.php @subpackage publishing.php

View File

@ -11,7 +11,7 @@
/-------------------------------------------------------------------------------------------------------------------------------/ /-------------------------------------------------------------------------------------------------------------------------------/
@version 2.2.9 @version 2.2.9
@build 1st February, 2017 @build 2nd February, 2017
@created 30th April, 2015 @created 30th April, 2015
@package Component Builder @package Component Builder
@subpackage publlshing.php @subpackage publlshing.php

View File

@ -11,7 +11,7 @@
/-------------------------------------------------------------------------------------------------------------------------------/ /-------------------------------------------------------------------------------------------------------------------------------/
@version 2.2.9 @version 2.2.9
@build 1st February, 2017 @build 2nd February, 2017
@created 30th April, 2015 @created 30th April, 2015
@package Component Builder @package Component Builder
@subpackage details_above.php @subpackage details_above.php

View File

@ -11,7 +11,7 @@
/-------------------------------------------------------------------------------------------------------------------------------/ /-------------------------------------------------------------------------------------------------------------------------------/
@version 2.2.9 @version 2.2.9
@build 1st February, 2017 @build 2nd February, 2017
@created 30th April, 2015 @created 30th April, 2015
@package Component Builder @package Component Builder
@subpackage details_fullwidth.php @subpackage details_fullwidth.php

View File

@ -11,7 +11,7 @@
/-------------------------------------------------------------------------------------------------------------------------------/ /-------------------------------------------------------------------------------------------------------------------------------/
@version 2.2.9 @version 2.2.9
@build 1st February, 2017 @build 2nd February, 2017
@created 30th April, 2015 @created 30th April, 2015
@package Component Builder @package Component Builder
@subpackage details_left.php @subpackage details_left.php

View File

@ -11,7 +11,7 @@
/-------------------------------------------------------------------------------------------------------------------------------/ /-------------------------------------------------------------------------------------------------------------------------------/
@version 2.2.9 @version 2.2.9
@build 1st February, 2017 @build 2nd February, 2017
@created 30th April, 2015 @created 30th April, 2015
@package Component Builder @package Component Builder
@subpackage details_right.php @subpackage details_right.php

View File

@ -11,7 +11,7 @@
/-------------------------------------------------------------------------------------------------------------------------------/ /-------------------------------------------------------------------------------------------------------------------------------/
@version 2.2.9 @version 2.2.9
@build 1st February, 2017 @build 2nd February, 2017
@created 30th April, 2015 @created 30th April, 2015
@package Component Builder @package Component Builder
@subpackage publishing.php @subpackage publishing.php

View File

@ -11,7 +11,7 @@
/-------------------------------------------------------------------------------------------------------------------------------/ /-------------------------------------------------------------------------------------------------------------------------------/
@version 2.2.9 @version 2.2.9
@build 1st February, 2017 @build 2nd February, 2017
@created 30th April, 2015 @created 30th April, 2015
@package Component Builder @package Component Builder
@subpackage publlshing.php @subpackage publlshing.php

View File

@ -11,7 +11,7 @@
/-------------------------------------------------------------------------------------------------------------------------------/ /-------------------------------------------------------------------------------------------------------------------------------/
@version 2.2.9 @version 2.2.9
@build 1st February, 2017 @build 2nd February, 2017
@created 30th April, 2015 @created 30th April, 2015
@package Component Builder @package Component Builder
@subpackage abacus_fullwidth.php @subpackage abacus_fullwidth.php

View File

@ -11,7 +11,7 @@
/-------------------------------------------------------------------------------------------------------------------------------/ /-------------------------------------------------------------------------------------------------------------------------------/
@version 2.2.9 @version 2.2.9
@build 1st February, 2017 @build 2nd February, 2017
@created 30th April, 2015 @created 30th April, 2015
@package Component Builder @package Component Builder
@subpackage abacus_left.php @subpackage abacus_left.php

View File

@ -11,7 +11,7 @@
/-------------------------------------------------------------------------------------------------------------------------------/ /-------------------------------------------------------------------------------------------------------------------------------/
@version 2.2.9 @version 2.2.9
@build 1st February, 2017 @build 2nd February, 2017
@created 30th April, 2015 @created 30th April, 2015
@package Component Builder @package Component Builder
@subpackage custom_script_fullwidth.php @subpackage custom_script_fullwidth.php

View File

@ -11,7 +11,7 @@
/-------------------------------------------------------------------------------------------------------------------------------/ /-------------------------------------------------------------------------------------------------------------------------------/
@version 2.2.9 @version 2.2.9
@build 1st February, 2017 @build 2nd February, 2017
@created 30th April, 2015 @created 30th April, 2015
@package Component Builder @package Component Builder
@subpackage gettable_above.php @subpackage gettable_above.php

View File

@ -11,7 +11,7 @@
/-------------------------------------------------------------------------------------------------------------------------------/ /-------------------------------------------------------------------------------------------------------------------------------/
@version 2.2.9 @version 2.2.9
@build 1st February, 2017 @build 2nd February, 2017
@created 30th April, 2015 @created 30th April, 2015
@package Component Builder @package Component Builder
@subpackage gettable_fullwidth.php @subpackage gettable_fullwidth.php

View File

@ -11,7 +11,7 @@
/-------------------------------------------------------------------------------------------------------------------------------/ /-------------------------------------------------------------------------------------------------------------------------------/
@version 2.2.9 @version 2.2.9
@build 1st February, 2017 @build 2nd February, 2017
@created 30th April, 2015 @created 30th April, 2015
@package Component Builder @package Component Builder
@subpackage gettable_left.php @subpackage gettable_left.php

View File

@ -11,7 +11,7 @@
/-------------------------------------------------------------------------------------------------------------------------------/ /-------------------------------------------------------------------------------------------------------------------------------/
@version 2.2.9 @version 2.2.9
@build 1st February, 2017 @build 2nd February, 2017
@created 30th April, 2015 @created 30th April, 2015
@package Component Builder @package Component Builder
@subpackage gettable_right.php @subpackage gettable_right.php

View File

@ -11,7 +11,7 @@
/-------------------------------------------------------------------------------------------------------------------------------/ /-------------------------------------------------------------------------------------------------------------------------------/
@version 2.2.9 @version 2.2.9
@build 1st February, 2017 @build 2nd February, 2017
@created 30th April, 2015 @created 30th April, 2015
@package Component Builder @package Component Builder
@subpackage gettable_under.php @subpackage gettable_under.php

View File

@ -11,7 +11,7 @@
/-------------------------------------------------------------------------------------------------------------------------------/ /-------------------------------------------------------------------------------------------------------------------------------/
@version 2.2.9 @version 2.2.9
@build 1st February, 2017 @build 2nd February, 2017
@created 30th April, 2015 @created 30th April, 2015
@package Component Builder @package Component Builder
@subpackage publishing.php @subpackage publishing.php

View File

@ -11,7 +11,7 @@
/-------------------------------------------------------------------------------------------------------------------------------/ /-------------------------------------------------------------------------------------------------------------------------------/
@version 2.2.9 @version 2.2.9
@build 1st February, 2017 @build 2nd February, 2017
@created 30th April, 2015 @created 30th April, 2015
@package Component Builder @package Component Builder
@subpackage publlshing.php @subpackage publlshing.php

View File

@ -11,7 +11,7 @@
/-------------------------------------------------------------------------------------------------------------------------------/ /-------------------------------------------------------------------------------------------------------------------------------/
@version 2.2.9 @version 2.2.9
@build 1st February, 2017 @build 2nd February, 2017
@created 30th April, 2015 @created 30th April, 2015
@package Component Builder @package Component Builder
@subpackage details_fullwidth.php @subpackage details_fullwidth.php

View File

@ -11,7 +11,7 @@
/-------------------------------------------------------------------------------------------------------------------------------/ /-------------------------------------------------------------------------------------------------------------------------------/
@version 2.2.9 @version 2.2.9
@build 1st February, 2017 @build 2nd February, 2017
@created 30th April, 2015 @created 30th April, 2015
@package Component Builder @package Component Builder
@subpackage details_left.php @subpackage details_left.php

View File

@ -11,7 +11,7 @@
/-------------------------------------------------------------------------------------------------------------------------------/ /-------------------------------------------------------------------------------------------------------------------------------/
@version 2.2.9 @version 2.2.9
@build 1st February, 2017 @build 2nd February, 2017
@created 30th April, 2015 @created 30th April, 2015
@package Component Builder @package Component Builder
@subpackage details_right.php @subpackage details_right.php

View File

@ -11,7 +11,7 @@
/-------------------------------------------------------------------------------------------------------------------------------/ /-------------------------------------------------------------------------------------------------------------------------------/
@version 2.2.9 @version 2.2.9
@build 1st February, 2017 @build 2nd February, 2017
@created 30th April, 2015 @created 30th April, 2015
@package Component Builder @package Component Builder
@subpackage details_under.php @subpackage details_under.php

View File

@ -11,7 +11,7 @@
/-------------------------------------------------------------------------------------------------------------------------------/ /-------------------------------------------------------------------------------------------------------------------------------/
@version 2.2.9 @version 2.2.9
@build 1st February, 2017 @build 2nd February, 2017
@created 30th April, 2015 @created 30th April, 2015
@package Component Builder @package Component Builder
@subpackage linked_admin_views_fullwidth.php @subpackage linked_admin_views_fullwidth.php

View File

@ -11,7 +11,7 @@
/-------------------------------------------------------------------------------------------------------------------------------/ /-------------------------------------------------------------------------------------------------------------------------------/
@version 2.2.9 @version 2.2.9
@build 1st February, 2017 @build 2nd February, 2017
@created 30th April, 2015 @created 30th April, 2015
@package Component Builder @package Component Builder
@subpackage publishing.php @subpackage publishing.php

Some files were not shown because too many files have changed in this diff Show More