Major upgrade to Dropbox integration to that it will work more effectively. Added UIKIT-3 to the site views. Removed cache from site views to insure that site cache will work, resolving gh-24 and fixed gh-15.

This commit is contained in:
Llewellyn van der Merwe 2018-03-03 18:43:27 +02:00
parent 5a99913cb7
commit 529afcfe8b
No known key found for this signature in database
GPG Key ID: CAD7B16D27AF28C5
678 changed files with 51849 additions and 12338 deletions

View File

@ -1,4 +1,4 @@
# Sermon Distributor (1.4.1)
# Sermon Distributor (2.0.x)
![Sermon Distributor image](https://raw.githubusercontent.com/SermonDistributor/Joomla-3-Component/master/admin/assets/images/vdm-component.jpg "The Sermon Distributor")
@ -23,32 +23,32 @@ 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)
+ *Name*: [Sermon Distributor](https://www.vdm.io/)
+ *First Build*: 22nd October, 2015
+ *Last Build*: 24th August, 2017
+ *Version*: 1.4.1
+ *Last Build*: 3rd March, 2018
+ *Version*: 2.0.x
+ *Copyright*: Copyright (C) 2015. All Rights Reserved
+ *License*: GNU/GPL Version 2 or later - http://www.gnu.org/licenses/gpl-2.0.html
## Build Time :hourglass:
**177 Hours** or **22 Eight Hour Days** (actual time the author saved -
**180 Hours** or **23 Eight Hour Days** (actual time the author saved -
due to [Automated Component Builder](https://www.vdm.io/joomla-component-builder))
> (if creating a folder and file took **5 seconds** and writing one line of code took **10 seconds**,
> never making one mistake or taking any coffee break.)
+ *Line count*: **63481**
+ *File count*: **443**
+ *Folder count*: **90**
+ *Line count*: **64404**
+ *File count*: **451**
+ *Folder count*: **93**
**117 Hours** or **15 Eight Hour Days** (the actual time the author spent)
**118 Hours** or **14 Eight Hour Days** (the actual time the author spent)
> (with the following break down:
> **debugging @44hours** = codingtime / 4;
> **planning @25hours** = codingtime / 7;
> **debugging @45hours** = codingtime / 4;
> **planning @26hours** = codingtime / 7;
> **mapping @18hours** = codingtime / 10;
> **office @30hours** = codingtime / 6;)
**294 Hours** or **37 Eight Hour Days**
**298 Hours** or **37 Eight Hour Days**
(a total of the realistic time frame for this project)
> (if creating a folder and file took **5 seconds** and writing one line of code took **10 seconds**,
@ -63,5 +63,5 @@ Project duration: **7.4 weeks** or **1.5 months**
Come on buy me a coffee :)
* PayPal: [paypal.me/payvdm](https://www.paypal.me/payvdm)
* Bitcoin: 1FLxiT6wyxgZ3boeviLkYJ1DRpp41uzpxa
* Ethereum: 0x243392daa3c9c8bc841fcacf7c7f72541cb16823
* Bitcoin: 18vURxYpPFjvNk8BnUy1ovCAyQmY3MzkSf
* Ethereum: 0x9548144662b47327c954f3e214edb96662d51218

View File

@ -1,4 +1,4 @@
# Sermon Distributor (1.4.1)
# Sermon Distributor (2.0.x)
![Sermon Distributor image](https://raw.githubusercontent.com/SermonDistributor/Joomla-3-Component/master/admin/assets/images/vdm-component.jpg "The Sermon Distributor")
@ -23,32 +23,32 @@ 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)
+ *Name*: [Sermon Distributor](https://www.vdm.io/)
+ *First Build*: 22nd October, 2015
+ *Last Build*: 24th August, 2017
+ *Version*: 1.4.1
+ *Last Build*: 3rd March, 2018
+ *Version*: 2.0.x
+ *Copyright*: Copyright (C) 2015. All Rights Reserved
+ *License*: GNU/GPL Version 2 or later - http://www.gnu.org/licenses/gpl-2.0.html
## Build Time :hourglass:
**177 Hours** or **22 Eight Hour Days** (actual time the author saved -
**180 Hours** or **23 Eight Hour Days** (actual time the author saved -
due to [Automated Component Builder](https://www.vdm.io/joomla-component-builder))
> (if creating a folder and file took **5 seconds** and writing one line of code took **10 seconds**,
> never making one mistake or taking any coffee break.)
+ *Line count*: **63481**
+ *File count*: **443**
+ *Folder count*: **90**
+ *Line count*: **64404**
+ *File count*: **451**
+ *Folder count*: **93**
**117 Hours** or **15 Eight Hour Days** (the actual time the author spent)
**118 Hours** or **14 Eight Hour Days** (the actual time the author spent)
> (with the following break down:
> **debugging @44hours** = codingtime / 4;
> **planning @25hours** = codingtime / 7;
> **debugging @45hours** = codingtime / 4;
> **planning @26hours** = codingtime / 7;
> **mapping @18hours** = codingtime / 10;
> **office @30hours** = codingtime / 6;)
**294 Hours** or **37 Eight Hour Days**
**298 Hours** or **37 Eight Hour Days**
(a total of the realistic time frame for this project)
> (if creating a folder and file took **5 seconds** and writing one line of code took **10 seconds**,
@ -63,5 +63,5 @@ Project duration: **7.4 weeks** or **1.5 months**
Come on buy me a coffee :)
* PayPal: [paypal.me/payvdm](https://www.paypal.me/payvdm)
* Bitcoin: 1FLxiT6wyxgZ3boeviLkYJ1DRpp41uzpxa
* Ethereum: 0x243392daa3c9c8bc841fcacf7c7f72541cb16823
* Bitcoin: 18vURxYpPFjvNk8BnUy1ovCAyQmY3MzkSf
* Ethereum: 0x9548144662b47327c954f3e214edb96662d51218

View File

@ -26,21 +26,10 @@
<action name="external_source.dashboard_list" title="COM_SERMONDISTRIBUTOR_EXTERNAL_SOURCES_DASHBOARD_LIST" description="COM_SERMONDISTRIBUTOR_EXTERNAL_SOURCES_DASHBOARD_LIST_DESC" />
<action name="external_source.delete" title="COM_SERMONDISTRIBUTOR_EXTERNAL_SOURCES_DELETE" description="COM_SERMONDISTRIBUTOR_EXTERNAL_SOURCES_DELETE_DESC" />
<action name="external_source.edit" title="COM_SERMONDISTRIBUTOR_EXTERNAL_SOURCES_EDIT" description="COM_SERMONDISTRIBUTOR_EXTERNAL_SOURCES_EDIT_DESC" />
<action name="external_source.edit.build" title="COM_SERMONDISTRIBUTOR_EXTERNAL_SOURCES_EDIT_BUILD" description="COM_SERMONDISTRIBUTOR_EXTERNAL_SOURCES_EDIT_BUILD_DESC" />
<action name="external_source.edit.created_by" title="COM_SERMONDISTRIBUTOR_EXTERNAL_SOURCES_EDIT_CREATED_BY" description="COM_SERMONDISTRIBUTOR_EXTERNAL_SOURCES_EDIT_CREATED_BY_DESC" />
<action name="external_source.edit.created" title="COM_SERMONDISTRIBUTOR_EXTERNAL_SOURCES_EDIT_CREATED_DATE" description="COM_SERMONDISTRIBUTOR_EXTERNAL_SOURCES_EDIT_CREATED_DATE_DESC" />
<action name="external_source.edit.description" title="COM_SERMONDISTRIBUTOR_EXTERNAL_SOURCES_EDIT_DESCRIPTION" description="COM_SERMONDISTRIBUTOR_EXTERNAL_SOURCES_EDIT_DESCRIPTION_DESC" />
<action name="external_source.edit.dropboxoptions" title="COM_SERMONDISTRIBUTOR_EXTERNAL_SOURCES_EDIT_DROPBOXOPTIONS" description="COM_SERMONDISTRIBUTOR_EXTERNAL_SOURCES_EDIT_DROPBOXOPTIONS_DESC" />
<action name="external_source.edit.externalsources" title="COM_SERMONDISTRIBUTOR_EXTERNAL_SOURCES_EDIT_EXTERNALSOURCES" description="COM_SERMONDISTRIBUTOR_EXTERNAL_SOURCES_EDIT_EXTERNALSOURCES_DESC" />
<action name="external_source.edit.filetypes" title="COM_SERMONDISTRIBUTOR_EXTERNAL_SOURCES_EDIT_FILETYPES" description="COM_SERMONDISTRIBUTOR_EXTERNAL_SOURCES_EDIT_FILETYPES_DESC" />
<action name="external_source.edit.folder" title="COM_SERMONDISTRIBUTOR_EXTERNAL_SOURCES_EDIT_FOLDER" description="COM_SERMONDISTRIBUTOR_EXTERNAL_SOURCES_EDIT_FOLDER_DESC" />
<action name="external_source.edit.oauthtoken" title="COM_SERMONDISTRIBUTOR_EXTERNAL_SOURCES_EDIT_OAUTHTOKEN" description="COM_SERMONDISTRIBUTOR_EXTERNAL_SOURCES_EDIT_OAUTHTOKEN_DESC" />
<action name="external_source.edit.own" title="COM_SERMONDISTRIBUTOR_EXTERNAL_SOURCES_EDIT_OWN" description="COM_SERMONDISTRIBUTOR_EXTERNAL_SOURCES_EDIT_OWN_DESC" />
<action name="external_source.edit.permissiontype" title="COM_SERMONDISTRIBUTOR_EXTERNAL_SOURCES_EDIT_PERMISSIONTYPE" description="COM_SERMONDISTRIBUTOR_EXTERNAL_SOURCES_EDIT_PERMISSIONTYPE_DESC" />
<action name="external_source.edit.sharedurl" title="COM_SERMONDISTRIBUTOR_EXTERNAL_SOURCES_EDIT_SHAREDURL" description="COM_SERMONDISTRIBUTOR_EXTERNAL_SOURCES_EDIT_SHAREDURL_DESC" />
<action name="external_source.edit.state" title="COM_SERMONDISTRIBUTOR_EXTERNAL_SOURCES_EDIT_STATE" description="COM_SERMONDISTRIBUTOR_EXTERNAL_SOURCES_EDIT_STATE_DESC" />
<action name="external_source.edit.update_method" title="COM_SERMONDISTRIBUTOR_EXTERNAL_SOURCES_EDIT_UPDATE_METHOD" description="COM_SERMONDISTRIBUTOR_EXTERNAL_SOURCES_EDIT_UPDATE_METHOD_DESC" />
<action name="external_source.edit.update_timer" title="COM_SERMONDISTRIBUTOR_EXTERNAL_SOURCES_EDIT_UPDATE_TIMER" description="COM_SERMONDISTRIBUTOR_EXTERNAL_SOURCES_EDIT_UPDATE_TIMER_DESC" />
<action name="external_source.version" title="COM_SERMONDISTRIBUTOR_EXTERNAL_SOURCES_EDIT_VERSION" description="COM_SERMONDISTRIBUTOR_EXTERNAL_SOURCES_EDIT_VERSION_DESC" />
<action name="external_source.export" title="COM_SERMONDISTRIBUTOR_EXTERNAL_SOURCES_EXPORT" description="COM_SERMONDISTRIBUTOR_EXTERNAL_SOURCES_EXPORT_DESC" />
<action name="external_source.import" title="COM_SERMONDISTRIBUTOR_EXTERNAL_SOURCES_IMPORT" description="COM_SERMONDISTRIBUTOR_EXTERNAL_SOURCES_IMPORT_DESC" />
@ -83,6 +72,7 @@
<action name="manual_updater.submenu" title="COM_SERMONDISTRIBUTOR_MANUAL_UPDATER_SUBMENU" description="COM_SERMONDISTRIBUTOR_MANUAL_UPDATER_SUBMENU_DESC" />
<action name="site.preacher.access" title="COM_SERMONDISTRIBUTOR_PREACHER_ACCESS_SITE" description="COM_SERMONDISTRIBUTOR_PREACHER_ACCESS_SITE_DESC" />
<action name="preacher.access" title="COM_SERMONDISTRIBUTOR_PREACHERS_ACCESS" description="COM_SERMONDISTRIBUTOR_PREACHERS_ACCESS_DESC" />
<action name="site.preachers.access" title="COM_SERMONDISTRIBUTOR_PREACHERS_ACCESS_SITE" description="COM_SERMONDISTRIBUTOR_PREACHERS_ACCESS_SITE_DESC" />
<action name="preacher.batch" title="COM_SERMONDISTRIBUTOR_PREACHERS_BATCH_USE" description="COM_SERMONDISTRIBUTOR_PREACHERS_BATCH_USE_DESC" />
<action name="preacher.create" title="COM_SERMONDISTRIBUTOR_PREACHERS_CREATE" description="COM_SERMONDISTRIBUTOR_PREACHERS_CREATE_DESC" />
<action name="preacher.dashboard_add" title="COM_SERMONDISTRIBUTOR_PREACHERS_DASHBOARD_ADD" description="COM_SERMONDISTRIBUTOR_PREACHERS_DASHBOARD_ADD_DESC" />
@ -198,17 +188,6 @@
<action name="external_source.create" title="COM_SERMONDISTRIBUTOR_EXTERNAL_SOURCES_CREATE" description="COM_SERMONDISTRIBUTOR_EXTERNAL_SOURCES_CREATE_DESC" />
<action name="external_source.delete" title="COM_SERMONDISTRIBUTOR_EXTERNAL_SOURCES_DELETE" description="COM_SERMONDISTRIBUTOR_EXTERNAL_SOURCES_DELETE_DESC" />
<action name="external_source.access" title="COM_SERMONDISTRIBUTOR_EXTERNAL_SOURCES_ACCESS" description="COM_SERMONDISTRIBUTOR_EXTERNAL_SOURCES_ACCESS_DESC" />
<action name="external_source.edit.description" title="COM_SERMONDISTRIBUTOR_EXTERNAL_SOURCES_EDIT_DESCRIPTION" description="COM_SERMONDISTRIBUTOR_EXTERNAL_SOURCES_EDIT_DESCRIPTION_DESC" />
<action name="external_source.edit.externalsources" title="COM_SERMONDISTRIBUTOR_EXTERNAL_SOURCES_EDIT_EXTERNALSOURCES" description="COM_SERMONDISTRIBUTOR_EXTERNAL_SOURCES_EDIT_EXTERNALSOURCES_DESC" />
<action name="external_source.edit.update_method" title="COM_SERMONDISTRIBUTOR_EXTERNAL_SOURCES_EDIT_UPDATE_METHOD" description="COM_SERMONDISTRIBUTOR_EXTERNAL_SOURCES_EDIT_UPDATE_METHOD_DESC" />
<action name="external_source.edit.filetypes" title="COM_SERMONDISTRIBUTOR_EXTERNAL_SOURCES_EDIT_FILETYPES" description="COM_SERMONDISTRIBUTOR_EXTERNAL_SOURCES_EDIT_FILETYPES_DESC" />
<action name="external_source.edit.build" title="COM_SERMONDISTRIBUTOR_EXTERNAL_SOURCES_EDIT_BUILD" description="COM_SERMONDISTRIBUTOR_EXTERNAL_SOURCES_EDIT_BUILD_DESC" />
<action name="external_source.edit.dropboxoptions" title="COM_SERMONDISTRIBUTOR_EXTERNAL_SOURCES_EDIT_DROPBOXOPTIONS" description="COM_SERMONDISTRIBUTOR_EXTERNAL_SOURCES_EDIT_DROPBOXOPTIONS_DESC" />
<action name="external_source.edit.update_timer" title="COM_SERMONDISTRIBUTOR_EXTERNAL_SOURCES_EDIT_UPDATE_TIMER" description="COM_SERMONDISTRIBUTOR_EXTERNAL_SOURCES_EDIT_UPDATE_TIMER_DESC" />
<action name="external_source.edit.oauthtoken" title="COM_SERMONDISTRIBUTOR_EXTERNAL_SOURCES_EDIT_OAUTHTOKEN" description="COM_SERMONDISTRIBUTOR_EXTERNAL_SOURCES_EDIT_OAUTHTOKEN_DESC" />
<action name="external_source.edit.permissiontype" title="COM_SERMONDISTRIBUTOR_EXTERNAL_SOURCES_EDIT_PERMISSIONTYPE" description="COM_SERMONDISTRIBUTOR_EXTERNAL_SOURCES_EDIT_PERMISSIONTYPE_DESC" />
<action name="external_source.edit.sharedurl" title="COM_SERMONDISTRIBUTOR_EXTERNAL_SOURCES_EDIT_SHAREDURL" description="COM_SERMONDISTRIBUTOR_EXTERNAL_SOURCES_EDIT_SHAREDURL_DESC" />
<action name="external_source.edit.folder" title="COM_SERMONDISTRIBUTOR_EXTERNAL_SOURCES_EDIT_FOLDER" description="COM_SERMONDISTRIBUTOR_EXTERNAL_SOURCES_EDIT_FOLDER_DESC" />
<action name="external_source.version" title="COM_SERMONDISTRIBUTOR_EXTERNAL_SOURCES_EDIT_VERSION" description="COM_SERMONDISTRIBUTOR_EXTERNAL_SOURCES_EDIT_VERSION_DESC" />
</section>
<section name="local_listing">

View File

@ -9,8 +9,8 @@
|_|
/-------------------------------------------------------------------------------------------------------------------------------/
@version 1.4.1
@build 24th August, 2017
@version 2.0.x
@build 3rd March, 2018
@created 22nd October, 2015
@package Sermon Distributor
@subpackage admin.css

View File

@ -9,8 +9,8 @@
|_|
/-------------------------------------------------------------------------------------------------------------------------------/
@version 1.4.1
@build 24th August, 2017
@version 2.0.x
@build 3rd March, 2018
@created 22nd October, 2015
@package Sermon Distributor
@subpackage dashboard.css

View File

@ -9,9 +9,9 @@
|_|
/-------------------------------------------------------------------------------------------------------------------------------/
@version @update number 55 of this MVC
@build 17th July, 2017
@created 3rd November, 2016
@version 2.0.x
@build 3rd March, 2018
@created 22nd October, 2015
@package Sermon Distributor
@subpackage external_source.css
@author Llewellyn van der Merwe <https://www.vdm.io/>

View File

@ -9,9 +9,9 @@
|_|
/-------------------------------------------------------------------------------------------------------------------------------/
@version @update number 55 of this MVC
@build 17th July, 2017
@created 3rd November, 2016
@version 2.0.x
@build 3rd March, 2018
@created 22nd October, 2015
@package Sermon Distributor
@subpackage external_sources.css
@author Llewellyn van der Merwe <https://www.vdm.io/>

View File

@ -9,9 +9,9 @@
|_|
/-------------------------------------------------------------------------------------------------------------------------------/
@version @update number 20 of this MVC
@build 18th October, 2016
@created 13th July, 2015
@version 2.0.x
@build 3rd March, 2018
@created 22nd October, 2015
@package Sermon Distributor
@subpackage help_document.css
@author Llewellyn van der Merwe <https://www.vdm.io/>

View File

@ -9,9 +9,9 @@
|_|
/-------------------------------------------------------------------------------------------------------------------------------/
@version @update number 20 of this MVC
@build 18th October, 2016
@created 13th July, 2015
@version 2.0.x
@build 3rd March, 2018
@created 22nd October, 2015
@package Sermon Distributor
@subpackage help_documents.css
@author Llewellyn van der Merwe <https://www.vdm.io/>

View File

@ -9,9 +9,9 @@
|_|
/-------------------------------------------------------------------------------------------------------------------------------/
@version @update number 11 of this MVC
@build 31st March, 2017
@created 20th November, 2016
@version 2.0.x
@build 3rd March, 2018
@created 22nd October, 2015
@package Sermon Distributor
@subpackage local_listing.css
@author Llewellyn van der Merwe <https://www.vdm.io/>

View File

@ -9,9 +9,9 @@
|_|
/-------------------------------------------------------------------------------------------------------------------------------/
@version @update number 11 of this MVC
@build 31st March, 2017
@created 20th November, 2016
@version 2.0.x
@build 3rd March, 2018
@created 22nd October, 2015
@package Sermon Distributor
@subpackage local_listings.css
@author Llewellyn van der Merwe <https://www.vdm.io/>

View File

@ -9,9 +9,9 @@
|_|
/-------------------------------------------------------------------------------------------------------------------------------/
@version @update number 45 of this MVC
@build 7th July, 2017
@created 4th November, 2016
@version 2.0.x
@build 3rd March, 2018
@created 22nd October, 2015
@package Sermon Distributor
@subpackage manual_updater.css
@author Llewellyn van der Merwe <https://www.vdm.io/>

View File

@ -9,8 +9,8 @@
|_|
/-------------------------------------------------------------------------------------------------------------------------------/
@version @update number 16 of this MVC
@build 4th November, 2016
@version 2.0.x
@build 3rd March, 2018
@created 22nd October, 2015
@package Sermon Distributor
@subpackage preacher.css

View File

@ -9,8 +9,8 @@
|_|
/-------------------------------------------------------------------------------------------------------------------------------/
@version @update number 16 of this MVC
@build 4th November, 2016
@version 2.0.x
@build 3rd March, 2018
@created 22nd October, 2015
@package Sermon Distributor
@subpackage preachers.css

View File

@ -9,8 +9,8 @@
|_|
/-------------------------------------------------------------------------------------------------------------------------------/
@version @update number 16 of this MVC
@build 4th November, 2016
@version 2.0.x
@build 3rd March, 2018
@created 22nd October, 2015
@package Sermon Distributor
@subpackage series.css

View File

@ -9,8 +9,8 @@
|_|
/-------------------------------------------------------------------------------------------------------------------------------/
@version @update number 16 of this MVC
@build 4th November, 2016
@version 2.0.x
@build 3rd March, 2018
@created 22nd October, 2015
@package Sermon Distributor
@subpackage series_list.css

View File

@ -9,8 +9,8 @@
|_|
/-------------------------------------------------------------------------------------------------------------------------------/
@version @update number 90 of this MVC
@build 24th August, 2017
@version 2.0.x
@build 3rd March, 2018
@created 22nd October, 2015
@package Sermon Distributor
@subpackage sermon.css

View File

@ -9,8 +9,8 @@
|_|
/-------------------------------------------------------------------------------------------------------------------------------/
@version @update number 90 of this MVC
@build 24th August, 2017
@version 2.0.x
@build 3rd March, 2018
@created 22nd October, 2015
@package Sermon Distributor
@subpackage sermons.css

View File

@ -9,9 +9,9 @@
|_|
/-------------------------------------------------------------------------------------------------------------------------------/
@version @update number 9 of this MVC
@build 9th July, 2017
@created 29th October, 2015
@version 2.0.x
@build 3rd March, 2018
@created 22nd October, 2015
@package Sermon Distributor
@subpackage statistic.css
@author Llewellyn van der Merwe <https://www.vdm.io/>

View File

@ -9,9 +9,9 @@
|_|
/-------------------------------------------------------------------------------------------------------------------------------/
@version @update number 9 of this MVC
@build 9th July, 2017
@created 29th October, 2015
@version 2.0.x
@build 3rd March, 2018
@created 22nd October, 2015
@package Sermon Distributor
@subpackage statistics.css
@author Llewellyn van der Merwe <https://www.vdm.io/>

View File

@ -0,0 +1,25 @@
/*--------------------------------------------------------------------------------------------------------| www.vdm.io |------/
__ __ _ _____ _ _ __ __ _ _ _
\ \ / / | | | __ \ | | | | | \/ | | | | | | |
\ \ / /_ _ ___| |_ | | | | _____ _____| | ___ _ __ _ __ ___ ___ _ __ | |_ | \ / | ___| |_| |__ ___ __| |
\ \/ / _` / __| __| | | | |/ _ \ \ / / _ \ |/ _ \| '_ \| '_ ` _ \ / _ \ '_ \| __| | |\/| |/ _ \ __| '_ \ / _ \ / _` |
\ / (_| \__ \ |_ | |__| | __/\ V / __/ | (_) | |_) | | | | | | __/ | | | |_ | | | | __/ |_| | | | (_) | (_| |
\/ \__,_|___/\__| |_____/ \___| \_/ \___|_|\___/| .__/|_| |_| |_|\___|_| |_|\__| |_| |_|\___|\__|_| |_|\___/ \__,_|
| |
|_|
/-------------------------------------------------------------------------------------------------------------------------------/
@version 2.0.x
@build 3rd March, 2018
@created 22nd October, 2015
@package Sermon Distributor
@subpackage admin.js
@author Llewellyn van der Merwe <https://www.vdm.io/>
@copyright Copyright (C) 2015. All Rights Reserved
@license GNU/GPL Version 2 or later - http://www.gnu.org/licenses/gpl-2.0.html
A sermon distributor that links to Dropbox.
/-----------------------------------------------------------------------------------------------------------------------------*/
/* JS Document */

File diff suppressed because it is too large Load Diff

View File

@ -10,8 +10,8 @@
|_|
/-------------------------------------------------------------------------------------------------------------------------------/
@version 1.4.1
@build 24th August, 2017
@version 2.0.x
@build 3rd March, 2018
@created 22nd October, 2015
@package Sermon Distributor
@subpackage controller.php
@ -85,8 +85,10 @@ class SermondistributorController extends JControllerLegacy
protected function getViewRelation($view)
{
// check the we have a value
if (SermondistributorHelper::checkString($view))
{
// the view relationships
$views = array(
'preacher' => 'preachers',
'sermon' => 'sermons',
@ -97,13 +99,15 @@ class SermondistributorController extends JControllerLegacy
'help_document' => 'help_documents'
);
// check if this is a list view
if (in_array($view,$views))
if (in_array($view, $views))
{
// this is a list view
return array('edit' => false, 'view' => array_search($view,$views), 'views' => $view);
}
// check if it is an edit view
elseif (array_key_exists($view,$views))
elseif (array_key_exists($view, $views))
{
// this is a edit view
return array('edit' => true, 'view' => $view, 'views' => $views[$view]);
}
}

View File

@ -10,8 +10,8 @@
|_|
/-------------------------------------------------------------------------------------------------------------------------------/
@version 1.4.1
@build 24th August, 2017
@version 2.0.x
@build 3rd March, 2018
@created 22nd October, 2015
@package Sermon Distributor
@subpackage ajax.json.php
@ -42,12 +42,12 @@ class SermondistributorControllerAjax extends JControllerLegacy
JResponse::setHeader('Content-Disposition','attachment;filename="getajax.json"');
JResponse::setHeader("Access-Control-Allow-Origin", "*");
// load the tasks
$this->registerTask('theQueue', 'ajax');
$this->registerTask('updateLocalListingExternal', 'ajax');
$this->registerTask('isNew', 'ajax');
$this->registerTask('isRead', 'ajax');
$this->registerTask('getBuildTable', 'ajax');
$this->registerTask('getSourceStatus', 'ajax');
$this->registerTask('getCronPath', 'ajax');
$this->registerTask('updateLocalListingExternal', 'ajax');
}
public function ajax()
@ -62,87 +62,6 @@ class SermondistributorControllerAjax extends JControllerLegacy
$task = $this->getTask();
switch($task)
{
case 'theQueue':
try
{
$returnRaw = $jinput->get('raw', false, 'BOOLEAN');
$listValue = $jinput->get('list', NULL, 'INT');
$tarValue = $jinput->get('tar', NULL, 'INT');
$typeValue = $jinput->get('type', NULL, 'INT');
if($listValue && $tarValue && $typeValue)
{
$result = $this->getModel('ajax')->theQueue($listValue, $tarValue, $typeValue);
}
else
{
$result = false;
}
if($callback = $jinput->get('callback', null, 'CMD'))
{
echo $callback . "(".json_encode($result).");";
}
elseif($returnRaw)
{
echo json_encode($result);
}
else
{
echo "(".json_encode($result).");";
}
}
catch(Exception $e)
{
if($callback = $jinput->get('callback', null, 'CMD'))
{
echo $callback."(".json_encode($e).");";
}
else
{
echo "(".json_encode($e).");";
}
}
break;
case 'updateLocalListingExternal':
try
{
$returnRaw = $jinput->get('raw', false, 'BOOLEAN');
$idValue = $jinput->get('id', NULL, 'INT');
$targetValue = $jinput->get('target', NULL, 'INT');
$typeValue = $jinput->get('type', NULL, 'INT');
$sleutelValue = $jinput->get('sleutel', NULL, 'CMD');
if($idValue && $targetValue && $typeValue && $sleutelValue && $user->id != 0)
{
$result = $this->getModel('ajax')->updateLocalListingExternal($idValue, $targetValue, $typeValue, $sleutelValue);
}
else
{
$result = false;
}
if($callback = $jinput->get('callback', null, 'CMD'))
{
echo $callback . "(".json_encode($result).");";
}
elseif($returnRaw)
{
echo json_encode($result);
}
else
{
echo "(".json_encode($result).");";
}
}
catch(Exception $e)
{
if($callback = $jinput->get('callback', null, 'CMD'))
{
echo $callback."(".json_encode($e).");";
}
else
{
echo "(".json_encode($e).");";
}
}
break;
case 'isNew':
try
{
@ -296,6 +215,85 @@ class SermondistributorControllerAjax extends JControllerLegacy
}
}
break;
case 'getCronPath':
try
{
$returnRaw = $jinput->get('raw', false, 'BOOLEAN');
$getTypeValue = $jinput->get('getType', NULL, 'WORD');
if($getTypeValue && $user->id != 0)
{
$result = $this->getModel('ajax')->getCronPath($getTypeValue);
}
else
{
$result = false;
}
if($callback = $jinput->get('callback', null, 'CMD'))
{
echo $callback . "(".json_encode($result).");";
}
elseif($returnRaw)
{
echo json_encode($result);
}
else
{
echo "(".json_encode($result).");";
}
}
catch(Exception $e)
{
if($callback = $jinput->get('callback', null, 'CMD'))
{
echo $callback."(".json_encode($e).");";
}
else
{
echo "(".json_encode($e).");";
}
}
break;
case 'updateLocalListingExternal':
try
{
$returnRaw = $jinput->get('raw', false, 'BOOLEAN');
$idValue = $jinput->get('id', NULL, 'INT');
$targetValue = $jinput->get('target', NULL, 'INT');
$typeValue = $jinput->get('type', NULL, 'INT');
$sleutelValue = $jinput->get('sleutel', NULL, 'CMD');
if($idValue && $targetValue && $typeValue && $sleutelValue && $user->id != 0)
{
$result = $this->getModel('ajax')->updateLocalListingExternal($idValue, $targetValue, $typeValue, $sleutelValue);
}
else
{
$result = false;
}
if($callback = $jinput->get('callback', null, 'CMD'))
{
echo $callback . "(".json_encode($result).");";
}
elseif($returnRaw)
{
echo json_encode($result);
}
else
{
echo "(".json_encode($result).");";
}
}
catch(Exception $e)
{
if($callback = $jinput->get('callback', null, 'CMD'))
{
echo $callback."(".json_encode($e).");";
}
else
{
echo "(".json_encode($e).");";
}
}
break;
}
}
else

View File

@ -10,9 +10,9 @@
|_|
/-------------------------------------------------------------------------------------------------------------------------------/
@version @update number 55 of this MVC
@build 17th July, 2017
@created 3rd November, 2016
@version 2.0.x
@build 3rd March, 2018
@created 22nd October, 2015
@package Sermon Distributor
@subpackage external_source.php
@author Llewellyn van der Merwe <https://www.vdm.io/>

View File

@ -10,9 +10,9 @@
|_|
/-------------------------------------------------------------------------------------------------------------------------------/
@version @update number 55 of this MVC
@build 17th July, 2017
@created 3rd November, 2016
@version 2.0.x
@build 3rd March, 2018
@created 22nd October, 2015
@package Sermon Distributor
@subpackage external_sources.php
@author Llewellyn van der Merwe <https://www.vdm.io/>

View File

@ -10,8 +10,8 @@
|_|
/-------------------------------------------------------------------------------------------------------------------------------/
@version 1.4.1
@build 24th August, 2017
@version 2.0.x
@build 3rd March, 2018
@created 22nd October, 2015
@package Sermon Distributor
@subpackage help.php
@ -48,7 +48,8 @@ class SermondistributorControllerHelp extends JControllerLegacy
// Check Token!
$token = JSession::getFormToken();
$call_token = $jinput->get('token', 0, 'ALNUM');
if($user->id != 0 && $token == $call_token){
if($user->id != 0 && $token == $call_token)
{
$task = $this->getTask();
switch($task){
case 'getText':

View File

@ -10,9 +10,9 @@
|_|
/-------------------------------------------------------------------------------------------------------------------------------/
@version @update number 20 of this MVC
@build 18th October, 2016
@created 13th July, 2015
@version 2.0.x
@build 3rd March, 2018
@created 22nd October, 2015
@package Sermon Distributor
@subpackage help_document.php
@author Llewellyn van der Merwe <https://www.vdm.io/>

View File

@ -10,9 +10,9 @@
|_|
/-------------------------------------------------------------------------------------------------------------------------------/
@version @update number 20 of this MVC
@build 18th October, 2016
@created 13th July, 2015
@version 2.0.x
@build 3rd March, 2018
@created 22nd October, 2015
@package Sermon Distributor
@subpackage help_documents.php
@author Llewellyn van der Merwe <https://www.vdm.io/>

View File

@ -10,8 +10,8 @@
|_|
/-------------------------------------------------------------------------------------------------------------------------------/
@version 1.4.1
@build 24th August, 2017
@version 2.0.x
@build 3rd March, 2018
@created 22nd October, 2015
@package Sermon Distributor
@subpackage import.php

View File

@ -10,9 +10,9 @@
|_|
/-------------------------------------------------------------------------------------------------------------------------------/
@version @update number 11 of this MVC
@build 31st March, 2017
@created 20th November, 2016
@version 2.0.x
@build 3rd March, 2018
@created 22nd October, 2015
@package Sermon Distributor
@subpackage local_listing.php
@author Llewellyn van der Merwe <https://www.vdm.io/>

View File

@ -10,9 +10,9 @@
|_|
/-------------------------------------------------------------------------------------------------------------------------------/
@version @update number 11 of this MVC
@build 31st March, 2017
@created 20th November, 2016
@version 2.0.x
@build 3rd March, 2018
@created 22nd October, 2015
@package Sermon Distributor
@subpackage local_listings.php
@author Llewellyn van der Merwe <https://www.vdm.io/>

View File

@ -10,9 +10,9 @@
|_|
/-------------------------------------------------------------------------------------------------------------------------------/
@version @update number 45 of this MVC
@build 7th July, 2017
@created 4th November, 2016
@version 2.0.x
@build 3rd March, 2018
@created 22nd October, 2015
@package Sermon Distributor
@subpackage manual_updater.php
@author Llewellyn van der Merwe <https://www.vdm.io/>

View File

@ -10,8 +10,8 @@
|_|
/-------------------------------------------------------------------------------------------------------------------------------/
@version @update number 16 of this MVC
@build 4th November, 2016
@version 2.0.x
@build 3rd March, 2018
@created 22nd October, 2015
@package Sermon Distributor
@subpackage preacher.php

View File

@ -10,8 +10,8 @@
|_|
/-------------------------------------------------------------------------------------------------------------------------------/
@version @update number 16 of this MVC
@build 4th November, 2016
@version 2.0.x
@build 3rd March, 2018
@created 22nd October, 2015
@package Sermon Distributor
@subpackage preachers.php

View File

@ -10,8 +10,8 @@
|_|
/-------------------------------------------------------------------------------------------------------------------------------/
@version @update number 16 of this MVC
@build 4th November, 2016
@version 2.0.x
@build 3rd March, 2018
@created 22nd October, 2015
@package Sermon Distributor
@subpackage series.php

View File

@ -10,8 +10,8 @@
|_|
/-------------------------------------------------------------------------------------------------------------------------------/
@version @update number 16 of this MVC
@build 4th November, 2016
@version 2.0.x
@build 3rd March, 2018
@created 22nd October, 2015
@package Sermon Distributor
@subpackage series_list.php

View File

@ -10,8 +10,8 @@
|_|
/-------------------------------------------------------------------------------------------------------------------------------/
@version @update number 90 of this MVC
@build 24th August, 2017
@version 2.0.x
@build 3rd March, 2018
@created 22nd October, 2015
@package Sermon Distributor
@subpackage sermon.php

View File

@ -10,8 +10,8 @@
|_|
/-------------------------------------------------------------------------------------------------------------------------------/
@version 1.4.1
@build 24th August, 2017
@version 2.0.x
@build 3rd March, 2018
@created 22nd October, 2015
@package Sermon Distributor
@subpackage sermondistributor.php

View File

@ -10,8 +10,8 @@
|_|
/-------------------------------------------------------------------------------------------------------------------------------/
@version @update number 90 of this MVC
@build 24th August, 2017
@version 2.0.x
@build 3rd March, 2018
@created 22nd October, 2015
@package Sermon Distributor
@subpackage sermons.php

View File

@ -10,9 +10,9 @@
|_|
/-------------------------------------------------------------------------------------------------------------------------------/
@version @update number 9 of this MVC
@build 9th July, 2017
@created 29th October, 2015
@version 2.0.x
@build 3rd March, 2018
@created 22nd October, 2015
@package Sermon Distributor
@subpackage statistic.php
@author Llewellyn van der Merwe <https://www.vdm.io/>

View File

@ -10,9 +10,9 @@
|_|
/-------------------------------------------------------------------------------------------------------------------------------/
@version @update number 9 of this MVC
@build 9th July, 2017
@created 29th October, 2015
@version 2.0.x
@build 3rd March, 2018
@created 22nd October, 2015
@package Sermon Distributor
@subpackage statistics.php
@author Llewellyn van der Merwe <https://www.vdm.io/>

View File

@ -10,8 +10,8 @@
|_|
/-------------------------------------------------------------------------------------------------------------------------------/
@version 1.4.1
@build 24th August, 2017
@version 2.0.x
@build 3rd March, 2018
@created 22nd October, 2015
@package Sermon Distributor
@subpackage headercheck.php

View File

@ -10,8 +10,8 @@
|_|
/-------------------------------------------------------------------------------------------------------------------------------/
@version 1.4.1
@build 24th August, 2017
@version 2.0.x
@build 3rd March, 2018
@created 22nd October, 2015
@package Sermon Distributor
@subpackage batch_.php

View File

@ -10,8 +10,8 @@
|_|
/-------------------------------------------------------------------------------------------------------------------------------/
@version 1.4.1
@build 24th August, 2017
@version 2.0.x
@build 3rd March, 2018
@created 22nd October, 2015
@package Sermon Distributor
@subpackage sermondistributor.php
@ -32,48 +32,21 @@ defined('_JEXEC') or die('Restricted access');
abstract class SermondistributorHelper
{
/**
* The Global Admin Event Method.
**/
public static function globalEvent($document)
{
self::loadExternalUpdateAjax($document);
}
/**
* Load the External Update Ajax to page
**/
public static function loadExternalUpdateAjax($document)
{
$update = self::getNextUpdateValues(); // id, target, type
if ($update)
{
$document->addScriptDeclaration("
jQuery(window).load(function() {
theQueue(".$update.");
});
function theQueue(id, target, type) {
var getUrl = '".JURI::root()."administrator/index.php?option=com_sermondistributor&task=ajax.theQueue&format=json';
if(target > 0 && type > 0 && id > 0){
var request = 'token=".JSession::getFormToken()."&tar='+target+'&list='+id+'&type='+type;
}
return jQuery.ajax({
type: 'GET',
url: getUrl,
dataType: 'jsonp',
data: request,
jsonp: 'callback'
});
}");
}
}
/**
* The global params
**/
protected static $params = false;
/**
* Update Watcher
**/
public static $updateWatch = 1;
/**
* Update Watcher (if array is only one value)
**/
public static $updateWatch_ = 0;
/**
* The external source links auto
**/
@ -324,14 +297,24 @@ abstract class SermondistributorHelper
return true;
}
protected static function getNextUpdateValues()
public static function getNextUpdateValues($asArray = false)
{
// find the next value
$next = false;
// get actual update values
$updates = self::getExternalListingUpdateKeys();
// get last update
$updatePath = self::getFilePath('path', 'updatelast', 'txt', 'vDm', JPATH_COMPONENT_ADMINISTRATOR);
if (($lastUpdate = @file_get_contents($updatePath)) !== FALSE && self::checkArray($updates))
{
// is it time to watch
if (self::$updateWatch_ > 0)
{
// increment the watch, as this is the start of new round
self::$updateWatch++;
// new round has started
self::$updateWatch_ = 0;
}
// now check what is next
$lastKey = array_search($lastUpdate, $updates);
if (!is_null($lastKey))
@ -339,21 +322,41 @@ abstract class SermondistributorHelper
$nextKey = $lastKey + 1;
if (isset($updates[$nextKey]))
{
self::saveFile($updates[$nextKey],$updatePath);
return $updates[$nextKey];
$next = $updates[$nextKey];
}
else
{
// last item in array, so next round about to start
self::$updateWatch_++;
}
}
}
// rest and start with the first key
if (self::checkArray($updates))
if (!$next && self::checkArray($updates))
{
// save the first set
$start = reset($updates);
self::saveFile($start,$updatePath);
return $start;
$next = $start;
}
// save to file if next is found
if ($next)
{
self::writeFile($updatePath,$next);
// convert to array of needed
if ($asArray)
{
if (strpos($next, ',') !== false)
{
$next = array_map('trim', explode(',', $next));
}
else
{
return false;
}
}
}
return $next;
}
/**
* Get the file path or url
@ -379,7 +382,7 @@ abstract class SermondistributorHelper
// check the file path (revert to default only of not a hidden file path)
if ('hiddenfilepath' !== $target && strpos($filePath, JPATH_SITE) === false)
{
$filePath = JPATH_SITE . '/images/';
$filePath = $default;
}
jimport('joomla.filesystem.folder');
// create the folder if it does not exist
@ -389,8 +392,6 @@ abstract class SermondistributorHelper
}
// setup the file name
$fileName = '';
if (self::checkString($fileType))
{
// Get basic key
$basickey = 'Th!s_iS_n0t_sAfe_buT_b3tter_then_n0thiug';
if (method_exists(get_called_class(), "getCryptKey"))
@ -398,15 +399,22 @@ abstract class SermondistributorHelper
$basickey = self::getCryptKey('basic', $basickey);
}
// check the key
if (self::checkString($key))
if (!self::checkString($key))
{
$key = 'vDm';
}
// set the file name
if (self::checkString($fileType))
{
// set the name
$fileName = trim(md5($type.$target.$basickey.$key) . '.' . trim($fileType, '.'));
}
else
{
$fileName = trim(md5($type.$target.$basickey.$key)) . '.txt';
}
// return the url
if ($type === 'url')
if ('url' === $type)
{
if (strpos($filePath, JPATH_SITE) !== false)
{
@ -420,16 +428,42 @@ abstract class SermondistributorHelper
return '/' . trim( $filePath, '/' ) . '/' . $fileName;
}
protected static function saveFile($data,$path_filename)
/**
* Write a file to the server
*
* @param string $path The path and file name where to safe the data
* @param string $data The data to safe
*
* @return bool true On success
*
*/
public static function writeFile($path, $data)
{
$klaar = false;
if (self::checkString($data))
{
$fp = fopen($path_filename, 'w');
fwrite($fp, $data);
fclose($fp);
return true;
// open the file
$fh = fopen($path, "w");
if (!is_resource($fh))
{
return $klaar;
}
return false;
// write to the file
if (fwrite($fh, $data))
{
// has been done
$klaar = true;
}
// close file.
fclose($fh);
}
return $klaar;
}
protected static function saveFile($data, $path_filename)
{
return self::writeFile($path_filename, $data);
}
public static function getExternalListingUpdateKeys($id = null, $updateMethod = 2, $returnType = 1)
@ -896,6 +930,607 @@ abstract class SermondistributorHelper
&& ($timestamp >= ~PHP_INT_MAX);
}
/**
* Workers to load tasks
*
* @var array
*/
protected static $worker = array();
/**
* Set a worker dynamic URLs
*
* @var array
*/
protected static $workerURL = array();
/**
* Set a worker dynamic HEADERs
*
* @var array
*/
protected static $workerHEADER = array();
/**
* Curl Error Notice
*
* @var bool
*/
protected static $curlErrorLoaded = false;
/**
* Set a worker url
*
* @param string $function The function to target to perform the task
* @param string $url The url of where the task is to be performed
*
* @return void
*
*/
public static function setWorkerUrl(&$function, &$url)
{
// set the URL if found
if (self::checkString($url))
{
// make sure task function url is up
self::$workerURL[$function] = $url;
}
}
/**
* Set a worker headers
*
* @param string $function The function to target to perform the task
* @param array $headers The headers needed for these workers/function
*
* @return void
*
*/
public static function setWorkerHeaders(&$function, &$headers)
{
// set the Headers if found
if (self::checkArray($headers))
{
// make sure task function headers are set
self::$workerHEADER[$function] = $headers;
}
}
/**
* Set a worker that needs to perform a task
*
* @param mixed $data The data to pass to the task
* @param string $function The function to target to perform the task
* @param string $url The url of where the task is to be performed
* @param array $headers The headers needed for these workers/function
*
* @return void
*
*/
public static function setWorker($data, $function, $url = null, $headers = null)
{
// make sure task function is up
if (!isset(self::$worker[$function]))
{
self::$worker[$function] = array();
}
// load the task
self::$worker[$function][] = self::lock($data);
// set the Headers if found
if ($headers && !isset(self::$workerHEADER[$function]))
{
self::setWorkerHeaders($function, $headers);
}
// set the URL if found
if ($url && !isset(self::$workerURL[$function]))
{
self::setWorkerUrl($function, $url);
}
}
/**
* Run set Workers
*
* @param string $function The function to target to perform the task
* @param string $perTask The amount of task per worker
* @param function $callback The option to do a call back when task is completed
* @param int $threadSize The size of the thread
*
* @return bool true On success
*
*/
public static function runWorker($function, $perTask = 50, $callback = null, $threadSize = 20)
{
// set task
$task = self::lock($function);
// build headers
$headers = array('VDM-TASK: ' .$task);
// build dynamic headers
if (isset(self::$workerHEADER[$function]) && self::checkArray(self::$workerHEADER[$function]))
{
foreach (self::$workerHEADER[$function] as $header)
{
$headers[] = $header;
}
}
// build worker options
$options = array();
// make sure worker is up
if (isset(self::$worker[$function]) && self::checkArray(self::$worker[$function]))
{
// this load method is for each
if (1 == $perTask)
{
// working with a string = 1
$headers[] = 'VDM-VALUE-TYPE: ' .self::lock(1);
// now load the options
foreach (self::$worker[$function] as $data)
{
$options[] = array(CURLOPT_HTTPHEADER => $headers, CURLOPT_POST => 1, CURLOPT_POSTFIELDS => 'VDM_DATA='. $data);
}
}
// this load method is for bundles
else
{
// working with an array = 2
$headers[] = 'VDM-VALUE-TYPE: ' .self::lock(2);
// now load the options
$work = array_chunk(self::$worker[$function], $perTask);
foreach ($work as $data)
{
$options[] = array(CURLOPT_HTTPHEADER => $headers, CURLOPT_POST => 1, CURLOPT_POSTFIELDS => 'VDM_DATA='. implode('___VDM___', $data));
}
}
// relieve worker of task/function
self::$worker[$function] = array();
}
// do the execution
if (self::checkArray($options))
{
if (isset(self::$workerURL[$function]))
{
$url = self::$workerURL[$function];
}
else
{
$url = JURI::root() . '/index.php?option=com_sermondistributor&task=api.worker';
}
return self::curlMultiExec($url, $options, $callback, $threadSize);
}
return false;
}
/**
* Do a multi curl execution of tasks
*
* @param string $url The url of where the task is to be performed
* @param array $_options The array of curl options/headers to set
* @param function $callback The option to do a call back when task is completed
* @param int $threadSize The size of the thread
*
* @return bool true On success
*
*/
public static function curlMultiExec(&$url, &$_options, $callback = null, $threadSize = 20)
{
// make sure we have curl available
if (!function_exists('curl_version'))
{
if (!self::$curlErrorLoaded)
{
// set the notice
JFactory::getApplication()->enqueueMessage(JText::_('COM_SERMONDISTRIBUTOR_HTWOCURL_NOT_FOUNDHTWOPPLEASE_SETUP_CURL_ON_YOUR_SYSTEM_OR_BSERMONDISTRIBUTORB_WILL_NOT_FUNCTION_CORRECTLYP'), 'Error');
// load the notice only once
self::$curlErrorLoaded = true;
}
return false;
}
// make sure we have an url
if (self::checkString($url))
{
// make sure the thread size isn't greater than the # of _options
$threadSize = (count($_options) < $threadSize) ? count($_options) : $threadSize;
// set the options
$options = array();
$options[CURLOPT_URL] = $url;
$options[CURLOPT_USERAGENT] = 'Mozilla/5.0 (Windows; U; Windows NT 6.1; en-US; rv:1.9.2.12) Gecko/20101026 Firefox/3.6.12';
$options[CURLOPT_RETURNTRANSFER] = TRUE;
$options[CURLOPT_SSL_VERIFYPEER] = FALSE;
// start multi threading :)
$handle = curl_multi_init();
// start the first batch of requests
for ($i = 0; $i < $threadSize; $i++)
{
if (isset($_options[$i]))
{
$ch = curl_init();
foreach ($_options[$i] as $curlopt => $string)
{
$options[$curlopt] = $string;
}
curl_setopt_array($ch, $options);
curl_multi_add_handle($handle, $ch);
}
}
// we wait for all the calls to finish (should not take long)
do {
while(($execrun = curl_multi_exec($handle, $working)) == CURLM_CALL_MULTI_PERFORM);
if($execrun != CURLM_OK)
break;
// a request was just completed -- find out which one
while($done = curl_multi_info_read($handle))
{
if (is_callable($callback))
{
// $info = curl_getinfo($done['handle']);
// request successful. process output using the callback function.
$output = curl_multi_getcontent($done['handle']);
$callback($output);
}
$key = $i + 1;
if(isset($_options[$key]))
{
// start a new request (it's important to do this before removing the old one)
$ch = curl_init(); $i++;
// add options
foreach ($_options[$key] as $curlopt => $string)
{
$options[$curlopt] = $string;
}
curl_setopt_array($ch, $options);
curl_multi_add_handle($handle, $ch);
// remove options again
foreach ($_options[$key] as $curlopt => $string)
{
unset($options[$curlopt]);
}
}
// remove the curl handle that just completed
curl_multi_remove_handle($handle, $done['handle']);
}
// stop wasting CPU cycles and rest for a couple ms
usleep(10000);
} while ($working);
// close the curl multi thread
curl_multi_close($handle);
// okay done
return true;
}
return false;
}
/**
* the locker
*
* @var array
**/
protected static $locker = array();
/**
* the dynamic replacement salt
*
* @var array
**/
protected static $globalSalt = array();
/**
* the timer
*
* @var object
**/
protected static $keytimer;
/**
* To Lock string
*
* @param string $string The string/array to lock
* @param string $key The custom key to use
* @param int $salt The switch to add salt and type of salt
* @param int $dynamic The dynamic replacement array of salt build string
* @param int $urlencode The switch to control url encoding
**/
public static function lock($string, $key = null, $salt = 2, $dynamic = null, $urlencode = true)
{
// get the global settings
if (!$key || !self::checkString($key))
{
// set temp timer
$timer = 2;
// if we have a timer use it
if ($salt > 0)
{
$timer = $salt;
}
if (method_exists(get_called_class(), "getCryptKey"))
{
$key = self::getCryptKey('basic', self::salt($timer, $dynamic));
}
else
{
$key = self::salt($timer, $dynamic);
}
}
// check if we have a salt timer
if ($salt > 0)
{
$key .= self::salt($salt, $dynamic);
}
// get the locker settings
if (!isset(self::$locker[$key]) || !self::checkObject(self::$locker[$key]))
{
self::$locker[$key] = new FOFEncryptAes($key, 128);
}
// convert array to string
if (self::checkArray($string))
{
$string = serialize($string);
}
// prep for url
if ($urlencode)
{
return self::base64_urlencode(self::$locker[$key]->encryptString($string));
}
return self::$locker[$key]->encryptString($string);
}
/**
* To un-Lock string
*
* @param string $string The string to unlock
* @param string $key The custom key to use
* @param int $salt The switch to add salt and type of salt
* @param int $dynamic The dynamic replacement array of salt build string
* @param int $urlencode The switch to control url decoding
**/
public static function unlock($string, $key = null, $salt = 2, $dynamic = null, $urlencode = true)
{
// get the global settings
if (!$key || !self::checkString($key))
{
// set temp timer
$timer = 2;
// if we have a timer use it
if ($salt > 0)
{
$timer = $salt;
}
// get secure key
if (method_exists(get_called_class(), "getCryptKey"))
{
$key = self::getCryptKey('basic', self::salt($timer, $dynamic));
}
else
{
$key = self::salt($timer, $dynamic);
}
}
// check if we have a salt timer
if ($salt > 0)
{
$key .= self::salt($salt, $dynamic);
}
// get the locker settings
if (!isset(self::$locker[$key]) || !self::checkObject(self::$locker[$key]))
{
self::$locker[$key] = new FOFEncryptAes($key, 128);
}
// make sure we have real base64
if ($urlencode)
{
$string = self::base64_urldecode($string);
}
// basic decrypt string.
if (!empty($string) && !is_numeric($string) && $string === base64_encode(base64_decode($string, true)))
{
$string = rtrim(self::$locker[$key]->decryptString($string), "\0");
// convert serial string to array
if (self::is_serial($string))
{
$string = unserialize($string);
}
}
return $string;
}
/**
* The Salt
*
* @param int $type The type of length the salt should be valid
* @param int $dynamic The dynamic replacement array of salt build string
**/
public static function salt($type = 1, $dynamic = null)
{
// get dynamic replacement salt
$dynamic = self::getDynamicSalt($dynamic);
// get the key timer
if (!self::checkObject(self::$keytimer))
{
// load the date time object
self::$keytimer = new DateTime;
// set the correct time stamp
$vdmLocalTime = new DateTimeZone('Africa/Windhoek');
self::$keytimer->setTimezone($vdmLocalTime);
}
// set type
if ($type == 2)
{
// hour
$format = 'Y-m-d \o\n ' . self::periodFix(self::$keytimer->format('H'));
}
elseif ($type == 3)
{
// day
$format = 'Y-m-' . self::periodFix(self::$keytimer->format('d'));
}
elseif ($type == 4)
{
// month
$format = 'Y-' . self::periodFix(self::$keytimer->format('m'));
}
else
{
// minute
$format = 'Y-m-d \o\n H:' . self::periodFix(self::$keytimer->format('i'));
}
// get key
if (self::checkArray($dynamic))
{
return md5(str_replace(array_keys($dynamic), array_values($dynamic), self::$keytimer->format($format) . ' @ VDM.I0'));
}
return md5(self::$keytimer->format($format) . ' @ VDM.I0');
}
/**
* The function to insure the salt is valid within the given period (third try)
*
* @param int $main The main number
*/
protected static function periodFix($main)
{
return round($main / 3) * 3;
}
/**
* Check if a string is serialized
* @param string $string
*/
public static function is_serial($string)
{
return (@unserialize($string) !== false);
}
/**
* Get dynamic replacement salt
*/
public static function getDynamicSalt($dynamic = null)
{
// load global if not manually set
if (!self::checkArray($dynamic))
{
return self::getGlobalSalt();
}
// return manual values if set
else
{
return $dynamic;
}
}
/**
* The random or dynamic secret salt
*/
public static function getSecretSalt($string = null, $size = 9)
{
// set the string
if (!$string)
{
// get random string
$string = self::randomkey($size);
}
// convert string to array
$string = self::safeString($string);
// convert string to array
$array = str_split($string);
// insure only unique values are used
$array = array_unique($array);
// set the size
$size = ($size <= count($array)) ? $size : count($array);
// down size the
return array_slice($array, 0, $size);
}
/**
* Get global replacement salt
*/
public static function getGlobalSalt()
{
// load from memory if found
if (!self::checkArray(self::$globalSalt))
{
// get the global settings
if (!self::checkObject(self::$params))
{
self::$params = JComponentHelper::getParams('com_sermondistributor');
}
// check if we have a global dynamic replacement array available (format --> ' 1->!,3->E,4->A')
$tmp = self::$params->get('dynamic_salt', null);
if (self::checkString($tmp) && strpos($tmp, ',') !== false && strpos($tmp, '->') !== false)
{
$salt = array_map('trim', (array) explode(',', $tmp));
if (self::checkArray($salt ))
{
foreach($salt as $replace)
{
$dynamic = array_map('trim', (array) explode('->', $replace));
if (isset($dynamic[0]) && isset($dynamic[1]))
{
self::$globalSalt[$dynamic[0]] = $dynamic[1];
}
}
}
}
}
// return global if found
if (self::checkArray(self::$globalSalt))
{
return self::$globalSalt;
}
// return default as fail safe
return array('1' => '!', '3' => 'E', '4' => 'A');
}
/**
* Close public protocol
*/
public static function closePublicProtocol($id, $public)
{
// get secret salt
$secretSalt = self::getSecretSalt(self::salt(1,array('4' => 'R','1' => 'E','2' => 'G','7' => 'J','8' => 'A')));
// get the key
$key = self::salt(1, $secretSalt);
// get secret salt
$secret = self::getSecretSalt();
// set the secret
$close['SECRET'] = self::lock($secret, $key, 1, array('1' => 's', '3' => 'R', '4' => 'D'));
// get the key
$key = self::salt(1, $secret);
// get the public key
$close['PUBLIC'] = self::lock($public, $key, 1, array('1' => '!', '3' => 'E', '4' => 'A'));
// get secret salt
$secretSalt = self::getSecretSalt($public);
// get the key
$key = self::salt(1, $secretSalt);
// get the ID
$close['ID'] = self::unlock($id, $key, 1, array('1' => 'i', '3' => 'e', '4' => 'B'));
// return closed values
return $close;
}
/**
* Open public protocol
*/
public static function openPublicProtocol($SECRET, $ID, $PUBLIC)
{
// get secret salt
$secretSalt = self::getSecretSalt(self::salt(1,array('4' => 'R','1' => 'E','2' => 'G','7' => 'J','8' => 'A')));
// get the key
$key = self::salt(1, $secretSalt);
// get the $SECRET
$SECRET = self::unlock($SECRET, $key, 1, array('1' => 's', '3' => 'R', '4' => 'D'));
// get the key
$key = self::salt(1, $SECRET);
// get the public key
$open['public'] = self::unlock($PUBLIC, $key, 1, array('1' => '!', '3' => 'E', '4' => 'A'));
// get secret salt
$secretSalt = self::getSecretSalt($open['public']);
// get the key
$key = self::salt(1, $secretSalt);
// get the ID
$open['id'] = self::unlock($ID, $key, 1, array('1' => 'i', '3' => 'e', '4' => 'B'));
// return opened values
return $open;
}
/**
* Load the Component xml manifest.
**/
@ -905,6 +1540,24 @@ abstract class SermondistributorHelper
return simplexml_load_file($manifestUrl);
}
/**
* Joomla version object
**/
protected static $JVersion;
/**
* set/get Joomla version
**/
public static function jVersion()
{
// check if set
if (!self::checkObject(self::$JVersion))
{
self::$JVersion = new JVersion();
}
return self::$JVersion;
}
/**
* Load the Contributors details.
**/
@ -1693,20 +2346,43 @@ abstract class SermondistributorHelper
/**
* Get any component's model
**/
public static function getModel($name, $path = JPATH_COMPONENT_ADMINISTRATOR, $component = 'sermondistributor')
public static function getModel($name, $path = JPATH_COMPONENT_ADMINISTRATOR, $component = 'Sermondistributor', $config = array())
{
// fix the name
$name = self::safeString($name);
// full path
$fullPath = $path . '/models';
// set prefix
$prefix = $component.'Model';
// load the model file
JModelLegacy::addIncludePath( $path . '/models' );
JModelLegacy::addIncludePath($fullPath, $prefix);
// get instance
$model = JModelLegacy::getInstance( $name, $component.'Model' );
// if model not found
$model = JModelLegacy::getInstance($name, $prefix, $config);
// if model not found (strange)
if ($model == false)
{
// build class name
$class = $prefix.$name;
// initilize the model
new $class();
$model = JModelLegacy::getInstance($name, $prefix);
jimport('joomla.filesystem.file');
// get file path
$filePath = $path.'/'.$name.'.php';
$fullPath = $fullPath.'/'.$name.'.php';
// check if it exists
if (JFile::exists($filePath))
{
// get the file
require_once $filePath;
}
elseif (JFile::exists($fullPath))
{
// get the file
require_once $fullPath;
}
// build class names
$modelClass = $prefix.$name;
if (class_exists($modelClass))
{
// initialize the model
return new $modelClass($config);
}
}
return $model;
}
@ -1898,6 +2574,31 @@ abstract class SermondistributorHelper
return false;
}
/**
* Check if we are connected
* Thanks https://stackoverflow.com/a/4860432/1429677
*
* @returns bool true on success
**/
public static function isConnected()
{
// If example.com is down, then probably the whole internet is down, since IANA maintains the domain. Right?
$connected = @fsockopen("www.example.com", 80);
// website, port (try 80 or 443)
if ($connected)
{
//action when connected
$is_conn = true;
fclose($connected);
}
else
{
//action in connection failure
$is_conn = false;
}
return $is_conn;
}
public static function mergeArrays($arrays)
{
if(self::checkArray($arrays))

View File

@ -3,12 +3,13 @@ COM_SERMONDISTRIBUTOR_ADD_THE_STRONGAPP_GENERATED_ACCESS_TOKENSTRONG_HERE="Add t
COM_SERMONDISTRIBUTOR_ADD_TOKEN_HERE="ADD TOKEN HERE!"
COM_SERMONDISTRIBUTOR_ALL_IS_GOOD_PLEASE_CHECK_AGAIN_LATTER="All is good, please check again latter."
COM_SERMONDISTRIBUTOR_ALWAYS_BETTER_TO_ADD_THE_FILES_TO_EXTERNAL_SOURCE_AND_LET_THE_SYSTEM_CREATE_THE_SERMON_FOR_YOU_PLEASE_READ_INSTRUCTIONS_BELOW_CAREFULLY="Always better to add the files to External Source and let the system create the sermon for you. Please read instructions below carefully."
COM_SERMONDISTRIBUTOR_ARCHIVED="Archived"
COM_SERMONDISTRIBUTOR_AUTHOR="Author"
COM_SERMONDISTRIBUTOR_A_FEW_CLOSED_ISSUES_FROM_GITHUB_IS_LOADING="A few closed issues from Github is loading"
COM_SERMONDISTRIBUTOR_A_FEW_OPEN_ISSUES_FROM_GITHUB_IS_LOADING="A few open issues from Github is loading"
COM_SERMONDISTRIBUTOR_BACK="Back"
COM_SERMONDISTRIBUTOR_BCOULD_NOT_USE_THE_GIVEN_TOKEN_OR_THE_GIVEN_BUILD_OPTION_DOES_NOT_EXISTB="<b>Could not use the given token, or the given build option does not exist.</b>"
COM_SERMONDISTRIBUTOR_BTHERE_WAS_AN_ERRORB="<b>There was an error!</b>"
COM_SERMONDISTRIBUTOR_BETA_RELEASE="Beta Release"
COM_SERMONDISTRIBUTOR_BY_USING_AN_ACCESS_TOKEN_YOU_WILL_BE_ABLE_TO_MAKE_API_CALLS_FOR_YOUR_OWN_ACCOUNT_WITHOUT_GOING_THROUGH_THE_AUTHORIZATION_FLOW_DURING_THIS_MANUAL_UPDATE_OF_THE_LOCAL_LISTINGBR_THE_TOKEN_WILL_NOT_BE_STORED_AND_FOR_SAFETY_THE_TOKEN_WILL_BE_REVOKED_ONCE_THE_UPDATE_IS_COMPLETED_SUCCESSFULLYBR_BTHIS_WILL_MEAN_IT_CAN_ONLY_BE_USED_THIS_ONCEB_YOU_WOULD_NEED_A_NEW_TOKEN_EACH_TIME_YOU_RUN_THIS_UPDATE_MANUALLY_BR_SMALLMAKE_SURE_TO_HAVE_SSL_INPLACE_ON_THIS_PAGE_WHEN_DOING_THIS_UPDATE_AS_AN_EXTRA_SECURITY_MEASURESMALL="By using an access token, you will be able to make API calls for your own account without going through the authorization flow during this manual update of the local listing.<br />The token will not be stored and for safety the token will be revoked once the update is completed successfully.<br /><b>This will mean it can only be used this once</b>, you would need a new token each time you run this update manually. <br /><small>Make sure to have SSL in-place on this page when doing this update, as an extra security measure.</small>"
COM_SERMONDISTRIBUTOR_CATEGORIES_ACCESS_SITE="Categories (Site) Access"
COM_SERMONDISTRIBUTOR_CATEGORIES_ACCESS_SITE_DESC=" Allows the users in this group to access site categories."
@ -16,6 +17,7 @@ COM_SERMONDISTRIBUTOR_CATEGORY_ACCESS_SITE="Category (Site) Access"
COM_SERMONDISTRIBUTOR_CATEGORY_ACCESS_SITE_DESC=" Allows the users in this group to access site category."
COM_SERMONDISTRIBUTOR_CLEARING_LOCAL_LISTING_CAN_NOT_BE_DONE="Clearing local listing can not be done."
COM_SERMONDISTRIBUTOR_CLEAR_LOCAL_LISTING="Clear Local Listing"
COM_SERMONDISTRIBUTOR_CLOSE_NEW="Close & New"
COM_SERMONDISTRIBUTOR_CONFIG_ADD_TO_BUTTON_DESCRIPTION="Allow add to external source button to show, this will expose the external source links."
COM_SERMONDISTRIBUTOR_CONFIG_ADD_TO_BUTTON_LABEL="External Source Button"
COM_SERMONDISTRIBUTOR_CONFIG_ALMOST_FLAT_LOAD="Almost Flat"
@ -124,7 +126,7 @@ COM_SERMONDISTRIBUTOR_CONFIG_CONTRIBUTOR_USE_WWW="Website"
COM_SERMONDISTRIBUTOR_CONFIG_CUSTOM="Custom"
COM_SERMONDISTRIBUTOR_CONFIG_DARK_BLUE="Dark Blue"
COM_SERMONDISTRIBUTOR_CONFIG_DONT_LOAD="Not"
COM_SERMONDISTRIBUTOR_CONFIG_ENCRYPTION_DESC="The encription key for the field encryption is set here."
COM_SERMONDISTRIBUTOR_CONFIG_ENCRYPTION_DESC="The encryption key for the field encryption is set here."
COM_SERMONDISTRIBUTOR_CONFIG_ENCRYPTION_LABEL="Encryption Settings"
COM_SERMONDISTRIBUTOR_CONFIG_FLAT_LOAD="Flat"
COM_SERMONDISTRIBUTOR_CONFIG_FORCE_LOAD="Force"
@ -155,6 +157,7 @@ COM_SERMONDISTRIBUTOR_CONFIG_LIST_SERIES_TABLE_COLOR_LABEL="Table Color"
COM_SERMONDISTRIBUTOR_CONFIG_LOCALFOLDER_DESCRIPTION="Enter the full path to the local folder where your files are found."
COM_SERMONDISTRIBUTOR_CONFIG_LOCALFOLDER_HINT="/home/username/localfolder/"
COM_SERMONDISTRIBUTOR_CONFIG_LOCALFOLDER_LABEL="Local Folder Path (File Source)"
COM_SERMONDISTRIBUTOR_CONFIG_LOCALFOLDER_MESSAGE="Error! Please add path to local folder here."
COM_SERMONDISTRIBUTOR_CONFIG_MAX_EXECUTION_TIME_DESCRIPTION="Set in minutes the max execution time of the PHP script during updating to local listing."
COM_SERMONDISTRIBUTOR_CONFIG_MAX_EXECUTION_TIME_LABEL="Max Execution Time"
COM_SERMONDISTRIBUTOR_CONFIG_NO="No"
@ -312,14 +315,18 @@ COM_SERMONDISTRIBUTOR_CONFIG_STRIPED="Striped"
COM_SERMONDISTRIBUTOR_CONFIG_TABLE="Table"
COM_SERMONDISTRIBUTOR_CONFIG_UIKIT="Uikit"
COM_SERMONDISTRIBUTOR_CONFIG_UIKIT_DESC="<b>The Parameters for the uikit are set here.</b><br />Uikit is a lightweight and modular front-end framework
for developing fast and powerful web interfaces. For more info visit <a href="http://getuikit.com/" >http://getuikit.com/</a>"
COM_SERMONDISTRIBUTOR_CONFIG_UIKIT_LABEL="Uikit Settings"
for developing fast and powerful web interfaces. For more info visit <a href="https://getuikit.com/v2/" target="_blank">version 2</a> or <a href="https://getuikit.com/" target="_blank">version 3</a>"
COM_SERMONDISTRIBUTOR_CONFIG_UIKIT_LABEL="Uikit2 and Uikit3 Settings"
COM_SERMONDISTRIBUTOR_CONFIG_UIKIT_LOAD_DESC="Set the uikit loading option."
COM_SERMONDISTRIBUTOR_CONFIG_UIKIT_LOAD_LABEL="Loading Options"
COM_SERMONDISTRIBUTOR_CONFIG_UIKIT_MIN_DESC="Should the minified version of uikit files be loaded?"
COM_SERMONDISTRIBUTOR_CONFIG_UIKIT_MIN_LABEL="Load Minified"
COM_SERMONDISTRIBUTOR_CONFIG_UIKIT_STYLE_DESC="Set the css style that should be used."
COM_SERMONDISTRIBUTOR_CONFIG_UIKIT_STYLE_LABEL="css Style"
COM_SERMONDISTRIBUTOR_CONFIG_UIKIT_V2="Version 2"
COM_SERMONDISTRIBUTOR_CONFIG_UIKIT_V3="Version 3"
COM_SERMONDISTRIBUTOR_CONFIG_UIKIT_VERSION_DESC="Select what version you would like to use"
COM_SERMONDISTRIBUTOR_CONFIG_UIKIT_VERSION_LABEL="Uikit Versions"
COM_SERMONDISTRIBUTOR_CONFIG_YES="Yes"
COM_SERMONDISTRIBUTOR_CONTRIBUTOR="Contributor"
COM_SERMONDISTRIBUTOR_CONTRIBUTORS="Contributors"
@ -369,37 +376,15 @@ COM_SERMONDISTRIBUTOR_EXTERNAL_SOURCES_DASHBOARD_LIST_DESC="Allows the users in
COM_SERMONDISTRIBUTOR_EXTERNAL_SOURCES_DELETE="External Sources Delete"
COM_SERMONDISTRIBUTOR_EXTERNAL_SOURCES_DELETE_DESC="Allows the users in this group to delete delete external sources"
COM_SERMONDISTRIBUTOR_EXTERNAL_SOURCES_EDIT="External Sources Edit"
COM_SERMONDISTRIBUTOR_EXTERNAL_SOURCES_EDIT_BUILD="External Sources Edit Build"
COM_SERMONDISTRIBUTOR_EXTERNAL_SOURCES_EDIT_BUILD_DESC="Allows the users in this group to update the edit build of the external source"
COM_SERMONDISTRIBUTOR_EXTERNAL_SOURCES_EDIT_CREATED_BY="External Sources Edit Created By"
COM_SERMONDISTRIBUTOR_EXTERNAL_SOURCES_EDIT_CREATED_BY_DESC="Allows the users in this group to update the created by of the edit created by external sources"
COM_SERMONDISTRIBUTOR_EXTERNAL_SOURCES_EDIT_CREATED_DATE="External Sources Edit Created Date"
COM_SERMONDISTRIBUTOR_EXTERNAL_SOURCES_EDIT_CREATED_DATE_DESC="Allows the users in this group to update the created date of the edit created external sources"
COM_SERMONDISTRIBUTOR_EXTERNAL_SOURCES_EDIT_DESC="Allows the users in this group to edit the external source"
COM_SERMONDISTRIBUTOR_EXTERNAL_SOURCES_EDIT_DESCRIPTION="External Sources Edit Description"
COM_SERMONDISTRIBUTOR_EXTERNAL_SOURCES_EDIT_DESCRIPTION_DESC="Allows the users in this group to update the edit description of the external source"
COM_SERMONDISTRIBUTOR_EXTERNAL_SOURCES_EDIT_DROPBOXOPTIONS="External Sources Edit Dropboxoptions"
COM_SERMONDISTRIBUTOR_EXTERNAL_SOURCES_EDIT_DROPBOXOPTIONS_DESC="Allows the users in this group to update the edit dropboxoptions of the external source"
COM_SERMONDISTRIBUTOR_EXTERNAL_SOURCES_EDIT_EXTERNALSOURCES="External Sources Edit Externalsources"
COM_SERMONDISTRIBUTOR_EXTERNAL_SOURCES_EDIT_EXTERNALSOURCES_DESC="Allows the users in this group to update the edit externalsources of the external source"
COM_SERMONDISTRIBUTOR_EXTERNAL_SOURCES_EDIT_FILETYPES="External Sources Edit Filetypes"
COM_SERMONDISTRIBUTOR_EXTERNAL_SOURCES_EDIT_FILETYPES_DESC="Allows the users in this group to update the edit filetypes of the external source"
COM_SERMONDISTRIBUTOR_EXTERNAL_SOURCES_EDIT_FOLDER="External Sources Edit Folder"
COM_SERMONDISTRIBUTOR_EXTERNAL_SOURCES_EDIT_FOLDER_DESC="Allows the users in this group to update the edit folder of the external source"
COM_SERMONDISTRIBUTOR_EXTERNAL_SOURCES_EDIT_OAUTHTOKEN="External Sources Edit Oauthtoken"
COM_SERMONDISTRIBUTOR_EXTERNAL_SOURCES_EDIT_OAUTHTOKEN_DESC="Allows the users in this group to update the edit oauthtoken of the external source"
COM_SERMONDISTRIBUTOR_EXTERNAL_SOURCES_EDIT_OWN="External Sources Edit Own"
COM_SERMONDISTRIBUTOR_EXTERNAL_SOURCES_EDIT_OWN_DESC="Allows the users in this group to edit edit own external sources created by them"
COM_SERMONDISTRIBUTOR_EXTERNAL_SOURCES_EDIT_PERMISSIONTYPE="External Sources Edit Permissiontype"
COM_SERMONDISTRIBUTOR_EXTERNAL_SOURCES_EDIT_PERMISSIONTYPE_DESC="Allows the users in this group to update the edit permissiontype of the external source"
COM_SERMONDISTRIBUTOR_EXTERNAL_SOURCES_EDIT_SHAREDURL="External Sources Edit Sharedurl"
COM_SERMONDISTRIBUTOR_EXTERNAL_SOURCES_EDIT_SHAREDURL_DESC="Allows the users in this group to update the edit sharedurl of the external source"
COM_SERMONDISTRIBUTOR_EXTERNAL_SOURCES_EDIT_STATE="External Sources Edit State"
COM_SERMONDISTRIBUTOR_EXTERNAL_SOURCES_EDIT_STATE_DESC="Allows the users in this group to update the state of the external source"
COM_SERMONDISTRIBUTOR_EXTERNAL_SOURCES_EDIT_UPDATE_METHOD="External Sources Edit Update Method"
COM_SERMONDISTRIBUTOR_EXTERNAL_SOURCES_EDIT_UPDATE_METHOD_DESC="Allows the users in this group to update the edit update method of the external source"
COM_SERMONDISTRIBUTOR_EXTERNAL_SOURCES_EDIT_UPDATE_TIMER="External Sources Edit Update Timer"
COM_SERMONDISTRIBUTOR_EXTERNAL_SOURCES_EDIT_UPDATE_TIMER_DESC="Allows the users in this group to update the edit update timer of the external source"
COM_SERMONDISTRIBUTOR_EXTERNAL_SOURCES_EDIT_VERSION="External Sources Edit Version"
COM_SERMONDISTRIBUTOR_EXTERNAL_SOURCES_EDIT_VERSION_DESC="Allows users in this group to edit versions of version external sources"
COM_SERMONDISTRIBUTOR_EXTERNAL_SOURCES_EXPORT="External Sources Export"
@ -425,8 +410,61 @@ COM_SERMONDISTRIBUTOR_EXTERNAL_SOURCES_N_ITEMS_UNPUBLISHED="%s External Sources
COM_SERMONDISTRIBUTOR_EXTERNAL_SOURCES_N_ITEMS_UNPUBLISHED_1="%s External Source unpublished."
COM_SERMONDISTRIBUTOR_EXTERNAL_SOURCES_SUBMENU="External Sources Submenu"
COM_SERMONDISTRIBUTOR_EXTERNAL_SOURCES_SUBMENU_DESC="Allows the users in this group to update the submenu of the external source"
COM_SERMONDISTRIBUTOR_EXTERNAL_SOURCE_APICRONJOB_NOTE_DESCRIPTION="You must setup a cronjob that will update your local listing with the external sources.<br /><br /><b>USE THE FOLLOWING:</b> <span id='cronjob-externalUpdate'>loading...<span class='loading-dots' ></span></span><br /><br />Please note that if your Joomla website has a Firewall installed, it will not allow cronjob via direct URL (most of the time), you will then need to adapt the cornjob request to look like a browser. For more info please read https://stackoverflow.com/a/31597823/1429677
<script type='text/javascript'>
jQuery(document).ready(function($) {
// get token from the form
$('form :input').each(function(index, elm){
if (elm.name.length == 32 && elm.type == 'hidden')
{
value = $(elm).val();
if (1 == value)
{
token = elm.name;
}
}
});
// nice little dot trick :)
var x=0;
setInterval(function() {
var dots = '';
x++;
for (var y=0; y < x%11; y++) {
dots+='.';
}
jQuery('.loading-dots').text(dots);
} , 500);
// now get the Cron Path
getCronPath('externalUpdate', token);
});
function getCronPath_server(getType, token){
var getUrl = 'index.php?option=com_sermondistributor&task=ajax.getCronPath&format=json';
if(token.length > 0 && getType.length > 0){
var request = 'token='+token+'&getType='+getType;
}
return jQuery.ajax({
type: 'GET',
url: getUrl,
dataType: 'jsonp',
data: request,
jsonp: 'callback'
});
}
function getCronPath(getType, token){
getCronPath_server(getType, token).done(function(result) {
if(result.path){
jQuery('#cronjob-'+getType).html(result.path);
} else if (result.error) {
jQuery('#cronjob-'+getType).html(result.error);
} else {
jQuery('#cronjob-'+getType).html('<span style=\'color: red;\'>Error loading path!</span>');
}
})
}
</script>"
COM_SERMONDISTRIBUTOR_EXTERNAL_SOURCE_APICRONJOB_NOTE_LABEL="API CronJob"
COM_SERMONDISTRIBUTOR_EXTERNAL_SOURCE_APP_FOLDER="App folder"
COM_SERMONDISTRIBUTOR_EXTERNAL_SOURCE_APP_LIMITATION_NOTE_DESCRIPTION="Please Note: <i>There is a limitation of 500 files per app/folder</i>"
COM_SERMONDISTRIBUTOR_EXTERNAL_SOURCE_APP_LIMITATION_NOTE_DESCRIPTION="Please Note: <i>There is a limitation of 3000 files per app/folder</i>"
COM_SERMONDISTRIBUTOR_EXTERNAL_SOURCE_AUTOMATIC="Automatic"
COM_SERMONDISTRIBUTOR_EXTERNAL_SOURCE_AVI=".avi"
COM_SERMONDISTRIBUTOR_EXTERNAL_SOURCE_BUILD="Build"
@ -443,6 +481,7 @@ COM_SERMONDISTRIBUTOR_EXTERNAL_SOURCE_DESCRIPTION="Description"
COM_SERMONDISTRIBUTOR_EXTERNAL_SOURCE_DESCRIPTION_DESCRIPTION="Enter some description"
COM_SERMONDISTRIBUTOR_EXTERNAL_SOURCE_DESCRIPTION_HINT="Description Here"
COM_SERMONDISTRIBUTOR_EXTERNAL_SOURCE_DESCRIPTION_LABEL="Description"
COM_SERMONDISTRIBUTOR_EXTERNAL_SOURCE_DESCRIPTION_MESSAGE="Error! Please add description here."
COM_SERMONDISTRIBUTOR_EXTERNAL_SOURCE_DETAILS="Details"
COM_SERMONDISTRIBUTOR_EXTERNAL_SOURCE_DOC=".doc"
COM_SERMONDISTRIBUTOR_EXTERNAL_SOURCE_DOCX=".docx"
@ -461,7 +500,7 @@ COM_SERMONDISTRIBUTOR_EXTERNAL_SOURCE_FILETYPES_DESCRIPTION="Select the file typ
COM_SERMONDISTRIBUTOR_EXTERNAL_SOURCE_FILETYPES_LABEL="File Types"
COM_SERMONDISTRIBUTOR_EXTERNAL_SOURCE_FOLDER="Folder"
COM_SERMONDISTRIBUTOR_EXTERNAL_SOURCE_FOLDER_DESCRIPTION="Enter the folders to target. The folders must be in the account where you generated the access token."
COM_SERMONDISTRIBUTOR_EXTERNAL_SOURCE_FOLDER_LABEL="Target Folders<br /><small>Please note: <i>limitation of 500 files per/folder</i></small>"
COM_SERMONDISTRIBUTOR_EXTERNAL_SOURCE_FOLDER_LABEL="Target Folders<br /><small>Please note: <i>limitation of 3000 files per/folder</i></small>"
COM_SERMONDISTRIBUTOR_EXTERNAL_SOURCE_FOLDER_PATH="Folder Path"
COM_SERMONDISTRIBUTOR_EXTERNAL_SOURCE_FOLDER_SELECT="Add/Remove"
COM_SERMONDISTRIBUTOR_EXTERNAL_SOURCE_FULL_DROPBOX="Full Dropbox"
@ -568,6 +607,7 @@ COM_SERMONDISTRIBUTOR_EXTERNAL_SOURCE_OAUTHTOKEN="Oauthtoken"
COM_SERMONDISTRIBUTOR_EXTERNAL_SOURCE_OAUTHTOKEN_DESCRIPTION="By using an access token, the system will be able to make automatic API calls to your app without going through the authorization flow.<hr />This field is being kept encrypted in the database.<hr /> Yet <b>Joomla back-end must be access with SSL in-place when saving this page.</b> This will help avoid a man in the middle attach on your access token."
COM_SERMONDISTRIBUTOR_EXTERNAL_SOURCE_OAUTHTOKEN_HINT="oauthtoken here"
COM_SERMONDISTRIBUTOR_EXTERNAL_SOURCE_OAUTHTOKEN_LABEL="App Generated access token <br /><small>(Encrypted Field)</small>"
COM_SERMONDISTRIBUTOR_EXTERNAL_SOURCE_OAUTHTOKEN_MESSAGE="Error! Please add generated access token here."
COM_SERMONDISTRIBUTOR_EXTERNAL_SOURCE_ODT=".odt"
COM_SERMONDISTRIBUTOR_EXTERNAL_SOURCE_OGG=".ogg"
COM_SERMONDISTRIBUTOR_EXTERNAL_SOURCE_OGV=".ogv"
@ -590,18 +630,20 @@ COM_SERMONDISTRIBUTOR_EXTERNAL_SOURCE_SAVE_WARNING="Alias already existed so a n
COM_SERMONDISTRIBUTOR_EXTERNAL_SOURCE_SELECT_AN_OPTION="Select an option"
COM_SERMONDISTRIBUTOR_EXTERNAL_SOURCE_SHAREDURL="Sharedurl"
COM_SERMONDISTRIBUTOR_EXTERNAL_SOURCE_SHAREDURL_DESCRIPTION="Enter the shared-urls of the main folders to target. The shared-urls must be from the account where you generated the access token."
COM_SERMONDISTRIBUTOR_EXTERNAL_SOURCE_SHAREDURL_LABEL="Target Shared-urls<br /><small>Please note: <i>limitation of 500 files per/shared-url</i></small>"
COM_SERMONDISTRIBUTOR_EXTERNAL_SOURCE_SHAREDURL_LABEL="Target Shared-urls<br /><small>Please note: <i>limitation of 3000 files per/shared-url</i></small>"
COM_SERMONDISTRIBUTOR_EXTERNAL_SOURCE_SHAREDURL_SELECT="Add/Remove"
COM_SERMONDISTRIBUTOR_EXTERNAL_SOURCE_SHARED_URL="Shared URL"
COM_SERMONDISTRIBUTOR_EXTERNAL_SOURCE_STATUS="Status"
COM_SERMONDISTRIBUTOR_EXTERNAL_SOURCE_TFOLDER_DESCRIPTION="Enter the folder to target. The folder must be in the account where you generated the access token."
COM_SERMONDISTRIBUTOR_EXTERNAL_SOURCE_TFOLDER_HINT="any/folder/in/your/Dropbox"
COM_SERMONDISTRIBUTOR_EXTERNAL_SOURCE_TFOLDER_LABEL="Folder"
COM_SERMONDISTRIBUTOR_EXTERNAL_SOURCE_TFOLDER_MESSAGE="Error! Please add folder here."
COM_SERMONDISTRIBUTOR_EXTERNAL_SOURCE_THREEGP=".3gp"
COM_SERMONDISTRIBUTOR_EXTERNAL_SOURCE_THREEGTWO=".3g2"
COM_SERMONDISTRIBUTOR_EXTERNAL_SOURCE_TSHAREDURL_DESCRIPTION="Enter the shared-url of the main folder to target. The shared-url must be from the account where you generated the access token."
COM_SERMONDISTRIBUTOR_EXTERNAL_SOURCE_TSHAREDURL_HINT="https://www.dropbox.com/shared-link-from-dropbox-to-main-folder?dl=0"
COM_SERMONDISTRIBUTOR_EXTERNAL_SOURCE_TSHAREDURL_LABEL="Shared-url"
COM_SERMONDISTRIBUTOR_EXTERNAL_SOURCE_TSHAREDURL_MESSAGE="Error! Please add shared-url here."
COM_SERMONDISTRIBUTOR_EXTERNAL_SOURCE_UPDATE_METHOD="Update Method"
COM_SERMONDISTRIBUTOR_EXTERNAL_SOURCE_UPDATE_METHOD_DESCRIPTION="Select the method we should use when updating the links."
COM_SERMONDISTRIBUTOR_EXTERNAL_SOURCE_UPDATE_METHOD_LABEL="Update Method"
@ -712,6 +754,7 @@ COM_SERMONDISTRIBUTOR_HELP_DOCUMENT_TITLE="Title"
COM_SERMONDISTRIBUTOR_HELP_DOCUMENT_TITLE_DESCRIPTION="Enter Title Here"
COM_SERMONDISTRIBUTOR_HELP_DOCUMENT_TITLE_HINT="Title Here"
COM_SERMONDISTRIBUTOR_HELP_DOCUMENT_TITLE_LABEL="Title"
COM_SERMONDISTRIBUTOR_HELP_DOCUMENT_TITLE_MESSAGE="Error! Please add title here."
COM_SERMONDISTRIBUTOR_HELP_DOCUMENT_TYPE="Type"
COM_SERMONDISTRIBUTOR_HELP_DOCUMENT_TYPE_DESCRIPTION="Select the help type."
COM_SERMONDISTRIBUTOR_HELP_DOCUMENT_TYPE_LABEL="Type"
@ -719,9 +762,11 @@ COM_SERMONDISTRIBUTOR_HELP_DOCUMENT_URL="Url"
COM_SERMONDISTRIBUTOR_HELP_DOCUMENT_URL_DESCRIPTION="Enter url"
COM_SERMONDISTRIBUTOR_HELP_DOCUMENT_URL_HINT="http://www.example.com"
COM_SERMONDISTRIBUTOR_HELP_DOCUMENT_URL_LABEL="URL"
COM_SERMONDISTRIBUTOR_HELP_DOCUMENT_URL_MESSAGE="Error! Please add url here."
COM_SERMONDISTRIBUTOR_HELP_DOCUMENT_VERSION_DESC="A count of the number of times this Help Document has been revised."
COM_SERMONDISTRIBUTOR_HELP_DOCUMENT_VERSION_LABEL="Revision"
COM_SERMONDISTRIBUTOR_HELP_MANAGER="Help"
COM_SERMONDISTRIBUTOR_HTWOCURL_NOT_FOUNDHTWOPPLEASE_SETUP_CURL_ON_YOUR_SYSTEM_OR_BSERMONDISTRIBUTORB_WILL_NOT_FUNCTION_CORRECTLYP="<h2>Curl Not Found!</h2><p>Please setup curl on your system, or <b>sermondistributor</b> will not function correctly!</p>"
COM_SERMONDISTRIBUTOR_IMPORT_CONTINUE="Continue"
COM_SERMONDISTRIBUTOR_IMPORT_DATA="Import Data"
COM_SERMONDISTRIBUTOR_IMPORT_DATA_DESC=" Allows users in this group to import data."
@ -764,6 +809,7 @@ COM_SERMONDISTRIBUTOR_IMPORT_TITLE="Data Importer"
COM_SERMONDISTRIBUTOR_IMPORT_UNABLE_TO_FIND_IMPORT_PACKAGE="Package to import not found."
COM_SERMONDISTRIBUTOR_IMPORT_UPDATE_DATA="Import Data"
COM_SERMONDISTRIBUTOR_IMPORT_UPLOAD_BOTTON="Upload File"
COM_SERMONDISTRIBUTOR_INACTIVE="Inactive"
COM_SERMONDISTRIBUTOR_ISSUE="issue"
COM_SERMONDISTRIBUTOR_KEEP_ORIGINAL_ACCESS="- Keep Original Access -"
COM_SERMONDISTRIBUTOR_KEEP_ORIGINAL_CATEGORY="- Keep Original Category -"
@ -853,6 +899,7 @@ COM_SERMONDISTRIBUTOR_LOCAL_LISTING_KEY="Key"
COM_SERMONDISTRIBUTOR_LOCAL_LISTING_KEY_DESCRIPTION="This key will be used for this local listing."
COM_SERMONDISTRIBUTOR_LOCAL_LISTING_KEY_HINT="Listing Key"
COM_SERMONDISTRIBUTOR_LOCAL_LISTING_KEY_LABEL="Listing Key"
COM_SERMONDISTRIBUTOR_LOCAL_LISTING_KEY_MESSAGE="Error! Please add key here."
COM_SERMONDISTRIBUTOR_LOCAL_LISTING_MANUAL_LOCAL_SELECTION="Manual Local Selection"
COM_SERMONDISTRIBUTOR_LOCAL_LISTING_MODIFIED_BY_DESC="The last user that modified this Local Listing."
COM_SERMONDISTRIBUTOR_LOCAL_LISTING_MODIFIED_BY_LABEL="Modified By"
@ -862,6 +909,7 @@ COM_SERMONDISTRIBUTOR_LOCAL_LISTING_NAME="Name"
COM_SERMONDISTRIBUTOR_LOCAL_LISTING_NAME_DESCRIPTION="This is the file name."
COM_SERMONDISTRIBUTOR_LOCAL_LISTING_NAME_HINT="file name"
COM_SERMONDISTRIBUTOR_LOCAL_LISTING_NAME_LABEL="File Name"
COM_SERMONDISTRIBUTOR_LOCAL_LISTING_NAME_MESSAGE="Error! Please add file name here."
COM_SERMONDISTRIBUTOR_LOCAL_LISTING_NEW="A New Local Listing"
COM_SERMONDISTRIBUTOR_LOCAL_LISTING_ORDERING_LABEL="Ordering"
COM_SERMONDISTRIBUTOR_LOCAL_LISTING_PERMISSION="Permissions"
@ -872,11 +920,13 @@ COM_SERMONDISTRIBUTOR_LOCAL_LISTING_SIZE="Size"
COM_SERMONDISTRIBUTOR_LOCAL_LISTING_SIZE_DESCRIPTION="This is the file size."
COM_SERMONDISTRIBUTOR_LOCAL_LISTING_SIZE_HINT="file size"
COM_SERMONDISTRIBUTOR_LOCAL_LISTING_SIZE_LABEL="File Size"
COM_SERMONDISTRIBUTOR_LOCAL_LISTING_SIZE_MESSAGE="Error! Please add file size here."
COM_SERMONDISTRIBUTOR_LOCAL_LISTING_STATUS="Status"
COM_SERMONDISTRIBUTOR_LOCAL_LISTING_URL="Url"
COM_SERMONDISTRIBUTOR_LOCAL_LISTING_URL_DESCRIPTION="This is the shared URL."
COM_SERMONDISTRIBUTOR_LOCAL_LISTING_URL_HINT="shared URL"
COM_SERMONDISTRIBUTOR_LOCAL_LISTING_URL_LABEL="Shared-URL"
COM_SERMONDISTRIBUTOR_LOCAL_LISTING_URL_MESSAGE="Error! Please add shared-URL here."
COM_SERMONDISTRIBUTOR_LOCAL_LISTING_VERSION_DESC="A count of the number of times this Local Listing has been revised."
COM_SERMONDISTRIBUTOR_LOCAL_LISTING_VERSION_LABEL="Revision"
COM_SERMONDISTRIBUTOR_LOCAL_LISTING_WAS_CLEARED_SUCCESSFULLY="Local listing was cleared successfully."
@ -894,8 +944,10 @@ COM_SERMONDISTRIBUTOR_MANUAL_UPDATER_SUBMENU_DESC="Allows the users in this grou
COM_SERMONDISTRIBUTOR_NEW="New"
COM_SERMONDISTRIBUTOR_NEW_ISSUE="New Issue"
COM_SERMONDISTRIBUTOR_NOTICE="Notice!"
COM_SERMONDISTRIBUTOR_NOT_FOUND_OR_ACCESS_DENIED="Not found, or access denied."
COM_SERMONDISTRIBUTOR_NOT_FOUND_OR_ACCESS_DENIED="Not found or access denied!"
COM_SERMONDISTRIBUTOR_NO_ACCESS_GRANTED="No Access Granted!"
COM_SERMONDISTRIBUTOR_NO_CRONJOB_PATH_FOUND_FOR_S="No cronjob path found for (%s)"
COM_SERMONDISTRIBUTOR_NO_CRONJOB_PATH_FOUND_SINCE_INCORRECT_TYPE_REQUESTED="No cronjob path found since incorrect type requested."
COM_SERMONDISTRIBUTOR_NO_FILES_LINKED_YET="No Files Linked Yet"
COM_SERMONDISTRIBUTOR_NO_ID_FOUND_CAN_NOT_RESET_THE_UPDATE_STATUS="No id found, can not reset the update status!"
COM_SERMONDISTRIBUTOR_NO_MANUAL_UPDATES_AVAILABLE="No Manual Updates Available"
@ -912,6 +964,8 @@ COM_SERMONDISTRIBUTOR_PREACHER="Preacher"
COM_SERMONDISTRIBUTOR_PREACHERS="Preachers"
COM_SERMONDISTRIBUTOR_PREACHERS_ACCESS="Preachers Access"
COM_SERMONDISTRIBUTOR_PREACHERS_ACCESS_DESC="Allows the users in this group to access access preachers"
COM_SERMONDISTRIBUTOR_PREACHERS_ACCESS_SITE="Preachers (Site) Access"
COM_SERMONDISTRIBUTOR_PREACHERS_ACCESS_SITE_DESC=" Allows the users in this group to access site preachers."
COM_SERMONDISTRIBUTOR_PREACHERS_BATCH_OPTIONS="Batch process the selected Preachers"
COM_SERMONDISTRIBUTOR_PREACHERS_BATCH_TIP="All changes will be applied to all selected Preachers"
COM_SERMONDISTRIBUTOR_PREACHERS_BATCH_USE="Preachers Batch Use"
@ -976,6 +1030,7 @@ COM_SERMONDISTRIBUTOR_PREACHER_EMAIL="Email"
COM_SERMONDISTRIBUTOR_PREACHER_EMAIL_DESCRIPTION="Enter Email"
COM_SERMONDISTRIBUTOR_PREACHER_EMAIL_HINT="demo@example.com"
COM_SERMONDISTRIBUTOR_PREACHER_EMAIL_LABEL="Email"
COM_SERMONDISTRIBUTOR_PREACHER_EMAIL_MESSAGE="Error! Please add email address here."
COM_SERMONDISTRIBUTOR_PREACHER_ERROR_UNIQUE_ALIAS="Another Preacher has the same alias."
COM_SERMONDISTRIBUTOR_PREACHER_ICON="Icon"
COM_SERMONDISTRIBUTOR_PREACHER_ICON_DESCRIPTION="Must be 358px x 358px"
@ -989,6 +1044,7 @@ COM_SERMONDISTRIBUTOR_PREACHER_NAME="Name"
COM_SERMONDISTRIBUTOR_PREACHER_NAME_DESCRIPTION="Enter Name Here"
COM_SERMONDISTRIBUTOR_PREACHER_NAME_HINT="Name Here"
COM_SERMONDISTRIBUTOR_PREACHER_NAME_LABEL="Name"
COM_SERMONDISTRIBUTOR_PREACHER_NAME_MESSAGE="Error! Please add name here."
COM_SERMONDISTRIBUTOR_PREACHER_NEW="A New Preacher"
COM_SERMONDISTRIBUTOR_PREACHER_ORDERING_LABEL="Ordering"
COM_SERMONDISTRIBUTOR_PREACHER_PERMISSION="Permissions"
@ -1002,6 +1058,8 @@ COM_SERMONDISTRIBUTOR_PREACHER_WEBSITE="Website"
COM_SERMONDISTRIBUTOR_PREACHER_WEBSITE_DESCRIPTION="Enter website address"
COM_SERMONDISTRIBUTOR_PREACHER_WEBSITE_HINT="http://www.example.com"
COM_SERMONDISTRIBUTOR_PREACHER_WEBSITE_LABEL="Website"
COM_SERMONDISTRIBUTOR_PREACHER_WEBSITE_MESSAGE="Error! Please add website here."
COM_SERMONDISTRIBUTOR_PUBLISHED="Published"
COM_SERMONDISTRIBUTOR_RELEASED_THIS="released this"
COM_SERMONDISTRIBUTOR_RESETTING_THE_UPDATE_STATUS_WAS_SUCCESSFUL="Resetting the update status was successful!"
COM_SERMONDISTRIBUTOR_RESET_UPDATE_STATUS="Reset Update Status"
@ -1089,6 +1147,7 @@ COM_SERMONDISTRIBUTOR_SERIES_NAME="Name"
COM_SERMONDISTRIBUTOR_SERIES_NAME_DESCRIPTION="Enter Name Here"
COM_SERMONDISTRIBUTOR_SERIES_NAME_HINT="Name Here"
COM_SERMONDISTRIBUTOR_SERIES_NAME_LABEL="Name"
COM_SERMONDISTRIBUTOR_SERIES_NAME_MESSAGE="Error! Please add name here."
COM_SERMONDISTRIBUTOR_SERIES_NEW="A New Series"
COM_SERMONDISTRIBUTOR_SERIES_ORDERING_LABEL="Ordering"
COM_SERMONDISTRIBUTOR_SERIES_PERMISSION="Permissions"
@ -1098,6 +1157,7 @@ COM_SERMONDISTRIBUTOR_SERIES_SCRIPTURE="Scripture"
COM_SERMONDISTRIBUTOR_SERIES_SCRIPTURE_DESCRIPTION="Add scripture reference to this sermon, use comma separation for multiply references."
COM_SERMONDISTRIBUTOR_SERIES_SCRIPTURE_HINT="1 John 3:16, Psalm 1, James 1:1-5"
COM_SERMONDISTRIBUTOR_SERIES_SCRIPTURE_LABEL="Scripture"
COM_SERMONDISTRIBUTOR_SERIES_SCRIPTURE_MESSAGE="Error! Please add some scripture reference here."
COM_SERMONDISTRIBUTOR_SERIES_SERMONS="Sermons"
COM_SERMONDISTRIBUTOR_SERIES_STATUS="Status"
COM_SERMONDISTRIBUTOR_SERIES_VERSION_DESC="A count of the number of times this Series has been revised."
@ -1201,6 +1261,7 @@ COM_SERMONDISTRIBUTOR_SERMON_NAME="Name"
COM_SERMONDISTRIBUTOR_SERMON_NAME_DESCRIPTION="Enter Name Here"
COM_SERMONDISTRIBUTOR_SERMON_NAME_HINT="Name Here"
COM_SERMONDISTRIBUTOR_SERMON_NAME_LABEL="Name"
COM_SERMONDISTRIBUTOR_SERMON_NAME_MESSAGE="Error! Please add name here."
COM_SERMONDISTRIBUTOR_SERMON_NEW="A New Sermon"
COM_SERMONDISTRIBUTOR_SERMON_NOTE_AUTO_EXTERNALSOURCE_DESCRIPTION="<b>To integrate auto External Source with your system you need to do the following:</b> <ul>
<li>Create main/first auto folder in External Source. This will be where you create the folders with the preacher's name. Using the preacher's alias from the system as the folder name will insure no mismatch, if the preacher already exist on the system.</li>
@ -1298,6 +1359,7 @@ COM_SERMONDISTRIBUTOR_SERMON_SCRIPTURE="Scripture"
COM_SERMONDISTRIBUTOR_SERMON_SCRIPTURE_DESCRIPTION="Add scripture reference to this sermon, use comma separation for multiply references."
COM_SERMONDISTRIBUTOR_SERMON_SCRIPTURE_HINT="1 John 3:16, Psalm 1, James 1:1-5"
COM_SERMONDISTRIBUTOR_SERMON_SCRIPTURE_LABEL="Scripture"
COM_SERMONDISTRIBUTOR_SERMON_SCRIPTURE_MESSAGE="Error! Please add some scripture reference here."
COM_SERMONDISTRIBUTOR_SERMON_SELECT_AN_OPTION="Select an option"
COM_SERMONDISTRIBUTOR_SERMON_SELECT_SOURCE="Select Source"
COM_SERMONDISTRIBUTOR_SERMON_SERIES="Series"
@ -1308,6 +1370,7 @@ COM_SERMONDISTRIBUTOR_SERMON_SHORT_DESCRIPTION="Short Description"
COM_SERMONDISTRIBUTOR_SERMON_SHORT_DESCRIPTION_DESCRIPTION="Enter short description"
COM_SERMONDISTRIBUTOR_SERMON_SHORT_DESCRIPTION_HINT="Your Short Description Here"
COM_SERMONDISTRIBUTOR_SERMON_SHORT_DESCRIPTION_LABEL="Short Description"
COM_SERMONDISTRIBUTOR_SERMON_SHORT_DESCRIPTION_MESSAGE="Error! Please add some short description here."
COM_SERMONDISTRIBUTOR_SERMON_SOURCE="Source"
COM_SERMONDISTRIBUTOR_SERMON_SOURCE_DESCRIPTION="Select the source of the file."
COM_SERMONDISTRIBUTOR_SERMON_SOURCE_LABEL="File Source"
@ -1320,6 +1383,7 @@ COM_SERMONDISTRIBUTOR_SERMON_URL="Url"
COM_SERMONDISTRIBUTOR_SERMON_URL_DESCRIPTION="The url to download the sermon."
COM_SERMONDISTRIBUTOR_SERMON_URL_HINT="http://www.domain.com/direct-link-to-download.mp3"
COM_SERMONDISTRIBUTOR_SERMON_URL_LABEL="File URL"
COM_SERMONDISTRIBUTOR_SERMON_URL_MESSAGE="Error! Please add sermon url here."
COM_SERMONDISTRIBUTOR_SERMON_VERSION_DESC="A count of the number of times this Sermon has been revised."
COM_SERMONDISTRIBUTOR_SERMON_VERSION_LABEL="Revision"
COM_SERMONDISTRIBUTOR_SHAREDURL="Shared-url"
@ -1377,6 +1441,7 @@ COM_SERMONDISTRIBUTOR_STATISTIC_COUNTER="Counter"
COM_SERMONDISTRIBUTOR_STATISTIC_COUNTER_DESCRIPTION="Enter number."
COM_SERMONDISTRIBUTOR_STATISTIC_COUNTER_HINT="Number Here."
COM_SERMONDISTRIBUTOR_STATISTIC_COUNTER_LABEL="Counter"
COM_SERMONDISTRIBUTOR_STATISTIC_COUNTER_MESSAGE="Error! Please add a number."
COM_SERMONDISTRIBUTOR_STATISTIC_CREATED_BY_DESC="The user that created this Statistic."
COM_SERMONDISTRIBUTOR_STATISTIC_CREATED_BY_LABEL="Created By"
COM_SERMONDISTRIBUTOR_STATISTIC_CREATED_DATE_DESC="The date this Statistic was created."
@ -1388,6 +1453,7 @@ COM_SERMONDISTRIBUTOR_STATISTIC_FILENAME="Filename"
COM_SERMONDISTRIBUTOR_STATISTIC_FILENAME_DESCRIPTION="Enter the file name."
COM_SERMONDISTRIBUTOR_STATISTIC_FILENAME_HINT="the_file_name.mp3"
COM_SERMONDISTRIBUTOR_STATISTIC_FILENAME_LABEL="File Name"
COM_SERMONDISTRIBUTOR_STATISTIC_FILENAME_MESSAGE="Error! Please add file name here."
COM_SERMONDISTRIBUTOR_STATISTIC_ID="Id"
COM_SERMONDISTRIBUTOR_STATISTIC_MODIFIED_BY_DESC="The last user that modified this Statistic."
COM_SERMONDISTRIBUTOR_STATISTIC_MODIFIED_BY_LABEL="Modified By"
@ -1433,6 +1499,7 @@ COM_SERMONDISTRIBUTOR_THE_UPDATE_IS_RUNNING="The update is running."
COM_SERMONDISTRIBUTOR_THE_WIKI_IS_LOADING="The wiki is loading"
COM_SERMONDISTRIBUTOR_THIS_SOURCE_HAS_NO_LOCAL_LISTING_SET="This source has no local listing set."
COM_SERMONDISTRIBUTOR_TOTAL_DOWNLOADS="total downloads"
COM_SERMONDISTRIBUTOR_TRASHED="Trashed"
COM_SERMONDISTRIBUTOR_UNKNOWN_ERROR_HAS_OCCURRED="Unknown error has occurred."
COM_SERMONDISTRIBUTOR_UPDATE_LOCAL_LINKS_OF_TARGET_S_EXTERNAL_SOURCE="Update Local Links of (target %s) External Source"
COM_SERMONDISTRIBUTOR_UP_TO_DATE="Up to date"

View File

@ -1,5 +1,125 @@
COM_SERMONDISTRIBUTOR="Sermon Distributor"
COM_SERMONDISTRIBUTOR_CATEGORIES_ACCESS_SITE="Categories (Site) Access"
COM_SERMONDISTRIBUTOR_CATEGORIES_ACCESS_SITE_DESC=" Allows the users in this group to access site categories."
COM_SERMONDISTRIBUTOR_CATEGORY_ACCESS_SITE="Category (Site) Access"
COM_SERMONDISTRIBUTOR_CATEGORY_ACCESS_SITE_DESC=" Allows the users in this group to access site category."
COM_SERMONDISTRIBUTOR_CONFIGURATION="Sermon Distributor Configuration"
COM_SERMONDISTRIBUTOR_EDIT_CREATED_BY="Edit Created By"
COM_SERMONDISTRIBUTOR_EDIT_CREATED_BY_DESC=" Allows users in this group to edit created by."
COM_SERMONDISTRIBUTOR_EDIT_CREATED_DATE="Edit Created Date"
COM_SERMONDISTRIBUTOR_EDIT_CREATED_DATE_DESC=" Allows users in this group to edit created date."
COM_SERMONDISTRIBUTOR_EDIT_VERSIONS="Edit Version"
COM_SERMONDISTRIBUTOR_EDIT_VERSIONS_DESC=" Allows users in this group to edit versions."
COM_SERMONDISTRIBUTOR_EXPORT_DATA="Export Data"
COM_SERMONDISTRIBUTOR_EXPORT_DATA_DESC=" Allows users in this group to export data."
COM_SERMONDISTRIBUTOR_EXTERNAL_SOURCES_ACCESS="External Sources Access"
COM_SERMONDISTRIBUTOR_EXTERNAL_SOURCES_ACCESS_DESC="Allows the users in this group to access access external sources"
COM_SERMONDISTRIBUTOR_EXTERNAL_SOURCES_BATCH_USE="External Sources Batch Use"
COM_SERMONDISTRIBUTOR_EXTERNAL_SOURCES_BATCH_USE_DESC="Allows users in this group to use batch copy/update method of batch external sources"
COM_SERMONDISTRIBUTOR_EXTERNAL_SOURCES_CREATE="External Sources Create"
COM_SERMONDISTRIBUTOR_EXTERNAL_SOURCES_CREATE_DESC="Allows the users in this group to create create external sources"
COM_SERMONDISTRIBUTOR_EXTERNAL_SOURCES_DASHBOARD_ADD="External Sources Dashboard Add"
COM_SERMONDISTRIBUTOR_EXTERNAL_SOURCES_DASHBOARD_ADD_DESC="Allows the users in this group to update the dashboard add of the external source"
COM_SERMONDISTRIBUTOR_EXTERNAL_SOURCES_DASHBOARD_LIST="External Sources Dashboard List"
COM_SERMONDISTRIBUTOR_EXTERNAL_SOURCES_DASHBOARD_LIST_DESC="Allows the users in this group to update the dashboard list of the external source"
COM_SERMONDISTRIBUTOR_EXTERNAL_SOURCES_DELETE="External Sources Delete"
COM_SERMONDISTRIBUTOR_EXTERNAL_SOURCES_DELETE_DESC="Allows the users in this group to delete delete external sources"
COM_SERMONDISTRIBUTOR_EXTERNAL_SOURCES_EDIT="External Sources Edit"
COM_SERMONDISTRIBUTOR_EXTERNAL_SOURCES_EDIT_CREATED_BY="External Sources Edit Created By"
COM_SERMONDISTRIBUTOR_EXTERNAL_SOURCES_EDIT_CREATED_BY_DESC="Allows the users in this group to update the created by of the edit created by external sources"
COM_SERMONDISTRIBUTOR_EXTERNAL_SOURCES_EDIT_CREATED_DATE="External Sources Edit Created Date"
COM_SERMONDISTRIBUTOR_EXTERNAL_SOURCES_EDIT_CREATED_DATE_DESC="Allows the users in this group to update the created date of the edit created external sources"
COM_SERMONDISTRIBUTOR_EXTERNAL_SOURCES_EDIT_DESC="Allows the users in this group to edit the external source"
COM_SERMONDISTRIBUTOR_EXTERNAL_SOURCES_EDIT_OWN="External Sources Edit Own"
COM_SERMONDISTRIBUTOR_EXTERNAL_SOURCES_EDIT_OWN_DESC="Allows the users in this group to edit edit own external sources created by them"
COM_SERMONDISTRIBUTOR_EXTERNAL_SOURCES_EDIT_STATE="External Sources Edit State"
COM_SERMONDISTRIBUTOR_EXTERNAL_SOURCES_EDIT_STATE_DESC="Allows the users in this group to update the state of the external source"
COM_SERMONDISTRIBUTOR_EXTERNAL_SOURCES_EDIT_VERSION="External Sources Edit Version"
COM_SERMONDISTRIBUTOR_EXTERNAL_SOURCES_EDIT_VERSION_DESC="Allows users in this group to edit versions of version external sources"
COM_SERMONDISTRIBUTOR_EXTERNAL_SOURCES_EXPORT="External Sources Export"
COM_SERMONDISTRIBUTOR_EXTERNAL_SOURCES_EXPORT_DESC="Allows the users in this group to export export external sources"
COM_SERMONDISTRIBUTOR_EXTERNAL_SOURCES_IMPORT="External Sources Import"
COM_SERMONDISTRIBUTOR_EXTERNAL_SOURCES_IMPORT_DESC="Allows the users in this group to import import external sources"
COM_SERMONDISTRIBUTOR_EXTERNAL_SOURCES_SUBMENU="External Sources Submenu"
COM_SERMONDISTRIBUTOR_EXTERNAL_SOURCES_SUBMENU_DESC="Allows the users in this group to update the submenu of the external source"
COM_SERMONDISTRIBUTOR_EXTERNAL_SOURCE_CLEAR_LOCAL_LISTING_BUTTON_ACCESS="External Source Clear Local Listing Button Access"
COM_SERMONDISTRIBUTOR_EXTERNAL_SOURCE_CLEAR_LOCAL_LISTING_BUTTON_ACCESS_DESC=" Allows the users in this group to access the clear local listing button."
COM_SERMONDISTRIBUTOR_EXTERNAL_SOURCE_RESET_UPDATE_STATUS_BUTTON_ACCESS="External Source Reset Update Status Button Access"
COM_SERMONDISTRIBUTOR_EXTERNAL_SOURCE_RESET_UPDATE_STATUS_BUTTON_ACCESS_DESC=" Allows the users in this group to access the reset update status button."
COM_SERMONDISTRIBUTOR_HELP_DOCUMENTS_ACCESS="Help Documents Access"
COM_SERMONDISTRIBUTOR_HELP_DOCUMENTS_ACCESS_DESC="Allows the users in this group to access access help documents"
COM_SERMONDISTRIBUTOR_HELP_DOCUMENTS_BATCH_USE="Help Documents Batch Use"
COM_SERMONDISTRIBUTOR_HELP_DOCUMENTS_BATCH_USE_DESC="Allows users in this group to use batch copy/update method of batch help documents"
COM_SERMONDISTRIBUTOR_HELP_DOCUMENTS_CREATE="Help Documents Create"
COM_SERMONDISTRIBUTOR_HELP_DOCUMENTS_CREATE_DESC="Allows the users in this group to create create help documents"
COM_SERMONDISTRIBUTOR_HELP_DOCUMENTS_DASHBOARD_LIST="Help Documents Dashboard List"
COM_SERMONDISTRIBUTOR_HELP_DOCUMENTS_DASHBOARD_LIST_DESC="Allows the users in this group to update the dashboard list of the help document"
COM_SERMONDISTRIBUTOR_HELP_DOCUMENTS_DELETE="Help Documents Delete"
COM_SERMONDISTRIBUTOR_HELP_DOCUMENTS_DELETE_DESC="Allows the users in this group to delete delete help documents"
COM_SERMONDISTRIBUTOR_HELP_DOCUMENTS_EDIT="Help Documents Edit"
COM_SERMONDISTRIBUTOR_HELP_DOCUMENTS_EDIT_DESC="Allows the users in this group to edit the help document"
COM_SERMONDISTRIBUTOR_HELP_DOCUMENTS_EDIT_OWN="Help Documents Edit Own"
COM_SERMONDISTRIBUTOR_HELP_DOCUMENTS_EDIT_OWN_DESC="Allows the users in this group to edit edit own help documents created by them"
COM_SERMONDISTRIBUTOR_HELP_DOCUMENTS_EDIT_STATE="Help Documents Edit State"
COM_SERMONDISTRIBUTOR_HELP_DOCUMENTS_EDIT_STATE_DESC="Allows the users in this group to update the state of the help document"
COM_SERMONDISTRIBUTOR_HELP_DOCUMENTS_EDIT_VERSION="Help Documents Edit Version"
COM_SERMONDISTRIBUTOR_HELP_DOCUMENTS_EDIT_VERSION_DESC="Allows users in this group to edit versions of version help documents"
COM_SERMONDISTRIBUTOR_HELP_DOCUMENTS_EXPORT="Help Documents Export"
COM_SERMONDISTRIBUTOR_HELP_DOCUMENTS_EXPORT_DESC="Allows the users in this group to export export help documents"
COM_SERMONDISTRIBUTOR_HELP_DOCUMENTS_IMPORT="Help Documents Import"
COM_SERMONDISTRIBUTOR_HELP_DOCUMENTS_IMPORT_DESC="Allows the users in this group to import import help documents"
COM_SERMONDISTRIBUTOR_HELP_DOCUMENTS_SUBMENU="Help Documents Submenu"
COM_SERMONDISTRIBUTOR_HELP_DOCUMENTS_SUBMENU_DESC="Allows the users in this group to update the submenu of the help document"
COM_SERMONDISTRIBUTOR_IMPORT_DATA="Import Data"
COM_SERMONDISTRIBUTOR_IMPORT_DATA_DESC=" Allows users in this group to import data."
COM_SERMONDISTRIBUTOR_LOCAL_LISTINGS_ACCESS="Local Listings Access"
COM_SERMONDISTRIBUTOR_LOCAL_LISTINGS_ACCESS_DESC="Allows the users in this group to access access local listings"
COM_SERMONDISTRIBUTOR_LOCAL_LISTINGS_BATCH_USE="Local Listings Batch Use"
COM_SERMONDISTRIBUTOR_LOCAL_LISTINGS_BATCH_USE_DESC="Allows users in this group to use batch copy/update method of batch local listings"
COM_SERMONDISTRIBUTOR_LOCAL_LISTINGS_CREATE="Local Listings Create"
COM_SERMONDISTRIBUTOR_LOCAL_LISTINGS_CREATE_DESC="Allows the users in this group to create create local listings"
COM_SERMONDISTRIBUTOR_LOCAL_LISTINGS_DASHBOARD_LIST="Local Listings Dashboard List"
COM_SERMONDISTRIBUTOR_LOCAL_LISTINGS_DASHBOARD_LIST_DESC="Allows the users in this group to update the dashboard list of the local listing"
COM_SERMONDISTRIBUTOR_LOCAL_LISTINGS_DELETE="Local Listings Delete"
COM_SERMONDISTRIBUTOR_LOCAL_LISTINGS_DELETE_DESC="Allows the users in this group to delete delete local listings"
COM_SERMONDISTRIBUTOR_LOCAL_LISTINGS_EDIT="Local Listings Edit"
COM_SERMONDISTRIBUTOR_LOCAL_LISTINGS_EDIT_BUILD="Local Listings Edit Build"
COM_SERMONDISTRIBUTOR_LOCAL_LISTINGS_EDIT_BUILD_DESC="Allows the users in this group to update the edit build of the local listing"
COM_SERMONDISTRIBUTOR_LOCAL_LISTINGS_EDIT_CREATED_BY="Local Listings Edit Created By"
COM_SERMONDISTRIBUTOR_LOCAL_LISTINGS_EDIT_CREATED_BY_DESC="Allows the users in this group to update the created by of the edit created by local listings"
COM_SERMONDISTRIBUTOR_LOCAL_LISTINGS_EDIT_CREATED_DATE="Local Listings Edit Created Date"
COM_SERMONDISTRIBUTOR_LOCAL_LISTINGS_EDIT_CREATED_DATE_DESC="Allows the users in this group to update the created date of the edit created local listings"
COM_SERMONDISTRIBUTOR_LOCAL_LISTINGS_EDIT_DESC="Allows the users in this group to edit the local listing"
COM_SERMONDISTRIBUTOR_LOCAL_LISTINGS_EDIT_EXTERNAL_SOURCE="Local Listings Edit External Source"
COM_SERMONDISTRIBUTOR_LOCAL_LISTINGS_EDIT_EXTERNAL_SOURCE_DESC="Allows the users in this group to update the edit external source of the local listing"
COM_SERMONDISTRIBUTOR_LOCAL_LISTINGS_EDIT_KEY="Local Listings Edit Key"
COM_SERMONDISTRIBUTOR_LOCAL_LISTINGS_EDIT_KEY_DESC="Allows the users in this group to update the edit key of the local listing"
COM_SERMONDISTRIBUTOR_LOCAL_LISTINGS_EDIT_NAME="Local Listings Edit Name"
COM_SERMONDISTRIBUTOR_LOCAL_LISTINGS_EDIT_NAME_DESC="Allows the users in this group to update the edit name of the local listing"
COM_SERMONDISTRIBUTOR_LOCAL_LISTINGS_EDIT_OWN="Local Listings Edit Own"
COM_SERMONDISTRIBUTOR_LOCAL_LISTINGS_EDIT_OWN_DESC="Allows the users in this group to edit edit own local listings created by them"
COM_SERMONDISTRIBUTOR_LOCAL_LISTINGS_EDIT_SIZE="Local Listings Edit Size"
COM_SERMONDISTRIBUTOR_LOCAL_LISTINGS_EDIT_SIZE_DESC="Allows the users in this group to update the edit size of the local listing"
COM_SERMONDISTRIBUTOR_LOCAL_LISTINGS_EDIT_STATE="Local Listings Edit State"
COM_SERMONDISTRIBUTOR_LOCAL_LISTINGS_EDIT_STATE_DESC="Allows the users in this group to update the state of the local listing"
COM_SERMONDISTRIBUTOR_LOCAL_LISTINGS_EDIT_URL="Local Listings Edit Url"
COM_SERMONDISTRIBUTOR_LOCAL_LISTINGS_EDIT_URL_DESC="Allows the users in this group to update the edit url of the local listing"
COM_SERMONDISTRIBUTOR_LOCAL_LISTINGS_EDIT_VERSION="Local Listings Edit Version"
COM_SERMONDISTRIBUTOR_LOCAL_LISTINGS_EDIT_VERSION_DESC="Allows users in this group to edit versions of version local listings"
COM_SERMONDISTRIBUTOR_LOCAL_LISTINGS_EXPORT="Local Listings Export"
COM_SERMONDISTRIBUTOR_LOCAL_LISTINGS_EXPORT_DESC="Allows the users in this group to export export local listings"
COM_SERMONDISTRIBUTOR_LOCAL_LISTINGS_IMPORT="Local Listings Import"
COM_SERMONDISTRIBUTOR_LOCAL_LISTINGS_IMPORT_DESC="Allows the users in this group to import import local listings"
COM_SERMONDISTRIBUTOR_LOCAL_LISTINGS_SUBMENU="Local Listings Submenu"
COM_SERMONDISTRIBUTOR_LOCAL_LISTINGS_SUBMENU_DESC="Allows the users in this group to update the submenu of the local listing"
COM_SERMONDISTRIBUTOR_MANUAL_UPDATER_ACCESS="Manual Updater Access"
COM_SERMONDISTRIBUTOR_MANUAL_UPDATER_ACCESS_DESC="Allows the users in this group to access Manual Updater"
COM_SERMONDISTRIBUTOR_MANUAL_UPDATER_DASHBOARD_LIST="Manual Updater Dashboard List"
COM_SERMONDISTRIBUTOR_MANUAL_UPDATER_DASHBOARD_LIST_DESC="Allows the users in this group to update the dashboard list of the Manual Updater"
COM_SERMONDISTRIBUTOR_MANUAL_UPDATER_EXTERNAL_SOURCES_BUTTON_ACCESS="Manual Updater External Sources Button Access"
COM_SERMONDISTRIBUTOR_MANUAL_UPDATER_EXTERNAL_SOURCES_BUTTON_ACCESS_DESC=" Allows the users in this group to access the external sources button."
COM_SERMONDISTRIBUTOR_MANUAL_UPDATER_SUBMENU="Manual Updater Submenu"
COM_SERMONDISTRIBUTOR_MANUAL_UPDATER_SUBMENU_DESC="Allows the users in this group to update the submenu of the Manual Updater"
COM_SERMONDISTRIBUTOR_MENU="&#187; Sermon Distributor"
COM_SERMONDISTRIBUTOR_MENU_CATEGORIES_DESC="All categories that are published"
COM_SERMONDISTRIBUTOR_MENU_CATEGORIES_OPTION="Categories"
@ -22,3 +142,133 @@ COM_SERMONDISTRIBUTOR_MENU_SERIES_LIST="Series List"
COM_SERMONDISTRIBUTOR_MENU_SERIES_OPTION="Series"
COM_SERMONDISTRIBUTOR_MENU_SERIES_TITLE="Series"
COM_SERMONDISTRIBUTOR_MENU_SERMONS="Sermons"
COM_SERMONDISTRIBUTOR_PREACHERS_ACCESS="Preachers Access"
COM_SERMONDISTRIBUTOR_PREACHERS_ACCESS_DESC="Allows the users in this group to access access preachers"
COM_SERMONDISTRIBUTOR_PREACHERS_ACCESS_SITE="Preachers (Site) Access"
COM_SERMONDISTRIBUTOR_PREACHERS_ACCESS_SITE_DESC=" Allows the users in this group to access site preachers."
COM_SERMONDISTRIBUTOR_PREACHERS_BATCH_USE="Preachers Batch Use"
COM_SERMONDISTRIBUTOR_PREACHERS_BATCH_USE_DESC="Allows users in this group to use batch copy/update method of batch preachers"
COM_SERMONDISTRIBUTOR_PREACHERS_CREATE="Preachers Create"
COM_SERMONDISTRIBUTOR_PREACHERS_CREATE_DESC="Allows the users in this group to create create preachers"
COM_SERMONDISTRIBUTOR_PREACHERS_DASHBOARD_ADD="Preachers Dashboard Add"
COM_SERMONDISTRIBUTOR_PREACHERS_DASHBOARD_ADD_DESC="Allows the users in this group to update the dashboard add of the preacher"
COM_SERMONDISTRIBUTOR_PREACHERS_DASHBOARD_LIST="Preachers Dashboard List"
COM_SERMONDISTRIBUTOR_PREACHERS_DASHBOARD_LIST_DESC="Allows the users in this group to update the dashboard list of the preacher"
COM_SERMONDISTRIBUTOR_PREACHERS_DELETE="Preachers Delete"
COM_SERMONDISTRIBUTOR_PREACHERS_DELETE_DESC="Allows the users in this group to delete delete preachers"
COM_SERMONDISTRIBUTOR_PREACHERS_EDIT="Preachers Edit"
COM_SERMONDISTRIBUTOR_PREACHERS_EDIT_CREATED_BY="Preachers Edit Created By"
COM_SERMONDISTRIBUTOR_PREACHERS_EDIT_CREATED_BY_DESC="Allows the users in this group to update the created by of the edit created by preachers"
COM_SERMONDISTRIBUTOR_PREACHERS_EDIT_CREATED_DATE="Preachers Edit Created Date"
COM_SERMONDISTRIBUTOR_PREACHERS_EDIT_CREATED_DATE_DESC="Allows the users in this group to update the created date of the edit created preachers"
COM_SERMONDISTRIBUTOR_PREACHERS_EDIT_DESC="Allows the users in this group to edit the preacher"
COM_SERMONDISTRIBUTOR_PREACHERS_EDIT_OWN="Preachers Edit Own"
COM_SERMONDISTRIBUTOR_PREACHERS_EDIT_OWN_DESC="Allows the users in this group to edit edit own preachers created by them"
COM_SERMONDISTRIBUTOR_PREACHERS_EDIT_STATE="Preachers Edit State"
COM_SERMONDISTRIBUTOR_PREACHERS_EDIT_STATE_DESC="Allows the users in this group to update the state of the preacher"
COM_SERMONDISTRIBUTOR_PREACHERS_EDIT_VERSION="Preachers Edit Version"
COM_SERMONDISTRIBUTOR_PREACHERS_EDIT_VERSION_DESC="Allows users in this group to edit versions of version preachers"
COM_SERMONDISTRIBUTOR_PREACHERS_EXPORT="Preachers Export"
COM_SERMONDISTRIBUTOR_PREACHERS_EXPORT_DESC="Allows the users in this group to export export preachers"
COM_SERMONDISTRIBUTOR_PREACHERS_IMPORT="Preachers Import"
COM_SERMONDISTRIBUTOR_PREACHERS_IMPORT_DESC="Allows the users in this group to import import preachers"
COM_SERMONDISTRIBUTOR_PREACHERS_SUBMENU="Preachers Submenu"
COM_SERMONDISTRIBUTOR_PREACHERS_SUBMENU_DESC="Allows the users in this group to update the submenu of the preacher"
COM_SERMONDISTRIBUTOR_PREACHER_ACCESS_SITE="Preacher (Site) Access"
COM_SERMONDISTRIBUTOR_PREACHER_ACCESS_SITE_DESC=" Allows the users in this group to access site preacher."
COM_SERMONDISTRIBUTOR_SERIES_ACCESS_SITE="Series (Site) Access"
COM_SERMONDISTRIBUTOR_SERIES_ACCESS_SITE_DESC=" Allows the users in this group to access site series."
COM_SERMONDISTRIBUTOR_SERIES_LIST_ACCESS="Series List Access"
COM_SERMONDISTRIBUTOR_SERIES_LIST_ACCESS_DESC="Allows the users in this group to access access series list"
COM_SERMONDISTRIBUTOR_SERIES_LIST_ACCESS_SITE="Series List (Site) Access"
COM_SERMONDISTRIBUTOR_SERIES_LIST_ACCESS_SITE_DESC=" Allows the users in this group to access site series list."
COM_SERMONDISTRIBUTOR_SERIES_LIST_BATCH_USE="Series List Batch Use"
COM_SERMONDISTRIBUTOR_SERIES_LIST_BATCH_USE_DESC="Allows users in this group to use batch copy/update method of batch series list"
COM_SERMONDISTRIBUTOR_SERIES_LIST_CREATE="Series List Create"
COM_SERMONDISTRIBUTOR_SERIES_LIST_CREATE_DESC="Allows the users in this group to create create series list"
COM_SERMONDISTRIBUTOR_SERIES_LIST_DASHBOARD_ADD="Series List Dashboard Add"
COM_SERMONDISTRIBUTOR_SERIES_LIST_DASHBOARD_ADD_DESC="Allows the users in this group to update the dashboard add of the series"
COM_SERMONDISTRIBUTOR_SERIES_LIST_DASHBOARD_LIST="Series List Dashboard List"
COM_SERMONDISTRIBUTOR_SERIES_LIST_DASHBOARD_LIST_DESC="Allows the users in this group to update the dashboard list of the series"
COM_SERMONDISTRIBUTOR_SERIES_LIST_DELETE="Series List Delete"
COM_SERMONDISTRIBUTOR_SERIES_LIST_DELETE_DESC="Allows the users in this group to delete delete series list"
COM_SERMONDISTRIBUTOR_SERIES_LIST_EDIT="Series List Edit"
COM_SERMONDISTRIBUTOR_SERIES_LIST_EDIT_CREATED_BY="Series List Edit Created By"
COM_SERMONDISTRIBUTOR_SERIES_LIST_EDIT_CREATED_BY_DESC="Allows the users in this group to update the created by of the edit created by series list"
COM_SERMONDISTRIBUTOR_SERIES_LIST_EDIT_CREATED_DATE="Series List Edit Created Date"
COM_SERMONDISTRIBUTOR_SERIES_LIST_EDIT_CREATED_DATE_DESC="Allows the users in this group to update the created date of the edit created series list"
COM_SERMONDISTRIBUTOR_SERIES_LIST_EDIT_DESC="Allows the users in this group to edit the series"
COM_SERMONDISTRIBUTOR_SERIES_LIST_EDIT_OWN="Series List Edit Own"
COM_SERMONDISTRIBUTOR_SERIES_LIST_EDIT_OWN_DESC="Allows the users in this group to edit edit own series list created by them"
COM_SERMONDISTRIBUTOR_SERIES_LIST_EDIT_STATE="Series List Edit State"
COM_SERMONDISTRIBUTOR_SERIES_LIST_EDIT_STATE_DESC="Allows the users in this group to update the state of the series"
COM_SERMONDISTRIBUTOR_SERIES_LIST_EDIT_VERSION="Series List Edit Version"
COM_SERMONDISTRIBUTOR_SERIES_LIST_EDIT_VERSION_DESC="Allows users in this group to edit versions of version series list"
COM_SERMONDISTRIBUTOR_SERIES_LIST_EXPORT="Series List Export"
COM_SERMONDISTRIBUTOR_SERIES_LIST_EXPORT_DESC="Allows the users in this group to export export series list"
COM_SERMONDISTRIBUTOR_SERIES_LIST_IMPORT="Series List Import"
COM_SERMONDISTRIBUTOR_SERIES_LIST_IMPORT_DESC="Allows the users in this group to import import series list"
COM_SERMONDISTRIBUTOR_SERIES_LIST_SUBMENU="Series List Submenu"
COM_SERMONDISTRIBUTOR_SERIES_LIST_SUBMENU_DESC="Allows the users in this group to update the submenu of the series"
COM_SERMONDISTRIBUTOR_SERMONS_ACCESS="Sermons Access"
COM_SERMONDISTRIBUTOR_SERMONS_ACCESS_DESC="Allows the users in this group to access access sermons"
COM_SERMONDISTRIBUTOR_SERMONS_BATCH_USE="Sermons Batch Use"
COM_SERMONDISTRIBUTOR_SERMONS_BATCH_USE_DESC="Allows users in this group to use batch copy/update method of batch sermons"
COM_SERMONDISTRIBUTOR_SERMONS_CREATE="Sermons Create"
COM_SERMONDISTRIBUTOR_SERMONS_CREATE_DESC="Allows the users in this group to create create sermons"
COM_SERMONDISTRIBUTOR_SERMONS_DASHBOARD_ADD="Sermons Dashboard Add"
COM_SERMONDISTRIBUTOR_SERMONS_DASHBOARD_ADD_DESC="Allows the users in this group to update the dashboard add of the sermon"
COM_SERMONDISTRIBUTOR_SERMONS_DASHBOARD_LIST="Sermons Dashboard List"
COM_SERMONDISTRIBUTOR_SERMONS_DASHBOARD_LIST_DESC="Allows the users in this group to update the dashboard list of the sermon"
COM_SERMONDISTRIBUTOR_SERMONS_DELETE="Sermons Delete"
COM_SERMONDISTRIBUTOR_SERMONS_DELETE_DESC="Allows the users in this group to delete delete sermons"
COM_SERMONDISTRIBUTOR_SERMONS_EDIT="Sermons Edit"
COM_SERMONDISTRIBUTOR_SERMONS_EDIT_CREATED_BY="Sermons Edit Created By"
COM_SERMONDISTRIBUTOR_SERMONS_EDIT_CREATED_BY_DESC="Allows the users in this group to update the created by of the edit created by sermons"
COM_SERMONDISTRIBUTOR_SERMONS_EDIT_CREATED_DATE="Sermons Edit Created Date"
COM_SERMONDISTRIBUTOR_SERMONS_EDIT_CREATED_DATE_DESC="Allows the users in this group to update the created date of the edit created sermons"
COM_SERMONDISTRIBUTOR_SERMONS_EDIT_DESC="Allows the users in this group to edit the sermon"
COM_SERMONDISTRIBUTOR_SERMONS_EDIT_OWN="Sermons Edit Own"
COM_SERMONDISTRIBUTOR_SERMONS_EDIT_OWN_DESC="Allows the users in this group to edit edit own sermons created by them"
COM_SERMONDISTRIBUTOR_SERMONS_EDIT_STATE="Sermons Edit State"
COM_SERMONDISTRIBUTOR_SERMONS_EDIT_STATE_DESC="Allows the users in this group to update the state of the sermon"
COM_SERMONDISTRIBUTOR_SERMONS_EDIT_VERSION="Sermons Edit Version"
COM_SERMONDISTRIBUTOR_SERMONS_EDIT_VERSION_DESC="Allows users in this group to edit versions of version sermons"
COM_SERMONDISTRIBUTOR_SERMONS_EXPORT="Sermons Export"
COM_SERMONDISTRIBUTOR_SERMONS_EXPORT_DESC="Allows the users in this group to export export sermons"
COM_SERMONDISTRIBUTOR_SERMONS_IMPORT="Sermons Import"
COM_SERMONDISTRIBUTOR_SERMONS_IMPORT_DESC="Allows the users in this group to import import sermons"
COM_SERMONDISTRIBUTOR_SERMONS_SUBMENU="Sermons Submenu"
COM_SERMONDISTRIBUTOR_SERMONS_SUBMENU_DESC="Allows the users in this group to update the submenu of the sermon"
COM_SERMONDISTRIBUTOR_SERMON_ACCESS_SITE="Sermon (Site) Access"
COM_SERMONDISTRIBUTOR_SERMON_ACCESS_SITE_DESC=" Allows the users in this group to access site sermon."
COM_SERMONDISTRIBUTOR_STATISTICS_ACCESS="Statistics Access"
COM_SERMONDISTRIBUTOR_STATISTICS_ACCESS_DESC="Allows the users in this group to access access statistics"
COM_SERMONDISTRIBUTOR_STATISTICS_BATCH_USE="Statistics Batch Use"
COM_SERMONDISTRIBUTOR_STATISTICS_BATCH_USE_DESC="Allows users in this group to use batch copy/update method of batch statistics"
COM_SERMONDISTRIBUTOR_STATISTICS_CREATE="Statistics Create"
COM_SERMONDISTRIBUTOR_STATISTICS_CREATE_DESC="Allows the users in this group to create create statistics"
COM_SERMONDISTRIBUTOR_STATISTICS_DASHBOARD_LIST="Statistics Dashboard List"
COM_SERMONDISTRIBUTOR_STATISTICS_DASHBOARD_LIST_DESC="Allows the users in this group to update the dashboard list of the statistic"
COM_SERMONDISTRIBUTOR_STATISTICS_DELETE="Statistics Delete"
COM_SERMONDISTRIBUTOR_STATISTICS_DELETE_DESC="Allows the users in this group to delete delete statistics"
COM_SERMONDISTRIBUTOR_STATISTICS_EDIT="Statistics Edit"
COM_SERMONDISTRIBUTOR_STATISTICS_EDIT_CREATED_BY="Statistics Edit Created By"
COM_SERMONDISTRIBUTOR_STATISTICS_EDIT_CREATED_BY_DESC="Allows the users in this group to update the created by of the edit created by statistics"
COM_SERMONDISTRIBUTOR_STATISTICS_EDIT_CREATED_DATE="Statistics Edit Created Date"
COM_SERMONDISTRIBUTOR_STATISTICS_EDIT_CREATED_DATE_DESC="Allows the users in this group to update the created date of the edit created statistics"
COM_SERMONDISTRIBUTOR_STATISTICS_EDIT_DESC="Allows the users in this group to edit the statistic"
COM_SERMONDISTRIBUTOR_STATISTICS_EDIT_OWN="Statistics Edit Own"
COM_SERMONDISTRIBUTOR_STATISTICS_EDIT_OWN_DESC="Allows the users in this group to edit edit own statistics created by them"
COM_SERMONDISTRIBUTOR_STATISTICS_EDIT_STATE="Statistics Edit State"
COM_SERMONDISTRIBUTOR_STATISTICS_EDIT_STATE_DESC="Allows the users in this group to update the state of the statistic"
COM_SERMONDISTRIBUTOR_STATISTICS_EDIT_VERSION="Statistics Edit Version"
COM_SERMONDISTRIBUTOR_STATISTICS_EDIT_VERSION_DESC="Allows users in this group to edit versions of version statistics"
COM_SERMONDISTRIBUTOR_STATISTICS_EXPORT="Statistics Export"
COM_SERMONDISTRIBUTOR_STATISTICS_EXPORT_DESC="Allows the users in this group to export export statistics"
COM_SERMONDISTRIBUTOR_STATISTICS_IMPORT="Statistics Import"
COM_SERMONDISTRIBUTOR_STATISTICS_IMPORT_DESC="Allows the users in this group to import import statistics"
COM_SERMONDISTRIBUTOR_STATISTICS_SUBMENU="Statistics Submenu"
COM_SERMONDISTRIBUTOR_STATISTICS_SUBMENU_DESC="Allows the users in this group to update the submenu of the statistic"
COM_SERMONDISTRIBUTOR_USE_BATCH="Use Batch"
COM_SERMONDISTRIBUTOR_USE_BATCH_DESC=" Allows users in this group to use batch copy/update method."

View File

@ -10,8 +10,8 @@
|_|
/-------------------------------------------------------------------------------------------------------------------------------/
@version 1.4.1
@build 24th August, 2017
@version 2.0.x
@build 3rd March, 2018
@created 22nd October, 2015
@package Sermon Distributor
@subpackage batchselection.php

View File

@ -10,8 +10,8 @@
|_|
/-------------------------------------------------------------------------------------------------------------------------------/
@version 1.4.1
@build 24th August, 2017
@version 2.0.x
@build 3rd March, 2018
@created 22nd October, 2015
@package Sermon Distributor
@subpackage build_option_fullwidth.php

View File

@ -10,8 +10,8 @@
|_|
/-------------------------------------------------------------------------------------------------------------------------------/
@version 1.4.1
@build 24th August, 2017
@version 2.0.x
@build 3rd March, 2018
@created 22nd October, 2015
@package Sermon Distributor
@subpackage details_above.php

View File

@ -10,8 +10,8 @@
|_|
/-------------------------------------------------------------------------------------------------------------------------------/
@version 1.4.1
@build 24th August, 2017
@version 2.0.x
@build 3rd March, 2018
@created 22nd October, 2015
@package Sermon Distributor
@subpackage details_fullwidth.php
@ -31,7 +31,8 @@ $form = $displayData->getForm();
$fields = $displayData->get('fields') ?: array(
'sharedurl',
'folder'
'folder',
'apicronjob_note'
);
?>

View File

@ -10,8 +10,8 @@
|_|
/-------------------------------------------------------------------------------------------------------------------------------/
@version 1.4.1
@build 24th August, 2017
@version 2.0.x
@build 3rd March, 2018
@created 22nd October, 2015
@package Sermon Distributor
@subpackage details_left.php

View File

@ -10,8 +10,8 @@
|_|
/-------------------------------------------------------------------------------------------------------------------------------/
@version 1.4.1
@build 24th August, 2017
@version 2.0.x
@build 3rd March, 2018
@created 22nd October, 2015
@package Sermon Distributor
@subpackage details_right.php

View File

@ -10,8 +10,8 @@
|_|
/-------------------------------------------------------------------------------------------------------------------------------/
@version 1.4.1
@build 24th August, 2017
@version 2.0.x
@build 3rd March, 2018
@created 22nd October, 2015
@package Sermon Distributor
@subpackage details_under.php

View File

@ -10,8 +10,8 @@
|_|
/-------------------------------------------------------------------------------------------------------------------------------/
@version 1.4.1
@build 24th August, 2017
@version 2.0.x
@build 3rd March, 2018
@created 22nd October, 2015
@package Sermon Distributor
@subpackage publishing.php

View File

@ -10,8 +10,8 @@
|_|
/-------------------------------------------------------------------------------------------------------------------------------/
@version 1.4.1
@build 24th August, 2017
@version 2.0.x
@build 3rd March, 2018
@created 22nd October, 2015
@package Sermon Distributor
@subpackage publlshing.php

View File

@ -10,8 +10,8 @@
|_|
/-------------------------------------------------------------------------------------------------------------------------------/
@version 1.4.1
@build 24th August, 2017
@version 2.0.x
@build 3rd March, 2018
@created 22nd October, 2015
@package Sermon Distributor
@subpackage details_above.php

View File

@ -10,8 +10,8 @@
|_|
/-------------------------------------------------------------------------------------------------------------------------------/
@version 1.4.1
@build 24th August, 2017
@version 2.0.x
@build 3rd March, 2018
@created 22nd October, 2015
@package Sermon Distributor
@subpackage details_fullwidth.php

View File

@ -10,8 +10,8 @@
|_|
/-------------------------------------------------------------------------------------------------------------------------------/
@version 1.4.1
@build 24th August, 2017
@version 2.0.x
@build 3rd March, 2018
@created 22nd October, 2015
@package Sermon Distributor
@subpackage details_left.php

View File

@ -10,8 +10,8 @@
|_|
/-------------------------------------------------------------------------------------------------------------------------------/
@version 1.4.1
@build 24th August, 2017
@version 2.0.x
@build 3rd March, 2018
@created 22nd October, 2015
@package Sermon Distributor
@subpackage details_right.php

View File

@ -10,8 +10,8 @@
|_|
/-------------------------------------------------------------------------------------------------------------------------------/
@version 1.4.1
@build 24th August, 2017
@version 2.0.x
@build 3rd March, 2018
@created 22nd October, 2015
@package Sermon Distributor
@subpackage details_under.php

View File

@ -10,8 +10,8 @@
|_|
/-------------------------------------------------------------------------------------------------------------------------------/
@version 1.4.1
@build 24th August, 2017
@version 2.0.x
@build 3rd March, 2018
@created 22nd October, 2015
@package Sermon Distributor
@subpackage metadata.php

View File

@ -10,8 +10,8 @@
|_|
/-------------------------------------------------------------------------------------------------------------------------------/
@version 1.4.1
@build 24th August, 2017
@version 2.0.x
@build 3rd March, 2018
@created 22nd October, 2015
@package Sermon Distributor
@subpackage publishing.php

View File

@ -10,8 +10,8 @@
|_|
/-------------------------------------------------------------------------------------------------------------------------------/
@version 1.4.1
@build 24th August, 2017
@version 2.0.x
@build 3rd March, 2018
@created 22nd October, 2015
@package Sermon Distributor
@subpackage details_above.php

View File

@ -10,8 +10,8 @@
|_|
/-------------------------------------------------------------------------------------------------------------------------------/
@version 1.4.1
@build 24th August, 2017
@version 2.0.x
@build 3rd March, 2018
@created 22nd October, 2015
@package Sermon Distributor
@subpackage details_fullwidth.php

View File

@ -10,8 +10,8 @@
|_|
/-------------------------------------------------------------------------------------------------------------------------------/
@version 1.4.1
@build 24th August, 2017
@version 2.0.x
@build 3rd March, 2018
@created 22nd October, 2015
@package Sermon Distributor
@subpackage details_left.php

View File

@ -10,8 +10,8 @@
|_|
/-------------------------------------------------------------------------------------------------------------------------------/
@version 1.4.1
@build 24th August, 2017
@version 2.0.x
@build 3rd March, 2018
@created 22nd October, 2015
@package Sermon Distributor
@subpackage details_right.php

View File

@ -10,8 +10,8 @@
|_|
/-------------------------------------------------------------------------------------------------------------------------------/
@version 1.4.1
@build 24th August, 2017
@version 2.0.x
@build 3rd March, 2018
@created 22nd October, 2015
@package Sermon Distributor
@subpackage publishing.php

View File

@ -10,8 +10,8 @@
|_|
/-------------------------------------------------------------------------------------------------------------------------------/
@version 1.4.1
@build 24th August, 2017
@version 2.0.x
@build 3rd March, 2018
@created 22nd October, 2015
@package Sermon Distributor
@subpackage publlshing.php

View File

@ -10,8 +10,8 @@
|_|
/-------------------------------------------------------------------------------------------------------------------------------/
@version 1.4.1
@build 24th August, 2017
@version 2.0.x
@build 3rd March, 2018
@created 22nd October, 2015
@package Sermon Distributor
@subpackage details_above.php

View File

@ -10,8 +10,8 @@
|_|
/-------------------------------------------------------------------------------------------------------------------------------/
@version 1.4.1
@build 24th August, 2017
@version 2.0.x
@build 3rd March, 2018
@created 22nd October, 2015
@package Sermon Distributor
@subpackage details_fullwidth.php

View File

@ -10,8 +10,8 @@
|_|
/-------------------------------------------------------------------------------------------------------------------------------/
@version 1.4.1
@build 24th August, 2017
@version 2.0.x
@build 3rd March, 2018
@created 22nd October, 2015
@package Sermon Distributor
@subpackage details_left.php

View File

@ -10,8 +10,8 @@
|_|
/-------------------------------------------------------------------------------------------------------------------------------/
@version 1.4.1
@build 24th August, 2017
@version 2.0.x
@build 3rd March, 2018
@created 22nd October, 2015
@package Sermon Distributor
@subpackage details_right.php

View File

@ -10,8 +10,8 @@
|_|
/-------------------------------------------------------------------------------------------------------------------------------/
@version 1.4.1
@build 24th August, 2017
@version 2.0.x
@build 3rd March, 2018
@created 22nd October, 2015
@package Sermon Distributor
@subpackage metadata.php

View File

@ -10,8 +10,8 @@
|_|
/-------------------------------------------------------------------------------------------------------------------------------/
@version 1.4.1
@build 24th August, 2017
@version 2.0.x
@build 3rd March, 2018
@created 22nd October, 2015
@package Sermon Distributor
@subpackage publishing.php

View File

@ -10,8 +10,8 @@
|_|
/-------------------------------------------------------------------------------------------------------------------------------/
@version 1.4.1
@build 24th August, 2017
@version 2.0.x
@build 3rd March, 2018
@created 22nd October, 2015
@package Sermon Distributor
@subpackage sermons_fullwidth.php
@ -34,12 +34,16 @@ $id = $displayData->item->id;
$edit = "index.php?option=com_sermondistributor&view=sermons&task=sermon.edit";
$ref = ($id) ? "&ref=preacher&refid=".$id : "";
$new = "index.php?option=com_sermondistributor&view=sermon&layout=edit".$ref;
$close_new = "index.php?option=com_sermondistributor&view=sermon&layout=edit";
$can = SermondistributorHelper::getActions('sermon');
?>
<div class="form-vertical">
<?php if ($can->get('sermon.create')): ?>
<a class="btn btn-small btn-success" href="<?php echo $new; ?>"><span class="icon-new icon-white"></span> <?php echo JText::_('COM_SERMONDISTRIBUTOR_NEW'); ?></a><br /><br />
<div class="btn-group">
<a class="btn btn-small btn-success" href="<?php echo $new; ?>"><span class="icon-new icon-white"></span> <?php echo JText::_('COM_SERMONDISTRIBUTOR_NEW'); ?></a>
<a class="btn btn-small" onclick="Joomla.submitbutton('preacher.cancel');" href="<?php echo $close_new; ?>"><span class="icon-new"></span> <?php echo JText::_('COM_SERMONDISTRIBUTOR_CLOSE_NEW'); ?></a>
</div><br /><br />
<?php endif; ?>
<?php if (SermondistributorHelper::checkArray($items)): ?>
<table class="footable table data sermons metro-blue" data-page-size="20" data-filter="#filter_sermons">
@ -120,26 +124,26 @@ $can = SermondistributorHelper::getActions('sermon');
</td>
<?php if ($item->published == 1):?>
<td class="center" data-value="1">
<span class="status-metro status-published" title="<?php echo JText::_('PUBLISHED'); ?>">
<?php echo JText::_('PUBLISHED'); ?>
<span class="status-metro status-published" title="<?php echo JText::_('COM_SERMONDISTRIBUTOR_PUBLISHED'); ?>">
<?php echo JText::_('COM_SERMONDISTRIBUTOR_PUBLISHED'); ?>
</span>
</td>
<?php elseif ($item->published == 0):?>
<td class="center" data-value="2">
<span class="status-metro status-inactive" title="<?php echo JText::_('INACTIVE'); ?>">
<?php echo JText::_('INACTIVE'); ?>
<span class="status-metro status-inactive" title="<?php echo JText::_('COM_SERMONDISTRIBUTOR_INACTIVE'); ?>">
<?php echo JText::_('COM_SERMONDISTRIBUTOR_INACTIVE'); ?>
</span>
</td>
<?php elseif ($item->published == 2):?>
<td class="center" data-value="3">
<span class="status-metro status-archived" title="<?php echo JText::_('ARCHIVED'); ?>">
<?php echo JText::_('ARCHIVED'); ?>
<span class="status-metro status-archived" title="<?php echo JText::_('COM_SERMONDISTRIBUTOR_ARCHIVED'); ?>">
<?php echo JText::_('COM_SERMONDISTRIBUTOR_ARCHIVED'); ?>
</span>
</td>
<?php elseif ($item->published == -2):?>
<td class="center" data-value="4">
<span class="status-metro status-trashed" title="<?php echo JText::_('ARCHIVED'); ?>">
<?php echo JText::_('ARCHIVED'); ?>
<span class="status-metro status-trashed" title="<?php echo JText::_('COM_SERMONDISTRIBUTOR_TRASHED'); ?>">
<?php echo JText::_('COM_SERMONDISTRIBUTOR_TRASHED'); ?>
</span>
</td>
<?php endif; ?>

View File

@ -10,8 +10,8 @@
|_|
/-------------------------------------------------------------------------------------------------------------------------------/
@version 1.4.1
@build 24th August, 2017
@version 2.0.x
@build 3rd March, 2018
@created 22nd October, 2015
@package Sermon Distributor
@subpackage details_above.php

View File

@ -10,8 +10,8 @@
|_|
/-------------------------------------------------------------------------------------------------------------------------------/
@version 1.4.1
@build 24th August, 2017
@version 2.0.x
@build 3rd March, 2018
@created 22nd October, 2015
@package Sermon Distributor
@subpackage details_fullwidth.php

View File

@ -10,8 +10,8 @@
|_|
/-------------------------------------------------------------------------------------------------------------------------------/
@version 1.4.1
@build 24th August, 2017
@version 2.0.x
@build 3rd March, 2018
@created 22nd October, 2015
@package Sermon Distributor
@subpackage details_left.php

View File

@ -10,8 +10,8 @@
|_|
/-------------------------------------------------------------------------------------------------------------------------------/
@version 1.4.1
@build 24th August, 2017
@version 2.0.x
@build 3rd March, 2018
@created 22nd October, 2015
@package Sermon Distributor
@subpackage details_right.php

View File

@ -10,8 +10,8 @@
|_|
/-------------------------------------------------------------------------------------------------------------------------------/
@version 1.4.1
@build 24th August, 2017
@version 2.0.x
@build 3rd March, 2018
@created 22nd October, 2015
@package Sermon Distributor
@subpackage metadata.php

View File

@ -10,8 +10,8 @@
|_|
/-------------------------------------------------------------------------------------------------------------------------------/
@version 1.4.1
@build 24th August, 2017
@version 2.0.x
@build 3rd March, 2018
@created 22nd October, 2015
@package Sermon Distributor
@subpackage publishing.php

View File

@ -10,8 +10,8 @@
|_|
/-------------------------------------------------------------------------------------------------------------------------------/
@version 1.4.1
@build 24th August, 2017
@version 2.0.x
@build 3rd March, 2018
@created 22nd October, 2015
@package Sermon Distributor
@subpackage sermons_fullwidth.php
@ -120,26 +120,26 @@ $can = SermondistributorHelper::getActions('sermon');
</td>
<?php if ($item->published == 1):?>
<td class="center" data-value="1">
<span class="status-metro status-published" title="<?php echo JText::_('PUBLISHED'); ?>">
<?php echo JText::_('PUBLISHED'); ?>
<span class="status-metro status-published" title="<?php echo JText::_('COM_SERMONDISTRIBUTOR_PUBLISHED'); ?>">
<?php echo JText::_('COM_SERMONDISTRIBUTOR_PUBLISHED'); ?>
</span>
</td>
<?php elseif ($item->published == 0):?>
<td class="center" data-value="2">
<span class="status-metro status-inactive" title="<?php echo JText::_('INACTIVE'); ?>">
<?php echo JText::_('INACTIVE'); ?>
<span class="status-metro status-inactive" title="<?php echo JText::_('COM_SERMONDISTRIBUTOR_INACTIVE'); ?>">
<?php echo JText::_('COM_SERMONDISTRIBUTOR_INACTIVE'); ?>
</span>
</td>
<?php elseif ($item->published == 2):?>
<td class="center" data-value="3">
<span class="status-metro status-archived" title="<?php echo JText::_('ARCHIVED'); ?>">
<?php echo JText::_('ARCHIVED'); ?>
<span class="status-metro status-archived" title="<?php echo JText::_('COM_SERMONDISTRIBUTOR_ARCHIVED'); ?>">
<?php echo JText::_('COM_SERMONDISTRIBUTOR_ARCHIVED'); ?>
</span>
</td>
<?php elseif ($item->published == -2):?>
<td class="center" data-value="4">
<span class="status-metro status-trashed" title="<?php echo JText::_('ARCHIVED'); ?>">
<?php echo JText::_('ARCHIVED'); ?>
<span class="status-metro status-trashed" title="<?php echo JText::_('COM_SERMONDISTRIBUTOR_TRASHED'); ?>">
<?php echo JText::_('COM_SERMONDISTRIBUTOR_TRASHED'); ?>
</span>
</td>
<?php endif; ?>

View File

@ -10,8 +10,8 @@
|_|
/-------------------------------------------------------------------------------------------------------------------------------/
@version 1.4.1
@build 24th August, 2017
@version 2.0.x
@build 3rd March, 2018
@created 22nd October, 2015
@package Sermon Distributor
@subpackage details_above.php

View File

@ -10,8 +10,8 @@
|_|
/-------------------------------------------------------------------------------------------------------------------------------/
@version 1.4.1
@build 24th August, 2017
@version 2.0.x
@build 3rd March, 2018
@created 22nd October, 2015
@package Sermon Distributor
@subpackage details_fullwidth.php

View File

@ -10,8 +10,8 @@
|_|
/-------------------------------------------------------------------------------------------------------------------------------/
@version 1.4.1
@build 24th August, 2017
@version 2.0.x
@build 3rd March, 2018
@created 22nd October, 2015
@package Sermon Distributor
@subpackage details_left.php

View File

@ -10,8 +10,8 @@
|_|
/-------------------------------------------------------------------------------------------------------------------------------/
@version 1.4.1
@build 24th August, 2017
@version 2.0.x
@build 3rd March, 2018
@created 22nd October, 2015
@package Sermon Distributor
@subpackage details_right.php

View File

@ -10,8 +10,8 @@
|_|
/-------------------------------------------------------------------------------------------------------------------------------/
@version 1.4.1
@build 24th August, 2017
@version 2.0.x
@build 3rd March, 2018
@created 22nd October, 2015
@package Sermon Distributor
@subpackage details_under.php

View File

@ -10,8 +10,8 @@
|_|
/-------------------------------------------------------------------------------------------------------------------------------/
@version 1.4.1
@build 24th August, 2017
@version 2.0.x
@build 3rd March, 2018
@created 22nd October, 2015
@package Sermon Distributor
@subpackage files_fullwidth.php

View File

@ -10,8 +10,8 @@
|_|
/-------------------------------------------------------------------------------------------------------------------------------/
@version 1.4.1
@build 24th August, 2017
@version 2.0.x
@build 3rd March, 2018
@created 22nd October, 2015
@package Sermon Distributor
@subpackage metadata.php

View File

@ -10,8 +10,8 @@
|_|
/-------------------------------------------------------------------------------------------------------------------------------/
@version 1.4.1
@build 24th August, 2017
@version 2.0.x
@build 3rd March, 2018
@created 22nd October, 2015
@package Sermon Distributor
@subpackage publishing.php

View File

@ -10,8 +10,8 @@
|_|
/-------------------------------------------------------------------------------------------------------------------------------/
@version 1.4.1
@build 24th August, 2017
@version 2.0.x
@build 3rd March, 2018
@created 22nd October, 2015
@package Sermon Distributor
@subpackage stastics_fullwidth.php
@ -102,26 +102,26 @@ $edit = "index.php?option=com_sermondistributor&view=statistics&task=statistic.e
</td>
<?php if ($item->published == 1):?>
<td class="center" data-value="1">
<span class="status-metro status-published" title="<?php echo JText::_('PUBLISHED'); ?>">
<?php echo JText::_('PUBLISHED'); ?>
<span class="status-metro status-published" title="<?php echo JText::_('COM_SERMONDISTRIBUTOR_PUBLISHED'); ?>">
<?php echo JText::_('COM_SERMONDISTRIBUTOR_PUBLISHED'); ?>
</span>
</td>
<?php elseif ($item->published == 0):?>
<td class="center" data-value="2">
<span class="status-metro status-inactive" title="<?php echo JText::_('INACTIVE'); ?>">
<?php echo JText::_('INACTIVE'); ?>
<span class="status-metro status-inactive" title="<?php echo JText::_('COM_SERMONDISTRIBUTOR_INACTIVE'); ?>">
<?php echo JText::_('COM_SERMONDISTRIBUTOR_INACTIVE'); ?>
</span>
</td>
<?php elseif ($item->published == 2):?>
<td class="center" data-value="3">
<span class="status-metro status-archived" title="<?php echo JText::_('ARCHIVED'); ?>">
<?php echo JText::_('ARCHIVED'); ?>
<span class="status-metro status-archived" title="<?php echo JText::_('COM_SERMONDISTRIBUTOR_ARCHIVED'); ?>">
<?php echo JText::_('COM_SERMONDISTRIBUTOR_ARCHIVED'); ?>
</span>
</td>
<?php elseif ($item->published == -2):?>
<td class="center" data-value="4">
<span class="status-metro status-trashed" title="<?php echo JText::_('ARCHIVED'); ?>">
<?php echo JText::_('ARCHIVED'); ?>
<span class="status-metro status-trashed" title="<?php echo JText::_('COM_SERMONDISTRIBUTOR_TRASHED'); ?>">
<?php echo JText::_('COM_SERMONDISTRIBUTOR_TRASHED'); ?>
</span>
</td>
<?php endif; ?>

View File

@ -10,8 +10,8 @@
|_|
/-------------------------------------------------------------------------------------------------------------------------------/
@version 1.4.1
@build 24th August, 2017
@version 2.0.x
@build 3rd March, 2018
@created 22nd October, 2015
@package Sermon Distributor
@subpackage details_above.php

View File

@ -10,8 +10,8 @@
|_|
/-------------------------------------------------------------------------------------------------------------------------------/
@version 1.4.1
@build 24th August, 2017
@version 2.0.x
@build 3rd March, 2018
@created 22nd October, 2015
@package Sermon Distributor
@subpackage details_left.php

View File

@ -10,8 +10,8 @@
|_|
/-------------------------------------------------------------------------------------------------------------------------------/
@version 1.4.1
@build 24th August, 2017
@version 2.0.x
@build 3rd March, 2018
@created 22nd October, 2015
@package Sermon Distributor
@subpackage details_right.php

View File

@ -10,8 +10,8 @@
|_|
/-------------------------------------------------------------------------------------------------------------------------------/
@version 1.4.1
@build 24th August, 2017
@version 2.0.x
@build 3rd March, 2018
@created 22nd October, 2015
@package Sermon Distributor
@subpackage metadata.php

View File

@ -10,8 +10,8 @@
|_|
/-------------------------------------------------------------------------------------------------------------------------------/
@version 1.4.1
@build 24th August, 2017
@version 2.0.x
@build 3rd March, 2018
@created 22nd October, 2015
@package Sermon Distributor
@subpackage publishing.php

File diff suppressed because it is too large Load Diff

View File

@ -10,9 +10,9 @@
|_|
/-------------------------------------------------------------------------------------------------------------------------------/
@version @update number 55 of this MVC
@build 17th July, 2017
@created 3rd November, 2016
@version 2.0.x
@build 3rd March, 2018
@created 22nd October, 2015
@package Sermon Distributor
@subpackage external_source.php
@author Llewellyn van der Merwe <https://www.vdm.io/>
@ -153,7 +153,7 @@ class SermondistributorModelExternal_source extends JModelAdmin
{
if ($item = parent::getItem($pk))
{
if (!empty($item->params))
if (!empty($item->params) && !is_array($item->params))
{
// Convert the params field to an array.
$registry = new Registry;
@ -175,14 +175,14 @@ class SermondistributorModelExternal_source extends JModelAdmin
$item->filetypes = json_decode($item->filetypes);
}
// Get the basic encription.
// Get the basic encryption.
$basickey = SermondistributorHelper::getCryptKey('basic');
// Get the encription object.
// Get the encryption object.
$basic = new FOFEncryptAes($basickey, 128);
if (!empty($item->oauthtoken) && $basickey && !is_numeric($item->oauthtoken) && $item->oauthtoken === base64_encode(base64_decode($item->oauthtoken, true)))
{
// basic decript data oauthtoken.
// basic decrypt data oauthtoken.
$item->oauthtoken = rtrim($basic->decryptString($item->oauthtoken), "\0");
}
@ -269,197 +269,6 @@ class SermondistributorModelExternal_source extends JModelAdmin
// Disable fields while saving.
$form->setFieldAttribute('created', 'filter', 'unset');
}
// Modify the form based on Edit Description access controls.
if ($id != 0 && (!$user->authorise('external_source.edit.description', 'com_sermondistributor.external_source.' . (int) $id))
|| ($id == 0 && !$user->authorise('external_source.edit.description', 'com_sermondistributor')))
{
// Disable fields for display.
$form->setFieldAttribute('description', 'disabled', 'true');
// Disable fields for display.
$form->setFieldAttribute('description', 'readonly', 'true');
if (!$form->getValue('description'))
{
// Disable fields while saving.
$form->setFieldAttribute('description', 'filter', 'unset');
// Disable fields while saving.
$form->setFieldAttribute('description', 'required', 'false');
}
}
// Modify the form based on Edit Externalsources access controls.
if ($id != 0 && (!$user->authorise('external_source.edit.externalsources', 'com_sermondistributor.external_source.' . (int) $id))
|| ($id == 0 && !$user->authorise('external_source.edit.externalsources', 'com_sermondistributor')))
{
// Disable fields for display.
$form->setFieldAttribute('externalsources', 'disabled', 'true');
// Disable fields for display.
$form->setFieldAttribute('externalsources', 'readonly', 'true');
if (!$form->getValue('externalsources'))
{
// Disable fields while saving.
$form->setFieldAttribute('externalsources', 'filter', 'unset');
// Disable fields while saving.
$form->setFieldAttribute('externalsources', 'required', 'false');
}
}
// Modify the form based on Edit Update Method access controls.
if ($id != 0 && (!$user->authorise('external_source.edit.update_method', 'com_sermondistributor.external_source.' . (int) $id))
|| ($id == 0 && !$user->authorise('external_source.edit.update_method', 'com_sermondistributor')))
{
// Disable fields for display.
$form->setFieldAttribute('update_method', 'disabled', 'true');
// Disable fields for display.
$form->setFieldAttribute('update_method', 'readonly', 'true');
// Disable radio button for display.
$class = $form->getFieldAttribute('update_method', 'class', '');
$form->setFieldAttribute('update_method', 'class', $class.' disabled no-click');
if (!$form->getValue('update_method'))
{
// Disable fields while saving.
$form->setFieldAttribute('update_method', 'filter', 'unset');
// Disable fields while saving.
$form->setFieldAttribute('update_method', 'required', 'false');
}
}
// Modify the form based on Edit Filetypes access controls.
if ($id != 0 && (!$user->authorise('external_source.edit.filetypes', 'com_sermondistributor.external_source.' . (int) $id))
|| ($id == 0 && !$user->authorise('external_source.edit.filetypes', 'com_sermondistributor')))
{
// Disable fields for display.
$form->setFieldAttribute('filetypes', 'disabled', 'true');
// Disable fields for display.
$form->setFieldAttribute('filetypes', 'readonly', 'true');
if (!$form->getValue('filetypes'))
{
// Disable fields while saving.
$form->setFieldAttribute('filetypes', 'filter', 'unset');
// Disable fields while saving.
$form->setFieldAttribute('filetypes', 'required', 'false');
}
}
// Modify the form based on Edit Build access controls.
if ($id != 0 && (!$user->authorise('external_source.edit.build', 'com_sermondistributor.external_source.' . (int) $id))
|| ($id == 0 && !$user->authorise('external_source.edit.build', 'com_sermondistributor')))
{
// Disable fields for display.
$form->setFieldAttribute('build', 'disabled', 'true');
// Disable fields for display.
$form->setFieldAttribute('build', 'readonly', 'true');
if (!$form->getValue('build'))
{
// Disable fields while saving.
$form->setFieldAttribute('build', 'filter', 'unset');
// Disable fields while saving.
$form->setFieldAttribute('build', 'required', 'false');
}
}
// Modify the form based on Edit Dropboxoptions access controls.
if ($id != 0 && (!$user->authorise('external_source.edit.dropboxoptions', 'com_sermondistributor.external_source.' . (int) $id))
|| ($id == 0 && !$user->authorise('external_source.edit.dropboxoptions', 'com_sermondistributor')))
{
// Disable fields for display.
$form->setFieldAttribute('dropboxoptions', 'disabled', 'true');
// Disable fields for display.
$form->setFieldAttribute('dropboxoptions', 'readonly', 'true');
// Disable radio button for display.
$class = $form->getFieldAttribute('dropboxoptions', 'class', '');
$form->setFieldAttribute('dropboxoptions', 'class', $class.' disabled no-click');
if (!$form->getValue('dropboxoptions'))
{
// Disable fields while saving.
$form->setFieldAttribute('dropboxoptions', 'filter', 'unset');
// Disable fields while saving.
$form->setFieldAttribute('dropboxoptions', 'required', 'false');
}
}
// Modify the form based on Edit Update Timer access controls.
if ($id != 0 && (!$user->authorise('external_source.edit.update_timer', 'com_sermondistributor.external_source.' . (int) $id))
|| ($id == 0 && !$user->authorise('external_source.edit.update_timer', 'com_sermondistributor')))
{
// Disable fields for display.
$form->setFieldAttribute('update_timer', 'disabled', 'true');
// Disable fields for display.
$form->setFieldAttribute('update_timer', 'readonly', 'true');
if (!$form->getValue('update_timer'))
{
// Disable fields while saving.
$form->setFieldAttribute('update_timer', 'filter', 'unset');
// Disable fields while saving.
$form->setFieldAttribute('update_timer', 'required', 'false');
}
}
// Modify the form based on Edit Oauthtoken access controls.
if ($id != 0 && (!$user->authorise('external_source.edit.oauthtoken', 'com_sermondistributor.external_source.' . (int) $id))
|| ($id == 0 && !$user->authorise('external_source.edit.oauthtoken', 'com_sermondistributor')))
{
// Disable fields for display.
$form->setFieldAttribute('oauthtoken', 'disabled', 'true');
// Disable fields for display.
$form->setFieldAttribute('oauthtoken', 'readonly', 'true');
if (!$form->getValue('oauthtoken'))
{
// Disable fields while saving.
$form->setFieldAttribute('oauthtoken', 'filter', 'unset');
// Disable fields while saving.
$form->setFieldAttribute('oauthtoken', 'required', 'false');
}
}
// Modify the form based on Edit Permissiontype access controls.
if ($id != 0 && (!$user->authorise('external_source.edit.permissiontype', 'com_sermondistributor.external_source.' . (int) $id))
|| ($id == 0 && !$user->authorise('external_source.edit.permissiontype', 'com_sermondistributor')))
{
// Disable fields for display.
$form->setFieldAttribute('permissiontype', 'disabled', 'true');
// Disable fields for display.
$form->setFieldAttribute('permissiontype', 'readonly', 'true');
// Disable radio button for display.
$class = $form->getFieldAttribute('permissiontype', 'class', '');
$form->setFieldAttribute('permissiontype', 'class', $class.' disabled no-click');
if (!$form->getValue('permissiontype'))
{
// Disable fields while saving.
$form->setFieldAttribute('permissiontype', 'filter', 'unset');
// Disable fields while saving.
$form->setFieldAttribute('permissiontype', 'required', 'false');
}
}
// Modify the form based on Edit Sharedurl access controls.
if ($id != 0 && (!$user->authorise('external_source.edit.sharedurl', 'com_sermondistributor.external_source.' . (int) $id))
|| ($id == 0 && !$user->authorise('external_source.edit.sharedurl', 'com_sermondistributor')))
{
// Disable fields for display.
$form->setFieldAttribute('sharedurl', 'disabled', 'true');
// Disable fields for display.
$form->setFieldAttribute('sharedurl', 'readonly', 'true');
// Disable radio button for display.
$class = $form->getFieldAttribute('sharedurl', 'class', '');
$form->setFieldAttribute('sharedurl', 'class', $class.' disabled no-click');
if (!$form->getValue('sharedurl'))
{
// Disable fields while saving.
$form->setFieldAttribute('sharedurl', 'filter', 'unset');
// Disable fields while saving.
$form->setFieldAttribute('sharedurl', 'required', 'false');
}
}
// Modify the form based on Edit Folder access controls.
if ($id != 0 && (!$user->authorise('external_source.edit.folder', 'com_sermondistributor.external_source.' . (int) $id))
|| ($id == 0 && !$user->authorise('external_source.edit.folder', 'com_sermondistributor')))
{
// Disable fields for display.
$form->setFieldAttribute('folder', 'disabled', 'true');
// Disable fields for display.
$form->setFieldAttribute('folder', 'readonly', 'true');
// Disable radio button for display.
$class = $form->getFieldAttribute('folder', 'class', '');
$form->setFieldAttribute('folder', 'class', $class.' disabled no-click');
if (!$form->getValue('folder'))
{
// Disable fields while saving.
$form->setFieldAttribute('folder', 'filter', 'unset');
// Disable fields while saving.
$form->setFieldAttribute('folder', 'required', 'false');
}
}
// Only load these values if no id is found
if (0 == $id)
{
@ -836,8 +645,6 @@ class SermondistributorModelExternal_source extends JModelAdmin
$this->user = JFactory::getUser();
$this->table = $this->getTable();
$this->tableClassName = get_class($this->table);
$this->contentType = new JUcmType;
$this->type = $this->contentType->getTypeByTable($this->tableClassName);
$this->canDo = SermondistributorHelper::getActions('external_source');
}
@ -862,7 +669,6 @@ class SermondistributorModelExternal_source extends JModelAdmin
}
$newIds = array();
// Parent exists so let's proceed
while (!empty($pks))
{
@ -872,17 +678,11 @@ class SermondistributorModelExternal_source extends JModelAdmin
$this->table->reset();
// only allow copy if user may edit this item.
if (!$this->user->authorise('external_source.edit', $contexts[$pk]))
{
// Not fatal error
$this->setError(JText::sprintf('JLIB_APPLICATION_ERROR_BATCH_MOVE_ROW_NOT_FOUND', $pk));
continue;
}
// Check that the row actually exists
@ -892,7 +692,6 @@ class SermondistributorModelExternal_source extends JModelAdmin
{
// Fatal error
$this->setError($error);
return false;
}
else
@ -903,7 +702,11 @@ class SermondistributorModelExternal_source extends JModelAdmin
}
}
// Only for strings
if (SermondistributorHelper::checkString($this->table->description) && !is_numeric($this->table->description))
{
$this->table->description = $this->generateUniqe('description',$this->table->description);
}
// insert all set values
if (SermondistributorHelper::checkArray($values))
@ -985,8 +788,6 @@ class SermondistributorModelExternal_source extends JModelAdmin
$this->user = JFactory::getUser();
$this->table = $this->getTable();
$this->tableClassName = get_class($this->table);
$this->contentType = new JUcmType;
$this->type = $this->contentType->getTypeByTable($this->tableClassName);
$this->canDo = SermondistributorHelper::getActions('external_source');
}
@ -1010,7 +811,6 @@ class SermondistributorModelExternal_source extends JModelAdmin
if (!$this->user->authorise('external_source.edit', $contexts[$pk]))
{
$this->setError(JText::_('JLIB_APPLICATION_ERROR_BATCH_CANNOT_EDIT'));
return false;
}
@ -1021,7 +821,6 @@ class SermondistributorModelExternal_source extends JModelAdmin
{
// Fatal error
$this->setError($error);
return false;
}
else
@ -1108,12 +907,12 @@ class SermondistributorModelExternal_source extends JModelAdmin
$data['filetypes'] = (string) json_encode($data['filetypes']);
}
// Get the basic encription key.
// Get the basic encryption key.
$basickey = SermondistributorHelper::getCryptKey('basic');
// Get the encription object
// Get the encryption object
$basic = new FOFEncryptAes($basickey, 128);
// Encript data oauthtoken.
// Encrypt data oauthtoken.
if (isset($data['oauthtoken']) && $basickey)
{
$data['oauthtoken'] = $basic->encryptString($data['oauthtoken']);

View File

@ -10,9 +10,9 @@
|_|
/-------------------------------------------------------------------------------------------------------------------------------/
@version @update number 55 of this MVC
@build 17th July, 2017
@created 3rd November, 2016
@version 2.0.x
@build 3rd March, 2018
@created 22nd October, 2015
@package Sermon Distributor
@subpackage external_sources.php
@author Llewellyn van der Merwe <https://www.vdm.io/>
@ -368,9 +368,9 @@ class SermondistributorModelExternal_sources extends JModelList
{
$items = $db->loadObjectList();
// Get the basic encription key.
// Get the basic encryption key.
$basickey = SermondistributorHelper::getCryptKey('basic');
// Get the encription object.
// Get the encryption object.
$basic = new FOFEncryptAes($basickey, 128);
// set values to display correctly.

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