Changed alias in site-view and custom-admin-view to codename so we can have views with the same names in different components, added warning notice if custom code can't be added, Bug fixes in the demo content dates

This commit is contained in:
Llewellyn van der Merwe 2017-02-04 02:22:17 +02:00
parent e0efef54e9
commit 3497de7c28
No known key found for this signature in database
GPG Key ID: CAD7B16D27AF28C5
307 changed files with 805 additions and 821 deletions

View File

@ -1,4 +1,4 @@
# Component Builder (2.2.10) # Component Builder (2.3.0)
This is a [Joomla 3.x](http://www.joomla.org/) component. This is a [Joomla 3.x](http://www.joomla.org/) component.
@ -8,7 +8,7 @@ The Component Builder for [Joomla](http://www.joomla.org/) that is highly advanc
Whether you're a seasoned [Joomla](http://www.joomla.org/) developer, or have just started, Component Builder will safe you lots of time and money. A real must have! Whether you're a seasoned [Joomla](http://www.joomla.org/) developer, or have just started, Component Builder will safe you lots of time and money. A real must have!
You can install it quite easily and with no limitations. On [github](https://github.com/vdm-io/Joomla-Component-Builder/releases) is the latest release (2.2.10) with **ALL** its features and **ALL** concepts totally open-source and free! You can install it quite easily and with no limitations. On [github](https://github.com/vdm-io/Joomla-Component-Builder/releases) is the latest release (2.3.0) with **ALL** its features and **ALL** concepts totally open-source and free!
Once installed upgrades are quick and easy via the default Joomla upgrade area. Once installed upgrades are quick and easy via the default Joomla upgrade area.
@ -101,15 +101,15 @@ Component Builder is mapped as a component in itself on my local development env
# Build Details # Build Details
+ *Company*: [Vast Development Method](http://vdm.bz/component-builder) + *Company*: [Vast Development Method](http://vdm.bz/component-builder)
+ *Author*: [Llewellyn van der Merwe](mailto:info@vdm.io) + *Author*: [Llewellyn van der Merwe](mailto:joomla@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*: 2nd February, 2017 + *Last Build*: 4th February, 2017
+ *Version*: 2.2.10 + *Version*: 2.3.0
+ *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*: **91107** + *Line count*: **91058**
+ *File count*: **588** + *File count*: **589**
+ *Folder count*: **105** + *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).

View File

@ -1,4 +1,4 @@
# Component Builder (2.2.10) # Component Builder (2.3.0)
This is a [Joomla 3.x](http://www.joomla.org/) component. This is a [Joomla 3.x](http://www.joomla.org/) component.
@ -8,7 +8,7 @@ The Component Builder for [Joomla](http://www.joomla.org/) that is highly advanc
Whether you're a seasoned [Joomla](http://www.joomla.org/) developer, or have just started, Component Builder will safe you lots of time and money. A real must have! Whether you're a seasoned [Joomla](http://www.joomla.org/) developer, or have just started, Component Builder will safe you lots of time and money. A real must have!
You can install it quite easily and with no limitations. On [github](https://github.com/vdm-io/Joomla-Component-Builder/releases) is the latest release (2.2.10) with **ALL** its features and **ALL** concepts totally open-source and free! You can install it quite easily and with no limitations. On [github](https://github.com/vdm-io/Joomla-Component-Builder/releases) is the latest release (2.3.0) with **ALL** its features and **ALL** concepts totally open-source and free!
Once installed upgrades are quick and easy via the default Joomla upgrade area. Once installed upgrades are quick and easy via the default Joomla upgrade area.
@ -101,15 +101,15 @@ Component Builder is mapped as a component in itself on my local development env
# Build Details # Build Details
+ *Company*: [Vast Development Method](http://vdm.bz/component-builder) + *Company*: [Vast Development Method](http://vdm.bz/component-builder)
+ *Author*: [Llewellyn van der Merwe](mailto:info@vdm.io) + *Author*: [Llewellyn van der Merwe](mailto:joomla@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*: 2nd February, 2017 + *Last Build*: 4th February, 2017
+ *Version*: 2.2.10 + *Version*: 2.3.0
+ *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*: **91107** + *Line count*: **91058**
+ *File count*: **588** + *File count*: **589**
+ *Folder count*: **105** + *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).

View File

@ -9,8 +9,8 @@
|_| |_|
/-------------------------------------------------------------------------------------------------------------------------------/ /-------------------------------------------------------------------------------------------------------------------------------/
@version 2.2.10 @version 2.3.0
@build 2nd February, 2017 @build 4th February, 2017
@created 30th April, 2015 @created 30th April, 2015
@package Component Builder @package Component Builder
@subpackage admin.css @subpackage admin.css

View File

@ -9,8 +9,8 @@
|_| |_|
/-------------------------------------------------------------------------------------------------------------------------------/ /-------------------------------------------------------------------------------------------------------------------------------/
@version @update number 94 of this MVC @version @update number 95 of this MVC
@build 13th January, 2017 @build 3rd February, 2017
@created 30th April, 2015 @created 30th April, 2015
@package Component Builder @package Component Builder
@subpackage admin_view.css @subpackage admin_view.css

View File

@ -9,8 +9,8 @@
|_| |_|
/-------------------------------------------------------------------------------------------------------------------------------/ /-------------------------------------------------------------------------------------------------------------------------------/
@version @update number 94 of this MVC @version @update number 95 of this MVC
@build 13th January, 2017 @build 3rd February, 2017
@created 30th April, 2015 @created 30th April, 2015
@package Component Builder @package Component Builder
@subpackage admin_views.css @subpackage admin_views.css

View File

@ -9,8 +9,8 @@
|_| |_|
/-------------------------------------------------------------------------------------------------------------------------------/ /-------------------------------------------------------------------------------------------------------------------------------/
@version @update number 80 of this MVC @version @update number 81 of this MVC
@build 2nd February, 2017 @build 3rd 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 80 of this MVC @version @update number 81 of this MVC
@build 2nd February, 2017 @build 3rd February, 2017
@created 6th May, 2015 @created 6th May, 2015
@package Component Builder @package Component Builder
@subpackage components.css @subpackage components.css

View File

@ -9,8 +9,8 @@
|_| |_|
/-------------------------------------------------------------------------------------------------------------------------------/ /-------------------------------------------------------------------------------------------------------------------------------/
@version @update number 18 of this MVC @version @update number 22 of this MVC
@build 13th January, 2017 @build 3rd February, 2017
@created 13th August, 2015 @created 13th August, 2015
@package Component Builder @package Component Builder
@subpackage custom_admin_view.css @subpackage custom_admin_view.css

View File

@ -9,8 +9,8 @@
|_| |_|
/-------------------------------------------------------------------------------------------------------------------------------/ /-------------------------------------------------------------------------------------------------------------------------------/
@version @update number 18 of this MVC @version @update number 22 of this MVC
@build 13th January, 2017 @build 3rd February, 2017
@created 13th August, 2015 @created 13th August, 2015
@package Component Builder @package Component Builder
@subpackage custom_admin_views.css @subpackage custom_admin_views.css

View File

@ -9,8 +9,8 @@
|_| |_|
/-------------------------------------------------------------------------------------------------------------------------------/ /-------------------------------------------------------------------------------------------------------------------------------/
@version 2.2.10 @version 2.3.0
@build 2nd February, 2017 @build 4th February, 2017
@created 30th April, 2015 @created 30th April, 2015
@package Component Builder @package Component Builder
@subpackage dashboard.css @subpackage dashboard.css

View File

@ -9,8 +9,8 @@
|_| |_|
/-------------------------------------------------------------------------------------------------------------------------------/ /-------------------------------------------------------------------------------------------------------------------------------/
@version @update number 36 of this MVC @version @update number 37 of this MVC
@build 12th January, 2017 @build 3rd February, 2017
@created 30th April, 2015 @created 30th April, 2015
@package Component Builder @package Component Builder
@subpackage field.css @subpackage field.css

View File

@ -9,8 +9,8 @@
|_| |_|
/-------------------------------------------------------------------------------------------------------------------------------/ /-------------------------------------------------------------------------------------------------------------------------------/
@version @update number 36 of this MVC @version @update number 37 of this MVC
@build 12th January, 2017 @build 3rd February, 2017
@created 30th April, 2015 @created 30th April, 2015
@package Component Builder @package Component Builder
@subpackage fields.css @subpackage fields.css

View File

@ -9,8 +9,8 @@
|_| |_|
/-------------------------------------------------------------------------------------------------------------------------------/ /-------------------------------------------------------------------------------------------------------------------------------/
@version @update number 65 of this MVC @version @update number 66 of this MVC
@build 18th October, 2016 @build 3rd February, 2017
@created 18th May, 2015 @created 18th May, 2015
@package Component Builder @package Component Builder
@subpackage layout.css @subpackage layout.css

View File

@ -9,8 +9,8 @@
|_| |_|
/-------------------------------------------------------------------------------------------------------------------------------/ /-------------------------------------------------------------------------------------------------------------------------------/
@version @update number 65 of this MVC @version @update number 66 of this MVC
@build 18th October, 2016 @build 3rd February, 2017
@created 18th May, 2015 @created 18th May, 2015
@package Component Builder @package Component Builder
@subpackage layouts.css @subpackage layouts.css

View File

@ -9,8 +9,8 @@
|_| |_|
/-------------------------------------------------------------------------------------------------------------------------------/ /-------------------------------------------------------------------------------------------------------------------------------/
@version @update number 44 of this MVC @version @update number 48 of this MVC
@build 29th January, 2017 @build 3rd February, 2017
@created 29th May, 2015 @created 29th May, 2015
@package Component Builder @package Component Builder
@subpackage site_view.css @subpackage site_view.css

View File

@ -9,8 +9,8 @@
|_| |_|
/-------------------------------------------------------------------------------------------------------------------------------/ /-------------------------------------------------------------------------------------------------------------------------------/
@version @update number 44 of this MVC @version @update number 48 of this MVC
@build 29th January, 2017 @build 3rd February, 2017
@created 29th May, 2015 @created 29th May, 2015
@package Component Builder @package Component Builder
@subpackage site_views.css @subpackage site_views.css

View File

@ -9,8 +9,8 @@
|_| |_|
/-------------------------------------------------------------------------------------------------------------------------------/ /-------------------------------------------------------------------------------------------------------------------------------/
@version @update number 39 of this MVC @version @update number 40 of this MVC
@build 18th October, 2016 @build 3rd February, 2017
@created 26th May, 2015 @created 26th May, 2015
@package Component Builder @package Component Builder
@subpackage template.css @subpackage template.css

View File

@ -9,8 +9,8 @@
|_| |_|
/-------------------------------------------------------------------------------------------------------------------------------/ /-------------------------------------------------------------------------------------------------------------------------------/
@version @update number 39 of this MVC @version @update number 40 of this MVC
@build 18th October, 2016 @build 3rd February, 2017
@created 26th May, 2015 @created 26th May, 2015
@package Component Builder @package Component Builder
@subpackage templates.css @subpackage templates.css

View File

@ -10,8 +10,8 @@
|_| |_|
/-------------------------------------------------------------------------------------------------------------------------------/ /-------------------------------------------------------------------------------------------------------------------------------/
@version 2.2.10 @version 2.3.0
@build 2nd February, 2017 @build 4th February, 2017
@created 30th April, 2015 @created 30th April, 2015
@package Component Builder @package Component Builder
@subpackage componentbuilder.php @subpackage componentbuilder.php

View File

@ -81,7 +81,7 @@
label="COM_COMPONENTBUILDER_CONFIG_AUTHOR_EMAIL_LABEL" label="COM_COMPONENTBUILDER_CONFIG_AUTHOR_EMAIL_LABEL"
description="COM_COMPONENTBUILDER_CONFIG_AUTHOR_EMAIL_DESC" description="COM_COMPONENTBUILDER_CONFIG_AUTHOR_EMAIL_DESC"
size="60" size="60"
default="info@vdm.io" default="joomla@vdm.io"
readonly="true" readonly="true"
class="readonly" class="readonly"
/> />

View File

@ -10,8 +10,8 @@
|_| |_|
/-------------------------------------------------------------------------------------------------------------------------------/ /-------------------------------------------------------------------------------------------------------------------------------/
@version 2.2.10 @version 2.3.0
@build 2nd February, 2017 @build 4th February, 2017
@created 30th April, 2015 @created 30th April, 2015
@package Component Builder @package Component Builder
@subpackage controller.php @subpackage controller.php

View File

@ -10,8 +10,8 @@
|_| |_|
/-------------------------------------------------------------------------------------------------------------------------------/ /-------------------------------------------------------------------------------------------------------------------------------/
@version @update number 94 of this MVC @version @update number 95 of this MVC
@build 13th January, 2017 @build 3rd February, 2017
@created 30th April, 2015 @created 30th April, 2015
@package Component Builder @package Component Builder
@subpackage admin_view.php @subpackage admin_view.php

View File

@ -10,8 +10,8 @@
|_| |_|
/-------------------------------------------------------------------------------------------------------------------------------/ /-------------------------------------------------------------------------------------------------------------------------------/
@version @update number 94 of this MVC @version @update number 95 of this MVC
@build 13th January, 2017 @build 3rd February, 2017
@created 30th April, 2015 @created 30th April, 2015
@package Component Builder @package Component Builder
@subpackage admin_views.php @subpackage admin_views.php

View File

@ -10,8 +10,8 @@
|_| |_|
/-------------------------------------------------------------------------------------------------------------------------------/ /-------------------------------------------------------------------------------------------------------------------------------/
@version 2.2.10 @version 2.3.0
@build 2nd February, 2017 @build 4th 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,8 +10,8 @@
|_| |_|
/-------------------------------------------------------------------------------------------------------------------------------/ /-------------------------------------------------------------------------------------------------------------------------------/
@version @update number 80 of this MVC @version @update number 81 of this MVC
@build 2nd February, 2017 @build 3rd February, 2017
@created 6th May, 2015 @created 6th May, 2015
@package Component Builder @package Component Builder
@subpackage component.php @subpackage component.php

View File

@ -10,8 +10,8 @@
|_| |_|
/-------------------------------------------------------------------------------------------------------------------------------/ /-------------------------------------------------------------------------------------------------------------------------------/
@version 2.2.10 @version 2.3.0
@build 2nd February, 2017 @build 4th 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 80 of this MVC @version @update number 81 of this MVC
@build 2nd February, 2017 @build 3rd February, 2017
@created 6th May, 2015 @created 6th May, 2015
@package Component Builder @package Component Builder
@subpackage components.php @subpackage components.php

View File

@ -10,8 +10,8 @@
|_| |_|
/-------------------------------------------------------------------------------------------------------------------------------/ /-------------------------------------------------------------------------------------------------------------------------------/
@version @update number 18 of this MVC @version @update number 22 of this MVC
@build 13th January, 2017 @build 3rd February, 2017
@created 13th August, 2015 @created 13th August, 2015
@package Component Builder @package Component Builder
@subpackage custom_admin_view.php @subpackage custom_admin_view.php

View File

@ -10,8 +10,8 @@
|_| |_|
/-------------------------------------------------------------------------------------------------------------------------------/ /-------------------------------------------------------------------------------------------------------------------------------/
@version @update number 18 of this MVC @version @update number 22 of this MVC
@build 13th January, 2017 @build 3rd February, 2017
@created 13th August, 2015 @created 13th August, 2015
@package Component Builder @package Component Builder
@subpackage custom_admin_views.php @subpackage custom_admin_views.php

View File

@ -10,8 +10,8 @@
|_| |_|
/-------------------------------------------------------------------------------------------------------------------------------/ /-------------------------------------------------------------------------------------------------------------------------------/
@version @update number 36 of this MVC @version @update number 37 of this MVC
@build 12th January, 2017 @build 3rd February, 2017
@created 30th April, 2015 @created 30th April, 2015
@package Component Builder @package Component Builder
@subpackage field.php @subpackage field.php

View File

@ -10,8 +10,8 @@
|_| |_|
/-------------------------------------------------------------------------------------------------------------------------------/ /-------------------------------------------------------------------------------------------------------------------------------/
@version @update number 36 of this MVC @version @update number 37 of this MVC
@build 12th January, 2017 @build 3rd February, 2017
@created 30th April, 2015 @created 30th April, 2015
@package Component Builder @package Component Builder
@subpackage fields.php @subpackage fields.php

View File

@ -10,8 +10,8 @@
|_| |_|
/-------------------------------------------------------------------------------------------------------------------------------/ /-------------------------------------------------------------------------------------------------------------------------------/
@version 2.2.10 @version 2.3.0
@build 2nd February, 2017 @build 4th February, 2017
@created 30th April, 2015 @created 30th April, 2015
@package Component Builder @package Component Builder
@subpackage help.php @subpackage help.php

View File

@ -10,8 +10,8 @@
|_| |_|
/-------------------------------------------------------------------------------------------------------------------------------/ /-------------------------------------------------------------------------------------------------------------------------------/
@version 2.2.10 @version 2.3.0
@build 2nd February, 2017 @build 4th February, 2017
@created 30th April, 2015 @created 30th April, 2015
@package Component Builder @package Component Builder
@subpackage import.php @subpackage import.php

View File

@ -10,8 +10,8 @@
|_| |_|
/-------------------------------------------------------------------------------------------------------------------------------/ /-------------------------------------------------------------------------------------------------------------------------------/
@version @update number 65 of this MVC @version @update number 66 of this MVC
@build 18th October, 2016 @build 3rd February, 2017
@created 18th May, 2015 @created 18th May, 2015
@package Component Builder @package Component Builder
@subpackage layout.php @subpackage layout.php

View File

@ -10,8 +10,8 @@
|_| |_|
/-------------------------------------------------------------------------------------------------------------------------------/ /-------------------------------------------------------------------------------------------------------------------------------/
@version @update number 65 of this MVC @version @update number 66 of this MVC
@build 18th October, 2016 @build 3rd February, 2017
@created 18th May, 2015 @created 18th May, 2015
@package Component Builder @package Component Builder
@subpackage layouts.php @subpackage layouts.php

View File

@ -10,8 +10,8 @@
|_| |_|
/-------------------------------------------------------------------------------------------------------------------------------/ /-------------------------------------------------------------------------------------------------------------------------------/
@version @update number 44 of this MVC @version @update number 48 of this MVC
@build 29th January, 2017 @build 3rd February, 2017
@created 29th May, 2015 @created 29th May, 2015
@package Component Builder @package Component Builder
@subpackage site_view.php @subpackage site_view.php

View File

@ -10,8 +10,8 @@
|_| |_|
/-------------------------------------------------------------------------------------------------------------------------------/ /-------------------------------------------------------------------------------------------------------------------------------/
@version @update number 44 of this MVC @version @update number 48 of this MVC
@build 29th January, 2017 @build 3rd February, 2017
@created 29th May, 2015 @created 29th May, 2015
@package Component Builder @package Component Builder
@subpackage site_views.php @subpackage site_views.php

View File

@ -10,8 +10,8 @@
|_| |_|
/-------------------------------------------------------------------------------------------------------------------------------/ /-------------------------------------------------------------------------------------------------------------------------------/
@version @update number 39 of this MVC @version @update number 40 of this MVC
@build 18th October, 2016 @build 3rd February, 2017
@created 26th May, 2015 @created 26th May, 2015
@package Component Builder @package Component Builder
@subpackage template.php @subpackage template.php

View File

@ -10,8 +10,8 @@
|_| |_|
/-------------------------------------------------------------------------------------------------------------------------------/ /-------------------------------------------------------------------------------------------------------------------------------/
@version @update number 39 of this MVC @version @update number 40 of this MVC
@build 18th October, 2016 @build 3rd February, 2017
@created 26th May, 2015 @created 26th May, 2015
@package Component Builder @package Component Builder
@subpackage templates.php @subpackage templates.php

View File

@ -104,7 +104,9 @@ class Compiler extends Infusion
// now insert into the new files // now insert into the new files
if (ComponentbuilderHelper::checkArray($this->customCode)) if (ComponentbuilderHelper::checkArray($this->customCode))
{ {
$this->addCustomCode(); // load error messages incase code can not be added
$app = JFactory::getApplication();
$this->addCustomCode($app);
} }
// move the update server into place // move the update server into place
$this->setUpdateServer(); $this->setUpdateServer();
@ -589,7 +591,7 @@ class Compiler extends Infusion
return false; return false;
} }
protected function addCustomCode() protected function addCustomCode($app)
{ {
foreach($this->customCode as $nr => $target) foreach($this->customCode as $nr => $target)
{ {
@ -605,6 +607,7 @@ class Compiler extends Infusion
$cut = $size - 1; $cut = $size - 1;
$found = false; $found = false;
$bites = 0; $bites = 0;
$lineBites = array();
$replace = array(); $replace = array();
if ($target['type'] == 1 && isset($target['hashendtarget'][0]) && $target['hashendtarget'][0] > 0) if ($target['type'] == 1 && isset($target['hashendtarget'][0]) && $target['hashendtarget'][0] > 0)
{ {
@ -624,13 +627,15 @@ class Compiler extends Infusion
{ {
foreach (new SplFileObject($file) as $lineNumber => $lineContent) foreach (new SplFileObject($file) as $lineNumber => $lineContent)
{ {
// if not found we need to load line bites per line
$lineBites[$lineNumber] = (int) mb_strlen($lineContent, '8bit');
if (!$found) if (!$found)
{ {
$bites = (int) bcadd(mb_strlen($lineContent, '8bit'), $bites); $bites = (int) bcadd($lineBites[$lineNumber], $bites);
} }
if ($found && !$foundEnd) if ($found && !$foundEnd)
{ {
$replace[] = (int) mb_strlen($lineContent, '8bit'); $replace[] = (int) $lineBites[$lineNumber];
// we musk keep last three lines to dynamic find target entry // we musk keep last three lines to dynamic find target entry
$fingerPrint[$lineNumber] = trim($lineContent); $fingerPrint[$lineNumber] = trim($lineContent);
// check lines each time if it fits our target // check lines each time if it fits our target
@ -649,10 +654,11 @@ class Compiler extends Infusion
$fingerPrint = array_slice($fingerPrint, -$cutEnd, $cutEnd, true); $fingerPrint = array_slice($fingerPrint, -$cutEnd, $cutEnd, true);
} }
} }
continue;
} }
if ($found && $foundEnd) if ($found && $foundEnd)
{ {
$replace[] = (int) mb_strlen($lineContent, '8bit'); $replace[] = (int) $lineBites[$lineNumber];
} }
// we musk keep last three lines to dynamic find target entry // we musk keep last three lines to dynamic find target entry
$fingerPrint[$lineNumber] = trim($lineContent); $fingerPrint[$lineNumber] = trim($lineContent);
@ -681,7 +687,7 @@ class Compiler extends Infusion
if ($found) if ($found)
{ {
$placeholder = $this->getPlaceHolder($target['type'], $target['id']); $placeholder = $this->getPlaceHolder($target['type'], $target['id']);
$data = $placeholder['start'] . "\n" . $target['code'] . $placeholder['end'] . "\n"; $data = $placeholder['start'] . "\n" . $target['code'] . $placeholder['end'];
if ($target['type'] == 2) if ($target['type'] == 2)
{ {
// found it now add code from the next line // found it now add code from the next line
@ -690,26 +696,53 @@ class Compiler extends Infusion
elseif ($target['type'] == 1 && $foundEnd) elseif ($target['type'] == 1 && $foundEnd)
{ {
// found it now add code from the next line // found it now add code from the next line
$this->addDataToFile($file, $data, $bites, (int) array_sum($replace)); $this->addDataToFile($file, $data . "\n", $bites, (int) array_sum($replace));
} }
else else
{ {
// TODO give developer a notice that the code could not be added and needs his attention. // Load escaped code since the target endhash has changed
$this->loadEscapedCode($file, $target, $lineBites);
$app->enqueueMessage(JText::sprintf('Custom code could not be added to <b>%s</b> please review the file at line %s. This could be due to a change to lines below the custom code.', $target['path'], $target['from_line']), 'warning');
} }
} }
else else
{ {
// TODO give developer a notice that the code could not be added and needs his attention. // Load escaped code since the target hash has changed
$this->loadEscapedCode($file, $target, $lineBites);
$app->enqueueMessage(JText::sprintf('Custom code could not be added to <b>%s</b> please review the file at line %s. This could be due to a change to lines above the custom code.', $target['path'], $target['from_line']), 'warning');
} }
} }
else else
{ {
// TODO give developer a notice that the code could not be added and needs his attention. // Give developer a notice that file is not found.
$app->enqueueMessage(JText::sprintf('File <b>%s</b> could not be found, so the custom code for this file could not be addded.', $target['path']), 'warning');
} }
} }
} }
} }
protected function loadEscapedCode($file, $target, $lineBites)
{
// escape the code
$code = explode("\n", $target['code']);
$code = "\n// " .implode("\n// ",$code). "\n";
// get place holders
$placeholder = $this->getPlaceHolder($target['type'], $target['id']);
// build the data
$data = $placeholder['start'] . $code . $placeholder['end']. "\n";
// get the bites before insertion
$bitBucket = array();
foreach($lineBites as $line => $value)
{
if ($line < $target['from_line'])
{
$bitBucket[] = $value;
}
}
// add to the file
$this->addDataToFile($file, $data, (int) array_sum($bitBucket));
}
// Thanks to http://stackoverflow.com/a/16813550/1429677 // Thanks to http://stackoverflow.com/a/16813550/1429677
protected function addDataToFile($file, $data, $position, $replace = null) protected function addDataToFile($file, $data, $position, $replace = null)
{ {

View File

@ -1295,7 +1295,7 @@ class Get
$view->default = base64_decode($view->default); $view->default = base64_decode($view->default);
$view->default = $this->setCustomContentLang($view->default); $view->default = $this->setCustomContentLang($view->default);
// fix alias to use in code // fix alias to use in code
$view->code = $this->uniqueCode(ComponentbuilderHelper::safeString($view->alias)); $view->code = $this->uniqueCode(ComponentbuilderHelper::safeString($view->codename));
$view->Code = ComponentbuilderHelper::safeString($view->code, 'F'); $view->Code = ComponentbuilderHelper::safeString($view->code, 'F');
$view->CODE = ComponentbuilderHelper::safeString($view->code, 'U'); $view->CODE = ComponentbuilderHelper::safeString($view->code, 'U');
// insure the uikit components are loaded // insure the uikit components are loaded
@ -2985,8 +2985,8 @@ class Get
else else
{ {
return array( return array(
'start' => '', 'start' => "\t\t//////////////////////////////////////////",
'end' => ''); 'end' => "\t\t//////////////////////////////////////////");
} }
break; break;
case 2: case 2:
@ -3000,8 +3000,8 @@ class Get
else else
{ {
return array( return array(
'start' => '', 'start' => "\t\t//////////////////////////////////////////",
'end' => ''); 'end' => "\t\t//////////////////////////////////////////");
} }
break; break;
} }

View File

@ -10,8 +10,8 @@
|_| |_|
/-------------------------------------------------------------------------------------------------------------------------------/ /-------------------------------------------------------------------------------------------------------------------------------/
@version 2.2.10 @version 2.3.0
@build 2nd February, 2017 @build 4th 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 2.2.10 @version 2.3.0
@build 2nd February, 2017 @build 4th February, 2017
@created 30th April, 2015 @created 30th April, 2015
@package Component Builder @package Component Builder
@subpackage headercheck.php @subpackage headercheck.php

View File

@ -10,8 +10,8 @@
|_| |_|
/-------------------------------------------------------------------------------------------------------------------------------/ /-------------------------------------------------------------------------------------------------------------------------------/
@version 2.2.10 @version 2.3.0
@build 2nd February, 2017 @build 4th February, 2017
@created 30th April, 2015 @created 30th April, 2015
@package Component Builder @package Component Builder
@subpackage batch_.php @subpackage batch_.php

View File

@ -10,8 +10,8 @@
|_| |_|
/-------------------------------------------------------------------------------------------------------------------------------/ /-------------------------------------------------------------------------------------------------------------------------------/
@version 2.2.10 @version 2.3.0
@build 2nd February, 2017 @build 4th February, 2017
@created 30th April, 2015 @created 30th April, 2015
@package Component Builder @package Component Builder
@subpackage indenter.php @subpackage indenter.php

View File

@ -10,8 +10,8 @@
|_| |_|
/-------------------------------------------------------------------------------------------------------------------------------/ /-------------------------------------------------------------------------------------------------------------------------------/
@version 2.2.10 @version 2.3.0
@build 2nd February, 2017 @build 4th February, 2017
@created 30th April, 2015 @created 30th April, 2015
@package Component Builder @package Component Builder
@subpackage js.php @subpackage js.php

View File

@ -10,8 +10,8 @@
|_| |_|
/-------------------------------------------------------------------------------------------------------------------------------/ /-------------------------------------------------------------------------------------------------------------------------------/
@version 2.2.10 @version 2.3.0
@build 2nd February, 2017 @build 4th February, 2017
@created 30th April, 2015 @created 30th April, 2015
@package Component Builder @package Component Builder
@subpackage minify.php @subpackage minify.php

View File

@ -1532,10 +1532,6 @@ COM_COMPONENTBUILDER_CUSTOM_ADMIN_VIEW_ADD_PHP_JVIEW_DISPLAY_LABEL="Add PHP (cus
COM_COMPONENTBUILDER_CUSTOM_ADMIN_VIEW_ADD_PHP_JVIEW_LABEL="Add PHP (custom JViewLegacy methods)" COM_COMPONENTBUILDER_CUSTOM_ADMIN_VIEW_ADD_PHP_JVIEW_LABEL="Add PHP (custom JViewLegacy methods)"
COM_COMPONENTBUILDER_CUSTOM_ADMIN_VIEW_ADD_PHP_VIEW="Add Php View" COM_COMPONENTBUILDER_CUSTOM_ADMIN_VIEW_ADD_PHP_VIEW="Add Php View"
COM_COMPONENTBUILDER_CUSTOM_ADMIN_VIEW_ADD_PHP_VIEW_LABEL="Add PHP (custom view script)" COM_COMPONENTBUILDER_CUSTOM_ADMIN_VIEW_ADD_PHP_VIEW_LABEL="Add PHP (custom view script)"
COM_COMPONENTBUILDER_CUSTOM_ADMIN_VIEW_ALIAS="Alias"
COM_COMPONENTBUILDER_CUSTOM_ADMIN_VIEW_ALIAS_DESCRIPTION="Add Name in Code Here"
COM_COMPONENTBUILDER_CUSTOM_ADMIN_VIEW_ALIAS_HINT="codename"
COM_COMPONENTBUILDER_CUSTOM_ADMIN_VIEW_ALIAS_LABEL="Name in Code"
COM_COMPONENTBUILDER_CUSTOM_ADMIN_VIEW_ARCHIVE="Archive" COM_COMPONENTBUILDER_CUSTOM_ADMIN_VIEW_ARCHIVE="Archive"
COM_COMPONENTBUILDER_CUSTOM_ADMIN_VIEW_ARROW_DOWN="Arrow Down" COM_COMPONENTBUILDER_CUSTOM_ADMIN_VIEW_ARROW_DOWN="Arrow Down"
COM_COMPONENTBUILDER_CUSTOM_ADMIN_VIEW_ARROW_DOWN_FOUR="Arrow Down 4" COM_COMPONENTBUILDER_CUSTOM_ADMIN_VIEW_ARROW_DOWN_FOUR="Arrow Down 4"
@ -1584,6 +1580,10 @@ COM_COMPONENTBUILDER_CUSTOM_ADMIN_VIEW_CHECKMARK_CIRCLE="Checkmark Circle"
COM_COMPONENTBUILDER_CUSTOM_ADMIN_VIEW_CHECKMARK_TWO="Checkmark 2" COM_COMPONENTBUILDER_CUSTOM_ADMIN_VIEW_CHECKMARK_TWO="Checkmark 2"
COM_COMPONENTBUILDER_CUSTOM_ADMIN_VIEW_CIRCLE="Circle" COM_COMPONENTBUILDER_CUSTOM_ADMIN_VIEW_CIRCLE="Circle"
COM_COMPONENTBUILDER_CUSTOM_ADMIN_VIEW_CLOCK="Clock" COM_COMPONENTBUILDER_CUSTOM_ADMIN_VIEW_CLOCK="Clock"
COM_COMPONENTBUILDER_CUSTOM_ADMIN_VIEW_CODENAME="Codename"
COM_COMPONENTBUILDER_CUSTOM_ADMIN_VIEW_CODENAME_DESCRIPTION="Add Name in Code Here"
COM_COMPONENTBUILDER_CUSTOM_ADMIN_VIEW_CODENAME_HINT="codename"
COM_COMPONENTBUILDER_CUSTOM_ADMIN_VIEW_CODENAME_LABEL="Name in Code"
COM_COMPONENTBUILDER_CUSTOM_ADMIN_VIEW_COG="Cog" COM_COMPONENTBUILDER_CUSTOM_ADMIN_VIEW_COG="Cog"
COM_COMPONENTBUILDER_CUSTOM_ADMIN_VIEW_COGS="Cogs" COM_COMPONENTBUILDER_CUSTOM_ADMIN_VIEW_COGS="Cogs"
COM_COMPONENTBUILDER_CUSTOM_ADMIN_VIEW_COMMENT="Comment" COM_COMPONENTBUILDER_CUSTOM_ADMIN_VIEW_COMMENT="Comment"
@ -2924,10 +2924,6 @@ COM_COMPONENTBUILDER_SITE_VIEW_ADD_PHP_VIEW_LABEL="Add PHP (custom view script)"
COM_COMPONENTBUILDER_SITE_VIEW_AJAX_INPUT="Ajax Input" COM_COMPONENTBUILDER_SITE_VIEW_AJAX_INPUT="Ajax Input"
COM_COMPONENTBUILDER_SITE_VIEW_AJAX_INPUT_LABEL="Ajax Input" COM_COMPONENTBUILDER_SITE_VIEW_AJAX_INPUT_LABEL="Ajax Input"
COM_COMPONENTBUILDER_SITE_VIEW_AJAX_INPUT_SELECT="Add" COM_COMPONENTBUILDER_SITE_VIEW_AJAX_INPUT_SELECT="Add"
COM_COMPONENTBUILDER_SITE_VIEW_ALIAS="Alias"
COM_COMPONENTBUILDER_SITE_VIEW_ALIAS_DESCRIPTION="Add Name in Code Here"
COM_COMPONENTBUILDER_SITE_VIEW_ALIAS_HINT="codename"
COM_COMPONENTBUILDER_SITE_VIEW_ALIAS_LABEL="Name in Code"
COM_COMPONENTBUILDER_SITE_VIEW_ALNUM="ALNUM" COM_COMPONENTBUILDER_SITE_VIEW_ALNUM="ALNUM"
COM_COMPONENTBUILDER_SITE_VIEW_ARCHIVE="Archive" COM_COMPONENTBUILDER_SITE_VIEW_ARCHIVE="Archive"
COM_COMPONENTBUILDER_SITE_VIEW_ARRAY="ARRAY" COM_COMPONENTBUILDER_SITE_VIEW_ARRAY="ARRAY"
@ -2986,6 +2982,10 @@ COM_COMPONENTBUILDER_SITE_VIEW_CHECKMARK_TWO="Checkmark 2"
COM_COMPONENTBUILDER_SITE_VIEW_CIRCLE="Circle" COM_COMPONENTBUILDER_SITE_VIEW_CIRCLE="Circle"
COM_COMPONENTBUILDER_SITE_VIEW_CLOCK="Clock" COM_COMPONENTBUILDER_SITE_VIEW_CLOCK="Clock"
COM_COMPONENTBUILDER_SITE_VIEW_CMD="CMD" COM_COMPONENTBUILDER_SITE_VIEW_CMD="CMD"
COM_COMPONENTBUILDER_SITE_VIEW_CODENAME="Codename"
COM_COMPONENTBUILDER_SITE_VIEW_CODENAME_DESCRIPTION="Add Name in Code Here"
COM_COMPONENTBUILDER_SITE_VIEW_CODENAME_HINT="codename"
COM_COMPONENTBUILDER_SITE_VIEW_CODENAME_LABEL="Name in Code"
COM_COMPONENTBUILDER_SITE_VIEW_COG="Cog" COM_COMPONENTBUILDER_SITE_VIEW_COG="Cog"
COM_COMPONENTBUILDER_SITE_VIEW_COGS="Cogs" COM_COMPONENTBUILDER_SITE_VIEW_COGS="Cogs"
COM_COMPONENTBUILDER_SITE_VIEW_COMMENT="Comment" COM_COMPONENTBUILDER_SITE_VIEW_COMMENT="Comment"

View File

@ -10,8 +10,8 @@
|_| |_|
/-------------------------------------------------------------------------------------------------------------------------------/ /-------------------------------------------------------------------------------------------------------------------------------/
@version 2.2.10 @version 2.3.0
@build 2nd February, 2017 @build 4th 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

@ -10,8 +10,8 @@
|_| |_|
/-------------------------------------------------------------------------------------------------------------------------------/ /-------------------------------------------------------------------------------------------------------------------------------/
@version 2.2.10 @version 2.3.0
@build 2nd February, 2017 @build 4th 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

@ -10,8 +10,8 @@
|_| |_|
/-------------------------------------------------------------------------------------------------------------------------------/ /-------------------------------------------------------------------------------------------------------------------------------/
@version 2.2.10 @version 2.3.0
@build 2nd February, 2017 @build 4th 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

@ -10,8 +10,8 @@
|_| |_|
/-------------------------------------------------------------------------------------------------------------------------------/ /-------------------------------------------------------------------------------------------------------------------------------/
@version 2.2.10 @version 2.3.0
@build 2nd February, 2017 @build 4th 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

@ -10,8 +10,8 @@
|_| |_|
/-------------------------------------------------------------------------------------------------------------------------------/ /-------------------------------------------------------------------------------------------------------------------------------/
@version 2.2.10 @version 2.3.0
@build 2nd February, 2017 @build 4th 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

@ -10,8 +10,8 @@
|_| |_|
/-------------------------------------------------------------------------------------------------------------------------------/ /-------------------------------------------------------------------------------------------------------------------------------/
@version 2.2.10 @version 2.3.0
@build 2nd February, 2017 @build 4th 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

@ -10,8 +10,8 @@
|_| |_|
/-------------------------------------------------------------------------------------------------------------------------------/ /-------------------------------------------------------------------------------------------------------------------------------/
@version 2.2.10 @version 2.3.0
@build 2nd February, 2017 @build 4th 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

@ -10,8 +10,8 @@
|_| |_|
/-------------------------------------------------------------------------------------------------------------------------------/ /-------------------------------------------------------------------------------------------------------------------------------/
@version 2.2.10 @version 2.3.0
@build 2nd February, 2017 @build 4th 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

@ -10,8 +10,8 @@
|_| |_|
/-------------------------------------------------------------------------------------------------------------------------------/ /-------------------------------------------------------------------------------------------------------------------------------/
@version 2.2.10 @version 2.3.0
@build 2nd February, 2017 @build 4th 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

@ -10,8 +10,8 @@
|_| |_|
/-------------------------------------------------------------------------------------------------------------------------------/ /-------------------------------------------------------------------------------------------------------------------------------/
@version 2.2.10 @version 2.3.0
@build 2nd February, 2017 @build 4th 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

@ -10,8 +10,8 @@
|_| |_|
/-------------------------------------------------------------------------------------------------------------------------------/ /-------------------------------------------------------------------------------------------------------------------------------/
@version 2.2.10 @version 2.3.0
@build 2nd February, 2017 @build 4th February, 2017
@created 30th April, 2015 @created 30th April, 2015
@package Component Builder @package Component Builder
@subpackage publishing.php @subpackage publishing.php

View File

@ -10,8 +10,8 @@
|_| |_|
/-------------------------------------------------------------------------------------------------------------------------------/ /-------------------------------------------------------------------------------------------------------------------------------/
@version 2.2.10 @version 2.3.0
@build 2nd February, 2017 @build 4th February, 2017
@created 30th April, 2015 @created 30th April, 2015
@package Component Builder @package Component Builder
@subpackage publlshing.php @subpackage publlshing.php

View File

@ -10,8 +10,8 @@
|_| |_|
/-------------------------------------------------------------------------------------------------------------------------------/ /-------------------------------------------------------------------------------------------------------------------------------/
@version 2.2.10 @version 2.3.0
@build 2nd February, 2017 @build 4th 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

@ -10,8 +10,8 @@
|_| |_|
/-------------------------------------------------------------------------------------------------------------------------------/ /-------------------------------------------------------------------------------------------------------------------------------/
@version 2.2.10 @version 2.3.0
@build 2nd February, 2017 @build 4th 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

@ -10,8 +10,8 @@
|_| |_|
/-------------------------------------------------------------------------------------------------------------------------------/ /-------------------------------------------------------------------------------------------------------------------------------/
@version 2.2.10 @version 2.3.0
@build 2nd February, 2017 @build 4th 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

@ -10,8 +10,8 @@
|_| |_|
/-------------------------------------------------------------------------------------------------------------------------------/ /-------------------------------------------------------------------------------------------------------------------------------/
@version 2.2.10 @version 2.3.0
@build 2nd February, 2017 @build 4th 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

@ -10,8 +10,8 @@
|_| |_|
/-------------------------------------------------------------------------------------------------------------------------------/ /-------------------------------------------------------------------------------------------------------------------------------/
@version 2.2.10 @version 2.3.0
@build 2nd February, 2017 @build 4th February, 2017
@created 30th April, 2015 @created 30th April, 2015
@package Component Builder @package Component Builder
@subpackage batchselection.php @subpackage batchselection.php

View File

@ -10,8 +10,8 @@
|_| |_|
/-------------------------------------------------------------------------------------------------------------------------------/ /-------------------------------------------------------------------------------------------------------------------------------/
@version 2.2.10 @version 2.3.0
@build 2nd February, 2017 @build 4th 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

@ -10,8 +10,8 @@
|_| |_|
/-------------------------------------------------------------------------------------------------------------------------------/ /-------------------------------------------------------------------------------------------------------------------------------/
@version 2.2.10 @version 2.3.0
@build 2nd February, 2017 @build 4th 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
@ -52,7 +52,7 @@ $can = ComponentbuilderHelper::getActions('custom_admin_view');
<?php echo JText::_('COM_COMPONENTBUILDER_CUSTOM_ADMIN_VIEW_NAME_LABEL'); ?> <?php echo JText::_('COM_COMPONENTBUILDER_CUSTOM_ADMIN_VIEW_NAME_LABEL'); ?>
</th> </th>
<th data-breakpoints="xs sm" data-type="html" data-sort-use="text"> <th data-breakpoints="xs sm" data-type="html" data-sort-use="text">
<?php echo JText::_('COM_COMPONENTBUILDER_CUSTOM_ADMIN_VIEW_ALIAS_LABEL'); ?> <?php echo JText::_('COM_COMPONENTBUILDER_CUSTOM_ADMIN_VIEW_CODENAME_LABEL'); ?>
</th> </th>
<th data-breakpoints="xs sm md" data-type="html" data-sort-use="text"> <th data-breakpoints="xs sm md" data-type="html" data-sort-use="text">
<?php echo JText::_('COM_COMPONENTBUILDER_CUSTOM_ADMIN_VIEW_DESCRIPTION_LABEL'); ?> <?php echo JText::_('COM_COMPONENTBUILDER_CUSTOM_ADMIN_VIEW_DESCRIPTION_LABEL'); ?>
@ -90,7 +90,7 @@ $can = ComponentbuilderHelper::getActions('custom_admin_view');
<?php echo $displayData->escape($item->name); ?> <?php echo $displayData->escape($item->name); ?>
</td> </td>
<td> <td>
<?php echo $displayData->escape($item->alias); ?> <?php echo $displayData->escape($item->codename); ?>
</td> </td>
<td> <td>
<?php echo $displayData->escape($item->description); ?> <?php echo $displayData->escape($item->description); ?>

View File

@ -10,8 +10,8 @@
|_| |_|
/-------------------------------------------------------------------------------------------------------------------------------/ /-------------------------------------------------------------------------------------------------------------------------------/
@version 2.2.10 @version 2.3.0
@build 2nd February, 2017 @build 4th 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

@ -10,8 +10,8 @@
|_| |_|
/-------------------------------------------------------------------------------------------------------------------------------/ /-------------------------------------------------------------------------------------------------------------------------------/
@version 2.2.10 @version 2.3.0
@build 2nd February, 2017 @build 4th 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

@ -10,8 +10,8 @@
|_| |_|
/-------------------------------------------------------------------------------------------------------------------------------/ /-------------------------------------------------------------------------------------------------------------------------------/
@version 2.2.10 @version 2.3.0
@build 2nd February, 2017 @build 4th 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

@ -10,8 +10,8 @@
|_| |_|
/-------------------------------------------------------------------------------------------------------------------------------/ /-------------------------------------------------------------------------------------------------------------------------------/
@version 2.2.10 @version 2.3.0
@build 2nd February, 2017 @build 4th 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

@ -10,8 +10,8 @@
|_| |_|
/-------------------------------------------------------------------------------------------------------------------------------/ /-------------------------------------------------------------------------------------------------------------------------------/
@version 2.2.10 @version 2.3.0
@build 2nd February, 2017 @build 4th 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

@ -10,8 +10,8 @@
|_| |_|
/-------------------------------------------------------------------------------------------------------------------------------/ /-------------------------------------------------------------------------------------------------------------------------------/
@version 2.2.10 @version 2.3.0
@build 2nd February, 2017 @build 4th 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

@ -10,8 +10,8 @@
|_| |_|
/-------------------------------------------------------------------------------------------------------------------------------/ /-------------------------------------------------------------------------------------------------------------------------------/
@version 2.2.10 @version 2.3.0
@build 2nd February, 2017 @build 4th 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

@ -10,8 +10,8 @@
|_| |_|
/-------------------------------------------------------------------------------------------------------------------------------/ /-------------------------------------------------------------------------------------------------------------------------------/
@version 2.2.10 @version 2.3.0
@build 2nd February, 2017 @build 4th 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

@ -10,8 +10,8 @@
|_| |_|
/-------------------------------------------------------------------------------------------------------------------------------/ /-------------------------------------------------------------------------------------------------------------------------------/
@version 2.2.10 @version 2.3.0
@build 2nd February, 2017 @build 4th 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

@ -10,8 +10,8 @@
|_| |_|
/-------------------------------------------------------------------------------------------------------------------------------/ /-------------------------------------------------------------------------------------------------------------------------------/
@version 2.2.10 @version 2.3.0
@build 2nd February, 2017 @build 4th February, 2017
@created 30th April, 2015 @created 30th April, 2015
@package Component Builder @package Component Builder
@subpackage publishing.php @subpackage publishing.php

View File

@ -10,8 +10,8 @@
|_| |_|
/-------------------------------------------------------------------------------------------------------------------------------/ /-------------------------------------------------------------------------------------------------------------------------------/
@version 2.2.10 @version 2.3.0
@build 2nd February, 2017 @build 4th February, 2017
@created 30th April, 2015 @created 30th April, 2015
@package Component Builder @package Component Builder
@subpackage publlshing.php @subpackage publlshing.php

View File

@ -10,8 +10,8 @@
|_| |_|
/-------------------------------------------------------------------------------------------------------------------------------/ /-------------------------------------------------------------------------------------------------------------------------------/
@version 2.2.10 @version 2.3.0
@build 2nd February, 2017 @build 4th 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

@ -10,8 +10,8 @@
|_| |_|
/-------------------------------------------------------------------------------------------------------------------------------/ /-------------------------------------------------------------------------------------------------------------------------------/
@version 2.2.10 @version 2.3.0
@build 2nd February, 2017 @build 4th 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

@ -10,8 +10,8 @@
|_| |_|
/-------------------------------------------------------------------------------------------------------------------------------/ /-------------------------------------------------------------------------------------------------------------------------------/
@version 2.2.10 @version 2.3.0
@build 2nd February, 2017 @build 4th 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

@ -10,8 +10,8 @@
|_| |_|
/-------------------------------------------------------------------------------------------------------------------------------/ /-------------------------------------------------------------------------------------------------------------------------------/
@version 2.2.10 @version 2.3.0
@build 2nd February, 2017 @build 4th 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

@ -10,8 +10,8 @@
|_| |_|
/-------------------------------------------------------------------------------------------------------------------------------/ /-------------------------------------------------------------------------------------------------------------------------------/
@version 2.2.10 @version 2.3.0
@build 2nd February, 2017 @build 4th 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
@ -52,7 +52,7 @@ $can = ComponentbuilderHelper::getActions('site_view');
<?php echo JText::_('COM_COMPONENTBUILDER_SITE_VIEW_NAME_LABEL'); ?> <?php echo JText::_('COM_COMPONENTBUILDER_SITE_VIEW_NAME_LABEL'); ?>
</th> </th>
<th data-breakpoints="xs sm" data-type="html" data-sort-use="text"> <th data-breakpoints="xs sm" data-type="html" data-sort-use="text">
<?php echo JText::_('COM_COMPONENTBUILDER_SITE_VIEW_ALIAS_LABEL'); ?> <?php echo JText::_('COM_COMPONENTBUILDER_SITE_VIEW_CODENAME_LABEL'); ?>
</th> </th>
<th data-breakpoints="xs sm md" data-type="html" data-sort-use="text"> <th data-breakpoints="xs sm md" data-type="html" data-sort-use="text">
<?php echo JText::_('COM_COMPONENTBUILDER_SITE_VIEW_DESCRIPTION_LABEL'); ?> <?php echo JText::_('COM_COMPONENTBUILDER_SITE_VIEW_DESCRIPTION_LABEL'); ?>
@ -90,7 +90,7 @@ $can = ComponentbuilderHelper::getActions('site_view');
<?php echo $displayData->escape($item->name); ?> <?php echo $displayData->escape($item->name); ?>
</td> </td>
<td> <td>
<?php echo $displayData->escape($item->alias); ?> <?php echo $displayData->escape($item->codename); ?>
</td> </td>
<td> <td>
<?php echo $displayData->escape($item->description); ?> <?php echo $displayData->escape($item->description); ?>

View File

@ -10,8 +10,8 @@
|_| |_|
/-------------------------------------------------------------------------------------------------------------------------------/ /-------------------------------------------------------------------------------------------------------------------------------/
@version 2.2.10 @version 2.3.0
@build 2nd February, 2017 @build 4th 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

@ -10,8 +10,8 @@
|_| |_|
/-------------------------------------------------------------------------------------------------------------------------------/ /-------------------------------------------------------------------------------------------------------------------------------/
@version 2.2.10 @version 2.3.0
@build 2nd February, 2017 @build 4th 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

@ -10,8 +10,8 @@
|_| |_|
/-------------------------------------------------------------------------------------------------------------------------------/ /-------------------------------------------------------------------------------------------------------------------------------/
@version 2.2.10 @version 2.3.0
@build 2nd February, 2017 @build 4th 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

@ -10,8 +10,8 @@
|_| |_|
/-------------------------------------------------------------------------------------------------------------------------------/ /-------------------------------------------------------------------------------------------------------------------------------/
@version 2.2.10 @version 2.3.0
@build 2nd February, 2017 @build 4th 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

@ -10,8 +10,8 @@
|_| |_|
/-------------------------------------------------------------------------------------------------------------------------------/ /-------------------------------------------------------------------------------------------------------------------------------/
@version 2.2.10 @version 2.3.0
@build 2nd February, 2017 @build 4th 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

@ -10,8 +10,8 @@
|_| |_|
/-------------------------------------------------------------------------------------------------------------------------------/ /-------------------------------------------------------------------------------------------------------------------------------/
@version 2.2.10 @version 2.3.0
@build 2nd February, 2017 @build 4th February, 2017
@created 30th April, 2015 @created 30th April, 2015
@package Component Builder @package Component Builder
@subpackage details_left.php @subpackage details_left.php
@ -31,7 +31,7 @@ $form = $displayData->getForm();
$fields = $displayData->get('fields') ?: array( $fields = $displayData->get('fields') ?: array(
'name', 'name',
'alias', 'codename',
'description', 'description',
'snippet', 'snippet',
'note_snippet_usage' 'note_snippet_usage'

View File

@ -10,8 +10,8 @@
|_| |_|
/-------------------------------------------------------------------------------------------------------------------------------/ /-------------------------------------------------------------------------------------------------------------------------------/
@version 2.2.10 @version 2.3.0
@build 2nd February, 2017 @build 4th 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

@ -10,8 +10,8 @@
|_| |_|
/-------------------------------------------------------------------------------------------------------------------------------/ /-------------------------------------------------------------------------------------------------------------------------------/
@version 2.2.10 @version 2.3.0
@build 2nd February, 2017 @build 4th 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

@ -10,8 +10,8 @@
|_| |_|
/-------------------------------------------------------------------------------------------------------------------------------/ /-------------------------------------------------------------------------------------------------------------------------------/
@version 2.2.10 @version 2.3.0
@build 2nd February, 2017 @build 4th 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

@ -10,8 +10,8 @@
|_| |_|
/-------------------------------------------------------------------------------------------------------------------------------/ /-------------------------------------------------------------------------------------------------------------------------------/
@version 2.2.10 @version 2.3.0
@build 2nd February, 2017 @build 4th 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

@ -10,8 +10,8 @@
|_| |_|
/-------------------------------------------------------------------------------------------------------------------------------/ /-------------------------------------------------------------------------------------------------------------------------------/
@version 2.2.10 @version 2.3.0
@build 2nd February, 2017 @build 4th February, 2017
@created 30th April, 2015 @created 30th April, 2015
@package Component Builder @package Component Builder
@subpackage publishing.php @subpackage publishing.php

View File

@ -10,8 +10,8 @@
|_| |_|
/-------------------------------------------------------------------------------------------------------------------------------/ /-------------------------------------------------------------------------------------------------------------------------------/
@version 2.2.10 @version 2.3.0
@build 2nd February, 2017 @build 4th February, 2017
@created 30th April, 2015 @created 30th April, 2015
@package Component Builder @package Component Builder
@subpackage publlshing.php @subpackage publlshing.php

View File

@ -10,8 +10,8 @@
|_| |_|
/-------------------------------------------------------------------------------------------------------------------------------/ /-------------------------------------------------------------------------------------------------------------------------------/
@version 2.2.10 @version 2.3.0
@build 2nd February, 2017 @build 4th 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

@ -10,8 +10,8 @@
|_| |_|
/-------------------------------------------------------------------------------------------------------------------------------/ /-------------------------------------------------------------------------------------------------------------------------------/
@version 2.2.10 @version 2.3.0
@build 2nd February, 2017 @build 4th 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

@ -10,8 +10,8 @@
|_| |_|
/-------------------------------------------------------------------------------------------------------------------------------/ /-------------------------------------------------------------------------------------------------------------------------------/
@version 2.2.10 @version 2.3.0
@build 2nd February, 2017 @build 4th 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

@ -10,8 +10,8 @@
|_| |_|
/-------------------------------------------------------------------------------------------------------------------------------/ /-------------------------------------------------------------------------------------------------------------------------------/
@version 2.2.10 @version 2.3.0
@build 2nd February, 2017 @build 4th 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

@ -10,8 +10,8 @@
|_| |_|
/-------------------------------------------------------------------------------------------------------------------------------/ /-------------------------------------------------------------------------------------------------------------------------------/
@version 2.2.10 @version 2.3.0
@build 2nd February, 2017 @build 4th 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