updated via JCB

This commit is contained in:
Llewellyn van der Merwe 2017-08-18 12:20:01 +01:00
parent 3bb5c75296
commit 27af00de80
No known key found for this signature in database
GPG Key ID: CAD7B16D27AF28C5
234 changed files with 857 additions and 2330 deletions

View File

@ -23,38 +23,38 @@ The best way to see all your options is to install this component on you Joomla
+ *Author*: [Llewellyn van der Merwe](mailto:joomla@vdm.io)
+ *Name*: [Sermon Distributor](https://www.vdm.io/)
+ *First Build*: 22nd October, 2015
+ *Last Build*: 28th February, 2017
+ *Last Build*: 17th August, 2017
+ *Version*: 1.4.1
+ *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:
**181 Hours** or **23 Eight Hour Days** (actual time the author saved -
**177 Hours** or **22 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*: **64751**
+ *File count*: **439**
+ *Line count*: **63277**
+ *File count*: **441**
+ *Folder count*: **90**
**119 Hours** or **15 Eight Hour Days** (the actual time the author spent)
**116 Hours** or **15 Eight Hour Days** (the actual time the author spent)
> (with the following break down:
> **debugging @45hours** = codingtime / 4;
> **planning @26hours** = codingtime / 7;
> **debugging @44hours** = codingtime / 4;
> **planning @25hours** = codingtime / 7;
> **mapping @18hours** = codingtime / 10;
> **office @30hours** = codingtime / 6;)
> **office @29hours** = codingtime / 6;)
**300 Hours** or **38 Eight Hour Days**
**293 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**,
> with the normal everyday realities at the office, that includes the component planning, mapping & debugging.)
Project duration: **7.6 weeks** or **1.6 months**
Project duration: **7.4 weeks** or **1.5 months**
> This **component** was build with a Joomla [Automated Component Builder](https://www.vdm.io/joomla-component-builder).
> Developed by [Llewellyn van der Merwe](mailto:joomla@vdm.io)

View File

@ -23,38 +23,38 @@ The best way to see all your options is to install this component on you Joomla
+ *Author*: [Llewellyn van der Merwe](mailto:joomla@vdm.io)
+ *Name*: [Sermon Distributor](https://www.vdm.io/)
+ *First Build*: 22nd October, 2015
+ *Last Build*: 28th February, 2017
+ *Last Build*: 17th August, 2017
+ *Version*: 1.4.1
+ *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:
**181 Hours** or **23 Eight Hour Days** (actual time the author saved -
**177 Hours** or **22 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*: **64751**
+ *File count*: **439**
+ *Line count*: **63277**
+ *File count*: **441**
+ *Folder count*: **90**
**119 Hours** or **15 Eight Hour Days** (the actual time the author spent)
**116 Hours** or **15 Eight Hour Days** (the actual time the author spent)
> (with the following break down:
> **debugging @45hours** = codingtime / 4;
> **planning @26hours** = codingtime / 7;
> **debugging @44hours** = codingtime / 4;
> **planning @25hours** = codingtime / 7;
> **mapping @18hours** = codingtime / 10;
> **office @30hours** = codingtime / 6;)
> **office @29hours** = codingtime / 6;)
**300 Hours** or **38 Eight Hour Days**
**293 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**,
> with the normal everyday realities at the office, that includes the component planning, mapping & debugging.)
Project duration: **7.6 weeks** or **1.6 months**
Project duration: **7.4 weeks** or **1.5 months**
> This **component** was build with a Joomla [Automated Component Builder](https://www.vdm.io/joomla-component-builder).
> Developed by [Llewellyn van der Merwe](mailto:joomla@vdm.io)

View File

@ -83,7 +83,6 @@
<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" />
@ -204,12 +203,12 @@
<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.folder" title="COM_SERMONDISTRIBUTOR_EXTERNAL_SOURCES_EDIT_FOLDER" description="COM_SERMONDISTRIBUTOR_EXTERNAL_SOURCES_EDIT_FOLDER_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.oauthtoken" title="COM_SERMONDISTRIBUTOR_EXTERNAL_SOURCES_EDIT_OAUTHTOKEN" description="COM_SERMONDISTRIBUTOR_EXTERNAL_SOURCES_EDIT_OAUTHTOKEN_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

@ -10,7 +10,7 @@
/-------------------------------------------------------------------------------------------------------------------------------/
@version 1.4.1
@build 28th February, 2017
@build 17th August, 2017
@created 22nd October, 2015
@package Sermon Distributor
@subpackage admin.css

View File

@ -10,7 +10,7 @@
/-------------------------------------------------------------------------------------------------------------------------------/
@version 1.4.1
@build 28th February, 2017
@build 17th August, 2017
@created 22nd October, 2015
@package Sermon Distributor
@subpackage dashboard.css

View File

@ -9,8 +9,8 @@
|_|
/-------------------------------------------------------------------------------------------------------------------------------/
@version @update number 53 of this MVC
@build 27th November, 2016
@version @update number 55 of this MVC
@build 17th July, 2017
@created 3rd November, 2016
@package Sermon Distributor
@subpackage external_source.css

View File

@ -9,8 +9,8 @@
|_|
/-------------------------------------------------------------------------------------------------------------------------------/
@version @update number 53 of this MVC
@build 27th November, 2016
@version @update number 55 of this MVC
@build 17th July, 2017
@created 3rd November, 2016
@package Sermon Distributor
@subpackage external_sources.css

View File

@ -10,7 +10,7 @@
/-------------------------------------------------------------------------------------------------------------------------------/
@version @update number 20 of this MVC
@build 17th October, 2016
@build 18th October, 2016
@created 13th July, 2015
@package Sermon Distributor
@subpackage help_document.css

View File

@ -10,7 +10,7 @@
/-------------------------------------------------------------------------------------------------------------------------------/
@version @update number 20 of this MVC
@build 17th October, 2016
@build 18th October, 2016
@created 13th July, 2015
@package Sermon Distributor
@subpackage help_documents.css

View File

@ -9,8 +9,8 @@
|_|
/-------------------------------------------------------------------------------------------------------------------------------/
@version @update number 10 of this MVC
@build 27th November, 2016
@version @update number 11 of this MVC
@build 31st March, 2017
@created 20th November, 2016
@package Sermon Distributor
@subpackage local_listing.css

View File

@ -9,8 +9,8 @@
|_|
/-------------------------------------------------------------------------------------------------------------------------------/
@version @update number 10 of this MVC
@build 27th November, 2016
@version @update number 11 of this MVC
@build 31st March, 2017
@created 20th November, 2016
@package Sermon Distributor
@subpackage local_listings.css

View File

@ -9,8 +9,8 @@
|_|
/-------------------------------------------------------------------------------------------------------------------------------/
@version @update number 44 of this MVC
@build 27th November, 2016
@version @update number 45 of this MVC
@build 7th July, 2017
@created 4th November, 2016
@package Sermon Distributor
@subpackage manual_updater.css

View File

@ -9,8 +9,8 @@
|_|
/-------------------------------------------------------------------------------------------------------------------------------/
@version @update number 8 of this MVC
@build 18th November, 2015
@version @update number 9 of this MVC
@build 9th July, 2017
@created 29th October, 2015
@package Sermon Distributor
@subpackage statistic.css

View File

@ -9,8 +9,8 @@
|_|
/-------------------------------------------------------------------------------------------------------------------------------/
@version @update number 8 of this MVC
@build 18th November, 2015
@version @update number 9 of this MVC
@build 9th July, 2017
@created 29th October, 2015
@package Sermon Distributor
@subpackage statistics.css

Binary file not shown.

Before

Width:  |  Height:  |  Size: 17 KiB

After

Width:  |  Height:  |  Size: 58 KiB

View File

@ -11,7 +11,7 @@
/-------------------------------------------------------------------------------------------------------------------------------/
@version 1.4.1
@build 28th February, 2017
@build 17th August, 2017
@created 22nd October, 2015
@package Sermon Distributor
@subpackage controller.php

View File

@ -11,7 +11,7 @@
/-------------------------------------------------------------------------------------------------------------------------------/
@version 1.4.1
@build 28th February, 2017
@build 17th August, 2017
@created 22nd October, 2015
@package Sermon Distributor
@subpackage ajax.json.php

View File

@ -10,8 +10,8 @@
|_|
/-------------------------------------------------------------------------------------------------------------------------------/
@version @update number 53 of this MVC
@build 27th November, 2016
@version @update number 55 of this MVC
@build 17th July, 2017
@created 3rd November, 2016
@package Sermon Distributor
@subpackage external_source.php

View File

@ -10,8 +10,8 @@
|_|
/-------------------------------------------------------------------------------------------------------------------------------/
@version @update number 53 of this MVC
@build 27th November, 2016
@version @update number 55 of this MVC
@build 17th July, 2017
@created 3rd November, 2016
@package Sermon Distributor
@subpackage external_sources.php

View File

@ -11,7 +11,7 @@
/-------------------------------------------------------------------------------------------------------------------------------/
@version 1.4.1
@build 28th February, 2017
@build 17th August, 2017
@created 22nd October, 2015
@package Sermon Distributor
@subpackage help.php

View File

@ -11,7 +11,7 @@
/-------------------------------------------------------------------------------------------------------------------------------/
@version @update number 20 of this MVC
@build 17th October, 2016
@build 18th October, 2016
@created 13th July, 2015
@package Sermon Distributor
@subpackage help_document.php

View File

@ -11,7 +11,7 @@
/-------------------------------------------------------------------------------------------------------------------------------/
@version @update number 20 of this MVC
@build 17th October, 2016
@build 18th October, 2016
@created 13th July, 2015
@package Sermon Distributor
@subpackage help_documents.php

View File

@ -11,7 +11,7 @@
/-------------------------------------------------------------------------------------------------------------------------------/
@version 1.4.1
@build 28th February, 2017
@build 17th August, 2017
@created 22nd October, 2015
@package Sermon Distributor
@subpackage import.php

View File

@ -10,8 +10,8 @@
|_|
/-------------------------------------------------------------------------------------------------------------------------------/
@version @update number 10 of this MVC
@build 27th November, 2016
@version @update number 11 of this MVC
@build 31st March, 2017
@created 20th November, 2016
@package Sermon Distributor
@subpackage local_listing.php

View File

@ -10,8 +10,8 @@
|_|
/-------------------------------------------------------------------------------------------------------------------------------/
@version @update number 10 of this MVC
@build 27th November, 2016
@version @update number 11 of this MVC
@build 31st March, 2017
@created 20th November, 2016
@package Sermon Distributor
@subpackage local_listings.php

View File

@ -10,8 +10,8 @@
|_|
/-------------------------------------------------------------------------------------------------------------------------------/
@version @update number 44 of this MVC
@build 27th November, 2016
@version @update number 45 of this MVC
@build 7th July, 2017
@created 4th November, 2016
@package Sermon Distributor
@subpackage manual_updater.php

View File

@ -11,7 +11,7 @@
/-------------------------------------------------------------------------------------------------------------------------------/
@version 1.4.1
@build 28th February, 2017
@build 17th August, 2017
@created 22nd October, 2015
@package Sermon Distributor
@subpackage sermondistributor.php

View File

@ -10,8 +10,8 @@
|_|
/-------------------------------------------------------------------------------------------------------------------------------/
@version @update number 8 of this MVC
@build 18th November, 2015
@version @update number 9 of this MVC
@build 9th July, 2017
@created 29th October, 2015
@package Sermon Distributor
@subpackage statistic.php

View File

@ -10,8 +10,8 @@
|_|
/-------------------------------------------------------------------------------------------------------------------------------/
@version @update number 8 of this MVC
@build 18th November, 2015
@version @update number 9 of this MVC
@build 9th July, 2017
@created 29th October, 2015
@package Sermon Distributor
@subpackage statistics.php

View File

@ -11,7 +11,7 @@
/-------------------------------------------------------------------------------------------------------------------------------/
@version 1.4.1
@build 28th February, 2017
@build 17th August, 2017
@created 22nd October, 2015
@package Sermon Distributor
@subpackage headercheck.php
@ -26,7 +26,7 @@
// No direct access to this file
defined('_JEXEC') or die('Restricted access');
class HeaderCheck
class sermondistributorHeaderCheck
{
function js_loaded($script_name)
{

View File

@ -11,7 +11,7 @@
/-------------------------------------------------------------------------------------------------------------------------------/
@version 1.4.1
@build 28th February, 2017
@build 17th August, 2017
@created 22nd October, 2015
@package Sermon Distributor
@subpackage batch_.php

View File

@ -11,7 +11,7 @@
/-------------------------------------------------------------------------------------------------------------------------------/
@version 1.4.1
@build 28th February, 2017
@build 17th August, 2017
@created 22nd October, 2015
@package Sermon Distributor
@subpackage sermondistributor.php
@ -1364,13 +1364,18 @@ abstract class SermondistributorHelper
if (self::checkArray($where))
{
// prep main <-- why? well if $main='' is empty then $table can be categories or users
if (self::checkString($main))
{
$main = '_'.ltrim($main, '_');
}
// Get a db connection.
$db = JFactory::getDbo();
// Create a new query object.
$query = $db->getQuery(true);
$query->select($db->quoteName(array($what)));
$query->from($db->quoteName('#__'.$main.'_'.$table));
$query->from($db->quoteName('#_'.$main.'_'.$table));
$query->where($db->quoteName($whereString) . ' '.$operator.' (' . implode(',',$where) . ')');
$db->setQuery($query);
$db->execute();
@ -1909,6 +1914,21 @@ abstract class SermondistributorHelper
// 0nly continue if we have a string
if (self::checkString($string))
{
// create file name without the extention that is safe
if ($type === 'filename')
{
// make sure VDM is not in the string
$string = str_replace('VDM', 'vDm', $string);
// Remove anything which isn't a word, whitespace, number
// or any of the following caracters -_()
// If you don't need to handle multi-byte characters
// you can use preg_replace rather than mb_ereg_replace
// Thanks @Łukasz Rysiak!
// $string = mb_ereg_replace("([^\w\s\d\-_\(\)])", '', $string);
$string = preg_replace("([^\w\s\d\-_\(\)])", '', $string);
// http://stackoverflow.com/a/2021729/1429677
return preg_replace('/\s+/', ' ', $string);
}
// remove all other characters
$string = trim($string);
$string = preg_replace('/'.$spacer.'+/', ' ', $string);

View File

@ -336,7 +336,7 @@ COM_SERMONDISTRIBUTOR_DASHBOARD_PREACHER_ADD="Add&nbsp;Preacher<br /><br />"
COM_SERMONDISTRIBUTOR_DASHBOARD_SERIES_ADD="Add&nbsp;Series<br /><br />"
COM_SERMONDISTRIBUTOR_DASHBOARD_SERIES_LIST="Series List<br /><br />"
COM_SERMONDISTRIBUTOR_DASHBOARD_SERMONS="Sermons<br /><br />"
COM_SERMONDISTRIBUTOR_DASHBOARD_SERMONS_CATID="Catagory &nbsp;For<br />Sermons"
COM_SERMONDISTRIBUTOR_DASHBOARD_SERMONS_CATID="Category &nbsp;For<br />Sermons"
COM_SERMONDISTRIBUTOR_DASHBOARD_SERMON_ADD="Add&nbsp;Sermon<br /><br />"
COM_SERMONDISTRIBUTOR_DASHBOARD_STATISTICS="Statistics<br /><br />"
COM_SERMONDISTRIBUTOR_DATE="Date"
@ -903,8 +903,6 @@ 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"
@ -1306,7 +1304,7 @@ COM_SERMONDISTRIBUTOR_SERMON_SOURCE_LABEL="File Source"
COM_SERMONDISTRIBUTOR_SERMON_STASTICS="Stastics"
COM_SERMONDISTRIBUTOR_SERMON_STATUS="Status"
COM_SERMONDISTRIBUTOR_SERMON_TAGS="Tags"
COM_SERMONDISTRIBUTOR_SERMON_TAGS_DESCRIPTION="Assign tags to ###VIEW### items. Tag names must be unique."
COM_SERMONDISTRIBUTOR_SERMON_TAGS_DESCRIPTION="Assign tags to SERMON items. Tag names must be unique."
COM_SERMONDISTRIBUTOR_SERMON_TAGS_LABEL="Tags"
COM_SERMONDISTRIBUTOR_SERMON_URL="Url"
COM_SERMONDISTRIBUTOR_SERMON_URL_DESCRIPTION="The url to download the sermon."

View File

@ -11,7 +11,7 @@
/-------------------------------------------------------------------------------------------------------------------------------/
@version 1.4.1
@build 28th February, 2017
@build 17th August, 2017
@created 22nd October, 2015
@package Sermon Distributor
@subpackage batchselection.php

View File

@ -11,7 +11,7 @@
/-------------------------------------------------------------------------------------------------------------------------------/
@version 1.4.1
@build 28th February, 2017
@build 17th August, 2017
@created 22nd October, 2015
@package Sermon Distributor
@subpackage build_option_fullwidth.php

View File

@ -11,7 +11,7 @@
/-------------------------------------------------------------------------------------------------------------------------------/
@version 1.4.1
@build 28th February, 2017
@build 17th August, 2017
@created 22nd October, 2015
@package Sermon Distributor
@subpackage details_above.php

View File

@ -11,7 +11,7 @@
/-------------------------------------------------------------------------------------------------------------------------------/
@version 1.4.1
@build 28th February, 2017
@build 17th August, 2017
@created 22nd October, 2015
@package Sermon Distributor
@subpackage details_fullwidth.php

View File

@ -11,7 +11,7 @@
/-------------------------------------------------------------------------------------------------------------------------------/
@version 1.4.1
@build 28th February, 2017
@build 17th August, 2017
@created 22nd October, 2015
@package Sermon Distributor
@subpackage details_left.php

View File

@ -11,7 +11,7 @@
/-------------------------------------------------------------------------------------------------------------------------------/
@version 1.4.1
@build 28th February, 2017
@build 17th August, 2017
@created 22nd October, 2015
@package Sermon Distributor
@subpackage details_right.php

View File

@ -11,7 +11,7 @@
/-------------------------------------------------------------------------------------------------------------------------------/
@version 1.4.1
@build 28th February, 2017
@build 17th August, 2017
@created 22nd October, 2015
@package Sermon Distributor
@subpackage details_under.php

View File

@ -11,7 +11,7 @@
/-------------------------------------------------------------------------------------------------------------------------------/
@version 1.4.1
@build 28th February, 2017
@build 17th August, 2017
@created 22nd October, 2015
@package Sermon Distributor
@subpackage publishing.php

View File

@ -11,7 +11,7 @@
/-------------------------------------------------------------------------------------------------------------------------------/
@version 1.4.1
@build 28th February, 2017
@build 17th August, 2017
@created 22nd October, 2015
@package Sermon Distributor
@subpackage publlshing.php

View File

@ -11,7 +11,7 @@
/-------------------------------------------------------------------------------------------------------------------------------/
@version 1.4.1
@build 28th February, 2017
@build 17th August, 2017
@created 22nd October, 2015
@package Sermon Distributor
@subpackage details_above.php

View File

@ -11,7 +11,7 @@
/-------------------------------------------------------------------------------------------------------------------------------/
@version 1.4.1
@build 28th February, 2017
@build 17th August, 2017
@created 22nd October, 2015
@package Sermon Distributor
@subpackage details_fullwidth.php

View File

@ -11,7 +11,7 @@
/-------------------------------------------------------------------------------------------------------------------------------/
@version 1.4.1
@build 28th February, 2017
@build 17th August, 2017
@created 22nd October, 2015
@package Sermon Distributor
@subpackage details_left.php

View File

@ -11,7 +11,7 @@
/-------------------------------------------------------------------------------------------------------------------------------/
@version 1.4.1
@build 28th February, 2017
@build 17th August, 2017
@created 22nd October, 2015
@package Sermon Distributor
@subpackage details_right.php

View File

@ -11,7 +11,7 @@
/-------------------------------------------------------------------------------------------------------------------------------/
@version 1.4.1
@build 28th February, 2017
@build 17th August, 2017
@created 22nd October, 2015
@package Sermon Distributor
@subpackage details_under.php

View File

@ -11,7 +11,7 @@
/-------------------------------------------------------------------------------------------------------------------------------/
@version 1.4.1
@build 28th February, 2017
@build 17th August, 2017
@created 22nd October, 2015
@package Sermon Distributor
@subpackage metadata.php

View File

@ -11,7 +11,7 @@
/-------------------------------------------------------------------------------------------------------------------------------/
@version 1.4.1
@build 28th February, 2017
@build 17th August, 2017
@created 22nd October, 2015
@package Sermon Distributor
@subpackage publishing.php

View File

@ -11,7 +11,7 @@
/-------------------------------------------------------------------------------------------------------------------------------/
@version 1.4.1
@build 28th February, 2017
@build 17th August, 2017
@created 22nd October, 2015
@package Sermon Distributor
@subpackage details_above.php

View File

@ -11,7 +11,7 @@
/-------------------------------------------------------------------------------------------------------------------------------/
@version 1.4.1
@build 28th February, 2017
@build 17th August, 2017
@created 22nd October, 2015
@package Sermon Distributor
@subpackage details_fullwidth.php

View File

@ -11,7 +11,7 @@
/-------------------------------------------------------------------------------------------------------------------------------/
@version 1.4.1
@build 28th February, 2017
@build 17th August, 2017
@created 22nd October, 2015
@package Sermon Distributor
@subpackage details_left.php

View File

@ -11,7 +11,7 @@
/-------------------------------------------------------------------------------------------------------------------------------/
@version 1.4.1
@build 28th February, 2017
@build 17th August, 2017
@created 22nd October, 2015
@package Sermon Distributor
@subpackage details_right.php

View File

@ -11,7 +11,7 @@
/-------------------------------------------------------------------------------------------------------------------------------/
@version 1.4.1
@build 28th February, 2017
@build 17th August, 2017
@created 22nd October, 2015
@package Sermon Distributor
@subpackage publishing.php

View File

@ -11,7 +11,7 @@
/-------------------------------------------------------------------------------------------------------------------------------/
@version 1.4.1
@build 28th February, 2017
@build 17th August, 2017
@created 22nd October, 2015
@package Sermon Distributor
@subpackage publlshing.php

View File

@ -11,7 +11,7 @@
/-------------------------------------------------------------------------------------------------------------------------------/
@version 1.4.1
@build 28th February, 2017
@build 17th August, 2017
@created 22nd October, 2015
@package Sermon Distributor
@subpackage details_above.php

View File

@ -11,7 +11,7 @@
/-------------------------------------------------------------------------------------------------------------------------------/
@version 1.4.1
@build 28th February, 2017
@build 17th August, 2017
@created 22nd October, 2015
@package Sermon Distributor
@subpackage details_fullwidth.php

View File

@ -11,7 +11,7 @@
/-------------------------------------------------------------------------------------------------------------------------------/
@version 1.4.1
@build 28th February, 2017
@build 17th August, 2017
@created 22nd October, 2015
@package Sermon Distributor
@subpackage details_left.php

View File

@ -11,7 +11,7 @@
/-------------------------------------------------------------------------------------------------------------------------------/
@version 1.4.1
@build 28th February, 2017
@build 17th August, 2017
@created 22nd October, 2015
@package Sermon Distributor
@subpackage details_right.php

View File

@ -11,7 +11,7 @@
/-------------------------------------------------------------------------------------------------------------------------------/
@version 1.4.1
@build 28th February, 2017
@build 17th August, 2017
@created 22nd October, 2015
@package Sermon Distributor
@subpackage metadata.php

View File

@ -11,7 +11,7 @@
/-------------------------------------------------------------------------------------------------------------------------------/
@version 1.4.1
@build 28th February, 2017
@build 17th August, 2017
@created 22nd October, 2015
@package Sermon Distributor
@subpackage publishing.php

View File

@ -11,7 +11,7 @@
/-------------------------------------------------------------------------------------------------------------------------------/
@version 1.4.1
@build 28th February, 2017
@build 17th August, 2017
@created 22nd October, 2015
@package Sermon Distributor
@subpackage sermons_fullwidth.php

View File

@ -11,7 +11,7 @@
/-------------------------------------------------------------------------------------------------------------------------------/
@version 1.4.1
@build 28th February, 2017
@build 17th August, 2017
@created 22nd October, 2015
@package Sermon Distributor
@subpackage details_above.php

View File

@ -11,7 +11,7 @@
/-------------------------------------------------------------------------------------------------------------------------------/
@version 1.4.1
@build 28th February, 2017
@build 17th August, 2017
@created 22nd October, 2015
@package Sermon Distributor
@subpackage details_fullwidth.php

View File

@ -11,7 +11,7 @@
/-------------------------------------------------------------------------------------------------------------------------------/
@version 1.4.1
@build 28th February, 2017
@build 17th August, 2017
@created 22nd October, 2015
@package Sermon Distributor
@subpackage details_left.php

View File

@ -11,7 +11,7 @@
/-------------------------------------------------------------------------------------------------------------------------------/
@version 1.4.1
@build 28th February, 2017
@build 17th August, 2017
@created 22nd October, 2015
@package Sermon Distributor
@subpackage details_right.php

View File

@ -11,7 +11,7 @@
/-------------------------------------------------------------------------------------------------------------------------------/
@version 1.4.1
@build 28th February, 2017
@build 17th August, 2017
@created 22nd October, 2015
@package Sermon Distributor
@subpackage metadata.php

View File

@ -11,7 +11,7 @@
/-------------------------------------------------------------------------------------------------------------------------------/
@version 1.4.1
@build 28th February, 2017
@build 17th August, 2017
@created 22nd October, 2015
@package Sermon Distributor
@subpackage publishing.php

View File

@ -11,7 +11,7 @@
/-------------------------------------------------------------------------------------------------------------------------------/
@version 1.4.1
@build 28th February, 2017
@build 17th August, 2017
@created 22nd October, 2015
@package Sermon Distributor
@subpackage sermons_fullwidth.php

View File

@ -11,7 +11,7 @@
/-------------------------------------------------------------------------------------------------------------------------------/
@version 1.4.1
@build 28th February, 2017
@build 17th August, 2017
@created 22nd October, 2015
@package Sermon Distributor
@subpackage details_above.php

View File

@ -11,7 +11,7 @@
/-------------------------------------------------------------------------------------------------------------------------------/
@version 1.4.1
@build 28th February, 2017
@build 17th August, 2017
@created 22nd October, 2015
@package Sermon Distributor
@subpackage details_fullwidth.php

View File

@ -11,7 +11,7 @@
/-------------------------------------------------------------------------------------------------------------------------------/
@version 1.4.1
@build 28th February, 2017
@build 17th August, 2017
@created 22nd October, 2015
@package Sermon Distributor
@subpackage details_left.php

View File

@ -11,7 +11,7 @@
/-------------------------------------------------------------------------------------------------------------------------------/
@version 1.4.1
@build 28th February, 2017
@build 17th August, 2017
@created 22nd October, 2015
@package Sermon Distributor
@subpackage details_right.php

View File

@ -11,7 +11,7 @@
/-------------------------------------------------------------------------------------------------------------------------------/
@version 1.4.1
@build 28th February, 2017
@build 17th August, 2017
@created 22nd October, 2015
@package Sermon Distributor
@subpackage details_under.php

View File

@ -11,7 +11,7 @@
/-------------------------------------------------------------------------------------------------------------------------------/
@version 1.4.1
@build 28th February, 2017
@build 17th August, 2017
@created 22nd October, 2015
@package Sermon Distributor
@subpackage files_fullwidth.php

View File

@ -11,7 +11,7 @@
/-------------------------------------------------------------------------------------------------------------------------------/
@version 1.4.1
@build 28th February, 2017
@build 17th August, 2017
@created 22nd October, 2015
@package Sermon Distributor
@subpackage metadata.php

View File

@ -11,7 +11,7 @@
/-------------------------------------------------------------------------------------------------------------------------------/
@version 1.4.1
@build 28th February, 2017
@build 17th August, 2017
@created 22nd October, 2015
@package Sermon Distributor
@subpackage publishing.php

View File

@ -11,7 +11,7 @@
/-------------------------------------------------------------------------------------------------------------------------------/
@version 1.4.1
@build 28th February, 2017
@build 17th August, 2017
@created 22nd October, 2015
@package Sermon Distributor
@subpackage stastics_fullwidth.php

View File

@ -11,7 +11,7 @@
/-------------------------------------------------------------------------------------------------------------------------------/
@version 1.4.1
@build 28th February, 2017
@build 17th August, 2017
@created 22nd October, 2015
@package Sermon Distributor
@subpackage details_above.php

View File

@ -11,7 +11,7 @@
/-------------------------------------------------------------------------------------------------------------------------------/
@version 1.4.1
@build 28th February, 2017
@build 17th August, 2017
@created 22nd October, 2015
@package Sermon Distributor
@subpackage details_left.php

View File

@ -11,7 +11,7 @@
/-------------------------------------------------------------------------------------------------------------------------------/
@version 1.4.1
@build 28th February, 2017
@build 17th August, 2017
@created 22nd October, 2015
@package Sermon Distributor
@subpackage details_right.php

View File

@ -11,7 +11,7 @@
/-------------------------------------------------------------------------------------------------------------------------------/
@version 1.4.1
@build 28th February, 2017
@build 17th August, 2017
@created 22nd October, 2015
@package Sermon Distributor
@subpackage metadata.php

View File

@ -11,7 +11,7 @@
/-------------------------------------------------------------------------------------------------------------------------------/
@version 1.4.1
@build 28th February, 2017
@build 17th August, 2017
@created 22nd October, 2015
@package Sermon Distributor
@subpackage publishing.php

View File

@ -11,7 +11,7 @@
/-------------------------------------------------------------------------------------------------------------------------------/
@version 1.4.1
@build 28th February, 2017
@build 17th August, 2017
@created 22nd October, 2015
@package Sermon Distributor
@subpackage ajax.php

View File

@ -10,8 +10,8 @@
|_|
/-------------------------------------------------------------------------------------------------------------------------------/
@version @update number 53 of this MVC
@build 27th November, 2016
@version @update number 55 of this MVC
@build 17th July, 2017
@created 3rd November, 2016
@package Sermon Distributor
@subpackage external_source.php
@ -352,25 +352,6 @@ class SermondistributorModelExternal_source extends JModelAdmin
$form->setFieldAttribute('build', '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');
}
}
// 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')))
@ -406,6 +387,22 @@ class SermondistributorModelExternal_source extends JModelAdmin
$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')))
@ -444,20 +441,23 @@ class SermondistributorModelExternal_source extends JModelAdmin
$form->setFieldAttribute('sharedurl', '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')))
// 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('oauthtoken', 'disabled', 'true');
$form->setFieldAttribute('folder', 'disabled', 'true');
// Disable fields for display.
$form->setFieldAttribute('oauthtoken', 'readonly', 'true');
if (!$form->getValue('oauthtoken'))
$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('oauthtoken', 'filter', 'unset');
$form->setFieldAttribute('folder', 'filter', 'unset');
// Disable fields while saving.
$form->setFieldAttribute('oauthtoken', 'required', 'false');
$form->setFieldAttribute('folder', 'required', 'false');
}
}
// Only load these values if no id is found

View File

@ -10,8 +10,8 @@
|_|
/-------------------------------------------------------------------------------------------------------------------------------/
@version @update number 53 of this MVC
@build 27th November, 2016
@version @update number 55 of this MVC
@build 17th July, 2017
@created 3rd November, 2016
@package Sermon Distributor
@subpackage external_sources.php

View File

@ -11,7 +11,7 @@
/-------------------------------------------------------------------------------------------------------------------------------/
@version 1.4.1
@build 28th February, 2017
@build 17th August, 2017
@created 22nd October, 2015
@package Sermon Distributor
@subpackage adminviewfolderlist.php

View File

@ -11,7 +11,7 @@
/-------------------------------------------------------------------------------------------------------------------------------/
@version 1.4.1
@build 28th February, 2017
@build 17th August, 2017
@created 22nd October, 2015
@package Sermon Distributor
@subpackage articles.php

View File

@ -11,7 +11,7 @@
/-------------------------------------------------------------------------------------------------------------------------------/
@version 1.4.1
@build 28th February, 2017
@build 17th August, 2017
@created 22nd October, 2015
@package Sermon Distributor
@subpackage externalsource.php

View File

@ -11,7 +11,7 @@
/-------------------------------------------------------------------------------------------------------------------------------/
@version 1.4.1
@build 28th February, 2017
@build 17th August, 2017
@created 22nd October, 2015
@package Sermon Distributor
@subpackage externalsourcefiles.php

View File

@ -11,7 +11,7 @@
/-------------------------------------------------------------------------------------------------------------------------------/
@version 1.4.1
@build 28th February, 2017
@build 17th August, 2017
@created 22nd October, 2015
@package Sermon Distributor
@subpackage localfiles.php

View File

@ -11,7 +11,7 @@
/-------------------------------------------------------------------------------------------------------------------------------/
@version 1.4.1
@build 28th February, 2017
@build 17th August, 2017
@created 22nd October, 2015
@package Sermon Distributor
@subpackage preachers.php

View File

@ -11,7 +11,7 @@
/-------------------------------------------------------------------------------------------------------------------------------/
@version 1.4.1
@build 28th February, 2017
@build 17th August, 2017
@created 22nd October, 2015
@package Sermon Distributor
@subpackage series.php

View File

@ -11,7 +11,7 @@
/-------------------------------------------------------------------------------------------------------------------------------/
@version 1.4.1
@build 28th February, 2017
@build 17th August, 2017
@created 22nd October, 2015
@package Sermon Distributor
@subpackage sermon.php

View File

@ -11,7 +11,7 @@
/-------------------------------------------------------------------------------------------------------------------------------/
@version 1.4.1
@build 28th February, 2017
@build 17th August, 2017
@created 22nd October, 2015
@package Sermon Distributor
@subpackage siteviewfolderlist.php

View File

@ -9,8 +9,8 @@
|_|
/-------------------------------------------------------------------------------------------------------------------------------/
@version @update number 53 of this MVC
@build 27th November, 2016
@version @update number 55 of this MVC
@build 17th July, 2017
@created 3rd November, 2016
@package Sermon Distributor
@subpackage external_source.js
@ -86,9 +86,6 @@ jQuery(document).ready(function()
var externalsources_vvvvvwv = jQuery("#jform_externalsources").val();
var dropboxoptions_vvvvvwv = jQuery("#jform_dropboxoptions input[type='radio']:checked").val();
vvvvvwv(permissiontype_vvvvvwv,externalsources_vvvvvwv,dropboxoptions_vvvvvwv);
var build_vvvvvww = jQuery("#jform_build").val();
vvvvvww(build_vvvvvww);
});
// the vvvvvwe function
@ -1001,42 +998,6 @@ function dropboxoptions_vvvvvwv_SomeFunc(dropboxoptions_vvvvvwv)
return false;
}
// the vvvvvww function
function vvvvvww(build_vvvvvww)
{
if (isSet(build_vvvvvww) && build_vvvvvww.constructor !== Array)
{
var temp_vvvvvww = build_vvvvvww;
var build_vvvvvww = [];
build_vvvvvww.push(temp_vvvvvww);
}
else if (!isSet(build_vvvvvww))
{
var build_vvvvvww = [];
}
var build = build_vvvvvww.some(build_vvvvvww_SomeFunc);
// set this function logic
if (build)
{
}
else
{
}
}
// the vvvvvww Some function
function build_vvvvvww_SomeFunc(build_vvvvvww)
{
// set the function logic
if (build_vvvvvww != '')
{
return true;
}
return false;
}
// update required fields
function updateFieldRequired(name,status)
{

View File

@ -215,6 +215,104 @@
<option value="2">
COM_SERMONDISTRIBUTOR_EXTERNAL_SOURCE_DYNAMIC_AUTOMATIC_BUILD</option>
</field>
<!-- Dropboxoptions Field. Type: Radio. (joomla) -->
<field
type="radio"
name="dropboxoptions"
label="COM_SERMONDISTRIBUTOR_EXTERNAL_SOURCE_DROPBOXOPTIONS_LABEL"
description="COM_SERMONDISTRIBUTOR_EXTERNAL_SOURCE_DROPBOXOPTIONS_DESCRIPTION"
class="btn-group btn-group-yesno"
default="1">
<!-- Option Set. -->
<option value="1">
COM_SERMONDISTRIBUTOR_EXTERNAL_SOURCE_SHARED_URL</option>
<option value="2">
COM_SERMONDISTRIBUTOR_EXTERNAL_SOURCE_FOLDER_PATH</option>
</field>
<!-- App_limitation_note Field. Type: Note. A None Database Field. (joomla) -->
<field type="note" name="app_limitation_note" description="COM_SERMONDISTRIBUTOR_EXTERNAL_SOURCE_APP_LIMITATION_NOTE_DESCRIPTION" class="app_limitation_note" />
<!-- Generated_access_token_note Field. Type: Note. A None Database Field. (joomla) -->
<field type="note" name="generated_access_token_note" label="COM_SERMONDISTRIBUTOR_EXTERNAL_SOURCE_GENERATED_ACCESS_TOKEN_NOTE_LABEL" description="COM_SERMONDISTRIBUTOR_EXTERNAL_SOURCE_GENERATED_ACCESS_TOKEN_NOTE_DESCRIPTION" heading="h4" class="alert alert-info generated_access_token_note" />
<!-- Update_timer Field. Type: Integer. (joomla) -->
<field
type="integer"
name="update_timer"
label="COM_SERMONDISTRIBUTOR_EXTERNAL_SOURCE_UPDATE_TIMER_LABEL"
default="60"
description="COM_SERMONDISTRIBUTOR_EXTERNAL_SOURCE_UPDATE_TIMER_DESCRIPTION"
class="text_area"
required="true"
first="60"
last="50000"
step="10"
/>
<!-- Oauthtoken Field. Type: Text. (joomla) -->
<field
type="text"
name="oauthtoken"
label="COM_SERMONDISTRIBUTOR_EXTERNAL_SOURCE_OAUTHTOKEN_LABEL"
size="250"
maxlength="250"
description="COM_SERMONDISTRIBUTOR_EXTERNAL_SOURCE_OAUTHTOKEN_DESCRIPTION"
class="text_area"
required="true"
filter="STRING"
message="Error! Please add generated access token here."
hint="COM_SERMONDISTRIBUTOR_EXTERNAL_SOURCE_OAUTHTOKEN_HINT"
/>
<!-- Permissiontype Field. Type: Radio. (joomla) -->
<field
type="radio"
name="permissiontype"
label="COM_SERMONDISTRIBUTOR_EXTERNAL_SOURCE_PERMISSIONTYPE_LABEL"
description="COM_SERMONDISTRIBUTOR_EXTERNAL_SOURCE_PERMISSIONTYPE_DESCRIPTION"
class="btn-group btn-group-yesno"
default="app">
<!-- Option Set. -->
<option value="full">
COM_SERMONDISTRIBUTOR_EXTERNAL_SOURCE_FULL_DROPBOX</option>
<option value="app">
COM_SERMONDISTRIBUTOR_EXTERNAL_SOURCE_APP_FOLDER</option>
</field>
<!-- Note_manual_externalsource Field. Type: Note. A None Database Field. (joomla) -->
<field type="note" name="note_manual_externalsource" label="COM_SERMONDISTRIBUTOR_EXTERNAL_SOURCE_NOTE_MANUAL_EXTERNALSOURCE_LABEL" description="COM_SERMONDISTRIBUTOR_EXTERNAL_SOURCE_NOTE_MANUAL_EXTERNALSOURCE_DESCRIPTION" heading="h4" class="alert alert-info note_manual_externalsource" />
<!-- Not_required Field. Type: Hidden. (joomla) -->
<field
type="hidden"
name="not_required"
default="[]"
/>
<!-- Sharedurl Field. Type: Repeatable. (joomla) -->
<field
type="repeatable"
name="sharedurl"
label="COM_SERMONDISTRIBUTOR_EXTERNAL_SOURCE_SHAREDURL_LABEL"
description="COM_SERMONDISTRIBUTOR_EXTERNAL_SOURCE_SHAREDURL_DESCRIPTION"
id="sharedurl"
class="sharedurls"
select="COM_SERMONDISTRIBUTOR_EXTERNAL_SOURCE_SHAREDURL_SELECT"
icon="list"
maximum="10">
<fields name="sharedurl_fields" label="">
<fieldset hidden="true" name="sharedurl_modal" repeat="true">
<!-- Tsharedurl Field. Type: Url. (joomla) -->
<field
type="url"
name="tsharedurl"
label="COM_SERMONDISTRIBUTOR_EXTERNAL_SOURCE_TSHAREDURL_LABEL"
size="40"
maxlength="120"
description="COM_SERMONDISTRIBUTOR_EXTERNAL_SOURCE_TSHAREDURL_DESCRIPTION"
class="text_area span12"
required="false"
filter="url"
validated="url"
message="Error! Please add shared-url here."
hint="COM_SERMONDISTRIBUTOR_EXTERNAL_SOURCE_TSHAREDURL_HINT"
/>
</fieldset>
</fields>
</field>
<!-- Folder Field. Type: Repeatable. (joomla) -->
<field
type="repeatable"
@ -247,104 +345,6 @@
</field>
<!-- Note_auto_externalsource Field. Type: Note. A None Database Field. (joomla) -->
<field type="note" name="note_auto_externalsource" label="COM_SERMONDISTRIBUTOR_EXTERNAL_SOURCE_NOTE_AUTO_EXTERNALSOURCE_LABEL" description="COM_SERMONDISTRIBUTOR_EXTERNAL_SOURCE_NOTE_AUTO_EXTERNALSOURCE_DESCRIPTION" heading="h4" class="alert alert-info note_auto_externalsource" />
<!-- Dropboxoptions Field. Type: Radio. (joomla) -->
<field
type="radio"
name="dropboxoptions"
label="COM_SERMONDISTRIBUTOR_EXTERNAL_SOURCE_DROPBOXOPTIONS_LABEL"
description="COM_SERMONDISTRIBUTOR_EXTERNAL_SOURCE_DROPBOXOPTIONS_DESCRIPTION"
class="btn-group btn-group-yesno"
default="1">
<!-- Option Set. -->
<option value="1">
COM_SERMONDISTRIBUTOR_EXTERNAL_SOURCE_SHARED_URL</option>
<option value="2">
COM_SERMONDISTRIBUTOR_EXTERNAL_SOURCE_FOLDER_PATH</option>
</field>
<!-- Update_timer Field. Type: Integer. (joomla) -->
<field
type="integer"
name="update_timer"
label="COM_SERMONDISTRIBUTOR_EXTERNAL_SOURCE_UPDATE_TIMER_LABEL"
default="60"
description="COM_SERMONDISTRIBUTOR_EXTERNAL_SOURCE_UPDATE_TIMER_DESCRIPTION"
class="text_area"
required="true"
first="60"
last="50000"
step="10"
/>
<!-- App_limitation_note Field. Type: Note. A None Database Field. (joomla) -->
<field type="note" name="app_limitation_note" description="COM_SERMONDISTRIBUTOR_EXTERNAL_SOURCE_APP_LIMITATION_NOTE_DESCRIPTION" class="app_limitation_note" />
<!-- Permissiontype Field. Type: Radio. (joomla) -->
<field
type="radio"
name="permissiontype"
label="COM_SERMONDISTRIBUTOR_EXTERNAL_SOURCE_PERMISSIONTYPE_LABEL"
description="COM_SERMONDISTRIBUTOR_EXTERNAL_SOURCE_PERMISSIONTYPE_DESCRIPTION"
class="btn-group btn-group-yesno"
default="app">
<!-- Option Set. -->
<option value="full">
COM_SERMONDISTRIBUTOR_EXTERNAL_SOURCE_FULL_DROPBOX</option>
<option value="app">
COM_SERMONDISTRIBUTOR_EXTERNAL_SOURCE_APP_FOLDER</option>
</field>
<!-- Sharedurl Field. Type: Repeatable. (joomla) -->
<field
type="repeatable"
name="sharedurl"
label="COM_SERMONDISTRIBUTOR_EXTERNAL_SOURCE_SHAREDURL_LABEL"
description="COM_SERMONDISTRIBUTOR_EXTERNAL_SOURCE_SHAREDURL_DESCRIPTION"
id="sharedurl"
class="sharedurls"
select="COM_SERMONDISTRIBUTOR_EXTERNAL_SOURCE_SHAREDURL_SELECT"
icon="list"
maximum="10">
<fields name="sharedurl_fields" label="">
<fieldset hidden="true" name="sharedurl_modal" repeat="true">
<!-- Tsharedurl Field. Type: Url. (joomla) -->
<field
type="url"
name="tsharedurl"
label="COM_SERMONDISTRIBUTOR_EXTERNAL_SOURCE_TSHAREDURL_LABEL"
size="40"
maxlength="120"
description="COM_SERMONDISTRIBUTOR_EXTERNAL_SOURCE_TSHAREDURL_DESCRIPTION"
class="text_area span12"
required="false"
filter="url"
validated="url"
message="Error! Please add shared-url here."
hint="COM_SERMONDISTRIBUTOR_EXTERNAL_SOURCE_TSHAREDURL_HINT"
/>
</fieldset>
</fields>
</field>
<!-- Oauthtoken Field. Type: Text. (joomla) -->
<field
type="text"
name="oauthtoken"
label="COM_SERMONDISTRIBUTOR_EXTERNAL_SOURCE_OAUTHTOKEN_LABEL"
size="250"
maxlength="250"
description="COM_SERMONDISTRIBUTOR_EXTERNAL_SOURCE_OAUTHTOKEN_DESCRIPTION"
class="text_area"
required="true"
filter="STRING"
message="Error! Please add generated access token here."
hint="COM_SERMONDISTRIBUTOR_EXTERNAL_SOURCE_OAUTHTOKEN_HINT"
/>
<!-- Note_manual_externalsource Field. Type: Note. A None Database Field. (joomla) -->
<field type="note" name="note_manual_externalsource" label="COM_SERMONDISTRIBUTOR_EXTERNAL_SOURCE_NOTE_MANUAL_EXTERNALSOURCE_LABEL" description="COM_SERMONDISTRIBUTOR_EXTERNAL_SOURCE_NOTE_MANUAL_EXTERNALSOURCE_DESCRIPTION" heading="h4" class="alert alert-info note_manual_externalsource" />
<!-- Generated_access_token_note Field. Type: Note. A None Database Field. (joomla) -->
<field type="note" name="generated_access_token_note" label="COM_SERMONDISTRIBUTOR_EXTERNAL_SOURCE_GENERATED_ACCESS_TOKEN_NOTE_LABEL" description="COM_SERMONDISTRIBUTOR_EXTERNAL_SOURCE_GENERATED_ACCESS_TOKEN_NOTE_DESCRIPTION" heading="h4" class="alert alert-info generated_access_token_note" />
<!-- Not_required Field. Type: Hidden. (joomla) -->
<field
type="hidden"
name="not_required"
default="[]"
/>
</fieldset>
<!-- Access Control Fields. -->

View File

@ -10,7 +10,7 @@
/-------------------------------------------------------------------------------------------------------------------------------/
@version @update number 20 of this MVC
@build 17th October, 2016
@build 18th October, 2016
@created 13th July, 2015
@package Sermon Distributor
@subpackage help_document.js
@ -23,289 +23,289 @@
/-----------------------------------------------------------------------------------------------------------------------------*/
// Some Global Values
jform_vvvvvxavwf_required = false;
jform_vvvvvxbvwg_required = false;
jform_vvvvvxcvwh_required = false;
jform_vvvvvxdvwi_required = false;
jform_vvvvvxevwj_required = false;
jform_vvvvvxfvwk_required = false;
jform_vvvvvwwvwf_required = false;
jform_vvvvvwxvwg_required = false;
jform_vvvvvwyvwh_required = false;
jform_vvvvvwzvwi_required = false;
jform_vvvvvxavwj_required = false;
jform_vvvvvxbvwk_required = false;
// Initial Script
jQuery(document).ready(function()
{
var location_vvvvvxa = jQuery("#jform_location input[type='radio']:checked").val();
vvvvvxa(location_vvvvvxa);
var location_vvvvvww = jQuery("#jform_location input[type='radio']:checked").val();
vvvvvww(location_vvvvvww);
var location_vvvvvxb = jQuery("#jform_location input[type='radio']:checked").val();
vvvvvxb(location_vvvvvxb);
var location_vvvvvwx = jQuery("#jform_location input[type='radio']:checked").val();
vvvvvwx(location_vvvvvwx);
var type_vvvvvxc = jQuery("#jform_type").val();
vvvvvxc(type_vvvvvxc);
var type_vvvvvwy = jQuery("#jform_type").val();
vvvvvwy(type_vvvvvwy);
var type_vvvvvxd = jQuery("#jform_type").val();
vvvvvxd(type_vvvvvxd);
var type_vvvvvwz = jQuery("#jform_type").val();
vvvvvwz(type_vvvvvwz);
var type_vvvvvxe = jQuery("#jform_type").val();
vvvvvxe(type_vvvvvxe);
var type_vvvvvxa = jQuery("#jform_type").val();
vvvvvxa(type_vvvvvxa);
var target_vvvvvxf = jQuery("#jform_target input[type='radio']:checked").val();
vvvvvxf(target_vvvvvxf);
var target_vvvvvxb = jQuery("#jform_target input[type='radio']:checked").val();
vvvvvxb(target_vvvvvxb);
});
// the vvvvvxa function
function vvvvvxa(location_vvvvvxa)
// the vvvvvww function
function vvvvvww(location_vvvvvww)
{
// set the function logic
if (location_vvvvvxa == 1)
if (location_vvvvvww == 1)
{
jQuery('#jform_admin_view').closest('.control-group').show();
if (jform_vvvvvxavwf_required)
if (jform_vvvvvwwvwf_required)
{
updateFieldRequired('admin_view',0);
jQuery('#jform_admin_view').prop('required','required');
jQuery('#jform_admin_view').attr('aria-required',true);
jQuery('#jform_admin_view').addClass('required');
jform_vvvvvxavwf_required = false;
jform_vvvvvwwvwf_required = false;
}
}
else
{
jQuery('#jform_admin_view').closest('.control-group').hide();
if (!jform_vvvvvxavwf_required)
if (!jform_vvvvvwwvwf_required)
{
updateFieldRequired('admin_view',1);
jQuery('#jform_admin_view').removeAttr('required');
jQuery('#jform_admin_view').removeAttr('aria-required');
jQuery('#jform_admin_view').removeClass('required');
jform_vvvvvxavwf_required = true;
jform_vvvvvwwvwf_required = true;
}
}
}
// the vvvvvxb function
function vvvvvxb(location_vvvvvxb)
// the vvvvvwx function
function vvvvvwx(location_vvvvvwx)
{
// set the function logic
if (location_vvvvvxb == 2)
if (location_vvvvvwx == 2)
{
jQuery('#jform_site_view').closest('.control-group').show();
if (jform_vvvvvxbvwg_required)
if (jform_vvvvvwxvwg_required)
{
updateFieldRequired('site_view',0);
jQuery('#jform_site_view').prop('required','required');
jQuery('#jform_site_view').attr('aria-required',true);
jQuery('#jform_site_view').addClass('required');
jform_vvvvvxbvwg_required = false;
jform_vvvvvwxvwg_required = false;
}
}
else
{
jQuery('#jform_site_view').closest('.control-group').hide();
if (!jform_vvvvvxbvwg_required)
if (!jform_vvvvvwxvwg_required)
{
updateFieldRequired('site_view',1);
jQuery('#jform_site_view').removeAttr('required');
jQuery('#jform_site_view').removeAttr('aria-required');
jQuery('#jform_site_view').removeClass('required');
jform_vvvvvxbvwg_required = true;
jform_vvvvvwxvwg_required = true;
}
}
}
// the vvvvvxc function
function vvvvvxc(type_vvvvvxc)
// the vvvvvwy function
function vvvvvwy(type_vvvvvwy)
{
if (isSet(type_vvvvvxc) && type_vvvvvxc.constructor !== Array)
if (isSet(type_vvvvvwy) && type_vvvvvwy.constructor !== Array)
{
var temp_vvvvvxc = type_vvvvvxc;
var type_vvvvvxc = [];
type_vvvvvxc.push(temp_vvvvvxc);
var temp_vvvvvwy = type_vvvvvwy;
var type_vvvvvwy = [];
type_vvvvvwy.push(temp_vvvvvwy);
}
else if (!isSet(type_vvvvvxc))
else if (!isSet(type_vvvvvwy))
{
var type_vvvvvxc = [];
var type_vvvvvwy = [];
}
var type = type_vvvvvxc.some(type_vvvvvxc_SomeFunc);
var type = type_vvvvvwy.some(type_vvvvvwy_SomeFunc);
// set this function logic
if (type)
{
jQuery('#jform_url').closest('.control-group').show();
if (jform_vvvvvxcvwh_required)
if (jform_vvvvvwyvwh_required)
{
updateFieldRequired('url',0);
jQuery('#jform_url').prop('required','required');
jQuery('#jform_url').attr('aria-required',true);
jQuery('#jform_url').addClass('required');
jform_vvvvvxcvwh_required = false;
jform_vvvvvwyvwh_required = false;
}
}
else
{
jQuery('#jform_url').closest('.control-group').hide();
if (!jform_vvvvvxcvwh_required)
if (!jform_vvvvvwyvwh_required)
{
updateFieldRequired('url',1);
jQuery('#jform_url').removeAttr('required');
jQuery('#jform_url').removeAttr('aria-required');
jQuery('#jform_url').removeClass('required');
jform_vvvvvxcvwh_required = true;
jform_vvvvvwyvwh_required = true;
}
}
}
// the vvvvvxc Some function
function type_vvvvvxc_SomeFunc(type_vvvvvxc)
// the vvvvvwy Some function
function type_vvvvvwy_SomeFunc(type_vvvvvwy)
{
// set the function logic
if (type_vvvvvxc == 3)
if (type_vvvvvwy == 3)
{
return true;
}
return false;
}
// the vvvvvxd function
function vvvvvxd(type_vvvvvxd)
// the vvvvvwz function
function vvvvvwz(type_vvvvvwz)
{
if (isSet(type_vvvvvxd) && type_vvvvvxd.constructor !== Array)
if (isSet(type_vvvvvwz) && type_vvvvvwz.constructor !== Array)
{
var temp_vvvvvxd = type_vvvvvxd;
var type_vvvvvxd = [];
type_vvvvvxd.push(temp_vvvvvxd);
var temp_vvvvvwz = type_vvvvvwz;
var type_vvvvvwz = [];
type_vvvvvwz.push(temp_vvvvvwz);
}
else if (!isSet(type_vvvvvxd))
else if (!isSet(type_vvvvvwz))
{
var type_vvvvvxd = [];
var type_vvvvvwz = [];
}
var type = type_vvvvvxd.some(type_vvvvvxd_SomeFunc);
var type = type_vvvvvwz.some(type_vvvvvwz_SomeFunc);
// set this function logic
if (type)
{
jQuery('#jform_article').closest('.control-group').show();
if (jform_vvvvvxdvwi_required)
if (jform_vvvvvwzvwi_required)
{
updateFieldRequired('article',0);
jQuery('#jform_article').prop('required','required');
jQuery('#jform_article').attr('aria-required',true);
jQuery('#jform_article').addClass('required');
jform_vvvvvxdvwi_required = false;
jform_vvvvvwzvwi_required = false;
}
}
else
{
jQuery('#jform_article').closest('.control-group').hide();
if (!jform_vvvvvxdvwi_required)
if (!jform_vvvvvwzvwi_required)
{
updateFieldRequired('article',1);
jQuery('#jform_article').removeAttr('required');
jQuery('#jform_article').removeAttr('aria-required');
jQuery('#jform_article').removeClass('required');
jform_vvvvvxdvwi_required = true;
jform_vvvvvwzvwi_required = true;
}
}
}
// the vvvvvxd Some function
function type_vvvvvxd_SomeFunc(type_vvvvvxd)
// the vvvvvwz Some function
function type_vvvvvwz_SomeFunc(type_vvvvvwz)
{
// set the function logic
if (type_vvvvvxd == 1)
if (type_vvvvvwz == 1)
{
return true;
}
return false;
}
// the vvvvvxe function
function vvvvvxe(type_vvvvvxe)
// the vvvvvxa function
function vvvvvxa(type_vvvvvxa)
{
if (isSet(type_vvvvvxe) && type_vvvvvxe.constructor !== Array)
if (isSet(type_vvvvvxa) && type_vvvvvxa.constructor !== Array)
{
var temp_vvvvvxe = type_vvvvvxe;
var type_vvvvvxe = [];
type_vvvvvxe.push(temp_vvvvvxe);
var temp_vvvvvxa = type_vvvvvxa;
var type_vvvvvxa = [];
type_vvvvvxa.push(temp_vvvvvxa);
}
else if (!isSet(type_vvvvvxe))
else if (!isSet(type_vvvvvxa))
{
var type_vvvvvxe = [];
var type_vvvvvxa = [];
}
var type = type_vvvvvxe.some(type_vvvvvxe_SomeFunc);
var type = type_vvvvvxa.some(type_vvvvvxa_SomeFunc);
// set this function logic
if (type)
{
jQuery('#jform_content-lbl').closest('.control-group').show();
if (jform_vvvvvxevwj_required)
if (jform_vvvvvxavwj_required)
{
updateFieldRequired('content',0);
jQuery('#jform_content').prop('required','required');
jQuery('#jform_content').attr('aria-required',true);
jQuery('#jform_content').addClass('required');
jform_vvvvvxevwj_required = false;
jform_vvvvvxavwj_required = false;
}
}
else
{
jQuery('#jform_content-lbl').closest('.control-group').hide();
if (!jform_vvvvvxevwj_required)
if (!jform_vvvvvxavwj_required)
{
updateFieldRequired('content',1);
jQuery('#jform_content').removeAttr('required');
jQuery('#jform_content').removeAttr('aria-required');
jQuery('#jform_content').removeClass('required');
jform_vvvvvxevwj_required = true;
jform_vvvvvxavwj_required = true;
}
}
}
// the vvvvvxe Some function
function type_vvvvvxe_SomeFunc(type_vvvvvxe)
// the vvvvvxa Some function
function type_vvvvvxa_SomeFunc(type_vvvvvxa)
{
// set the function logic
if (type_vvvvvxe == 2)
if (type_vvvvvxa == 2)
{
return true;
}
return false;
}
// the vvvvvxf function
function vvvvvxf(target_vvvvvxf)
// the vvvvvxb function
function vvvvvxb(target_vvvvvxb)
{
// set the function logic
if (target_vvvvvxf == 1)
if (target_vvvvvxb == 1)
{
jQuery('#jform_groups').closest('.control-group').show();
if (jform_vvvvvxfvwk_required)
if (jform_vvvvvxbvwk_required)
{
updateFieldRequired('groups',0);
jQuery('#jform_groups').prop('required','required');
jQuery('#jform_groups').attr('aria-required',true);
jQuery('#jform_groups').addClass('required');
jform_vvvvvxfvwk_required = false;
jform_vvvvvxbvwk_required = false;
}
}
else
{
jQuery('#jform_groups').closest('.control-group').hide();
if (!jform_vvvvvxfvwk_required)
if (!jform_vvvvvxbvwk_required)
{
updateFieldRequired('groups',1);
jQuery('#jform_groups').removeAttr('required');
jQuery('#jform_groups').removeAttr('aria-required');
jQuery('#jform_groups').removeClass('required');
jform_vvvvvxfvwk_required = true;
jform_vvvvvxbvwk_required = true;
}
}
}

View File

@ -9,8 +9,8 @@
|_|
/-------------------------------------------------------------------------------------------------------------------------------/
@version @update number 10 of this MVC
@build 27th November, 2016
@version @update number 11 of this MVC
@build 31st March, 2017
@created 20th November, 2016
@package Sermon Distributor
@subpackage local_listing.js
@ -22,135 +22,7 @@
/-----------------------------------------------------------------------------------------------------------------------------*/
// Initial Script
jQuery(document).ready(function()
{
var build_vvvvvwx = jQuery("#jform_build").val();
vvvvvwx(build_vvvvvwx);
var build_vvvvvwy = jQuery("#jform_build").val();
vvvvvwy(build_vvvvvwy);
var build_vvvvvwz = jQuery("#jform_build").val();
vvvvvwz(build_vvvvvwz);
});
// the vvvvvwx function
function vvvvvwx(build_vvvvvwx)
{
if (isSet(build_vvvvvwx) && build_vvvvvwx.constructor !== Array)
{
var temp_vvvvvwx = build_vvvvvwx;
var build_vvvvvwx = [];
build_vvvvvwx.push(temp_vvvvvwx);
}
else if (!isSet(build_vvvvvwx))
{
var build_vvvvvwx = [];
}
var build = build_vvvvvwx.some(build_vvvvvwx_SomeFunc);
// set this function logic
if (build)
{
}
else
{
}
}
// the vvvvvwx Some function
function build_vvvvvwx_SomeFunc(build_vvvvvwx)
{
// set the function logic
if (build_vvvvvwx == 2)
{
return true;
}
return false;
}
// the vvvvvwy function
function vvvvvwy(build_vvvvvwy)
{
if (isSet(build_vvvvvwy) && build_vvvvvwy.constructor !== Array)
{
var temp_vvvvvwy = build_vvvvvwy;
var build_vvvvvwy = [];
build_vvvvvwy.push(temp_vvvvvwy);
}
else if (!isSet(build_vvvvvwy))
{
var build_vvvvvwy = [];
}
var build = build_vvvvvwy.some(build_vvvvvwy_SomeFunc);
// set this function logic
if (build)
{
}
else
{
}
}
// the vvvvvwy Some function
function build_vvvvvwy_SomeFunc(build_vvvvvwy)
{
// set the function logic
if (build_vvvvvwy == 1)
{
return true;
}
return false;
}
// the vvvvvwz function
function vvvvvwz(build_vvvvvwz)
{
if (isSet(build_vvvvvwz) && build_vvvvvwz.constructor !== Array)
{
var temp_vvvvvwz = build_vvvvvwz;
var build_vvvvvwz = [];
build_vvvvvwz.push(temp_vvvvvwz);
}
else if (!isSet(build_vvvvvwz))
{
var build_vvvvvwz = [];
}
var build = build_vvvvvwz.some(build_vvvvvwz_SomeFunc);
// set this function logic
if (build)
{
}
else
{
}
}
// the vvvvvwz Some function
function build_vvvvvwz_SomeFunc(build_vvvvvwz)
{
// set the function logic
if (build_vvvvvwz != '')
{
return true;
}
return false;
}
// the isSet function
function isSet(val)
{
if ((val != undefined) && (val != null) && 0 !== val.length){
return true;
}
return false;
}
jQuery(document).ready(function()
{

View File

@ -9,8 +9,8 @@
|_|
/-------------------------------------------------------------------------------------------------------------------------------/
@version @update number 8 of this MVC
@build 18th November, 2015
@version @update number 9 of this MVC
@build 9th July, 2017
@created 29th October, 2015
@package Sermon Distributor
@subpackage statistic.js

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