diff --git a/README.md b/README.md index 46582428..17c84232 100644 --- a/README.md +++ b/README.md @@ -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) diff --git a/admin/README.txt b/admin/README.txt index 46582428..17c84232 100644 --- a/admin/README.txt +++ b/admin/README.txt @@ -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) diff --git a/admin/access.xml b/admin/access.xml index a6a8f318..84885fd5 100644 --- a/admin/access.xml +++ b/admin/access.xml @@ -83,7 +83,6 @@ - @@ -204,12 +203,12 @@ - + - +
diff --git a/admin/assets/css/admin.css b/admin/assets/css/admin.css index a5424c81..36123ff4 100644 --- a/admin/assets/css/admin.css +++ b/admin/assets/css/admin.css @@ -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 diff --git a/admin/assets/css/dashboard.css b/admin/assets/css/dashboard.css index 0ef6884e..5c8a7cc9 100644 --- a/admin/assets/css/dashboard.css +++ b/admin/assets/css/dashboard.css @@ -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 diff --git a/admin/assets/css/external_source.css b/admin/assets/css/external_source.css index 19c8b7c5..30e31dc0 100644 --- a/admin/assets/css/external_source.css +++ b/admin/assets/css/external_source.css @@ -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 diff --git a/admin/assets/css/external_sources.css b/admin/assets/css/external_sources.css index 1517bb3b..8bf259c8 100644 --- a/admin/assets/css/external_sources.css +++ b/admin/assets/css/external_sources.css @@ -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 diff --git a/admin/assets/css/help_document.css b/admin/assets/css/help_document.css index b20caa8a..2942a6d1 100644 --- a/admin/assets/css/help_document.css +++ b/admin/assets/css/help_document.css @@ -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 diff --git a/admin/assets/css/help_documents.css b/admin/assets/css/help_documents.css index 3756ca62..870208fa 100644 --- a/admin/assets/css/help_documents.css +++ b/admin/assets/css/help_documents.css @@ -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 diff --git a/admin/assets/css/local_listing.css b/admin/assets/css/local_listing.css index ac78c3a9..ce8f5a97 100644 --- a/admin/assets/css/local_listing.css +++ b/admin/assets/css/local_listing.css @@ -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 diff --git a/admin/assets/css/local_listings.css b/admin/assets/css/local_listings.css index 7092eb00..7a58ba17 100644 --- a/admin/assets/css/local_listings.css +++ b/admin/assets/css/local_listings.css @@ -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 diff --git a/admin/assets/css/manual_updater.css b/admin/assets/css/manual_updater.css index c1802582..8c50b4d7 100644 --- a/admin/assets/css/manual_updater.css +++ b/admin/assets/css/manual_updater.css @@ -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 diff --git a/admin/assets/css/statistic.css b/admin/assets/css/statistic.css index c76e5c8d..222212ac 100644 --- a/admin/assets/css/statistic.css +++ b/admin/assets/css/statistic.css @@ -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 diff --git a/admin/assets/css/statistics.css b/admin/assets/css/statistics.css index 02cde899..192c9997 100644 --- a/admin/assets/css/statistics.css +++ b/admin/assets/css/statistics.css @@ -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 diff --git a/admin/assets/images/component-300.jpg b/admin/assets/images/component-300.jpg index 046a172f..3d06aeef 100644 Binary files a/admin/assets/images/component-300.jpg and b/admin/assets/images/component-300.jpg differ diff --git a/admin/controller.php b/admin/controller.php index 5c622aae..71c99538 100644 --- a/admin/controller.php +++ b/admin/controller.php @@ -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 diff --git a/admin/controllers/ajax.json.php b/admin/controllers/ajax.json.php index 5f6fe78e..a5b7da5d 100644 --- a/admin/controllers/ajax.json.php +++ b/admin/controllers/ajax.json.php @@ -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 diff --git a/admin/controllers/external_source.php b/admin/controllers/external_source.php index f2274b4a..0374eed4 100644 --- a/admin/controllers/external_source.php +++ b/admin/controllers/external_source.php @@ -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 diff --git a/admin/controllers/external_sources.php b/admin/controllers/external_sources.php index bf0ea8c4..9c8d908d 100644 --- a/admin/controllers/external_sources.php +++ b/admin/controllers/external_sources.php @@ -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 @@ -107,5 +107,5 @@ class SermondistributorControllerExternal_sources extends JControllerAdmin $message = JText::_('COM_SERMONDISTRIBUTOR_IMPORT_FAILED'); $this->setRedirect(JRoute::_('index.php?option=com_sermondistributor&view=external_sources', false), $message, 'error'); return; - } + } } diff --git a/admin/controllers/help.php b/admin/controllers/help.php index 50ce94e0..b0edb1c1 100644 --- a/admin/controllers/help.php +++ b/admin/controllers/help.php @@ -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 diff --git a/admin/controllers/help_document.php b/admin/controllers/help_document.php index 5324e708..9d0cdb77 100644 --- a/admin/controllers/help_document.php +++ b/admin/controllers/help_document.php @@ -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 diff --git a/admin/controllers/help_documents.php b/admin/controllers/help_documents.php index d5192ade..afe647cf 100644 --- a/admin/controllers/help_documents.php +++ b/admin/controllers/help_documents.php @@ -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 @@ -107,5 +107,5 @@ class SermondistributorControllerHelp_documents extends JControllerAdmin $message = JText::_('COM_SERMONDISTRIBUTOR_IMPORT_FAILED'); $this->setRedirect(JRoute::_('index.php?option=com_sermondistributor&view=help_documents', false), $message, 'error'); return; - } + } } diff --git a/admin/controllers/import.php b/admin/controllers/import.php index 88411647..7183b6a5 100644 --- a/admin/controllers/import.php +++ b/admin/controllers/import.php @@ -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 diff --git a/admin/controllers/local_listing.php b/admin/controllers/local_listing.php index d2ce5f6f..ecb8b437 100644 --- a/admin/controllers/local_listing.php +++ b/admin/controllers/local_listing.php @@ -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 diff --git a/admin/controllers/local_listings.php b/admin/controllers/local_listings.php index 478b6fca..9d1a3010 100644 --- a/admin/controllers/local_listings.php +++ b/admin/controllers/local_listings.php @@ -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 @@ -107,5 +107,5 @@ class SermondistributorControllerLocal_listings extends JControllerAdmin $message = JText::_('COM_SERMONDISTRIBUTOR_IMPORT_FAILED'); $this->setRedirect(JRoute::_('index.php?option=com_sermondistributor&view=local_listings', false), $message, 'error'); return; - } + } } diff --git a/admin/controllers/manual_updater.php b/admin/controllers/manual_updater.php index cbb85149..500bfd63 100644 --- a/admin/controllers/manual_updater.php +++ b/admin/controllers/manual_updater.php @@ -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 diff --git a/admin/controllers/preachers.php b/admin/controllers/preachers.php index 6e012d3d..cf0dc14a 100644 --- a/admin/controllers/preachers.php +++ b/admin/controllers/preachers.php @@ -107,5 +107,5 @@ class SermondistributorControllerPreachers extends JControllerAdmin $message = JText::_('COM_SERMONDISTRIBUTOR_IMPORT_FAILED'); $this->setRedirect(JRoute::_('index.php?option=com_sermondistributor&view=preachers', false), $message, 'error'); return; - } + } } diff --git a/admin/controllers/series_list.php b/admin/controllers/series_list.php index 9d3e4594..150ac09b 100644 --- a/admin/controllers/series_list.php +++ b/admin/controllers/series_list.php @@ -107,5 +107,5 @@ class SermondistributorControllerSeries_list extends JControllerAdmin $message = JText::_('COM_SERMONDISTRIBUTOR_IMPORT_FAILED'); $this->setRedirect(JRoute::_('index.php?option=com_sermondistributor&view=series_list', false), $message, 'error'); return; - } + } } diff --git a/admin/controllers/sermondistributor.php b/admin/controllers/sermondistributor.php index e5866ecc..2e098e13 100644 --- a/admin/controllers/sermondistributor.php +++ b/admin/controllers/sermondistributor.php @@ -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 diff --git a/admin/controllers/sermons.php b/admin/controllers/sermons.php index 464ff8a3..dcc3dfe4 100644 --- a/admin/controllers/sermons.php +++ b/admin/controllers/sermons.php @@ -107,5 +107,5 @@ class SermondistributorControllerSermons extends JControllerAdmin $message = JText::_('COM_SERMONDISTRIBUTOR_IMPORT_FAILED'); $this->setRedirect(JRoute::_('index.php?option=com_sermondistributor&view=sermons', false), $message, 'error'); return; - } + } } diff --git a/admin/controllers/statistic.php b/admin/controllers/statistic.php index a57456c1..87c70765 100644 --- a/admin/controllers/statistic.php +++ b/admin/controllers/statistic.php @@ -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 diff --git a/admin/controllers/statistics.php b/admin/controllers/statistics.php index fd011454..e5a8a0ff 100644 --- a/admin/controllers/statistics.php +++ b/admin/controllers/statistics.php @@ -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 @@ -107,5 +107,5 @@ class SermondistributorControllerStatistics extends JControllerAdmin $message = JText::_('COM_SERMONDISTRIBUTOR_IMPORT_FAILED'); $this->setRedirect(JRoute::_('index.php?option=com_sermondistributor&view=statistics', false), $message, 'error'); return; - } + } } diff --git a/admin/helpers/headercheck.php b/admin/helpers/headercheck.php index a673495e..6c60844a 100644 --- a/admin/helpers/headercheck.php +++ b/admin/helpers/headercheck.php @@ -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) { diff --git a/admin/helpers/html/batch_.php b/admin/helpers/html/batch_.php index bd3f6e31..2ebd9822 100644 --- a/admin/helpers/html/batch_.php +++ b/admin/helpers/html/batch_.php @@ -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 diff --git a/admin/helpers/sermondistributor.php b/admin/helpers/sermondistributor.php index ac74471f..c6ae47aa 100644 --- a/admin/helpers/sermondistributor.php +++ b/admin/helpers/sermondistributor.php @@ -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); diff --git a/admin/language/en-GB/en-GB.com_sermondistributor.ini b/admin/language/en-GB/en-GB.com_sermondistributor.ini index af186b87..3e94b753 100644 --- a/admin/language/en-GB/en-GB.com_sermondistributor.ini +++ b/admin/language/en-GB/en-GB.com_sermondistributor.ini @@ -336,7 +336,7 @@ COM_SERMONDISTRIBUTOR_DASHBOARD_PREACHER_ADD="Add Preacher

" COM_SERMONDISTRIBUTOR_DASHBOARD_SERIES_ADD="Add Series

" COM_SERMONDISTRIBUTOR_DASHBOARD_SERIES_LIST="Series List

" COM_SERMONDISTRIBUTOR_DASHBOARD_SERMONS="Sermons

" -COM_SERMONDISTRIBUTOR_DASHBOARD_SERMONS_CATID="Catagory  For
Sermons" +COM_SERMONDISTRIBUTOR_DASHBOARD_SERMONS_CATID="Category  For
Sermons" COM_SERMONDISTRIBUTOR_DASHBOARD_SERMON_ADD="Add Sermon

" COM_SERMONDISTRIBUTOR_DASHBOARD_STATISTICS="Statistics

" 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." diff --git a/admin/layouts/batchselection.php b/admin/layouts/batchselection.php index 1e146fae..29b4e357 100644 --- a/admin/layouts/batchselection.php +++ b/admin/layouts/batchselection.php @@ -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 diff --git a/admin/layouts/external_source/build_option_fullwidth.php b/admin/layouts/external_source/build_option_fullwidth.php index 8b4caa64..d934e1f0 100644 --- a/admin/layouts/external_source/build_option_fullwidth.php +++ b/admin/layouts/external_source/build_option_fullwidth.php @@ -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 diff --git a/admin/layouts/external_source/details_above.php b/admin/layouts/external_source/details_above.php index 9478fce2..fb61e170 100644 --- a/admin/layouts/external_source/details_above.php +++ b/admin/layouts/external_source/details_above.php @@ -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 diff --git a/admin/layouts/external_source/details_fullwidth.php b/admin/layouts/external_source/details_fullwidth.php index de1b75a7..04554354 100644 --- a/admin/layouts/external_source/details_fullwidth.php +++ b/admin/layouts/external_source/details_fullwidth.php @@ -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 diff --git a/admin/layouts/external_source/details_left.php b/admin/layouts/external_source/details_left.php index 81202ca8..908644ee 100644 --- a/admin/layouts/external_source/details_left.php +++ b/admin/layouts/external_source/details_left.php @@ -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 diff --git a/admin/layouts/external_source/details_right.php b/admin/layouts/external_source/details_right.php index 3d25fff4..adbcd5b5 100644 --- a/admin/layouts/external_source/details_right.php +++ b/admin/layouts/external_source/details_right.php @@ -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 diff --git a/admin/layouts/external_source/details_under.php b/admin/layouts/external_source/details_under.php index a96ddad2..8fd40e02 100644 --- a/admin/layouts/external_source/details_under.php +++ b/admin/layouts/external_source/details_under.php @@ -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 diff --git a/admin/layouts/external_source/publishing.php b/admin/layouts/external_source/publishing.php index e5aaedc3..de1ece92 100644 --- a/admin/layouts/external_source/publishing.php +++ b/admin/layouts/external_source/publishing.php @@ -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 diff --git a/admin/layouts/external_source/publlshing.php b/admin/layouts/external_source/publlshing.php index ac5b7bf0..aba11614 100644 --- a/admin/layouts/external_source/publlshing.php +++ b/admin/layouts/external_source/publlshing.php @@ -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 diff --git a/admin/layouts/help_document/details_above.php b/admin/layouts/help_document/details_above.php index 2795ecdd..51974e33 100644 --- a/admin/layouts/help_document/details_above.php +++ b/admin/layouts/help_document/details_above.php @@ -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 diff --git a/admin/layouts/help_document/details_fullwidth.php b/admin/layouts/help_document/details_fullwidth.php index aacdcb5b..1a672253 100644 --- a/admin/layouts/help_document/details_fullwidth.php +++ b/admin/layouts/help_document/details_fullwidth.php @@ -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 diff --git a/admin/layouts/help_document/details_left.php b/admin/layouts/help_document/details_left.php index 8a055167..e07ae2e6 100644 --- a/admin/layouts/help_document/details_left.php +++ b/admin/layouts/help_document/details_left.php @@ -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 diff --git a/admin/layouts/help_document/details_right.php b/admin/layouts/help_document/details_right.php index afb672b3..ea29c632 100644 --- a/admin/layouts/help_document/details_right.php +++ b/admin/layouts/help_document/details_right.php @@ -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 diff --git a/admin/layouts/help_document/details_under.php b/admin/layouts/help_document/details_under.php index a96ddad2..8fd40e02 100644 --- a/admin/layouts/help_document/details_under.php +++ b/admin/layouts/help_document/details_under.php @@ -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 diff --git a/admin/layouts/help_document/metadata.php b/admin/layouts/help_document/metadata.php index 77edb144..928a6ba0 100644 --- a/admin/layouts/help_document/metadata.php +++ b/admin/layouts/help_document/metadata.php @@ -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 diff --git a/admin/layouts/help_document/publishing.php b/admin/layouts/help_document/publishing.php index 3453b85f..cd056b5e 100644 --- a/admin/layouts/help_document/publishing.php +++ b/admin/layouts/help_document/publishing.php @@ -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 diff --git a/admin/layouts/local_listing/details_above.php b/admin/layouts/local_listing/details_above.php index ff580359..36aad181 100644 --- a/admin/layouts/local_listing/details_above.php +++ b/admin/layouts/local_listing/details_above.php @@ -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 diff --git a/admin/layouts/local_listing/details_fullwidth.php b/admin/layouts/local_listing/details_fullwidth.php index 20f280c0..40967ce3 100644 --- a/admin/layouts/local_listing/details_fullwidth.php +++ b/admin/layouts/local_listing/details_fullwidth.php @@ -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 diff --git a/admin/layouts/local_listing/details_left.php b/admin/layouts/local_listing/details_left.php index 935e831e..ba6c94e1 100644 --- a/admin/layouts/local_listing/details_left.php +++ b/admin/layouts/local_listing/details_left.php @@ -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 diff --git a/admin/layouts/local_listing/details_right.php b/admin/layouts/local_listing/details_right.php index 6fb0c9b5..db1cccdd 100644 --- a/admin/layouts/local_listing/details_right.php +++ b/admin/layouts/local_listing/details_right.php @@ -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 diff --git a/admin/layouts/local_listing/publishing.php b/admin/layouts/local_listing/publishing.php index e5aaedc3..de1ece92 100644 --- a/admin/layouts/local_listing/publishing.php +++ b/admin/layouts/local_listing/publishing.php @@ -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 diff --git a/admin/layouts/local_listing/publlshing.php b/admin/layouts/local_listing/publlshing.php index ac5b7bf0..aba11614 100644 --- a/admin/layouts/local_listing/publlshing.php +++ b/admin/layouts/local_listing/publlshing.php @@ -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 diff --git a/admin/layouts/preacher/details_above.php b/admin/layouts/preacher/details_above.php index 343d6788..f19b27b4 100644 --- a/admin/layouts/preacher/details_above.php +++ b/admin/layouts/preacher/details_above.php @@ -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 diff --git a/admin/layouts/preacher/details_fullwidth.php b/admin/layouts/preacher/details_fullwidth.php index 2af567d6..94b48c67 100644 --- a/admin/layouts/preacher/details_fullwidth.php +++ b/admin/layouts/preacher/details_fullwidth.php @@ -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 diff --git a/admin/layouts/preacher/details_left.php b/admin/layouts/preacher/details_left.php index 9ff39a49..61a667ed 100644 --- a/admin/layouts/preacher/details_left.php +++ b/admin/layouts/preacher/details_left.php @@ -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 diff --git a/admin/layouts/preacher/details_right.php b/admin/layouts/preacher/details_right.php index 7d6d942d..765a1134 100644 --- a/admin/layouts/preacher/details_right.php +++ b/admin/layouts/preacher/details_right.php @@ -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 diff --git a/admin/layouts/preacher/metadata.php b/admin/layouts/preacher/metadata.php index 77edb144..928a6ba0 100644 --- a/admin/layouts/preacher/metadata.php +++ b/admin/layouts/preacher/metadata.php @@ -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 diff --git a/admin/layouts/preacher/publishing.php b/admin/layouts/preacher/publishing.php index 3453b85f..cd056b5e 100644 --- a/admin/layouts/preacher/publishing.php +++ b/admin/layouts/preacher/publishing.php @@ -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 diff --git a/admin/layouts/preacher/sermons_fullwidth.php b/admin/layouts/preacher/sermons_fullwidth.php index 81024b5e..db0668bd 100644 --- a/admin/layouts/preacher/sermons_fullwidth.php +++ b/admin/layouts/preacher/sermons_fullwidth.php @@ -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 diff --git a/admin/layouts/series/details_above.php b/admin/layouts/series/details_above.php index 343d6788..f19b27b4 100644 --- a/admin/layouts/series/details_above.php +++ b/admin/layouts/series/details_above.php @@ -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 diff --git a/admin/layouts/series/details_fullwidth.php b/admin/layouts/series/details_fullwidth.php index 2af567d6..94b48c67 100644 --- a/admin/layouts/series/details_fullwidth.php +++ b/admin/layouts/series/details_fullwidth.php @@ -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 diff --git a/admin/layouts/series/details_left.php b/admin/layouts/series/details_left.php index 9ff39a49..61a667ed 100644 --- a/admin/layouts/series/details_left.php +++ b/admin/layouts/series/details_left.php @@ -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 diff --git a/admin/layouts/series/details_right.php b/admin/layouts/series/details_right.php index 07572ee5..537da79d 100644 --- a/admin/layouts/series/details_right.php +++ b/admin/layouts/series/details_right.php @@ -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 diff --git a/admin/layouts/series/metadata.php b/admin/layouts/series/metadata.php index 77edb144..928a6ba0 100644 --- a/admin/layouts/series/metadata.php +++ b/admin/layouts/series/metadata.php @@ -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 diff --git a/admin/layouts/series/publishing.php b/admin/layouts/series/publishing.php index 3453b85f..cd056b5e 100644 --- a/admin/layouts/series/publishing.php +++ b/admin/layouts/series/publishing.php @@ -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 diff --git a/admin/layouts/series/sermons_fullwidth.php b/admin/layouts/series/sermons_fullwidth.php index 3e7766a2..366a1a95 100644 --- a/admin/layouts/series/sermons_fullwidth.php +++ b/admin/layouts/series/sermons_fullwidth.php @@ -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 diff --git a/admin/layouts/sermon/details_above.php b/admin/layouts/sermon/details_above.php index 8b93c53c..9337d2b5 100644 --- a/admin/layouts/sermon/details_above.php +++ b/admin/layouts/sermon/details_above.php @@ -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 diff --git a/admin/layouts/sermon/details_fullwidth.php b/admin/layouts/sermon/details_fullwidth.php index 2af567d6..94b48c67 100644 --- a/admin/layouts/sermon/details_fullwidth.php +++ b/admin/layouts/sermon/details_fullwidth.php @@ -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 diff --git a/admin/layouts/sermon/details_left.php b/admin/layouts/sermon/details_left.php index 234acd3c..f16a8068 100644 --- a/admin/layouts/sermon/details_left.php +++ b/admin/layouts/sermon/details_left.php @@ -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 diff --git a/admin/layouts/sermon/details_right.php b/admin/layouts/sermon/details_right.php index 8dafd3d9..42e80321 100644 --- a/admin/layouts/sermon/details_right.php +++ b/admin/layouts/sermon/details_right.php @@ -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 diff --git a/admin/layouts/sermon/details_under.php b/admin/layouts/sermon/details_under.php index baf359cd..29f487b1 100644 --- a/admin/layouts/sermon/details_under.php +++ b/admin/layouts/sermon/details_under.php @@ -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 diff --git a/admin/layouts/sermon/files_fullwidth.php b/admin/layouts/sermon/files_fullwidth.php index 51361009..97af4f72 100644 --- a/admin/layouts/sermon/files_fullwidth.php +++ b/admin/layouts/sermon/files_fullwidth.php @@ -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 diff --git a/admin/layouts/sermon/metadata.php b/admin/layouts/sermon/metadata.php index 77edb144..928a6ba0 100644 --- a/admin/layouts/sermon/metadata.php +++ b/admin/layouts/sermon/metadata.php @@ -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 diff --git a/admin/layouts/sermon/publishing.php b/admin/layouts/sermon/publishing.php index 3453b85f..cd056b5e 100644 --- a/admin/layouts/sermon/publishing.php +++ b/admin/layouts/sermon/publishing.php @@ -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 diff --git a/admin/layouts/sermon/stastics_fullwidth.php b/admin/layouts/sermon/stastics_fullwidth.php index eed35e48..403837bb 100644 --- a/admin/layouts/sermon/stastics_fullwidth.php +++ b/admin/layouts/sermon/stastics_fullwidth.php @@ -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 diff --git a/admin/layouts/statistic/details_above.php b/admin/layouts/statistic/details_above.php index d5afe2bb..859477a1 100644 --- a/admin/layouts/statistic/details_above.php +++ b/admin/layouts/statistic/details_above.php @@ -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 diff --git a/admin/layouts/statistic/details_left.php b/admin/layouts/statistic/details_left.php index 5b7ab195..5ed519f1 100644 --- a/admin/layouts/statistic/details_left.php +++ b/admin/layouts/statistic/details_left.php @@ -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 diff --git a/admin/layouts/statistic/details_right.php b/admin/layouts/statistic/details_right.php index d2bd8746..62cf6fa0 100644 --- a/admin/layouts/statistic/details_right.php +++ b/admin/layouts/statistic/details_right.php @@ -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 diff --git a/admin/layouts/statistic/metadata.php b/admin/layouts/statistic/metadata.php index 77edb144..928a6ba0 100644 --- a/admin/layouts/statistic/metadata.php +++ b/admin/layouts/statistic/metadata.php @@ -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 diff --git a/admin/layouts/statistic/publishing.php b/admin/layouts/statistic/publishing.php index 3453b85f..cd056b5e 100644 --- a/admin/layouts/statistic/publishing.php +++ b/admin/layouts/statistic/publishing.php @@ -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 diff --git a/admin/models/ajax.php b/admin/models/ajax.php index e74ed5d4..9131a5b0 100644 --- a/admin/models/ajax.php +++ b/admin/models/ajax.php @@ -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 diff --git a/admin/models/external_source.php b/admin/models/external_source.php index c938f7ce..f0b53f47 100644 --- a/admin/models/external_source.php +++ b/admin/models/external_source.php @@ -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 diff --git a/admin/models/external_sources.php b/admin/models/external_sources.php index 2aee93d8..bf4c61b3 100644 --- a/admin/models/external_sources.php +++ b/admin/models/external_sources.php @@ -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 diff --git a/admin/models/fields/adminviewfolderlist.php b/admin/models/fields/adminviewfolderlist.php index 2d68cd11..672f1b7b 100644 --- a/admin/models/fields/adminviewfolderlist.php +++ b/admin/models/fields/adminviewfolderlist.php @@ -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 diff --git a/admin/models/fields/articles.php b/admin/models/fields/articles.php index 45efb04d..9bf69e44 100644 --- a/admin/models/fields/articles.php +++ b/admin/models/fields/articles.php @@ -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 diff --git a/admin/models/fields/externalsource.php b/admin/models/fields/externalsource.php index 9cb50835..6e7abeb7 100644 --- a/admin/models/fields/externalsource.php +++ b/admin/models/fields/externalsource.php @@ -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 diff --git a/admin/models/fields/externalsourcefiles.php b/admin/models/fields/externalsourcefiles.php index f0b95262..943b8964 100644 --- a/admin/models/fields/externalsourcefiles.php +++ b/admin/models/fields/externalsourcefiles.php @@ -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 diff --git a/admin/models/fields/localfiles.php b/admin/models/fields/localfiles.php index 329fa938..20cdcd39 100644 --- a/admin/models/fields/localfiles.php +++ b/admin/models/fields/localfiles.php @@ -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 diff --git a/admin/models/fields/preachers.php b/admin/models/fields/preachers.php index 0b01635c..7a061d22 100644 --- a/admin/models/fields/preachers.php +++ b/admin/models/fields/preachers.php @@ -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 diff --git a/admin/models/fields/series.php b/admin/models/fields/series.php index 60c84926..269024c8 100644 --- a/admin/models/fields/series.php +++ b/admin/models/fields/series.php @@ -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 diff --git a/admin/models/fields/sermon.php b/admin/models/fields/sermon.php index 1a669166..ef4af157 100644 --- a/admin/models/fields/sermon.php +++ b/admin/models/fields/sermon.php @@ -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 diff --git a/admin/models/fields/siteviewfolderlist.php b/admin/models/fields/siteviewfolderlist.php index 77b46605..1040072d 100644 --- a/admin/models/fields/siteviewfolderlist.php +++ b/admin/models/fields/siteviewfolderlist.php @@ -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 diff --git a/admin/models/forms/external_source.js b/admin/models/forms/external_source.js index 1656f9cf..a8ddeaa5 100644 --- a/admin/models/forms/external_source.js +++ b/admin/models/forms/external_source.js @@ -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) { diff --git a/admin/models/forms/external_source.xml b/admin/models/forms/external_source.xml index 64758335..6598cfdc 100644 --- a/admin/models/forms/external_source.xml +++ b/admin/models/forms/external_source.xml @@ -215,6 +215,104 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - diff --git a/admin/models/forms/help_document.js b/admin/models/forms/help_document.js index 41760e17..9399f47a 100644 --- a/admin/models/forms/help_document.js +++ b/admin/models/forms/help_document.js @@ -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; } } } diff --git a/admin/models/forms/local_listing.js b/admin/models/forms/local_listing.js index 55def31d..e8613dbf 100644 --- a/admin/models/forms/local_listing.js +++ b/admin/models/forms/local_listing.js @@ -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() { diff --git a/admin/models/forms/statistic.js b/admin/models/forms/statistic.js index fe2ca90d..30b7d78e 100644 --- a/admin/models/forms/statistic.js +++ b/admin/models/forms/statistic.js @@ -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 diff --git a/admin/models/help_document.php b/admin/models/help_document.php index 47a4e52a..257788ab 100644 --- a/admin/models/help_document.php +++ b/admin/models/help_document.php @@ -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 diff --git a/admin/models/help_documents.php b/admin/models/help_documents.php index 23382178..14fd4171 100644 --- a/admin/models/help_documents.php +++ b/admin/models/help_documents.php @@ -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 diff --git a/admin/models/import.php b/admin/models/import.php index 11e75a51..e1ccda16 100644 --- a/admin/models/import.php +++ b/admin/models/import.php @@ -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 @@ -31,6 +31,11 @@ defined('_JEXEC') or die('Restricted access'); */ class SermondistributorModelImport extends JModelLegacy { + // set uploading values + protected $use_streams = false; + protected $allow_unsafe = false; + protected $safeFileOptions = array(); + /** * @var object JTable object */ @@ -72,10 +77,6 @@ class SermondistributorModelImport extends JModelLegacy // Recall the 'Import from Directory' path. $path = $app->getUserStateFromRequest($this->_context . '.import_directory', 'import_directory', $app->get('tmp_path')); $this->setState('import.directory', $path); - // set uploading values - $this->use_streams = false; - $this->allow_unsafe = false; - $this->safeFileOptions = array(); parent::populateState(); } @@ -282,21 +283,16 @@ class SermondistributorModelImport extends JModelLegacy } // check the extention - switch(strtolower(pathinfo($p_dir, PATHINFO_EXTENSION))){ - case 'xls': - case 'ods': - case 'csv': - break; - - default: + if(!$this->checkExtension($p_dir)) + { + // set error message $app->enqueueMessage(JText::_('COM_SERMONDISTRIBUTOR_IMPORT_MSG_DOES_NOT_HAVE_A_VALID_FILE_TYPE'), 'warning'); return false; - break; } $package['packagename'] = null; - $package['dir'] = $p_dir; - $package['type'] = $type; + $package['dir'] = $p_dir; + $package['type'] = $type; return $package; } @@ -354,21 +350,15 @@ class SermondistributorModelImport extends JModelLegacy $archivename = JPath::clean($archivename); // check the extention - switch(strtolower(pathinfo($archivename, PATHINFO_EXTENSION))){ - case 'xls': - case 'ods': - case 'csv': - break; - - default: + if(!$this->checkExtension($archivename)) + { // Cleanup the import files $this->remove($archivename); $app->enqueueMessage(JText::_('COM_SERMONDISTRIBUTOR_IMPORT_MSG_DOES_NOT_HAVE_A_VALID_FILE_TYPE'), 'warning'); return false; - break; - } + } - $config = JFactory::getConfig(); + $config = JFactory::getConfig(); // set Package Name $check['packagename'] = $archivename; @@ -381,6 +371,28 @@ class SermondistributorModelImport extends JModelLegacy return $check; } + /** + * Check the extension + * + * @param string $file Name of the uploaded file + * + * @return boolean True on success + * + */ + protected function checkExtension($file) + { + // check the extention + switch(strtolower(pathinfo($file, PATHINFO_EXTENSION))) + { + case 'xls': + case 'ods': + case 'csv': + return true; + break; + } + return false; + } + /** * Clean up temporary uploaded spreadsheet * diff --git a/admin/models/local_listing.php b/admin/models/local_listing.php index 0e498ff6..61384dfe 100644 --- a/admin/models/local_listing.php +++ b/admin/models/local_listing.php @@ -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 diff --git a/admin/models/local_listings.php b/admin/models/local_listings.php index d10f3094..0694485d 100644 --- a/admin/models/local_listings.php +++ b/admin/models/local_listings.php @@ -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 diff --git a/admin/models/manual_updater.php b/admin/models/manual_updater.php index 2c6c30c5..83bf8cbf 100644 --- a/admin/models/manual_updater.php +++ b/admin/models/manual_updater.php @@ -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 @@ -78,7 +78,9 @@ class SermondistributorModelManual_updater extends JModelList array('a.id','a.description','a.externalsources','a.build','a.update_method','a.update_timer','a.filetypes','a.oauthtoken','a.permissiontype','a.dropboxoptions','a.sharedurl','a.folder'), array('id','description','externalsources','build','update_method','update_timer','filetypes','oauthtoken','permissiontype','dropboxoptions','sharedurl','folder'))); $query->from($db->quoteName('#__sermondistributor_external_source', 'a')); + // Get where a.update_method is 1 $query->where('a.update_method = 1'); + // Get where a.published is 1 $query->where('a.published = 1'); $query->order('a.description ASC'); diff --git a/admin/models/sermondistributor.php b/admin/models/sermondistributor.php index 1d7081f4..23cdfa31 100644 --- a/admin/models/sermondistributor.php +++ b/admin/models/sermondistributor.php @@ -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 diff --git a/admin/models/statistic.php b/admin/models/statistic.php index 3d2775b7..0e20f3aa 100644 --- a/admin/models/statistic.php +++ b/admin/models/statistic.php @@ -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 diff --git a/admin/models/statistics.php b/admin/models/statistics.php index 4f3d76b2..2ef053ad 100644 --- a/admin/models/statistics.php +++ b/admin/models/statistics.php @@ -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 diff --git a/admin/sermondistributor.php b/admin/sermondistributor.php index 31712381..5482c0bb 100644 --- a/admin/sermondistributor.php +++ b/admin/sermondistributor.php @@ -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 diff --git a/admin/sql/install.mysql.utf8.sql b/admin/sql/install.mysql.utf8.sql index aef7a7ec..1e65e191 100644 --- a/admin/sql/install.mysql.utf8.sql +++ b/admin/sql/install.mysql.utf8.sql @@ -37,20 +37,20 @@ CREATE TABLE IF NOT EXISTS `#__sermondistributor_sermon` ( `asset_id` INT(10) unsigned NOT NULL DEFAULT 0 COMMENT 'FK to the #__assets table.', `alias` CHAR(64) NOT NULL DEFAULT '', `auto_sermons` TEXT NOT NULL, - `build` TINYINT(1) NOT NULL DEFAULT '0', - `catid` INT(11) NOT NULL DEFAULT '0', + `build` TINYINT(1) NOT NULL DEFAULT 0, + `catid` INT(11) NOT NULL DEFAULT 0, `description` TEXT NOT NULL, `icon` CHAR(64) NOT NULL DEFAULT '', - `link_type` TINYINT(1) NOT NULL DEFAULT '1', + `link_type` TINYINT(1) NOT NULL DEFAULT 1, `local_files` TEXT NOT NULL, `manual_files` TEXT NOT NULL, `name` VARCHAR(255) NOT NULL DEFAULT '', - `not_required` INT(1) NOT NULL DEFAULT '0', - `preacher` INT(11) NOT NULL DEFAULT '0', + `not_required` INT(1) NOT NULL DEFAULT 0, + `preacher` INT(11) NOT NULL DEFAULT 0, `scripture` VARCHAR(255) NOT NULL DEFAULT '', - `series` INT(11) NOT NULL DEFAULT '0', + `series` INT(11) NOT NULL DEFAULT 0, `short_description` VARCHAR(255) NOT NULL DEFAULT '', - `source` TINYINT(1) NOT NULL DEFAULT '0', + `source` TINYINT(1) NOT NULL DEFAULT 0, `url` VARCHAR(255) NOT NULL DEFAULT '', `params` text NOT NULL DEFAULT '', `published` TINYINT(3) NOT NULL DEFAULT 1, @@ -118,11 +118,11 @@ CREATE TABLE IF NOT EXISTS `#__sermondistributor_series` ( CREATE TABLE IF NOT EXISTS `#__sermondistributor_statistic` ( `id` INT(11) NOT NULL AUTO_INCREMENT, `asset_id` INT(10) unsigned NOT NULL DEFAULT 0 COMMENT 'FK to the #__assets table.', - `counter` INT(64) NOT NULL DEFAULT '0', + `counter` INT(64) NOT NULL DEFAULT 0, `filename` VARCHAR(255) NOT NULL DEFAULT '', - `preacher` INT(11) NOT NULL DEFAULT '0', - `series` INT(11) NOT NULL DEFAULT '0', - `sermon` INT(11) NOT NULL DEFAULT '0', + `preacher` INT(11) NOT NULL DEFAULT 0, + `series` INT(11) NOT NULL DEFAULT 0, + `sermon` INT(11) NOT NULL DEFAULT 0, `params` text NOT NULL DEFAULT '', `published` TINYINT(3) NOT NULL DEFAULT 1, `created_by` INT(10) unsigned NOT NULL DEFAULT 0, @@ -153,18 +153,18 @@ CREATE TABLE IF NOT EXISTS `#__sermondistributor_statistic` ( CREATE TABLE IF NOT EXISTS `#__sermondistributor_external_source` ( `id` INT(11) NOT NULL AUTO_INCREMENT, `asset_id` INT(10) unsigned NOT NULL DEFAULT 0 COMMENT 'FK to the #__assets table.', - `build` TINYINT(1) NOT NULL DEFAULT '0', + `build` TINYINT(1) NOT NULL DEFAULT 0, `description` VARCHAR(255) NOT NULL DEFAULT '', - `dropboxoptions` TINYINT(1) NOT NULL DEFAULT '1', - `externalsources` INT(11) NOT NULL DEFAULT '0', + `dropboxoptions` TINYINT(1) NOT NULL DEFAULT 1, + `externalsources` INT(11) NOT NULL DEFAULT 0, `filetypes` TEXT NOT NULL, `folder` TEXT NOT NULL, - `not_required` INT(1) NOT NULL DEFAULT '0', + `not_required` INT(1) NOT NULL DEFAULT 0, `oauthtoken` TEXT NOT NULL, `permissiontype` VARCHAR(64) NOT NULL DEFAULT '', `sharedurl` TEXT NOT NULL, - `update_method` TINYINT NOT NULL DEFAULT '0', - `update_timer` INT(1) NOT NULL DEFAULT '0', + `update_method` TINYINT NOT NULL DEFAULT 0, + `update_timer` INT(1) NOT NULL DEFAULT 0, `params` text NOT NULL DEFAULT '', `published` TINYINT(3) NOT NULL DEFAULT 1, `created_by` INT(10) unsigned NOT NULL DEFAULT 0, @@ -192,11 +192,11 @@ CREATE TABLE IF NOT EXISTS `#__sermondistributor_external_source` ( CREATE TABLE IF NOT EXISTS `#__sermondistributor_local_listing` ( `id` INT(11) NOT NULL AUTO_INCREMENT, `asset_id` INT(10) unsigned NOT NULL DEFAULT 0 COMMENT 'FK to the #__assets table.', - `build` TINYINT(1) NOT NULL DEFAULT '0', - `external_source` INT(11) NOT NULL DEFAULT '0', + `build` TINYINT(1) NOT NULL DEFAULT 0, + `external_source` INT(11) NOT NULL DEFAULT 0, `key` VARCHAR(255) NOT NULL DEFAULT '', `name` VARCHAR(255) NOT NULL DEFAULT '', - `size` INT(50) NOT NULL DEFAULT '0', + `size` INT(50) NOT NULL DEFAULT 0, `url` TEXT NOT NULL, `params` text NOT NULL DEFAULT '', `published` TINYINT(3) NOT NULL DEFAULT 1, @@ -224,15 +224,15 @@ CREATE TABLE IF NOT EXISTS `#__sermondistributor_help_document` ( `asset_id` INT(10) unsigned NOT NULL DEFAULT 0 COMMENT 'FK to the #__assets table.', `admin_view` CHAR(255) NOT NULL DEFAULT '', `alias` CHAR(64) NOT NULL DEFAULT '', - `article` TINYINT(1) NOT NULL DEFAULT '0', + `article` TINYINT(1) NOT NULL DEFAULT 0, `content` TEXT NOT NULL, `groups` TEXT NOT NULL, - `location` TINYINT(1) NOT NULL DEFAULT '0', - `not_required` INT(1) NOT NULL DEFAULT '0', + `location` TINYINT(1) NOT NULL DEFAULT 0, + `not_required` INT(1) NOT NULL DEFAULT 0, `site_view` CHAR(255) NOT NULL DEFAULT '', - `target` TINYINT(1) NOT NULL DEFAULT '0', + `target` TINYINT(1) NOT NULL DEFAULT 0, `title` CHAR(64) NOT NULL DEFAULT '', - `type` TINYINT(1) NOT NULL DEFAULT '0', + `type` TINYINT(1) NOT NULL DEFAULT 0, `url` VARCHAR(255) NOT NULL DEFAULT '', `params` text NOT NULL DEFAULT '', `published` TINYINT(3) NOT NULL DEFAULT 1, @@ -266,6 +266,11 @@ CREATE TABLE IF NOT EXISTS `#__sermondistributor_help_document` ( -- --- Always insure this column is large enough for all the access control values. +-- Always insure this column rules is large enough for all the access control values. -- ALTER TABLE `#__assets` CHANGE `rules` `rules` MEDIUMTEXT NOT NULL COMMENT 'JSON encoded access control.'; + +-- +-- Always insure this column name is large enough for long component and view names. +-- +ALTER TABLE `#__assets` CHANGE `name` `name` VARCHAR(100) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NOT NULL COMMENT 'The unique name for the asset.'; diff --git a/admin/tables/external_source.php b/admin/tables/external_source.php index 1accda7f..a01f8ff3 100644 --- a/admin/tables/external_source.php +++ b/admin/tables/external_source.php @@ -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 diff --git a/admin/tables/help_document.php b/admin/tables/help_document.php index a9e009e4..1a1fdf89 100644 --- a/admin/tables/help_document.php +++ b/admin/tables/help_document.php @@ -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 diff --git a/admin/tables/local_listing.php b/admin/tables/local_listing.php index 89fc5e1b..f845e14a 100644 --- a/admin/tables/local_listing.php +++ b/admin/tables/local_listing.php @@ -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 diff --git a/admin/tables/statistic.php b/admin/tables/statistic.php index d7dac841..dfffb34f 100644 --- a/admin/tables/statistic.php +++ b/admin/tables/statistic.php @@ -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 diff --git a/admin/views/external_source/submitbutton.js b/admin/views/external_source/submitbutton.js index be5ee612..8da9dcc3 100644 --- a/admin/views/external_source/submitbutton.js +++ b/admin/views/external_source/submitbutton.js @@ -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 submitbutton.js diff --git a/admin/views/external_source/tmpl/edit.php b/admin/views/external_source/tmpl/edit.php index 2bacfac5..61016765 100644 --- a/admin/views/external_source/tmpl/edit.php +++ b/admin/views/external_source/tmpl/edit.php @@ -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 edit.php @@ -58,7 +58,8 @@ $componentParams = JComponentHelper::getParams('com_sermondistributor');
@@ -673,21 +675,6 @@ jQuery('#adminForm').on('change', '#jform_dropboxoptions',function (e) }); -// #jform_build listeners for build_vvvvvww function -jQuery('#jform_build').on('keyup',function() -{ - var build_vvvvvww = jQuery("#jform_build").val(); - vvvvvww(build_vvvvvww); - -}); -jQuery('#adminForm').on('change', '#jform_build',function (e) -{ - e.preventDefault(); - var build_vvvvvww = jQuery("#jform_build").val(); - vvvvvww(build_vvvvvww); - -}); - jQuery('input.form-field-repeatable').on('value-update', function(e, value){ if (value) diff --git a/admin/views/external_source/view.html.php b/admin/views/external_source/view.html.php index 585b8d2c..d9b3b96d 100644 --- a/admin/views/external_source/view.html.php +++ b/admin/views/external_source/view.html.php @@ -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 view.html.php diff --git a/admin/views/external_sources/tmpl/default.php b/admin/views/external_sources/tmpl/default.php index e2e9af14..45077999 100644 --- a/admin/views/external_sources/tmpl/default.php +++ b/admin/views/external_sources/tmpl/default.php @@ -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 default.php diff --git a/admin/views/external_sources/tmpl/default_batch_body.php b/admin/views/external_sources/tmpl/default_batch_body.php index 4e4e412b..e0eeb28d 100644 --- a/admin/views/external_sources/tmpl/default_batch_body.php +++ b/admin/views/external_sources/tmpl/default_batch_body.php @@ -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 default_batch_body.php diff --git a/admin/views/external_sources/tmpl/default_batch_footer.php b/admin/views/external_sources/tmpl/default_batch_footer.php index 7ec1fea3..99dbaabd 100644 --- a/admin/views/external_sources/tmpl/default_batch_footer.php +++ b/admin/views/external_sources/tmpl/default_batch_footer.php @@ -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 default_batch_footer.php diff --git a/admin/views/external_sources/tmpl/default_body.php b/admin/views/external_sources/tmpl/default_body.php index 993f5d82..051a9123 100644 --- a/admin/views/external_sources/tmpl/default_body.php +++ b/admin/views/external_sources/tmpl/default_body.php @@ -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 default_body.php diff --git a/admin/views/external_sources/tmpl/default_foot.php b/admin/views/external_sources/tmpl/default_foot.php index fa7b592f..1cac90f1 100644 --- a/admin/views/external_sources/tmpl/default_foot.php +++ b/admin/views/external_sources/tmpl/default_foot.php @@ -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 default_foot.php diff --git a/admin/views/external_sources/tmpl/default_head.php b/admin/views/external_sources/tmpl/default_head.php index 05bd3623..3e1e449c 100644 --- a/admin/views/external_sources/tmpl/default_head.php +++ b/admin/views/external_sources/tmpl/default_head.php @@ -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 default_head.php diff --git a/admin/views/external_sources/tmpl/default_toolbar.php b/admin/views/external_sources/tmpl/default_toolbar.php index 03ac25f5..34b4dae6 100644 --- a/admin/views/external_sources/tmpl/default_toolbar.php +++ b/admin/views/external_sources/tmpl/default_toolbar.php @@ -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 default_toolbar.php diff --git a/admin/views/external_sources/view.html.php b/admin/views/external_sources/view.html.php index 167952d7..bceb6dcb 100644 --- a/admin/views/external_sources/view.html.php +++ b/admin/views/external_sources/view.html.php @@ -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 view.html.php @@ -149,7 +149,7 @@ class SermondistributorViewExternal_sources extends JViewLegacy { JToolBarHelper::custom('external_sources.exportData', 'download', '', 'COM_SERMONDISTRIBUTOR_EXPORT_DATA', true); } - } + } if ($this->canDo->get('core.import') && $this->canDo->get('external_source.import')) { diff --git a/admin/views/help_document/submitbutton.js b/admin/views/help_document/submitbutton.js index 3707e202..c6044af1 100644 --- a/admin/views/help_document/submitbutton.js +++ b/admin/views/help_document/submitbutton.js @@ -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 submitbutton.js diff --git a/admin/views/help_document/tmpl/edit.php b/admin/views/help_document/tmpl/edit.php index 92161e92..2d5a43ad 100644 --- a/admin/views/help_document/tmpl/edit.php +++ b/admin/views/help_document/tmpl/edit.php @@ -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 edit.php @@ -58,7 +58,8 @@ $componentParams = JComponentHelper::getParams('com_sermondistributor');
@@ -125,93 +127,93 @@ $componentParams = JComponentHelper::getParams('com_sermondistributor');