Compare commits
18 Commits
Author | SHA1 | Date | |
---|---|---|---|
f8d5145af9 | |||
a7e641b499 | |||
675ecece84 | |||
f76587361b | |||
2f9e54e371 | |||
53cf534664 | |||
5567ca6856 | |||
7546e9aceb | |||
f09fd06ddc | |||
2004b8d91c | |||
d82d4aeb22 | |||
5cd07f3b88 | |||
5d19f46070 | |||
02f9523e1b | |||
7f52decf16 | |||
d2aa1fce0b | |||
3b774a8385 | |||
ee2fea1db8 |
51
README.md
51
README.md
@ -1,12 +1,12 @@
|
|||||||
# Component Builder (2.1.8)
|
# Component Builder (2.1.18)
|
||||||
|
|
||||||
This is a [Joomla 3.x] (http://www.joomla.org/) component.
|
This is a [Joomla 3.x] (http://www.joomla.org/) component.
|
||||||
|
|
||||||
![Component Builder image] (https://raw.githubusercontent.com/vdm-io/Joomla-Component-Builder/master/admin/assets/images/component-300.png "The Component Builder")
|
![Component Builder image] (https://raw.githubusercontent.com/vdm-io/Joomla-Component-Builder/master/admin/assets/images/component-300.jpg "The Component Builder")
|
||||||
|
|
||||||
The Component Builder for Joomla that is highly advanced, truly able to build extremely complex components in a fraction of the time.
|
The Component Builder for Joomla that is highly advanced, truly able to build extremely complex components in a fraction of the time.
|
||||||
|
|
||||||
> **You can purchase Component Builder with the following components as demo setup inside Component Builder:**
|
> **You can purchase demo content inside Component Builder:**
|
||||||
|
|
||||||
+ **Development Version** ([get this demo set](https://www.vdm.io/joomla-component-builder))
|
+ **Development Version** ([get this demo set](https://www.vdm.io/joomla-component-builder))
|
||||||
|
|
||||||
@ -22,9 +22,9 @@ The Component Builder for Joomla that is highly advanced, truly able to build ex
|
|||||||
|
|
||||||
*Training & Help Videos* tutorials in the component included.
|
*Training & Help Videos* tutorials in the component included.
|
||||||
|
|
||||||
# Extra Support
|
# gitHub Support
|
||||||
|
|
||||||
Would you require more help VDM.io has a number of support plans available [visit us today!](https://www.vdm.io/joomla-component-builder).
|
Would you require more help please open and issue here on [gitHub today](https://github.com/vdm-io/Joomla-Component-Builder/issues)!
|
||||||
|
|
||||||
# Build Details
|
# Build Details
|
||||||
|
|
||||||
@ -32,38 +32,19 @@ Would you require more help VDM.io has a number of support plans available [visi
|
|||||||
+ *Author*: [Llewellyn van der Merwe] (mailto:info@vdm.io)
|
+ *Author*: [Llewellyn van der Merwe] (mailto:info@vdm.io)
|
||||||
+ *Name*: [Component Builder] (https://www.vdm.io/joomla-component-builder)
|
+ *Name*: [Component Builder] (https://www.vdm.io/joomla-component-builder)
|
||||||
+ *First Build*: 30th April, 2015
|
+ *First Build*: 30th April, 2015
|
||||||
+ *Last Build*: 7th May, 2016
|
+ *Last Build*: 3rd September, 2016
|
||||||
+ *Version*: 2.1.8
|
+ *Version*: 2.1.18
|
||||||
+ *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*: **83568**
|
||||||
## Build Time
|
+ *File count*: **511**
|
||||||
|
|
||||||
**230 Hours** or **29 Eight Hour Days** (actual time the author saved -
|
|
||||||
due to [Automated Component Builder] (https://www.vdm.io/joomla-component-builder))
|
|
||||||
|
|
||||||
> (if creating a folder and file took **5 seconds** and writing one line of code took **10 seconds**,
|
|
||||||
> never making one mistake or taking any coffee break.)
|
|
||||||
|
|
||||||
+ *Line count*: **82516**
|
|
||||||
+ *File count*: **501**
|
|
||||||
+ *Folder count*: **98**
|
+ *Folder count*: **98**
|
||||||
|
|
||||||
**152 Hours** or **19 Eight Hour Days** (the actual time the author spent)
|
|
||||||
|
|
||||||
> (with the following break down:
|
|
||||||
> **debugging @58hours** = codingtime / 4;
|
|
||||||
> **planning @33hours** = codingtime / 7;
|
|
||||||
> **mapping @23hours** = codingtime / 10;
|
|
||||||
> **office @38hours** = codingtime / 6;)
|
|
||||||
|
|
||||||
**382 Hours** or **48 Eight Hour Days**
|
|
||||||
(a total of the realistic time frame for this project)
|
|
||||||
|
|
||||||
> (if creating a folder and file took **5 seconds** and writing one line of code took **10 seconds**,
|
|
||||||
> with the normal everyday realities at the office, that includes the component planning, mapping & debugging.)
|
|
||||||
|
|
||||||
Project duration: **9.6 weeks** or **2 months**
|
|
||||||
|
|
||||||
> This **component** was build with a Joomla [Automated Component Builder] (https://www.vdm.io/joomla-component-builder).
|
> This **component** was build with a Joomla [Automated Component Builder] (https://www.vdm.io/joomla-component-builder).
|
||||||
> Developed by [Llewellyn van der Merwe] (mailto:joomla@vdm.io)
|
> Developed by [Llewellyn van der Merwe] (mailto:joomla@vdm.io)
|
||||||
|
|
||||||
|
## Donations
|
||||||
|
|
||||||
|
If you want to support this project, please consider donating:
|
||||||
|
* PayPal: pay@vdm.io
|
||||||
|
* Bitcoin: 3H35PYwikEosvcjxHXGPLS1GufZ4b4iFu3
|
@ -9,8 +9,8 @@
|
|||||||
|_|
|
|_|
|
||||||
/-------------------------------------------------------------------------------------------------------------------------------/
|
/-------------------------------------------------------------------------------------------------------------------------------/
|
||||||
|
|
||||||
@version 2.1.8
|
@version 2.1.18
|
||||||
@build 7th May, 2016
|
@build 3rd September, 2016
|
||||||
@created 30th April, 2015
|
@created 30th April, 2015
|
||||||
@package Component Builder
|
@package Component Builder
|
||||||
@subpackage admin.css
|
@subpackage admin.css
|
||||||
|
@ -9,8 +9,8 @@
|
|||||||
|_|
|
|_|
|
||||||
/-------------------------------------------------------------------------------------------------------------------------------/
|
/-------------------------------------------------------------------------------------------------------------------------------/
|
||||||
|
|
||||||
@version 2.1.8
|
@version 2.1.18
|
||||||
@build 7th May, 2016
|
@build 3rd September, 2016
|
||||||
@created 30th April, 2015
|
@created 30th April, 2015
|
||||||
@package Component Builder
|
@package Component Builder
|
||||||
@subpackage admin_view.css
|
@subpackage admin_view.css
|
||||||
|
@ -9,8 +9,8 @@
|
|||||||
|_|
|
|_|
|
||||||
/-------------------------------------------------------------------------------------------------------------------------------/
|
/-------------------------------------------------------------------------------------------------------------------------------/
|
||||||
|
|
||||||
@version 2.1.8
|
@version 2.1.18
|
||||||
@build 7th May, 2016
|
@build 3rd September, 2016
|
||||||
@created 30th April, 2015
|
@created 30th April, 2015
|
||||||
@package Component Builder
|
@package Component Builder
|
||||||
@subpackage admin_views.css
|
@subpackage admin_views.css
|
||||||
|
@ -9,8 +9,8 @@
|
|||||||
|_|
|
|_|
|
||||||
/-------------------------------------------------------------------------------------------------------------------------------/
|
/-------------------------------------------------------------------------------------------------------------------------------/
|
||||||
|
|
||||||
@version 2.1.8
|
@version 2.1.18
|
||||||
@build 7th May, 2016
|
@build 3rd September, 2016
|
||||||
@created 30th April, 2015
|
@created 30th April, 2015
|
||||||
@package Component Builder
|
@package Component Builder
|
||||||
@subpackage component.css
|
@subpackage component.css
|
||||||
|
@ -9,8 +9,8 @@
|
|||||||
|_|
|
|_|
|
||||||
/-------------------------------------------------------------------------------------------------------------------------------/
|
/-------------------------------------------------------------------------------------------------------------------------------/
|
||||||
|
|
||||||
@version 2.1.8
|
@version 2.1.18
|
||||||
@build 7th May, 2016
|
@build 3rd September, 2016
|
||||||
@created 30th April, 2015
|
@created 30th April, 2015
|
||||||
@package Component Builder
|
@package Component Builder
|
||||||
@subpackage components.css
|
@subpackage components.css
|
||||||
|
@ -9,8 +9,8 @@
|
|||||||
|_|
|
|_|
|
||||||
/-------------------------------------------------------------------------------------------------------------------------------/
|
/-------------------------------------------------------------------------------------------------------------------------------/
|
||||||
|
|
||||||
@version 2.1.8
|
@version 2.1.18
|
||||||
@build 7th May, 2016
|
@build 3rd September, 2016
|
||||||
@created 30th April, 2015
|
@created 30th April, 2015
|
||||||
@package Component Builder
|
@package Component Builder
|
||||||
@subpackage custom_admin_view.css
|
@subpackage custom_admin_view.css
|
||||||
|
@ -9,8 +9,8 @@
|
|||||||
|_|
|
|_|
|
||||||
/-------------------------------------------------------------------------------------------------------------------------------/
|
/-------------------------------------------------------------------------------------------------------------------------------/
|
||||||
|
|
||||||
@version 2.1.8
|
@version 2.1.18
|
||||||
@build 7th May, 2016
|
@build 3rd September, 2016
|
||||||
@created 30th April, 2015
|
@created 30th April, 2015
|
||||||
@package Component Builder
|
@package Component Builder
|
||||||
@subpackage custom_admin_views.css
|
@subpackage custom_admin_views.css
|
||||||
|
@ -9,8 +9,8 @@
|
|||||||
|_|
|
|_|
|
||||||
/-------------------------------------------------------------------------------------------------------------------------------/
|
/-------------------------------------------------------------------------------------------------------------------------------/
|
||||||
|
|
||||||
@version 2.1.8
|
@version 2.1.18
|
||||||
@build 7th May, 2016
|
@build 3rd September, 2016
|
||||||
@created 30th April, 2015
|
@created 30th April, 2015
|
||||||
@package Component Builder
|
@package Component Builder
|
||||||
@subpackage dashboard.css
|
@subpackage dashboard.css
|
||||||
|
@ -9,8 +9,8 @@
|
|||||||
|_|
|
|_|
|
||||||
/-------------------------------------------------------------------------------------------------------------------------------/
|
/-------------------------------------------------------------------------------------------------------------------------------/
|
||||||
|
|
||||||
@version 2.1.8
|
@version 2.1.18
|
||||||
@build 7th May, 2016
|
@build 3rd September, 2016
|
||||||
@created 30th April, 2015
|
@created 30th April, 2015
|
||||||
@package Component Builder
|
@package Component Builder
|
||||||
@subpackage dynamic_get.css
|
@subpackage dynamic_get.css
|
||||||
|
@ -9,8 +9,8 @@
|
|||||||
|_|
|
|_|
|
||||||
/-------------------------------------------------------------------------------------------------------------------------------/
|
/-------------------------------------------------------------------------------------------------------------------------------/
|
||||||
|
|
||||||
@version 2.1.8
|
@version 2.1.18
|
||||||
@build 7th May, 2016
|
@build 3rd September, 2016
|
||||||
@created 30th April, 2015
|
@created 30th April, 2015
|
||||||
@package Component Builder
|
@package Component Builder
|
||||||
@subpackage dynamic_gets.css
|
@subpackage dynamic_gets.css
|
||||||
|
@ -9,8 +9,8 @@
|
|||||||
|_|
|
|_|
|
||||||
/-------------------------------------------------------------------------------------------------------------------------------/
|
/-------------------------------------------------------------------------------------------------------------------------------/
|
||||||
|
|
||||||
@version 2.1.8
|
@version 2.1.18
|
||||||
@build 7th May, 2016
|
@build 3rd September, 2016
|
||||||
@created 30th April, 2015
|
@created 30th April, 2015
|
||||||
@package Component Builder
|
@package Component Builder
|
||||||
@subpackage field.css
|
@subpackage field.css
|
||||||
|
@ -9,8 +9,8 @@
|
|||||||
|_|
|
|_|
|
||||||
/-------------------------------------------------------------------------------------------------------------------------------/
|
/-------------------------------------------------------------------------------------------------------------------------------/
|
||||||
|
|
||||||
@version 2.1.8
|
@version 2.1.18
|
||||||
@build 7th May, 2016
|
@build 3rd September, 2016
|
||||||
@created 30th April, 2015
|
@created 30th April, 2015
|
||||||
@package Component Builder
|
@package Component Builder
|
||||||
@subpackage fields.css
|
@subpackage fields.css
|
||||||
|
@ -9,8 +9,8 @@
|
|||||||
|_|
|
|_|
|
||||||
/-------------------------------------------------------------------------------------------------------------------------------/
|
/-------------------------------------------------------------------------------------------------------------------------------/
|
||||||
|
|
||||||
@version 2.1.8
|
@version 2.1.18
|
||||||
@build 7th May, 2016
|
@build 3rd September, 2016
|
||||||
@created 30th April, 2015
|
@created 30th April, 2015
|
||||||
@package Component Builder
|
@package Component Builder
|
||||||
@subpackage fieldtype.css
|
@subpackage fieldtype.css
|
||||||
|
@ -9,8 +9,8 @@
|
|||||||
|_|
|
|_|
|
||||||
/-------------------------------------------------------------------------------------------------------------------------------/
|
/-------------------------------------------------------------------------------------------------------------------------------/
|
||||||
|
|
||||||
@version 2.1.8
|
@version 2.1.18
|
||||||
@build 7th May, 2016
|
@build 3rd September, 2016
|
||||||
@created 30th April, 2015
|
@created 30th April, 2015
|
||||||
@package Component Builder
|
@package Component Builder
|
||||||
@subpackage fieldtypes.css
|
@subpackage fieldtypes.css
|
||||||
|
@ -9,8 +9,8 @@
|
|||||||
|_|
|
|_|
|
||||||
/-------------------------------------------------------------------------------------------------------------------------------/
|
/-------------------------------------------------------------------------------------------------------------------------------/
|
||||||
|
|
||||||
@version 2.1.8
|
@version 2.1.18
|
||||||
@build 7th May, 2016
|
@build 3rd September, 2016
|
||||||
@created 30th April, 2015
|
@created 30th April, 2015
|
||||||
@package Component Builder
|
@package Component Builder
|
||||||
@subpackage help_document.css
|
@subpackage help_document.css
|
||||||
|
@ -9,8 +9,8 @@
|
|||||||
|_|
|
|_|
|
||||||
/-------------------------------------------------------------------------------------------------------------------------------/
|
/-------------------------------------------------------------------------------------------------------------------------------/
|
||||||
|
|
||||||
@version 2.1.8
|
@version 2.1.18
|
||||||
@build 7th May, 2016
|
@build 3rd September, 2016
|
||||||
@created 30th April, 2015
|
@created 30th April, 2015
|
||||||
@package Component Builder
|
@package Component Builder
|
||||||
@subpackage help_documents.css
|
@subpackage help_documents.css
|
||||||
|
@ -9,8 +9,8 @@
|
|||||||
|_|
|
|_|
|
||||||
/-------------------------------------------------------------------------------------------------------------------------------/
|
/-------------------------------------------------------------------------------------------------------------------------------/
|
||||||
|
|
||||||
@version 2.1.8
|
@version 2.1.18
|
||||||
@build 7th May, 2016
|
@build 3rd September, 2016
|
||||||
@created 30th April, 2015
|
@created 30th April, 2015
|
||||||
@package Component Builder
|
@package Component Builder
|
||||||
@subpackage layout.css
|
@subpackage layout.css
|
||||||
|
@ -9,8 +9,8 @@
|
|||||||
|_|
|
|_|
|
||||||
/-------------------------------------------------------------------------------------------------------------------------------/
|
/-------------------------------------------------------------------------------------------------------------------------------/
|
||||||
|
|
||||||
@version 2.1.8
|
@version 2.1.18
|
||||||
@build 7th May, 2016
|
@build 3rd September, 2016
|
||||||
@created 30th April, 2015
|
@created 30th April, 2015
|
||||||
@package Component Builder
|
@package Component Builder
|
||||||
@subpackage layouts.css
|
@subpackage layouts.css
|
||||||
|
@ -9,8 +9,8 @@
|
|||||||
|_|
|
|_|
|
||||||
/-------------------------------------------------------------------------------------------------------------------------------/
|
/-------------------------------------------------------------------------------------------------------------------------------/
|
||||||
|
|
||||||
@version 2.1.8
|
@version 2.1.18
|
||||||
@build 7th May, 2016
|
@build 3rd September, 2016
|
||||||
@created 30th April, 2015
|
@created 30th April, 2015
|
||||||
@package Component Builder
|
@package Component Builder
|
||||||
@subpackage site_view.css
|
@subpackage site_view.css
|
||||||
|
@ -9,8 +9,8 @@
|
|||||||
|_|
|
|_|
|
||||||
/-------------------------------------------------------------------------------------------------------------------------------/
|
/-------------------------------------------------------------------------------------------------------------------------------/
|
||||||
|
|
||||||
@version 2.1.8
|
@version 2.1.18
|
||||||
@build 7th May, 2016
|
@build 3rd September, 2016
|
||||||
@created 30th April, 2015
|
@created 30th April, 2015
|
||||||
@package Component Builder
|
@package Component Builder
|
||||||
@subpackage site_views.css
|
@subpackage site_views.css
|
||||||
|
@ -9,8 +9,8 @@
|
|||||||
|_|
|
|_|
|
||||||
/-------------------------------------------------------------------------------------------------------------------------------/
|
/-------------------------------------------------------------------------------------------------------------------------------/
|
||||||
|
|
||||||
@version 2.1.8
|
@version 2.1.18
|
||||||
@build 7th May, 2016
|
@build 3rd September, 2016
|
||||||
@created 30th April, 2015
|
@created 30th April, 2015
|
||||||
@package Component Builder
|
@package Component Builder
|
||||||
@subpackage snippet.css
|
@subpackage snippet.css
|
||||||
|
@ -9,8 +9,8 @@
|
|||||||
|_|
|
|_|
|
||||||
/-------------------------------------------------------------------------------------------------------------------------------/
|
/-------------------------------------------------------------------------------------------------------------------------------/
|
||||||
|
|
||||||
@version 2.1.8
|
@version 2.1.18
|
||||||
@build 7th May, 2016
|
@build 3rd September, 2016
|
||||||
@created 30th April, 2015
|
@created 30th April, 2015
|
||||||
@package Component Builder
|
@package Component Builder
|
||||||
@subpackage snippets.css
|
@subpackage snippets.css
|
||||||
|
@ -9,8 +9,8 @@
|
|||||||
|_|
|
|_|
|
||||||
/-------------------------------------------------------------------------------------------------------------------------------/
|
/-------------------------------------------------------------------------------------------------------------------------------/
|
||||||
|
|
||||||
@version 2.1.8
|
@version 2.1.18
|
||||||
@build 7th May, 2016
|
@build 3rd September, 2016
|
||||||
@created 30th April, 2015
|
@created 30th April, 2015
|
||||||
@package Component Builder
|
@package Component Builder
|
||||||
@subpackage template.css
|
@subpackage template.css
|
||||||
|
@ -9,8 +9,8 @@
|
|||||||
|_|
|
|_|
|
||||||
/-------------------------------------------------------------------------------------------------------------------------------/
|
/-------------------------------------------------------------------------------------------------------------------------------/
|
||||||
|
|
||||||
@version 2.1.8
|
@version 2.1.18
|
||||||
@build 7th May, 2016
|
@build 3rd September, 2016
|
||||||
@created 30th April, 2015
|
@created 30th April, 2015
|
||||||
@package Component Builder
|
@package Component Builder
|
||||||
@subpackage templates.css
|
@subpackage templates.css
|
||||||
|
BIN
admin/assets/images/component-300.jpg
Normal file
BIN
admin/assets/images/component-300.jpg
Normal file
Binary file not shown.
After Width: | Height: | Size: 23 KiB |
Binary file not shown.
Before Width: | Height: | Size: 126 KiB |
@ -1,17 +0,0 @@
|
|||||||
/*----------------------------------------------------------------------------------| www.giz.de |----/
|
|
||||||
###COMPANYNAME###
|
|
||||||
/-------------------------------------------------------------------------------------------------------/
|
|
||||||
|
|
||||||
@version ###VERSION###
|
|
||||||
@build ###BUILDDATE###
|
|
||||||
@created ###CREATIONDATE###
|
|
||||||
@package ###Component_name###
|
|
||||||
@subpackage ###FILENAME###
|
|
||||||
@author ###AUTHOR### <###AUTHORWEBSITE###>
|
|
||||||
@owner ###COMPANYNAME###
|
|
||||||
@copyright ###COPYRIGHT###
|
|
||||||
@license ###LICENSE###
|
|
||||||
|
|
||||||
/-------------------------------------------------------------------------------------------------------/
|
|
||||||
###SHORT_DESCRIPTION###
|
|
||||||
/------------------------------------------------------------------------------------------------------*/
|
|
@ -7,7 +7,7 @@
|
|||||||
\ / (_| \__ \ |_ | |__| | __/\ V / __/ | (_) | |_) | | | | | | __/ | | | |_ | | | | __/ |_| | | | (_) | (_| |
|
\ / (_| \__ \ |_ | |__| | __/\ V / __/ | (_) | |_) | | | | | | __/ | | | |_ | | | | __/ |_| | | | (_) | (_| |
|
||||||
\/ \__,_|___/\__| |_____/ \___| \_/ \___|_|\___/| .__/|_| |_| |_|\___|_| |_|\__| |_| |_|\___|\__|_| |_|\___/ \__,_|
|
\/ \__,_|___/\__| |_____/ \___| \_/ \___|_|\___/| .__/|_| |_| |_|\___|_| |_|\__| |_| |_|\___|\__|_| |_|\___/ \__,_|
|
||||||
| |
|
| |
|
||||||
|_|
|
|_|
|
||||||
/-------------------------------------------------------------------------------------------------------------------------------/
|
/-------------------------------------------------------------------------------------------------------------------------------/
|
||||||
|
|
||||||
@package Component Builder
|
@package Component Builder
|
||||||
@ -16,9 +16,9 @@
|
|||||||
@my wife Roline van der Merwe <http://www.vdm.io/>
|
@my wife Roline van der Merwe <http://www.vdm.io/>
|
||||||
@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
|
||||||
|
|
||||||
Builds Complex Joomla Components
|
Builds Complex Joomla Components
|
||||||
|
|
||||||
/-----------------------------------------------------------------------------------------------------------------------------*/
|
/-----------------------------------------------------------------------------------------------------------------------------*/
|
||||||
|
|
||||||
// No direct access to this file
|
// No direct access to this file
|
||||||
@ -102,9 +102,15 @@ abstract class ###Component###Helper
|
|||||||
$db = JFactory::getDbo();
|
$db = JFactory::getDbo();
|
||||||
// Create a new query object.
|
// Create a new query object.
|
||||||
$query = $db->getQuery(true);
|
$query = $db->getQuery(true);
|
||||||
|
|
||||||
$query->select($db->quoteName(array($what)));
|
$query->select($db->quoteName(array($what)));
|
||||||
$query->from($db->quoteName('#__'.$main.'_'.$table));
|
if (empty($table))
|
||||||
|
{
|
||||||
|
$query->from($db->quoteName('#__'.$main));
|
||||||
|
}
|
||||||
|
else
|
||||||
|
{
|
||||||
|
$query->from($db->quoteName('#__'.$main.'_'.$table));
|
||||||
|
}
|
||||||
if (is_numeric($where))
|
if (is_numeric($where))
|
||||||
{
|
{
|
||||||
$query->where($db->quoteName($whereString) . ' '.$operator.' '.(int) $where);
|
$query->where($db->quoteName($whereString) . ' '.$operator.' '.(int) $where);
|
||||||
@ -162,31 +168,33 @@ abstract class ###Component###Helper
|
|||||||
return false;
|
return false;
|
||||||
}
|
}
|
||||||
|
|
||||||
public static function jsonToString($value, $sperator = ", ")
|
public static function jsonToString($value, $sperator = ", ", $table = null)
|
||||||
{
|
{
|
||||||
// check if string is JSON
|
// check if string is JSON
|
||||||
$result = json_decode($value, true);
|
$result = json_decode($value, true);
|
||||||
if (json_last_error() === JSON_ERROR_NONE) {
|
if (json_last_error() === JSON_ERROR_NONE)
|
||||||
// is JSON
|
{
|
||||||
|
// is JSON
|
||||||
if (self::checkArray($result))
|
if (self::checkArray($result))
|
||||||
{
|
{
|
||||||
$value = '';
|
if (self::checkString($table))
|
||||||
$counter = 0;
|
|
||||||
foreach ($result as $string)
|
|
||||||
{
|
{
|
||||||
if ($counter)
|
$names = array();
|
||||||
|
foreach ($result as $val)
|
||||||
{
|
{
|
||||||
$value .= $sperator.$string;
|
if ($name = self::getVar($table, $val, 'id', 'name'))
|
||||||
|
{
|
||||||
|
$names[] = $name;
|
||||||
|
}
|
||||||
}
|
}
|
||||||
else
|
if (self::checkArray($names))
|
||||||
{
|
{
|
||||||
$value .= $string;
|
return (string) implode($sperator,$names);
|
||||||
}
|
}
|
||||||
$counter++;
|
|
||||||
}
|
}
|
||||||
return $value;
|
return (string) implode($sperator,$result);
|
||||||
}
|
}
|
||||||
return json_decode($value);
|
return (string) json_decode($value);
|
||||||
}
|
}
|
||||||
return $value;
|
return $value;
|
||||||
}
|
}
|
||||||
@ -478,7 +486,7 @@ abstract class ###Component###Helper
|
|||||||
|
|
||||||
if (!$asset->check() || !$asset->store())
|
if (!$asset->check() || !$asset->store())
|
||||||
{
|
{
|
||||||
JError::raiseWarning(500, $asset->getError());
|
JFactory::getApplication()->enqueueMessage($asset->getError(), 'warning');
|
||||||
return false;
|
return false;
|
||||||
}
|
}
|
||||||
else
|
else
|
||||||
|
@ -1,13 +1,25 @@
|
|||||||
<?php
|
<?php
|
||||||
/**
|
/*--------------------------------------------------------------------------------------------------------| www.vdm.io |------/
|
||||||
*
|
__ __ _ _____ _ _ __ __ _ _ _
|
||||||
* @version 2.0.0 - September 03, 2014
|
\ \ / / | | | __ \ | | | | | \/ | | | | | | |
|
||||||
* @package Component Builder
|
\ \ / /_ _ ___| |_ | | | | _____ _____| | ___ _ __ _ __ ___ ___ _ __ | |_ | \ / | ___| |_| |__ ___ __| |
|
||||||
* @author Llewellyn van de Merwe <http://www.vdm.io>
|
\ \/ / _` / __| __| | | | |/ _ \ \ / / _ \ |/ _ \| '_ \| '_ ` _ \ / _ \ '_ \| __| | |\/| |/ _ \ __| '_ \ / _ \ / _` |
|
||||||
* @copyright Copyright (C) 2014. All Rights Reserved
|
\ / (_| \__ \ |_ | |__| | __/\ V / __/ | (_) | |_) | | | | | | __/ | | | |_ | | | | __/ |_| | | | (_) | (_| |
|
||||||
* @license GNU/GPL Version 2 or later - http://www.gnu.org/licenses/gpl-2.0.html
|
\/ \__,_|___/\__| |_____/ \___| \_/ \___|_|\___/| .__/|_| |_| |_|\___|_| |_|\__| |_| |_|\___|\__|_| |_|\___/ \__,_|
|
||||||
*
|
| |
|
||||||
**/
|
|_|
|
||||||
|
/-------------------------------------------------------------------------------------------------------------------------------/
|
||||||
|
|
||||||
|
@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
|
// No direct access to this file
|
||||||
defined('_JEXEC') or die('Restricted access');
|
defined('_JEXEC') or die('Restricted access');
|
||||||
@ -222,13 +234,13 @@ abstract class ###Component###Email
|
|||||||
$numReplyTo = count($mailreply);
|
$numReplyTo = count($mailreply);
|
||||||
for ($i=0; $i < $numReplyTo; $i++)
|
for ($i=0; $i < $numReplyTo; $i++)
|
||||||
{
|
{
|
||||||
$mail->addReplyTo( array($mailreply[$i], $replyname[$i]) );
|
$mail->addReplyTo($mailreply[$i], $replyname[$i]);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
elseif (!empty($mailreply))
|
elseif (!empty($mailreply))
|
||||||
{
|
{
|
||||||
$mail->ClearReplyTos();
|
$mail->ClearReplyTos();
|
||||||
$mail->addReplyTo( array( $mailreply, $replyname ) );
|
$mail->addReplyTo($mailreply, $replyname);
|
||||||
}
|
}
|
||||||
|
|
||||||
// check if we can add the DKIM to email
|
// check if we can add the DKIM to email
|
||||||
@ -256,6 +268,12 @@ abstract class ###Component###Email
|
|||||||
@unlink($tmp);
|
@unlink($tmp);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
if (method_exists('###Component###Helper','storeMessage'))
|
||||||
|
{
|
||||||
|
// store the massage if the method is set
|
||||||
|
###Component###Helper::storeMessage($sendmail, $recipient, $subject, $body, $textonly, $mode, 'email');
|
||||||
|
}
|
||||||
|
|
||||||
return $sendmail;
|
return $sendmail;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
@ -17,7 +17,7 @@
|
|||||||
@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
|
||||||
|
|
||||||
Builds Complex Joomla Components
|
Builds Complex Joomla Components
|
||||||
|
|
||||||
/-----------------------------------------------------------------------------------------------------------------------------*/
|
/-----------------------------------------------------------------------------------------------------------------------------*/
|
||||||
|
|
||||||
@ -34,34 +34,37 @@ defined('_JEXEC') or die('Restricted access');
|
|||||||
*/
|
*/
|
||||||
abstract class ###Component###Helper
|
abstract class ###Component###Helper
|
||||||
{###SITE_GLOBAL_EVENT_HELPER### ###SITE_CUSTOM_HELPER_SCRIPT###
|
{###SITE_GLOBAL_EVENT_HELPER### ###SITE_CUSTOM_HELPER_SCRIPT###
|
||||||
|
|
||||||
public static function jsonToString($value)
|
public static function jsonToString($value, $sperator = ", ", $table = null)
|
||||||
{
|
{
|
||||||
// check if string is JSON
|
// check if string is JSON
|
||||||
$result = json_decode($value, true);
|
$result = json_decode($value, true);
|
||||||
if (json_last_error() === JSON_ERROR_NONE) {
|
if (json_last_error() === JSON_ERROR_NONE)
|
||||||
|
{
|
||||||
// is JSON
|
// is JSON
|
||||||
if (self::checkArray($result))
|
if (self::checkArray($result))
|
||||||
|
{
|
||||||
|
if (self::checkString($table))
|
||||||
{
|
{
|
||||||
$value = '';
|
$names = array();
|
||||||
$counter = 0;
|
foreach ($result as $val)
|
||||||
foreach ($result as $string)
|
|
||||||
{
|
{
|
||||||
if ($counter)
|
if ($name = self::getVar($table, $val, 'id', 'name'))
|
||||||
{
|
{
|
||||||
$value .= ", ".$string;
|
$names[] = $name;
|
||||||
}
|
}
|
||||||
else
|
|
||||||
{
|
|
||||||
$value .= $string;
|
|
||||||
}
|
|
||||||
$counter++;
|
|
||||||
}
|
}
|
||||||
|
if (self::checkArray($names))
|
||||||
|
{
|
||||||
|
return (string) implode($sperator,$names);
|
||||||
|
}
|
||||||
}
|
}
|
||||||
return json_decode($value);
|
return (string) implode($sperator,$result);
|
||||||
}
|
}
|
||||||
return $value;
|
return (string) json_decode($value);
|
||||||
}
|
}
|
||||||
|
return $value;
|
||||||
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Load the Component xml manifest.
|
* Load the Component xml manifest.
|
||||||
@ -168,7 +171,7 @@ abstract class ###Component###Helper
|
|||||||
|
|
||||||
if (!$asset->check() || !$asset->store())
|
if (!$asset->check() || !$asset->store())
|
||||||
{
|
{
|
||||||
JError::raiseWarning(500, $asset->getError());
|
JFactory::getApplication()->enqueueMessage($asset->getError(), 'warning');
|
||||||
return false;
|
return false;
|
||||||
}
|
}
|
||||||
else
|
else
|
||||||
@ -273,9 +276,15 @@ abstract class ###Component###Helper
|
|||||||
$db = JFactory::getDbo();
|
$db = JFactory::getDbo();
|
||||||
// Create a new query object.
|
// Create a new query object.
|
||||||
$query = $db->getQuery(true);
|
$query = $db->getQuery(true);
|
||||||
|
$query->select($db->quoteName(array($what)));
|
||||||
$query->select($db->quoteName(array($what)));
|
if (empty($table))
|
||||||
$query->from($db->quoteName('#__'.$main.'_'.$table));
|
{
|
||||||
|
$query->from($db->quoteName('#__'.$main));
|
||||||
|
}
|
||||||
|
else
|
||||||
|
{
|
||||||
|
$query->from($db->quoteName('#__'.$main.'_'.$table));
|
||||||
|
}
|
||||||
if (is_numeric($where))
|
if (is_numeric($where))
|
||||||
{
|
{
|
||||||
$query->where($db->quoteName($whereString) . ' '.$operator.' '.(int) $where);
|
$query->where($db->quoteName($whereString) . ' '.$operator.' '.(int) $where);
|
||||||
|
@ -63,9 +63,9 @@ class ###Component###ControllerAjax extends JControllerLegacy
|
|||||||
}
|
}
|
||||||
else
|
else
|
||||||
{
|
{
|
||||||
if(array_key_exists('callback',$_GET))
|
if($callback = $jinput->get('callback', null, 'CMD'))
|
||||||
{
|
{
|
||||||
echo $_GET['callback']."(".json_encode(false).");";
|
echo $callback."(".json_encode(false).");";
|
||||||
}
|
}
|
||||||
else
|
else
|
||||||
{
|
{
|
||||||
|
@ -63,9 +63,9 @@ class ###Component###ControllerAjax extends JControllerLegacy
|
|||||||
}
|
}
|
||||||
else
|
else
|
||||||
{
|
{
|
||||||
if(array_key_exists('callback',$_GET))
|
if($callback = $jinput->get('callback', null, 'CMD'))
|
||||||
{
|
{
|
||||||
echo $_GET['callback']."(".json_encode(false).");";
|
echo $callback."(".json_encode(false).");";
|
||||||
}
|
}
|
||||||
else
|
else
|
||||||
{
|
{
|
||||||
|
@ -97,9 +97,10 @@ class ###Component###Model###SView### extends JModelItem
|
|||||||
// check if this user has permission to access item
|
// check if this user has permission to access item
|
||||||
if (!$this->user->authorise('###sview###.access', 'com_###component###'))
|
if (!$this->user->authorise('###sview###.access', 'com_###component###'))
|
||||||
{
|
{
|
||||||
JError::raiseWarning(500, JText::_('Not authorised!'));
|
$app = JFactory::getApplication();
|
||||||
|
$app->enqueueMessage(JText::_('Not authorised!'), 'error');
|
||||||
// redirect away if not a correct (TODO for now we go to default view)
|
// redirect away if not a correct (TODO for now we go to default view)
|
||||||
JFactory::getApplication()->redirect('index.php?option=com_###component###');
|
$app->redirect('index.php?option=com_###component###');
|
||||||
return false;
|
return false;
|
||||||
}
|
}
|
||||||
$this->userId = $this->user->get('id');
|
$this->userId = $this->user->get('id');
|
||||||
@ -126,7 +127,7 @@ class ###Component###Model###SView### extends JModelItem
|
|||||||
if ($e->getCode() == 404)
|
if ($e->getCode() == 404)
|
||||||
{
|
{
|
||||||
// Need to go thru the error handler to allow Redirect to work.
|
// Need to go thru the error handler to allow Redirect to work.
|
||||||
JError::raiseError(404, $e->getMessage());
|
JError::raiseWaring(404, $e->getMessage());
|
||||||
}
|
}
|
||||||
else
|
else
|
||||||
{
|
{
|
||||||
|
@ -99,9 +99,10 @@ class ###Component###Model###SView### extends JModelItem
|
|||||||
// check if this user has permission to access item
|
// check if this user has permission to access item
|
||||||
if (!$this->user->authorise('site.###sview###.access', 'com_###component###'))
|
if (!$this->user->authorise('site.###sview###.access', 'com_###component###'))
|
||||||
{
|
{
|
||||||
JError::raiseWarning(500, JText::_('Not authorised!'));
|
$app = JFactory::getApplication();
|
||||||
|
$app->enqueueMessage(JText::_('Not authorised!'), 'error');
|
||||||
// redirect away if not a correct (TODO for now we go to default view)
|
// redirect away if not a correct (TODO for now we go to default view)
|
||||||
JFactory::getApplication()->redirect(JRoute::_('index.php?option=com_###component###&view=###SITE_DEFAULT_VIEW###'));
|
$app->redirect(JRoute::_('index.php?option=com_###component###&view=###SITE_DEFAULT_VIEW###'));
|
||||||
return false;
|
return false;
|
||||||
}
|
}
|
||||||
$this->userId = $this->user->get('id');
|
$this->userId = $this->user->get('id');
|
||||||
@ -128,7 +129,7 @@ class ###Component###Model###SView### extends JModelItem
|
|||||||
if ($e->getCode() == 404)
|
if ($e->getCode() == 404)
|
||||||
{
|
{
|
||||||
// Need to go thru the error handler to allow Redirect to work.
|
// Need to go thru the error handler to allow Redirect to work.
|
||||||
JError::raiseError(404, $e->getMessage());
|
JError::raiseWaring(404, $e->getMessage());
|
||||||
}
|
}
|
||||||
else
|
else
|
||||||
{
|
{
|
||||||
|
@ -201,7 +201,8 @@ class ###Component###ModelImport extends JModelLegacy
|
|||||||
protected function _getPackageFromUpload()
|
protected function _getPackageFromUpload()
|
||||||
{
|
{
|
||||||
// Get the uploaded file information
|
// Get the uploaded file information
|
||||||
$input = JFactory::getApplication()->input;
|
$app = JFactory::getApplication();
|
||||||
|
$input = $app->input;
|
||||||
|
|
||||||
// Do not change the filter type 'raw'. We need this to let files containing PHP code to upload. See JInputFiles::get.
|
// Do not change the filter type 'raw'. We need this to let files containing PHP code to upload. See JInputFiles::get.
|
||||||
$userfile = $input->files->get('import_package', null, 'raw');
|
$userfile = $input->files->get('import_package', null, 'raw');
|
||||||
@ -209,21 +210,21 @@ class ###Component###ModelImport extends JModelLegacy
|
|||||||
// Make sure that file uploads are enabled in php
|
// Make sure that file uploads are enabled in php
|
||||||
if (!(bool) ini_get('file_uploads'))
|
if (!(bool) ini_get('file_uploads'))
|
||||||
{
|
{
|
||||||
JError::raiseWarning('', JText::_('COM_###COMPONENT###_IMPORT_MSG_WARNIMPORTFILE'));
|
$app->enqueueMessage(JText::_('COM_###COMPONENT###_IMPORT_MSG_WARNIMPORTFILE'), 'warning');
|
||||||
return false;
|
return false;
|
||||||
}
|
}
|
||||||
|
|
||||||
// If there is no uploaded file, we have a problem...
|
// If there is no uploaded file, we have a problem...
|
||||||
if (!is_array($userfile))
|
if (!is_array($userfile))
|
||||||
{
|
{
|
||||||
JError::raiseWarning('', JText::_('COM_###COMPONENT###_IMPORT_MSG_NO_FILE_SELECTED'));
|
$app->enqueueMessage(JText::_('COM_###COMPONENT###_IMPORT_MSG_NO_FILE_SELECTED'), 'warning');
|
||||||
return false;
|
return false;
|
||||||
}
|
}
|
||||||
|
|
||||||
// Check if there was a problem uploading the file.
|
// Check if there was a problem uploading the file.
|
||||||
if ($userfile['error'] || $userfile['size'] < 1)
|
if ($userfile['error'] || $userfile['size'] < 1)
|
||||||
{
|
{
|
||||||
JError::raiseWarning('', JText::_('COM_###COMPONENT###_IMPORT_MSG_WARNIMPORTUPLOADERROR'));
|
$app->enqueueMessage(JText::_('COM_###COMPONENT###_IMPORT_MSG_WARNIMPORTUPLOADERROR'), 'warning');
|
||||||
return false;
|
return false;
|
||||||
}
|
}
|
||||||
|
|
||||||
@ -261,7 +262,8 @@ class ###Component###ModelImport extends JModelLegacy
|
|||||||
*/
|
*/
|
||||||
protected function _getPackageFromFolder()
|
protected function _getPackageFromFolder()
|
||||||
{
|
{
|
||||||
$input = JFactory::getApplication()->input;
|
$app = JFactory::getApplication();
|
||||||
|
$input = $app->input;
|
||||||
|
|
||||||
// Get the path to the package to import
|
// Get the path to the package to import
|
||||||
$p_dir = $input->getString('import_directory');
|
$p_dir = $input->getString('import_directory');
|
||||||
@ -269,7 +271,7 @@ class ###Component###ModelImport extends JModelLegacy
|
|||||||
// Did you give us a valid path?
|
// Did you give us a valid path?
|
||||||
if (!file_exists($p_dir))
|
if (!file_exists($p_dir))
|
||||||
{
|
{
|
||||||
JError::raiseWarning('', JText::_('COM_###COMPONENT###_IMPORT_MSG_PLEASE_ENTER_A_PACKAGE_DIRECTORY'));
|
$app->enqueueMessage(JText::_('COM_###COMPONENT###_IMPORT_MSG_PLEASE_ENTER_A_PACKAGE_DIRECTORY'), 'warning');
|
||||||
return false;
|
return false;
|
||||||
}
|
}
|
||||||
|
|
||||||
@ -279,7 +281,7 @@ class ###Component###ModelImport extends JModelLegacy
|
|||||||
// Did you give us a valid package?
|
// Did you give us a valid package?
|
||||||
if (!$type)
|
if (!$type)
|
||||||
{
|
{
|
||||||
JError::raiseWarning('', JText::_('COM_###COMPONENT###_IMPORT_MSG_PATH_DOES_NOT_HAVE_A_VALID_PACKAGE'));
|
$app->enqueueMessage(JText::_('COM_###COMPONENT###_IMPORT_MSG_PATH_DOES_NOT_HAVE_A_VALID_PACKAGE'), 'warning');
|
||||||
}
|
}
|
||||||
|
|
||||||
// check the extention
|
// check the extention
|
||||||
@ -290,7 +292,7 @@ class ###Component###ModelImport extends JModelLegacy
|
|||||||
break;
|
break;
|
||||||
|
|
||||||
default:
|
default:
|
||||||
JError::raiseWarning('', JText::_('COM_###COMPONENT###_IMPORT_MSG_DOES_NOT_HAVE_A_VALID_FILE_TYPE'));
|
$app->enqueueMessage(JText::_('COM_###COMPONENT###_IMPORT_MSG_DOES_NOT_HAVE_A_VALID_FILE_TYPE'), 'warning');
|
||||||
return false;
|
return false;
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
@ -310,15 +312,16 @@ class ###Component###ModelImport extends JModelLegacy
|
|||||||
*/
|
*/
|
||||||
protected function _getPackageFromUrl()
|
protected function _getPackageFromUrl()
|
||||||
{
|
{
|
||||||
$input = JFactory::getApplication()->input;
|
$app = JFactory::getApplication();
|
||||||
|
$input = $app->input;
|
||||||
|
|
||||||
// Get the URL of the package to import
|
// Get the URL of the package to import
|
||||||
$url = $input->getString('import_url');
|
$url = $input->getString('import_url');
|
||||||
|
|
||||||
// Did you give us a URL?
|
// Did you give us a URL?
|
||||||
if (!$url)
|
if (!$url)
|
||||||
{
|
{
|
||||||
JError::raiseWarning('', JText::_('COM_###COMPONENT###_IMPORT_MSG_ENTER_A_URL'));
|
$app->enqueueMessage(JText::_('COM_###COMPONENT###_IMPORT_MSG_ENTER_A_URL'), 'warning');
|
||||||
return false;
|
return false;
|
||||||
}
|
}
|
||||||
|
|
||||||
@ -328,7 +331,7 @@ class ###Component###ModelImport extends JModelLegacy
|
|||||||
// Was the package downloaded?
|
// Was the package downloaded?
|
||||||
if (!$p_file)
|
if (!$p_file)
|
||||||
{
|
{
|
||||||
JError::raiseWarning('', JText::_('COM_###COMPONENT###_IMPORT_MSG_INVALID_URL'));
|
$app->enqueueMessage(JText::_('COM_###COMPONENT###_IMPORT_MSG_INVALID_URL'), 'warning');
|
||||||
return false;
|
return false;
|
||||||
}
|
}
|
||||||
|
|
||||||
@ -349,6 +352,7 @@ class ###Component###ModelImport extends JModelLegacy
|
|||||||
*/
|
*/
|
||||||
protected function check($archivename)
|
protected function check($archivename)
|
||||||
{
|
{
|
||||||
|
$app = JFactory::getApplication();
|
||||||
// Clean the name
|
// Clean the name
|
||||||
$archivename = JPath::clean($archivename);
|
$archivename = JPath::clean($archivename);
|
||||||
|
|
||||||
@ -362,7 +366,7 @@ class ###Component###ModelImport extends JModelLegacy
|
|||||||
default:
|
default:
|
||||||
// Cleanup the import files
|
// Cleanup the import files
|
||||||
$this->remove($archivename);
|
$this->remove($archivename);
|
||||||
JError::raiseWarning('', JText::_('COM_###COMPONENT###_IMPORT_MSG_DOES_NOT_HAVE_A_VALID_FILE_TYPE'));
|
$app->enqueueMessage(JText::_('COM_###COMPONENT###_IMPORT_MSG_DOES_NOT_HAVE_A_VALID_FILE_TYPE'), 'warning');
|
||||||
return false;
|
return false;
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
|
@ -91,7 +91,8 @@ class ###Component###Model###View### extends JModelLegacy
|
|||||||
protected function _getPackageFromUpload()
|
protected function _getPackageFromUpload()
|
||||||
{
|
{
|
||||||
// Get the uploaded file information
|
// Get the uploaded file information
|
||||||
$input = JFactory::getApplication()->input;
|
$app = JFactory::getApplication();
|
||||||
|
$input = $app->input;
|
||||||
|
|
||||||
// Do not change the filter type 'raw'. We need this to let files containing PHP code to upload. See JInputFiles::get.
|
// Do not change the filter type 'raw'. We need this to let files containing PHP code to upload. See JInputFiles::get.
|
||||||
$userfile = $input->files->get('import_package', null, 'raw');
|
$userfile = $input->files->get('import_package', null, 'raw');
|
||||||
@ -99,21 +100,21 @@ class ###Component###Model###View### extends JModelLegacy
|
|||||||
// Make sure that file uploads are enabled in php
|
// Make sure that file uploads are enabled in php
|
||||||
if (!(bool) ini_get('file_uploads'))
|
if (!(bool) ini_get('file_uploads'))
|
||||||
{
|
{
|
||||||
JError::raiseWarning('', JText::_('COM_###COMPONENT###_IMPORT_MSG_WARNIMPORTFILE'));
|
$app->enqueueMessage(JText::_('COM_###COMPONENT###_IMPORT_MSG_WARNIMPORTFILE'), 'warning');
|
||||||
return false;
|
return false;
|
||||||
}
|
}
|
||||||
|
|
||||||
// If there is no uploaded file, we have a problem...
|
// If there is no uploaded file, we have a problem...
|
||||||
if (!is_array($userfile))
|
if (!is_array($userfile))
|
||||||
{
|
{
|
||||||
JError::raiseWarning('', JText::_('COM_###COMPONENT###_IMPORT_MSG_NO_FILE_SELECTED'));
|
$app->enqueueMessage(JText::_('COM_###COMPONENT###_IMPORT_MSG_NO_FILE_SELECTED'), 'warning');
|
||||||
return false;
|
return false;
|
||||||
}
|
}
|
||||||
|
|
||||||
// Check if there was a problem uploading the file.
|
// Check if there was a problem uploading the file.
|
||||||
if ($userfile['error'] || $userfile['size'] < 1)
|
if ($userfile['error'] || $userfile['size'] < 1)
|
||||||
{
|
{
|
||||||
JError::raiseWarning('', JText::_('COM_###COMPONENT###_IMPORT_MSG_WARNIMPORTUPLOADERROR'));
|
$app->enqueueMessage(JText::_('COM_###COMPONENT###_IMPORT_MSG_WARNIMPORTUPLOADERROR'), 'warning');
|
||||||
return false;
|
return false;
|
||||||
}
|
}
|
||||||
|
|
||||||
@ -151,7 +152,8 @@ class ###Component###Model###View### extends JModelLegacy
|
|||||||
*/
|
*/
|
||||||
protected function _getPackageFromFolder()
|
protected function _getPackageFromFolder()
|
||||||
{
|
{
|
||||||
$input = JFactory::getApplication()->input;
|
$app = JFactory::getApplication();
|
||||||
|
$input = $app->input;
|
||||||
|
|
||||||
// Get the path to the package to import
|
// Get the path to the package to import
|
||||||
$p_dir = $input->getString('import_directory');
|
$p_dir = $input->getString('import_directory');
|
||||||
@ -159,7 +161,7 @@ class ###Component###Model###View### extends JModelLegacy
|
|||||||
// Did you give us a valid path?
|
// Did you give us a valid path?
|
||||||
if (!file_exists($p_dir))
|
if (!file_exists($p_dir))
|
||||||
{
|
{
|
||||||
JError::raiseWarning('', JText::_('COM_###COMPONENT###_IMPORT_MSG_PLEASE_ENTER_A_PACKAGE_DIRECTORY'));
|
$app->enqueueMessage(JText::_('COM_###COMPONENT###_IMPORT_MSG_PLEASE_ENTER_A_PACKAGE_DIRECTORY'), 'warning');
|
||||||
return false;
|
return false;
|
||||||
}
|
}
|
||||||
|
|
||||||
@ -169,7 +171,7 @@ class ###Component###Model###View### extends JModelLegacy
|
|||||||
// Did you give us a valid package?
|
// Did you give us a valid package?
|
||||||
if (!$type)
|
if (!$type)
|
||||||
{
|
{
|
||||||
JError::raiseWarning('', JText::_('COM_###COMPONENT###_IMPORT_MSG_PATH_DOES_NOT_HAVE_A_VALID_PACKAGE'));
|
$app->enqueueMessage(JText::_('COM_###COMPONENT###_IMPORT_MSG_PATH_DOES_NOT_HAVE_A_VALID_PACKAGE'), 'warning');
|
||||||
}
|
}
|
||||||
|
|
||||||
// check the extention
|
// check the extention
|
||||||
@ -180,7 +182,7 @@ class ###Component###Model###View### extends JModelLegacy
|
|||||||
break;
|
break;
|
||||||
|
|
||||||
default:
|
default:
|
||||||
JError::raiseWarning('', JText::_('COM_###COMPONENT###_IMPORT_MSG_DOES_NOT_HAVE_A_VALID_FILE_TYPE'));
|
$app->enqueueMessage(JText::_('COM_###COMPONENT###_IMPORT_MSG_DOES_NOT_HAVE_A_VALID_FILE_TYPE'), 'warning');
|
||||||
return false;
|
return false;
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
@ -200,7 +202,8 @@ class ###Component###Model###View### extends JModelLegacy
|
|||||||
*/
|
*/
|
||||||
protected function _getPackageFromUrl()
|
protected function _getPackageFromUrl()
|
||||||
{
|
{
|
||||||
$input = JFactory::getApplication()->input;
|
$app = JFactory::getApplication();
|
||||||
|
$input = $app->input;
|
||||||
|
|
||||||
// Get the URL of the package to import
|
// Get the URL of the package to import
|
||||||
$url = $input->getString('import_url');
|
$url = $input->getString('import_url');
|
||||||
@ -208,7 +211,7 @@ class ###Component###Model###View### extends JModelLegacy
|
|||||||
// Did you give us a URL?
|
// Did you give us a URL?
|
||||||
if (!$url)
|
if (!$url)
|
||||||
{
|
{
|
||||||
JError::raiseWarning('', JText::_('COM_###COMPONENT###_IMPORT_MSG_ENTER_A_URL'));
|
$app->enqueueMessage(JText::_('COM_###COMPONENT###_IMPORT_MSG_ENTER_A_URL'), 'warning');
|
||||||
return false;
|
return false;
|
||||||
}
|
}
|
||||||
|
|
||||||
@ -218,7 +221,7 @@ class ###Component###Model###View### extends JModelLegacy
|
|||||||
// Was the package downloaded?
|
// Was the package downloaded?
|
||||||
if (!$p_file)
|
if (!$p_file)
|
||||||
{
|
{
|
||||||
JError::raiseWarning('', JText::_('COM_###COMPONENT###_IMPORT_MSG_INVALID_URL'));
|
$app->enqueueMessage(JText::_('COM_###COMPONENT###_IMPORT_MSG_INVALID_URL'), 'warning');
|
||||||
return false;
|
return false;
|
||||||
}
|
}
|
||||||
|
|
||||||
@ -239,6 +242,7 @@ class ###Component###Model###View### extends JModelLegacy
|
|||||||
*/
|
*/
|
||||||
protected function check($archivename)
|
protected function check($archivename)
|
||||||
{
|
{
|
||||||
|
$app = JFactory::getApplication();
|
||||||
// Clean the name
|
// Clean the name
|
||||||
$archivename = JPath::clean($archivename);
|
$archivename = JPath::clean($archivename);
|
||||||
|
|
||||||
@ -252,7 +256,7 @@ class ###Component###Model###View### extends JModelLegacy
|
|||||||
default:
|
default:
|
||||||
// Cleanup the import files
|
// Cleanup the import files
|
||||||
$this->remove($archivename);
|
$this->remove($archivename);
|
||||||
JError::raiseWarning('', JText::_('COM_###COMPONENT###_IMPORT_MSG_DOES_NOT_HAVE_A_VALID_FILE_TYPE'));
|
$app->enqueueMessage(JText::_('COM_###COMPONENT###_IMPORT_MSG_DOES_NOT_HAVE_A_VALID_FILE_TYPE'), 'warning');
|
||||||
return false;
|
return false;
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
|
@ -95,7 +95,7 @@ class ###Component###Model###Views### extends JModelList
|
|||||||
public function getItems()
|
public function getItems()
|
||||||
{###LICENSE_LOCKED_CHECK### ###CHECKINCALL###
|
{###LICENSE_LOCKED_CHECK### ###CHECKINCALL###
|
||||||
// load parent items
|
// load parent items
|
||||||
$items = parent::getItems();###GET_ITEMS_METHOD_STRING_FIX### ###SELECTIONTRANSLATIONFIX###
|
$items = parent::getItems();###GET_ITEMS_METHOD_STRING_FIX### ###SELECTIONTRANSLATIONFIX### ###GET_ITEMS_METHOD_AFTER_ALL###
|
||||||
|
|
||||||
// return items
|
// return items
|
||||||
return $items;
|
return $items;
|
||||||
|
@ -81,9 +81,10 @@ class ###Component###Model###SViews### extends JModelList
|
|||||||
// check if this user has permission to access items
|
// check if this user has permission to access items
|
||||||
if (!$user->authorise('###sviews###.access', 'com_###component###'))
|
if (!$user->authorise('###sviews###.access', 'com_###component###'))
|
||||||
{
|
{
|
||||||
JError::raiseWarning(500, JText::_('Not authorised!'));
|
$app = JFactory::getApplication();
|
||||||
|
$app->enqueueMessage(JText::_('Not authorised!'), 'error');
|
||||||
// redirect away if not a correct (TODO for now we go to default view)
|
// redirect away if not a correct (TODO for now we go to default view)
|
||||||
JFactory::getApplication()->redirect('index.php?option=com_###component###');
|
$app->redirect('index.php?option=com_###component###');
|
||||||
return false;
|
return false;
|
||||||
}###LICENSE_LOCKED_CHECK### ###CUSTOM_ADMIN_BEFORE_GET_ITEMS###
|
}###LICENSE_LOCKED_CHECK### ###CUSTOM_ADMIN_BEFORE_GET_ITEMS###
|
||||||
// load parent items
|
// load parent items
|
||||||
|
@ -81,9 +81,10 @@ class ###Component###Model###SViews### extends JModelList
|
|||||||
// check if this user has permission to access items
|
// check if this user has permission to access items
|
||||||
if (!$user->authorise('site.###sview###.access', 'com_###component###'))
|
if (!$user->authorise('site.###sview###.access', 'com_###component###'))
|
||||||
{
|
{
|
||||||
JError::raiseWarning(500, JText::_('Not authorised!'));
|
$app = JFactory::getApplication();
|
||||||
|
$app->enqueueMessage(JText::_('Not authorised!'), 'error');
|
||||||
// redirect away if not a correct (TODO for now we go to default view)
|
// redirect away if not a correct (TODO for now we go to default view)
|
||||||
JFactory::getApplication()->redirect(JRoute::_('index.php?option=com_###component###&view=###SITE_DEFAULT_VIEW###'));
|
$app->redirect(JRoute::_('index.php?option=com_###component###&view=###SITE_DEFAULT_VIEW###'));
|
||||||
return false;
|
return false;
|
||||||
}###LICENSE_LOCKED_CHECK### ###SITE_BEFORE_GET_ITEMS###
|
}###LICENSE_LOCKED_CHECK### ###SITE_BEFORE_GET_ITEMS###
|
||||||
// load parent items
|
// load parent items
|
||||||
|
@ -36,59 +36,7 @@ jimport('joomla.application.component.view');
|
|||||||
* ###Component### ###View### View
|
* ###Component### ###View### View
|
||||||
*/
|
*/
|
||||||
class ###Component###View###View### extends JViewLegacy
|
class ###Component###View###View### extends JViewLegacy
|
||||||
{
|
{###IMPORT_DISPLAY_METHOD_CUSTOM###
|
||||||
protected $headerList;
|
|
||||||
protected $hasPackage = false;
|
|
||||||
protected $headers;
|
|
||||||
protected $hasHeader = 0;
|
|
||||||
protected $dataType;
|
|
||||||
|
|
||||||
public function display($tpl = null)
|
|
||||||
{
|
|
||||||
if ($this->getLayout() !== 'modal')
|
|
||||||
{
|
|
||||||
// Include helper submenu
|
|
||||||
###Component###Helper::addSubmenu('import');
|
|
||||||
}
|
|
||||||
|
|
||||||
// Check for errors.
|
|
||||||
if (count($errors = $this->get('Errors'))){
|
|
||||||
JError::raiseError(500, implode('<br />', $errors));
|
|
||||||
return false;
|
|
||||||
}
|
|
||||||
|
|
||||||
$paths = new stdClass;
|
|
||||||
$paths->first = '';
|
|
||||||
$state = $this->get('state');
|
|
||||||
|
|
||||||
$this->paths = &$paths;
|
|
||||||
$this->state = &$state;
|
|
||||||
// get global action permissions
|
|
||||||
$this->canDo = ###Component###Helper::getActions('import');
|
|
||||||
|
|
||||||
// We don't need toolbar in the modal window.
|
|
||||||
if ($this->getLayout() !== 'modal')
|
|
||||||
{
|
|
||||||
$this->addToolbar();
|
|
||||||
$this->sidebar = JHtmlSidebar::render();
|
|
||||||
}
|
|
||||||
|
|
||||||
// get the session object
|
|
||||||
$session = JFactory::getSession();
|
|
||||||
// check if it has package
|
|
||||||
$this->hasPackage = $session->get('hasPackage', false);
|
|
||||||
$this->dataType = $session->get('dataType', false);
|
|
||||||
if($this->hasPackage && $this->dataType)
|
|
||||||
{
|
|
||||||
$this->headerList = json_decode($session->get($this->dataType.'_VDM_IMPORTHEADERS', false),true);
|
|
||||||
$this->headers = ###Component###Helper::getFileHeaders($this->dataType);
|
|
||||||
// clear the data type
|
|
||||||
$session->clear('dataType');
|
|
||||||
}
|
|
||||||
|
|
||||||
// Display the template
|
|
||||||
parent::display($tpl);
|
|
||||||
}
|
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Setting the toolbar
|
* Setting the toolbar
|
||||||
|
@ -55,7 +55,8 @@ class ###Component###ControllerAjax extends JControllerLegacy
|
|||||||
// Check Token!
|
// Check Token!
|
||||||
$token = JSession::getFormToken();
|
$token = JSession::getFormToken();
|
||||||
$call_token = $jinput->get('token', 0, 'ALNUM');
|
$call_token = $jinput->get('token', 0, 'ALNUM');
|
||||||
if($user->id != 0 && $token == $call_token){
|
if($user->id != 0 && $token == $call_token)
|
||||||
|
{
|
||||||
$task = $this->getTask();
|
$task = $this->getTask();
|
||||||
switch($task){
|
switch($task){
|
||||||
case 'fieldRequired':
|
case 'fieldRequired':
|
||||||
@ -73,26 +74,37 @@ class ###Component###ControllerAjax extends JControllerLegacy
|
|||||||
{
|
{
|
||||||
$result = false;
|
$result = false;
|
||||||
}
|
}
|
||||||
if(array_key_exists('callback',$_GET)){
|
if($callback = $jinput->get('callback', null, 'CMD'))
|
||||||
echo $_GET['callback'] . "(".json_encode($result).");";
|
{
|
||||||
} else {
|
echo $callback . "(".json_encode($result).");";
|
||||||
|
}
|
||||||
|
else
|
||||||
|
{
|
||||||
echo "(".json_encode($result).");";
|
echo "(".json_encode($result).");";
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
catch(Exception $e)
|
catch(Exception $e)
|
||||||
{
|
{
|
||||||
if(array_key_exists('callback',$_GET)){
|
if($callback = $jinput->get('callback', null, 'CMD'))
|
||||||
echo $_GET['callback']."(".json_encode($e).");";
|
{
|
||||||
} else {
|
echo $callback."(".json_encode($e).");";
|
||||||
|
}
|
||||||
|
else
|
||||||
|
{
|
||||||
echo "(".json_encode($e).");";
|
echo "(".json_encode($e).");";
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
} else {
|
}
|
||||||
if(array_key_exists('callback',$_GET)){
|
else
|
||||||
echo $_GET['callback']."(".json_encode(false).");";
|
{
|
||||||
} else {
|
if($callback = $jinput->get('callback', null, 'CMD'))
|
||||||
|
{
|
||||||
|
echo $callback."(".json_encode(false).");";
|
||||||
|
}
|
||||||
|
else
|
||||||
|
{
|
||||||
echo "(".json_encode(false).");";
|
echo "(".json_encode(false).");";
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
@ -32,7 +32,7 @@ defined('_JEXEC') or die('Restricted access');
|
|||||||
// Access check.
|
// Access check.
|
||||||
if (!JFactory::getUser()->authorise('core.manage', 'com_###component###'))
|
if (!JFactory::getUser()->authorise('core.manage', 'com_###component###'))
|
||||||
{
|
{
|
||||||
return JError::raiseWarning(404, JText::_('JERROR_ALERTNOAUTHOR'));
|
return JError::raiseWaring(404, JText::_('JERROR_ALERTNOAUTHOR'));
|
||||||
};
|
};
|
||||||
|
|
||||||
// Load cms libraries
|
// Load cms libraries
|
||||||
|
@ -35,20 +35,9 @@ JHtml::_('behavior.formvalidation');
|
|||||||
JHtml::_('formbehavior.chosen', 'select');
|
JHtml::_('formbehavior.chosen', 'select');
|
||||||
JHtml::_('behavior.keepalive');
|
JHtml::_('behavior.keepalive');
|
||||||
?>
|
?>
|
||||||
<?php if ($this->canDo->get('###sview###.access')): ?>
|
<?php if ($this->canDo->get('###sview###.access')): ?>###CUSTOM_ADMIN_SUBMITBUTTON_SCRIPT###
|
||||||
<script type="text/javascript">
|
<?php $urlId = (isset($this->item->id)) ? '&id='. (int) $this->item->id : ''; ?>
|
||||||
Joomla.submitbutton = function(task) {
|
<form action="<?php echo JRoute::_('index.php?option=com_###component###&view=###sview###'.$urlId); ?>" method="post" name="adminForm" id="adminForm" class="form-validate" enctype="multipart/form-data">
|
||||||
if (task == '###sview###.back') {
|
|
||||||
parent.history.back();
|
|
||||||
return false;
|
|
||||||
} else {
|
|
||||||
var form = document.getElementById('adminForm');
|
|
||||||
form.task.value = task;
|
|
||||||
form.submit();
|
|
||||||
}
|
|
||||||
}
|
|
||||||
</script>
|
|
||||||
<form action="<?php echo JRoute::_('index.php?option=com_costbenefitprojection&view=###sview###&id='.$this->item->id); ?>" method="post" name="adminForm" id="adminForm" class="form-validate" enctype="multipart/form-data">
|
|
||||||
<input type="hidden" name="task" value="" />
|
<input type="hidden" name="task" value="" />
|
||||||
<?php echo JHtml::_('form.token'); ?>
|
<?php echo JHtml::_('form.token'); ?>
|
||||||
</form>###CUSTOM_ADMIN_BODY###
|
</form>###CUSTOM_ADMIN_BODY###
|
||||||
|
@ -32,6 +32,7 @@ defined('_JEXEC') or die('Restricted access');###LICENSE_LOCKED_DEFINED###
|
|||||||
JHtml::_('jquery.framework');
|
JHtml::_('jquery.framework');
|
||||||
JHtml::_('bootstrap.tooltip');
|
JHtml::_('bootstrap.tooltip');
|
||||||
JHtml::_('script', 'system/core.js', false, true);
|
JHtml::_('script', 'system/core.js', false, true);
|
||||||
|
JHtml::_('behavior.keepalive');
|
||||||
?>
|
?>
|
||||||
<script type="text/javascript">
|
<script type="text/javascript">
|
||||||
<?php if ($this->hasPackage && ###Component###Helper::checkArray($this->headerList)) : ?>
|
<?php if ($this->hasPackage && ###Component###Helper::checkArray($this->headerList)) : ?>
|
||||||
|
@ -32,4 +32,5 @@ defined('_JEXEC') or die('Restricted access');###LICENSE_LOCKED_DEFINED###
|
|||||||
JHtml::_('jquery.framework');
|
JHtml::_('jquery.framework');
|
||||||
JHtml::_('bootstrap.tooltip');
|
JHtml::_('bootstrap.tooltip');
|
||||||
JHtml::_('script', 'system/core.js', false, true);
|
JHtml::_('script', 'system/core.js', false, true);
|
||||||
|
JHtml::_('behavior.keepalive');
|
||||||
?>###IMPORT_DEFAULT_VIEW_CUSTOM###
|
?>###IMPORT_DEFAULT_VIEW_CUSTOM###
|
||||||
|
@ -35,19 +35,7 @@ JHtml::_('behavior.formvalidation');
|
|||||||
JHtml::_('formbehavior.chosen', 'select');
|
JHtml::_('formbehavior.chosen', 'select');
|
||||||
JHtml::_('behavior.keepalive');
|
JHtml::_('behavior.keepalive');
|
||||||
?>
|
?>
|
||||||
<?php if ($this->canDo->get('###sview###.access')): ?>
|
<?php if ($this->canDo->get('###sview###.access')): ?>###CUSTOM_ADMIN_SUBMITBUTTON_SCRIPT###
|
||||||
<script type="text/javascript">
|
|
||||||
Joomla.submitbutton = function(task) {
|
|
||||||
if (task == '###sview###.back') {
|
|
||||||
parent.history.back();
|
|
||||||
return false;
|
|
||||||
} else {
|
|
||||||
var form = document.getElementById('adminForm');
|
|
||||||
form.task.value = task;
|
|
||||||
form.submit();
|
|
||||||
}
|
|
||||||
}
|
|
||||||
</script>
|
|
||||||
<form action="<?php echo JRoute::_('index.php?option=com_###component###&view=###sviews###'); ?>" method="post" name="adminForm" id="adminForm" class="form-validate" enctype="multipart/form-data">
|
<form action="<?php echo JRoute::_('index.php?option=com_###component###&view=###sviews###'); ?>" method="post" name="adminForm" id="adminForm" class="form-validate" enctype="multipart/form-data">
|
||||||
<input type="hidden" name="task" value="" />###HIDDEN_INPUT_VALUES###
|
<input type="hidden" name="task" value="" />###HIDDEN_INPUT_VALUES###
|
||||||
<?php echo JHtml::_('form.token'); ?>
|
<?php echo JHtml::_('form.token'); ?>
|
||||||
|
@ -30,16 +30,18 @@ defined('_JEXEC') or die('Restricted access');
|
|||||||
defined('_JEXEC') or die('Restricted access');
|
defined('_JEXEC') or die('Restricted access');
|
||||||
|
|
||||||
?>
|
?>
|
||||||
<?php if(is_array($this->icons['main'])) :?>
|
<?php if(isset($this->icons['main']) && is_array($this->icons['main'])) :?>
|
||||||
<?php foreach($this->icons['main'] as $icon): ?>
|
<?php foreach($this->icons['main'] as $icon): ?>
|
||||||
<div class="dashboard-wraper">
|
<div class="dashboard-wraper">
|
||||||
<div class="dashboard-content">
|
<div class="dashboard-content">
|
||||||
<a class="icon" href="<?php echo $icon->url; ?>">
|
<a class="icon" href="<?php echo $icon->url; ?>">
|
||||||
<img alt="<?php echo $icon->alt; ?>" src="components/com_###component###/assets/images/icons/<?php echo $icon->image; ?>">
|
<img alt="<?php echo $icon->alt; ?>" src="components/com_###component###/assets/images/icons/<?php echo $icon->image; ?>">
|
||||||
<span class="dashboard-title"><?php echo JText::_($icon->name); ?></span>
|
<span class="dashboard-title"><?php echo JText::_($icon->name); ?></span>
|
||||||
</a>
|
</a>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
<?php endforeach; ?>
|
<?php endforeach; ?>
|
||||||
<div class="clearfix"></div>
|
<div class="clearfix"></div>
|
||||||
|
<?php else: ?>
|
||||||
|
<div class="alert alert-error"><h4 class="alert-heading"><?php echo JText::_("Permission denied, or not correctly set"); ?></h4><div class="alert-message"><?php echo JText::_("Please notify your System Administrator if result is unexpected."); ?></div></div>
|
||||||
<?php endif; ?>
|
<?php endif; ?>
|
@ -36,7 +36,8 @@ JHtml::_('formbehavior.chosen', 'select');
|
|||||||
JHtml::_('behavior.keepalive');
|
JHtml::_('behavior.keepalive');
|
||||||
$componentParams = JComponentHelper::getParams('com_###component###');
|
$componentParams = JComponentHelper::getParams('com_###component###');
|
||||||
?>
|
?>
|
||||||
|
###EDITBODYFADEIN###
|
||||||
<form action="<?php echo JRoute::_('index.php?option=com_###component###&layout=edit&id='.(int) $this->item->id.$this->referral); ?>" method="post" name="adminForm" id="adminForm" class="form-validate" enctype="multipart/form-data">
|
<form action="<?php echo JRoute::_('index.php?option=com_###component###&layout=edit&id='.(int) $this->item->id.$this->referral); ?>" method="post" name="adminForm" id="adminForm" class="form-validate" enctype="multipart/form-data">
|
||||||
###EDITBODY###
|
###EDITBODY###
|
||||||
</form>###EDITBODYSCRIPT###
|
</form>
|
||||||
|
</div>###EDITBODYSCRIPT###
|
||||||
|
@ -1 +1,6 @@
|
|||||||
###INSTALL###
|
###INSTALL###
|
||||||
|
|
||||||
|
--
|
||||||
|
-- Always insure this column is large enough for all the access control values.
|
||||||
|
--
|
||||||
|
ALTER TABLE `#__assets` CHANGE `rules` `rules` MEDIUMTEXT NOT NULL COMMENT 'JSON encoded access control.';
|
||||||
|
@ -10,8 +10,8 @@
|
|||||||
|_|
|
|_|
|
||||||
/-------------------------------------------------------------------------------------------------------------------------------/
|
/-------------------------------------------------------------------------------------------------------------------------------/
|
||||||
|
|
||||||
@version 2.1.8
|
@version 2.1.18
|
||||||
@build 7th May, 2016
|
@build 3rd September, 2016
|
||||||
@created 30th April, 2015
|
@created 30th April, 2015
|
||||||
@package Component Builder
|
@package Component Builder
|
||||||
@subpackage componentbuilder.php
|
@subpackage componentbuilder.php
|
||||||
@ -30,7 +30,7 @@ defined('_JEXEC') or die('Restricted access');
|
|||||||
// Access check.
|
// Access check.
|
||||||
if (!JFactory::getUser()->authorise('core.manage', 'com_componentbuilder'))
|
if (!JFactory::getUser()->authorise('core.manage', 'com_componentbuilder'))
|
||||||
{
|
{
|
||||||
return JError::raiseWarning(404, JText::_('JERROR_ALERTNOAUTHOR'));
|
return JError::raiseWaring(404, JText::_('JERROR_ALERTNOAUTHOR'));
|
||||||
};
|
};
|
||||||
|
|
||||||
// Load cms libraries
|
// Load cms libraries
|
||||||
|
@ -10,8 +10,8 @@
|
|||||||
|_|
|
|_|
|
||||||
/-------------------------------------------------------------------------------------------------------------------------------/
|
/-------------------------------------------------------------------------------------------------------------------------------/
|
||||||
|
|
||||||
@version 2.1.8
|
@version 2.1.18
|
||||||
@build 7th May, 2016
|
@build 3rd September, 2016
|
||||||
@created 30th April, 2015
|
@created 30th April, 2015
|
||||||
@package Component Builder
|
@package Component Builder
|
||||||
@subpackage controller.php
|
@subpackage controller.php
|
||||||
|
@ -10,8 +10,8 @@
|
|||||||
|_|
|
|_|
|
||||||
/-------------------------------------------------------------------------------------------------------------------------------/
|
/-------------------------------------------------------------------------------------------------------------------------------/
|
||||||
|
|
||||||
@version 2.1.8
|
@version 2.1.18
|
||||||
@build 7th May, 2016
|
@build 3rd September, 2016
|
||||||
@created 30th April, 2015
|
@created 30th April, 2015
|
||||||
@package Component Builder
|
@package Component Builder
|
||||||
@subpackage admin_view.php
|
@subpackage admin_view.php
|
||||||
|
@ -10,8 +10,8 @@
|
|||||||
|_|
|
|_|
|
||||||
/-------------------------------------------------------------------------------------------------------------------------------/
|
/-------------------------------------------------------------------------------------------------------------------------------/
|
||||||
|
|
||||||
@version 2.1.8
|
@version 2.1.18
|
||||||
@build 7th May, 2016
|
@build 3rd September, 2016
|
||||||
@created 30th April, 2015
|
@created 30th April, 2015
|
||||||
@package Component Builder
|
@package Component Builder
|
||||||
@subpackage admin_views.php
|
@subpackage admin_views.php
|
||||||
|
@ -10,8 +10,8 @@
|
|||||||
|_|
|
|_|
|
||||||
/-------------------------------------------------------------------------------------------------------------------------------/
|
/-------------------------------------------------------------------------------------------------------------------------------/
|
||||||
|
|
||||||
@version 2.1.8
|
@version 2.1.18
|
||||||
@build 7th May, 2016
|
@build 3rd September, 2016
|
||||||
@created 30th April, 2015
|
@created 30th April, 2015
|
||||||
@package Component Builder
|
@package Component Builder
|
||||||
@subpackage ajax.json.php
|
@subpackage ajax.json.php
|
||||||
@ -81,9 +81,9 @@ class ComponentbuilderControllerAjax extends JControllerLegacy
|
|||||||
{
|
{
|
||||||
$result = false;
|
$result = false;
|
||||||
}
|
}
|
||||||
if(array_key_exists('callback',$_GET))
|
if($callback = $jinput->get('callback', null, 'CMD'))
|
||||||
{
|
{
|
||||||
echo $_GET['callback'] . "(".json_encode($result).");";
|
echo $callback . "(".json_encode($result).");";
|
||||||
}
|
}
|
||||||
elseif($returnRaw)
|
elseif($returnRaw)
|
||||||
{
|
{
|
||||||
@ -96,9 +96,9 @@ class ComponentbuilderControllerAjax extends JControllerLegacy
|
|||||||
}
|
}
|
||||||
catch(Exception $e)
|
catch(Exception $e)
|
||||||
{
|
{
|
||||||
if(array_key_exists('callback',$_GET))
|
if($callback = $jinput->get('callback', null, 'CMD'))
|
||||||
{
|
{
|
||||||
echo $_GET['callback']."(".json_encode($e).");";
|
echo $callback."(".json_encode($e).");";
|
||||||
}
|
}
|
||||||
else
|
else
|
||||||
{
|
{
|
||||||
@ -119,9 +119,9 @@ class ComponentbuilderControllerAjax extends JControllerLegacy
|
|||||||
{
|
{
|
||||||
$result = false;
|
$result = false;
|
||||||
}
|
}
|
||||||
if(array_key_exists('callback',$_GET))
|
if($callback = $jinput->get('callback', null, 'CMD'))
|
||||||
{
|
{
|
||||||
echo $_GET['callback'] . "(".json_encode($result).");";
|
echo $callback . "(".json_encode($result).");";
|
||||||
}
|
}
|
||||||
elseif($returnRaw)
|
elseif($returnRaw)
|
||||||
{
|
{
|
||||||
@ -134,9 +134,9 @@ class ComponentbuilderControllerAjax extends JControllerLegacy
|
|||||||
}
|
}
|
||||||
catch(Exception $e)
|
catch(Exception $e)
|
||||||
{
|
{
|
||||||
if(array_key_exists('callback',$_GET))
|
if($callback = $jinput->get('callback', null, 'CMD'))
|
||||||
{
|
{
|
||||||
echo $_GET['callback']."(".json_encode($e).");";
|
echo $callback."(".json_encode($e).");";
|
||||||
}
|
}
|
||||||
else
|
else
|
||||||
{
|
{
|
||||||
@ -157,9 +157,9 @@ class ComponentbuilderControllerAjax extends JControllerLegacy
|
|||||||
{
|
{
|
||||||
$result = false;
|
$result = false;
|
||||||
}
|
}
|
||||||
if(array_key_exists('callback',$_GET))
|
if($callback = $jinput->get('callback', null, 'CMD'))
|
||||||
{
|
{
|
||||||
echo $_GET['callback'] . "(".json_encode($result).");";
|
echo $callback . "(".json_encode($result).");";
|
||||||
}
|
}
|
||||||
elseif($returnRaw)
|
elseif($returnRaw)
|
||||||
{
|
{
|
||||||
@ -172,9 +172,9 @@ class ComponentbuilderControllerAjax extends JControllerLegacy
|
|||||||
}
|
}
|
||||||
catch(Exception $e)
|
catch(Exception $e)
|
||||||
{
|
{
|
||||||
if(array_key_exists('callback',$_GET))
|
if($callback = $jinput->get('callback', null, 'CMD'))
|
||||||
{
|
{
|
||||||
echo $_GET['callback']."(".json_encode($e).");";
|
echo $callback."(".json_encode($e).");";
|
||||||
}
|
}
|
||||||
else
|
else
|
||||||
{
|
{
|
||||||
@ -195,9 +195,9 @@ class ComponentbuilderControllerAjax extends JControllerLegacy
|
|||||||
{
|
{
|
||||||
$result = false;
|
$result = false;
|
||||||
}
|
}
|
||||||
if(array_key_exists('callback',$_GET))
|
if($callback = $jinput->get('callback', null, 'CMD'))
|
||||||
{
|
{
|
||||||
echo $_GET['callback'] . "(".json_encode($result).");";
|
echo $callback . "(".json_encode($result).");";
|
||||||
}
|
}
|
||||||
elseif($returnRaw)
|
elseif($returnRaw)
|
||||||
{
|
{
|
||||||
@ -210,9 +210,9 @@ class ComponentbuilderControllerAjax extends JControllerLegacy
|
|||||||
}
|
}
|
||||||
catch(Exception $e)
|
catch(Exception $e)
|
||||||
{
|
{
|
||||||
if(array_key_exists('callback',$_GET))
|
if($callback = $jinput->get('callback', null, 'CMD'))
|
||||||
{
|
{
|
||||||
echo $_GET['callback']."(".json_encode($e).");";
|
echo $callback."(".json_encode($e).");";
|
||||||
}
|
}
|
||||||
else
|
else
|
||||||
{
|
{
|
||||||
@ -233,9 +233,9 @@ class ComponentbuilderControllerAjax extends JControllerLegacy
|
|||||||
{
|
{
|
||||||
$result = false;
|
$result = false;
|
||||||
}
|
}
|
||||||
if(array_key_exists('callback',$_GET))
|
if($callback = $jinput->get('callback', null, 'CMD'))
|
||||||
{
|
{
|
||||||
echo $_GET['callback'] . "(".json_encode($result).");";
|
echo $callback . "(".json_encode($result).");";
|
||||||
}
|
}
|
||||||
elseif($returnRaw)
|
elseif($returnRaw)
|
||||||
{
|
{
|
||||||
@ -248,9 +248,9 @@ class ComponentbuilderControllerAjax extends JControllerLegacy
|
|||||||
}
|
}
|
||||||
catch(Exception $e)
|
catch(Exception $e)
|
||||||
{
|
{
|
||||||
if(array_key_exists('callback',$_GET))
|
if($callback = $jinput->get('callback', null, 'CMD'))
|
||||||
{
|
{
|
||||||
echo $_GET['callback']."(".json_encode($e).");";
|
echo $callback."(".json_encode($e).");";
|
||||||
}
|
}
|
||||||
else
|
else
|
||||||
{
|
{
|
||||||
@ -271,9 +271,9 @@ class ComponentbuilderControllerAjax extends JControllerLegacy
|
|||||||
{
|
{
|
||||||
$result = false;
|
$result = false;
|
||||||
}
|
}
|
||||||
if(array_key_exists('callback',$_GET))
|
if($callback = $jinput->get('callback', null, 'CMD'))
|
||||||
{
|
{
|
||||||
echo $_GET['callback'] . "(".json_encode($result).");";
|
echo $callback . "(".json_encode($result).");";
|
||||||
}
|
}
|
||||||
elseif($returnRaw)
|
elseif($returnRaw)
|
||||||
{
|
{
|
||||||
@ -286,9 +286,9 @@ class ComponentbuilderControllerAjax extends JControllerLegacy
|
|||||||
}
|
}
|
||||||
catch(Exception $e)
|
catch(Exception $e)
|
||||||
{
|
{
|
||||||
if(array_key_exists('callback',$_GET))
|
if($callback = $jinput->get('callback', null, 'CMD'))
|
||||||
{
|
{
|
||||||
echo $_GET['callback']."(".json_encode($e).");";
|
echo $callback."(".json_encode($e).");";
|
||||||
}
|
}
|
||||||
else
|
else
|
||||||
{
|
{
|
||||||
@ -310,9 +310,9 @@ class ComponentbuilderControllerAjax extends JControllerLegacy
|
|||||||
{
|
{
|
||||||
$result = false;
|
$result = false;
|
||||||
}
|
}
|
||||||
if(array_key_exists('callback',$_GET))
|
if($callback = $jinput->get('callback', null, 'CMD'))
|
||||||
{
|
{
|
||||||
echo $_GET['callback'] . "(".json_encode($result).");";
|
echo $callback . "(".json_encode($result).");";
|
||||||
}
|
}
|
||||||
elseif($returnRaw)
|
elseif($returnRaw)
|
||||||
{
|
{
|
||||||
@ -325,9 +325,9 @@ class ComponentbuilderControllerAjax extends JControllerLegacy
|
|||||||
}
|
}
|
||||||
catch(Exception $e)
|
catch(Exception $e)
|
||||||
{
|
{
|
||||||
if(array_key_exists('callback',$_GET))
|
if($callback = $jinput->get('callback', null, 'CMD'))
|
||||||
{
|
{
|
||||||
echo $_GET['callback']."(".json_encode($e).");";
|
echo $callback."(".json_encode($e).");";
|
||||||
}
|
}
|
||||||
else
|
else
|
||||||
{
|
{
|
||||||
@ -348,9 +348,9 @@ class ComponentbuilderControllerAjax extends JControllerLegacy
|
|||||||
{
|
{
|
||||||
$result = false;
|
$result = false;
|
||||||
}
|
}
|
||||||
if(array_key_exists('callback',$_GET))
|
if($callback = $jinput->get('callback', null, 'CMD'))
|
||||||
{
|
{
|
||||||
echo $_GET['callback'] . "(".json_encode($result).");";
|
echo $callback . "(".json_encode($result).");";
|
||||||
}
|
}
|
||||||
elseif($returnRaw)
|
elseif($returnRaw)
|
||||||
{
|
{
|
||||||
@ -363,9 +363,9 @@ class ComponentbuilderControllerAjax extends JControllerLegacy
|
|||||||
}
|
}
|
||||||
catch(Exception $e)
|
catch(Exception $e)
|
||||||
{
|
{
|
||||||
if(array_key_exists('callback',$_GET))
|
if($callback = $jinput->get('callback', null, 'CMD'))
|
||||||
{
|
{
|
||||||
echo $_GET['callback']."(".json_encode($e).");";
|
echo $callback."(".json_encode($e).");";
|
||||||
}
|
}
|
||||||
else
|
else
|
||||||
{
|
{
|
||||||
@ -388,9 +388,9 @@ class ComponentbuilderControllerAjax extends JControllerLegacy
|
|||||||
{
|
{
|
||||||
$result = false;
|
$result = false;
|
||||||
}
|
}
|
||||||
if(array_key_exists('callback',$_GET))
|
if($callback = $jinput->get('callback', null, 'CMD'))
|
||||||
{
|
{
|
||||||
echo $_GET['callback'] . "(".json_encode($result).");";
|
echo $callback . "(".json_encode($result).");";
|
||||||
}
|
}
|
||||||
elseif($returnRaw)
|
elseif($returnRaw)
|
||||||
{
|
{
|
||||||
@ -403,9 +403,9 @@ class ComponentbuilderControllerAjax extends JControllerLegacy
|
|||||||
}
|
}
|
||||||
catch(Exception $e)
|
catch(Exception $e)
|
||||||
{
|
{
|
||||||
if(array_key_exists('callback',$_GET))
|
if($callback = $jinput->get('callback', null, 'CMD'))
|
||||||
{
|
{
|
||||||
echo $_GET['callback']."(".json_encode($e).");";
|
echo $callback."(".json_encode($e).");";
|
||||||
}
|
}
|
||||||
else
|
else
|
||||||
{
|
{
|
||||||
@ -428,9 +428,9 @@ class ComponentbuilderControllerAjax extends JControllerLegacy
|
|||||||
{
|
{
|
||||||
$result = false;
|
$result = false;
|
||||||
}
|
}
|
||||||
if(array_key_exists('callback',$_GET))
|
if($callback = $jinput->get('callback', null, 'CMD'))
|
||||||
{
|
{
|
||||||
echo $_GET['callback'] . "(".json_encode($result).");";
|
echo $callback . "(".json_encode($result).");";
|
||||||
}
|
}
|
||||||
elseif($returnRaw)
|
elseif($returnRaw)
|
||||||
{
|
{
|
||||||
@ -443,9 +443,9 @@ class ComponentbuilderControllerAjax extends JControllerLegacy
|
|||||||
}
|
}
|
||||||
catch(Exception $e)
|
catch(Exception $e)
|
||||||
{
|
{
|
||||||
if(array_key_exists('callback',$_GET))
|
if($callback = $jinput->get('callback', null, 'CMD'))
|
||||||
{
|
{
|
||||||
echo $_GET['callback']."(".json_encode($e).");";
|
echo $callback."(".json_encode($e).");";
|
||||||
}
|
}
|
||||||
else
|
else
|
||||||
{
|
{
|
||||||
@ -466,9 +466,9 @@ class ComponentbuilderControllerAjax extends JControllerLegacy
|
|||||||
{
|
{
|
||||||
$result = false;
|
$result = false;
|
||||||
}
|
}
|
||||||
if(array_key_exists('callback',$_GET))
|
if($callback = $jinput->get('callback', null, 'CMD'))
|
||||||
{
|
{
|
||||||
echo $_GET['callback'] . "(".json_encode($result).");";
|
echo $callback . "(".json_encode($result).");";
|
||||||
}
|
}
|
||||||
elseif($returnRaw)
|
elseif($returnRaw)
|
||||||
{
|
{
|
||||||
@ -481,9 +481,9 @@ class ComponentbuilderControllerAjax extends JControllerLegacy
|
|||||||
}
|
}
|
||||||
catch(Exception $e)
|
catch(Exception $e)
|
||||||
{
|
{
|
||||||
if(array_key_exists('callback',$_GET))
|
if($callback = $jinput->get('callback', null, 'CMD'))
|
||||||
{
|
{
|
||||||
echo $_GET['callback']."(".json_encode($e).");";
|
echo $callback."(".json_encode($e).");";
|
||||||
}
|
}
|
||||||
else
|
else
|
||||||
{
|
{
|
||||||
@ -495,9 +495,9 @@ class ComponentbuilderControllerAjax extends JControllerLegacy
|
|||||||
}
|
}
|
||||||
else
|
else
|
||||||
{
|
{
|
||||||
if(array_key_exists('callback',$_GET))
|
if($callback = $jinput->get('callback', null, 'CMD'))
|
||||||
{
|
{
|
||||||
echo $_GET['callback']."(".json_encode(false).");";
|
echo $callback."(".json_encode(false).");";
|
||||||
}
|
}
|
||||||
else
|
else
|
||||||
{
|
{
|
||||||
|
@ -10,8 +10,8 @@
|
|||||||
|_|
|
|_|
|
||||||
/-------------------------------------------------------------------------------------------------------------------------------/
|
/-------------------------------------------------------------------------------------------------------------------------------/
|
||||||
|
|
||||||
@version 2.1.8
|
@version 2.1.18
|
||||||
@build 7th May, 2016
|
@build 3rd September, 2016
|
||||||
@created 30th April, 2015
|
@created 30th April, 2015
|
||||||
@package Component Builder
|
@package Component Builder
|
||||||
@subpackage compiler.php
|
@subpackage compiler.php
|
||||||
|
@ -10,8 +10,8 @@
|
|||||||
|_|
|
|_|
|
||||||
/-------------------------------------------------------------------------------------------------------------------------------/
|
/-------------------------------------------------------------------------------------------------------------------------------/
|
||||||
|
|
||||||
@version 2.1.8
|
@version 2.1.18
|
||||||
@build 7th May, 2016
|
@build 3rd September, 2016
|
||||||
@created 30th April, 2015
|
@created 30th April, 2015
|
||||||
@package Component Builder
|
@package Component Builder
|
||||||
@subpackage component.php
|
@subpackage component.php
|
||||||
|
@ -10,8 +10,8 @@
|
|||||||
|_|
|
|_|
|
||||||
/-------------------------------------------------------------------------------------------------------------------------------/
|
/-------------------------------------------------------------------------------------------------------------------------------/
|
||||||
|
|
||||||
@version 2.1.8
|
@version 2.1.18
|
||||||
@build 7th May, 2016
|
@build 3rd September, 2016
|
||||||
@created 30th April, 2015
|
@created 30th April, 2015
|
||||||
@package Component Builder
|
@package Component Builder
|
||||||
@subpackage componentbuilder.php
|
@subpackage componentbuilder.php
|
||||||
|
@ -10,8 +10,8 @@
|
|||||||
|_|
|
|_|
|
||||||
/-------------------------------------------------------------------------------------------------------------------------------/
|
/-------------------------------------------------------------------------------------------------------------------------------/
|
||||||
|
|
||||||
@version 2.1.8
|
@version 2.1.18
|
||||||
@build 7th May, 2016
|
@build 3rd September, 2016
|
||||||
@created 30th April, 2015
|
@created 30th April, 2015
|
||||||
@package Component Builder
|
@package Component Builder
|
||||||
@subpackage components.php
|
@subpackage components.php
|
||||||
|
@ -10,8 +10,8 @@
|
|||||||
|_|
|
|_|
|
||||||
/-------------------------------------------------------------------------------------------------------------------------------/
|
/-------------------------------------------------------------------------------------------------------------------------------/
|
||||||
|
|
||||||
@version 2.1.8
|
@version 2.1.18
|
||||||
@build 7th May, 2016
|
@build 3rd September, 2016
|
||||||
@created 30th April, 2015
|
@created 30th April, 2015
|
||||||
@package Component Builder
|
@package Component Builder
|
||||||
@subpackage custom_admin_view.php
|
@subpackage custom_admin_view.php
|
||||||
|
@ -10,8 +10,8 @@
|
|||||||
|_|
|
|_|
|
||||||
/-------------------------------------------------------------------------------------------------------------------------------/
|
/-------------------------------------------------------------------------------------------------------------------------------/
|
||||||
|
|
||||||
@version 2.1.8
|
@version 2.1.18
|
||||||
@build 7th May, 2016
|
@build 3rd September, 2016
|
||||||
@created 30th April, 2015
|
@created 30th April, 2015
|
||||||
@package Component Builder
|
@package Component Builder
|
||||||
@subpackage custom_admin_views.php
|
@subpackage custom_admin_views.php
|
||||||
|
@ -10,8 +10,8 @@
|
|||||||
|_|
|
|_|
|
||||||
/-------------------------------------------------------------------------------------------------------------------------------/
|
/-------------------------------------------------------------------------------------------------------------------------------/
|
||||||
|
|
||||||
@version 2.1.8
|
@version 2.1.18
|
||||||
@build 7th May, 2016
|
@build 3rd September, 2016
|
||||||
@created 30th April, 2015
|
@created 30th April, 2015
|
||||||
@package Component Builder
|
@package Component Builder
|
||||||
@subpackage dynamic_get.php
|
@subpackage dynamic_get.php
|
||||||
|
@ -10,8 +10,8 @@
|
|||||||
|_|
|
|_|
|
||||||
/-------------------------------------------------------------------------------------------------------------------------------/
|
/-------------------------------------------------------------------------------------------------------------------------------/
|
||||||
|
|
||||||
@version 2.1.8
|
@version 2.1.18
|
||||||
@build 7th May, 2016
|
@build 3rd September, 2016
|
||||||
@created 30th April, 2015
|
@created 30th April, 2015
|
||||||
@package Component Builder
|
@package Component Builder
|
||||||
@subpackage dynamic_gets.php
|
@subpackage dynamic_gets.php
|
||||||
|
@ -10,8 +10,8 @@
|
|||||||
|_|
|
|_|
|
||||||
/-------------------------------------------------------------------------------------------------------------------------------/
|
/-------------------------------------------------------------------------------------------------------------------------------/
|
||||||
|
|
||||||
@version 2.1.8
|
@version 2.1.18
|
||||||
@build 7th May, 2016
|
@build 3rd September, 2016
|
||||||
@created 30th April, 2015
|
@created 30th April, 2015
|
||||||
@package Component Builder
|
@package Component Builder
|
||||||
@subpackage field.php
|
@subpackage field.php
|
||||||
|
@ -10,8 +10,8 @@
|
|||||||
|_|
|
|_|
|
||||||
/-------------------------------------------------------------------------------------------------------------------------------/
|
/-------------------------------------------------------------------------------------------------------------------------------/
|
||||||
|
|
||||||
@version 2.1.8
|
@version 2.1.18
|
||||||
@build 7th May, 2016
|
@build 3rd September, 2016
|
||||||
@created 30th April, 2015
|
@created 30th April, 2015
|
||||||
@package Component Builder
|
@package Component Builder
|
||||||
@subpackage fields.php
|
@subpackage fields.php
|
||||||
|
@ -10,8 +10,8 @@
|
|||||||
|_|
|
|_|
|
||||||
/-------------------------------------------------------------------------------------------------------------------------------/
|
/-------------------------------------------------------------------------------------------------------------------------------/
|
||||||
|
|
||||||
@version 2.1.8
|
@version 2.1.18
|
||||||
@build 7th May, 2016
|
@build 3rd September, 2016
|
||||||
@created 30th April, 2015
|
@created 30th April, 2015
|
||||||
@package Component Builder
|
@package Component Builder
|
||||||
@subpackage fieldtype.php
|
@subpackage fieldtype.php
|
||||||
|
@ -10,8 +10,8 @@
|
|||||||
|_|
|
|_|
|
||||||
/-------------------------------------------------------------------------------------------------------------------------------/
|
/-------------------------------------------------------------------------------------------------------------------------------/
|
||||||
|
|
||||||
@version 2.1.8
|
@version 2.1.18
|
||||||
@build 7th May, 2016
|
@build 3rd September, 2016
|
||||||
@created 30th April, 2015
|
@created 30th April, 2015
|
||||||
@package Component Builder
|
@package Component Builder
|
||||||
@subpackage fieldtypes.php
|
@subpackage fieldtypes.php
|
||||||
|
@ -10,8 +10,8 @@
|
|||||||
|_|
|
|_|
|
||||||
/-------------------------------------------------------------------------------------------------------------------------------/
|
/-------------------------------------------------------------------------------------------------------------------------------/
|
||||||
|
|
||||||
@version 2.1.8
|
@version 2.1.18
|
||||||
@build 7th May, 2016
|
@build 3rd September, 2016
|
||||||
@created 30th April, 2015
|
@created 30th April, 2015
|
||||||
@package Component Builder
|
@package Component Builder
|
||||||
@subpackage help.php
|
@subpackage help.php
|
||||||
|
@ -10,8 +10,8 @@
|
|||||||
|_|
|
|_|
|
||||||
/-------------------------------------------------------------------------------------------------------------------------------/
|
/-------------------------------------------------------------------------------------------------------------------------------/
|
||||||
|
|
||||||
@version 2.1.8
|
@version 2.1.18
|
||||||
@build 7th May, 2016
|
@build 3rd September, 2016
|
||||||
@created 30th April, 2015
|
@created 30th April, 2015
|
||||||
@package Component Builder
|
@package Component Builder
|
||||||
@subpackage help_document.php
|
@subpackage help_document.php
|
||||||
|
@ -10,8 +10,8 @@
|
|||||||
|_|
|
|_|
|
||||||
/-------------------------------------------------------------------------------------------------------------------------------/
|
/-------------------------------------------------------------------------------------------------------------------------------/
|
||||||
|
|
||||||
@version 2.1.8
|
@version 2.1.18
|
||||||
@build 7th May, 2016
|
@build 3rd September, 2016
|
||||||
@created 30th April, 2015
|
@created 30th April, 2015
|
||||||
@package Component Builder
|
@package Component Builder
|
||||||
@subpackage help_documents.php
|
@subpackage help_documents.php
|
||||||
|
@ -10,8 +10,8 @@
|
|||||||
|_|
|
|_|
|
||||||
/-------------------------------------------------------------------------------------------------------------------------------/
|
/-------------------------------------------------------------------------------------------------------------------------------/
|
||||||
|
|
||||||
@version 2.1.8
|
@version 2.1.18
|
||||||
@build 7th May, 2016
|
@build 3rd September, 2016
|
||||||
@created 30th April, 2015
|
@created 30th April, 2015
|
||||||
@package Component Builder
|
@package Component Builder
|
||||||
@subpackage import.php
|
@subpackage import.php
|
||||||
|
@ -10,8 +10,8 @@
|
|||||||
|_|
|
|_|
|
||||||
/-------------------------------------------------------------------------------------------------------------------------------/
|
/-------------------------------------------------------------------------------------------------------------------------------/
|
||||||
|
|
||||||
@version 2.1.8
|
@version 2.1.18
|
||||||
@build 7th May, 2016
|
@build 3rd September, 2016
|
||||||
@created 30th April, 2015
|
@created 30th April, 2015
|
||||||
@package Component Builder
|
@package Component Builder
|
||||||
@subpackage layout.php
|
@subpackage layout.php
|
||||||
|
@ -10,8 +10,8 @@
|
|||||||
|_|
|
|_|
|
||||||
/-------------------------------------------------------------------------------------------------------------------------------/
|
/-------------------------------------------------------------------------------------------------------------------------------/
|
||||||
|
|
||||||
@version 2.1.8
|
@version 2.1.18
|
||||||
@build 7th May, 2016
|
@build 3rd September, 2016
|
||||||
@created 30th April, 2015
|
@created 30th April, 2015
|
||||||
@package Component Builder
|
@package Component Builder
|
||||||
@subpackage layouts.php
|
@subpackage layouts.php
|
||||||
|
@ -10,8 +10,8 @@
|
|||||||
|_|
|
|_|
|
||||||
/-------------------------------------------------------------------------------------------------------------------------------/
|
/-------------------------------------------------------------------------------------------------------------------------------/
|
||||||
|
|
||||||
@version 2.1.8
|
@version 2.1.18
|
||||||
@build 7th May, 2016
|
@build 3rd September, 2016
|
||||||
@created 30th April, 2015
|
@created 30th April, 2015
|
||||||
@package Component Builder
|
@package Component Builder
|
||||||
@subpackage site_view.php
|
@subpackage site_view.php
|
||||||
|
@ -10,8 +10,8 @@
|
|||||||
|_|
|
|_|
|
||||||
/-------------------------------------------------------------------------------------------------------------------------------/
|
/-------------------------------------------------------------------------------------------------------------------------------/
|
||||||
|
|
||||||
@version 2.1.8
|
@version 2.1.18
|
||||||
@build 7th May, 2016
|
@build 3rd September, 2016
|
||||||
@created 30th April, 2015
|
@created 30th April, 2015
|
||||||
@package Component Builder
|
@package Component Builder
|
||||||
@subpackage site_views.php
|
@subpackage site_views.php
|
||||||
|
@ -10,8 +10,8 @@
|
|||||||
|_|
|
|_|
|
||||||
/-------------------------------------------------------------------------------------------------------------------------------/
|
/-------------------------------------------------------------------------------------------------------------------------------/
|
||||||
|
|
||||||
@version 2.1.8
|
@version 2.1.18
|
||||||
@build 7th May, 2016
|
@build 3rd September, 2016
|
||||||
@created 30th April, 2015
|
@created 30th April, 2015
|
||||||
@package Component Builder
|
@package Component Builder
|
||||||
@subpackage snippet.php
|
@subpackage snippet.php
|
||||||
|
@ -10,8 +10,8 @@
|
|||||||
|_|
|
|_|
|
||||||
/-------------------------------------------------------------------------------------------------------------------------------/
|
/-------------------------------------------------------------------------------------------------------------------------------/
|
||||||
|
|
||||||
@version 2.1.8
|
@version 2.1.18
|
||||||
@build 7th May, 2016
|
@build 3rd September, 2016
|
||||||
@created 30th April, 2015
|
@created 30th April, 2015
|
||||||
@package Component Builder
|
@package Component Builder
|
||||||
@subpackage snippets.php
|
@subpackage snippets.php
|
||||||
|
@ -10,8 +10,8 @@
|
|||||||
|_|
|
|_|
|
||||||
/-------------------------------------------------------------------------------------------------------------------------------/
|
/-------------------------------------------------------------------------------------------------------------------------------/
|
||||||
|
|
||||||
@version 2.1.8
|
@version 2.1.18
|
||||||
@build 7th May, 2016
|
@build 3rd September, 2016
|
||||||
@created 30th April, 2015
|
@created 30th April, 2015
|
||||||
@package Component Builder
|
@package Component Builder
|
||||||
@subpackage template.php
|
@subpackage template.php
|
||||||
|
@ -10,8 +10,8 @@
|
|||||||
|_|
|
|_|
|
||||||
/-------------------------------------------------------------------------------------------------------------------------------/
|
/-------------------------------------------------------------------------------------------------------------------------------/
|
||||||
|
|
||||||
@version 2.1.8
|
@version 2.1.18
|
||||||
@build 7th May, 2016
|
@build 3rd September, 2016
|
||||||
@created 30th April, 2015
|
@created 30th April, 2015
|
||||||
@package Component Builder
|
@package Component Builder
|
||||||
@subpackage templates.php
|
@subpackage templates.php
|
||||||
|
49
admin/custom/PHPExcel/Reader/ChunkReadFilter.php
Normal file
49
admin/custom/PHPExcel/Reader/ChunkReadFilter.php
Normal file
@ -0,0 +1,49 @@
|
|||||||
|
<?php
|
||||||
|
|
||||||
|
/*--------------------------------------------------------------------------------------------------------| www.vdm.io |------/
|
||||||
|
__ __ _ _____ _ _ __ __ _ _ _
|
||||||
|
\ \ / / | | | __ \ | | | | | \/ | | | | | | |
|
||||||
|
\ \ / /_ _ ___| |_ | | | | _____ _____| | ___ _ __ _ __ ___ ___ _ __ | |_ | \ / | ___| |_| |__ ___ __| |
|
||||||
|
\ \/ / _` / __| __| | | | |/ _ \ \ / / _ \ |/ _ \| '_ \| '_ ` _ \ / _ \ '_ \| __| | |\/| |/ _ \ __| '_ \ / _ \ / _` |
|
||||||
|
\ / (_| \__ \ |_ | |__| | __/\ V / __/ | (_) | |_) | | | | | | __/ | | | |_ | | | | __/ |_| | | | (_) | (_| |
|
||||||
|
\/ \__,_|___/\__| |_____/ \___| \_/ \___|_|\___/| .__/|_| |_| |_|\___|_| |_|\__| |_| |_|\___|\__|_| |_|\___/ \__,_|
|
||||||
|
| |
|
||||||
|
|_|
|
||||||
|
/-------------------------------------------------------------------------------------------------------------------------------/
|
||||||
|
|
||||||
|
@author Llewellyn 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
|
||||||
|
|
||||||
|
/-----------------------------------------------------------------------------------------------------------------------------*/
|
||||||
|
|
||||||
|
/** PHPExcel root directory */
|
||||||
|
if (!defined('PHPEXCEL_ROOT')) {
|
||||||
|
/**
|
||||||
|
* @ignore
|
||||||
|
*/
|
||||||
|
define('PHPEXCEL_ROOT', dirname(__FILE__) . '/../../');
|
||||||
|
require(PHPEXCEL_ROOT . 'PHPExcel/Autoloader.php');
|
||||||
|
}
|
||||||
|
|
||||||
|
class PHPExcel_Reader_chunkReadFilter implements PHPExcel_Reader_IReadFilter
|
||||||
|
{
|
||||||
|
private $_startRow = 0;
|
||||||
|
private $_endRow = 0;
|
||||||
|
|
||||||
|
/** Set the list of rows that we want to read */
|
||||||
|
public function setRows($startRow, $chunkSize)
|
||||||
|
{
|
||||||
|
$this->_startRow = $startRow;
|
||||||
|
$this->_endRow = $startRow + $chunkSize;
|
||||||
|
}
|
||||||
|
|
||||||
|
public function readCell($column, $row, $worksheetName = '')
|
||||||
|
{
|
||||||
|
// Only read the heading row, and the rows that are configured in $this->_startRow and $this->_endRow
|
||||||
|
if (($row == 1) || ($row >= $this->_startRow && $row < $this->_endRow)) {
|
||||||
|
return true;
|
||||||
|
}
|
||||||
|
return false;
|
||||||
|
}
|
||||||
|
}
|
49
admin/helpers/PHPExcel/Reader/ChunkReadFilter.php
Normal file
49
admin/helpers/PHPExcel/Reader/ChunkReadFilter.php
Normal file
@ -0,0 +1,49 @@
|
|||||||
|
<?php
|
||||||
|
|
||||||
|
/*--------------------------------------------------------------------------------------------------------| www.vdm.io |------/
|
||||||
|
__ __ _ _____ _ _ __ __ _ _ _
|
||||||
|
\ \ / / | | | __ \ | | | | | \/ | | | | | | |
|
||||||
|
\ \ / /_ _ ___| |_ | | | | _____ _____| | ___ _ __ _ __ ___ ___ _ __ | |_ | \ / | ___| |_| |__ ___ __| |
|
||||||
|
\ \/ / _` / __| __| | | | |/ _ \ \ / / _ \ |/ _ \| '_ \| '_ ` _ \ / _ \ '_ \| __| | |\/| |/ _ \ __| '_ \ / _ \ / _` |
|
||||||
|
\ / (_| \__ \ |_ | |__| | __/\ V / __/ | (_) | |_) | | | | | | __/ | | | |_ | | | | __/ |_| | | | (_) | (_| |
|
||||||
|
\/ \__,_|___/\__| |_____/ \___| \_/ \___|_|\___/| .__/|_| |_| |_|\___|_| |_|\__| |_| |_|\___|\__|_| |_|\___/ \__,_|
|
||||||
|
| |
|
||||||
|
|_|
|
||||||
|
/-------------------------------------------------------------------------------------------------------------------------------/
|
||||||
|
|
||||||
|
@author Llewellyn 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
|
||||||
|
|
||||||
|
/-----------------------------------------------------------------------------------------------------------------------------*/
|
||||||
|
|
||||||
|
/** PHPExcel root directory */
|
||||||
|
if (!defined('PHPEXCEL_ROOT')) {
|
||||||
|
/**
|
||||||
|
* @ignore
|
||||||
|
*/
|
||||||
|
define('PHPEXCEL_ROOT', dirname(__FILE__) . '/../../');
|
||||||
|
require(PHPEXCEL_ROOT . 'PHPExcel/Autoloader.php');
|
||||||
|
}
|
||||||
|
|
||||||
|
class PHPExcel_Reader_chunkReadFilter implements PHPExcel_Reader_IReadFilter
|
||||||
|
{
|
||||||
|
private $_startRow = 0;
|
||||||
|
private $_endRow = 0;
|
||||||
|
|
||||||
|
/** Set the list of rows that we want to read */
|
||||||
|
public function setRows($startRow, $chunkSize)
|
||||||
|
{
|
||||||
|
$this->_startRow = $startRow;
|
||||||
|
$this->_endRow = $startRow + $chunkSize;
|
||||||
|
}
|
||||||
|
|
||||||
|
public function readCell($column, $row, $worksheetName = '')
|
||||||
|
{
|
||||||
|
// Only read the heading row, and the rows that are configured in $this->_startRow and $this->_endRow
|
||||||
|
if (($row == 1) || ($row >= $this->_startRow && $row < $this->_endRow)) {
|
||||||
|
return true;
|
||||||
|
}
|
||||||
|
return false;
|
||||||
|
}
|
||||||
|
}
|
@ -82,6 +82,23 @@ class Compiler extends Infusion
|
|||||||
}
|
}
|
||||||
return false;
|
return false;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* Set the line number in comments
|
||||||
|
*
|
||||||
|
* @param int $nr The line number
|
||||||
|
*
|
||||||
|
* @return void
|
||||||
|
*
|
||||||
|
*/
|
||||||
|
private function setLine($nr)
|
||||||
|
{
|
||||||
|
if ($this->loadLineNr)
|
||||||
|
{
|
||||||
|
return ' [Compiler '.$nr.']';
|
||||||
|
}
|
||||||
|
return '';
|
||||||
|
}
|
||||||
|
|
||||||
protected function updateFiles()
|
protected function updateFiles()
|
||||||
{
|
{
|
||||||
|
@ -332,6 +332,23 @@ class Get
|
|||||||
return false;
|
return false;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* Set the line number in comments
|
||||||
|
*
|
||||||
|
* @param int $nr The line number
|
||||||
|
*
|
||||||
|
* @return void
|
||||||
|
*
|
||||||
|
*/
|
||||||
|
private function setLine($nr)
|
||||||
|
{
|
||||||
|
if ($this->loadLineNr)
|
||||||
|
{
|
||||||
|
return ' [Get '.$nr.']';
|
||||||
|
}
|
||||||
|
return '';
|
||||||
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* get all Component Data
|
* get all Component Data
|
||||||
*
|
*
|
||||||
@ -976,6 +993,15 @@ class Get
|
|||||||
$view->conditions[$nr]['match_name'] = ComponentbuilderHelper::safeString($name);
|
$view->conditions[$nr]['match_name'] = ComponentbuilderHelper::safeString($name);
|
||||||
$view->conditions[$nr]['match_type'] = ComponentbuilderHelper::safeString($type);
|
$view->conditions[$nr]['match_type'] = ComponentbuilderHelper::safeString($type);
|
||||||
$view->conditions[$nr]['match_xml'] = $fieldValue['settings']->xml;
|
$view->conditions[$nr]['match_xml'] = $fieldValue['settings']->xml;
|
||||||
|
// if custom field load field being extended
|
||||||
|
if (!ComponentbuilderHelper::typeField($type))
|
||||||
|
{
|
||||||
|
$view->conditions[$nr]['match_extends'] = ComponentbuilderHelper::getBetween($fieldValue['settings']->xml,'extends="','"');
|
||||||
|
}
|
||||||
|
else
|
||||||
|
{
|
||||||
|
$view->conditions[$nr]['match_extends'] = '';
|
||||||
|
}
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
@ -1002,82 +1028,52 @@ class Get
|
|||||||
// setup linked views to global data sets
|
// setup linked views to global data sets
|
||||||
$this->linkedAdminViews[$name_single] = $linked_views_sorted;
|
$this->linkedAdminViews[$name_single] = $linked_views_sorted;
|
||||||
unset($linked_views_sorted);
|
unset($linked_views_sorted);
|
||||||
// add_javascript_view_file
|
// set the lang target
|
||||||
if ($view->add_javascript_view_file == 1)
|
|
||||||
{
|
|
||||||
$view->javascript_view_file = base64_decode($view->javascript_view_file);
|
|
||||||
$this->customScriptBuilder['view_file'][$name_single] = $view->javascript_view_file;
|
|
||||||
if (strpos($view->javascript_view_file,"token") !== false && strpos($view->javascript_view_file,"task=ajax") !== false)
|
|
||||||
{
|
|
||||||
if (!$this->customScriptBuilder['token'][$name_single])
|
|
||||||
{
|
|
||||||
$this->customScriptBuilder['token'][$name_single] = true;
|
|
||||||
}
|
|
||||||
}
|
|
||||||
unset($view->javascript_view_file);
|
|
||||||
}
|
|
||||||
// add_javascript_view_footer
|
|
||||||
if ($view->add_javascript_view_footer == 1)
|
|
||||||
{
|
|
||||||
$view->javascript_view_footer = base64_decode($view->javascript_view_footer);
|
|
||||||
if (!isset($this->customScriptBuilder['view_footer'][$name_single]))
|
|
||||||
{
|
|
||||||
$this->customScriptBuilder['view_footer'][$name_single] = '';
|
|
||||||
}
|
|
||||||
$this->customScriptBuilder['view_footer'][$name_single] .= $view->javascript_view_footer;
|
|
||||||
if (strpos($view->javascript_view_footer,"token") !== false && strpos($view->javascript_view_footer,"task=ajax") !== false)
|
|
||||||
{
|
|
||||||
if (!$this->customScriptBuilder['token'][$name_single])
|
|
||||||
{
|
|
||||||
$this->customScriptBuilder['token'][$name_single] = true;
|
|
||||||
}
|
|
||||||
}
|
|
||||||
unset($view->javascript_view_footer);
|
|
||||||
}
|
|
||||||
// add_javascript_view_file
|
|
||||||
if ($view->add_javascript_views_file == 1)
|
|
||||||
{
|
|
||||||
$view->javascript_views_file = base64_decode($view->javascript_views_file);
|
|
||||||
$this->customScriptBuilder['views_file'][$name_list] = $view->javascript_views_file;
|
|
||||||
if (strpos($view->javascript_views_file,"token") !== false && strpos($view->javascript_views_file,"task=ajax") !== false)
|
|
||||||
{
|
|
||||||
if (!$this->customScriptBuilder['token'][$name_list])
|
|
||||||
{
|
|
||||||
$this->customScriptBuilder['token'][$name_list] = true;
|
|
||||||
}
|
|
||||||
}
|
|
||||||
unset($view->javascript_views_file);
|
|
||||||
}
|
|
||||||
// add_javascript_views_footer
|
|
||||||
if ($view->add_javascript_views_footer == 1)
|
|
||||||
{
|
|
||||||
$view->javascript_views_footer = base64_decode($view->javascript_views_footer);
|
|
||||||
$this->customScriptBuilder['views_footer'][$name_list] .= $view->javascript_views_footer;
|
|
||||||
if (strpos($view->javascript_views_footer,"token") !== false && strpos($view->javascript_views_footer,"task=ajax") !== false)
|
|
||||||
{
|
|
||||||
if (!$this->customScriptBuilder['token'][$name_list])
|
|
||||||
{
|
|
||||||
$this->customScriptBuilder['token'][$name_list] = true;
|
|
||||||
}
|
|
||||||
}
|
|
||||||
unset($view->javascript_views_footer);
|
|
||||||
}
|
|
||||||
// add_css_view
|
|
||||||
if ($view->add_css_view == 1)
|
|
||||||
{
|
|
||||||
$this->customScriptBuilder['css_view'][$name_single] .= base64_decode($view->css_view);
|
|
||||||
unset($view->css_view);
|
|
||||||
}
|
|
||||||
// add_css_views
|
|
||||||
if ($view->add_css_views == 1)
|
|
||||||
{
|
|
||||||
$this->customScriptBuilder['css_views'][$name_list] .= base64_decode($view->css_views);
|
|
||||||
unset($view->css_views);
|
|
||||||
}
|
|
||||||
|
|
||||||
$this->lang = 'admin';
|
$this->lang = 'admin';
|
||||||
$addArray = array('php_getitem','php_save','php_postsavehook','php_getitems','php_getlistquery','php_allowedit','php_before_delete','php_after_delete','php_batchcopy','php_batchmove','php_document');
|
// add_javascript
|
||||||
foreach ($addArray as $scripter)
|
$addArrayJ = array('javascript_view_file','javascript_view_footer','javascript_views_file','javascript_views_footer');
|
||||||
|
foreach ($addArrayJ as $scripter)
|
||||||
|
{
|
||||||
|
if (isset($view->{'add_'.$scripter}) && $view->{'add_'.$scripter} == 1)
|
||||||
|
{
|
||||||
|
$view->$scripter = $this->setCustomContentLang(base64_decode($view->$scripter));
|
||||||
|
$scripter_target = str_replace('javascript_', '', $scripter);
|
||||||
|
if (!isset($this->customScriptBuilder[$scripter_target][$name_single]))
|
||||||
|
{
|
||||||
|
if (!isset($this->customScriptBuilder[$scripter_target]))
|
||||||
|
{
|
||||||
|
$this->customScriptBuilder[$scripter_target] = array();
|
||||||
|
}
|
||||||
|
$this->customScriptBuilder[$scripter_target][$name_single] = '';
|
||||||
|
}
|
||||||
|
$this->customScriptBuilder[$scripter_target][$name_single] .= $view->$scripter;
|
||||||
|
if (strpos($view->$scripter,"token") !== false && strpos($view->$scripter,"task=ajax") !== false)
|
||||||
|
{
|
||||||
|
if (!$this->customScriptBuilder['token'][$name_single])
|
||||||
|
{
|
||||||
|
$this->customScriptBuilder['token'][$name_single] = true;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
unset($view->$scripter);
|
||||||
|
}
|
||||||
|
}
|
||||||
|
// add_css
|
||||||
|
$addArrayC = array('css_view', 'css_views');
|
||||||
|
foreach ($addArrayC as $scripter)
|
||||||
|
{
|
||||||
|
if (isset($view->{'add_'.$scripter}) && $view->{'add_'.$scripter} == 1)
|
||||||
|
{
|
||||||
|
if (!isset($this->customScriptBuilder[$scripter][$name_single]))
|
||||||
|
{
|
||||||
|
$this->customScriptBuilder[$scripter][$name_single] = '';
|
||||||
|
}
|
||||||
|
$this->customScriptBuilder[$scripter][$name_single] .= base64_decode($view->$scripter);
|
||||||
|
unset($view->$scripter);
|
||||||
|
}
|
||||||
|
}
|
||||||
|
// add_php
|
||||||
|
$addArrayP = array('php_getitem','php_save','php_postsavehook','php_getitems','php_getitems_after_all','php_getlistquery','php_allowedit','php_before_delete','php_after_delete','php_batchcopy','php_batchmove','php_document');
|
||||||
|
foreach ($addArrayP as $scripter)
|
||||||
{
|
{
|
||||||
if (isset($view->{'add_'.$scripter}) && $view->{'add_'.$scripter} == 1)
|
if (isset($view->{'add_'.$scripter}) && $view->{'add_'.$scripter} == 1)
|
||||||
{
|
{
|
||||||
@ -1089,7 +1085,7 @@ class Get
|
|||||||
// set custom import scripts
|
// set custom import scripts
|
||||||
if (isset($view->add_custom_import) && $view->add_custom_import == 1)
|
if (isset($view->add_custom_import) && $view->add_custom_import == 1)
|
||||||
{
|
{
|
||||||
$addImportArray = array('php_import','php_import_setdata','php_import_save','html_import_view');
|
$addImportArray = array('php_import_display','php_import','php_import_setdata','php_import_save','html_import_view');
|
||||||
foreach ($addImportArray as $importScripter)
|
foreach ($addImportArray as $importScripter)
|
||||||
{
|
{
|
||||||
if (isset($view->$importScripter) && strlen($view->$importScripter) > 0)
|
if (isset($view->$importScripter) && strlen($view->$importScripter) > 0)
|
||||||
@ -1101,7 +1097,7 @@ class Get
|
|||||||
}
|
}
|
||||||
|
|
||||||
// add_Ajax for this view
|
// add_Ajax for this view
|
||||||
if ($view->add_php_ajax == 1)
|
if (isset($view->add_php_ajax) && $view->add_php_ajax == 1)
|
||||||
{
|
{
|
||||||
$addAjaxSite = false;
|
$addAjaxSite = false;
|
||||||
if (isset($this->siteEditView[$id]) && $this->siteEditView[$id])
|
if (isset($this->siteEditView[$id]) && $this->siteEditView[$id])
|
||||||
@ -1128,16 +1124,20 @@ class Get
|
|||||||
$this->customScriptBuilder['admin']['ajax_controller'][$name_single][$nr][$option] = $value;
|
$this->customScriptBuilder['admin']['ajax_controller'][$name_single][$nr][$option] = $value;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
$this->addAjax = true;
|
||||||
|
unset($view->ajax_input);
|
||||||
|
}
|
||||||
|
if (ComponentbuilderHelper::checkString($view->php_ajaxmethod))
|
||||||
|
{
|
||||||
if ($addAjaxSite)
|
if ($addAjaxSite)
|
||||||
{
|
{
|
||||||
$this->customScriptBuilder['site']['ajax_model'][$name_single] = $this->setCustomContentLang(base64_decode($view->php_ajaxmethod));
|
$this->customScriptBuilder['site']['ajax_model'][$name_single] = $this->setCustomContentLang(base64_decode($view->php_ajaxmethod));
|
||||||
}
|
}
|
||||||
$this->customScriptBuilder['admin']['ajax_model'][$name_single] = $this->setCustomContentLang(base64_decode($view->php_ajaxmethod));
|
$this->customScriptBuilder['admin']['ajax_model'][$name_single] = $this->setCustomContentLang(base64_decode($view->php_ajaxmethod));
|
||||||
|
// unset anyway
|
||||||
|
unset($view->php_ajaxmethod);
|
||||||
$this->addAjax = true;
|
$this->addAjax = true;
|
||||||
unset($view->ajax_input);
|
|
||||||
}
|
}
|
||||||
// unset anyway
|
|
||||||
unset($view->php_ajaxmethod);
|
|
||||||
}
|
}
|
||||||
// add_sql
|
// add_sql
|
||||||
if ($view->add_sql == 1)
|
if ($view->add_sql == 1)
|
||||||
@ -1303,10 +1303,15 @@ class Get
|
|||||||
$this->customScriptBuilder[$this->target]['ajax_controller'][$view->code][$nr][$option] = $value;
|
$this->customScriptBuilder[$this->target]['ajax_controller'][$view->code][$nr][$option] = $value;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
$this->customScriptBuilder[$this->target]['ajax_model'][$view->code] = $this->setCustomContentLang(base64_decode($view->php_ajaxmethod));
|
|
||||||
$this->addSiteAjax = true;
|
$this->addSiteAjax = true;
|
||||||
unset($view->ajax_input);
|
unset($view->ajax_input);
|
||||||
}
|
}
|
||||||
|
if (ComponentbuilderHelper::checkString($view->php_ajaxmethod))
|
||||||
|
{
|
||||||
|
|
||||||
|
$this->customScriptBuilder[$this->target]['ajax_model'][$view->code] = $this->setCustomContentLang(base64_decode($view->php_ajaxmethod));
|
||||||
|
$this->addSiteAjax = true;
|
||||||
|
}
|
||||||
// unset anyway
|
// unset anyway
|
||||||
unset($view->php_ajaxmethod);
|
unset($view->php_ajaxmethod);
|
||||||
}
|
}
|
||||||
@ -1368,125 +1373,132 @@ class Get
|
|||||||
|
|
||||||
// Reset the query using our newly populated query object.
|
// Reset the query using our newly populated query object.
|
||||||
$db->setQuery($query);
|
$db->setQuery($query);
|
||||||
|
$db->execute();
|
||||||
// Load the results as a list of stdClass objects (see later for more options on retrieving data).
|
if ($db->getNumRows())
|
||||||
$field = $db->loadObject();
|
|
||||||
|
|
||||||
// adding a fix for the changed name of type to fieldtype
|
|
||||||
$field->type = $field->fieldtype;
|
|
||||||
|
|
||||||
// load the values form params
|
|
||||||
$field->xml = json_decode($field->xml);
|
|
||||||
|
|
||||||
// load the type values form type params
|
|
||||||
$properties = json_decode($field->type_properties,true);
|
|
||||||
unset($field->type_properties);
|
|
||||||
|
|
||||||
if (ComponentbuilderHelper::checkArray($properties))
|
|
||||||
{
|
{
|
||||||
foreach ($properties as $option => $values)
|
// Load the results as a list of stdClass objects (see later for more options on retrieving data).
|
||||||
|
$field = $db->loadObject();
|
||||||
|
|
||||||
|
// adding a fix for the changed name of type to fieldtype
|
||||||
|
$field->type = $field->fieldtype;
|
||||||
|
|
||||||
|
// load the values form params
|
||||||
|
$field->xml = json_decode($field->xml);
|
||||||
|
|
||||||
|
// load the type values form type params
|
||||||
|
$properties = json_decode($field->type_properties,true);
|
||||||
|
unset($field->type_properties);
|
||||||
|
|
||||||
|
if (ComponentbuilderHelper::checkArray($properties))
|
||||||
{
|
{
|
||||||
foreach ($values as $nr => $value)
|
foreach ($properties as $option => $values)
|
||||||
{
|
{
|
||||||
$field->properties[$nr][$option] = $value;
|
foreach ($values as $nr => $value)
|
||||||
}
|
|
||||||
}
|
|
||||||
}
|
|
||||||
// check if we have advanced encryption
|
|
||||||
if (4 == $field->store && (!isset($this->advancedEncryption) || !$this->advancedEncryption))
|
|
||||||
{
|
|
||||||
$this->advancedEncryption = true;
|
|
||||||
}
|
|
||||||
// check if we have basic encryption
|
|
||||||
elseif (3 == $field->store && (!isset($this->basicEncryption) || !$this->basicEncryption))
|
|
||||||
{
|
|
||||||
$this->basicEncryption = true;
|
|
||||||
}
|
|
||||||
|
|
||||||
// check if we should load scripts for single view
|
|
||||||
if (ComponentbuilderHelper::checkString($name_single) && !isset($this->customFieldScript[$name_single][$id]))
|
|
||||||
{
|
|
||||||
// add_javascript_view_footer
|
|
||||||
if ($field->add_javascript_view_footer == 1)
|
|
||||||
{
|
|
||||||
if(!isset($this->customScriptBuilder['view_footer']))
|
|
||||||
{
|
|
||||||
$this->customScriptBuilder['view_footer'] = array();
|
|
||||||
}
|
|
||||||
if (!isset($this->customScriptBuilder['view_footer'][$name_single]))
|
|
||||||
{
|
|
||||||
$this->customScriptBuilder['view_footer'][$name_single] = '';
|
|
||||||
}
|
|
||||||
$this->customScriptBuilder['view_footer'][$name_single] .= "\n".$this->setCustomContentLang(base64_decode($field->javascript_view_footer));
|
|
||||||
if (strpos($field->javascript_view_footer,"token") !== false && strpos($field->javascript_view_footer,"task=ajax") !== false)
|
|
||||||
{
|
|
||||||
if (!isset($this->customScriptBuilder['token'][$name_single]) || !$this->customScriptBuilder['token'][$name_single])
|
|
||||||
{
|
{
|
||||||
if(!isset($this->customScriptBuilder['token']))
|
$field->properties[$nr][$option] = $value;
|
||||||
{
|
|
||||||
$this->customScriptBuilder['token'] = array();
|
|
||||||
}
|
|
||||||
$this->customScriptBuilder['token'][$name_single] = true;
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
unset($field->javascript_view_footer);
|
}
|
||||||
|
// check if we have advanced encryption
|
||||||
|
if (4 == $field->store && (!isset($this->advancedEncryption) || !$this->advancedEncryption))
|
||||||
|
{
|
||||||
|
$this->advancedEncryption = true;
|
||||||
|
}
|
||||||
|
// check if we have basic encryption
|
||||||
|
elseif (3 == $field->store && (!isset($this->basicEncryption) || !$this->basicEncryption))
|
||||||
|
{
|
||||||
|
$this->basicEncryption = true;
|
||||||
}
|
}
|
||||||
|
|
||||||
// add_css_view
|
// check if we should load scripts for single view
|
||||||
if ($field->add_css_view == 1)
|
if (ComponentbuilderHelper::checkString($name_single) && !isset($this->customFieldScript[$name_single][$id]))
|
||||||
{
|
{
|
||||||
if (!isset($this->customScriptBuilder['css_view'][$name_single]))
|
// add_javascript_view_footer
|
||||||
|
if ($field->add_javascript_view_footer == 1)
|
||||||
{
|
{
|
||||||
$this->customScriptBuilder['css_view'][$name_single] = '';
|
if (!isset($this->customScriptBuilder['view_footer'][$name_single]))
|
||||||
|
{
|
||||||
|
if(!isset($this->customScriptBuilder['view_footer']))
|
||||||
|
{
|
||||||
|
$this->customScriptBuilder['view_footer'] = array();
|
||||||
|
}
|
||||||
|
$this->customScriptBuilder['view_footer'][$name_single] = '';
|
||||||
|
}
|
||||||
|
$this->customScriptBuilder['view_footer'][$name_single] .= "\n".$this->setCustomContentLang(base64_decode($field->javascript_view_footer));
|
||||||
|
if (strpos($field->javascript_view_footer,"token") !== false && strpos($field->javascript_view_footer,"task=ajax") !== false)
|
||||||
|
{
|
||||||
|
if (!isset($this->customScriptBuilder['token'][$name_single]) || !$this->customScriptBuilder['token'][$name_single])
|
||||||
|
{
|
||||||
|
if(!isset($this->customScriptBuilder['token']))
|
||||||
|
{
|
||||||
|
$this->customScriptBuilder['token'] = array();
|
||||||
|
}
|
||||||
|
$this->customScriptBuilder['token'][$name_single] = true;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
unset($field->javascript_view_footer);
|
||||||
}
|
}
|
||||||
$this->customScriptBuilder['css_view'][$name_single] .= "\n".base64_decode($field->css_view);
|
|
||||||
|
// add_css_view
|
||||||
|
if ($field->add_css_view == 1)
|
||||||
|
{
|
||||||
|
if (!isset($this->customScriptBuilder['css_view'][$name_single]))
|
||||||
|
{
|
||||||
|
$this->customScriptBuilder['css_view'][$name_single] = '';
|
||||||
|
}
|
||||||
|
$this->customScriptBuilder['css_view'][$name_single] .= "\n".base64_decode($field->css_view);
|
||||||
|
unset($field->css_view);
|
||||||
|
}
|
||||||
|
|
||||||
|
// add this only once to view.
|
||||||
|
$this->customFieldScript[$name_single][$id] = true;
|
||||||
|
}
|
||||||
|
else
|
||||||
|
{
|
||||||
|
// unset if not needed
|
||||||
|
unset($field->javascript_view_footer);
|
||||||
unset($field->css_view);
|
unset($field->css_view);
|
||||||
}
|
}
|
||||||
|
// check if we should load scripts for list views
|
||||||
// add this only once to view.
|
if (ComponentbuilderHelper::checkString($name_list))
|
||||||
$this->customFieldScript[$name_single][$id] = true;
|
|
||||||
}
|
|
||||||
else
|
|
||||||
{
|
|
||||||
// unset if not needed
|
|
||||||
unset($field->javascript_view_footer);
|
|
||||||
unset($field->css_view);
|
|
||||||
}
|
|
||||||
// check if we should load scripts for list views
|
|
||||||
if (ComponentbuilderHelper::checkString($name_list))
|
|
||||||
{
|
|
||||||
// add_javascript_views_footer
|
|
||||||
if ($field->add_javascript_views_footer == 1)
|
|
||||||
{
|
{
|
||||||
$this->customScriptBuilder['views_footer'][$name_list] .= $this->setCustomContentLang(base64_decode($field->javascript_views_footer));
|
// add_javascript_views_footer
|
||||||
if (strpos($field->javascript_views_footer,"token") !== false && strpos($field->javascript_views_footer,"task=ajax") !== false)
|
if ($field->add_javascript_views_footer == 1)
|
||||||
{
|
{
|
||||||
if (!$this->customScriptBuilder['token'][$name_list])
|
$this->customScriptBuilder['views_footer'][$name_list] .= $this->setCustomContentLang(base64_decode($field->javascript_views_footer));
|
||||||
|
if (strpos($field->javascript_views_footer,"token") !== false && strpos($field->javascript_views_footer,"task=ajax") !== false)
|
||||||
{
|
{
|
||||||
$this->customScriptBuilder['token'][$name_list] = true;
|
if (!$this->customScriptBuilder['token'][$name_list])
|
||||||
|
{
|
||||||
|
$this->customScriptBuilder['token'][$name_list] = true;
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
unset($field->javascript_views_footer);
|
||||||
}
|
}
|
||||||
unset($field->javascript_views_footer);
|
// add_css_views
|
||||||
}
|
if ($field->add_css_views == 1)
|
||||||
// add_css_views
|
|
||||||
if ($field->add_css_views == 1)
|
|
||||||
{
|
|
||||||
if (!isset($this->customScriptBuilder['css_views'][$name_list]))
|
|
||||||
{
|
{
|
||||||
$this->customScriptBuilder['css_views'][$name_list] = '';
|
if (!isset($this->customScriptBuilder['css_views'][$name_list]))
|
||||||
|
{
|
||||||
|
$this->customScriptBuilder['css_views'][$name_list] = '';
|
||||||
|
}
|
||||||
|
$this->customScriptBuilder['css_views'][$name_list] .= base64_decode($field->css_views);
|
||||||
|
unset($field->css_views);
|
||||||
}
|
}
|
||||||
$this->customScriptBuilder['css_views'][$name_list] .= base64_decode($field->css_views);
|
|
||||||
unset($field->css_views);
|
|
||||||
}
|
}
|
||||||
|
else
|
||||||
|
{
|
||||||
|
// unset if not needed
|
||||||
|
unset($field->javascript_views_footer);
|
||||||
|
unset($field->css_views);
|
||||||
|
|
||||||
|
}
|
||||||
|
$this->_fieldData[$id] = $field;
|
||||||
}
|
}
|
||||||
else
|
else
|
||||||
{
|
{
|
||||||
// unset if not needed
|
return false;
|
||||||
unset($field->javascript_views_footer);
|
|
||||||
unset($field->css_views);
|
|
||||||
|
|
||||||
}
|
}
|
||||||
$this->_fieldData[$id] = $field;
|
|
||||||
}
|
}
|
||||||
// return the found field data
|
// return the found field data
|
||||||
return $this->_fieldData[$id];
|
return $this->_fieldData[$id];
|
||||||
|
@ -189,6 +189,23 @@ class Structure extends Get
|
|||||||
return false;
|
return false;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* Set the line number in comments
|
||||||
|
*
|
||||||
|
* @param int $nr The line number
|
||||||
|
*
|
||||||
|
* @return void
|
||||||
|
*
|
||||||
|
*/
|
||||||
|
private function setLine($nr)
|
||||||
|
{
|
||||||
|
if ($this->loadLineNr)
|
||||||
|
{
|
||||||
|
return ' [Structure '.$nr.']';
|
||||||
|
}
|
||||||
|
return '';
|
||||||
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Build the Initial Folders
|
* Build the Initial Folders
|
||||||
*
|
*
|
||||||
|
@ -306,6 +306,51 @@ class Fields extends Structure
|
|||||||
* @var array
|
* @var array
|
||||||
*/
|
*/
|
||||||
public $setGroupControl = array();
|
public $setGroupControl = array();
|
||||||
|
|
||||||
|
/**
|
||||||
|
* Set Field Names
|
||||||
|
*
|
||||||
|
* @var array
|
||||||
|
*/
|
||||||
|
public $fieldsNames = array();
|
||||||
|
|
||||||
|
/**
|
||||||
|
* Default Fields
|
||||||
|
*
|
||||||
|
* @var array
|
||||||
|
*/
|
||||||
|
public $defaultFields = array('created', 'created_by', 'modified', 'modified_by', 'published', 'ordering', 'access', 'version', 'hits', 'id');
|
||||||
|
|
||||||
|
/**
|
||||||
|
* Default Fields set to publishing
|
||||||
|
*
|
||||||
|
* @var array
|
||||||
|
*/
|
||||||
|
public $newPublishingFields = array();
|
||||||
|
|
||||||
|
/**
|
||||||
|
* Default Fields set to publishing
|
||||||
|
*
|
||||||
|
* @var array
|
||||||
|
*/
|
||||||
|
public $movedPublishingFields = array();
|
||||||
|
|
||||||
|
/**
|
||||||
|
* Set the line number in comments
|
||||||
|
*
|
||||||
|
* @param int $nr The line number
|
||||||
|
*
|
||||||
|
* @return void
|
||||||
|
*
|
||||||
|
*/
|
||||||
|
private function setLine($nr)
|
||||||
|
{
|
||||||
|
if ($this->loadLineNr)
|
||||||
|
{
|
||||||
|
return ' [Fields '.$nr.']';
|
||||||
|
}
|
||||||
|
return '';
|
||||||
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* set the Field set of a view
|
* set the Field set of a view
|
||||||
@ -338,7 +383,7 @@ class Fields extends Structure
|
|||||||
$readOnly = "";
|
$readOnly = "";
|
||||||
if ($view['settings']->type == 2)
|
if ($view['settings']->type == 2)
|
||||||
{
|
{
|
||||||
$readOnly = "\n\t\t\t" . 'readonly="true"' . "\n\t\t\t" . 'disabled="true"';
|
$readOnly = "\t\t\t" . 'readonly="true"' . "\n\t\t\t" . 'disabled="true"';
|
||||||
}
|
}
|
||||||
// main lang prefix
|
// main lang prefix
|
||||||
$langView = $this->langPrefix . '_' . ComponentbuilderHelper::safeString($view['settings']->name_single, 'U');
|
$langView = $this->langPrefix . '_' . ComponentbuilderHelper::safeString($view['settings']->name_single, 'U');
|
||||||
@ -370,129 +415,22 @@ class Fields extends Structure
|
|||||||
$this->langContent[$this->lang][$langViews . '_BATCH_TIP'] = "All changes will be applied to all selected " . $view['settings']->name_list;
|
$this->langContent[$this->lang][$langViews . '_BATCH_TIP'] = "All changes will be applied to all selected " . $view['settings']->name_list;
|
||||||
// set some basic defaults
|
// set some basic defaults
|
||||||
$this->langContent[$this->lang][$langView . '_ERROR_UNIQUE_ALIAS'] = "Another " . $view['settings']->name_single . " has the same alias.";
|
$this->langContent[$this->lang][$langView . '_ERROR_UNIQUE_ALIAS'] = "Another " . $view['settings']->name_single . " has the same alias.";
|
||||||
$this->langContent[$this->lang][$langView . '_CREATED_DATE_LABEL'] = "Created date";
|
$this->langContent[$this->lang][$langView . '_CREATED_DATE_LABEL'] = "Created Date";
|
||||||
$this->langContent[$this->lang][$langView . '_CREATED_DATE_DESC'] = "The date " . $view['settings']->name_single . " was created.";
|
$this->langContent[$this->lang][$langView . '_CREATED_DATE_DESC'] = "The date this " . $view['settings']->name_single . " was created.";
|
||||||
$this->langContent[$this->lang][$langView . '_CREATED_BY_LABEL'] = "Created by";
|
$this->langContent[$this->lang][$langView . '_MODIFIED_DATE_LABEL'] = "Modified Date";
|
||||||
$this->langContent[$this->lang][$langView . '_CREATED_BY_DESC'] = "The user that created the " . $view['settings']->name_single . ".";
|
$this->langContent[$this->lang][$langView . '_MODIFIED_DATE_DESC'] = "The date this " . $view['settings']->name_single . " was modified.";
|
||||||
|
$this->langContent[$this->lang][$langView . '_CREATED_BY_LABEL'] = "Created By";
|
||||||
|
$this->langContent[$this->lang][$langView . '_CREATED_BY_DESC'] = "The user that created this " . $view['settings']->name_single . ".";
|
||||||
|
$this->langContent[$this->lang][$langView . '_MODIFIED_BY_LABEL'] = "Modified By";
|
||||||
|
$this->langContent[$this->lang][$langView . '_MODIFIED_BY_DESC'] = "The last user that modified this " . $view['settings']->name_single . ".";
|
||||||
$this->langContent[$this->lang][$langView . '_ORDERING_LABEL'] = "Ordering";
|
$this->langContent[$this->lang][$langView . '_ORDERING_LABEL'] = "Ordering";
|
||||||
$this->langContent[$this->lang][$langView . '_VERSION_LABEL'] = "Revision";
|
$this->langContent[$this->lang][$langView . '_VERSION_LABEL'] = "Revision";
|
||||||
$this->langContent[$this->lang][$langView . '_VERSION_DESC'] = "A count of the number of times this " . $view['settings']->name_single . " has been revised.";
|
$this->langContent[$this->lang][$langView . '_VERSION_DESC'] = "A count of the number of times this " . $view['settings']->name_single . " has been revised.";
|
||||||
$this->langContent[$this->lang][$langView . '_SAVE_WARNING'] = "Alias already existed so a number was added at the end. You can re-edit the " . $view['settings']->name_single . " to customise the alias.";
|
$this->langContent[$this->lang][$langView . '_SAVE_WARNING'] = "Alias already existed so a number was added at the end. You can re-edit the " . $view['settings']->name_single . " to customise the alias.";
|
||||||
// set the defautl fields
|
|
||||||
$fieldSet = '<fieldset name="details">';
|
|
||||||
$fieldSet .= "\n\t\t<!--" . $this->setLine(__LINE__) . " Default Fields. -->";
|
|
||||||
$fieldSet .= "\n\t\t<!--" . $this->setLine(__LINE__) . " Id Field. Type: Text (joomla) -->";
|
|
||||||
$fieldSet .= "\n\t\t<field";
|
|
||||||
$fieldSet .= "\n\t\t\tname=" . '"id"';
|
|
||||||
$fieldSet .= "\n\t\t\t" . 'type="text" class="readonly" label="JGLOBAL_FIELD_ID_LABEL"';
|
|
||||||
$fieldSet .= "\n\t\t\t" . 'description ="JGLOBAL_FIELD_ID_DESC" size="10" default="0"';
|
|
||||||
$fieldSet .= "\n\t\t\t" . 'readonly="true"';
|
|
||||||
$fieldSet .= "\n\t\t/>";
|
|
||||||
$fieldSet .= "\n\t\t<!--" . $this->setLine(__LINE__) . " Date Created Field. Type: Calendar (joomla) -->";
|
|
||||||
$fieldSet .= "\n\t\t<field";
|
|
||||||
$fieldSet .= "\n\t\t\tname=" . '"created"';
|
|
||||||
$fieldSet .= "\n\t\t\ttype=" . '"calendar"';
|
|
||||||
$fieldSet .= "\n\t\t\tlabel=" . '"' . $langView . '_CREATED_DATE_LABEL"';
|
|
||||||
$fieldSet .= "\n\t\t\tdescription=" . '"' . $langView . '_CREATED_DATE_DESC"';
|
|
||||||
$fieldSet .= "\n\t\t\tsize=" . '"22"';
|
|
||||||
$fieldSet .= $readOnly;
|
|
||||||
$fieldSet .= "\n\t\t\tformat=" . '"%Y-%m-%d %H:%M:%S"';
|
|
||||||
$fieldSet .= "\n\t\t\tfilter=" . '"user_utc"';
|
|
||||||
$fieldSet .= "\n\t\t/>";
|
|
||||||
$fieldSet .= "\n\t\t<!--" . $this->setLine(__LINE__) . " User Created Field. Type: User (joomla) -->";
|
|
||||||
$fieldSet .= "\n\t\t<field";
|
|
||||||
$fieldSet .= "\n\t\t\tname=" . '"created_by"';
|
|
||||||
$fieldSet .= "\n\t\t\ttype=" . '"user"';
|
|
||||||
$fieldSet .= "\n\t\t\tlabel=" . '"' . $langView . '_CREATED_BY_LABEL"';
|
|
||||||
$fieldSet .= $readOnly;
|
|
||||||
$fieldSet .= "\n\t\t\tdescription=" . '"' . $langView . '_CREATED_BY_DESC"';
|
|
||||||
$fieldSet .= "\n\t\t/>";
|
|
||||||
$fieldSet .= "\n\t\t<!--" . $this->setLine(__LINE__) . " Published Field. Type: List (joomla) -->";
|
|
||||||
$fieldSet .= "\n\t\t<field name=" . '"published" type="list" label="JSTATUS"';
|
|
||||||
$fieldSet .= "\n\t\t\tdescription=" . '"JFIELD_PUBLISHED_DESC" class="chzn-color-state"';
|
|
||||||
$fieldSet .= $readOnly;
|
|
||||||
$fieldSet .= "\n\t\t\tfilter=" . '"intval" size="1" default="1" >';
|
|
||||||
|
|
||||||
$fieldSet .= "\n\t\t\t<option value=" . '"1">';
|
|
||||||
$fieldSet .= "\n\t\t\t\tJPUBLISHED</option>";
|
|
||||||
$fieldSet .= "\n\t\t\t<option value=" . '"0">';
|
|
||||||
$fieldSet .= "\n\t\t\t\tJUNPUBLISHED</option>";
|
|
||||||
$fieldSet .= "\n\t\t\t<option value=" . '"2">';
|
|
||||||
$fieldSet .= "\n\t\t\t\tJARCHIVED</option>";
|
|
||||||
$fieldSet .= "\n\t\t\t<option value=" . '"-2">';
|
|
||||||
$fieldSet .= "\n\t\t\t\tJTRASHED</option>";
|
|
||||||
$fieldSet .= "\n\t\t</field>";
|
|
||||||
$fieldSet .= "\n\t\t<!--" . $this->setLine(__LINE__) . " Date Modified Field. Type: Calendar (joomla) -->";
|
|
||||||
$fieldSet .= "\n\t\t" . '<field name="modified" type="calendar" class="readonly"';
|
|
||||||
$fieldSet .= "\n\t\t\t" . 'label="JGLOBAL_FIELD_MODIFIED_LABEL" description="COM_CONTENT_FIELD_MODIFIED_DESC"';
|
|
||||||
$fieldSet .= "\n\t\t\t" . 'size="22" readonly="true" format="%Y-%m-%d %H:%M:%S" filter="user_utc" />';
|
|
||||||
$fieldSet .= "\n\t\t<!--" . $this->setLine(__LINE__) . " User Modified Field. Type: User (joomla) -->";
|
|
||||||
$fieldSet .= "\n\t\t" . '<field name="modified_by" type="user"';
|
|
||||||
$fieldSet .= "\n\t\t\t" . 'label="JGLOBAL_FIELD_MODIFIED_BY_LABEL"';
|
|
||||||
$fieldSet .= "\n\t\t\t" . 'class="readonly"';
|
|
||||||
$fieldSet .= "\n\t\t\t" . 'readonly="true"';
|
|
||||||
$fieldSet .= "\n\t\t\t" . 'filter="unset"';
|
|
||||||
$fieldSet .= "\n\t\t/>";
|
|
||||||
// check if view has access
|
|
||||||
if (isset($this->accessBuilder[$viewName]) && ComponentbuilderHelper::checkString($this->accessBuilder[$viewName]))
|
|
||||||
{
|
|
||||||
$fieldSet .= "\n\t\t<!--" . $this->setLine(__LINE__) . " Access Field. Type: Accesslevel (joomla) -->";
|
|
||||||
$fieldSet .= "\n\t\t" . '<field name="access"';
|
|
||||||
$fieldSet .= "\n\t\t\t" . 'type="accesslevel"';
|
|
||||||
$fieldSet .= "\n\t\t\t" . 'label="JFIELD_ACCESS_LABEL"';
|
|
||||||
$fieldSet .= "\n\t\t\t" . 'description="JFIELD_ACCESS_DESC"';
|
|
||||||
$fieldSet .= "\n\t\t\t" . 'default="1"';
|
|
||||||
$fieldSet .= $readOnly;
|
|
||||||
$fieldSet .= "\n\t\t\t" . 'required="false"';
|
|
||||||
$fieldSet .= "\n\t\t/>";
|
|
||||||
}
|
|
||||||
$fieldSet .= "\n\t\t<!--" . $this->setLine(__LINE__) . " Ordering Field. Type: Numbers (joomla) -->";
|
|
||||||
$fieldSet .= "\n\t\t<field";
|
|
||||||
$fieldSet .= "\n\t\t\t" . 'name="ordering"';
|
|
||||||
$fieldSet .= "\n\t\t\t" . 'type="number"';
|
|
||||||
$fieldSet .= "\n\t\t\t" . 'class="inputbox validate-ordering"';
|
|
||||||
$fieldSet .= "\n\t\t\t" . 'label="' . $langView . '_ORDERING_LABEL' . '"';
|
|
||||||
$fieldSet .= "\n\t\t\t" . 'description=""';
|
|
||||||
$fieldSet .= "\n\t\t\t" . 'default="0"';
|
|
||||||
$fieldSet .= "\n\t\t\t" . 'size="6"';
|
|
||||||
$fieldSet .= $readOnly;
|
|
||||||
$fieldSet .= "\n\t\t\t" . 'required="false"';
|
|
||||||
$fieldSet .= "\n\t\t/>";
|
|
||||||
$fieldSet .= "\n\t\t<!--" . $this->setLine(__LINE__) . " Version Field. Type: Text (joomla) -->";
|
|
||||||
$fieldSet .= "\n\t\t<field";
|
|
||||||
$fieldSet .= "\n\t\t\t" . 'name="version"';
|
|
||||||
$fieldSet .= "\n\t\t\t" . 'type="text"';
|
|
||||||
$fieldSet .= "\n\t\t\t" . 'class="readonly"';
|
|
||||||
$fieldSet .= "\n\t\t\t" . 'label="' . $langView . '_VERSION_LABEL"';
|
|
||||||
$fieldSet .= "\n\t\t\t" . 'description="' . $langView . '_VERSION_DESC"';
|
|
||||||
$fieldSet .= "\n\t\t\t" . 'size="6"';
|
|
||||||
$fieldSet .= "\n\t\t\t" . 'readonly="true"';
|
|
||||||
$fieldSet .= "\n\t\t\t" . 'filter="unset"';
|
|
||||||
$fieldSet .= "\n\t\t/>";
|
|
||||||
// check if metadata is added to this view
|
|
||||||
if (isset($this->metadataBuilder[$viewName]) && ComponentbuilderHelper::checkString($this->metadataBuilder[$viewName]))
|
|
||||||
{
|
|
||||||
$fieldSet .= "\n\t\t<!--" . $this->setLine(__LINE__) . " Metakey Field. Type: Textarea (joomla) -->";
|
|
||||||
$fieldSet .= "\n\t\t<field";
|
|
||||||
$fieldSet .= "\n\t\t\t" . 'name="metakey"';
|
|
||||||
$fieldSet .= "\n\t\t\t" . 'type="textarea"';
|
|
||||||
$fieldSet .= "\n\t\t\t" . 'label="JFIELD_META_KEYWORDS_LABEL"';
|
|
||||||
$fieldSet .= "\n\t\t\t" . 'description="JFIELD_META_KEYWORDS_DESC"';
|
|
||||||
$fieldSet .= "\n\t\t\t" . 'rows="3"';
|
|
||||||
$fieldSet .= "\n\t\t\t" . 'cols="30"';
|
|
||||||
$fieldSet .= "\n\t\t/>";
|
|
||||||
$fieldSet .= "\n\t\t<!--" . $this->setLine(__LINE__) . " Metadesc Field. Type: Textarea (joomla) -->";
|
|
||||||
$fieldSet .= "\n\t\t<field";
|
|
||||||
$fieldSet .= "\n\t\t\t" . 'name="metadesc"';
|
|
||||||
$fieldSet .= "\n\t\t\t" . 'type="textarea"';
|
|
||||||
$fieldSet .= "\n\t\t\t" . 'label="JFIELD_META_DESCRIPTION_LABEL"';
|
|
||||||
$fieldSet .= "\n\t\t\t" . 'description="JFIELD_META_DESCRIPTION_DESC"';
|
|
||||||
$fieldSet .= "\n\t\t\t" . 'rows="3"';
|
|
||||||
$fieldSet .= "\n\t\t\t" . 'cols="30"';
|
|
||||||
$fieldSet .= "\n\t\t/>";
|
|
||||||
}
|
|
||||||
$fieldSet .= "\n\t\t<!--" . $this->setLine(__LINE__) . " Dynamic Fields. -->";
|
|
||||||
// start adding dynamc fields
|
// start adding dynamc fields
|
||||||
|
$dynamcfields = '';
|
||||||
|
// place holders
|
||||||
$placeholders = array(
|
$placeholders = array(
|
||||||
'###component###' => $component,
|
'###component###' => $component,
|
||||||
'###view###' => $viewName,
|
'###view###' => $viewName,
|
||||||
@ -503,47 +441,217 @@ class Fields extends Structure
|
|||||||
// TODO we should add the global and local view switch if field for front end
|
// TODO we should add the global and local view switch if field for front end
|
||||||
foreach ($view['settings']->fields as $field)
|
foreach ($view['settings']->fields as $field)
|
||||||
{
|
{
|
||||||
$fieldSet .= $this->setDynamicField($field, $view, $view['settings']->type, $langView, $viewName, $listViewName, $spacerCounter, $placeholders, $dbkey, true);
|
$dynamcfields .= $this->setDynamicField($field, $view, $view['settings']->type, $langView, $viewName, $listViewName, $spacerCounter, $placeholders, $dbkey, true);
|
||||||
|
}
|
||||||
|
|
||||||
|
// set the defautl fields
|
||||||
|
$fieldSet = array();
|
||||||
|
$fieldSet[] = '<fieldset name="details">';
|
||||||
|
$fieldSet[] = "\t\t<!--" . $this->setLine(__LINE__) . " Default Fields. -->";
|
||||||
|
$fieldSet[] = "\t\t<!--" . $this->setLine(__LINE__) . " Id Field. Type: Text (joomla) -->";
|
||||||
|
// if id is not set
|
||||||
|
if (!isset($this->fieldsNames[$viewName]['id']))
|
||||||
|
{
|
||||||
|
$fieldSet[] = "\t\t<field";
|
||||||
|
$fieldSet[] = "\t\t\tname=" . '"id"';
|
||||||
|
$fieldSet[] = "\t\t\t" . 'type="text" class="readonly" label="JGLOBAL_FIELD_ID_LABEL"';
|
||||||
|
$fieldSet[] = "\t\t\t" . 'description ="JGLOBAL_FIELD_ID_DESC" size="10" default="0"';
|
||||||
|
$fieldSet[] = "\t\t\t" . 'readonly="true"';
|
||||||
|
$fieldSet[] = "\t\t/>";
|
||||||
|
}
|
||||||
|
// if created is not set
|
||||||
|
if (!isset($this->fieldsNames[$viewName]['created']))
|
||||||
|
{
|
||||||
|
$fieldSet[] = "\t\t<!--" . $this->setLine(__LINE__) . " Date Created Field. Type: Calendar (joomla) -->";
|
||||||
|
$fieldSet[] = "\t\t<field";
|
||||||
|
$fieldSet[] = "\t\t\tname=" . '"created"';
|
||||||
|
$fieldSet[] = "\t\t\ttype=" . '"calendar"';
|
||||||
|
$fieldSet[] = "\t\t\tlabel=" . '"' . $langView . '_CREATED_DATE_LABEL"';
|
||||||
|
$fieldSet[] = "\t\t\tdescription=" . '"' . $langView . '_CREATED_DATE_DESC"';
|
||||||
|
$fieldSet[] = "\t\t\tsize=" . '"22"';
|
||||||
|
$fieldSet[] = $readOnly;
|
||||||
|
$fieldSet[] = "\t\t\tformat=" . '"%Y-%m-%d %H:%M:%S"';
|
||||||
|
$fieldSet[] = "\t\t\tfilter=" . '"user_utc"';
|
||||||
|
$fieldSet[] = "\t\t/>";
|
||||||
|
}
|
||||||
|
// if created_by is not set
|
||||||
|
if (!isset($this->fieldsNames[$viewName]['created_by']))
|
||||||
|
{
|
||||||
|
$fieldSet[] = "\t\t<!--" . $this->setLine(__LINE__) . " User Created Field. Type: User (joomla) -->";
|
||||||
|
$fieldSet[] = "\t\t<field";
|
||||||
|
$fieldSet[] = "\t\t\tname=" . '"created_by"';
|
||||||
|
$fieldSet[] = "\t\t\ttype=" . '"user"';
|
||||||
|
$fieldSet[] = "\t\t\tlabel=" . '"' . $langView . '_CREATED_BY_LABEL"';
|
||||||
|
$fieldSet[] = $readOnly;
|
||||||
|
$fieldSet[] = "\t\t\tdescription=" . '"' . $langView . '_CREATED_BY_DESC"';
|
||||||
|
$fieldSet[] = "\t\t/>";
|
||||||
|
}
|
||||||
|
// if published is not set
|
||||||
|
if (!isset($this->fieldsNames[$viewName]['published']))
|
||||||
|
{
|
||||||
|
$fieldSet[] = "\t\t<!--" . $this->setLine(__LINE__) . " Published Field. Type: List (joomla) -->";
|
||||||
|
$fieldSet[] = "\t\t<field name=" . '"published" type="list" label="JSTATUS"';
|
||||||
|
$fieldSet[] = "\t\t\tdescription=" . '"JFIELD_PUBLISHED_DESC" class="chzn-color-state"';
|
||||||
|
$fieldSet[] = $readOnly;
|
||||||
|
$fieldSet[] = "\t\t\tfilter=" . '"intval" size="1" default="1" >';
|
||||||
|
$fieldSet[] = "\t\t\t<option value=" . '"1">';
|
||||||
|
$fieldSet[] = "\t\t\t\tJPUBLISHED</option>";
|
||||||
|
$fieldSet[] = "\t\t\t<option value=" . '"0">';
|
||||||
|
$fieldSet[] = "\t\t\t\tJUNPUBLISHED</option>";
|
||||||
|
$fieldSet[] = "\t\t\t<option value=" . '"2">';
|
||||||
|
$fieldSet[] = "\t\t\t\tJARCHIVED</option>";
|
||||||
|
$fieldSet[] = "\t\t\t<option value=" . '"-2">';
|
||||||
|
$fieldSet[] = "\t\t\t\tJTRASHED</option>";
|
||||||
|
$fieldSet[] = "\t\t</field>";
|
||||||
|
}
|
||||||
|
// if modified is not set
|
||||||
|
if (!isset($this->fieldsNames[$viewName]['modified']))
|
||||||
|
{
|
||||||
|
$fieldSet[] = "\t\t<!--" . $this->setLine(__LINE__) . " Date Modified Field. Type: Calendar (joomla) -->";
|
||||||
|
$fieldSet[] = "\t\t" . '<field name="modified" type="calendar" class="readonly"';
|
||||||
|
$fieldSet[] = "\t\t\t" . 'label="' . $langView . '_MODIFIED_DATE_LABEL" description="' . $langView . '_MODIFIED_DATE_DESC"';
|
||||||
|
$fieldSet[] = "\t\t\t" . 'size="22" readonly="true" format="%Y-%m-%d %H:%M:%S" filter="user_utc" />';
|
||||||
|
}
|
||||||
|
// if modified_by is not set
|
||||||
|
if (!isset($this->fieldsNames[$viewName]['modified_by']))
|
||||||
|
{
|
||||||
|
$fieldSet[] = "\t\t<!--" . $this->setLine(__LINE__) . " User Modified Field. Type: User (joomla) -->";
|
||||||
|
$fieldSet[] = "\t\t" . '<field name="modified_by" type="user"';
|
||||||
|
$fieldSet[] = "\t\t\t" . 'label="' . $langView . '_MODIFIED_BY_LABEL"';
|
||||||
|
$fieldSet[] = "\t\t\tdescription=" . '"' . $langView . '_MODIFIED_BY_DESC"';
|
||||||
|
$fieldSet[] = "\t\t\t" . 'class="readonly"';
|
||||||
|
$fieldSet[] = "\t\t\t" . 'readonly="true"';
|
||||||
|
$fieldSet[] = "\t\t\t" . 'filter="unset"';
|
||||||
|
$fieldSet[] = "\t\t/>";
|
||||||
|
}
|
||||||
|
// check if view has access
|
||||||
|
if (isset($this->accessBuilder[$viewName]) && ComponentbuilderHelper::checkString($this->accessBuilder[$viewName]) && !isset($this->fieldsNames[$viewName]['access']))
|
||||||
|
{
|
||||||
|
$fieldSet[] = "\t\t<!--" . $this->setLine(__LINE__) . " Access Field. Type: Accesslevel (joomla) -->";
|
||||||
|
$fieldSet[] = "\t\t" . '<field name="access"';
|
||||||
|
$fieldSet[] = "\t\t\t" . 'type="accesslevel"';
|
||||||
|
$fieldSet[] = "\t\t\t" . 'label="JFIELD_ACCESS_LABEL"';
|
||||||
|
$fieldSet[] = "\t\t\t" . 'description="JFIELD_ACCESS_DESC"';
|
||||||
|
$fieldSet[] = "\t\t\t" . 'default="1"';
|
||||||
|
$fieldSet[] = $readOnly;
|
||||||
|
$fieldSet[] = "\t\t\t" . 'required="false"';
|
||||||
|
$fieldSet[] = "\t\t/>";
|
||||||
|
}
|
||||||
|
// if ordering is not set
|
||||||
|
if (!isset($this->fieldsNames[$viewName]['ordering']))
|
||||||
|
{
|
||||||
|
$fieldSet[] = "\t\t<!--" . $this->setLine(__LINE__) . " Ordering Field. Type: Numbers (joomla) -->";
|
||||||
|
$fieldSet[] = "\t\t<field";
|
||||||
|
$fieldSet[] = "\t\t\t" . 'name="ordering"';
|
||||||
|
$fieldSet[] = "\t\t\t" . 'type="number"';
|
||||||
|
$fieldSet[] = "\t\t\t" . 'class="inputbox validate-ordering"';
|
||||||
|
$fieldSet[] = "\t\t\t" . 'label="' . $langView . '_ORDERING_LABEL' . '"';
|
||||||
|
$fieldSet[] = "\t\t\t" . 'description=""';
|
||||||
|
$fieldSet[] = "\t\t\t" . 'default="0"';
|
||||||
|
$fieldSet[] = "\t\t\t" . 'size="6"';
|
||||||
|
$fieldSet[] = $readOnly;
|
||||||
|
$fieldSet[] = "\t\t\t" . 'required="false"';
|
||||||
|
$fieldSet[] = "\t\t/>";
|
||||||
|
}
|
||||||
|
// if version is not set
|
||||||
|
if (!isset($this->fieldsNames[$viewName]['version']))
|
||||||
|
{
|
||||||
|
$fieldSet[] = "\t\t<!--" . $this->setLine(__LINE__) . " Version Field. Type: Text (joomla) -->";
|
||||||
|
$fieldSet[] = "\t\t<field";
|
||||||
|
$fieldSet[] = "\t\t\t" . 'name="version"';
|
||||||
|
$fieldSet[] = "\t\t\t" . 'type="text"';
|
||||||
|
$fieldSet[] = "\t\t\t" . 'class="readonly"';
|
||||||
|
$fieldSet[] = "\t\t\t" . 'label="' . $langView . '_VERSION_LABEL"';
|
||||||
|
$fieldSet[] = "\t\t\t" . 'description="' . $langView . '_VERSION_DESC"';
|
||||||
|
$fieldSet[] = "\t\t\t" . 'size="6"';
|
||||||
|
$fieldSet[] = "\t\t\t" . 'readonly="true"';
|
||||||
|
$fieldSet[] = "\t\t\t" . 'filter="unset"';
|
||||||
|
$fieldSet[] = "\t\t/>";
|
||||||
}
|
}
|
||||||
|
|
||||||
$fieldSet .= "\n\t</fieldset>";
|
|
||||||
// check if metadata is added to this view
|
// check if metadata is added to this view
|
||||||
if (isset($this->metadataBuilder[$viewName]) && ComponentbuilderHelper::checkString($this->metadataBuilder[$viewName]))
|
if (isset($this->metadataBuilder[$viewName]) && ComponentbuilderHelper::checkString($this->metadataBuilder[$viewName]))
|
||||||
{
|
{
|
||||||
$fieldSet .= "\n\n\t<!--" . $this->setLine(__LINE__) . " Metadata Fields. -->";
|
// metakey
|
||||||
$fieldSet .= "\n\t<fields" . ' name="metadata" label="JGLOBAL_FIELDSET_METADATA_OPTIONS">';
|
$fieldSet[] = "\t\t<!--" . $this->setLine(__LINE__) . " Metakey Field. Type: Textarea (joomla) -->";
|
||||||
$fieldSet .= "\n\t\t" . '<fieldset name="vdmmetadata"';
|
$fieldSet[] = "\t\t<field";
|
||||||
$fieldSet .= "\n\t\t\t" . 'label="JGLOBAL_FIELDSET_METADATA_OPTIONS">';
|
$fieldSet[] = "\t\t\t" . 'name="metakey"';
|
||||||
$fieldSet .= "\n\t\t\t<!--" . $this->setLine(__LINE__) . " Robots Field. Type: List (joomla) -->";
|
$fieldSet[] = "\t\t\t" . 'type="textarea"';
|
||||||
$fieldSet .= "\n\t\t\t" . '<field name="robots"';
|
$fieldSet[] = "\t\t\t" . 'label="JFIELD_META_KEYWORDS_LABEL"';
|
||||||
$fieldSet .= "\n\t\t\t\t" . 'type="list"';
|
$fieldSet[] = "\t\t\t" . 'description="JFIELD_META_KEYWORDS_DESC"';
|
||||||
$fieldSet .= "\n\t\t\t\t" . 'label="JFIELD_METADATA_ROBOTS_LABEL"';
|
$fieldSet[] = "\t\t\t" . 'rows="3"';
|
||||||
$fieldSet .= "\n\t\t\t\t" . 'description="JFIELD_METADATA_ROBOTS_DESC" >';
|
$fieldSet[] = "\t\t\t" . 'cols="30"';
|
||||||
$fieldSet .= "\n\t\t\t\t" . '<option value="">JGLOBAL_USE_GLOBAL</option>';
|
$fieldSet[] = "\t\t/>";
|
||||||
$fieldSet .= "\n\t\t\t\t" . '<option value="index, follow">JGLOBAL_INDEX_FOLLOW</option>';
|
// metadesc
|
||||||
$fieldSet .= "\n\t\t\t\t" . '<option value="noindex, follow">JGLOBAL_NOINDEX_FOLLOW</option>';
|
$fieldSet[] = "\t\t<!--" . $this->setLine(__LINE__) . " Metadesc Field. Type: Textarea (joomla) -->";
|
||||||
$fieldSet .= "\n\t\t\t\t" . '<option value="index, nofollow">JGLOBAL_INDEX_NOFOLLOW</option>';
|
$fieldSet[] = "\t\t<field";
|
||||||
$fieldSet .= "\n\t\t\t\t" . '<option value="noindex, nofollow">JGLOBAL_NOINDEX_NOFOLLOW</option>';
|
$fieldSet[] = "\t\t\t" . 'name="metadesc"';
|
||||||
$fieldSet .= "\n\t\t\t" . '</field>';
|
$fieldSet[] = "\t\t\t" . 'type="textarea"';
|
||||||
$fieldSet .= "\n\t\t\t<!--" . $this->setLine(__LINE__) . " Author Field. Type: Text (joomla) -->";
|
$fieldSet[] = "\t\t\t" . 'label="JFIELD_META_DESCRIPTION_LABEL"';
|
||||||
$fieldSet .= "\n\t\t\t" . '<field name="author"';
|
$fieldSet[] = "\t\t\t" . 'description="JFIELD_META_DESCRIPTION_DESC"';
|
||||||
$fieldSet .= "\n\t\t\t\t" . 'type="text"';
|
$fieldSet[] = "\t\t\t" . 'rows="3"';
|
||||||
$fieldSet .= "\n\t\t\t\t" . 'label="JAUTHOR" description="JFIELD_METADATA_AUTHOR_DESC"';
|
$fieldSet[] = "\t\t\t" . 'cols="30"';
|
||||||
$fieldSet .= "\n\t\t\t\t" . 'size="20"';
|
$fieldSet[] = "\t\t/>";
|
||||||
$fieldSet .= "\n\t\t\t/>";
|
}
|
||||||
$fieldSet .= "\n\t\t\t<!--" . $this->setLine(__LINE__) . " Rights Field. Type: Textarea (joomla) -->";
|
// load the dynamic fields now
|
||||||
$fieldSet .= "\n\t\t\t" . '<field name="rights" type="textarea" label="JFIELD_META_RIGHTS_LABEL"';
|
if (ComponentbuilderHelper::checkString($dynamcfields))
|
||||||
$fieldSet .= "\n\t\t\t\t" . 'description="JFIELD_META_RIGHTS_DESC" required="false" filter="string"';
|
{
|
||||||
$fieldSet .= "\n\t\t\t\t" . 'cols="30" rows="2"';
|
$fieldSet[] = "\t\t<!--" . $this->setLine(__LINE__) . " Dynamic Fields. -->" . $dynamcfields;
|
||||||
$fieldSet .= "\n\t\t\t/>";
|
}
|
||||||
$fieldSet .= "\n\t\t</fieldset>";
|
// close fieldset
|
||||||
$fieldSet .= "\n\t</fields>";
|
$fieldSet[] = "\t</fieldset>";
|
||||||
|
// check if metadata is added to this view
|
||||||
|
if (isset($this->metadataBuilder[$viewName]) && ComponentbuilderHelper::checkString($this->metadataBuilder[$viewName]))
|
||||||
|
{
|
||||||
|
$fieldSet[] = "\n\t<!--" . $this->setLine(__LINE__) . " Metadata Fields. -->";
|
||||||
|
$fieldSet[] = "\t<fields" . ' name="metadata" label="JGLOBAL_FIELDSET_METADATA_OPTIONS">';
|
||||||
|
$fieldSet[] = "\t\t" . '<fieldset name="vdmmetadata"';
|
||||||
|
$fieldSet[] = "\t\t\t" . 'label="JGLOBAL_FIELDSET_METADATA_OPTIONS">';
|
||||||
|
// robots
|
||||||
|
$fieldSet[] = "\t\t\t<!--" . $this->setLine(__LINE__) . " Robots Field. Type: List (joomla) -->";
|
||||||
|
$fieldSet[] = "\t\t\t" . '<field name="robots"';
|
||||||
|
$fieldSet[] = "\t\t\t\t" . 'type="list"';
|
||||||
|
$fieldSet[] = "\t\t\t\t" . 'label="JFIELD_METADATA_ROBOTS_LABEL"';
|
||||||
|
$fieldSet[] = "\t\t\t\t" . 'description="JFIELD_METADATA_ROBOTS_DESC" >';
|
||||||
|
$fieldSet[] = "\t\t\t\t" . '<option value="">JGLOBAL_USE_GLOBAL</option>';
|
||||||
|
$fieldSet[] = "\t\t\t\t" . '<option value="index, follow">JGLOBAL_INDEX_FOLLOW</option>';
|
||||||
|
$fieldSet[] = "\t\t\t\t" . '<option value="noindex, follow">JGLOBAL_NOINDEX_FOLLOW</option>';
|
||||||
|
$fieldSet[] = "\t\t\t\t" . '<option value="index, nofollow">JGLOBAL_INDEX_NOFOLLOW</option>';
|
||||||
|
$fieldSet[] = "\t\t\t\t" . '<option value="noindex, nofollow">JGLOBAL_NOINDEX_NOFOLLOW</option>';
|
||||||
|
$fieldSet[] = "\t\t\t" . '</field>';
|
||||||
|
// author
|
||||||
|
$fieldSet[] = "\t\t\t<!--" . $this->setLine(__LINE__) . " Author Field. Type: Text (joomla) -->";
|
||||||
|
$fieldSet[] = "\t\t\t" . '<field name="author"';
|
||||||
|
$fieldSet[] = "\t\t\t\t" . 'type="text"';
|
||||||
|
$fieldSet[] = "\t\t\t\t" . 'label="JAUTHOR" description="JFIELD_METADATA_AUTHOR_DESC"';
|
||||||
|
$fieldSet[] = "\t\t\t\t" . 'size="20"';
|
||||||
|
$fieldSet[] = "\t\t\t/>";
|
||||||
|
// rights
|
||||||
|
$fieldSet[] = "\t\t\t<!--" . $this->setLine(__LINE__) . " Rights Field. Type: Textarea (joomla) -->";
|
||||||
|
$fieldSet[] = "\t\t\t" . '<field name="rights" type="textarea" label="JFIELD_META_RIGHTS_LABEL"';
|
||||||
|
$fieldSet[] = "\t\t\t\t" . 'description="JFIELD_META_RIGHTS_DESC" required="false" filter="string"';
|
||||||
|
$fieldSet[] = "\t\t\t\t" . 'cols="30" rows="2"';
|
||||||
|
$fieldSet[] = "\t\t\t/>";
|
||||||
|
$fieldSet[] = "\t\t</fieldset>";
|
||||||
|
$fieldSet[] = "\t</fields>";
|
||||||
}
|
}
|
||||||
// retunr the set
|
// retunr the set
|
||||||
return $fieldSet;
|
return implode("\n", $fieldSet);
|
||||||
}
|
}
|
||||||
return '';
|
return '';
|
||||||
}
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* set Field Names
|
||||||
|
*
|
||||||
|
* @param string $view View the field belongs to
|
||||||
|
* @param string $name The name of the field
|
||||||
|
*
|
||||||
|
*
|
||||||
|
*/
|
||||||
|
public function setFieldsNames(&$view, &$name)
|
||||||
|
{
|
||||||
|
$this->fieldsNames[$view][$name] = $name;
|
||||||
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* set Dynamic field
|
* set Dynamic field
|
||||||
@ -564,92 +672,106 @@ class Fields extends Structure
|
|||||||
*/
|
*/
|
||||||
public function setDynamicField(&$field, &$view, &$viewType, &$langView, &$viewName, &$listViewName, &$spacerCounter, &$placeholders, &$dbkey, $build)
|
public function setDynamicField(&$field, &$view, &$viewType, &$langView, &$viewName, &$listViewName, &$spacerCounter, &$placeholders, &$dbkey, $build)
|
||||||
{
|
{
|
||||||
$name = ComponentbuilderHelper::safeString($field['settings']->name);
|
if (isset($field['settings']) && ComponentbuilderHelper::checkObject($field['settings']))
|
||||||
$typeName = ComponentbuilderHelper::safeString($field['settings']->type_name);
|
|
||||||
$multiple = false;
|
|
||||||
$langLabel = '';
|
|
||||||
$taber = '';
|
|
||||||
$fieldSet = '';
|
|
||||||
// set field attributes
|
|
||||||
$fieldAttributes = $this->setFieldAttributes($field, $viewType, $name, $typeName, $multiple, $langLabel, $langView, $spacerCounter, $listViewName, $viewName, $placeholders);
|
|
||||||
// check if values were set
|
|
||||||
if (ComponentbuilderHelper::checkArray($fieldAttributes))
|
|
||||||
{
|
{
|
||||||
if ($this->defaultField($typeName, 'option'))
|
// reset some values
|
||||||
|
$name = ComponentbuilderHelper::safeString($field['settings']->name);
|
||||||
|
$typeName = ComponentbuilderHelper::safeString($field['settings']->type_name);
|
||||||
|
$multiple = false;
|
||||||
|
$langLabel = '';
|
||||||
|
$taber = '';
|
||||||
|
$fieldSet = '';
|
||||||
|
$fieldAttributes = array();
|
||||||
|
// set field attributes
|
||||||
|
$fieldAttributes = $this->setFieldAttributes($field, $viewType, $name, $typeName, $multiple, $langLabel, $langView, $spacerCounter, $listViewName, $viewName, $placeholders);
|
||||||
|
// check if values were set
|
||||||
|
if (ComponentbuilderHelper::checkArray($fieldAttributes))
|
||||||
{
|
{
|
||||||
//reset options array
|
// set the array of field names
|
||||||
$optionArray = array();
|
$this->setFieldsNames($viewName,$fieldAttributes['name']);
|
||||||
// now add to the field set
|
|
||||||
$fieldSet .= $this->setField('option', $taber, $fieldAttributes, $name, $typeName, $langView, $viewName, $listViewName, $placeholders, $optionArray);
|
if ($this->defaultField($typeName, 'option'))
|
||||||
if ($build)
|
|
||||||
{
|
{
|
||||||
// set builders
|
//reset options array
|
||||||
$this->setBuilders($langLabel, $langView, $viewName, $listViewName, $name, $view, $field, $typeName, $multiple, false, $optionArray);
|
$optionArray = array();
|
||||||
}
|
// now add to the field set
|
||||||
}
|
$fieldSet .= $this->setField('option', $taber, $fieldAttributes, $name, $typeName, $langView, $viewName, $listViewName, $placeholders, $optionArray);
|
||||||
elseif ($this->defaultField($typeName, 'plain'))
|
if ($build)
|
||||||
{
|
|
||||||
if ($build)
|
|
||||||
{
|
|
||||||
// set builders
|
|
||||||
$this->setBuilders($langLabel, $langView, $viewName, $listViewName, $name, $view, $field, $typeName, $multiple);
|
|
||||||
}
|
|
||||||
// now add to the field set
|
|
||||||
$fieldSet .= $this->setField('plain', $taber, $fieldAttributes, $name, $typeName, $langView, $viewName, $listViewName, $placeholders, $optionArray);
|
|
||||||
}
|
|
||||||
elseif ($this->defaultField($typeName, 'spacer'))
|
|
||||||
{
|
|
||||||
if ($build)
|
|
||||||
{
|
|
||||||
// make sure spacers gets loaded to layout
|
|
||||||
$tabName = '';
|
|
||||||
if (isset($view['settings']->tabs) && isset($view['settings']->tabs[(int) $field['tab']]))
|
|
||||||
{
|
{
|
||||||
$tabName = $view['settings']->tabs[(int) $field['tab']];
|
// set builders
|
||||||
|
$this->setBuilders($langLabel, $langView, $viewName, $listViewName, $name, $view, $field, $typeName, $multiple, false, $optionArray);
|
||||||
}
|
}
|
||||||
$this->setLayoutBuilder($viewName, $tabName, $name, $field);
|
|
||||||
}
|
}
|
||||||
// now add to the field set
|
elseif ($this->defaultField($typeName, 'plain'))
|
||||||
$fieldSet .= $this->setField('spacer', $taber, $fieldAttributes, $name, $typeName, $langView, $viewName, $listViewName, $placeholders, $optionArray);
|
|
||||||
// increment spacer counter
|
|
||||||
if ($typeName == 'spacer')
|
|
||||||
{
|
|
||||||
$spacerCounter++;
|
|
||||||
}
|
|
||||||
}
|
|
||||||
elseif ($this->defaultField($typeName, 'special'))
|
|
||||||
{
|
|
||||||
// set the repeatable field
|
|
||||||
if ($typeName == 'repeatable')
|
|
||||||
{
|
{
|
||||||
if ($build)
|
if ($build)
|
||||||
{
|
{
|
||||||
// set builders
|
// set builders
|
||||||
$this->setBuilders($langLabel, $langView, $viewName, $listViewName, $name, $view, $field, $typeName, $multiple, false);
|
$this->setBuilders($langLabel, $langView, $viewName, $listViewName, $name, $view, $field, $typeName, $multiple);
|
||||||
}
|
}
|
||||||
// now add to the field set
|
// now add to the field set
|
||||||
$fieldSet .= $this->setField('special', $taber, $fieldAttributes, $name, $typeName, $langView, $viewName, $listViewName, $placeholders, $optionArray);
|
$fieldSet .= $this->setField('plain', $taber, $fieldAttributes, $name, $typeName, $langView, $viewName, $listViewName, $placeholders, $optionArray);
|
||||||
}
|
}
|
||||||
}
|
elseif ($this->defaultField($typeName, 'spacer'))
|
||||||
elseif (ComponentbuilderHelper::checkArray($fieldAttributes['custom']))
|
|
||||||
{
|
|
||||||
// set the custom array
|
|
||||||
$custom = $fieldAttributes['custom'];
|
|
||||||
unset($fieldAttributes['custom']);
|
|
||||||
// set db key
|
|
||||||
$custom['db'] = $dbkey;
|
|
||||||
// increment the db key
|
|
||||||
$dbkey++;
|
|
||||||
if ($build)
|
|
||||||
{
|
{
|
||||||
// set builders
|
if ($build)
|
||||||
$this->setBuilders($langLabel, $langView, $viewName, $listViewName, $name, $view, $field, $typeName, $multiple, $custom);
|
{
|
||||||
|
// make sure spacers gets loaded to layout
|
||||||
|
$tabName = '';
|
||||||
|
if (isset($view['settings']->tabs) && isset($view['settings']->tabs[(int) $field['tab']]))
|
||||||
|
{
|
||||||
|
$tabName = $view['settings']->tabs[(int) $field['tab']];
|
||||||
|
}
|
||||||
|
elseif ((int) $field['tab'] == 15)
|
||||||
|
{
|
||||||
|
// set to publishing tab
|
||||||
|
$tabName = 'publishing';
|
||||||
|
}
|
||||||
|
$this->setLayoutBuilder($viewName, $tabName, $name, $field);
|
||||||
|
}
|
||||||
|
// now add to the field set
|
||||||
|
$fieldSet .= $this->setField('spacer', $taber, $fieldAttributes, $name, $typeName, $langView, $viewName, $listViewName, $placeholders, $optionArray);
|
||||||
|
// increment spacer counter
|
||||||
|
if ($typeName == 'spacer')
|
||||||
|
{
|
||||||
|
$spacerCounter++;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
elseif ($this->defaultField($typeName, 'special'))
|
||||||
|
{
|
||||||
|
// set the repeatable field
|
||||||
|
if ($typeName == 'repeatable')
|
||||||
|
{
|
||||||
|
if ($build)
|
||||||
|
{
|
||||||
|
// set builders
|
||||||
|
$this->setBuilders($langLabel, $langView, $viewName, $listViewName, $name, $view, $field, $typeName, $multiple, false);
|
||||||
|
}
|
||||||
|
// now add to the field set
|
||||||
|
$fieldSet .= $this->setField('special', $taber, $fieldAttributes, $name, $typeName, $langView, $viewName, $listViewName, $placeholders, $optionArray);
|
||||||
|
}
|
||||||
|
}
|
||||||
|
elseif (ComponentbuilderHelper::checkArray($fieldAttributes['custom']))
|
||||||
|
{
|
||||||
|
// set the custom array
|
||||||
|
$custom = $fieldAttributes['custom'];
|
||||||
|
unset($fieldAttributes['custom']);
|
||||||
|
// set db key
|
||||||
|
$custom['db'] = $dbkey;
|
||||||
|
// increment the db key
|
||||||
|
$dbkey++;
|
||||||
|
if ($build)
|
||||||
|
{
|
||||||
|
// set builders
|
||||||
|
$this->setBuilders($langLabel, $langView, $viewName, $listViewName, $name, $view, $field, $typeName, $multiple, $custom);
|
||||||
|
}
|
||||||
|
// now add to the field set
|
||||||
|
$fieldSet .= $this->setField('custom', $taber, $fieldAttributes, $name, $typeName, $langView, $viewName, $listViewName, $placeholders, $optionArray);
|
||||||
}
|
}
|
||||||
// now add to the field set
|
|
||||||
$fieldSet .= $this->setField('custom', $taber, $fieldAttributes, $name, $typeName, $langView, $viewName, $listViewName, $placeholders, $optionArray);
|
|
||||||
}
|
}
|
||||||
|
return $fieldSet;
|
||||||
}
|
}
|
||||||
return $fieldSet;
|
return '';
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
@ -750,6 +872,11 @@ class Fields extends Structure
|
|||||||
$fieldSet .= $optionSet;
|
$fieldSet .= $optionSet;
|
||||||
$fieldSet .= "\n\t\t" . $taber . "</field>";
|
$fieldSet .= "\n\t\t" . $taber . "</field>";
|
||||||
}
|
}
|
||||||
|
elseif ($typeName == 'sql')
|
||||||
|
{
|
||||||
|
$optionArray = false;
|
||||||
|
$fieldSet .= "\n\t\t" . $taber . "/>";
|
||||||
|
}
|
||||||
else
|
else
|
||||||
{
|
{
|
||||||
$optionArray = false;
|
$optionArray = false;
|
||||||
@ -820,6 +947,7 @@ class Fields extends Structure
|
|||||||
foreach ($fieldsSets as $fieldId)
|
foreach ($fieldsSets as $fieldId)
|
||||||
{
|
{
|
||||||
// get the field data
|
// get the field data
|
||||||
|
$fieldData = array();
|
||||||
$fieldData['settings'] = $this->getFieldData($fieldId, $viewName);
|
$fieldData['settings'] = $this->getFieldData($fieldId, $viewName);
|
||||||
if (ComponentbuilderHelper::checkObject($fieldData['settings']))
|
if (ComponentbuilderHelper::checkObject($fieldData['settings']))
|
||||||
{
|
{
|
||||||
@ -827,8 +955,6 @@ class Fields extends Structure
|
|||||||
$r_typeName = ComponentbuilderHelper::safeString($fieldData['settings']->type_name);
|
$r_typeName = ComponentbuilderHelper::safeString($fieldData['settings']->type_name);
|
||||||
$r_multiple = false;
|
$r_multiple = false;
|
||||||
$r_langLabel = '';
|
$r_langLabel = '';
|
||||||
// make sure that these fields are not required
|
|
||||||
$fieldData['settings']->xml = str_replace('required="', 'requirenot="', $fieldData['settings']->xml);
|
|
||||||
// add the tabs needed
|
// add the tabs needed
|
||||||
$taber = "\t\t\t";
|
$taber = "\t\t\t";
|
||||||
// get field values
|
// get field values
|
||||||
@ -908,7 +1034,7 @@ class Fields extends Structure
|
|||||||
*/
|
*/
|
||||||
public function setLayoutBuilder(&$viewName,&$tabName,&$name,&$field)
|
public function setLayoutBuilder(&$viewName,&$tabName,&$name,&$field)
|
||||||
{
|
{
|
||||||
if (ComponentbuilderHelper::checkString($tabName))
|
if (ComponentbuilderHelper::checkString($tabName) && $tabName != 'publishing')
|
||||||
{
|
{
|
||||||
$this->tabCounter[$viewName][(int) $field['tab']] = $tabName;
|
$this->tabCounter[$viewName][(int) $field['tab']] = $tabName;
|
||||||
if (isset($this->layoutBuilder[$viewName][$tabName][(int) $field['alignment']][(int) $field['order_edit']]))
|
if (isset($this->layoutBuilder[$viewName][$tabName][(int) $field['alignment']][(int) $field['order_edit']]))
|
||||||
@ -920,6 +1046,27 @@ class Fields extends Structure
|
|||||||
{
|
{
|
||||||
$this->layoutBuilder[$viewName][$tabName][(int) $field['alignment']][(int) $field['order_edit']] = $name;
|
$this->layoutBuilder[$viewName][$tabName][(int) $field['alignment']][(int) $field['order_edit']] = $name;
|
||||||
}
|
}
|
||||||
|
// check if publishing fields were over written
|
||||||
|
if (in_array($name, $this->defaultFields))
|
||||||
|
{
|
||||||
|
// just to eliminate
|
||||||
|
$this->movedPublishingFields[$viewName][$name] = $name;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
elseif ($tabName == 'publishing')
|
||||||
|
{
|
||||||
|
if (!in_array($name, $this->defaultFields))
|
||||||
|
{
|
||||||
|
if (isset($this->newPublishingFields[$viewName][(int) $field['alignment']][(int) $field['order_edit']]))
|
||||||
|
{
|
||||||
|
$size = count($this->newPublishingFields[$viewName][(int) $field['alignment']][(int) $field['order_edit']]) + 1;
|
||||||
|
$this->newPublishingFields[$viewName][(int) $field['alignment']][$size] = $name;
|
||||||
|
}
|
||||||
|
else
|
||||||
|
{
|
||||||
|
$this->newPublishingFields[$viewName][(int) $field['alignment']][(int) $field['order_edit']] = $name;
|
||||||
|
}
|
||||||
|
}
|
||||||
}
|
}
|
||||||
else
|
else
|
||||||
{
|
{
|
||||||
@ -933,6 +1080,12 @@ class Fields extends Structure
|
|||||||
{
|
{
|
||||||
$this->layoutBuilder[$viewName]['Details'][(int) $field['alignment']][(int) $field['order_edit']] = $name;
|
$this->layoutBuilder[$viewName]['Details'][(int) $field['alignment']][(int) $field['order_edit']] = $name;
|
||||||
}
|
}
|
||||||
|
// check if publishing fields were over written
|
||||||
|
if (in_array($name, $this->defaultFields))
|
||||||
|
{
|
||||||
|
// just to eliminate
|
||||||
|
$this->movedPublishingFields[$viewName][$name] = $name;
|
||||||
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
@ -1173,6 +1326,11 @@ class Fields extends Structure
|
|||||||
// dont load the button to repeatable
|
// dont load the button to repeatable
|
||||||
$xmlValue = 'false';
|
$xmlValue = 'false';
|
||||||
}
|
}
|
||||||
|
elseif ($property['name'] == 'required' && $repeatable)
|
||||||
|
{
|
||||||
|
// dont load the required to repeatable
|
||||||
|
$xmlValue = 'false';
|
||||||
|
}
|
||||||
elseif ($viewType == 2 && ($property['name'] == 'readonly' || $property['name'] == 'disabled'))
|
elseif ($viewType == 2 && ($property['name'] == 'readonly' || $property['name'] == 'disabled'))
|
||||||
{
|
{
|
||||||
// set read only
|
// set read only
|
||||||
@ -1180,7 +1338,7 @@ class Fields extends Structure
|
|||||||
}
|
}
|
||||||
elseif ($property['name'] == 'multiple')
|
elseif ($property['name'] == 'multiple')
|
||||||
{
|
{
|
||||||
$xmlValue = 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)
|
||||||
{
|
{
|
||||||
@ -1207,7 +1365,7 @@ class Fields extends Structure
|
|||||||
else
|
else
|
||||||
{
|
{
|
||||||
// set the rest of the fields
|
// set the rest of the fields
|
||||||
$xmlValue = ComponentbuilderHelper::getBetween($field['settings']->xml, $property['name'] . '="', '"');
|
$xmlValue = (string) ComponentbuilderHelper::getBetween($field['settings']->xml, $property['name'] . '="', '"');
|
||||||
}
|
}
|
||||||
|
|
||||||
// check if translatable
|
// check if translatable
|
||||||
@ -1336,22 +1494,29 @@ class Fields extends Structure
|
|||||||
$field['settings']->datadefault = '0';
|
$field['settings']->datadefault = '0';
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
// build the query values
|
|
||||||
$this->queryBuilder[$viewName][$name] = array(
|
|
||||||
'type' => $field['settings']->datatype,
|
|
||||||
'lenght' => $field['settings']->datalenght,
|
|
||||||
'default' => $field['settings']->datadefault,
|
|
||||||
'other' => $field['settings']->datadefault_other,
|
|
||||||
'null_switch' => $field['settings']->null_switch);
|
|
||||||
// don't use these as index or uniqe keys
|
// don't use these as index or uniqe keys
|
||||||
$notKeys = array('TEXT', 'TINYTEXT', 'MEDIUMTEXT', 'LONGTEXT', 'BLOB', 'TINYBLOB', 'MEDIUMBLOB', 'LONGBLOB');
|
$textKeys = array('TEXT', 'TINYTEXT', 'MEDIUMTEXT', 'LONGTEXT', 'BLOB', 'TINYBLOB', 'MEDIUMBLOB', 'LONGBLOB');
|
||||||
|
// build the query values
|
||||||
|
$this->queryBuilder[$viewName][$name]['type'] = $field['settings']->datatype;
|
||||||
|
if (!in_array($field['settings']->datatype, $textKeys))
|
||||||
|
{
|
||||||
|
$this->queryBuilder[$viewName][$name]['lenght'] = $field['settings']->datalenght;
|
||||||
|
$this->queryBuilder[$viewName][$name]['lenght_other'] = $field['settings']->datalenght_other;
|
||||||
|
$this->queryBuilder[$viewName][$name]['default'] = $field['settings']->datadefault;
|
||||||
|
$this->queryBuilder[$viewName][$name]['other'] = $field['settings']->datadefault_other;
|
||||||
|
}
|
||||||
|
else
|
||||||
|
{
|
||||||
|
$this->queryBuilder[$viewName][$name]['default'] = 'EMPTY';
|
||||||
|
}
|
||||||
|
$this->queryBuilder[$viewName][$name]['null_switch'] = $field['settings']->null_switch;
|
||||||
// set index types
|
// set index types
|
||||||
if ($field['settings']->indexes == 1 && !in_array($field['settings']->datatype, $notKeys))
|
if ($field['settings']->indexes == 1 && !in_array($field['settings']->datatype, $textKeys))
|
||||||
{
|
{
|
||||||
// build unique keys of this view for db
|
// build unique keys of this view for db
|
||||||
$this->dbUniqueKeys[$viewName][] = $name;
|
$this->dbUniqueKeys[$viewName][] = $name;
|
||||||
}
|
}
|
||||||
elseif (($field['settings']->indexes == 2 || $field['alias'] || $field['title'] || $typeName == 'category') && !in_array($field['settings']->datatype, $notKeys))
|
elseif (($field['settings']->indexes == 2 || $field['alias'] || $field['title'] || $typeName == 'category') && !in_array($field['settings']->datatype, $textKeys))
|
||||||
{
|
{
|
||||||
// build keys of this view for db
|
// build keys of this view for db
|
||||||
$this->dbKeys[$viewName][] = $name;
|
$this->dbKeys[$viewName][] = $name;
|
||||||
@ -1413,6 +1578,7 @@ class Fields extends Structure
|
|||||||
'link' => ($field['link']) ? true : false,
|
'link' => ($field['link']) ? true : false,
|
||||||
'sort' => ($field['sort']) ? true : false,
|
'sort' => ($field['sort']) ? true : false,
|
||||||
'custom' => $custom,
|
'custom' => $custom,
|
||||||
|
'multiple' => $multiple,
|
||||||
'options' => $options);
|
'options' => $options);
|
||||||
|
|
||||||
$this->customBuilderList[$listViewName][] = $name;
|
$this->customBuilderList[$listViewName][] = $name;
|
||||||
@ -1436,7 +1602,7 @@ class Fields extends Structure
|
|||||||
$this->intFieldsBuilder[$viewName] .= ',"' . $name . '"';
|
$this->intFieldsBuilder[$viewName] .= ',"' . $name . '"';
|
||||||
}
|
}
|
||||||
// set all dynamic field of this view
|
// set all dynamic field of this view
|
||||||
if ($typeName != 'category' && $typeName != 'repeatable')
|
if ($typeName != 'category' && $typeName != 'repeatable' && !in_array($name, $this->defaultFields))
|
||||||
{
|
{
|
||||||
if (!isset($this->dynamicfieldsBuilder[$viewName]))
|
if (!isset($this->dynamicfieldsBuilder[$viewName]))
|
||||||
{
|
{
|
||||||
@ -1498,7 +1664,7 @@ class Fields extends Structure
|
|||||||
$this->catCodeBuilder[$viewName] = array('code' => $name, 'views' => $otherViews, 'view' => $otherView);
|
$this->catCodeBuilder[$viewName] = array('code' => $name, 'views' => $otherViews, 'view' => $otherView);
|
||||||
}
|
}
|
||||||
// setup checkbox for this view
|
// setup checkbox for this view
|
||||||
if ($typeName == 'checkbox')
|
if ($typeName == 'checkbox' || (ComponentbuilderHelper::checkArray($custom) && isset($custom['extends']) && $custom['extends'] == 'checkboxes'))
|
||||||
{
|
{
|
||||||
$this->checkboxBuilder[$viewName][] = $name;
|
$this->checkboxBuilder[$viewName][] = $name;
|
||||||
}
|
}
|
||||||
@ -1592,6 +1758,11 @@ class Fields extends Structure
|
|||||||
{
|
{
|
||||||
$tabName = $view['settings']->tabs[(int) $field['tab']];
|
$tabName = $view['settings']->tabs[(int) $field['tab']];
|
||||||
}
|
}
|
||||||
|
elseif ((int) $field['tab'] == 15)
|
||||||
|
{
|
||||||
|
// set to publishing tab
|
||||||
|
$tabName = 'publishing';
|
||||||
|
}
|
||||||
$this->setLayoutBuilder($viewName, $tabName, $name, $field);
|
$this->setLayoutBuilder($viewName, $tabName, $name, $field);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
File diff suppressed because it is too large
Load Diff
@ -45,11 +45,28 @@ class Infusion extends Interpretation
|
|||||||
if (parent::__construct($config))
|
if (parent::__construct($config))
|
||||||
{
|
{
|
||||||
// infuse the data into the structure
|
// infuse the data into the structure
|
||||||
return $this->buildFileContent();
|
return $this->buildFileContent();
|
||||||
}
|
}
|
||||||
return false;
|
return false;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* Set the line number in comments
|
||||||
|
*
|
||||||
|
* @param int $nr The line number
|
||||||
|
*
|
||||||
|
* @return void
|
||||||
|
*
|
||||||
|
*/
|
||||||
|
private function setLine($nr)
|
||||||
|
{
|
||||||
|
if ($this->loadLineNr)
|
||||||
|
{
|
||||||
|
return ' [Infusion '.$nr.']';
|
||||||
|
}
|
||||||
|
return '';
|
||||||
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Build the content for the structure
|
* Build the content for the structure
|
||||||
*
|
*
|
||||||
@ -241,7 +258,7 @@ class Infusion extends Interpretation
|
|||||||
$this->fileContentDynamic[$viewName_single]['###ADDTOOLBAR###'] = $this->setAddToolBar($view);
|
$this->fileContentDynamic[$viewName_single]['###ADDTOOLBAR###'] = $this->setAddToolBar($view);
|
||||||
|
|
||||||
// set the script for this view
|
// set the script for this view
|
||||||
$this->buildTheViewScript($view, $this->fileContentStatic['###component###']);
|
$this->buildTheViewScript($view);
|
||||||
|
|
||||||
// ###VIEW_SCRIPT###
|
// ###VIEW_SCRIPT###
|
||||||
$this->fileContentDynamic[$viewName_single]['###VIEW_SCRIPT###'] = $this->setViewScript($viewName_single);
|
$this->fileContentDynamic[$viewName_single]['###VIEW_SCRIPT###'] = $this->setViewScript($viewName_single);
|
||||||
@ -273,6 +290,9 @@ class Infusion extends Interpretation
|
|||||||
|
|
||||||
// ###EDITBODY### <<<DYNAMIC>>>
|
// ###EDITBODY### <<<DYNAMIC>>>
|
||||||
$this->fileContentDynamic[$viewName_single]['###EDITBODY###'] = $this->setEditBody($view);
|
$this->fileContentDynamic[$viewName_single]['###EDITBODY###'] = $this->setEditBody($view);
|
||||||
|
|
||||||
|
// ###EDITBODY### <<<DYNAMIC>>>
|
||||||
|
$this->fileContentDynamic[$viewName_single]['###EDITBODYFADEIN###'] = $this->setFadeInEfect($view);
|
||||||
|
|
||||||
// ###JTABLECONSTRUCTOR### <<<DYNAMIC>>>
|
// ###JTABLECONSTRUCTOR### <<<DYNAMIC>>>
|
||||||
$this->fileContentDynamic[$viewName_single]['###JTABLECONSTRUCTOR###'] = $this->setJtableConstructor($viewName_single);
|
$this->fileContentDynamic[$viewName_single]['###JTABLECONSTRUCTOR###'] = $this->setJtableConstructor($viewName_single);
|
||||||
@ -290,10 +310,10 @@ class Infusion extends Interpretation
|
|||||||
$this->fileContentDynamic[$viewName_single]['###LINKEDVIEWMETHODS###'] = '';
|
$this->fileContentDynamic[$viewName_single]['###LINKEDVIEWMETHODS###'] = '';
|
||||||
|
|
||||||
// ###JMODELADMIN_BEFORE_DELETE### <<<DYNAMIC>>>
|
// ###JMODELADMIN_BEFORE_DELETE### <<<DYNAMIC>>>
|
||||||
$this->fileContentDynamic[$viewName_single]['###JMODELADMIN_BEFORE_DELETE###'] = $this->setJmodelAdminBeforeDelete($viewName_single);
|
$this->fileContentDynamic[$viewName_single]['###JMODELADMIN_BEFORE_DELETE###'] = $this->getCustomScriptBuilder('php_before_delete', $viewName_single, "\n");
|
||||||
|
|
||||||
// ###JMODELADMIN_AFTER_DELETE### <<<DYNAMIC>>>
|
// ###JMODELADMIN_AFTER_DELETE### <<<DYNAMIC>>>
|
||||||
$this->fileContentDynamic[$viewName_single]['###JMODELADMIN_AFTER_DELETE###'] = $this->setJmodelAdminAfterDelete($viewName_single);
|
$this->fileContentDynamic[$viewName_single]['###JMODELADMIN_AFTER_DELETE###'] = $this->getCustomScriptBuilder('php_after_delete', $viewName_single, "\n\n");
|
||||||
|
|
||||||
// ###CHECKBOX_SAVE### <<<DYNAMIC>>>
|
// ###CHECKBOX_SAVE### <<<DYNAMIC>>>
|
||||||
$this->fileContentDynamic[$viewName_single]['###CHECKBOX_SAVE###'] = $this->setCheckboxSave($viewName_single);
|
$this->fileContentDynamic[$viewName_single]['###CHECKBOX_SAVE###'] = $this->setCheckboxSave($viewName_single);
|
||||||
@ -302,7 +322,7 @@ class Infusion extends Interpretation
|
|||||||
$this->fileContentDynamic[$viewName_single]['###METHOD_ITEM_SAVE###'] = $this->setMethodItemSave($viewName_single);
|
$this->fileContentDynamic[$viewName_single]['###METHOD_ITEM_SAVE###'] = $this->setMethodItemSave($viewName_single);
|
||||||
|
|
||||||
// ###POSTSAVEHOOK### <<<DYNAMIC>>>
|
// ###POSTSAVEHOOK### <<<DYNAMIC>>>
|
||||||
$this->fileContentDynamic[$viewName_single]['###POSTSAVEHOOK###'] = $this->setPostSaveHook($viewName_single);
|
$this->fileContentDynamic[$viewName_single]['###POSTSAVEHOOK###'] = $this->getCustomScriptBuilder('php_postsavehook', $viewName_single, "\n", null, true, "\n\t\treturn;", "\n\n\t\treturn;");
|
||||||
|
|
||||||
if (isset($this->customScriptBuilder['css_view'][$viewName_single]) && ComponentbuilderHelper::checkString($this->customScriptBuilder['css_view'][$viewName_single]))
|
if (isset($this->customScriptBuilder['css_view'][$viewName_single]) && ComponentbuilderHelper::checkString($this->customScriptBuilder['css_view'][$viewName_single]))
|
||||||
{
|
{
|
||||||
@ -380,8 +400,11 @@ class Infusion extends Interpretation
|
|||||||
$this->fileContentDynamic[$viewName_list]['###CHECKINCALL###'] = '';
|
$this->fileContentDynamic[$viewName_list]['###CHECKINCALL###'] = '';
|
||||||
}
|
}
|
||||||
|
|
||||||
// ###STORE_METHOD_FIX### <<<DYNAMIC>>>
|
// ###GET_ITEMS_METHOD_STRING_FIX### <<<DYNAMIC>>>
|
||||||
$this->fileContentDynamic[$viewName_list]['###GET_ITEMS_METHOD_STRING_FIX###'] = $this->setGetItemsMethodStringFix($viewName_single,$this->fileContentStatic['###Component###']);
|
$this->fileContentDynamic[$viewName_list]['###GET_ITEMS_METHOD_STRING_FIX###'] = $this->setGetItemsMethodStringFix($viewName_single,$this->fileContentStatic['###Component###']);
|
||||||
|
|
||||||
|
// ###GET_ITEMS_METHOD_AFTER_ALL### <<<DYNAMIC>>>
|
||||||
|
$this->fileContentDynamic[$viewName_list]['###GET_ITEMS_METHOD_AFTER_ALL###'] = $this->getCustomScriptBuilder('php_getitems_after_all', $viewName_single, "\n");
|
||||||
|
|
||||||
// ###SELECTIONTRANSLATIONFIX### <<<DYNAMIC>>>
|
// ###SELECTIONTRANSLATIONFIX### <<<DYNAMIC>>>
|
||||||
$this->fileContentDynamic[$viewName_list]['###SELECTIONTRANSLATIONFIX###'] = $this->setSelectionTranslationFix($viewName_list,$this->fileContentStatic['###Component###']);
|
$this->fileContentDynamic[$viewName_list]['###SELECTIONTRANSLATIONFIX###'] = $this->setSelectionTranslationFix($viewName_list,$this->fileContentStatic['###Component###']);
|
||||||
@ -473,6 +496,9 @@ class Infusion extends Interpretation
|
|||||||
|
|
||||||
// ###MODEL_BATCH_MOVE### <<<DYNAMIC>>>
|
// ###MODEL_BATCH_MOVE### <<<DYNAMIC>>>
|
||||||
$this->fileContentDynamic[$viewName_single]['###MODEL_BATCH_MOVE###'] = $this->setBatchMove($viewName_single);
|
$this->fileContentDynamic[$viewName_single]['###MODEL_BATCH_MOVE###'] = $this->setBatchMove($viewName_single);
|
||||||
|
|
||||||
|
// ###BATCH_ONCLICK_CANCEL_SCRIPT### <<<DYNAMIC>>>
|
||||||
|
$this->fileContentDynamic[$viewName_list]['###BATCH_ONCLICK_CANCEL_SCRIPT###'] = ''; // TODO <-- must still be build
|
||||||
|
|
||||||
// ###JCONTROLLERFORM_ALLOWADD### <<<DYNAMIC>>>
|
// ###JCONTROLLERFORM_ALLOWADD### <<<DYNAMIC>>>
|
||||||
$this->fileContentDynamic[$viewName_single]['###JCONTROLLERFORM_ALLOWADD###'] = $this->setJcontrollerAllowAdd($viewName_single,$viewName_list);
|
$this->fileContentDynamic[$viewName_single]['###JCONTROLLERFORM_ALLOWADD###'] = $this->setJcontrollerAllowAdd($viewName_single,$viewName_list);
|
||||||
@ -672,6 +698,8 @@ class Infusion extends Interpretation
|
|||||||
$this->fileContentDynamic[$view['settings']->code]['###CUSTOM_ADMIN_CODE_BODY###'] = $this->setCustomViewCodeBody($view);
|
$this->fileContentDynamic[$view['settings']->code]['###CUSTOM_ADMIN_CODE_BODY###'] = $this->setCustomViewCodeBody($view);
|
||||||
// ###CUSTOM_ADMIN_BODY### <<<DYNAMIC>>>
|
// ###CUSTOM_ADMIN_BODY### <<<DYNAMIC>>>
|
||||||
$this->fileContentDynamic[$view['settings']->code]['###CUSTOM_ADMIN_BODY###'] = $this->setCustomViewBody($view);
|
$this->fileContentDynamic[$view['settings']->code]['###CUSTOM_ADMIN_BODY###'] = $this->setCustomViewBody($view);
|
||||||
|
// ###CUSTOM_ADMIN_SUBMITBUTTON_SCRIPT### <<<DYNAMIC>>>
|
||||||
|
$this->fileContentDynamic[$view['settings']->code]['###CUSTOM_ADMIN_SUBMITBUTTON_SCRIPT###'] = $this->setCustomViewSubmitButtonScript($view);
|
||||||
|
|
||||||
// setup the templates
|
// setup the templates
|
||||||
$this->setCustomViewTemplateBody($view);
|
$this->setCustomViewTemplateBody($view);
|
||||||
|
@ -10,8 +10,8 @@
|
|||||||
|_|
|
|_|
|
||||||
/-------------------------------------------------------------------------------------------------------------------------------/
|
/-------------------------------------------------------------------------------------------------------------------------------/
|
||||||
|
|
||||||
@version 2.1.8
|
@version 2.1.18
|
||||||
@build 7th May, 2016
|
@build 3rd September, 2016
|
||||||
@created 30th April, 2015
|
@created 30th April, 2015
|
||||||
@package Component Builder
|
@package Component Builder
|
||||||
@subpackage componentbuilder.php
|
@subpackage componentbuilder.php
|
||||||
@ -75,11 +75,9 @@ abstract class ComponentbuilderHelper
|
|||||||
{
|
{
|
||||||
// set image
|
// set image
|
||||||
$image = JPATH_SITE.'/'.$path;
|
$image = JPATH_SITE.'/'.$path;
|
||||||
// chack if exists
|
// check if exists
|
||||||
if (file_exists($image))
|
if (file_exists($image) && $result = @getimagesize($image))
|
||||||
{
|
{
|
||||||
// get image info
|
|
||||||
$result = getimagesize($image);
|
|
||||||
// return type request
|
// return type request
|
||||||
switch ($request)
|
switch ($request)
|
||||||
{
|
{
|
||||||
@ -603,18 +601,27 @@ abstract class ComponentbuilderHelper
|
|||||||
*/
|
*/
|
||||||
public static function getFileHeaders($dataType)
|
public static function getFileHeaders($dataType)
|
||||||
{
|
{
|
||||||
// make sure the file is loaded
|
// make sure these files are loaded
|
||||||
JLoader::import('PHPExcel', JPATH_COMPONENT_ADMINISTRATOR . '/helpers');
|
JLoader::import('PHPExcel', JPATH_COMPONENT_ADMINISTRATOR . '/helpers');
|
||||||
|
JLoader::import('ChunkReadFilter', JPATH_COMPONENT_ADMINISTRATOR . '/helpers/PHPExcel/Reader');
|
||||||
// get session object
|
// get session object
|
||||||
$session = JFactory::getSession();
|
$session = JFactory::getSession();
|
||||||
$package = $session->get('package', null);
|
$package = $session->get('package', null);
|
||||||
$package = json_decode($package, true);
|
$package = json_decode($package, true);
|
||||||
// set the headers
|
// set the headers
|
||||||
if(isset($package['dir']))
|
if(isset($package['dir']))
|
||||||
{
|
{
|
||||||
|
$chunkFilter = new PHPExcel_Reader_chunkReadFilter();
|
||||||
|
// only load first three rows
|
||||||
|
$chunkFilter->setRows(2,1);
|
||||||
|
// identify the file type
|
||||||
$inputFileType = PHPExcel_IOFactory::identify($package['dir']);
|
$inputFileType = PHPExcel_IOFactory::identify($package['dir']);
|
||||||
|
// create the reader for this file type
|
||||||
$excelReader = PHPExcel_IOFactory::createReader($inputFileType);
|
$excelReader = PHPExcel_IOFactory::createReader($inputFileType);
|
||||||
|
// load the limiting filter
|
||||||
|
$excelReader->setReadFilter($chunkFilter);
|
||||||
$excelReader->setReadDataOnly(true);
|
$excelReader->setReadDataOnly(true);
|
||||||
|
// load the rows (only first three)
|
||||||
$excelObj = $excelReader->load($package['dir']);
|
$excelObj = $excelReader->load($package['dir']);
|
||||||
$headers = array();
|
$headers = array();
|
||||||
foreach ($excelObj->getActiveSheet()->getRowIterator() as $row)
|
foreach ($excelObj->getActiveSheet()->getRowIterator() as $row)
|
||||||
@ -650,9 +657,15 @@ abstract class ComponentbuilderHelper
|
|||||||
$db = JFactory::getDbo();
|
$db = JFactory::getDbo();
|
||||||
// Create a new query object.
|
// Create a new query object.
|
||||||
$query = $db->getQuery(true);
|
$query = $db->getQuery(true);
|
||||||
|
|
||||||
$query->select($db->quoteName(array($what)));
|
$query->select($db->quoteName(array($what)));
|
||||||
$query->from($db->quoteName('#__'.$main.'_'.$table));
|
if (empty($table))
|
||||||
|
{
|
||||||
|
$query->from($db->quoteName('#__'.$main));
|
||||||
|
}
|
||||||
|
else
|
||||||
|
{
|
||||||
|
$query->from($db->quoteName('#__'.$main.'_'.$table));
|
||||||
|
}
|
||||||
if (is_numeric($where))
|
if (is_numeric($where))
|
||||||
{
|
{
|
||||||
$query->where($db->quoteName($whereString) . ' '.$operator.' '.(int) $where);
|
$query->where($db->quoteName($whereString) . ' '.$operator.' '.(int) $where);
|
||||||
@ -710,31 +723,33 @@ abstract class ComponentbuilderHelper
|
|||||||
return false;
|
return false;
|
||||||
}
|
}
|
||||||
|
|
||||||
public static function jsonToString($value, $sperator = ", ")
|
public static function jsonToString($value, $sperator = ", ", $table = null)
|
||||||
{
|
{
|
||||||
// check if string is JSON
|
// check if string is JSON
|
||||||
$result = json_decode($value, true);
|
$result = json_decode($value, true);
|
||||||
if (json_last_error() === JSON_ERROR_NONE) {
|
if (json_last_error() === JSON_ERROR_NONE)
|
||||||
// is JSON
|
{
|
||||||
|
// is JSON
|
||||||
if (self::checkArray($result))
|
if (self::checkArray($result))
|
||||||
{
|
{
|
||||||
$value = '';
|
if (self::checkString($table))
|
||||||
$counter = 0;
|
|
||||||
foreach ($result as $string)
|
|
||||||
{
|
{
|
||||||
if ($counter)
|
$names = array();
|
||||||
|
foreach ($result as $val)
|
||||||
{
|
{
|
||||||
$value .= $sperator.$string;
|
if ($name = self::getVar($table, $val, 'id', 'name'))
|
||||||
|
{
|
||||||
|
$names[] = $name;
|
||||||
|
}
|
||||||
}
|
}
|
||||||
else
|
if (self::checkArray($names))
|
||||||
{
|
{
|
||||||
$value .= $string;
|
return (string) implode($sperator,$names);
|
||||||
}
|
}
|
||||||
$counter++;
|
|
||||||
}
|
}
|
||||||
return $value;
|
return (string) implode($sperator,$result);
|
||||||
}
|
}
|
||||||
return json_decode($value);
|
return (string) json_decode($value);
|
||||||
}
|
}
|
||||||
return $value;
|
return $value;
|
||||||
}
|
}
|
||||||
@ -1026,7 +1041,7 @@ abstract class ComponentbuilderHelper
|
|||||||
|
|
||||||
if (!$asset->check() || !$asset->store())
|
if (!$asset->check() || !$asset->store())
|
||||||
{
|
{
|
||||||
JError::raiseWarning(500, $asset->getError());
|
JFactory::getApplication()->enqueueMessage($asset->getError(), 'warning');
|
||||||
return false;
|
return false;
|
||||||
}
|
}
|
||||||
else
|
else
|
||||||
|
@ -10,8 +10,8 @@
|
|||||||
|_|
|
|_|
|
||||||
/-------------------------------------------------------------------------------------------------------------------------------/
|
/-------------------------------------------------------------------------------------------------------------------------------/
|
||||||
|
|
||||||
@version 2.1.8
|
@version 2.1.18
|
||||||
@build 7th May, 2016
|
@build 3rd September, 2016
|
||||||
@created 30th April, 2015
|
@created 30th April, 2015
|
||||||
@package Component Builder
|
@package Component Builder
|
||||||
@subpackage batch_.php
|
@subpackage batch_.php
|
||||||
|
@ -10,8 +10,8 @@
|
|||||||
|_|
|
|_|
|
||||||
/-------------------------------------------------------------------------------------------------------------------------------/
|
/-------------------------------------------------------------------------------------------------------------------------------/
|
||||||
|
|
||||||
@version 2.1.8
|
@version 2.1.18
|
||||||
@build 7th May, 2016
|
@build 3rd September, 2016
|
||||||
@created 30th April, 2015
|
@created 30th April, 2015
|
||||||
@package Component Builder
|
@package Component Builder
|
||||||
@subpackage indenter.php
|
@subpackage indenter.php
|
||||||
|
@ -10,8 +10,8 @@
|
|||||||
|_|
|
|_|
|
||||||
/-------------------------------------------------------------------------------------------------------------------------------/
|
/-------------------------------------------------------------------------------------------------------------------------------/
|
||||||
|
|
||||||
@version 2.1.8
|
@version 2.1.18
|
||||||
@build 7th May, 2016
|
@build 3rd September, 2016
|
||||||
@created 30th April, 2015
|
@created 30th April, 2015
|
||||||
@package Component Builder
|
@package Component Builder
|
||||||
@subpackage js.php
|
@subpackage js.php
|
||||||
|
@ -10,8 +10,8 @@
|
|||||||
|_|
|
|_|
|
||||||
/-------------------------------------------------------------------------------------------------------------------------------/
|
/-------------------------------------------------------------------------------------------------------------------------------/
|
||||||
|
|
||||||
@version 2.1.8
|
@version 2.1.18
|
||||||
@build 7th May, 2016
|
@build 3rd September, 2016
|
||||||
@created 30th April, 2015
|
@created 30th April, 2015
|
||||||
@package Component Builder
|
@package Component Builder
|
||||||
@subpackage minify.php
|
@subpackage minify.php
|
||||||
|
@ -50,6 +50,7 @@ COM_COMPONENTBUILDER_ADMIN_VIEW_ABOVE_TABS="Above Tabs"
|
|||||||
COM_COMPONENTBUILDER_ADMIN_VIEW_ACTION_DESCRIPTION="Enter Action Name Here"
|
COM_COMPONENTBUILDER_ADMIN_VIEW_ACTION_DESCRIPTION="Enter Action Name Here"
|
||||||
COM_COMPONENTBUILDER_ADMIN_VIEW_ACTION_LABEL="Action Name"
|
COM_COMPONENTBUILDER_ADMIN_VIEW_ACTION_LABEL="Action Name"
|
||||||
COM_COMPONENTBUILDER_ADMIN_VIEW_ACTIVE_ONLY_FOUR_TEXT_FIELD="Active (only 4 text_field)"
|
COM_COMPONENTBUILDER_ADMIN_VIEW_ACTIVE_ONLY_FOUR_TEXT_FIELD="Active (only 4 text_field)"
|
||||||
|
COM_COMPONENTBUILDER_ADMIN_VIEW_ADD="Add"
|
||||||
COM_COMPONENTBUILDER_ADMIN_VIEW_ADDCONDITIONS="Addconditions"
|
COM_COMPONENTBUILDER_ADMIN_VIEW_ADDCONDITIONS="Addconditions"
|
||||||
COM_COMPONENTBUILDER_ADMIN_VIEW_ADDCONDITIONS_DESCRIPTION="Conditional setup for the above fields."
|
COM_COMPONENTBUILDER_ADMIN_VIEW_ADDCONDITIONS_DESCRIPTION="Conditional setup for the above fields."
|
||||||
COM_COMPONENTBUILDER_ADMIN_VIEW_ADDCONDITIONS_SELECT="Add"
|
COM_COMPONENTBUILDER_ADMIN_VIEW_ADDCONDITIONS_SELECT="Add"
|
||||||
@ -75,6 +76,9 @@ COM_COMPONENTBUILDER_ADMIN_VIEW_ADD_CSS_VIEW_LABEL="Add CSS (view)"
|
|||||||
COM_COMPONENTBUILDER_ADMIN_VIEW_ADD_CUSTOM_IMPORT="Add Custom Import"
|
COM_COMPONENTBUILDER_ADMIN_VIEW_ADD_CUSTOM_IMPORT="Add Custom Import"
|
||||||
COM_COMPONENTBUILDER_ADMIN_VIEW_ADD_CUSTOM_IMPORT_DESCRIPTION="Override the default import methods."
|
COM_COMPONENTBUILDER_ADMIN_VIEW_ADD_CUSTOM_IMPORT_DESCRIPTION="Override the default import methods."
|
||||||
COM_COMPONENTBUILDER_ADMIN_VIEW_ADD_CUSTOM_IMPORT_LABEL="Add Custom Import"
|
COM_COMPONENTBUILDER_ADMIN_VIEW_ADD_CUSTOM_IMPORT_LABEL="Add Custom Import"
|
||||||
|
COM_COMPONENTBUILDER_ADMIN_VIEW_ADD_FADEIN="Add Fadein"
|
||||||
|
COM_COMPONENTBUILDER_ADMIN_VIEW_ADD_FADEIN_DESCRIPTION="Should the fade in affect be added to the admin edit view."
|
||||||
|
COM_COMPONENTBUILDER_ADMIN_VIEW_ADD_FADEIN_LABEL="Fade In Affect"
|
||||||
COM_COMPONENTBUILDER_ADMIN_VIEW_ADD_JAVASCRIPT_VIEWS_FILE="Add Javascript Views File"
|
COM_COMPONENTBUILDER_ADMIN_VIEW_ADD_JAVASCRIPT_VIEWS_FILE="Add Javascript Views File"
|
||||||
COM_COMPONENTBUILDER_ADMIN_VIEW_ADD_JAVASCRIPT_VIEWS_FILE_LABEL="Add JavaScript (views-file)"
|
COM_COMPONENTBUILDER_ADMIN_VIEW_ADD_JAVASCRIPT_VIEWS_FILE_LABEL="Add JavaScript (views-file)"
|
||||||
COM_COMPONENTBUILDER_ADMIN_VIEW_ADD_JAVASCRIPT_VIEWS_FOOTER="Add Javascript Views Footer"
|
COM_COMPONENTBUILDER_ADMIN_VIEW_ADD_JAVASCRIPT_VIEWS_FOOTER="Add Javascript Views Footer"
|
||||||
@ -99,7 +103,9 @@ COM_COMPONENTBUILDER_ADMIN_VIEW_ADD_PHP_DOCUMENT="Add Php Document"
|
|||||||
COM_COMPONENTBUILDER_ADMIN_VIEW_ADD_PHP_DOCUMENT_LABEL="Add PHP (custom document script)"
|
COM_COMPONENTBUILDER_ADMIN_VIEW_ADD_PHP_DOCUMENT_LABEL="Add PHP (custom document script)"
|
||||||
COM_COMPONENTBUILDER_ADMIN_VIEW_ADD_PHP_GETITEM="Add Php Getitem"
|
COM_COMPONENTBUILDER_ADMIN_VIEW_ADD_PHP_GETITEM="Add Php Getitem"
|
||||||
COM_COMPONENTBUILDER_ADMIN_VIEW_ADD_PHP_GETITEMS="Add Php Getitems"
|
COM_COMPONENTBUILDER_ADMIN_VIEW_ADD_PHP_GETITEMS="Add Php Getitems"
|
||||||
COM_COMPONENTBUILDER_ADMIN_VIEW_ADD_PHP_GETITEMS_LABEL="Add PHP (getItems Method)"
|
COM_COMPONENTBUILDER_ADMIN_VIEW_ADD_PHP_GETITEMS_AFTER_ALL="Add Php Getitems After All"
|
||||||
|
COM_COMPONENTBUILDER_ADMIN_VIEW_ADD_PHP_GETITEMS_AFTER_ALL_LABEL="Add PHP (getItems Method - after all)"
|
||||||
|
COM_COMPONENTBUILDER_ADMIN_VIEW_ADD_PHP_GETITEMS_LABEL="Add PHP (getItems Method - before translation fix & decryption)"
|
||||||
COM_COMPONENTBUILDER_ADMIN_VIEW_ADD_PHP_GETITEM_LABEL="Add PHP (getItem Method)"
|
COM_COMPONENTBUILDER_ADMIN_VIEW_ADD_PHP_GETITEM_LABEL="Add PHP (getItem Method)"
|
||||||
COM_COMPONENTBUILDER_ADMIN_VIEW_ADD_PHP_GETLISTQUERY="Add Php Getlistquery"
|
COM_COMPONENTBUILDER_ADMIN_VIEW_ADD_PHP_GETLISTQUERY="Add Php Getlistquery"
|
||||||
COM_COMPONENTBUILDER_ADMIN_VIEW_ADD_PHP_GETLISTQUERY_LABEL="Add PHP (getListQuery - JModelList)"
|
COM_COMPONENTBUILDER_ADMIN_VIEW_ADD_PHP_GETLISTQUERY_LABEL="Add PHP (getListQuery - JModelList)"
|
||||||
@ -133,10 +139,10 @@ COM_COMPONENTBUILDER_ADMIN_VIEW_COREEDITCREATED="core.edit.created"
|
|||||||
COM_COMPONENTBUILDER_ADMIN_VIEW_COREEDITCREATED_BY="core.edit.created_by"
|
COM_COMPONENTBUILDER_ADMIN_VIEW_COREEDITCREATED_BY="core.edit.created_by"
|
||||||
COM_COMPONENTBUILDER_ADMIN_VIEW_COREEDITOWN="core.edit.own"
|
COM_COMPONENTBUILDER_ADMIN_VIEW_COREEDITOWN="core.edit.own"
|
||||||
COM_COMPONENTBUILDER_ADMIN_VIEW_COREEDITSTATE="core.edit.state"
|
COM_COMPONENTBUILDER_ADMIN_VIEW_COREEDITSTATE="core.edit.state"
|
||||||
COM_COMPONENTBUILDER_ADMIN_VIEW_CREATED_BY_DESC="The user that created the Admin View."
|
COM_COMPONENTBUILDER_ADMIN_VIEW_CREATED_BY_DESC="The user that created this Admin View."
|
||||||
COM_COMPONENTBUILDER_ADMIN_VIEW_CREATED_BY_LABEL="Created by"
|
COM_COMPONENTBUILDER_ADMIN_VIEW_CREATED_BY_LABEL="Created By"
|
||||||
COM_COMPONENTBUILDER_ADMIN_VIEW_CREATED_DATE_DESC="The date Admin View was created."
|
COM_COMPONENTBUILDER_ADMIN_VIEW_CREATED_DATE_DESC="The date this Admin View was created."
|
||||||
COM_COMPONENTBUILDER_ADMIN_VIEW_CREATED_DATE_LABEL="Created date"
|
COM_COMPONENTBUILDER_ADMIN_VIEW_CREATED_DATE_LABEL="Created Date"
|
||||||
COM_COMPONENTBUILDER_ADMIN_VIEW_CSS="CSS"
|
COM_COMPONENTBUILDER_ADMIN_VIEW_CSS="CSS"
|
||||||
COM_COMPONENTBUILDER_ADMIN_VIEW_CSS_VIEW="Css View"
|
COM_COMPONENTBUILDER_ADMIN_VIEW_CSS_VIEW="Css View"
|
||||||
COM_COMPONENTBUILDER_ADMIN_VIEW_CSS_VIEWS="Css Views"
|
COM_COMPONENTBUILDER_ADMIN_VIEW_CSS_VIEWS="Css Views"
|
||||||
@ -234,6 +240,10 @@ COM_COMPONENTBUILDER_ADMIN_VIEW_METHOD_NAME_DESCRIPTION="Enter method name."
|
|||||||
COM_COMPONENTBUILDER_ADMIN_VIEW_METHOD_NAME_HINT="Method Name Here"
|
COM_COMPONENTBUILDER_ADMIN_VIEW_METHOD_NAME_HINT="Method Name Here"
|
||||||
COM_COMPONENTBUILDER_ADMIN_VIEW_METHOD_NAME_LABEL="Method Name"
|
COM_COMPONENTBUILDER_ADMIN_VIEW_METHOD_NAME_LABEL="Method Name"
|
||||||
COM_COMPONENTBUILDER_ADMIN_VIEW_MIN_LENGTH_ONLY_FOUR_TEXT_FIELD="Min Length (only 4 text_field)"
|
COM_COMPONENTBUILDER_ADMIN_VIEW_MIN_LENGTH_ONLY_FOUR_TEXT_FIELD="Min Length (only 4 text_field)"
|
||||||
|
COM_COMPONENTBUILDER_ADMIN_VIEW_MODIFIED_BY_DESC="The last user that modified this Admin View."
|
||||||
|
COM_COMPONENTBUILDER_ADMIN_VIEW_MODIFIED_BY_LABEL="Modified By"
|
||||||
|
COM_COMPONENTBUILDER_ADMIN_VIEW_MODIFIED_DATE_DESC="The date this Admin View was modified."
|
||||||
|
COM_COMPONENTBUILDER_ADMIN_VIEW_MODIFIED_DATE_LABEL="Modified Date"
|
||||||
COM_COMPONENTBUILDER_ADMIN_VIEW_MYSQL="MySQL"
|
COM_COMPONENTBUILDER_ADMIN_VIEW_MYSQL="MySQL"
|
||||||
COM_COMPONENTBUILDER_ADMIN_VIEW_NAME_DESCRIPTION="Enter Name Here"
|
COM_COMPONENTBUILDER_ADMIN_VIEW_NAME_DESCRIPTION="Enter Name Here"
|
||||||
COM_COMPONENTBUILDER_ADMIN_VIEW_NAME_HINT="Name Here"
|
COM_COMPONENTBUILDER_ADMIN_VIEW_NAME_HINT="Name Here"
|
||||||
@ -304,6 +314,10 @@ COM_COMPONENTBUILDER_ADMIN_VIEW_PHP_DOCUMENT_HINT="// add custom PHP script to t
|
|||||||
COM_COMPONENTBUILDER_ADMIN_VIEW_PHP_DOCUMENT_LABEL="Custom Script (Document)"
|
COM_COMPONENTBUILDER_ADMIN_VIEW_PHP_DOCUMENT_LABEL="Custom Script (Document)"
|
||||||
COM_COMPONENTBUILDER_ADMIN_VIEW_PHP_GETITEM="Php Getitem"
|
COM_COMPONENTBUILDER_ADMIN_VIEW_PHP_GETITEM="Php Getitem"
|
||||||
COM_COMPONENTBUILDER_ADMIN_VIEW_PHP_GETITEMS="Php Getitems"
|
COM_COMPONENTBUILDER_ADMIN_VIEW_PHP_GETITEMS="Php Getitems"
|
||||||
|
COM_COMPONENTBUILDER_ADMIN_VIEW_PHP_GETITEMS_AFTER_ALL="Php Getitems After All"
|
||||||
|
COM_COMPONENTBUILDER_ADMIN_VIEW_PHP_GETITEMS_AFTER_ALL_DESCRIPTION="Add your PHP here! [Do not add the php tags]"
|
||||||
|
COM_COMPONENTBUILDER_ADMIN_VIEW_PHP_GETITEMS_AFTER_ALL_HINT="// PHP Here that should run in the getItems Method (array) $items is where all values are"
|
||||||
|
COM_COMPONENTBUILDER_ADMIN_VIEW_PHP_GETITEMS_AFTER_ALL_LABEL="PHP"
|
||||||
COM_COMPONENTBUILDER_ADMIN_VIEW_PHP_GETITEMS_DESCRIPTION="Add your PHP here! [Do not add the php tags]"
|
COM_COMPONENTBUILDER_ADMIN_VIEW_PHP_GETITEMS_DESCRIPTION="Add your PHP here! [Do not add the php tags]"
|
||||||
COM_COMPONENTBUILDER_ADMIN_VIEW_PHP_GETITEMS_HINT="// PHP Here that should run in the getItems Method (array) $items is where all values are"
|
COM_COMPONENTBUILDER_ADMIN_VIEW_PHP_GETITEMS_HINT="// PHP Here that should run in the getItems Method (array) $items is where all values are"
|
||||||
COM_COMPONENTBUILDER_ADMIN_VIEW_PHP_GETITEMS_LABEL="PHP"
|
COM_COMPONENTBUILDER_ADMIN_VIEW_PHP_GETITEMS_LABEL="PHP"
|
||||||
@ -316,6 +330,10 @@ COM_COMPONENTBUILDER_ADMIN_VIEW_PHP_GETLISTQUERY_HINT="// PHP Here that should r
|
|||||||
COM_COMPONENTBUILDER_ADMIN_VIEW_PHP_GETLISTQUERY_LABEL="PHP"
|
COM_COMPONENTBUILDER_ADMIN_VIEW_PHP_GETLISTQUERY_LABEL="PHP"
|
||||||
COM_COMPONENTBUILDER_ADMIN_VIEW_PHP_IMPORT="Php Import"
|
COM_COMPONENTBUILDER_ADMIN_VIEW_PHP_IMPORT="Php Import"
|
||||||
COM_COMPONENTBUILDER_ADMIN_VIEW_PHP_IMPORT_DESCRIPTION="Add your PHP here! [Do not add the php tags]"
|
COM_COMPONENTBUILDER_ADMIN_VIEW_PHP_IMPORT_DESCRIPTION="Add your PHP here! [Do not add the php tags]"
|
||||||
|
COM_COMPONENTBUILDER_ADMIN_VIEW_PHP_IMPORT_DISPLAY="Php Import Display"
|
||||||
|
COM_COMPONENTBUILDER_ADMIN_VIEW_PHP_IMPORT_DISPLAY_DESCRIPTION="Add your PHP here!"
|
||||||
|
COM_COMPONENTBUILDER_ADMIN_VIEW_PHP_IMPORT_DISPLAY_HINT="// The display method for the view.html.php file."
|
||||||
|
COM_COMPONENTBUILDER_ADMIN_VIEW_PHP_IMPORT_DISPLAY_LABEL="PHP (display)"
|
||||||
COM_COMPONENTBUILDER_ADMIN_VIEW_PHP_IMPORT_HINT="// PHP Here that should run in the import Method."
|
COM_COMPONENTBUILDER_ADMIN_VIEW_PHP_IMPORT_HINT="// PHP Here that should run in the import Method."
|
||||||
COM_COMPONENTBUILDER_ADMIN_VIEW_PHP_IMPORT_LABEL="Import Method PHP"
|
COM_COMPONENTBUILDER_ADMIN_VIEW_PHP_IMPORT_LABEL="Import Method PHP"
|
||||||
COM_COMPONENTBUILDER_ADMIN_VIEW_PHP_IMPORT_SAVE="Php Import Save"
|
COM_COMPONENTBUILDER_ADMIN_VIEW_PHP_IMPORT_SAVE="Php Import Save"
|
||||||
@ -338,6 +356,7 @@ COM_COMPONENTBUILDER_ADMIN_VIEW_PUBLISHING="Publishing"
|
|||||||
COM_COMPONENTBUILDER_ADMIN_VIEW_RAW="RAW"
|
COM_COMPONENTBUILDER_ADMIN_VIEW_RAW="RAW"
|
||||||
COM_COMPONENTBUILDER_ADMIN_VIEW_READONLY="readonly"
|
COM_COMPONENTBUILDER_ADMIN_VIEW_READONLY="readonly"
|
||||||
COM_COMPONENTBUILDER_ADMIN_VIEW_READWRITE="read/write"
|
COM_COMPONENTBUILDER_ADMIN_VIEW_READWRITE="read/write"
|
||||||
|
COM_COMPONENTBUILDER_ADMIN_VIEW_REMOVE="Remove"
|
||||||
COM_COMPONENTBUILDER_ADMIN_VIEW_RIGHT_IN_TAB="Right in Tab"
|
COM_COMPONENTBUILDER_ADMIN_VIEW_RIGHT_IN_TAB="Right in Tab"
|
||||||
COM_COMPONENTBUILDER_ADMIN_VIEW_RIGHT_OF_TABS="Right of Tabs"
|
COM_COMPONENTBUILDER_ADMIN_VIEW_RIGHT_OF_TABS="Right of Tabs"
|
||||||
COM_COMPONENTBUILDER_ADMIN_VIEW_SAVE_WARNING="Alias already existed so a number was added at the end. You can re-edit the Admin View to customise the alias."
|
COM_COMPONENTBUILDER_ADMIN_VIEW_SAVE_WARNING="Alias already existed so a number was added at the end. You can re-edit the Admin View to customise the alias."
|
||||||
@ -465,6 +484,9 @@ COM_COMPONENTBUILDER_COMPONENT_ADD_ADMIN_EVENT="Add Admin Event"
|
|||||||
COM_COMPONENTBUILDER_COMPONENT_ADD_ADMIN_EVENT_LABEL="Add Global Admin Event"
|
COM_COMPONENTBUILDER_COMPONENT_ADD_ADMIN_EVENT_LABEL="Add Global Admin Event"
|
||||||
COM_COMPONENTBUILDER_COMPONENT_ADD_CSS="Add Css"
|
COM_COMPONENTBUILDER_COMPONENT_ADD_CSS="Add Css"
|
||||||
COM_COMPONENTBUILDER_COMPONENT_ADD_CSS_LABEL="Add CSS"
|
COM_COMPONENTBUILDER_COMPONENT_ADD_CSS_LABEL="Add CSS"
|
||||||
|
COM_COMPONENTBUILDER_COMPONENT_ADD_EMAIL_HELPER="Add Email Helper"
|
||||||
|
COM_COMPONENTBUILDER_COMPONENT_ADD_EMAIL_HELPER_DESCRIPTION="Adding the email helper class, that can be used to send emails."
|
||||||
|
COM_COMPONENTBUILDER_COMPONENT_ADD_EMAIL_HELPER_LABEL="Add Email Helper"
|
||||||
COM_COMPONENTBUILDER_COMPONENT_ADD_LICENSE="Add License"
|
COM_COMPONENTBUILDER_COMPONENT_ADD_LICENSE="Add License"
|
||||||
COM_COMPONENTBUILDER_COMPONENT_ADD_LICENSE_DESCRIPTION="Add the option to use a license in the component."
|
COM_COMPONENTBUILDER_COMPONENT_ADD_LICENSE_DESCRIPTION="Add the option to use a license in the component."
|
||||||
COM_COMPONENTBUILDER_COMPONENT_ADD_LICENSE_LABEL="Add License (whmcs)"
|
COM_COMPONENTBUILDER_COMPONENT_ADD_LICENSE_LABEL="Add License (whmcs)"
|
||||||
@ -574,10 +596,10 @@ COM_COMPONENTBUILDER_COMPONENT_COPYRIGHT="Copyright"
|
|||||||
COM_COMPONENTBUILDER_COMPONENT_COPYRIGHT_DESCRIPTION="Add Copyright Here"
|
COM_COMPONENTBUILDER_COMPONENT_COPYRIGHT_DESCRIPTION="Add Copyright Here"
|
||||||
COM_COMPONENTBUILDER_COMPONENT_COPYRIGHT_HINT="Add Copyright Here"
|
COM_COMPONENTBUILDER_COMPONENT_COPYRIGHT_HINT="Add Copyright Here"
|
||||||
COM_COMPONENTBUILDER_COMPONENT_COPYRIGHT_LABEL="Copyright"
|
COM_COMPONENTBUILDER_COMPONENT_COPYRIGHT_LABEL="Copyright"
|
||||||
COM_COMPONENTBUILDER_COMPONENT_CREATED_BY_DESC="The user that created the Component."
|
COM_COMPONENTBUILDER_COMPONENT_CREATED_BY_DESC="The user that created this Component."
|
||||||
COM_COMPONENTBUILDER_COMPONENT_CREATED_BY_LABEL="Created by"
|
COM_COMPONENTBUILDER_COMPONENT_CREATED_BY_LABEL="Created By"
|
||||||
COM_COMPONENTBUILDER_COMPONENT_CREATED_DATE_DESC="The date Component was created."
|
COM_COMPONENTBUILDER_COMPONENT_CREATED_DATE_DESC="The date this Component was created."
|
||||||
COM_COMPONENTBUILDER_COMPONENT_CREATED_DATE_LABEL="Created date"
|
COM_COMPONENTBUILDER_COMPONENT_CREATED_DATE_LABEL="Created Date"
|
||||||
COM_COMPONENTBUILDER_COMPONENT_CREATUSERHELPER="Creatuserhelper"
|
COM_COMPONENTBUILDER_COMPONENT_CREATUSERHELPER="Creatuserhelper"
|
||||||
COM_COMPONENTBUILDER_COMPONENT_CREATUSERHELPER_LABEL="Add Create User Helper Method"
|
COM_COMPONENTBUILDER_COMPONENT_CREATUSERHELPER_LABEL="Add Create User Helper Method"
|
||||||
COM_COMPONENTBUILDER_COMPONENT_CREDIT="Credit"
|
COM_COMPONENTBUILDER_COMPONENT_CREDIT="Credit"
|
||||||
@ -618,9 +640,9 @@ COM_COMPONENTBUILDER_COMPONENT_EDIT="Editing the Component"
|
|||||||
COM_COMPONENTBUILDER_COMPONENT_EDIT_CREATE_SITE_VIEW_DESCRIPTION="add site edit & create view for this admin view"
|
COM_COMPONENTBUILDER_COMPONENT_EDIT_CREATE_SITE_VIEW_DESCRIPTION="add site edit & create view for this admin view"
|
||||||
COM_COMPONENTBUILDER_COMPONENT_EDIT_CREATE_SITE_VIEW_LABEL="Edit/Create Site View"
|
COM_COMPONENTBUILDER_COMPONENT_EDIT_CREATE_SITE_VIEW_LABEL="Edit/Create Site View"
|
||||||
COM_COMPONENTBUILDER_COMPONENT_EMAIL="Email"
|
COM_COMPONENTBUILDER_COMPONENT_EMAIL="Email"
|
||||||
COM_COMPONENTBUILDER_COMPONENT_EMAIL_DESCRIPTION="Enter Email"
|
COM_COMPONENTBUILDER_COMPONENT_EMAIL_DESCRIPTION="Enter Author Email"
|
||||||
COM_COMPONENTBUILDER_COMPONENT_EMAIL_HINT="demo@example.com"
|
COM_COMPONENTBUILDER_COMPONENT_EMAIL_HINT="Author Email Here"
|
||||||
COM_COMPONENTBUILDER_COMPONENT_EMAIL_LABEL="Email"
|
COM_COMPONENTBUILDER_COMPONENT_EMAIL_LABEL="Author Email"
|
||||||
COM_COMPONENTBUILDER_COMPONENT_EMPTYCONTRIBUTORS="Emptycontributors"
|
COM_COMPONENTBUILDER_COMPONENT_EMPTYCONTRIBUTORS="Emptycontributors"
|
||||||
COM_COMPONENTBUILDER_COMPONENT_EMPTYCONTRIBUTORS_DESCRIPTION="Set if a list of empty contributor fields should be added."
|
COM_COMPONENTBUILDER_COMPONENT_EMPTYCONTRIBUTORS_DESCRIPTION="Set if a list of empty contributor fields should be added."
|
||||||
COM_COMPONENTBUILDER_COMPONENT_EMPTYCONTRIBUTORS_LABEL="Empty Contributor Fields"
|
COM_COMPONENTBUILDER_COMPONENT_EMPTYCONTRIBUTORS_LABEL="Empty Contributor Fields"
|
||||||
@ -730,6 +752,10 @@ COM_COMPONENTBUILDER_COMPONENT_METADATA_LABEL="Has Metadata"
|
|||||||
COM_COMPONENTBUILDER_COMPONENT_MINUS="Minus"
|
COM_COMPONENTBUILDER_COMPONENT_MINUS="Minus"
|
||||||
COM_COMPONENTBUILDER_COMPONENT_MINUS_SIGN="Minus Sign"
|
COM_COMPONENTBUILDER_COMPONENT_MINUS_SIGN="Minus Sign"
|
||||||
COM_COMPONENTBUILDER_COMPONENT_MOBILE="Mobile"
|
COM_COMPONENTBUILDER_COMPONENT_MOBILE="Mobile"
|
||||||
|
COM_COMPONENTBUILDER_COMPONENT_MODIFIED_BY_DESC="The last user that modified this Component."
|
||||||
|
COM_COMPONENTBUILDER_COMPONENT_MODIFIED_BY_LABEL="Modified By"
|
||||||
|
COM_COMPONENTBUILDER_COMPONENT_MODIFIED_DATE_DESC="The date this Component was modified."
|
||||||
|
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_MYSQL_DESCRIPTION="Update Dump"
|
COM_COMPONENTBUILDER_COMPONENT_MYSQL_DESCRIPTION="Update Dump"
|
||||||
@ -808,6 +834,12 @@ Project duration: **###projectWeekTime### weeks** or **###projectMonthTime### mo
|
|||||||
<br />
|
<br />
|
||||||
> This **component** was build with a Joomla [Automated Component Builder] (https://www.vdm.io/joomla-component-builder).<br />
|
> This **component** was build with a Joomla [Automated Component Builder] (https://www.vdm.io/joomla-component-builder).<br />
|
||||||
> Developed by [Llewellyn van der Merwe] (mailto:joomla@vdm.io)<br />
|
> Developed by [Llewellyn van der Merwe] (mailto:joomla@vdm.io)<br />
|
||||||
|
<br />
|
||||||
|
## Donations<br />
|
||||||
|
<br />
|
||||||
|
If you want to support this project, please consider donating:<br />
|
||||||
|
* PayPal: pay@vdm.io<br />
|
||||||
|
* Bitcoin: 3H35PYwikEosvcjxHXGPLS1GufZ4b4iFu3
|
||||||
</code></div>"
|
</code></div>"
|
||||||
COM_COMPONENTBUILDER_COMPONENT_NOTE_README_LABEL="Demo README (with all place-holders)"
|
COM_COMPONENTBUILDER_COMPONENT_NOTE_README_LABEL="Demo README (with all place-holders)"
|
||||||
COM_COMPONENTBUILDER_COMPONENT_NOTE_WHMCS_LISENCING_NOTE_DESCRIPTION="You can use WHMCS licensing addon in your component<br /><strong>Helpful Links</strong><br /><a href='https://www.whmcs.com/addons/licensing-addon/' target='_blank'>https://www.whmcs.com/addons/licensing-addon/</a><br /><a href='http://docs.whmcs.com/Licensing_Addon' target='_blank'>http://docs.whmcs.com/Licensing_Addon</a>"
|
COM_COMPONENTBUILDER_COMPONENT_NOTE_WHMCS_LISENCING_NOTE_DESCRIPTION="You can use WHMCS licensing addon in your component<br /><strong>Helpful Links</strong><br /><a href='https://www.whmcs.com/addons/licensing-addon/' target='_blank'>https://www.whmcs.com/addons/licensing-addon/</a><br /><a href='http://docs.whmcs.com/Licensing_Addon' target='_blank'>http://docs.whmcs.com/Licensing_Addon</a>"
|
||||||
@ -991,7 +1023,7 @@ COM_COMPONENTBUILDER_COMPONENT_WARNING_CIRCLE="Warning Circle"
|
|||||||
COM_COMPONENTBUILDER_COMPONENT_WEBSITE="Website"
|
COM_COMPONENTBUILDER_COMPONENT_WEBSITE="Website"
|
||||||
COM_COMPONENTBUILDER_COMPONENT_WEBSITE_DESCRIPTION="Enter website address"
|
COM_COMPONENTBUILDER_COMPONENT_WEBSITE_DESCRIPTION="Enter website address"
|
||||||
COM_COMPONENTBUILDER_COMPONENT_WEBSITE_HINT="http://www.example.com"
|
COM_COMPONENTBUILDER_COMPONENT_WEBSITE_HINT="http://www.example.com"
|
||||||
COM_COMPONENTBUILDER_COMPONENT_WEBSITE_LABEL="Website"
|
COM_COMPONENTBUILDER_COMPONENT_WEBSITE_LABEL="Author Website"
|
||||||
COM_COMPONENTBUILDER_COMPONENT_WHMCS_KEY="Whmcs Key"
|
COM_COMPONENTBUILDER_COMPONENT_WHMCS_KEY="Whmcs Key"
|
||||||
COM_COMPONENTBUILDER_COMPONENT_WHMCS_KEY_DESCRIPTION="Add your WHMCS Secret Key here that is needed for this license"
|
COM_COMPONENTBUILDER_COMPONENT_WHMCS_KEY_DESCRIPTION="Add your WHMCS Secret Key here that is needed for this license"
|
||||||
COM_COMPONENTBUILDER_COMPONENT_WHMCS_KEY_HINT="Secret Key"
|
COM_COMPONENTBUILDER_COMPONENT_WHMCS_KEY_HINT="Secret Key"
|
||||||
@ -1218,10 +1250,10 @@ COM_COMPONENTBUILDER_CUSTOM_ADMIN_VIEW_COMMENTS_TWO="Comments 2"
|
|||||||
COM_COMPONENTBUILDER_CUSTOM_ADMIN_VIEW_COMPASS="Compass"
|
COM_COMPONENTBUILDER_CUSTOM_ADMIN_VIEW_COMPASS="Compass"
|
||||||
COM_COMPONENTBUILDER_CUSTOM_ADMIN_VIEW_CONTRACT="Contract"
|
COM_COMPONENTBUILDER_CUSTOM_ADMIN_VIEW_CONTRACT="Contract"
|
||||||
COM_COMPONENTBUILDER_CUSTOM_ADMIN_VIEW_CONTRACT_TWO="Contract 2"
|
COM_COMPONENTBUILDER_CUSTOM_ADMIN_VIEW_CONTRACT_TWO="Contract 2"
|
||||||
COM_COMPONENTBUILDER_CUSTOM_ADMIN_VIEW_CREATED_BY_DESC="The user that created the Custom Admin View."
|
COM_COMPONENTBUILDER_CUSTOM_ADMIN_VIEW_CREATED_BY_DESC="The user that created this Custom Admin View."
|
||||||
COM_COMPONENTBUILDER_CUSTOM_ADMIN_VIEW_CREATED_BY_LABEL="Created by"
|
COM_COMPONENTBUILDER_CUSTOM_ADMIN_VIEW_CREATED_BY_LABEL="Created By"
|
||||||
COM_COMPONENTBUILDER_CUSTOM_ADMIN_VIEW_CREATED_DATE_DESC="The date Custom Admin View was created."
|
COM_COMPONENTBUILDER_CUSTOM_ADMIN_VIEW_CREATED_DATE_DESC="The date this Custom Admin View was created."
|
||||||
COM_COMPONENTBUILDER_CUSTOM_ADMIN_VIEW_CREATED_DATE_LABEL="Created date"
|
COM_COMPONENTBUILDER_CUSTOM_ADMIN_VIEW_CREATED_DATE_LABEL="Created Date"
|
||||||
COM_COMPONENTBUILDER_CUSTOM_ADMIN_VIEW_CREDIT="Credit"
|
COM_COMPONENTBUILDER_CUSTOM_ADMIN_VIEW_CREDIT="Credit"
|
||||||
COM_COMPONENTBUILDER_CUSTOM_ADMIN_VIEW_CREDIT_TWO="Credit 2"
|
COM_COMPONENTBUILDER_CUSTOM_ADMIN_VIEW_CREDIT_TWO="Credit 2"
|
||||||
COM_COMPONENTBUILDER_CUSTOM_ADMIN_VIEW_CSS="Css"
|
COM_COMPONENTBUILDER_CUSTOM_ADMIN_VIEW_CSS="Css"
|
||||||
@ -1301,6 +1333,9 @@ COM_COMPONENTBUILDER_CUSTOM_ADMIN_VIEW_HOME="Home"
|
|||||||
COM_COMPONENTBUILDER_CUSTOM_ADMIN_VIEW_HOME_TWO="Home 2"
|
COM_COMPONENTBUILDER_CUSTOM_ADMIN_VIEW_HOME_TWO="Home 2"
|
||||||
COM_COMPONENTBUILDER_CUSTOM_ADMIN_VIEW_ICOMOON_DESCRIPTION="Joomla Standard Icomoon Fonts"
|
COM_COMPONENTBUILDER_CUSTOM_ADMIN_VIEW_ICOMOON_DESCRIPTION="Joomla Standard Icomoon Fonts"
|
||||||
COM_COMPONENTBUILDER_CUSTOM_ADMIN_VIEW_ICOMOON_LABEL="Icon"
|
COM_COMPONENTBUILDER_CUSTOM_ADMIN_VIEW_ICOMOON_LABEL="Icon"
|
||||||
|
COM_COMPONENTBUILDER_CUSTOM_ADMIN_VIEW_ICON="Icon"
|
||||||
|
COM_COMPONENTBUILDER_CUSTOM_ADMIN_VIEW_ICON_DESCRIPTION="Must be 128px x 128px and a png format."
|
||||||
|
COM_COMPONENTBUILDER_CUSTOM_ADMIN_VIEW_ICON_LABEL="Icon"
|
||||||
COM_COMPONENTBUILDER_CUSTOM_ADMIN_VIEW_ID="Id"
|
COM_COMPONENTBUILDER_CUSTOM_ADMIN_VIEW_ID="Id"
|
||||||
COM_COMPONENTBUILDER_CUSTOM_ADMIN_VIEW_IMAGE="Image"
|
COM_COMPONENTBUILDER_CUSTOM_ADMIN_VIEW_IMAGE="Image"
|
||||||
COM_COMPONENTBUILDER_CUSTOM_ADMIN_VIEW_IMAGES="Images"
|
COM_COMPONENTBUILDER_CUSTOM_ADMIN_VIEW_IMAGES="Images"
|
||||||
@ -1332,6 +1367,10 @@ COM_COMPONENTBUILDER_CUSTOM_ADMIN_VIEW_METHOD_LABEL="Target Controller Method"
|
|||||||
COM_COMPONENTBUILDER_CUSTOM_ADMIN_VIEW_MINUS="Minus"
|
COM_COMPONENTBUILDER_CUSTOM_ADMIN_VIEW_MINUS="Minus"
|
||||||
COM_COMPONENTBUILDER_CUSTOM_ADMIN_VIEW_MINUS_SIGN="Minus Sign"
|
COM_COMPONENTBUILDER_CUSTOM_ADMIN_VIEW_MINUS_SIGN="Minus Sign"
|
||||||
COM_COMPONENTBUILDER_CUSTOM_ADMIN_VIEW_MOBILE="Mobile"
|
COM_COMPONENTBUILDER_CUSTOM_ADMIN_VIEW_MOBILE="Mobile"
|
||||||
|
COM_COMPONENTBUILDER_CUSTOM_ADMIN_VIEW_MODIFIED_BY_DESC="The last user that modified this Custom Admin View."
|
||||||
|
COM_COMPONENTBUILDER_CUSTOM_ADMIN_VIEW_MODIFIED_BY_LABEL="Modified By"
|
||||||
|
COM_COMPONENTBUILDER_CUSTOM_ADMIN_VIEW_MODIFIED_DATE_DESC="The date this Custom Admin View was modified."
|
||||||
|
COM_COMPONENTBUILDER_CUSTOM_ADMIN_VIEW_MODIFIED_DATE_LABEL="Modified Date"
|
||||||
COM_COMPONENTBUILDER_CUSTOM_ADMIN_VIEW_MOVE="Move"
|
COM_COMPONENTBUILDER_CUSTOM_ADMIN_VIEW_MOVE="Move"
|
||||||
COM_COMPONENTBUILDER_CUSTOM_ADMIN_VIEW_MUSIC="Music"
|
COM_COMPONENTBUILDER_CUSTOM_ADMIN_VIEW_MUSIC="Music"
|
||||||
COM_COMPONENTBUILDER_CUSTOM_ADMIN_VIEW_NAME="Name"
|
COM_COMPONENTBUILDER_CUSTOM_ADMIN_VIEW_NAME="Name"
|
||||||
@ -1573,10 +1612,10 @@ COM_COMPONENTBUILDER_DYNAMIC_GET_BB="bb"
|
|||||||
COM_COMPONENTBUILDER_DYNAMIC_GET_C="c"
|
COM_COMPONENTBUILDER_DYNAMIC_GET_C="c"
|
||||||
COM_COMPONENTBUILDER_DYNAMIC_GET_CATEGORIES="Categories"
|
COM_COMPONENTBUILDER_DYNAMIC_GET_CATEGORIES="Categories"
|
||||||
COM_COMPONENTBUILDER_DYNAMIC_GET_CC="cc"
|
COM_COMPONENTBUILDER_DYNAMIC_GET_CC="cc"
|
||||||
COM_COMPONENTBUILDER_DYNAMIC_GET_CREATED_BY_DESC="The user that created the Dynamic Get."
|
COM_COMPONENTBUILDER_DYNAMIC_GET_CREATED_BY_DESC="The user that created this Dynamic Get."
|
||||||
COM_COMPONENTBUILDER_DYNAMIC_GET_CREATED_BY_LABEL="Created by"
|
COM_COMPONENTBUILDER_DYNAMIC_GET_CREATED_BY_LABEL="Created By"
|
||||||
COM_COMPONENTBUILDER_DYNAMIC_GET_CREATED_DATE_DESC="The date Dynamic Get was created."
|
COM_COMPONENTBUILDER_DYNAMIC_GET_CREATED_DATE_DESC="The date this Dynamic Get was created."
|
||||||
COM_COMPONENTBUILDER_DYNAMIC_GET_CREATED_DATE_LABEL="Created date"
|
COM_COMPONENTBUILDER_DYNAMIC_GET_CREATED_DATE_LABEL="Created Date"
|
||||||
COM_COMPONENTBUILDER_DYNAMIC_GET_CUSTOM="Custom"
|
COM_COMPONENTBUILDER_DYNAMIC_GET_CUSTOM="Custom"
|
||||||
COM_COMPONENTBUILDER_DYNAMIC_GET_CUSTOM_SCRIPT="Custom Script"
|
COM_COMPONENTBUILDER_DYNAMIC_GET_CUSTOM_SCRIPT="Custom Script"
|
||||||
COM_COMPONENTBUILDER_DYNAMIC_GET_D="d"
|
COM_COMPONENTBUILDER_DYNAMIC_GET_D="d"
|
||||||
@ -1663,6 +1702,10 @@ COM_COMPONENTBUILDER_DYNAMIC_GET_MAIN_SOURCE="Main Source"
|
|||||||
COM_COMPONENTBUILDER_DYNAMIC_GET_MAIN_SOURCE_DESCRIPTION="Select the main source of this dynamic get method."
|
COM_COMPONENTBUILDER_DYNAMIC_GET_MAIN_SOURCE_DESCRIPTION="Select the main source of this dynamic get method."
|
||||||
COM_COMPONENTBUILDER_DYNAMIC_GET_MAIN_SOURCE_LABEL="Main Source"
|
COM_COMPONENTBUILDER_DYNAMIC_GET_MAIN_SOURCE_LABEL="Main Source"
|
||||||
COM_COMPONENTBUILDER_DYNAMIC_GET_MM="mm"
|
COM_COMPONENTBUILDER_DYNAMIC_GET_MM="mm"
|
||||||
|
COM_COMPONENTBUILDER_DYNAMIC_GET_MODIFIED_BY_DESC="The last user that modified this Dynamic Get."
|
||||||
|
COM_COMPONENTBUILDER_DYNAMIC_GET_MODIFIED_BY_LABEL="Modified By"
|
||||||
|
COM_COMPONENTBUILDER_DYNAMIC_GET_MODIFIED_DATE_DESC="The date this Dynamic Get was modified."
|
||||||
|
COM_COMPONENTBUILDER_DYNAMIC_GET_MODIFIED_DATE_LABEL="Modified Date"
|
||||||
COM_COMPONENTBUILDER_DYNAMIC_GET_MULTIPLE="Multiple"
|
COM_COMPONENTBUILDER_DYNAMIC_GET_MULTIPLE="Multiple"
|
||||||
COM_COMPONENTBUILDER_DYNAMIC_GET_N="n"
|
COM_COMPONENTBUILDER_DYNAMIC_GET_N="n"
|
||||||
COM_COMPONENTBUILDER_DYNAMIC_GET_NAME="Name"
|
COM_COMPONENTBUILDER_DYNAMIC_GET_NAME="Name"
|
||||||
@ -1895,10 +1938,10 @@ COM_COMPONENTBUILDER_FIELDTYPE_ADJUSTABLE_DESCRIPTION="Select if the value is ad
|
|||||||
COM_COMPONENTBUILDER_FIELDTYPE_ADJUSTABLE_LABEL="Adjustable"
|
COM_COMPONENTBUILDER_FIELDTYPE_ADJUSTABLE_LABEL="Adjustable"
|
||||||
COM_COMPONENTBUILDER_FIELDTYPE_CATID_DESCRIPTION="select one of the following categories"
|
COM_COMPONENTBUILDER_FIELDTYPE_CATID_DESCRIPTION="select one of the following categories"
|
||||||
COM_COMPONENTBUILDER_FIELDTYPE_CATID_LABEL="Category"
|
COM_COMPONENTBUILDER_FIELDTYPE_CATID_LABEL="Category"
|
||||||
COM_COMPONENTBUILDER_FIELDTYPE_CREATED_BY_DESC="The user that created the Fieldtype."
|
COM_COMPONENTBUILDER_FIELDTYPE_CREATED_BY_DESC="The user that created this Fieldtype."
|
||||||
COM_COMPONENTBUILDER_FIELDTYPE_CREATED_BY_LABEL="Created by"
|
COM_COMPONENTBUILDER_FIELDTYPE_CREATED_BY_LABEL="Created By"
|
||||||
COM_COMPONENTBUILDER_FIELDTYPE_CREATED_DATE_DESC="The date Fieldtype was created."
|
COM_COMPONENTBUILDER_FIELDTYPE_CREATED_DATE_DESC="The date this Fieldtype was created."
|
||||||
COM_COMPONENTBUILDER_FIELDTYPE_CREATED_DATE_LABEL="Created date"
|
COM_COMPONENTBUILDER_FIELDTYPE_CREATED_DATE_LABEL="Created Date"
|
||||||
COM_COMPONENTBUILDER_FIELDTYPE_DESCRIPTION="Description"
|
COM_COMPONENTBUILDER_FIELDTYPE_DESCRIPTION="Description"
|
||||||
COM_COMPONENTBUILDER_FIELDTYPE_DESCRIPTION_DESCRIPTION="Add Description Here"
|
COM_COMPONENTBUILDER_FIELDTYPE_DESCRIPTION_DESCRIPTION="Add Description Here"
|
||||||
COM_COMPONENTBUILDER_FIELDTYPE_DESCRIPTION_HINT="Add Description Here"
|
COM_COMPONENTBUILDER_FIELDTYPE_DESCRIPTION_HINT="Add Description Here"
|
||||||
@ -1913,6 +1956,10 @@ COM_COMPONENTBUILDER_FIELDTYPE_FIELDTYPE_CATEGORY="Fieldtype Category"
|
|||||||
COM_COMPONENTBUILDER_FIELDTYPE_ID="Id"
|
COM_COMPONENTBUILDER_FIELDTYPE_ID="Id"
|
||||||
COM_COMPONENTBUILDER_FIELDTYPE_MANDATORY_DESCRIPTION="Select if the property is mandatory."
|
COM_COMPONENTBUILDER_FIELDTYPE_MANDATORY_DESCRIPTION="Select if the property is mandatory."
|
||||||
COM_COMPONENTBUILDER_FIELDTYPE_MANDATORY_LABEL="Mandatory"
|
COM_COMPONENTBUILDER_FIELDTYPE_MANDATORY_LABEL="Mandatory"
|
||||||
|
COM_COMPONENTBUILDER_FIELDTYPE_MODIFIED_BY_DESC="The last user that modified this Fieldtype."
|
||||||
|
COM_COMPONENTBUILDER_FIELDTYPE_MODIFIED_BY_LABEL="Modified By"
|
||||||
|
COM_COMPONENTBUILDER_FIELDTYPE_MODIFIED_DATE_DESC="The date this Fieldtype was modified."
|
||||||
|
COM_COMPONENTBUILDER_FIELDTYPE_MODIFIED_DATE_LABEL="Modified Date"
|
||||||
COM_COMPONENTBUILDER_FIELDTYPE_NAME="Name"
|
COM_COMPONENTBUILDER_FIELDTYPE_NAME="Name"
|
||||||
COM_COMPONENTBUILDER_FIELDTYPE_NAME_DESCRIPTION="Enter Name Here"
|
COM_COMPONENTBUILDER_FIELDTYPE_NAME_DESCRIPTION="Enter Name Here"
|
||||||
COM_COMPONENTBUILDER_FIELDTYPE_NAME_HINT="Name Here"
|
COM_COMPONENTBUILDER_FIELDTYPE_NAME_HINT="Name Here"
|
||||||
@ -1953,10 +2000,10 @@ COM_COMPONENTBUILDER_FIELD_BIGINT="BIGINT"
|
|||||||
COM_COMPONENTBUILDER_FIELD_CATID_DESCRIPTION="select one of the following categories"
|
COM_COMPONENTBUILDER_FIELD_CATID_DESCRIPTION="select one of the following categories"
|
||||||
COM_COMPONENTBUILDER_FIELD_CATID_LABEL="Category"
|
COM_COMPONENTBUILDER_FIELD_CATID_LABEL="Category"
|
||||||
COM_COMPONENTBUILDER_FIELD_CHAR="CHAR"
|
COM_COMPONENTBUILDER_FIELD_CHAR="CHAR"
|
||||||
COM_COMPONENTBUILDER_FIELD_CREATED_BY_DESC="The user that created the Field."
|
COM_COMPONENTBUILDER_FIELD_CREATED_BY_DESC="The user that created this Field."
|
||||||
COM_COMPONENTBUILDER_FIELD_CREATED_BY_LABEL="Created by"
|
COM_COMPONENTBUILDER_FIELD_CREATED_BY_LABEL="Created By"
|
||||||
COM_COMPONENTBUILDER_FIELD_CREATED_DATE_DESC="The date Field was created."
|
COM_COMPONENTBUILDER_FIELD_CREATED_DATE_DESC="The date this Field was created."
|
||||||
COM_COMPONENTBUILDER_FIELD_CREATED_DATE_LABEL="Created date"
|
COM_COMPONENTBUILDER_FIELD_CREATED_DATE_LABEL="Created Date"
|
||||||
COM_COMPONENTBUILDER_FIELD_CSS_VIEW="Css View"
|
COM_COMPONENTBUILDER_FIELD_CSS_VIEW="Css View"
|
||||||
COM_COMPONENTBUILDER_FIELD_CSS_VIEWS="Css Views"
|
COM_COMPONENTBUILDER_FIELD_CSS_VIEWS="Css Views"
|
||||||
COM_COMPONENTBUILDER_FIELD_CSS_VIEWS_DESCRIPTION="Add your CSS here! [Do not add the style tags]"
|
COM_COMPONENTBUILDER_FIELD_CSS_VIEWS_DESCRIPTION="Add your CSS here! [Do not add the style tags]"
|
||||||
@ -2015,6 +2062,10 @@ COM_COMPONENTBUILDER_FIELD_JSON="JSON"
|
|||||||
COM_COMPONENTBUILDER_FIELD_KEY="KEY"
|
COM_COMPONENTBUILDER_FIELD_KEY="KEY"
|
||||||
COM_COMPONENTBUILDER_FIELD_LONGTEXT="LONGTEXT"
|
COM_COMPONENTBUILDER_FIELD_LONGTEXT="LONGTEXT"
|
||||||
COM_COMPONENTBUILDER_FIELD_MEDIUMTEXT="MEDIUMTEXT"
|
COM_COMPONENTBUILDER_FIELD_MEDIUMTEXT="MEDIUMTEXT"
|
||||||
|
COM_COMPONENTBUILDER_FIELD_MODIFIED_BY_DESC="The last user that modified this Field."
|
||||||
|
COM_COMPONENTBUILDER_FIELD_MODIFIED_BY_LABEL="Modified By"
|
||||||
|
COM_COMPONENTBUILDER_FIELD_MODIFIED_DATE_DESC="The date this Field was modified."
|
||||||
|
COM_COMPONENTBUILDER_FIELD_MODIFIED_DATE_LABEL="Modified Date"
|
||||||
COM_COMPONENTBUILDER_FIELD_NAME="Name"
|
COM_COMPONENTBUILDER_FIELD_NAME="Name"
|
||||||
COM_COMPONENTBUILDER_FIELD_NAME_DESCRIPTION="Enter Name Here"
|
COM_COMPONENTBUILDER_FIELD_NAME_DESCRIPTION="Enter Name Here"
|
||||||
COM_COMPONENTBUILDER_FIELD_NAME_HINT="Name Here"
|
COM_COMPONENTBUILDER_FIELD_NAME_HINT="Name Here"
|
||||||
@ -2139,10 +2190,10 @@ COM_COMPONENTBUILDER_HELP_DOCUMENT_ARTICLE="Article"
|
|||||||
COM_COMPONENTBUILDER_HELP_DOCUMENT_ARTICLE_LABEL="Article"
|
COM_COMPONENTBUILDER_HELP_DOCUMENT_ARTICLE_LABEL="Article"
|
||||||
COM_COMPONENTBUILDER_HELP_DOCUMENT_CONTENT="Content"
|
COM_COMPONENTBUILDER_HELP_DOCUMENT_CONTENT="Content"
|
||||||
COM_COMPONENTBUILDER_HELP_DOCUMENT_CONTENT_LABEL="Content"
|
COM_COMPONENTBUILDER_HELP_DOCUMENT_CONTENT_LABEL="Content"
|
||||||
COM_COMPONENTBUILDER_HELP_DOCUMENT_CREATED_BY_DESC="The user that created the Help Document."
|
COM_COMPONENTBUILDER_HELP_DOCUMENT_CREATED_BY_DESC="The user that created this Help Document."
|
||||||
COM_COMPONENTBUILDER_HELP_DOCUMENT_CREATED_BY_LABEL="Created by"
|
COM_COMPONENTBUILDER_HELP_DOCUMENT_CREATED_BY_LABEL="Created By"
|
||||||
COM_COMPONENTBUILDER_HELP_DOCUMENT_CREATED_DATE_DESC="The date Help Document was created."
|
COM_COMPONENTBUILDER_HELP_DOCUMENT_CREATED_DATE_DESC="The date this Help Document was created."
|
||||||
COM_COMPONENTBUILDER_HELP_DOCUMENT_CREATED_DATE_LABEL="Created date"
|
COM_COMPONENTBUILDER_HELP_DOCUMENT_CREATED_DATE_LABEL="Created Date"
|
||||||
COM_COMPONENTBUILDER_HELP_DOCUMENT_DETAILS="Details"
|
COM_COMPONENTBUILDER_HELP_DOCUMENT_DETAILS="Details"
|
||||||
COM_COMPONENTBUILDER_HELP_DOCUMENT_EDIT="Editing the Help Document"
|
COM_COMPONENTBUILDER_HELP_DOCUMENT_EDIT="Editing the Help Document"
|
||||||
COM_COMPONENTBUILDER_HELP_DOCUMENT_ERROR_UNIQUE_ALIAS="Another Help Document has the same alias."
|
COM_COMPONENTBUILDER_HELP_DOCUMENT_ERROR_UNIQUE_ALIAS="Another Help Document has the same alias."
|
||||||
@ -2154,6 +2205,10 @@ COM_COMPONENTBUILDER_HELP_DOCUMENT_JOOMLA_ARTICLE="Joomla Article"
|
|||||||
COM_COMPONENTBUILDER_HELP_DOCUMENT_LOCATION="Location"
|
COM_COMPONENTBUILDER_HELP_DOCUMENT_LOCATION="Location"
|
||||||
COM_COMPONENTBUILDER_HELP_DOCUMENT_LOCATION_DESCRIPTION="Select the help target location."
|
COM_COMPONENTBUILDER_HELP_DOCUMENT_LOCATION_DESCRIPTION="Select the help target location."
|
||||||
COM_COMPONENTBUILDER_HELP_DOCUMENT_LOCATION_LABEL="Location"
|
COM_COMPONENTBUILDER_HELP_DOCUMENT_LOCATION_LABEL="Location"
|
||||||
|
COM_COMPONENTBUILDER_HELP_DOCUMENT_MODIFIED_BY_DESC="The last user that modified this Help Document."
|
||||||
|
COM_COMPONENTBUILDER_HELP_DOCUMENT_MODIFIED_BY_LABEL="Modified By"
|
||||||
|
COM_COMPONENTBUILDER_HELP_DOCUMENT_MODIFIED_DATE_DESC="The date this Help Document was modified."
|
||||||
|
COM_COMPONENTBUILDER_HELP_DOCUMENT_MODIFIED_DATE_LABEL="Modified Date"
|
||||||
COM_COMPONENTBUILDER_HELP_DOCUMENT_NEW="A New Help Document"
|
COM_COMPONENTBUILDER_HELP_DOCUMENT_NEW="A New Help Document"
|
||||||
COM_COMPONENTBUILDER_HELP_DOCUMENT_NOT_REQUIRED="Not Required"
|
COM_COMPONENTBUILDER_HELP_DOCUMENT_NOT_REQUIRED="Not Required"
|
||||||
COM_COMPONENTBUILDER_HELP_DOCUMENT_ORDERING_LABEL="Ordering"
|
COM_COMPONENTBUILDER_HELP_DOCUMENT_ORDERING_LABEL="Ordering"
|
||||||
@ -2287,10 +2342,10 @@ COM_COMPONENTBUILDER_LAYOUT_ALIAS="Alias"
|
|||||||
COM_COMPONENTBUILDER_LAYOUT_ALIAS_DESCRIPTION="Add Name in Code Here"
|
COM_COMPONENTBUILDER_LAYOUT_ALIAS_DESCRIPTION="Add Name in Code Here"
|
||||||
COM_COMPONENTBUILDER_LAYOUT_ALIAS_HINT="codename"
|
COM_COMPONENTBUILDER_LAYOUT_ALIAS_HINT="codename"
|
||||||
COM_COMPONENTBUILDER_LAYOUT_ALIAS_LABEL="Name in Code"
|
COM_COMPONENTBUILDER_LAYOUT_ALIAS_LABEL="Name in Code"
|
||||||
COM_COMPONENTBUILDER_LAYOUT_CREATED_BY_DESC="The user that created the Layout."
|
COM_COMPONENTBUILDER_LAYOUT_CREATED_BY_DESC="The user that created this Layout."
|
||||||
COM_COMPONENTBUILDER_LAYOUT_CREATED_BY_LABEL="Created by"
|
COM_COMPONENTBUILDER_LAYOUT_CREATED_BY_LABEL="Created By"
|
||||||
COM_COMPONENTBUILDER_LAYOUT_CREATED_DATE_DESC="The date Layout was created."
|
COM_COMPONENTBUILDER_LAYOUT_CREATED_DATE_DESC="The date this Layout was created."
|
||||||
COM_COMPONENTBUILDER_LAYOUT_CREATED_DATE_LABEL="Created date"
|
COM_COMPONENTBUILDER_LAYOUT_CREATED_DATE_LABEL="Created Date"
|
||||||
COM_COMPONENTBUILDER_LAYOUT_CUSTOM_SCRIPT="Custom Script"
|
COM_COMPONENTBUILDER_LAYOUT_CUSTOM_SCRIPT="Custom Script"
|
||||||
COM_COMPONENTBUILDER_LAYOUT_DESCRIPTION="Description"
|
COM_COMPONENTBUILDER_LAYOUT_DESCRIPTION="Description"
|
||||||
COM_COMPONENTBUILDER_LAYOUT_DESCRIPTION_DESCRIPTION="Enter some description"
|
COM_COMPONENTBUILDER_LAYOUT_DESCRIPTION_DESCRIPTION="Enter some description"
|
||||||
@ -2308,6 +2363,10 @@ COM_COMPONENTBUILDER_LAYOUT_ID="Id"
|
|||||||
COM_COMPONENTBUILDER_LAYOUT_LAYOUT="Layout"
|
COM_COMPONENTBUILDER_LAYOUT_LAYOUT="Layout"
|
||||||
COM_COMPONENTBUILDER_LAYOUT_LAYOUT_HINT="// Add the layout code here. $displayData is the Object that is used inside the layout file to build displayed output"
|
COM_COMPONENTBUILDER_LAYOUT_LAYOUT_HINT="// Add the layout code here. $displayData is the Object that is used inside the layout file to build displayed output"
|
||||||
COM_COMPONENTBUILDER_LAYOUT_LAYOUT_LABEL="Layout"
|
COM_COMPONENTBUILDER_LAYOUT_LAYOUT_LABEL="Layout"
|
||||||
|
COM_COMPONENTBUILDER_LAYOUT_MODIFIED_BY_DESC="The last user that modified this Layout."
|
||||||
|
COM_COMPONENTBUILDER_LAYOUT_MODIFIED_BY_LABEL="Modified By"
|
||||||
|
COM_COMPONENTBUILDER_LAYOUT_MODIFIED_DATE_DESC="The date this Layout was modified."
|
||||||
|
COM_COMPONENTBUILDER_LAYOUT_MODIFIED_DATE_LABEL="Modified Date"
|
||||||
COM_COMPONENTBUILDER_LAYOUT_NAME="Name"
|
COM_COMPONENTBUILDER_LAYOUT_NAME="Name"
|
||||||
COM_COMPONENTBUILDER_LAYOUT_NAME_DESCRIPTION="Enter Name Here"
|
COM_COMPONENTBUILDER_LAYOUT_NAME_DESCRIPTION="Enter Name Here"
|
||||||
COM_COMPONENTBUILDER_LAYOUT_NAME_HINT="Name Here"
|
COM_COMPONENTBUILDER_LAYOUT_NAME_HINT="Name Here"
|
||||||
@ -2475,10 +2534,10 @@ COM_COMPONENTBUILDER_SITE_VIEW_COMMENTS_TWO="Comments 2"
|
|||||||
COM_COMPONENTBUILDER_SITE_VIEW_COMPASS="Compass"
|
COM_COMPONENTBUILDER_SITE_VIEW_COMPASS="Compass"
|
||||||
COM_COMPONENTBUILDER_SITE_VIEW_CONTRACT="Contract"
|
COM_COMPONENTBUILDER_SITE_VIEW_CONTRACT="Contract"
|
||||||
COM_COMPONENTBUILDER_SITE_VIEW_CONTRACT_TWO="Contract 2"
|
COM_COMPONENTBUILDER_SITE_VIEW_CONTRACT_TWO="Contract 2"
|
||||||
COM_COMPONENTBUILDER_SITE_VIEW_CREATED_BY_DESC="The user that created the Site View."
|
COM_COMPONENTBUILDER_SITE_VIEW_CREATED_BY_DESC="The user that created this Site View."
|
||||||
COM_COMPONENTBUILDER_SITE_VIEW_CREATED_BY_LABEL="Created by"
|
COM_COMPONENTBUILDER_SITE_VIEW_CREATED_BY_LABEL="Created By"
|
||||||
COM_COMPONENTBUILDER_SITE_VIEW_CREATED_DATE_DESC="The date Site View was created."
|
COM_COMPONENTBUILDER_SITE_VIEW_CREATED_DATE_DESC="The date this Site View was created."
|
||||||
COM_COMPONENTBUILDER_SITE_VIEW_CREATED_DATE_LABEL="Created date"
|
COM_COMPONENTBUILDER_SITE_VIEW_CREATED_DATE_LABEL="Created Date"
|
||||||
COM_COMPONENTBUILDER_SITE_VIEW_CREDIT="Credit"
|
COM_COMPONENTBUILDER_SITE_VIEW_CREDIT="Credit"
|
||||||
COM_COMPONENTBUILDER_SITE_VIEW_CREDIT_TWO="Credit 2"
|
COM_COMPONENTBUILDER_SITE_VIEW_CREDIT_TWO="Credit 2"
|
||||||
COM_COMPONENTBUILDER_SITE_VIEW_CSS="Css"
|
COM_COMPONENTBUILDER_SITE_VIEW_CSS="Css"
|
||||||
@ -2601,6 +2660,10 @@ COM_COMPONENTBUILDER_SITE_VIEW_METHOD_NAME_LABEL="Method Name"
|
|||||||
COM_COMPONENTBUILDER_SITE_VIEW_MINUS="Minus"
|
COM_COMPONENTBUILDER_SITE_VIEW_MINUS="Minus"
|
||||||
COM_COMPONENTBUILDER_SITE_VIEW_MINUS_SIGN="Minus Sign"
|
COM_COMPONENTBUILDER_SITE_VIEW_MINUS_SIGN="Minus Sign"
|
||||||
COM_COMPONENTBUILDER_SITE_VIEW_MOBILE="Mobile"
|
COM_COMPONENTBUILDER_SITE_VIEW_MOBILE="Mobile"
|
||||||
|
COM_COMPONENTBUILDER_SITE_VIEW_MODIFIED_BY_DESC="The last user that modified this Site View."
|
||||||
|
COM_COMPONENTBUILDER_SITE_VIEW_MODIFIED_BY_LABEL="Modified By"
|
||||||
|
COM_COMPONENTBUILDER_SITE_VIEW_MODIFIED_DATE_DESC="The date this Site View was modified."
|
||||||
|
COM_COMPONENTBUILDER_SITE_VIEW_MODIFIED_DATE_LABEL="Modified Date"
|
||||||
COM_COMPONENTBUILDER_SITE_VIEW_MOVE="Move"
|
COM_COMPONENTBUILDER_SITE_VIEW_MOVE="Move"
|
||||||
COM_COMPONENTBUILDER_SITE_VIEW_MUSIC="Music"
|
COM_COMPONENTBUILDER_SITE_VIEW_MUSIC="Music"
|
||||||
COM_COMPONENTBUILDER_SITE_VIEW_NAME="Name"
|
COM_COMPONENTBUILDER_SITE_VIEW_NAME="Name"
|
||||||
@ -2813,10 +2876,10 @@ COM_COMPONENTBUILDER_SNIPPETS_SUBMENU="Snippets Submenu"
|
|||||||
COM_COMPONENTBUILDER_SNIPPETS_SUBMENU_DESC="Allows the users in this group to update the submenu of the snippet"
|
COM_COMPONENTBUILDER_SNIPPETS_SUBMENU_DESC="Allows the users in this group to update the submenu of the snippet"
|
||||||
COM_COMPONENTBUILDER_SNIPPET_CHARTS="Charts"
|
COM_COMPONENTBUILDER_SNIPPET_CHARTS="Charts"
|
||||||
COM_COMPONENTBUILDER_SNIPPET_COMMON="Common"
|
COM_COMPONENTBUILDER_SNIPPET_COMMON="Common"
|
||||||
COM_COMPONENTBUILDER_SNIPPET_CREATED_BY_DESC="The user that created the Snippet."
|
COM_COMPONENTBUILDER_SNIPPET_CREATED_BY_DESC="The user that created this Snippet."
|
||||||
COM_COMPONENTBUILDER_SNIPPET_CREATED_BY_LABEL="Created by"
|
COM_COMPONENTBUILDER_SNIPPET_CREATED_BY_LABEL="Created By"
|
||||||
COM_COMPONENTBUILDER_SNIPPET_CREATED_DATE_DESC="The date Snippet was created."
|
COM_COMPONENTBUILDER_SNIPPET_CREATED_DATE_DESC="The date this Snippet was created."
|
||||||
COM_COMPONENTBUILDER_SNIPPET_CREATED_DATE_LABEL="Created date"
|
COM_COMPONENTBUILDER_SNIPPET_CREATED_DATE_LABEL="Created Date"
|
||||||
COM_COMPONENTBUILDER_SNIPPET_DESCRIPTION="Description"
|
COM_COMPONENTBUILDER_SNIPPET_DESCRIPTION="Description"
|
||||||
COM_COMPONENTBUILDER_SNIPPET_DESCRIPTION_DESCRIPTION="Add Description Here"
|
COM_COMPONENTBUILDER_SNIPPET_DESCRIPTION_DESCRIPTION="Add Description Here"
|
||||||
COM_COMPONENTBUILDER_SNIPPET_DESCRIPTION_HINT="Add Description Here"
|
COM_COMPONENTBUILDER_SNIPPET_DESCRIPTION_HINT="Add Description Here"
|
||||||
@ -2832,6 +2895,10 @@ COM_COMPONENTBUILDER_SNIPPET_HEADING_LABEL="Heading"
|
|||||||
COM_COMPONENTBUILDER_SNIPPET_ID="Id"
|
COM_COMPONENTBUILDER_SNIPPET_ID="Id"
|
||||||
COM_COMPONENTBUILDER_SNIPPET_JAVASCRIPT="JavaScript"
|
COM_COMPONENTBUILDER_SNIPPET_JAVASCRIPT="JavaScript"
|
||||||
COM_COMPONENTBUILDER_SNIPPET_LAYOUT="Layout"
|
COM_COMPONENTBUILDER_SNIPPET_LAYOUT="Layout"
|
||||||
|
COM_COMPONENTBUILDER_SNIPPET_MODIFIED_BY_DESC="The last user that modified this Snippet."
|
||||||
|
COM_COMPONENTBUILDER_SNIPPET_MODIFIED_BY_LABEL="Modified By"
|
||||||
|
COM_COMPONENTBUILDER_SNIPPET_MODIFIED_DATE_DESC="The date this Snippet was modified."
|
||||||
|
COM_COMPONENTBUILDER_SNIPPET_MODIFIED_DATE_LABEL="Modified Date"
|
||||||
COM_COMPONENTBUILDER_SNIPPET_NAME="Name"
|
COM_COMPONENTBUILDER_SNIPPET_NAME="Name"
|
||||||
COM_COMPONENTBUILDER_SNIPPET_NAME_DESCRIPTION="Enter Name Here"
|
COM_COMPONENTBUILDER_SNIPPET_NAME_DESCRIPTION="Enter Name Here"
|
||||||
COM_COMPONENTBUILDER_SNIPPET_NAME_HINT="Name Here"
|
COM_COMPONENTBUILDER_SNIPPET_NAME_HINT="Name Here"
|
||||||
@ -2925,10 +2992,10 @@ COM_COMPONENTBUILDER_TEMPLATE_ALIAS="Alias"
|
|||||||
COM_COMPONENTBUILDER_TEMPLATE_ALIAS_DESCRIPTION="Add Name in Code Here"
|
COM_COMPONENTBUILDER_TEMPLATE_ALIAS_DESCRIPTION="Add Name in Code Here"
|
||||||
COM_COMPONENTBUILDER_TEMPLATE_ALIAS_HINT="codename"
|
COM_COMPONENTBUILDER_TEMPLATE_ALIAS_HINT="codename"
|
||||||
COM_COMPONENTBUILDER_TEMPLATE_ALIAS_LABEL="Name in Code"
|
COM_COMPONENTBUILDER_TEMPLATE_ALIAS_LABEL="Name in Code"
|
||||||
COM_COMPONENTBUILDER_TEMPLATE_CREATED_BY_DESC="The user that created the Template."
|
COM_COMPONENTBUILDER_TEMPLATE_CREATED_BY_DESC="The user that created this Template."
|
||||||
COM_COMPONENTBUILDER_TEMPLATE_CREATED_BY_LABEL="Created by"
|
COM_COMPONENTBUILDER_TEMPLATE_CREATED_BY_LABEL="Created By"
|
||||||
COM_COMPONENTBUILDER_TEMPLATE_CREATED_DATE_DESC="The date Template was created."
|
COM_COMPONENTBUILDER_TEMPLATE_CREATED_DATE_DESC="The date this Template was created."
|
||||||
COM_COMPONENTBUILDER_TEMPLATE_CREATED_DATE_LABEL="Created date"
|
COM_COMPONENTBUILDER_TEMPLATE_CREATED_DATE_LABEL="Created Date"
|
||||||
COM_COMPONENTBUILDER_TEMPLATE_CUSTOM_SCRIPT="Custom Script"
|
COM_COMPONENTBUILDER_TEMPLATE_CUSTOM_SCRIPT="Custom Script"
|
||||||
COM_COMPONENTBUILDER_TEMPLATE_DESCRIPTION="Description"
|
COM_COMPONENTBUILDER_TEMPLATE_DESCRIPTION="Description"
|
||||||
COM_COMPONENTBUILDER_TEMPLATE_DESCRIPTION_DESCRIPTION="Enter some description"
|
COM_COMPONENTBUILDER_TEMPLATE_DESCRIPTION_DESCRIPTION="Enter some description"
|
||||||
@ -2943,6 +3010,10 @@ COM_COMPONENTBUILDER_TEMPLATE_DYNAMIC_VALUES_LABEL="Dynamic Values"
|
|||||||
COM_COMPONENTBUILDER_TEMPLATE_EDIT="Editing the Template"
|
COM_COMPONENTBUILDER_TEMPLATE_EDIT="Editing the Template"
|
||||||
COM_COMPONENTBUILDER_TEMPLATE_ERROR_UNIQUE_ALIAS="Another Template has the same alias."
|
COM_COMPONENTBUILDER_TEMPLATE_ERROR_UNIQUE_ALIAS="Another Template has the same alias."
|
||||||
COM_COMPONENTBUILDER_TEMPLATE_ID="Id"
|
COM_COMPONENTBUILDER_TEMPLATE_ID="Id"
|
||||||
|
COM_COMPONENTBUILDER_TEMPLATE_MODIFIED_BY_DESC="The last user that modified this Template."
|
||||||
|
COM_COMPONENTBUILDER_TEMPLATE_MODIFIED_BY_LABEL="Modified By"
|
||||||
|
COM_COMPONENTBUILDER_TEMPLATE_MODIFIED_DATE_DESC="The date this Template was modified."
|
||||||
|
COM_COMPONENTBUILDER_TEMPLATE_MODIFIED_DATE_LABEL="Modified Date"
|
||||||
COM_COMPONENTBUILDER_TEMPLATE_NAME="Name"
|
COM_COMPONENTBUILDER_TEMPLATE_NAME="Name"
|
||||||
COM_COMPONENTBUILDER_TEMPLATE_NAME_DESCRIPTION="Enter Name Here"
|
COM_COMPONENTBUILDER_TEMPLATE_NAME_DESCRIPTION="Enter Name Here"
|
||||||
COM_COMPONENTBUILDER_TEMPLATE_NAME_HINT="Name Here"
|
COM_COMPONENTBUILDER_TEMPLATE_NAME_HINT="Name Here"
|
||||||
|
@ -10,8 +10,8 @@
|
|||||||
|_|
|
|_|
|
||||||
/-------------------------------------------------------------------------------------------------------------------------------/
|
/-------------------------------------------------------------------------------------------------------------------------------/
|
||||||
|
|
||||||
@version 2.1.8
|
@version 2.1.18
|
||||||
@build 7th May, 2016
|
@build 3rd September, 2016
|
||||||
@created 30th April, 2015
|
@created 30th April, 2015
|
||||||
@package Component Builder
|
@package Component Builder
|
||||||
@subpackage css_fullwidth.php
|
@subpackage css_fullwidth.php
|
||||||
|
@ -10,8 +10,8 @@
|
|||||||
|_|
|
|_|
|
||||||
/-------------------------------------------------------------------------------------------------------------------------------/
|
/-------------------------------------------------------------------------------------------------------------------------------/
|
||||||
|
|
||||||
@version 2.1.8
|
@version 2.1.18
|
||||||
@build 7th May, 2016
|
@build 3rd September, 2016
|
||||||
@created 30th April, 2015
|
@created 30th April, 2015
|
||||||
@package Component Builder
|
@package Component Builder
|
||||||
@subpackage custom_import_fullwidth.php
|
@subpackage custom_import_fullwidth.php
|
||||||
@ -34,6 +34,7 @@ $fields = $displayData->get('fields') ?: array(
|
|||||||
'note_beginner_import',
|
'note_beginner_import',
|
||||||
'note_advanced_import',
|
'note_advanced_import',
|
||||||
'add_custom_import',
|
'add_custom_import',
|
||||||
|
'php_import_display',
|
||||||
'html_import_view',
|
'html_import_view',
|
||||||
'php_import',
|
'php_import',
|
||||||
'php_import_setdata',
|
'php_import_setdata',
|
||||||
|
@ -10,8 +10,8 @@
|
|||||||
|_|
|
|_|
|
||||||
/-------------------------------------------------------------------------------------------------------------------------------/
|
/-------------------------------------------------------------------------------------------------------------------------------/
|
||||||
|
|
||||||
@version 2.1.8
|
@version 2.1.18
|
||||||
@build 7th May, 2016
|
@build 3rd September, 2016
|
||||||
@created 30th April, 2015
|
@created 30th April, 2015
|
||||||
@package Component Builder
|
@package Component Builder
|
||||||
@subpackage fields_fullwidth.php
|
@subpackage fields_fullwidth.php
|
||||||
@ -29,7 +29,7 @@
|
|||||||
defined('_JEXEC') or die('Restricted access');
|
defined('_JEXEC') or die('Restricted access');
|
||||||
|
|
||||||
// set the defaults
|
// set the defaults
|
||||||
$items = $displayData->vxefields;
|
$items = $displayData->vxgfields;
|
||||||
$user = JFactory::getUser();
|
$user = JFactory::getUser();
|
||||||
$id = $displayData->item->id;
|
$id = $displayData->item->id;
|
||||||
$edit = "index.php?option=com_componentbuilder&view=fields&task=field.edit";
|
$edit = "index.php?option=com_componentbuilder&view=fields&task=field.edit";
|
||||||
|
@ -10,8 +10,8 @@
|
|||||||
|_|
|
|_|
|
||||||
/-------------------------------------------------------------------------------------------------------------------------------/
|
/-------------------------------------------------------------------------------------------------------------------------------/
|
||||||
|
|
||||||
@version 2.1.8
|
@version 2.1.18
|
||||||
@build 7th May, 2016
|
@build 3rd September, 2016
|
||||||
@created 30th April, 2015
|
@created 30th April, 2015
|
||||||
@package Component Builder
|
@package Component Builder
|
||||||
@subpackage javascript_fullwidth.php
|
@subpackage javascript_fullwidth.php
|
||||||
|
@ -10,8 +10,8 @@
|
|||||||
|_|
|
|_|
|
||||||
/-------------------------------------------------------------------------------------------------------------------------------/
|
/-------------------------------------------------------------------------------------------------------------------------------/
|
||||||
|
|
||||||
@version 2.1.8
|
@version 2.1.18
|
||||||
@build 7th May, 2016
|
@build 3rd September, 2016
|
||||||
@created 30th April, 2015
|
@created 30th April, 2015
|
||||||
@package Component Builder
|
@package Component Builder
|
||||||
@subpackage mysql_fullwidth.php
|
@subpackage mysql_fullwidth.php
|
||||||
|
@ -10,8 +10,8 @@
|
|||||||
|_|
|
|_|
|
||||||
/-------------------------------------------------------------------------------------------------------------------------------/
|
/-------------------------------------------------------------------------------------------------------------------------------/
|
||||||
|
|
||||||
@version 2.1.8
|
@version 2.1.18
|
||||||
@build 7th May, 2016
|
@build 3rd September, 2016
|
||||||
@created 30th April, 2015
|
@created 30th April, 2015
|
||||||
@package Component Builder
|
@package Component Builder
|
||||||
@subpackage mysql_left.php
|
@subpackage mysql_left.php
|
||||||
|
@ -10,8 +10,8 @@
|
|||||||
|_|
|
|_|
|
||||||
/-------------------------------------------------------------------------------------------------------------------------------/
|
/-------------------------------------------------------------------------------------------------------------------------------/
|
||||||
|
|
||||||
@version 2.1.8
|
@version 2.1.18
|
||||||
@build 7th May, 2016
|
@build 3rd September, 2016
|
||||||
@created 30th April, 2015
|
@created 30th April, 2015
|
||||||
@package Component Builder
|
@package Component Builder
|
||||||
@subpackage php_fullwidth.php
|
@subpackage php_fullwidth.php
|
||||||
@ -38,6 +38,8 @@ $fields = $displayData->get('fields') ?: array(
|
|||||||
'php_getitem',
|
'php_getitem',
|
||||||
'add_php_getitems',
|
'add_php_getitems',
|
||||||
'php_getitems',
|
'php_getitems',
|
||||||
|
'add_php_getitems_after_all',
|
||||||
|
'php_getitems_after_all',
|
||||||
'add_php_getlistquery',
|
'add_php_getlistquery',
|
||||||
'php_getlistquery',
|
'php_getlistquery',
|
||||||
'add_php_save',
|
'add_php_save',
|
||||||
|
Some files were not shown because too many files have changed in this diff Show More
Reference in New Issue
Block a user