Added email helper class.

This commit is contained in:
2016-06-03 07:28:32 +01:00
parent 5cd07f3b88
commit d82d4aeb22
370 changed files with 1366 additions and 1324 deletions

View File

@ -10,8 +10,8 @@
|_|
/-------------------------------------------------------------------------------------------------------------------------------/
@version 2.1.11
@build 2nd June, 2016
@version 2.1.12
@build 3rd June, 2016
@created 30th April, 2015
@package Component Builder
@subpackage admin_view.php

View File

@ -10,8 +10,8 @@
|_|
/-------------------------------------------------------------------------------------------------------------------------------/
@version 2.1.11
@build 2nd June, 2016
@version 2.1.12
@build 3rd June, 2016
@created 30th April, 2015
@package Component Builder
@subpackage admin_views.php
@ -218,6 +218,8 @@ class ComponentbuilderModelAdmin_views extends JModelList
// setup the query
if (ComponentbuilderHelper::checkArray($pks))
{
// Set a value to know this is exporting method.
$_export = true;
// Get the user object.
$user = JFactory::getUser();
// Create a new query object.

View File

@ -10,8 +10,8 @@
|_|
/-------------------------------------------------------------------------------------------------------------------------------/
@version 2.1.11
@build 2nd June, 2016
@version 2.1.12
@build 3rd June, 2016
@created 30th April, 2015
@package Component Builder
@subpackage ajax.php

View File

@ -10,8 +10,8 @@
|_|
/-------------------------------------------------------------------------------------------------------------------------------/
@version 2.1.11
@build 2nd June, 2016
@version 2.1.12
@build 3rd June, 2016
@created 30th April, 2015
@package Component Builder
@subpackage compiler.php

View File

@ -10,8 +10,8 @@
|_|
/-------------------------------------------------------------------------------------------------------------------------------/
@version 2.1.11
@build 2nd June, 2016
@version 2.1.12
@build 3rd June, 2016
@created 30th April, 2015
@package Component Builder
@subpackage component.php
@ -96,24 +96,18 @@ class ComponentbuilderModelComponent extends JModelAdmin
$item->metadata = $registry->toArray();
}
if (!empty($item->php_site_event))
{
// base64 Decode php_site_event.
$item->php_site_event = base64_decode($item->php_site_event);
}
if (!empty($item->css))
{
// base64 Decode css.
$item->css = base64_decode($item->css);
}
if (!empty($item->php_admin_event))
{
// base64 Decode php_admin_event.
$item->php_admin_event = base64_decode($item->php_admin_event);
}
if (!empty($item->php_site_event))
{
// base64 Decode php_site_event.
$item->php_site_event = base64_decode($item->php_site_event);
}
if (!empty($item->php_dashboard_methods))
{
// base64 Decode php_dashboard_methods.
@ -138,6 +132,12 @@ class ComponentbuilderModelComponent extends JModelAdmin
$item->sql = base64_decode($item->sql);
}
if (!empty($item->css))
{
// base64 Decode css.
$item->css = base64_decode($item->css);
}
if (!empty($item->readme))
{
// base64 Decode readme.
@ -1048,24 +1048,18 @@ class ComponentbuilderModelComponent extends JModelAdmin
$data['metadata'] = (string) $metadata;
}
// Set the php_site_event string to base64 string.
if (isset($data['php_site_event']))
{
$data['php_site_event'] = base64_encode($data['php_site_event']);
}
// Set the css string to base64 string.
if (isset($data['css']))
{
$data['css'] = base64_encode($data['css']);
}
// Set the php_admin_event string to base64 string.
if (isset($data['php_admin_event']))
{
$data['php_admin_event'] = base64_encode($data['php_admin_event']);
}
// Set the php_site_event string to base64 string.
if (isset($data['php_site_event']))
{
$data['php_site_event'] = base64_encode($data['php_site_event']);
}
// Set the php_dashboard_methods string to base64 string.
if (isset($data['php_dashboard_methods']))
{
@ -1090,6 +1084,12 @@ class ComponentbuilderModelComponent extends JModelAdmin
$data['sql'] = base64_encode($data['sql']);
}
// Set the css string to base64 string.
if (isset($data['css']))
{
$data['css'] = base64_encode($data['css']);
}
// Set the readme string to base64 string.
if (isset($data['readme']))
{

View File

@ -10,8 +10,8 @@
|_|
/-------------------------------------------------------------------------------------------------------------------------------/
@version 2.1.11
@build 2nd June, 2016
@version 2.1.12
@build 3rd June, 2016
@created 30th April, 2015
@package Component Builder
@subpackage componentbuilder.php

View File

@ -10,8 +10,8 @@
|_|
/-------------------------------------------------------------------------------------------------------------------------------/
@version 2.1.11
@build 2nd June, 2016
@version 2.1.12
@build 3rd June, 2016
@created 30th April, 2015
@package Component Builder
@subpackage components.php
@ -219,6 +219,8 @@ class ComponentbuilderModelComponents extends JModelList
// setup the query
if (ComponentbuilderHelper::checkArray($pks))
{
// Set a value to know this is exporting method.
$_export = true;
// Get the user object.
$user = JFactory::getUser();
// Create a new query object.
@ -258,17 +260,15 @@ class ComponentbuilderModelComponents extends JModelList
{
foreach ($items as $nr => &$item)
{
// decode php_site_event
$item->php_site_event = base64_decode($item->php_site_event);
// decode css
$item->css = base64_decode($item->css);
// decode php_admin_event
$item->php_admin_event = base64_decode($item->php_admin_event);
if ($basickey && !is_numeric($item->update_server_ftp) && $item->update_server_ftp === base64_encode(base64_decode($item->update_server_ftp, true)))
{
// decrypt update_server_ftp
$item->update_server_ftp = $basic->decryptString($item->update_server_ftp);
}
// decode php_admin_event
$item->php_admin_event = base64_decode($item->php_admin_event);
// decode php_site_event
$item->php_site_event = base64_decode($item->php_site_event);
// decode php_dashboard_methods
$item->php_dashboard_methods = base64_decode($item->php_dashboard_methods);
// decode php_helper_admin
@ -282,6 +282,8 @@ class ComponentbuilderModelComponents extends JModelList
// decrypt whmcs_key
$item->whmcs_key = $basic->decryptString($item->whmcs_key);
}
// decode css
$item->css = base64_decode($item->css);
// decode readme
$item->readme = base64_decode($item->readme);
if ($basickey && !is_numeric($item->sales_server_ftp) && $item->sales_server_ftp === base64_encode(base64_decode($item->sales_server_ftp, true)))

View File

@ -10,8 +10,8 @@
|_|
/-------------------------------------------------------------------------------------------------------------------------------/
@version 2.1.11
@build 2nd June, 2016
@version 2.1.12
@build 3rd June, 2016
@created 30th April, 2015
@package Component Builder
@subpackage custom_admin_view.php

View File

@ -10,8 +10,8 @@
|_|
/-------------------------------------------------------------------------------------------------------------------------------/
@version 2.1.11
@build 2nd June, 2016
@version 2.1.12
@build 3rd June, 2016
@created 30th April, 2015
@package Component Builder
@subpackage custom_admin_views.php
@ -222,6 +222,8 @@ class ComponentbuilderModelCustom_admin_views extends JModelList
// setup the query
if (ComponentbuilderHelper::checkArray($pks))
{
// Set a value to know this is exporting method.
$_export = true;
// Get the user object.
$user = JFactory::getUser();
// Create a new query object.

View File

@ -10,8 +10,8 @@
|_|
/-------------------------------------------------------------------------------------------------------------------------------/
@version 2.1.11
@build 2nd June, 2016
@version 2.1.12
@build 3rd June, 2016
@created 30th April, 2015
@package Component Builder
@subpackage dynamic_get.php

View File

@ -10,8 +10,8 @@
|_|
/-------------------------------------------------------------------------------------------------------------------------------/
@version 2.1.11
@build 2nd June, 2016
@version 2.1.12
@build 3rd June, 2016
@created 30th April, 2015
@package Component Builder
@subpackage dynamic_gets.php
@ -277,6 +277,8 @@ class ComponentbuilderModelDynamic_gets extends JModelList
// setup the query
if (ComponentbuilderHelper::checkArray($pks))
{
// Set a value to know this is exporting method.
$_export = true;
// Get the user object.
$user = JFactory::getUser();
// Create a new query object.

View File

@ -10,8 +10,8 @@
|_|
/-------------------------------------------------------------------------------------------------------------------------------/
@version 2.1.11
@build 2nd June, 2016
@version 2.1.12
@build 3rd June, 2016
@created 30th April, 2015
@package Component Builder
@subpackage field.php

View File

@ -10,8 +10,8 @@
|_|
/-------------------------------------------------------------------------------------------------------------------------------/
@version 2.1.11
@build 2nd June, 2016
@version 2.1.12
@build 3rd June, 2016
@created 30th April, 2015
@package Component Builder
@subpackage fields.php
@ -386,6 +386,8 @@ class ComponentbuilderModelFields extends JModelList
// setup the query
if (ComponentbuilderHelper::checkArray($pks))
{
// Set a value to know this is exporting method.
$_export = true;
// Get the user object.
$user = JFactory::getUser();
// Create a new query object.

View File

@ -10,8 +10,8 @@
|_|
/-------------------------------------------------------------------------------------------------------------------------------/
@version 2.1.11
@build 2nd June, 2016
@version 2.1.12
@build 3rd June, 2016
@created 30th April, 2015
@package Component Builder
@subpackage adminviews.php

View File

@ -10,8 +10,8 @@
|_|
/-------------------------------------------------------------------------------------------------------------------------------/
@version 2.1.11
@build 2nd June, 2016
@version 2.1.12
@build 3rd June, 2016
@created 30th April, 2015
@package Component Builder
@subpackage articles.php

View File

@ -10,8 +10,8 @@
|_|
/-------------------------------------------------------------------------------------------------------------------------------/
@version 2.1.11
@build 2nd June, 2016
@version 2.1.12
@build 3rd June, 2016
@created 30th April, 2015
@package Component Builder
@subpackage customadminviews.php

View File

@ -10,8 +10,8 @@
|_|
/-------------------------------------------------------------------------------------------------------------------------------/
@version 2.1.11
@build 2nd June, 2016
@version 2.1.12
@build 3rd June, 2016
@created 30th April, 2015
@package Component Builder
@subpackage customfilelist.php

View File

@ -10,8 +10,8 @@
|_|
/-------------------------------------------------------------------------------------------------------------------------------/
@version 2.1.11
@build 2nd June, 2016
@version 2.1.12
@build 3rd June, 2016
@created 30th April, 2015
@package Component Builder
@subpackage customfolderlist.php

View File

@ -10,8 +10,8 @@
|_|
/-------------------------------------------------------------------------------------------------------------------------------/
@version 2.1.11
@build 2nd June, 2016
@version 2.1.12
@build 3rd June, 2016
@created 30th April, 2015
@package Component Builder
@subpackage customgets.php

View File

@ -10,8 +10,8 @@
|_|
/-------------------------------------------------------------------------------------------------------------------------------/
@version 2.1.11
@build 2nd June, 2016
@version 2.1.12
@build 3rd June, 2016
@created 30th April, 2015
@package Component Builder
@subpackage dbtables.php

View File

@ -10,8 +10,8 @@
|_|
/-------------------------------------------------------------------------------------------------------------------------------/
@version 2.1.11
@build 2nd June, 2016
@version 2.1.12
@build 3rd June, 2016
@created 30th April, 2015
@package Component Builder
@subpackage dynamicgets.php

View File

@ -10,8 +10,8 @@
|_|
/-------------------------------------------------------------------------------------------------------------------------------/
@version 2.1.11
@build 2nd June, 2016
@version 2.1.12
@build 3rd June, 2016
@created 30th April, 2015
@package Component Builder
@subpackage fields.php

View File

@ -10,8 +10,8 @@
|_|
/-------------------------------------------------------------------------------------------------------------------------------/
@version 2.1.11
@build 2nd June, 2016
@version 2.1.12
@build 3rd June, 2016
@created 30th April, 2015
@package Component Builder
@subpackage fieldsmulti.php

View File

@ -10,8 +10,8 @@
|_|
/-------------------------------------------------------------------------------------------------------------------------------/
@version 2.1.11
@build 2nd June, 2016
@version 2.1.12
@build 3rd June, 2016
@created 30th April, 2015
@package Component Builder
@subpackage fieldtypes.php

View File

@ -10,8 +10,8 @@
|_|
/-------------------------------------------------------------------------------------------------------------------------------/
@version 2.1.11
@build 2nd June, 2016
@version 2.1.12
@build 3rd June, 2016
@created 30th April, 2015
@package Component Builder
@subpackage maingets.php

View File

@ -10,8 +10,8 @@
|_|
/-------------------------------------------------------------------------------------------------------------------------------/
@version 2.1.11
@build 2nd June, 2016
@version 2.1.12
@build 3rd June, 2016
@created 30th April, 2015
@package Component Builder
@subpackage siteviews.php

View File

@ -10,8 +10,8 @@
|_|
/-------------------------------------------------------------------------------------------------------------------------------/
@version 2.1.11
@build 2nd June, 2016
@version 2.1.12
@build 3rd June, 2016
@created 30th April, 2015
@package Component Builder
@subpackage snippets.php

View File

@ -10,8 +10,8 @@
|_|
/-------------------------------------------------------------------------------------------------------------------------------/
@version 2.1.11
@build 2nd June, 2016
@version 2.1.12
@build 3rd June, 2016
@created 30th April, 2015
@package Component Builder
@subpackage fieldtype.php

View File

@ -10,8 +10,8 @@
|_|
/-------------------------------------------------------------------------------------------------------------------------------/
@version 2.1.11
@build 2nd June, 2016
@version 2.1.12
@build 3rd June, 2016
@created 30th April, 2015
@package Component Builder
@subpackage fieldtypes.php
@ -246,6 +246,8 @@ class ComponentbuilderModelFieldtypes extends JModelList
// setup the query
if (ComponentbuilderHelper::checkArray($pks))
{
// Set a value to know this is exporting method.
$_export = true;
// Get the user object.
$user = JFactory::getUser();
// Create a new query object.

View File

@ -9,8 +9,8 @@
|_|
/-------------------------------------------------------------------------------------------------------------------------------/
@version 2.1.11
@build 2nd June, 2016
@version 2.1.12
@build 3rd June, 2016
@created 30th April, 2015
@package Component Builder
@subpackage admin_view.js

View File

@ -9,8 +9,8 @@
|_|
/-------------------------------------------------------------------------------------------------------------------------------/
@version 2.1.11
@build 2nd June, 2016
@version 2.1.12
@build 3rd June, 2016
@created 30th April, 2015
@package Component Builder
@subpackage component.js

File diff suppressed because it is too large Load Diff

View File

@ -9,8 +9,8 @@
|_|
/-------------------------------------------------------------------------------------------------------------------------------/
@version 2.1.11
@build 2nd June, 2016
@version 2.1.12
@build 3rd June, 2016
@created 30th April, 2015
@package Component Builder
@subpackage custom_admin_view.js

View File

@ -9,8 +9,8 @@
|_|
/-------------------------------------------------------------------------------------------------------------------------------/
@version 2.1.11
@build 2nd June, 2016
@version 2.1.12
@build 3rd June, 2016
@created 30th April, 2015
@package Component Builder
@subpackage dynamic_get.js

View File

@ -9,8 +9,8 @@
|_|
/-------------------------------------------------------------------------------------------------------------------------------/
@version 2.1.11
@build 2nd June, 2016
@version 2.1.12
@build 3rd June, 2016
@created 30th April, 2015
@package Component Builder
@subpackage field.js

View File

@ -9,8 +9,8 @@
|_|
/-------------------------------------------------------------------------------------------------------------------------------/
@version 2.1.11
@build 2nd June, 2016
@version 2.1.12
@build 3rd June, 2016
@created 30th April, 2015
@package Component Builder
@subpackage fieldtype.js

View File

@ -9,8 +9,8 @@
|_|
/-------------------------------------------------------------------------------------------------------------------------------/
@version 2.1.11
@build 2nd June, 2016
@version 2.1.12
@build 3rd June, 2016
@created 30th April, 2015
@package Component Builder
@subpackage help_document.js

View File

@ -9,8 +9,8 @@
|_|
/-------------------------------------------------------------------------------------------------------------------------------/
@version 2.1.11
@build 2nd June, 2016
@version 2.1.12
@build 3rd June, 2016
@created 30th April, 2015
@package Component Builder
@subpackage layout.js

View File

@ -9,8 +9,8 @@
|_|
/-------------------------------------------------------------------------------------------------------------------------------/
@version 2.1.11
@build 2nd June, 2016
@version 2.1.12
@build 3rd June, 2016
@created 30th April, 2015
@package Component Builder
@subpackage site_view.js

View File

@ -9,8 +9,8 @@
|_|
/-------------------------------------------------------------------------------------------------------------------------------/
@version 2.1.11
@build 2nd June, 2016
@version 2.1.12
@build 3rd June, 2016
@created 30th April, 2015
@package Component Builder
@subpackage snippet.js

View File

@ -9,8 +9,8 @@
|_|
/-------------------------------------------------------------------------------------------------------------------------------/
@version 2.1.11
@build 2nd June, 2016
@version 2.1.12
@build 3rd June, 2016
@created 30th April, 2015
@package Component Builder
@subpackage template.js

View File

@ -10,8 +10,8 @@
|_|
/-------------------------------------------------------------------------------------------------------------------------------/
@version 2.1.11
@build 2nd June, 2016
@version 2.1.12
@build 3rd June, 2016
@created 30th April, 2015
@package Component Builder
@subpackage help_document.php

View File

@ -10,8 +10,8 @@
|_|
/-------------------------------------------------------------------------------------------------------------------------------/
@version 2.1.11
@build 2nd June, 2016
@version 2.1.12
@build 3rd June, 2016
@created 30th April, 2015
@package Component Builder
@subpackage help_documents.php
@ -298,6 +298,8 @@ class ComponentbuilderModelHelp_documents extends JModelList
// setup the query
if (ComponentbuilderHelper::checkArray($pks))
{
// Set a value to know this is exporting method.
$_export = true;
// Get the user object.
$user = JFactory::getUser();
// Create a new query object.

View File

@ -10,8 +10,8 @@
|_|
/-------------------------------------------------------------------------------------------------------------------------------/
@version 2.1.11
@build 2nd June, 2016
@version 2.1.12
@build 3rd June, 2016
@created 30th April, 2015
@package Component Builder
@subpackage import.php

View File

@ -10,8 +10,8 @@
|_|
/-------------------------------------------------------------------------------------------------------------------------------/
@version 2.1.11
@build 2nd June, 2016
@version 2.1.12
@build 3rd June, 2016
@created 30th April, 2015
@package Component Builder
@subpackage layout.php

View File

@ -10,8 +10,8 @@
|_|
/-------------------------------------------------------------------------------------------------------------------------------/
@version 2.1.11
@build 2nd June, 2016
@version 2.1.12
@build 3rd June, 2016
@created 30th April, 2015
@package Component Builder
@subpackage layouts.php
@ -227,6 +227,8 @@ class ComponentbuilderModelLayouts extends JModelList
// setup the query
if (ComponentbuilderHelper::checkArray($pks))
{
// Set a value to know this is exporting method.
$_export = true;
// Get the user object.
$user = JFactory::getUser();
// Create a new query object.

View File

@ -10,8 +10,8 @@
|_|
/-------------------------------------------------------------------------------------------------------------------------------/
@version 2.1.11
@build 2nd June, 2016
@version 2.1.12
@build 3rd June, 2016
@created 30th April, 2015
@package Component Builder
@subpackage site_view.php

View File

@ -10,8 +10,8 @@
|_|
/-------------------------------------------------------------------------------------------------------------------------------/
@version 2.1.11
@build 2nd June, 2016
@version 2.1.12
@build 3rd June, 2016
@created 30th April, 2015
@package Component Builder
@subpackage site_views.php
@ -222,6 +222,8 @@ class ComponentbuilderModelSite_views extends JModelList
// setup the query
if (ComponentbuilderHelper::checkArray($pks))
{
// Set a value to know this is exporting method.
$_export = true;
// Get the user object.
$user = JFactory::getUser();
// Create a new query object.

View File

@ -10,8 +10,8 @@
|_|
/-------------------------------------------------------------------------------------------------------------------------------/
@version 2.1.11
@build 2nd June, 2016
@version 2.1.12
@build 3rd June, 2016
@created 30th April, 2015
@package Component Builder
@subpackage snippet.php

View File

@ -10,8 +10,8 @@
|_|
/-------------------------------------------------------------------------------------------------------------------------------/
@version 2.1.11
@build 2nd June, 2016
@version 2.1.12
@build 3rd June, 2016
@created 30th April, 2015
@package Component Builder
@subpackage snippets.php
@ -261,6 +261,8 @@ class ComponentbuilderModelSnippets extends JModelList
// setup the query
if (ComponentbuilderHelper::checkArray($pks))
{
// Set a value to know this is exporting method.
$_export = true;
// Get the user object.
$user = JFactory::getUser();
// Create a new query object.

View File

@ -10,8 +10,8 @@
|_|
/-------------------------------------------------------------------------------------------------------------------------------/
@version 2.1.11
@build 2nd June, 2016
@version 2.1.12
@build 3rd June, 2016
@created 30th April, 2015
@package Component Builder
@subpackage template.php

View File

@ -10,8 +10,8 @@
|_|
/-------------------------------------------------------------------------------------------------------------------------------/
@version 2.1.11
@build 2nd June, 2016
@version 2.1.12
@build 3rd June, 2016
@created 30th April, 2015
@package Component Builder
@subpackage templates.php
@ -218,6 +218,8 @@ class ComponentbuilderModelTemplates extends JModelList
// setup the query
if (ComponentbuilderHelper::checkArray($pks))
{
// Set a value to know this is exporting method.
$_export = true;
// Get the user object.
$user = JFactory::getUser();
// Create a new query object.