Compare commits

...

4 Commits
5.x ... 4.x

Author SHA1 Message Date
Robot 27ec4c3db9
Release of v4.0.0-beta2
First release of Sermon Distributor towards Joomla 4. Add PHP check to install/update class. Add Database check and fix to install/update class.
2024-05-03 07:40:58 +02:00
Robot 287a068ed8
Update on v4.0.0-beta1 (beta for next version)
Here's an update on the current version, which includes changes towards the next release still in beta.
2024-03-07 20:32:14 +02:00
Robot dd67d888d6
Release of v4.0.0-beta1 2024-03-07 19:27:37 +02:00
Llewellyn van der Merwe 07e702bf36
Update octojpack config for J4. 2024-03-07 18:50:35 +02:00
375 changed files with 3908 additions and 831 deletions

View File

@ -9,8 +9,8 @@
"name": "PKG_SERMONDISTRIBUTOR", "name": "PKG_SERMONDISTRIBUTOR",
"code_name": "sermondistributor", "code_name": "sermondistributor",
"package_name": "pkg_sermondistributor", "package_name": "pkg_sermondistributor",
"min_joomla_version": "4.3", "min_joomla_version": "4.0",
"max_joomla_version": "5.1", "max_joomla_version": "4.4",
"copyright": "Copyright (C) 2015 Llewellyn van der Merwe. All rights reserved.", "copyright": "Copyright (C) 2015 Llewellyn van der Merwe. All rights reserved.",
"copyright_year": "2015", "copyright_year": "2015",
"license": "GNU General Public License version 2; see LICENSE", "license": "GNU General Public License version 2; see LICENSE",
@ -20,12 +20,12 @@
"author_url": "https://io.vdm.dev/", "author_url": "https://io.vdm.dev/",
"description": "The Sermon Distributor.", "description": "The Sermon Distributor.",
"version_id": "com_sermondistributor", "version_id": "com_sermondistributor",
"update_servers": "https://git.vdm.dev/christian/Joomla-Sermon-Distributor/raw/branch/5.0/sermondistributor_update_server.xml" "update_servers": "https://git.vdm.dev/christian/Joomla-Sermon-Distributor/raw/branch/4.x/sermondistributor_update_server.xml"
}, },
"repository": { "repository": {
"owner": "christian", "owner": "christian",
"repo": "pkg-sermondistributor", "repo": "pkg-sermondistributor",
"branch": "5.0" "branch": "4.x"
}, },
"files": [ "files": [
{ {
@ -33,7 +33,7 @@
"repo": "Joomla-Sermon-Distributor", "repo": "Joomla-Sermon-Distributor",
"id": "com_sermondistributor", "id": "com_sermondistributor",
"type": "component", "type": "component",
"mode": "5.0" "mode": "4.x"
}, },
{ {
"owner": "getBible", "owner": "getBible",

View File

@ -1,11 +1,10 @@
# v5.0.0-beta1 # v4.0.0-beta2
- First release of [[[Component]]] towards Joomla 5 - First release of Sermon Distributor towards Joomla 4
- Add PHP check to install/update class
- Add Database check and fix to install/update class
# v3.0.3 # v3.0.5
- Removed the not_required field from the sermon model. #36 - Add PHP check to install/update class
- Add Database check and fix to install/update class
# v3.0.2
- Add the HTML class to the site default layout.

View File

@ -1,4 +1,4 @@
# Sermon Distributor (5.0.x) # Sermon Distributor (4.0.x)
![Sermon Distributor image](https://git.vdm.dev/christian/Joomla-Sermon-Distributor/raw/branch/master/admin/assets/images/vdm-component.jpg "The Sermon Distributor") ![Sermon Distributor image](https://git.vdm.dev/christian/Joomla-Sermon-Distributor/raw/branch/master/admin/assets/images/vdm-component.jpg "The Sermon Distributor")
@ -24,38 +24,38 @@ The best way to see all your options is to install this component on you Joomla
+ *Author*: [Llewellyn van der Merwe](mailto:joomla@vdm.io) + *Author*: [Llewellyn van der Merwe](mailto:joomla@vdm.io)
+ *Name*: [Sermon Distributor](https://www.vdm.io/) + *Name*: [Sermon Distributor](https://www.vdm.io/)
+ *First Build*: 22nd October, 2015 + *First Build*: 22nd October, 2015
+ *Last Build*: 2nd March, 2024 + *Last Build*: 3rd May, 2024
+ *Version*: 5.0.x + *Version*: 4.0.x
+ *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
## Build Time :hourglass: ## Build Time :hourglass:
**245 Hours** or **31 Eight Hour Days** (actual time the author saved - **262 Hours** or **33 Eight Hour Days** (actual time the author saved -
due to [Automated Component Builder](https://www.joomlacomponentbuilder.com)) due to [Automated Component Builder](https://www.joomlacomponentbuilder.com))
> (if creating a folder and file took **5 seconds** and writing one line of code took **10 seconds**, > (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.) > never making one mistake or taking any coffee break.)
+ *Line count*: **87679** + *Line count*: **94117**
+ *File count*: **575** + *File count*: **601**
+ *Folder count*: **120** + *Folder count*: **124**
**161 Hours** or **20 Eight Hour Days** (the actual time the author spent) **174 Hours** or **22 Eight Hour Days** (the actual time the author spent)
> (with the following break down: > (with the following break down:
> **debugging @61hours** = codingtime / 4; > **debugging @66hours** = codingtime / 4;
> **planning @35hours** = codingtime / 7; > **planning @37hours** = codingtime / 7;
> **mapping @24hours** = codingtime / 10; > **mapping @26hours** = codingtime / 10;
> **office @41hours** = codingtime / 6;) > **office @44hours** = codingtime / 6;)
**406 Hours** or **51 Eight Hour Days** **436 Hours** or **55 Eight Hour Days**
(a total of the realistic time frame for this project) (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**, > (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.) > with the normal everyday realities at the office, that includes the component planning, mapping & debugging.)
Project duration: **10.2 weeks** or **2.1 months** Project duration: **11 weeks** or **2.3 months**
> This **component** was build with a Joomla [Automated Component Builder](https://www.joomlacomponentbuilder.com). > This **component** was build with a Joomla [Automated Component Builder](https://www.joomlacomponentbuilder.com).
> Developed by [Llewellyn van der Merwe](mailto:joomla@vdm.io) > Developed by [Llewellyn van der Merwe](mailto:joomla@vdm.io)

View File

@ -10,7 +10,7 @@
/------------------------------------------------------------------------------------------------------------------------------------/ /------------------------------------------------------------------------------------------------------------------------------------/
@version 5.0.x @version 4.0.x
@created 22nd October, 2015 @created 22nd October, 2015
@package Sermon Distributor @package Sermon Distributor
@subpackage SermondistributorInstallerScript.php @subpackage SermondistributorInstallerScript.php
@ -33,6 +33,7 @@ use Joomla\CMS\Version;
use Joomla\CMS\HTML\HTMLHelper as Html; use Joomla\CMS\HTML\HTMLHelper as Html;
use Joomla\Filesystem\Folder; use Joomla\Filesystem\Folder;
use Joomla\Database\DatabaseInterface; use Joomla\Database\DatabaseInterface;
use TrueChristianChurch\Joomla\SermonDistributor\Table\Schema;
// No direct access to this file // No direct access to this file
defined('_JEXEC') or die; defined('_JEXEC') or die;
@ -300,11 +301,17 @@ class Com_SermondistributorInstallerScript implements InstallerScriptInterface
// do any updates needed // do any updates needed
if ($type === 'update') if ($type === 'update')
{ {
// Check that the required configuration are set for PHP
$this->phpConfigurationCheck($this->app);
} }
// do any install needed // do any install needed
if ($type === 'install') if ($type === 'install')
{ {
// Check that the required configuration are set for PHP
$this->phpConfigurationCheck($this->app);
} }
return true; return true;
@ -480,6 +487,10 @@ class Com_SermondistributorInstallerScript implements InstallerScriptInterface
); );
// Check that the database is up-to date
$this->databaseSchemaCheck($this->app);
echo '<div style="background-color: #fff;" class="alert alert-info"><a target="_blank" href="https://www.vdm.io/" title="Sermon Distributor"> echo '<div style="background-color: #fff;" class="alert alert-info"><a target="_blank" href="https://www.vdm.io/" title="Sermon Distributor">
<img src="components/com_sermondistributor/assets/images/vdm-component.jpg"/> <img src="components/com_sermondistributor/assets/images/vdm-component.jpg"/>
</a></div>'; </a></div>';
@ -743,10 +754,14 @@ class Com_SermondistributorInstallerScript implements InstallerScriptInterface
// Check that the database is up-to date
$this->databaseSchemaCheck($this->app);
echo '<div style="background-color: #fff;" class="alert alert-info"><a target="_blank" href="https://www.vdm.io/" title="Sermon Distributor"> echo '<div style="background-color: #fff;" class="alert alert-info"><a target="_blank" href="https://www.vdm.io/" title="Sermon Distributor">
<img src="components/com_sermondistributor/assets/images/vdm-component.jpg"/> <img src="components/com_sermondistributor/assets/images/vdm-component.jpg"/>
</a> </a>
<h3>Upgrade to Version 5.0.0-beta1 Was Successful! Let us know if anything is not working as expected.</h3></div>'; <h3>Upgrade to Version 4.0.0-beta2 Was Successful! Let us know if anything is not working as expected.</h3></div>';
// Add/Update component in the action logs extensions table. // Add/Update component in the action logs extensions table.
$this->setActionLogsExtensions(); $this->setActionLogsExtensions();
@ -1691,6 +1706,174 @@ class Com_SermondistributorInstallerScript implements InstallerScriptInterface
} }
} }
/**
* Define the required limits with specific messages for success and warning scenarios
*
* @var array
* @since 3.0.5
*/
protected array $requiredPHPConfigs = [
'upload_max_filesize' => [
'value' => '64M',
'success' => 'The upload_max_filesize is appropriately set to handle large files, which is essential for uploading substantial components and media.',
'warning' => 'The current upload_max_filesize may not support large file uploads effectively, potentially causing failures during component installation.'
],
'post_max_size' => [
'value' => '128M',
'success' => 'The post_max_size setting is sufficient to manage large data submissions, ensuring smooth data processing within forms and uploads.',
'warning' => 'An insufficient post_max_size can lead to truncated data submissions, affecting form functionality and data integrity.'
],
'max_execution_time' => [
'value' => 60,
'success' => 'Max execution time is set high enough to execute complex operations without premature termination, which is crucial for lengthy operations.',
'warning' => 'A low max execution time could lead to script timeouts, especially during intensive operations, which might interrupt execution and cause failures during the compiling of a large extension.'
],
'max_input_vars' => [
'value' => 5000,
'success' => 'The max_input_vars setting supports a high number of input variables, facilitating complex forms and detailed component configurations.',
'warning' => 'Too few max_input_vars may result in lost data during processing complex forms, which can lead to incomplete configurations and operational issues.'
],
'max_input_time' => [
'value' => 60,
'success' => 'Max input time is adequate for processing inputs efficiently during high-load operations, ensuring no premature timeouts.',
'warning' => 'An insufficient max input time could result in incomplete data processing during input-heavy operations, potentially leading to errors and data loss.'
],
'memory_limit' => [
'value' => '256M',
'success' => 'The memory limit is set high to accommodate extensive operations and data processing, which enhances overall performance and stability.',
'warning' => 'A low memory limit can lead to frequent crashes and performance issues, particularly when processing large amounts of data or complex calculations.'
]
];
/**
* Helper function to convert PHP INI memory values to bytes
*
* @param string $value The value to convert
*
* @return int The bytes value
* @since 3.0.5
*/
protected function convertToBytes(string $value): int
{
$value = trim($value);
$lastChar = strtolower($value[strlen($value) - 1]);
$numValue = substr($value, 0, -1);
switch ($lastChar)
{
case 'g':
return $numValue * 1024 * 1024 * 1024;
case 'm':
return $numValue * 1024 * 1024;
case 'k':
return $numValue * 1024;
default:
return (int) $value;
}
}
/**
* Check that the required configurations are set for PHP
*
* @param $app The application
*
* @return void
* @since 3.0.5
*/
protected function phpConfigurationCheck($app): void
{
$showHelp = false;
// Check each configuration and provide detailed feedback
foreach ($this->requiredPHPConfigs as $configName => $configDetails)
{
$currentValue = ini_get($configName);
if ($currentValue === false)
{
$app->enqueueMessage("Error: Unable to retrieve current setting for '{$configName}'.", 'error');
continue;
}
$isMemoryValue = strpbrk($configDetails['value'], 'KMG') !== false;
$requiredValueBytes = $isMemoryValue ? $this->convertToBytes($configDetails['value']) : (int) $configDetails['value'];
$currentValueBytes = $isMemoryValue ? $this->convertToBytes($currentValue) : (int) $currentValue;
$conditionMet = $currentValueBytes >= $requiredValueBytes;
$messageType = $conditionMet ? 'message' : 'warning';
$messageText = $conditionMet ?
"Success: {$configName} is set to {$currentValue}. " . $configDetails['success'] :
"Warning: {$configName} configuration should be at least {$configDetails['value']} but is currently {$currentValue}. " . $configDetails['warning'];
$showHelp = ($showHelp || $messageType === 'warning') ? true : false;
$app->enqueueMessage($messageText, $messageType);
}
if ($showHelp)
{
$app->enqueueMessage('To optimize your Sermon Distributor environment, specific PHP settings must be enhanced.<br>These settings are crucial for ensuring the successful installation and stable functionality of the extension.<br>We\'ve identified that certain configurations currently do not meet the recommended standards.<br>To adjust these settings and prevent potential issues, please consult our detailed guide available at <a href="https://git.vdm.dev/christian/Joomla-Sermon-Distributor/wiki/PHP-Settings" target="_blank">Sermon Distributor PHP Settings Wiki</a>.
', 'notice');
}
}
/**
* Make sure that the sermondistributor database schema is up to date.
*
* @return void
* @since 3.0.5
*/
protected function databaseSchemaCheck($app): void
{
// try to load the schema class
try
{
// make sure the class is loaded
$this->ensureClassExists(
Schema::class
);
// instantiate the schema class and check/update the database
$messages = (new Schema())->update();
}
catch (\Exception $e)
{
$app->enqueueMessage($e->getMessage(), 'warning');
return;
}
foreach ($messages as $message)
{
$app->enqueueMessage($message, 'message');
}
}
/**
* Ensures that a class in the namespace is available.
* If the class is not already loaded, it attempts to load it via the power autoloader.
*
* @param mixed $nameClass The name::class we are looking for.
*
* @return void
* @since 3.0.5
* @throws \Exception If the class could not be loaded.
*/
protected function ensureClassExists($nameClass): void
{
if (!class_exists($nameClass, true))
{
// The power autoloader for this project admin area.
$power_autoloader = JPATH_ADMINISTRATOR . '/components/com_sermondistributor/src/Helper/PowerloaderHelper.php';
if (file_exists($power_autoloader))
{
require_once $power_autoloader;
}
// Check again if the class now exists after requiring it
if (!class_exists($nameClass, true))
{
throw new \Exception("We failed to find/load the $nameClass");
}
}
}
/** /**
* Method to move folders into place. * Method to move folders into place.
* *

View File

@ -1,4 +1,4 @@
# Sermon Distributor (5.0.x) # Sermon Distributor (4.0.x)
![Sermon Distributor image](https://git.vdm.dev/christian/Joomla-Sermon-Distributor/raw/branch/master/admin/assets/images/vdm-component.jpg "The Sermon Distributor") ![Sermon Distributor image](https://git.vdm.dev/christian/Joomla-Sermon-Distributor/raw/branch/master/admin/assets/images/vdm-component.jpg "The Sermon Distributor")
@ -24,38 +24,38 @@ The best way to see all your options is to install this component on you Joomla
+ *Author*: [Llewellyn van der Merwe](mailto:joomla@vdm.io) + *Author*: [Llewellyn van der Merwe](mailto:joomla@vdm.io)
+ *Name*: [Sermon Distributor](https://www.vdm.io/) + *Name*: [Sermon Distributor](https://www.vdm.io/)
+ *First Build*: 22nd October, 2015 + *First Build*: 22nd October, 2015
+ *Last Build*: 2nd March, 2024 + *Last Build*: 3rd May, 2024
+ *Version*: 5.0.x + *Version*: 4.0.x
+ *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
## Build Time :hourglass: ## Build Time :hourglass:
**245 Hours** or **31 Eight Hour Days** (actual time the author saved - **262 Hours** or **33 Eight Hour Days** (actual time the author saved -
due to [Automated Component Builder](https://www.joomlacomponentbuilder.com)) due to [Automated Component Builder](https://www.joomlacomponentbuilder.com))
> (if creating a folder and file took **5 seconds** and writing one line of code took **10 seconds**, > (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.) > never making one mistake or taking any coffee break.)
+ *Line count*: **87679** + *Line count*: **94117**
+ *File count*: **575** + *File count*: **601**
+ *Folder count*: **120** + *Folder count*: **124**
**161 Hours** or **20 Eight Hour Days** (the actual time the author spent) **174 Hours** or **22 Eight Hour Days** (the actual time the author spent)
> (with the following break down: > (with the following break down:
> **debugging @61hours** = codingtime / 4; > **debugging @66hours** = codingtime / 4;
> **planning @35hours** = codingtime / 7; > **planning @37hours** = codingtime / 7;
> **mapping @24hours** = codingtime / 10; > **mapping @26hours** = codingtime / 10;
> **office @41hours** = codingtime / 6;) > **office @44hours** = codingtime / 6;)
**406 Hours** or **51 Eight Hour Days** **436 Hours** or **55 Eight Hour Days**
(a total of the realistic time frame for this project) (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**, > (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.) > with the normal everyday realities at the office, that includes the component planning, mapping & debugging.)
Project duration: **10.2 weeks** or **2.1 months** Project duration: **11 weeks** or **2.3 months**
> This **component** was build with a Joomla [Automated Component Builder](https://www.joomlacomponentbuilder.com). > This **component** was build with a Joomla [Automated Component Builder](https://www.joomlacomponentbuilder.com).
> Developed by [Llewellyn van der Merwe](mailto:joomla@vdm.io) > Developed by [Llewellyn van der Merwe](mailto:joomla@vdm.io)

View File

@ -9,7 +9,7 @@
/------------------------------------------------------------------------------------------------------------------------------------/ /------------------------------------------------------------------------------------------------------------------------------------/
@version 5.0.x @version 4.0.x
@created 22nd October, 2015 @created 22nd October, 2015
@package Sermon Distributor @package Sermon Distributor
@subpackage admin.css @subpackage admin.css

View File

@ -9,7 +9,7 @@
/------------------------------------------------------------------------------------------------------------------------------------/ /------------------------------------------------------------------------------------------------------------------------------------/
@version 5.0.x @version 4.0.x
@created 22nd October, 2015 @created 22nd October, 2015
@package Sermon Distributor @package Sermon Distributor
@subpackage dashboard.css @subpackage dashboard.css

View File

@ -9,7 +9,7 @@
/------------------------------------------------------------------------------------------------------------------------------------/ /------------------------------------------------------------------------------------------------------------------------------------/
@version 5.0.x @version 4.0.x
@created 22nd October, 2015 @created 22nd October, 2015
@package Sermon Distributor @package Sermon Distributor
@subpackage external_source.css @subpackage external_source.css

View File

@ -9,7 +9,7 @@
/------------------------------------------------------------------------------------------------------------------------------------/ /------------------------------------------------------------------------------------------------------------------------------------/
@version 5.0.x @version 4.0.x
@created 22nd October, 2015 @created 22nd October, 2015
@package Sermon Distributor @package Sermon Distributor
@subpackage external_sources.css @subpackage external_sources.css

View File

@ -9,7 +9,7 @@
/------------------------------------------------------------------------------------------------------------------------------------/ /------------------------------------------------------------------------------------------------------------------------------------/
@version 5.0.x @version 4.0.x
@created 22nd October, 2015 @created 22nd October, 2015
@package Sermon Distributor @package Sermon Distributor
@subpackage help_document.css @subpackage help_document.css

View File

@ -9,7 +9,7 @@
/------------------------------------------------------------------------------------------------------------------------------------/ /------------------------------------------------------------------------------------------------------------------------------------/
@version 5.0.x @version 4.0.x
@created 22nd October, 2015 @created 22nd October, 2015
@package Sermon Distributor @package Sermon Distributor
@subpackage help_documents.css @subpackage help_documents.css

View File

@ -9,7 +9,7 @@
/------------------------------------------------------------------------------------------------------------------------------------/ /------------------------------------------------------------------------------------------------------------------------------------/
@version 5.0.x @version 4.0.x
@created 22nd October, 2015 @created 22nd October, 2015
@package Sermon Distributor @package Sermon Distributor
@subpackage local_listing.css @subpackage local_listing.css

View File

@ -9,7 +9,7 @@
/------------------------------------------------------------------------------------------------------------------------------------/ /------------------------------------------------------------------------------------------------------------------------------------/
@version 5.0.x @version 4.0.x
@created 22nd October, 2015 @created 22nd October, 2015
@package Sermon Distributor @package Sermon Distributor
@subpackage local_listings.css @subpackage local_listings.css

View File

@ -9,7 +9,7 @@
/------------------------------------------------------------------------------------------------------------------------------------/ /------------------------------------------------------------------------------------------------------------------------------------/
@version 5.0.x @version 4.0.x
@created 22nd October, 2015 @created 22nd October, 2015
@package Sermon Distributor @package Sermon Distributor
@subpackage manual_updater.css @subpackage manual_updater.css

View File

@ -9,7 +9,7 @@
/------------------------------------------------------------------------------------------------------------------------------------/ /------------------------------------------------------------------------------------------------------------------------------------/
@version 5.0.x @version 4.0.x
@created 22nd October, 2015 @created 22nd October, 2015
@package Sermon Distributor @package Sermon Distributor
@subpackage preacher.css @subpackage preacher.css

View File

@ -9,7 +9,7 @@
/------------------------------------------------------------------------------------------------------------------------------------/ /------------------------------------------------------------------------------------------------------------------------------------/
@version 5.0.x @version 4.0.x
@created 22nd October, 2015 @created 22nd October, 2015
@package Sermon Distributor @package Sermon Distributor
@subpackage preachers.css @subpackage preachers.css

View File

@ -9,7 +9,7 @@
/------------------------------------------------------------------------------------------------------------------------------------/ /------------------------------------------------------------------------------------------------------------------------------------/
@version 5.0.x @version 4.0.x
@created 22nd October, 2015 @created 22nd October, 2015
@package Sermon Distributor @package Sermon Distributor
@subpackage series.css @subpackage series.css

View File

@ -9,7 +9,7 @@
/------------------------------------------------------------------------------------------------------------------------------------/ /------------------------------------------------------------------------------------------------------------------------------------/
@version 5.0.x @version 4.0.x
@created 22nd October, 2015 @created 22nd October, 2015
@package Sermon Distributor @package Sermon Distributor
@subpackage series_list.css @subpackage series_list.css

View File

@ -9,7 +9,7 @@
/------------------------------------------------------------------------------------------------------------------------------------/ /------------------------------------------------------------------------------------------------------------------------------------/
@version 5.0.x @version 4.0.x
@created 22nd October, 2015 @created 22nd October, 2015
@package Sermon Distributor @package Sermon Distributor
@subpackage sermon.css @subpackage sermon.css

View File

@ -9,7 +9,7 @@
/------------------------------------------------------------------------------------------------------------------------------------/ /------------------------------------------------------------------------------------------------------------------------------------/
@version 5.0.x @version 4.0.x
@created 22nd October, 2015 @created 22nd October, 2015
@package Sermon Distributor @package Sermon Distributor
@subpackage sermons.css @subpackage sermons.css

View File

@ -9,7 +9,7 @@
/------------------------------------------------------------------------------------------------------------------------------------/ /------------------------------------------------------------------------------------------------------------------------------------/
@version 5.0.x @version 4.0.x
@created 22nd October, 2015 @created 22nd October, 2015
@package Sermon Distributor @package Sermon Distributor
@subpackage statistic.css @subpackage statistic.css

View File

@ -9,7 +9,7 @@
/------------------------------------------------------------------------------------------------------------------------------------/ /------------------------------------------------------------------------------------------------------------------------------------/
@version 5.0.x @version 4.0.x
@created 22nd October, 2015 @created 22nd October, 2015
@package Sermon Distributor @package Sermon Distributor
@subpackage statistics.css @subpackage statistics.css

View File

@ -9,7 +9,7 @@
/------------------------------------------------------------------------------------------------------------------------------------/ /------------------------------------------------------------------------------------------------------------------------------------/
@version 5.0.x @version 4.0.x
@created 22nd October, 2015 @created 22nd October, 2015
@package Sermon Distributor @package Sermon Distributor
@subpackage admin.js @subpackage admin.js

View File

@ -174,6 +174,7 @@
label="COM_SERMONDISTRIBUTOR_HELP_DOCUMENT_ADMIN_VIEW_LABEL" label="COM_SERMONDISTRIBUTOR_HELP_DOCUMENT_ADMIN_VIEW_LABEL"
description="COM_SERMONDISTRIBUTOR_HELP_DOCUMENT_ADMIN_VIEW_DESCRIPTION" description="COM_SERMONDISTRIBUTOR_HELP_DOCUMENT_ADMIN_VIEW_DESCRIPTION"
class="list_class" class="list_class"
layout="joomla.form.field.list-fancy-select"
multiple="false" multiple="false"
default="" default=""
required="true" required="true"
@ -186,6 +187,7 @@
label="COM_SERMONDISTRIBUTOR_HELP_DOCUMENT_SITE_VIEW_LABEL" label="COM_SERMONDISTRIBUTOR_HELP_DOCUMENT_SITE_VIEW_LABEL"
description="COM_SERMONDISTRIBUTOR_HELP_DOCUMENT_SITE_VIEW_DESCRIPTION" description="COM_SERMONDISTRIBUTOR_HELP_DOCUMENT_SITE_VIEW_DESCRIPTION"
class="list_class" class="list_class"
layout="joomla.form.field.list-fancy-select"
multiple="false" multiple="false"
required="true" required="true"
button="false" button="false"
@ -221,6 +223,7 @@
name="article" name="article"
label="COM_SERMONDISTRIBUTOR_HELP_DOCUMENT_ARTICLE_LABEL" label="COM_SERMONDISTRIBUTOR_HELP_DOCUMENT_ARTICLE_LABEL"
class="list_class" class="list_class"
layout="joomla.form.field.list-fancy-select"
multiple="false" multiple="false"
default="0" default="0"
required="true" required="true"

View File

@ -10,7 +10,7 @@
/------------------------------------------------------------------------------------------------------------------------------------/ /------------------------------------------------------------------------------------------------------------------------------------/
@version 5.0.x @version 4.0.x
@created 22nd October, 2015 @created 22nd October, 2015
@package Sermon Distributor @package Sermon Distributor
@subpackage build_option_fullwidth.php @subpackage build_option_fullwidth.php

View File

@ -10,7 +10,7 @@
/------------------------------------------------------------------------------------------------------------------------------------/ /------------------------------------------------------------------------------------------------------------------------------------/
@version 5.0.x @version 4.0.x
@created 22nd October, 2015 @created 22nd October, 2015
@package Sermon Distributor @package Sermon Distributor
@subpackage details_above.php @subpackage details_above.php

View File

@ -10,7 +10,7 @@
/------------------------------------------------------------------------------------------------------------------------------------/ /------------------------------------------------------------------------------------------------------------------------------------/
@version 5.0.x @version 4.0.x
@created 22nd October, 2015 @created 22nd October, 2015
@package Sermon Distributor @package Sermon Distributor
@subpackage details_fullwidth.php @subpackage details_fullwidth.php

View File

@ -10,7 +10,7 @@
/------------------------------------------------------------------------------------------------------------------------------------/ /------------------------------------------------------------------------------------------------------------------------------------/
@version 5.0.x @version 4.0.x
@created 22nd October, 2015 @created 22nd October, 2015
@package Sermon Distributor @package Sermon Distributor
@subpackage details_left.php @subpackage details_left.php

View File

@ -10,7 +10,7 @@
/------------------------------------------------------------------------------------------------------------------------------------/ /------------------------------------------------------------------------------------------------------------------------------------/
@version 5.0.x @version 4.0.x
@created 22nd October, 2015 @created 22nd October, 2015
@package Sermon Distributor @package Sermon Distributor
@subpackage details_right.php @subpackage details_right.php

View File

@ -10,7 +10,7 @@
/------------------------------------------------------------------------------------------------------------------------------------/ /------------------------------------------------------------------------------------------------------------------------------------/
@version 5.0.x @version 4.0.x
@created 22nd October, 2015 @created 22nd October, 2015
@package Sermon Distributor @package Sermon Distributor
@subpackage details_under.php @subpackage details_under.php

View File

@ -10,7 +10,7 @@
/------------------------------------------------------------------------------------------------------------------------------------/ /------------------------------------------------------------------------------------------------------------------------------------/
@version 5.0.x @version 4.0.x
@created 22nd October, 2015 @created 22nd October, 2015
@package Sermon Distributor @package Sermon Distributor
@subpackage publishing.php @subpackage publishing.php

View File

@ -10,7 +10,7 @@
/------------------------------------------------------------------------------------------------------------------------------------/ /------------------------------------------------------------------------------------------------------------------------------------/
@version 5.0.x @version 4.0.x
@created 22nd October, 2015 @created 22nd October, 2015
@package Sermon Distributor @package Sermon Distributor
@subpackage publlshing.php @subpackage publlshing.php

View File

@ -10,7 +10,7 @@
/------------------------------------------------------------------------------------------------------------------------------------/ /------------------------------------------------------------------------------------------------------------------------------------/
@version 5.0.x @version 4.0.x
@created 22nd October, 2015 @created 22nd October, 2015
@package Sermon Distributor @package Sermon Distributor
@subpackage details_above.php @subpackage details_above.php

View File

@ -10,7 +10,7 @@
/------------------------------------------------------------------------------------------------------------------------------------/ /------------------------------------------------------------------------------------------------------------------------------------/
@version 5.0.x @version 4.0.x
@created 22nd October, 2015 @created 22nd October, 2015
@package Sermon Distributor @package Sermon Distributor
@subpackage details_fullwidth.php @subpackage details_fullwidth.php

View File

@ -10,7 +10,7 @@
/------------------------------------------------------------------------------------------------------------------------------------/ /------------------------------------------------------------------------------------------------------------------------------------/
@version 5.0.x @version 4.0.x
@created 22nd October, 2015 @created 22nd October, 2015
@package Sermon Distributor @package Sermon Distributor
@subpackage details_left.php @subpackage details_left.php

View File

@ -10,7 +10,7 @@
/------------------------------------------------------------------------------------------------------------------------------------/ /------------------------------------------------------------------------------------------------------------------------------------/
@version 5.0.x @version 4.0.x
@created 22nd October, 2015 @created 22nd October, 2015
@package Sermon Distributor @package Sermon Distributor
@subpackage details_right.php @subpackage details_right.php

View File

@ -10,7 +10,7 @@
/------------------------------------------------------------------------------------------------------------------------------------/ /------------------------------------------------------------------------------------------------------------------------------------/
@version 5.0.x @version 4.0.x
@created 22nd October, 2015 @created 22nd October, 2015
@package Sermon Distributor @package Sermon Distributor
@subpackage details_under.php @subpackage details_under.php

View File

@ -10,7 +10,7 @@
/------------------------------------------------------------------------------------------------------------------------------------/ /------------------------------------------------------------------------------------------------------------------------------------/
@version 5.0.x @version 4.0.x
@created 22nd October, 2015 @created 22nd October, 2015
@package Sermon Distributor @package Sermon Distributor
@subpackage metadata.php @subpackage metadata.php

View File

@ -10,7 +10,7 @@
/------------------------------------------------------------------------------------------------------------------------------------/ /------------------------------------------------------------------------------------------------------------------------------------/
@version 5.0.x @version 4.0.x
@created 22nd October, 2015 @created 22nd October, 2015
@package Sermon Distributor @package Sermon Distributor
@subpackage publishing.php @subpackage publishing.php

View File

@ -10,7 +10,7 @@
/------------------------------------------------------------------------------------------------------------------------------------/ /------------------------------------------------------------------------------------------------------------------------------------/
@version 5.0.x @version 4.0.x
@created 22nd October, 2015 @created 22nd October, 2015
@package Sermon Distributor @package Sermon Distributor
@subpackage details_above.php @subpackage details_above.php

View File

@ -10,7 +10,7 @@
/------------------------------------------------------------------------------------------------------------------------------------/ /------------------------------------------------------------------------------------------------------------------------------------/
@version 5.0.x @version 4.0.x
@created 22nd October, 2015 @created 22nd October, 2015
@package Sermon Distributor @package Sermon Distributor
@subpackage details_fullwidth.php @subpackage details_fullwidth.php

View File

@ -10,7 +10,7 @@
/------------------------------------------------------------------------------------------------------------------------------------/ /------------------------------------------------------------------------------------------------------------------------------------/
@version 5.0.x @version 4.0.x
@created 22nd October, 2015 @created 22nd October, 2015
@package Sermon Distributor @package Sermon Distributor
@subpackage details_left.php @subpackage details_left.php

View File

@ -10,7 +10,7 @@
/------------------------------------------------------------------------------------------------------------------------------------/ /------------------------------------------------------------------------------------------------------------------------------------/
@version 5.0.x @version 4.0.x
@created 22nd October, 2015 @created 22nd October, 2015
@package Sermon Distributor @package Sermon Distributor
@subpackage details_right.php @subpackage details_right.php

View File

@ -10,7 +10,7 @@
/------------------------------------------------------------------------------------------------------------------------------------/ /------------------------------------------------------------------------------------------------------------------------------------/
@version 5.0.x @version 4.0.x
@created 22nd October, 2015 @created 22nd October, 2015
@package Sermon Distributor @package Sermon Distributor
@subpackage publishing.php @subpackage publishing.php

View File

@ -10,7 +10,7 @@
/------------------------------------------------------------------------------------------------------------------------------------/ /------------------------------------------------------------------------------------------------------------------------------------/
@version 5.0.x @version 4.0.x
@created 22nd October, 2015 @created 22nd October, 2015
@package Sermon Distributor @package Sermon Distributor
@subpackage publlshing.php @subpackage publlshing.php

View File

@ -10,7 +10,7 @@
/------------------------------------------------------------------------------------------------------------------------------------/ /------------------------------------------------------------------------------------------------------------------------------------/
@version 5.0.x @version 4.0.x
@created 22nd October, 2015 @created 22nd October, 2015
@package Sermon Distributor @package Sermon Distributor
@subpackage details_above.php @subpackage details_above.php

View File

@ -10,7 +10,7 @@
/------------------------------------------------------------------------------------------------------------------------------------/ /------------------------------------------------------------------------------------------------------------------------------------/
@version 5.0.x @version 4.0.x
@created 22nd October, 2015 @created 22nd October, 2015
@package Sermon Distributor @package Sermon Distributor
@subpackage details_fullwidth.php @subpackage details_fullwidth.php

View File

@ -10,7 +10,7 @@
/------------------------------------------------------------------------------------------------------------------------------------/ /------------------------------------------------------------------------------------------------------------------------------------/
@version 5.0.x @version 4.0.x
@created 22nd October, 2015 @created 22nd October, 2015
@package Sermon Distributor @package Sermon Distributor
@subpackage details_left.php @subpackage details_left.php

View File

@ -10,7 +10,7 @@
/------------------------------------------------------------------------------------------------------------------------------------/ /------------------------------------------------------------------------------------------------------------------------------------/
@version 5.0.x @version 4.0.x
@created 22nd October, 2015 @created 22nd October, 2015
@package Sermon Distributor @package Sermon Distributor
@subpackage details_right.php @subpackage details_right.php

View File

@ -10,7 +10,7 @@
/------------------------------------------------------------------------------------------------------------------------------------/ /------------------------------------------------------------------------------------------------------------------------------------/
@version 5.0.x @version 4.0.x
@created 22nd October, 2015 @created 22nd October, 2015
@package Sermon Distributor @package Sermon Distributor
@subpackage metadata.php @subpackage metadata.php

View File

@ -10,7 +10,7 @@
/------------------------------------------------------------------------------------------------------------------------------------/ /------------------------------------------------------------------------------------------------------------------------------------/
@version 5.0.x @version 4.0.x
@created 22nd October, 2015 @created 22nd October, 2015
@package Sermon Distributor @package Sermon Distributor
@subpackage publishing.php @subpackage publishing.php

View File

@ -10,7 +10,7 @@
/------------------------------------------------------------------------------------------------------------------------------------/ /------------------------------------------------------------------------------------------------------------------------------------/
@version 5.0.x @version 4.0.x
@created 22nd October, 2015 @created 22nd October, 2015
@package Sermon Distributor @package Sermon Distributor
@subpackage sermons_fullwidth.php @subpackage sermons_fullwidth.php
@ -26,8 +26,8 @@ use Joomla\CMS\Factory;
use Joomla\CMS\Language\Text; use Joomla\CMS\Language\Text;
use Joomla\CMS\HTML\HTMLHelper as Html; use Joomla\CMS\HTML\HTMLHelper as Html;
use TrueChristianChurch\Component\Sermondistributor\Administrator\Helper\SermondistributorHelper; use TrueChristianChurch\Component\Sermondistributor\Administrator\Helper\SermondistributorHelper;
use VDM\Joomla\Utilities\StringHelper; use TrueChristianChurch\Joomla\Utilities\StringHelper;
use VDM\Joomla\Utilities\ArrayHelper; use TrueChristianChurch\Joomla\Utilities\ArrayHelper;
// No direct access to this file // No direct access to this file
defined('_JEXEC') or die; defined('_JEXEC') or die;

View File

@ -10,7 +10,7 @@
/------------------------------------------------------------------------------------------------------------------------------------/ /------------------------------------------------------------------------------------------------------------------------------------/
@version 5.0.x @version 4.0.x
@created 22nd October, 2015 @created 22nd October, 2015
@package Sermon Distributor @package Sermon Distributor
@subpackage details_above.php @subpackage details_above.php

View File

@ -10,7 +10,7 @@
/------------------------------------------------------------------------------------------------------------------------------------/ /------------------------------------------------------------------------------------------------------------------------------------/
@version 5.0.x @version 4.0.x
@created 22nd October, 2015 @created 22nd October, 2015
@package Sermon Distributor @package Sermon Distributor
@subpackage details_fullwidth.php @subpackage details_fullwidth.php

View File

@ -10,7 +10,7 @@
/------------------------------------------------------------------------------------------------------------------------------------/ /------------------------------------------------------------------------------------------------------------------------------------/
@version 5.0.x @version 4.0.x
@created 22nd October, 2015 @created 22nd October, 2015
@package Sermon Distributor @package Sermon Distributor
@subpackage details_left.php @subpackage details_left.php

View File

@ -10,7 +10,7 @@
/------------------------------------------------------------------------------------------------------------------------------------/ /------------------------------------------------------------------------------------------------------------------------------------/
@version 5.0.x @version 4.0.x
@created 22nd October, 2015 @created 22nd October, 2015
@package Sermon Distributor @package Sermon Distributor
@subpackage details_right.php @subpackage details_right.php

View File

@ -10,7 +10,7 @@
/------------------------------------------------------------------------------------------------------------------------------------/ /------------------------------------------------------------------------------------------------------------------------------------/
@version 5.0.x @version 4.0.x
@created 22nd October, 2015 @created 22nd October, 2015
@package Sermon Distributor @package Sermon Distributor
@subpackage metadata.php @subpackage metadata.php

View File

@ -10,7 +10,7 @@
/------------------------------------------------------------------------------------------------------------------------------------/ /------------------------------------------------------------------------------------------------------------------------------------/
@version 5.0.x @version 4.0.x
@created 22nd October, 2015 @created 22nd October, 2015
@package Sermon Distributor @package Sermon Distributor
@subpackage publishing.php @subpackage publishing.php

View File

@ -10,7 +10,7 @@
/------------------------------------------------------------------------------------------------------------------------------------/ /------------------------------------------------------------------------------------------------------------------------------------/
@version 5.0.x @version 4.0.x
@created 22nd October, 2015 @created 22nd October, 2015
@package Sermon Distributor @package Sermon Distributor
@subpackage sermons_fullwidth.php @subpackage sermons_fullwidth.php
@ -26,8 +26,8 @@ use Joomla\CMS\Factory;
use Joomla\CMS\Language\Text; use Joomla\CMS\Language\Text;
use Joomla\CMS\HTML\HTMLHelper as Html; use Joomla\CMS\HTML\HTMLHelper as Html;
use TrueChristianChurch\Component\Sermondistributor\Administrator\Helper\SermondistributorHelper; use TrueChristianChurch\Component\Sermondistributor\Administrator\Helper\SermondistributorHelper;
use VDM\Joomla\Utilities\StringHelper; use TrueChristianChurch\Joomla\Utilities\StringHelper;
use VDM\Joomla\Utilities\ArrayHelper; use TrueChristianChurch\Joomla\Utilities\ArrayHelper;
// No direct access to this file // No direct access to this file
defined('_JEXEC') or die; defined('_JEXEC') or die;

View File

@ -10,7 +10,7 @@
/------------------------------------------------------------------------------------------------------------------------------------/ /------------------------------------------------------------------------------------------------------------------------------------/
@version 5.0.x @version 4.0.x
@created 22nd October, 2015 @created 22nd October, 2015
@package Sermon Distributor @package Sermon Distributor
@subpackage details_above.php @subpackage details_above.php

View File

@ -10,7 +10,7 @@
/------------------------------------------------------------------------------------------------------------------------------------/ /------------------------------------------------------------------------------------------------------------------------------------/
@version 5.0.x @version 4.0.x
@created 22nd October, 2015 @created 22nd October, 2015
@package Sermon Distributor @package Sermon Distributor
@subpackage details_fullwidth.php @subpackage details_fullwidth.php

View File

@ -10,7 +10,7 @@
/------------------------------------------------------------------------------------------------------------------------------------/ /------------------------------------------------------------------------------------------------------------------------------------/
@version 5.0.x @version 4.0.x
@created 22nd October, 2015 @created 22nd October, 2015
@package Sermon Distributor @package Sermon Distributor
@subpackage details_left.php @subpackage details_left.php

View File

@ -10,7 +10,7 @@
/------------------------------------------------------------------------------------------------------------------------------------/ /------------------------------------------------------------------------------------------------------------------------------------/
@version 5.0.x @version 4.0.x
@created 22nd October, 2015 @created 22nd October, 2015
@package Sermon Distributor @package Sermon Distributor
@subpackage details_right.php @subpackage details_right.php

View File

@ -10,7 +10,7 @@
/------------------------------------------------------------------------------------------------------------------------------------/ /------------------------------------------------------------------------------------------------------------------------------------/
@version 5.0.x @version 4.0.x
@created 22nd October, 2015 @created 22nd October, 2015
@package Sermon Distributor @package Sermon Distributor
@subpackage details_under.php @subpackage details_under.php

View File

@ -10,7 +10,7 @@
/------------------------------------------------------------------------------------------------------------------------------------/ /------------------------------------------------------------------------------------------------------------------------------------/
@version 5.0.x @version 4.0.x
@created 22nd October, 2015 @created 22nd October, 2015
@package Sermon Distributor @package Sermon Distributor
@subpackage files_fullwidth.php @subpackage files_fullwidth.php

View File

@ -10,7 +10,7 @@
/------------------------------------------------------------------------------------------------------------------------------------/ /------------------------------------------------------------------------------------------------------------------------------------/
@version 5.0.x @version 4.0.x
@created 22nd October, 2015 @created 22nd October, 2015
@package Sermon Distributor @package Sermon Distributor
@subpackage metadata.php @subpackage metadata.php

View File

@ -10,7 +10,7 @@
/------------------------------------------------------------------------------------------------------------------------------------/ /------------------------------------------------------------------------------------------------------------------------------------/
@version 5.0.x @version 4.0.x
@created 22nd October, 2015 @created 22nd October, 2015
@package Sermon Distributor @package Sermon Distributor
@subpackage publishing.php @subpackage publishing.php

View File

@ -10,7 +10,7 @@
/------------------------------------------------------------------------------------------------------------------------------------/ /------------------------------------------------------------------------------------------------------------------------------------/
@version 5.0.x @version 4.0.x
@created 22nd October, 2015 @created 22nd October, 2015
@package Sermon Distributor @package Sermon Distributor
@subpackage stastics_fullwidth.php @subpackage stastics_fullwidth.php
@ -26,8 +26,8 @@ use Joomla\CMS\Factory;
use Joomla\CMS\Language\Text; use Joomla\CMS\Language\Text;
use Joomla\CMS\HTML\HTMLHelper as Html; use Joomla\CMS\HTML\HTMLHelper as Html;
use TrueChristianChurch\Component\Sermondistributor\Administrator\Helper\SermondistributorHelper; use TrueChristianChurch\Component\Sermondistributor\Administrator\Helper\SermondistributorHelper;
use VDM\Joomla\Utilities\StringHelper; use TrueChristianChurch\Joomla\Utilities\StringHelper;
use VDM\Joomla\Utilities\ArrayHelper; use TrueChristianChurch\Joomla\Utilities\ArrayHelper;
// No direct access to this file // No direct access to this file
defined('_JEXEC') or die; defined('_JEXEC') or die;

View File

@ -10,7 +10,7 @@
/------------------------------------------------------------------------------------------------------------------------------------/ /------------------------------------------------------------------------------------------------------------------------------------/
@version 5.0.x @version 4.0.x
@created 22nd October, 2015 @created 22nd October, 2015
@package Sermon Distributor @package Sermon Distributor
@subpackage details_above.php @subpackage details_above.php

View File

@ -10,7 +10,7 @@
/------------------------------------------------------------------------------------------------------------------------------------/ /------------------------------------------------------------------------------------------------------------------------------------/
@version 5.0.x @version 4.0.x
@created 22nd October, 2015 @created 22nd October, 2015
@package Sermon Distributor @package Sermon Distributor
@subpackage details_left.php @subpackage details_left.php

View File

@ -10,7 +10,7 @@
/------------------------------------------------------------------------------------------------------------------------------------/ /------------------------------------------------------------------------------------------------------------------------------------/
@version 5.0.x @version 4.0.x
@created 22nd October, 2015 @created 22nd October, 2015
@package Sermon Distributor @package Sermon Distributor
@subpackage details_right.php @subpackage details_right.php

View File

@ -10,7 +10,7 @@
/------------------------------------------------------------------------------------------------------------------------------------/ /------------------------------------------------------------------------------------------------------------------------------------/
@version 5.0.x @version 4.0.x
@created 22nd October, 2015 @created 22nd October, 2015
@package Sermon Distributor @package Sermon Distributor
@subpackage metadata.php @subpackage metadata.php

View File

@ -10,7 +10,7 @@
/------------------------------------------------------------------------------------------------------------------------------------/ /------------------------------------------------------------------------------------------------------------------------------------/
@version 5.0.x @version 4.0.x
@created 22nd October, 2015 @created 22nd October, 2015
@package Sermon Distributor @package Sermon Distributor
@subpackage publishing.php @subpackage publishing.php

View File

@ -10,7 +10,7 @@
/------------------------------------------------------------------------------------------------------------------------------------/ /------------------------------------------------------------------------------------------------------------------------------------/
@version 5.0.x @version 4.0.x
@created 22nd October, 2015 @created 22nd October, 2015
@package Sermon Distributor @package Sermon Distributor
@subpackage trashhelper.php @subpackage trashhelper.php

View File

@ -10,7 +10,7 @@
/------------------------------------------------------------------------------------------------------------------------------------/ /------------------------------------------------------------------------------------------------------------------------------------/
@version 5.0.x @version 4.0.x
@created 22nd October, 2015 @created 22nd October, 2015
@package Sermon Distributor @package Sermon Distributor
@subpackage provider.php @subpackage provider.php
@ -22,51 +22,12 @@
/----------------------------------------------------------------------------------------------------------------------------------*/ /----------------------------------------------------------------------------------------------------------------------------------*/
// The power autoloader for this project (JPATH_ADMINISTRATOR) area.
$power_autoloader = JPATH_ADMINISTRATOR . '/components/com_sermondistributor/src/Helper/PowerloaderHelper.php';
// register additional namespace if (file_exists($power_autoloader))
\spl_autoload_register(function ($class) { {
// project-specific base directories and namespace prefix require_once $power_autoloader;
$search = [ }
'libraries/jcb_powers/VDM.Joomla.FOF' => 'VDM\\Joomla\\FOF',
'libraries/jcb_powers/VDM.Joomla' => 'VDM\\Joomla'
];
// Start the search and load if found
$found = false;
$found_base_dir = "";
$found_len = 0;
foreach ($search as $base_dir => $prefix)
{
// does the class use the namespace prefix?
$len = strlen($prefix);
if (strncmp($prefix, $class, $len) === 0)
{
// we have a match so load the values
$found = true;
$found_base_dir = $base_dir;
$found_len = $len;
// done here
break;
}
}
// check if we found a match
if (!$found)
{
// not found so move to the next registered autoloader
return;
}
// get the relative class name
$relative_class = substr($class, $found_len);
// replace the namespace prefix with the base directory, replace namespace
// separators with directory separators in the relative class name, append
// with .php
$file = JPATH_ROOT . '/' . $found_base_dir . '/src' . str_replace('\\', '/', $relative_class) . '.php';
// if the file exists, require it
if (file_exists($file))
{
require $file;
}
});
// (soon) use Joomla\CMS\Association\AssociationExtensionInterface; // (soon) use Joomla\CMS\Association\AssociationExtensionInterface;
use Joomla\CMS\Categories\CategoryFactoryInterface; use Joomla\CMS\Categories\CategoryFactoryInterface;

View File

@ -10,7 +10,7 @@ CREATE TABLE IF NOT EXISTS `#__sermondistributor_preacher` (
`icon` CHAR(64) NOT NULL DEFAULT '', `icon` CHAR(64) NOT NULL DEFAULT '',
`name` VARCHAR(255) NOT NULL DEFAULT '', `name` VARCHAR(255) NOT NULL DEFAULT '',
`website` VARCHAR(255) NOT NULL DEFAULT '', `website` VARCHAR(255) NOT NULL DEFAULT '',
`params` text NULL, `params` TEXT NULL,
`published` TINYINT(3) NOT NULL DEFAULT 1, `published` TINYINT(3) NOT NULL DEFAULT 1,
`created_by` INT(10) unsigned NOT NULL DEFAULT 0, `created_by` INT(10) unsigned NOT NULL DEFAULT 0,
`modified_by` INT(10) unsigned NOT NULL DEFAULT 0, `modified_by` INT(10) unsigned NOT NULL DEFAULT 0,
@ -55,7 +55,7 @@ CREATE TABLE IF NOT EXISTS `#__sermondistributor_sermon` (
`source` TINYINT(1) NOT NULL DEFAULT 0, `source` TINYINT(1) NOT NULL DEFAULT 0,
`tags` CHAR(11) NOT NULL DEFAULT 0, `tags` CHAR(11) NOT NULL DEFAULT 0,
`url` VARCHAR(255) NOT NULL DEFAULT '', `url` VARCHAR(255) NOT NULL DEFAULT '',
`params` text NULL, `params` TEXT NULL,
`published` TINYINT(3) NOT NULL DEFAULT 1, `published` TINYINT(3) NOT NULL DEFAULT 1,
`created_by` INT(10) unsigned NOT NULL DEFAULT 0, `created_by` INT(10) unsigned NOT NULL DEFAULT 0,
`modified_by` INT(10) unsigned NOT NULL DEFAULT 0, `modified_by` INT(10) unsigned NOT NULL DEFAULT 0,
@ -93,7 +93,7 @@ CREATE TABLE IF NOT EXISTS `#__sermondistributor_series` (
`icon` CHAR(64) NOT NULL DEFAULT '', `icon` CHAR(64) NOT NULL DEFAULT '',
`name` VARCHAR(255) NOT NULL DEFAULT '', `name` VARCHAR(255) NOT NULL DEFAULT '',
`scripture` VARCHAR(255) NOT NULL DEFAULT '', `scripture` VARCHAR(255) NOT NULL DEFAULT '',
`params` text NULL, `params` TEXT NULL,
`published` TINYINT(3) NOT NULL DEFAULT 1, `published` TINYINT(3) NOT NULL DEFAULT 1,
`created_by` INT(10) unsigned NOT NULL DEFAULT 0, `created_by` INT(10) unsigned NOT NULL DEFAULT 0,
`modified_by` INT(10) unsigned NOT NULL DEFAULT 0, `modified_by` INT(10) unsigned NOT NULL DEFAULT 0,
@ -126,7 +126,7 @@ CREATE TABLE IF NOT EXISTS `#__sermondistributor_statistic` (
`preacher` INT(11) NOT NULL DEFAULT 0, `preacher` INT(11) NOT NULL DEFAULT 0,
`series` INT(11) NOT NULL DEFAULT 0, `series` INT(11) NOT NULL DEFAULT 0,
`sermon` INT(11) NOT NULL DEFAULT 0, `sermon` INT(11) NOT NULL DEFAULT 0,
`params` text NULL, `params` TEXT NULL,
`published` TINYINT(3) NOT NULL DEFAULT 1, `published` TINYINT(3) NOT NULL DEFAULT 1,
`created_by` INT(10) unsigned NOT NULL DEFAULT 0, `created_by` INT(10) unsigned NOT NULL DEFAULT 0,
`modified_by` INT(10) unsigned NOT NULL DEFAULT 0, `modified_by` INT(10) unsigned NOT NULL DEFAULT 0,
@ -168,7 +168,7 @@ CREATE TABLE IF NOT EXISTS `#__sermondistributor_external_source` (
`sharedurl` TEXT NOT NULL, `sharedurl` TEXT NOT NULL,
`update_method` TINYINT NOT NULL DEFAULT 0, `update_method` TINYINT NOT NULL DEFAULT 0,
`update_timer` INT(1) NOT NULL DEFAULT 0, `update_timer` INT(1) NOT NULL DEFAULT 0,
`params` text NULL, `params` TEXT NULL,
`published` TINYINT(3) NOT NULL DEFAULT 1, `published` TINYINT(3) NOT NULL DEFAULT 1,
`created_by` INT(10) unsigned NOT NULL DEFAULT 0, `created_by` INT(10) unsigned NOT NULL DEFAULT 0,
`modified_by` INT(10) unsigned NOT NULL DEFAULT 0, `modified_by` INT(10) unsigned NOT NULL DEFAULT 0,
@ -201,7 +201,7 @@ CREATE TABLE IF NOT EXISTS `#__sermondistributor_local_listing` (
`name` VARCHAR(255) NOT NULL DEFAULT '', `name` VARCHAR(255) NOT NULL DEFAULT '',
`size` INT(50) NOT NULL DEFAULT 0, `size` INT(50) NOT NULL DEFAULT 0,
`url` TEXT NOT NULL, `url` TEXT NOT NULL,
`params` text NULL, `params` TEXT NULL,
`published` TINYINT(3) NOT NULL DEFAULT 1, `published` TINYINT(3) NOT NULL DEFAULT 1,
`created_by` INT(10) unsigned NOT NULL DEFAULT 0, `created_by` INT(10) unsigned NOT NULL DEFAULT 0,
`modified_by` INT(10) unsigned NOT NULL DEFAULT 0, `modified_by` INT(10) unsigned NOT NULL DEFAULT 0,
@ -236,7 +236,7 @@ CREATE TABLE IF NOT EXISTS `#__sermondistributor_help_document` (
`title` CHAR(64) NOT NULL DEFAULT '', `title` CHAR(64) NOT NULL DEFAULT '',
`type` TINYINT(1) NOT NULL DEFAULT 0, `type` TINYINT(1) NOT NULL DEFAULT 0,
`url` VARCHAR(255) NOT NULL DEFAULT '', `url` VARCHAR(255) NOT NULL DEFAULT '',
`params` text NULL, `params` TEXT NULL,
`published` TINYINT(3) NOT NULL DEFAULT 1, `published` TINYINT(3) NOT NULL DEFAULT 1,
`created_by` INT(10) unsigned NOT NULL DEFAULT 0, `created_by` INT(10) unsigned NOT NULL DEFAULT 0,
`modified_by` INT(10) unsigned NOT NULL DEFAULT 0, `modified_by` INT(10) unsigned NOT NULL DEFAULT 0,

View File

@ -1 +0,0 @@

View File

@ -1 +0,0 @@

View File

@ -10,7 +10,7 @@
/------------------------------------------------------------------------------------------------------------------------------------/ /------------------------------------------------------------------------------------------------------------------------------------/
@version 5.0.x @version 4.0.x
@created 22nd October, 2015 @created 22nd October, 2015
@package Sermon Distributor @package Sermon Distributor
@subpackage AjaxController.php @subpackage AjaxController.php

View File

@ -10,7 +10,7 @@
/------------------------------------------------------------------------------------------------------------------------------------/ /------------------------------------------------------------------------------------------------------------------------------------/
@version 5.0.x @version 4.0.x
@created 22nd October, 2015 @created 22nd October, 2015
@package Sermon Distributor @package Sermon Distributor
@subpackage DisplayController.php @subpackage DisplayController.php

View File

@ -10,7 +10,7 @@
/------------------------------------------------------------------------------------------------------------------------------------/ /------------------------------------------------------------------------------------------------------------------------------------/
@version 5.0.x @version 4.0.x
@created 22nd October, 2015 @created 22nd October, 2015
@package Sermon Distributor @package Sermon Distributor
@subpackage External_sourceController.php @subpackage External_sourceController.php

View File

@ -10,7 +10,7 @@
/------------------------------------------------------------------------------------------------------------------------------------/ /------------------------------------------------------------------------------------------------------------------------------------/
@version 5.0.x @version 4.0.x
@created 22nd October, 2015 @created 22nd October, 2015
@package Sermon Distributor @package Sermon Distributor
@subpackage External_sourcesController.php @subpackage External_sourcesController.php
@ -30,8 +30,8 @@ use Joomla\Utilities\ArrayHelper;
use Joomla\CMS\Router\Route; use Joomla\CMS\Router\Route;
use Joomla\CMS\Session\Session; use Joomla\CMS\Session\Session;
use TrueChristianChurch\Component\Sermondistributor\Administrator\Helper\SermondistributorHelper; use TrueChristianChurch\Component\Sermondistributor\Administrator\Helper\SermondistributorHelper;
use VDM\Joomla\Utilities\ArrayHelper as UtilitiesArrayHelper; use TrueChristianChurch\Joomla\Utilities\ArrayHelper as UtilitiesArrayHelper;
use VDM\Joomla\Utilities\ObjectHelper; use TrueChristianChurch\Joomla\Utilities\ObjectHelper;
// No direct access to this file // No direct access to this file
\defined('_JEXEC') or die; \defined('_JEXEC') or die;

View File

@ -10,7 +10,7 @@
/------------------------------------------------------------------------------------------------------------------------------------/ /------------------------------------------------------------------------------------------------------------------------------------/
@version 5.0.x @version 4.0.x
@created 22nd October, 2015 @created 22nd October, 2015
@package Sermon Distributor @package Sermon Distributor
@subpackage HelpController.php @subpackage HelpController.php

View File

@ -10,7 +10,7 @@
/------------------------------------------------------------------------------------------------------------------------------------/ /------------------------------------------------------------------------------------------------------------------------------------/
@version 5.0.x @version 4.0.x
@created 22nd October, 2015 @created 22nd October, 2015
@package Sermon Distributor @package Sermon Distributor
@subpackage Help_documentController.php @subpackage Help_documentController.php

View File

@ -10,7 +10,7 @@
/------------------------------------------------------------------------------------------------------------------------------------/ /------------------------------------------------------------------------------------------------------------------------------------/
@version 5.0.x @version 4.0.x
@created 22nd October, 2015 @created 22nd October, 2015
@package Sermon Distributor @package Sermon Distributor
@subpackage Help_documentsController.php @subpackage Help_documentsController.php
@ -30,8 +30,8 @@ use Joomla\Utilities\ArrayHelper;
use Joomla\CMS\Router\Route; use Joomla\CMS\Router\Route;
use Joomla\CMS\Session\Session; use Joomla\CMS\Session\Session;
use TrueChristianChurch\Component\Sermondistributor\Administrator\Helper\SermondistributorHelper; use TrueChristianChurch\Component\Sermondistributor\Administrator\Helper\SermondistributorHelper;
use VDM\Joomla\Utilities\ArrayHelper as UtilitiesArrayHelper; use TrueChristianChurch\Joomla\Utilities\ArrayHelper as UtilitiesArrayHelper;
use VDM\Joomla\Utilities\ObjectHelper; use TrueChristianChurch\Joomla\Utilities\ObjectHelper;
// No direct access to this file // No direct access to this file
\defined('_JEXEC') or die; \defined('_JEXEC') or die;

View File

@ -10,7 +10,7 @@
/------------------------------------------------------------------------------------------------------------------------------------/ /------------------------------------------------------------------------------------------------------------------------------------/
@version 5.0.x @version 4.0.x
@created 22nd October, 2015 @created 22nd October, 2015
@package Sermon Distributor @package Sermon Distributor
@subpackage ImportController.php @subpackage ImportController.php

View File

@ -10,7 +10,7 @@
/------------------------------------------------------------------------------------------------------------------------------------/ /------------------------------------------------------------------------------------------------------------------------------------/
@version 5.0.x @version 4.0.x
@created 22nd October, 2015 @created 22nd October, 2015
@package Sermon Distributor @package Sermon Distributor
@subpackage Local_listingController.php @subpackage Local_listingController.php

View File

@ -10,7 +10,7 @@
/------------------------------------------------------------------------------------------------------------------------------------/ /------------------------------------------------------------------------------------------------------------------------------------/
@version 5.0.x @version 4.0.x
@created 22nd October, 2015 @created 22nd October, 2015
@package Sermon Distributor @package Sermon Distributor
@subpackage Local_listingsController.php @subpackage Local_listingsController.php
@ -30,8 +30,8 @@ use Joomla\Utilities\ArrayHelper;
use Joomla\CMS\Router\Route; use Joomla\CMS\Router\Route;
use Joomla\CMS\Session\Session; use Joomla\CMS\Session\Session;
use TrueChristianChurch\Component\Sermondistributor\Administrator\Helper\SermondistributorHelper; use TrueChristianChurch\Component\Sermondistributor\Administrator\Helper\SermondistributorHelper;
use VDM\Joomla\Utilities\ArrayHelper as UtilitiesArrayHelper; use TrueChristianChurch\Joomla\Utilities\ArrayHelper as UtilitiesArrayHelper;
use VDM\Joomla\Utilities\ObjectHelper; use TrueChristianChurch\Joomla\Utilities\ObjectHelper;
// No direct access to this file // No direct access to this file
\defined('_JEXEC') or die; \defined('_JEXEC') or die;

View File

@ -10,7 +10,7 @@
/------------------------------------------------------------------------------------------------------------------------------------/ /------------------------------------------------------------------------------------------------------------------------------------/
@version 5.0.x @version 4.0.x
@created 22nd October, 2015 @created 22nd October, 2015
@package Sermon Distributor @package Sermon Distributor
@subpackage Manual_updaterController.php @subpackage Manual_updaterController.php

View File

@ -10,7 +10,7 @@
/------------------------------------------------------------------------------------------------------------------------------------/ /------------------------------------------------------------------------------------------------------------------------------------/
@version 5.0.x @version 4.0.x
@created 22nd October, 2015 @created 22nd October, 2015
@package Sermon Distributor @package Sermon Distributor
@subpackage PreacherController.php @subpackage PreacherController.php

View File

@ -10,7 +10,7 @@
/------------------------------------------------------------------------------------------------------------------------------------/ /------------------------------------------------------------------------------------------------------------------------------------/
@version 5.0.x @version 4.0.x
@created 22nd October, 2015 @created 22nd October, 2015
@package Sermon Distributor @package Sermon Distributor
@subpackage PreachersController.php @subpackage PreachersController.php
@ -30,8 +30,8 @@ use Joomla\Utilities\ArrayHelper;
use Joomla\CMS\Router\Route; use Joomla\CMS\Router\Route;
use Joomla\CMS\Session\Session; use Joomla\CMS\Session\Session;
use TrueChristianChurch\Component\Sermondistributor\Administrator\Helper\SermondistributorHelper; use TrueChristianChurch\Component\Sermondistributor\Administrator\Helper\SermondistributorHelper;
use VDM\Joomla\Utilities\ArrayHelper as UtilitiesArrayHelper; use TrueChristianChurch\Joomla\Utilities\ArrayHelper as UtilitiesArrayHelper;
use VDM\Joomla\Utilities\ObjectHelper; use TrueChristianChurch\Joomla\Utilities\ObjectHelper;
// No direct access to this file // No direct access to this file
\defined('_JEXEC') or die; \defined('_JEXEC') or die;

View File

@ -10,7 +10,7 @@
/------------------------------------------------------------------------------------------------------------------------------------/ /------------------------------------------------------------------------------------------------------------------------------------/
@version 5.0.x @version 4.0.x
@created 22nd October, 2015 @created 22nd October, 2015
@package Sermon Distributor @package Sermon Distributor
@subpackage SeriesController.php @subpackage SeriesController.php

View File

@ -10,7 +10,7 @@
/------------------------------------------------------------------------------------------------------------------------------------/ /------------------------------------------------------------------------------------------------------------------------------------/
@version 5.0.x @version 4.0.x
@created 22nd October, 2015 @created 22nd October, 2015
@package Sermon Distributor @package Sermon Distributor
@subpackage Series_listController.php @subpackage Series_listController.php
@ -30,8 +30,8 @@ use Joomla\Utilities\ArrayHelper;
use Joomla\CMS\Router\Route; use Joomla\CMS\Router\Route;
use Joomla\CMS\Session\Session; use Joomla\CMS\Session\Session;
use TrueChristianChurch\Component\Sermondistributor\Administrator\Helper\SermondistributorHelper; use TrueChristianChurch\Component\Sermondistributor\Administrator\Helper\SermondistributorHelper;
use VDM\Joomla\Utilities\ArrayHelper as UtilitiesArrayHelper; use TrueChristianChurch\Joomla\Utilities\ArrayHelper as UtilitiesArrayHelper;
use VDM\Joomla\Utilities\ObjectHelper; use TrueChristianChurch\Joomla\Utilities\ObjectHelper;
// No direct access to this file // No direct access to this file
\defined('_JEXEC') or die; \defined('_JEXEC') or die;

View File

@ -10,7 +10,7 @@
/------------------------------------------------------------------------------------------------------------------------------------/ /------------------------------------------------------------------------------------------------------------------------------------/
@version 5.0.x @version 4.0.x
@created 22nd October, 2015 @created 22nd October, 2015
@package Sermon Distributor @package Sermon Distributor
@subpackage SermonController.php @subpackage SermonController.php

View File

@ -10,7 +10,7 @@
/------------------------------------------------------------------------------------------------------------------------------------/ /------------------------------------------------------------------------------------------------------------------------------------/
@version 5.0.x @version 4.0.x
@created 22nd October, 2015 @created 22nd October, 2015
@package Sermon Distributor @package Sermon Distributor
@subpackage SermondistributorController.php @subpackage SermondistributorController.php

View File

@ -10,7 +10,7 @@
/------------------------------------------------------------------------------------------------------------------------------------/ /------------------------------------------------------------------------------------------------------------------------------------/
@version 5.0.x @version 4.0.x
@created 22nd October, 2015 @created 22nd October, 2015
@package Sermon Distributor @package Sermon Distributor
@subpackage SermonsController.php @subpackage SermonsController.php
@ -30,8 +30,8 @@ use Joomla\Utilities\ArrayHelper;
use Joomla\CMS\Router\Route; use Joomla\CMS\Router\Route;
use Joomla\CMS\Session\Session; use Joomla\CMS\Session\Session;
use TrueChristianChurch\Component\Sermondistributor\Administrator\Helper\SermondistributorHelper; use TrueChristianChurch\Component\Sermondistributor\Administrator\Helper\SermondistributorHelper;
use VDM\Joomla\Utilities\ArrayHelper as UtilitiesArrayHelper; use TrueChristianChurch\Joomla\Utilities\ArrayHelper as UtilitiesArrayHelper;
use VDM\Joomla\Utilities\ObjectHelper; use TrueChristianChurch\Joomla\Utilities\ObjectHelper;
// No direct access to this file // No direct access to this file
\defined('_JEXEC') or die; \defined('_JEXEC') or die;

View File

@ -10,7 +10,7 @@
/------------------------------------------------------------------------------------------------------------------------------------/ /------------------------------------------------------------------------------------------------------------------------------------/
@version 5.0.x @version 4.0.x
@created 22nd October, 2015 @created 22nd October, 2015
@package Sermon Distributor @package Sermon Distributor
@subpackage StatisticController.php @subpackage StatisticController.php

View File

@ -10,7 +10,7 @@
/------------------------------------------------------------------------------------------------------------------------------------/ /------------------------------------------------------------------------------------------------------------------------------------/
@version 5.0.x @version 4.0.x
@created 22nd October, 2015 @created 22nd October, 2015
@package Sermon Distributor @package Sermon Distributor
@subpackage StatisticsController.php @subpackage StatisticsController.php
@ -30,8 +30,8 @@ use Joomla\Utilities\ArrayHelper;
use Joomla\CMS\Router\Route; use Joomla\CMS\Router\Route;
use Joomla\CMS\Session\Session; use Joomla\CMS\Session\Session;
use TrueChristianChurch\Component\Sermondistributor\Administrator\Helper\SermondistributorHelper; use TrueChristianChurch\Component\Sermondistributor\Administrator\Helper\SermondistributorHelper;
use VDM\Joomla\Utilities\ArrayHelper as UtilitiesArrayHelper; use TrueChristianChurch\Joomla\Utilities\ArrayHelper as UtilitiesArrayHelper;
use VDM\Joomla\Utilities\ObjectHelper; use TrueChristianChurch\Joomla\Utilities\ObjectHelper;
// No direct access to this file // No direct access to this file
\defined('_JEXEC') or die; \defined('_JEXEC') or die;

View File

@ -10,7 +10,7 @@
/------------------------------------------------------------------------------------------------------------------------------------/ /------------------------------------------------------------------------------------------------------------------------------------/
@version 5.0.x @version 4.0.x
@created 22nd October, 2015 @created 22nd October, 2015
@package Sermon Distributor @package Sermon Distributor
@subpackage SermondistributorComponent.php @subpackage SermondistributorComponent.php

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