@@ -144,7 +166,7 @@
jQuery('#jform_source').on('keyup',function()
{
var source_vvvvvvw = jQuery("#jform_source").val();
- var build_vvvvvvw = jQuery("#jform_build input[type='radio']:checked").val();
+ var build_vvvvvvw = jQuery("#jform_build").val();
vvvvvvw(source_vvvvvvw,build_vvvvvvw);
});
@@ -152,7 +174,7 @@
{
e.preventDefault();
var source_vvvvvvw = jQuery("#jform_source").val();
- var build_vvvvvvw = jQuery("#jform_build input[type='radio']:checked").val();
+ var build_vvvvvvw = jQuery("#jform_build").val();
vvvvvvw(source_vvvvvvw,build_vvvvvvw);
});
@@ -161,7 +183,7 @@
jQuery('#jform_build').on('keyup',function()
{
var source_vvvvvvw = jQuery("#jform_source").val();
- var build_vvvvvvw = jQuery("#jform_build input[type='radio']:checked").val();
+ var build_vvvvvvw = jQuery("#jform_build").val();
vvvvvvw(source_vvvvvvw,build_vvvvvvw);
});
@@ -169,7 +191,7 @@
{
e.preventDefault();
var source_vvvvvvw = jQuery("#jform_source").val();
- var build_vvvvvvw = jQuery("#jform_build input[type='radio']:checked").val();
+ var build_vvvvvvw = jQuery("#jform_build").val();
vvvvvvw(source_vvvvvvw,build_vvvvvvw);
});
@@ -178,7 +200,7 @@
jQuery('#jform_source').on('keyup',function()
{
var source_vvvvvvy = jQuery("#jform_source").val();
- var build_vvvvvvy = jQuery("#jform_build input[type='radio']:checked").val();
+ var build_vvvvvvy = jQuery("#jform_build").val();
vvvvvvy(source_vvvvvvy,build_vvvvvvy);
});
@@ -186,7 +208,7 @@
{
e.preventDefault();
var source_vvvvvvy = jQuery("#jform_source").val();
- var build_vvvvvvy = jQuery("#jform_build input[type='radio']:checked").val();
+ var build_vvvvvvy = jQuery("#jform_build").val();
vvvvvvy(source_vvvvvvy,build_vvvvvvy);
});
@@ -195,7 +217,7 @@
jQuery('#jform_build').on('keyup',function()
{
var source_vvvvvvy = jQuery("#jform_source").val();
- var build_vvvvvvy = jQuery("#jform_build input[type='radio']:checked").val();
+ var build_vvvvvvy = jQuery("#jform_build").val();
vvvvvvy(source_vvvvvvy,build_vvvvvvy);
});
@@ -203,7 +225,7 @@
{
e.preventDefault();
var source_vvvvvvy = jQuery("#jform_source").val();
- var build_vvvvvvy = jQuery("#jform_build input[type='radio']:checked").val();
+ var build_vvvvvvy = jQuery("#jform_build").val();
vvvvvvy(source_vvvvvvy,build_vvvvvvy);
});
@@ -211,7 +233,7 @@
// #jform_build listeners for build_vvvvvvz function
jQuery('#jform_build').on('keyup',function()
{
- var build_vvvvvvz = jQuery("#jform_build input[type='radio']:checked").val();
+ var build_vvvvvvz = jQuery("#jform_build").val();
var source_vvvvvvz = jQuery("#jform_source").val();
vvvvvvz(build_vvvvvvz,source_vvvvvvz);
@@ -219,7 +241,7 @@
jQuery('#adminForm').on('change', '#jform_build',function (e)
{
e.preventDefault();
- var build_vvvvvvz = jQuery("#jform_build input[type='radio']:checked").val();
+ var build_vvvvvvz = jQuery("#jform_build").val();
var source_vvvvvvz = jQuery("#jform_source").val();
vvvvvvz(build_vvvvvvz,source_vvvvvvz);
@@ -228,7 +250,7 @@
// #jform_source listeners for source_vvvvvvz function
jQuery('#jform_source').on('keyup',function()
{
- var build_vvvvvvz = jQuery("#jform_build input[type='radio']:checked").val();
+ var build_vvvvvvz = jQuery("#jform_build").val();
var source_vvvvvvz = jQuery("#jform_source").val();
vvvvvvz(build_vvvvvvz,source_vvvvvvz);
@@ -236,7 +258,7 @@
jQuery('#adminForm').on('change', '#jform_source',function (e)
{
e.preventDefault();
- var build_vvvvvvz = jQuery("#jform_build input[type='radio']:checked").val();
+ var build_vvvvvvz = jQuery("#jform_build").val();
var source_vvvvvvz = jQuery("#jform_source").val();
vvvvvvz(build_vvvvvvz,source_vvvvvvz);
@@ -306,34 +328,32 @@
-jQuery('.options-link').on('click',function (e)
+jQuery('.external-source').on('click',function (e)
{
e.preventDefault();
- location.href="";
+ location.href="";
});
// load the auto sermons if set or notice if none is found
var auto_sermons = jQuery('#jform_auto_sermons').val();
var htmlDropNote = '
';
-htmlDropNote += '
';
+htmlDropNote += '
';
if (auto_sermons != 1 && auto_sermons.length > 0)
{
- htmlDropNote = '
';
+ htmlDropNote = '
';
auto_sermons = jQuery.parseJSON(auto_sermons);
htmlDropNote += '
';
jQuery.each(auto_sermons, function(filename,fileKey) {
htmlDropNote += '- : ';
htmlDropNote += filename;
- htmlDropNote += '
: ';
+ htmlDropNote += '
: ';
htmlDropNote += fileKey.replace("VDM_pLeK_h0uEr/", "");
htmlDropNote += ' ';
});
htmlDropNote += '
';
}
-jQuery('.note_auto_dropbox').closest('.control-group').prepend(htmlDropNote);
+jQuery('.note_auto_externalsource').closest('.control-group').prepend(htmlDropNote);
diff --git a/admin/views/sermon/view.html.php b/admin/views/sermon/view.html.php
index 2b0c4fe9..22575ec7 100644
--- a/admin/views/sermon/view.html.php
+++ b/admin/views/sermon/view.html.php
@@ -10,8 +10,8 @@
|_|
/-------------------------------------------------------------------------------------------------------------------------------/
- @version 1.3.8
- @build 2nd November, 2016
+ @version 1.4.0
+ @build 27th November, 2016
@created 22nd October, 2015
@package Sermon Distributor
@subpackage view.html.php
diff --git a/admin/views/sermondistributor/tmpl/default.php b/admin/views/sermondistributor/tmpl/default.php
index 2d49093c..295dafbc 100644
--- a/admin/views/sermondistributor/tmpl/default.php
+++ b/admin/views/sermondistributor/tmpl/default.php
@@ -10,8 +10,8 @@
|_|
/-------------------------------------------------------------------------------------------------------------------------------/
- @version 1.3.8
- @build 2nd November, 2016
+ @version 1.4.0
+ @build 27th November, 2016
@created 22nd October, 2015
@package Sermon Distributor
@subpackage default.php
diff --git a/admin/views/sermondistributor/tmpl/default_closed_issues_the_closed_issues_on_github.php b/admin/views/sermondistributor/tmpl/default_closed_issues_the_closed_issues_on_github.php
index b44c6799..70930eb6 100644
--- a/admin/views/sermondistributor/tmpl/default_closed_issues_the_closed_issues_on_github.php
+++ b/admin/views/sermondistributor/tmpl/default_closed_issues_the_closed_issues_on_github.php
@@ -10,8 +10,8 @@
|_|
/-------------------------------------------------------------------------------------------------------------------------------/
- @version 1.3.8
- @build 2nd November, 2016
+ @version 1.4.0
+ @build 27th November, 2016
@created 22nd October, 2015
@package Sermon Distributor
@subpackage default_closed_issues_the_closed_issues_on_github.php
diff --git a/admin/views/sermondistributor/tmpl/default_main.php b/admin/views/sermondistributor/tmpl/default_main.php
index 56213824..cd03f63c 100644
--- a/admin/views/sermondistributor/tmpl/default_main.php
+++ b/admin/views/sermondistributor/tmpl/default_main.php
@@ -10,8 +10,8 @@
|_|
/-------------------------------------------------------------------------------------------------------------------------------/
- @version 1.3.8
- @build 2nd November, 2016
+ @version 1.4.0
+ @build 27th November, 2016
@created 22nd October, 2015
@package Sermon Distributor
@subpackage default_main.php
diff --git a/admin/views/sermondistributor/tmpl/default_open_issues_the_open_issues_on_github.php b/admin/views/sermondistributor/tmpl/default_open_issues_the_open_issues_on_github.php
index 8fa6eff4..38df2e6b 100644
--- a/admin/views/sermondistributor/tmpl/default_open_issues_the_open_issues_on_github.php
+++ b/admin/views/sermondistributor/tmpl/default_open_issues_the_open_issues_on_github.php
@@ -10,8 +10,8 @@
|_|
/-------------------------------------------------------------------------------------------------------------------------------/
- @version 1.3.8
- @build 2nd November, 2016
+ @version 1.4.0
+ @build 27th November, 2016
@created 22nd October, 2015
@package Sermon Distributor
@subpackage default_open_issues_the_open_issues_on_github.php
diff --git a/admin/views/sermondistributor/tmpl/default_readme_information.php b/admin/views/sermondistributor/tmpl/default_readme_information.php
index 5ef3b4b2..bd661509 100644
--- a/admin/views/sermondistributor/tmpl/default_readme_information.php
+++ b/admin/views/sermondistributor/tmpl/default_readme_information.php
@@ -10,8 +10,8 @@
|_|
/-------------------------------------------------------------------------------------------------------------------------------/
- @version 1.3.8
- @build 2nd November, 2016
+ @version 1.4.0
+ @build 27th November, 2016
@created 22nd October, 2015
@package Sermon Distributor
@subpackage default_readme_information.php
diff --git a/admin/views/sermondistributor/tmpl/default_vast_development_method_notice_board.php b/admin/views/sermondistributor/tmpl/default_vast_development_method_notice_board.php
index d588caba..8b2165d3 100644
--- a/admin/views/sermondistributor/tmpl/default_vast_development_method_notice_board.php
+++ b/admin/views/sermondistributor/tmpl/default_vast_development_method_notice_board.php
@@ -10,8 +10,8 @@
|_|
/-------------------------------------------------------------------------------------------------------------------------------/
- @version 1.3.8
- @build 2nd November, 2016
+ @version 1.4.0
+ @build 27th November, 2016
@created 22nd October, 2015
@package Sermon Distributor
@subpackage default_vast_development_method_notice_board.php
diff --git a/admin/views/sermondistributor/tmpl/default_vdm.php b/admin/views/sermondistributor/tmpl/default_vdm.php
index cad36b6c..9d8d8864 100644
--- a/admin/views/sermondistributor/tmpl/default_vdm.php
+++ b/admin/views/sermondistributor/tmpl/default_vdm.php
@@ -10,8 +10,8 @@
|_|
/-------------------------------------------------------------------------------------------------------------------------------/
- @version 1.3.8
- @build 2nd November, 2016
+ @version 1.4.0
+ @build 27th November, 2016
@created 22nd October, 2015
@package Sermon Distributor
@subpackage default_vdm.php
diff --git a/admin/views/sermondistributor/view.html.php b/admin/views/sermondistributor/view.html.php
index 3b3b6e52..59c260f7 100644
--- a/admin/views/sermondistributor/view.html.php
+++ b/admin/views/sermondistributor/view.html.php
@@ -10,8 +10,8 @@
|_|
/-------------------------------------------------------------------------------------------------------------------------------/
- @version 1.3.8
- @build 2nd November, 2016
+ @version 1.4.0
+ @build 27th November, 2016
@created 22nd October, 2015
@package Sermon Distributor
@subpackage view.html.php
diff --git a/admin/views/sermons/tmpl/default.php b/admin/views/sermons/tmpl/default.php
index a0a0c4d3..46a1bacd 100644
--- a/admin/views/sermons/tmpl/default.php
+++ b/admin/views/sermons/tmpl/default.php
@@ -10,8 +10,8 @@
|_|
/-------------------------------------------------------------------------------------------------------------------------------/
- @version 1.3.8
- @build 2nd November, 2016
+ @version 1.4.0
+ @build 27th November, 2016
@created 22nd October, 2015
@package Sermon Distributor
@subpackage default.php
diff --git a/admin/views/sermons/tmpl/default_batch_body.php b/admin/views/sermons/tmpl/default_batch_body.php
index 60e829a9..e70c8b1c 100644
--- a/admin/views/sermons/tmpl/default_batch_body.php
+++ b/admin/views/sermons/tmpl/default_batch_body.php
@@ -10,8 +10,8 @@
|_|
/-------------------------------------------------------------------------------------------------------------------------------/
- @version 1.3.8
- @build 2nd November, 2016
+ @version 1.4.0
+ @build 27th November, 2016
@created 22nd October, 2015
@package Sermon Distributor
@subpackage default_batch_body.php
diff --git a/admin/views/sermons/tmpl/default_batch_footer.php b/admin/views/sermons/tmpl/default_batch_footer.php
index 2df7ece9..b2e0c73e 100644
--- a/admin/views/sermons/tmpl/default_batch_footer.php
+++ b/admin/views/sermons/tmpl/default_batch_footer.php
@@ -10,8 +10,8 @@
|_|
/-------------------------------------------------------------------------------------------------------------------------------/
- @version 1.3.8
- @build 2nd November, 2016
+ @version 1.4.0
+ @build 27th November, 2016
@created 22nd October, 2015
@package Sermon Distributor
@subpackage default_batch_footer.php
diff --git a/admin/views/sermons/tmpl/default_body.php b/admin/views/sermons/tmpl/default_body.php
index 66d84b80..6f0c4e6e 100644
--- a/admin/views/sermons/tmpl/default_body.php
+++ b/admin/views/sermons/tmpl/default_body.php
@@ -10,8 +10,8 @@
|_|
/-------------------------------------------------------------------------------------------------------------------------------/
- @version 1.3.8
- @build 2nd November, 2016
+ @version 1.4.0
+ @build 27th November, 2016
@created 22nd October, 2015
@package Sermon Distributor
@subpackage default_body.php
diff --git a/admin/views/sermons/tmpl/default_foot.php b/admin/views/sermons/tmpl/default_foot.php
index 73dfd49c..01ff2acf 100644
--- a/admin/views/sermons/tmpl/default_foot.php
+++ b/admin/views/sermons/tmpl/default_foot.php
@@ -10,8 +10,8 @@
|_|
/-------------------------------------------------------------------------------------------------------------------------------/
- @version 1.3.8
- @build 2nd November, 2016
+ @version 1.4.0
+ @build 27th November, 2016
@created 22nd October, 2015
@package Sermon Distributor
@subpackage default_foot.php
diff --git a/admin/views/sermons/tmpl/default_head.php b/admin/views/sermons/tmpl/default_head.php
index df0c233e..ea14a31d 100644
--- a/admin/views/sermons/tmpl/default_head.php
+++ b/admin/views/sermons/tmpl/default_head.php
@@ -10,8 +10,8 @@
|_|
/-------------------------------------------------------------------------------------------------------------------------------/
- @version 1.3.8
- @build 2nd November, 2016
+ @version 1.4.0
+ @build 27th November, 2016
@created 22nd October, 2015
@package Sermon Distributor
@subpackage default_head.php
diff --git a/admin/views/sermons/tmpl/default_toolbar.php b/admin/views/sermons/tmpl/default_toolbar.php
index 16fb604d..529aab27 100644
--- a/admin/views/sermons/tmpl/default_toolbar.php
+++ b/admin/views/sermons/tmpl/default_toolbar.php
@@ -10,8 +10,8 @@
|_|
/-------------------------------------------------------------------------------------------------------------------------------/
- @version 1.3.8
- @build 2nd November, 2016
+ @version 1.4.0
+ @build 27th November, 2016
@created 22nd October, 2015
@package Sermon Distributor
@subpackage default_toolbar.php
diff --git a/admin/views/sermons/view.html.php b/admin/views/sermons/view.html.php
index f9aa6de5..3ac05baa 100644
--- a/admin/views/sermons/view.html.php
+++ b/admin/views/sermons/view.html.php
@@ -10,8 +10,8 @@
|_|
/-------------------------------------------------------------------------------------------------------------------------------/
- @version 1.3.8
- @build 2nd November, 2016
+ @version 1.4.0
+ @build 27th November, 2016
@created 22nd October, 2015
@package Sermon Distributor
@subpackage view.html.php
diff --git a/admin/views/statistic/submitbutton.js b/admin/views/statistic/submitbutton.js
index 065d0846..aeede713 100644
--- a/admin/views/statistic/submitbutton.js
+++ b/admin/views/statistic/submitbutton.js
@@ -9,8 +9,8 @@
|_|
/-------------------------------------------------------------------------------------------------------------------------------/
- @version 1.3.8
- @build 2nd November, 2016
+ @version 1.4.0
+ @build 27th November, 2016
@created 22nd October, 2015
@package Sermon Distributor
@subpackage submitbutton.js
diff --git a/admin/views/statistic/tmpl/edit.php b/admin/views/statistic/tmpl/edit.php
index 9e003b0d..60e69568 100644
--- a/admin/views/statistic/tmpl/edit.php
+++ b/admin/views/statistic/tmpl/edit.php
@@ -10,8 +10,8 @@
|_|
/-------------------------------------------------------------------------------------------------------------------------------/
- @version 1.3.8
- @build 2nd November, 2016
+ @version 1.4.0
+ @build 27th November, 2016
@created 22nd October, 2015
@package Sermon Distributor
@subpackage edit.php
diff --git a/admin/views/statistic/view.html.php b/admin/views/statistic/view.html.php
index c6e56dba..fb778a25 100644
--- a/admin/views/statistic/view.html.php
+++ b/admin/views/statistic/view.html.php
@@ -10,8 +10,8 @@
|_|
/-------------------------------------------------------------------------------------------------------------------------------/
- @version 1.3.8
- @build 2nd November, 2016
+ @version 1.4.0
+ @build 27th November, 2016
@created 22nd October, 2015
@package Sermon Distributor
@subpackage view.html.php
diff --git a/admin/views/statistics/tmpl/default.php b/admin/views/statistics/tmpl/default.php
index 4a6c14a4..b757b933 100644
--- a/admin/views/statistics/tmpl/default.php
+++ b/admin/views/statistics/tmpl/default.php
@@ -10,8 +10,8 @@
|_|
/-------------------------------------------------------------------------------------------------------------------------------/
- @version 1.3.8
- @build 2nd November, 2016
+ @version 1.4.0
+ @build 27th November, 2016
@created 22nd October, 2015
@package Sermon Distributor
@subpackage default.php
diff --git a/admin/views/statistics/tmpl/default_batch_body.php b/admin/views/statistics/tmpl/default_batch_body.php
index c6508c12..b9aa8a06 100644
--- a/admin/views/statistics/tmpl/default_batch_body.php
+++ b/admin/views/statistics/tmpl/default_batch_body.php
@@ -10,8 +10,8 @@
|_|
/-------------------------------------------------------------------------------------------------------------------------------/
- @version 1.3.8
- @build 2nd November, 2016
+ @version 1.4.0
+ @build 27th November, 2016
@created 22nd October, 2015
@package Sermon Distributor
@subpackage default_batch_body.php
diff --git a/admin/views/statistics/tmpl/default_batch_footer.php b/admin/views/statistics/tmpl/default_batch_footer.php
index 152b3fc7..d28bb78a 100644
--- a/admin/views/statistics/tmpl/default_batch_footer.php
+++ b/admin/views/statistics/tmpl/default_batch_footer.php
@@ -10,8 +10,8 @@
|_|
/-------------------------------------------------------------------------------------------------------------------------------/
- @version 1.3.8
- @build 2nd November, 2016
+ @version 1.4.0
+ @build 27th November, 2016
@created 22nd October, 2015
@package Sermon Distributor
@subpackage default_batch_footer.php
diff --git a/admin/views/statistics/tmpl/default_body.php b/admin/views/statistics/tmpl/default_body.php
index 0a8bec59..5766a1dc 100644
--- a/admin/views/statistics/tmpl/default_body.php
+++ b/admin/views/statistics/tmpl/default_body.php
@@ -10,8 +10,8 @@
|_|
/-------------------------------------------------------------------------------------------------------------------------------/
- @version 1.3.8
- @build 2nd November, 2016
+ @version 1.4.0
+ @build 27th November, 2016
@created 22nd October, 2015
@package Sermon Distributor
@subpackage default_body.php
diff --git a/admin/views/statistics/tmpl/default_foot.php b/admin/views/statistics/tmpl/default_foot.php
index 95ad21ae..209c8c55 100644
--- a/admin/views/statistics/tmpl/default_foot.php
+++ b/admin/views/statistics/tmpl/default_foot.php
@@ -10,8 +10,8 @@
|_|
/-------------------------------------------------------------------------------------------------------------------------------/
- @version 1.3.8
- @build 2nd November, 2016
+ @version 1.4.0
+ @build 27th November, 2016
@created 22nd October, 2015
@package Sermon Distributor
@subpackage default_foot.php
diff --git a/admin/views/statistics/tmpl/default_head.php b/admin/views/statistics/tmpl/default_head.php
index 211b02a7..9417e44e 100644
--- a/admin/views/statistics/tmpl/default_head.php
+++ b/admin/views/statistics/tmpl/default_head.php
@@ -10,8 +10,8 @@
|_|
/-------------------------------------------------------------------------------------------------------------------------------/
- @version 1.3.8
- @build 2nd November, 2016
+ @version 1.4.0
+ @build 27th November, 2016
@created 22nd October, 2015
@package Sermon Distributor
@subpackage default_head.php
diff --git a/admin/views/statistics/tmpl/default_toolbar.php b/admin/views/statistics/tmpl/default_toolbar.php
index 19f2bb07..4efb8102 100644
--- a/admin/views/statistics/tmpl/default_toolbar.php
+++ b/admin/views/statistics/tmpl/default_toolbar.php
@@ -10,8 +10,8 @@
|_|
/-------------------------------------------------------------------------------------------------------------------------------/
- @version 1.3.8
- @build 2nd November, 2016
+ @version 1.4.0
+ @build 27th November, 2016
@created 22nd October, 2015
@package Sermon Distributor
@subpackage default_toolbar.php
diff --git a/admin/views/statistics/view.html.php b/admin/views/statistics/view.html.php
index 56554fe2..b6c399ba 100644
--- a/admin/views/statistics/view.html.php
+++ b/admin/views/statistics/view.html.php
@@ -10,8 +10,8 @@
|_|
/-------------------------------------------------------------------------------------------------------------------------------/
- @version 1.3.8
- @build 2nd November, 2016
+ @version 1.4.0
+ @build 27th November, 2016
@created 22nd October, 2015
@package Sermon Distributor
@subpackage view.html.php
diff --git a/script.php b/script.php
index 0969e852..bdac452e 100644
--- a/script.php
+++ b/script.php
@@ -10,8 +10,8 @@
|_|
/-------------------------------------------------------------------------------------------------------------------------------/
- @version 1.3.8
- @build 2nd November, 2016
+ @version 1.4.0
+ @build 27th November, 2016
@created 22nd October, 2015
@package Sermon Distributor
@subpackage script.php
@@ -488,6 +488,178 @@ function uninstall($parent)
}
}
+ // Create a new query object.
+ $query = $db->getQuery(true);
+ // Select id from content type table
+ $query->select($db->quoteName('type_id'));
+ $query->from($db->quoteName('#__content_types'));
+ // Where External_source alias is found
+ $query->where( $db->quoteName('type_alias') . ' = '. $db->quote('com_sermondistributor.external_source') );
+ $db->setQuery($query);
+ // Execute query to see if alias is found
+ $db->execute();
+ $external_source_found = $db->getNumRows();
+ // Now check if there were any rows
+ if ($external_source_found)
+ {
+ // Since there are load the needed external_source type ids
+ $external_source_ids = $db->loadColumn();
+ // Remove External_source from the content type table
+ $external_source_condition = array( $db->quoteName('type_alias') . ' = '. $db->quote('com_sermondistributor.external_source') );
+ // Create a new query object.
+ $query = $db->getQuery(true);
+ $query->delete($db->quoteName('#__content_types'));
+ $query->where($external_source_condition);
+ $db->setQuery($query);
+ // Execute the query to remove External_source items
+ $external_source_done = $db->execute();
+ if ($external_source_done);
+ {
+ // If succesfully remove External_source add queued success message.
+ $app->enqueueMessage(JText::_('The (com_sermondistributor.external_source) type alias was removed from the
#__content_type table'));
+ }
+
+ // Remove External_source items from the contentitem tag map table
+ $external_source_condition = array( $db->quoteName('type_alias') . ' = '. $db->quote('com_sermondistributor.external_source') );
+ // Create a new query object.
+ $query = $db->getQuery(true);
+ $query->delete($db->quoteName('#__contentitem_tag_map'));
+ $query->where($external_source_condition);
+ $db->setQuery($query);
+ // Execute the query to remove External_source items
+ $external_source_done = $db->execute();
+ if ($external_source_done);
+ {
+ // If succesfully remove External_source add queued success message.
+ $app->enqueueMessage(JText::_('The (com_sermondistributor.external_source) type alias was removed from the
#__contentitem_tag_map table'));
+ }
+
+ // Remove External_source items from the ucm content table
+ $external_source_condition = array( $db->quoteName('core_type_alias') . ' = ' . $db->quote('com_sermondistributor.external_source') );
+ // Create a new query object.
+ $query = $db->getQuery(true);
+ $query->delete($db->quoteName('#__ucm_content'));
+ $query->where($external_source_condition);
+ $db->setQuery($query);
+ // Execute the query to remove External_source items
+ $external_source_done = $db->execute();
+ if ($external_source_done);
+ {
+ // If succesfully remove External_source add queued success message.
+ $app->enqueueMessage(JText::_('The (com_sermondistributor.external_source) type alias was removed from the
#__ucm_content table'));
+ }
+
+ // Make sure that all the External_source items are cleared from DB
+ foreach ($external_source_ids as $external_source_id)
+ {
+ // Remove External_source items from the ucm base table
+ $external_source_condition = array( $db->quoteName('ucm_type_id') . ' = ' . $external_source_id);
+ // Create a new query object.
+ $query = $db->getQuery(true);
+ $query->delete($db->quoteName('#__ucm_base'));
+ $query->where($external_source_condition);
+ $db->setQuery($query);
+ // Execute the query to remove External_source items
+ $db->execute();
+
+ // Remove External_source items from the ucm history table
+ $external_source_condition = array( $db->quoteName('ucm_type_id') . ' = ' . $external_source_id);
+ // Create a new query object.
+ $query = $db->getQuery(true);
+ $query->delete($db->quoteName('#__ucm_history'));
+ $query->where($external_source_condition);
+ $db->setQuery($query);
+ // Execute the query to remove External_source items
+ $db->execute();
+ }
+ }
+
+ // Create a new query object.
+ $query = $db->getQuery(true);
+ // Select id from content type table
+ $query->select($db->quoteName('type_id'));
+ $query->from($db->quoteName('#__content_types'));
+ // Where Local_listing alias is found
+ $query->where( $db->quoteName('type_alias') . ' = '. $db->quote('com_sermondistributor.local_listing') );
+ $db->setQuery($query);
+ // Execute query to see if alias is found
+ $db->execute();
+ $local_listing_found = $db->getNumRows();
+ // Now check if there were any rows
+ if ($local_listing_found)
+ {
+ // Since there are load the needed local_listing type ids
+ $local_listing_ids = $db->loadColumn();
+ // Remove Local_listing from the content type table
+ $local_listing_condition = array( $db->quoteName('type_alias') . ' = '. $db->quote('com_sermondistributor.local_listing') );
+ // Create a new query object.
+ $query = $db->getQuery(true);
+ $query->delete($db->quoteName('#__content_types'));
+ $query->where($local_listing_condition);
+ $db->setQuery($query);
+ // Execute the query to remove Local_listing items
+ $local_listing_done = $db->execute();
+ if ($local_listing_done);
+ {
+ // If succesfully remove Local_listing add queued success message.
+ $app->enqueueMessage(JText::_('The (com_sermondistributor.local_listing) type alias was removed from the
#__content_type table'));
+ }
+
+ // Remove Local_listing items from the contentitem tag map table
+ $local_listing_condition = array( $db->quoteName('type_alias') . ' = '. $db->quote('com_sermondistributor.local_listing') );
+ // Create a new query object.
+ $query = $db->getQuery(true);
+ $query->delete($db->quoteName('#__contentitem_tag_map'));
+ $query->where($local_listing_condition);
+ $db->setQuery($query);
+ // Execute the query to remove Local_listing items
+ $local_listing_done = $db->execute();
+ if ($local_listing_done);
+ {
+ // If succesfully remove Local_listing add queued success message.
+ $app->enqueueMessage(JText::_('The (com_sermondistributor.local_listing) type alias was removed from the
#__contentitem_tag_map table'));
+ }
+
+ // Remove Local_listing items from the ucm content table
+ $local_listing_condition = array( $db->quoteName('core_type_alias') . ' = ' . $db->quote('com_sermondistributor.local_listing') );
+ // Create a new query object.
+ $query = $db->getQuery(true);
+ $query->delete($db->quoteName('#__ucm_content'));
+ $query->where($local_listing_condition);
+ $db->setQuery($query);
+ // Execute the query to remove Local_listing items
+ $local_listing_done = $db->execute();
+ if ($local_listing_done);
+ {
+ // If succesfully remove Local_listing add queued success message.
+ $app->enqueueMessage(JText::_('The (com_sermondistributor.local_listing) type alias was removed from the
#__ucm_content table'));
+ }
+
+ // Make sure that all the Local_listing items are cleared from DB
+ foreach ($local_listing_ids as $local_listing_id)
+ {
+ // Remove Local_listing items from the ucm base table
+ $local_listing_condition = array( $db->quoteName('ucm_type_id') . ' = ' . $local_listing_id);
+ // Create a new query object.
+ $query = $db->getQuery(true);
+ $query->delete($db->quoteName('#__ucm_base'));
+ $query->where($local_listing_condition);
+ $db->setQuery($query);
+ // Execute the query to remove Local_listing items
+ $db->execute();
+
+ // Remove Local_listing items from the ucm history table
+ $local_listing_condition = array( $db->quoteName('ucm_type_id') . ' = ' . $local_listing_id);
+ // Create a new query object.
+ $query = $db->getQuery(true);
+ $query->delete($db->quoteName('#__ucm_history'));
+ $query->where($local_listing_condition);
+ $db->setQuery($query);
+ // Execute the query to remove Local_listing items
+ $db->execute();
+ }
+ }
+
// Create a new query object.
$query = $db->getQuery(true);
// Select id from content type table
@@ -634,7 +806,100 @@ function preflight($type, $parent)
}
// do any updates needed
if ($type == 'update')
+ {
+ // load the helper class
+ JLoader::register('SermondistributorHelper', JPATH_ADMINISTRATOR . '/components/com_sermondistributor/helpers/sermondistributor.php');
+ // check the version of Sermon Distributor
+ $manifest = SermondistributorHelper::manifest();
+ if (isset($manifest->version) && strpos($manifest->version, '.') !== false)
{
+ $version = explode('.', $manifest->version);
+ if ($version[0] == 1 && $version[1] < 4)
+ {
+ // Get a db connection.
+ $db = JFactory::getDbo();
+ // Create a new query object.
+ $query = $db->getQuery(true);
+ // update all manual and auto links in sermons
+ $query->select($db->quoteName(array('id', 'manual_files')));
+ $query->from($db->quoteName('#__sermondistributor_sermon'));
+ $query->where($db->quoteName('source') . ' = 2');
+ // Reset the query using our newly populated query object.
+ $db->setQuery($query);
+ $db->execute();
+ if ($db->getNumRows())
+ {
+ $rows = $db->loadAssocList('id', 'manual_files');
+ foreach ($rows as $id => $files)
+ {
+ if (SermondistributorHelper::checkJson($files))
+ {
+ $files = json_decode($files, true);
+ if (SermondistributorHelper::checkArray($files))
+ {
+ foreach ($files as $nr => &$file)
+ {
+ $tmp = str_replace('VDM_pLeK_h0uEr/', '', $file);
+ $new = strtolower($tmp);
+ // now update the file
+ $file = str_replace($tmp, $new, $file);
+ }
+ }
+ }
+ // only update if it was fixed
+ if (SermondistributorHelper::checkArray($files))
+ {
+ $object = new stdClass();
+ // make sure the files are set to json
+ $object->manual_files = json_encode($files);
+ $object->id = $id;
+ JFactory::getDbo()->updateObject('#__sermondistributor_sermon', $object, 'id');
+ }
+ }
+ }
+ // do an update by moving config data to the new external source area.
+ $this->comParams = JComponentHelper::getParams('com_sermondistributor');
+ // the number of links
+ $numbers = range(1, 4);
+ // the types of links
+ $types = array('auto','manual');
+ // the update targets
+ $this->updateTargetsU = array();
+ $this->updateTargetsF = array();
+ // get all listed targets bast on type
+ foreach ($types as $type)
+ {
+ // now check if they are set
+ foreach ($numbers as $number)
+ {
+ // set the number to string
+ $numStr = SermondistributorHelper::safeString($number);
+ // Get the url
+ $url = $this->comParams->get($type.'dropbox'.$numStr, null);
+ // only load those that are set
+ if ($url && SermondistributorHelper::checkString($url))
+ {
+ if (!isset($this->updateTargetsU[$type]))
+ {
+ $this->updateTargetsU[$type] = array();
+ }
+ $this->updateTargetsU[$type][] = $url;
+ }
+ // Get the folders if set
+ $folder = $this->comParams->get($type.'dropboxfolder'.$numStr, null);
+ // only load those that are set
+ if ($folder && SermondistributorHelper::checkString($folder))
+ {
+ if (!isset($this->updateTargetsF[$type]))
+ {
+ $this->updateTargetsF[$type] = array();
+ }
+ $this->updateTargetsF[$type][] = $folder;
+ }
+ }
+ }
+ }
+ }
}
// do any install needed
if ($type == 'install')
@@ -716,6 +981,30 @@ function postflight($type, $parent)
// Set the object into the content types table.
$statistic_Inserted = $db->insertObject('#__content_types', $statistic);
+ // Create the external_source content type object.
+ $external_source = new stdClass();
+ $external_source->type_title = 'Sermondistributor External_source';
+ $external_source->type_alias = 'com_sermondistributor.external_source';
+ $external_source->table = '{"special": {"dbtable": "#__sermondistributor_external_source","key": "id","type": "External_source","prefix": "sermondistributorTable","config": "array()"},"common": {"dbtable": "#__ucm_content","key": "ucm_id","type": "Corecontent","prefix": "JTable","config": "array()"}}';
+ $external_source->field_mappings = '{"common": {"core_content_item_id": "id","core_title": "description","core_state": "published","core_alias": "null","core_created_time": "created","core_modified_time": "modified","core_body": "null","core_hits": "hits","core_publish_up": "null","core_publish_down": "null","core_access": "null","core_params": "params","core_featured": "null","core_metadata": "null","core_language": "null","core_images": "null","core_urls": "null","core_version": "version","core_ordering": "ordering","core_metakey": "null","core_metadesc": "null","core_catid": "null","core_xreference": "null","asset_id": "asset_id"},"special": {"description":"description","externalsources":"externalsources","update_method":"update_method","filetypes":"filetypes","build":"build","permissiontype":"permissiontype","update_timer":"update_timer","dropboxoptions":"dropboxoptions","oauthtoken":"oauthtoken","not_required":"not_required"}}';
+ $external_source->router = 'SermondistributorHelperRoute::getExternal_sourceRoute';
+ $external_source->content_history_options = '{"formFile": "administrator/components/com_sermondistributor/models/forms/external_source.xml","hideFields": ["asset_id","checked_out","checked_out_time","version","not_required"],"ignoreChanges": ["modified_by","modified","checked_out","checked_out_time","version","hits"],"convertToInt": ["published","ordering","externalsources","update_method","build","update_timer","dropboxoptions","not_required"],"displayLookup": [{"sourceColumn": "created_by","targetTable": "#__users","targetColumn": "id","displayColumn": "name"},{"sourceColumn": "modified_by","targetTable": "#__users","targetColumn": "id","displayColumn": "name"}]}';
+
+ // Set the object into the content types table.
+ $external_source_Inserted = $db->insertObject('#__content_types', $external_source);
+
+ // Create the local_listing content type object.
+ $local_listing = new stdClass();
+ $local_listing->type_title = 'Sermondistributor Local_listing';
+ $local_listing->type_alias = 'com_sermondistributor.local_listing';
+ $local_listing->table = '{"special": {"dbtable": "#__sermondistributor_local_listing","key": "id","type": "Local_listing","prefix": "sermondistributorTable","config": "array()"},"common": {"dbtable": "#__ucm_content","key": "ucm_id","type": "Corecontent","prefix": "JTable","config": "array()"}}';
+ $local_listing->field_mappings = '{"common": {"core_content_item_id": "id","core_title": "name","core_state": "published","core_alias": "null","core_created_time": "created","core_modified_time": "modified","core_body": "null","core_hits": "hits","core_publish_up": "null","core_publish_down": "null","core_access": "null","core_params": "params","core_featured": "null","core_metadata": "null","core_language": "null","core_images": "null","core_urls": "null","core_version": "version","core_ordering": "ordering","core_metakey": "null","core_metadesc": "null","core_catid": "null","core_xreference": "null","asset_id": "asset_id"},"special": {"name":"name","build":"build","size":"size","external_source":"external_source","key":"key","url":"url"}}';
+ $local_listing->router = 'SermondistributorHelperRoute::getLocal_listingRoute';
+ $local_listing->content_history_options = '{"formFile": "administrator/components/com_sermondistributor/models/forms/local_listing.xml","hideFields": ["asset_id","checked_out","checked_out_time","version"],"ignoreChanges": ["modified_by","modified","checked_out","checked_out_time","version","hits"],"convertToInt": ["published","ordering","build","size","external_source"],"displayLookup": [{"sourceColumn": "created_by","targetTable": "#__users","targetColumn": "id","displayColumn": "name"},{"sourceColumn": "modified_by","targetTable": "#__users","targetColumn": "id","displayColumn": "name"},{"sourceColumn": "external_source","targetTable": "#__sermondistributor_external_source","targetColumn": "id","displayColumn": "description"}]}';
+
+ // Set the object into the content types table.
+ $local_listing_Inserted = $db->insertObject('#__content_types', $local_listing);
+
// Create the help_document content type object.
$help_document = new stdClass();
$help_document->type_title = 'Sermondistributor Help_document';
@@ -734,7 +1023,7 @@ function postflight($type, $parent)
// Field to update.
$fields = array(
- $db->quoteName('params') . ' = ' . $db->quote('{"autorName":"Llewellyn van der Merwe","autorEmail":"llewellyn@vdm.io","player":"1","add_to_dropbox":"0","dropbox_filetypes":"zero","manual_link_update_method":"1","manual_dropbox_timer":"60","auto_link_update_method":"1","auto_dropbox_timer":"60","preacher_state":"1","series_state":"1","sermon_state":"1","auto_link_type":"1","link_encryption":")$KCGiB3BEfDf6kzEWrFnHex5uTJxlQG","preachers_display":"2","preachers_list_style":"2","preachers_table_color":"0","preachers_icon":"1","preachers_desc":"1","preachers_sermon_count":"1","preachers_hits":"1","preachers_website":"1","preachers_email":"1","preacher_request_id":"zero","preacher_display":"3","preacher_box_contrast":"1","preacher_list_style":"3","preacher_icon":"1","preacher_desc":"1","preacher_sermon_count":"1","preacher_hits":"1","preacher_email":"1","preacher_website":"1","preacher_sermons_display":"2","preacher_sermons_list_style":"2","preacher_sermons_table_color":"0","preacher_sermons_icon":"1","preacher_sermons_desc":"1","preacher_sermons_series":"1","preacher_sermons_category":"1","preacher_sermons_download_counter":"1","preacher_sermons_hits":"1","preacher_sermons_downloads":"1","preacher_sermons_open":"1","categories_display":"2","categories_list_style":"2","categories_table_color":"0","categories_icon":"1","categories_desc":"1","categories_sermon_count":"1","categories_hits":"1","category_display":"3","category_box_contrast":"1","category_list_style":"3","category_icon":"1","category_desc":"1","category_sermon_count":"1","category_hits":"1","category_sermons_display":"2","category_sermons_list_style":"1","category_sermons_table_color":"1","category_sermons_icon":"1","category_sermons_desc":"1","category_sermons_preacher":"1","category_sermons_series":"1","category_sermons_download_counter":"1","category_sermons_hits":"1","category_sermons_downloads":"1","category_sermons_open":"1","list_series_display":"2","list_series_list_style":"2","list_series_table_color":"0","list_series_icon":"1","list_series_desc":"1","list_series_sermon_count":"1","list_series_hits":"1","series_request_id":"zero","series_display":"3","series_box_contrast":"1","series_list_style":"3","series_icon":"1","series_desc":"1","series_sermon_count":"1","series_hits":"1","series_sermons_display":"2","series_sermons_list_style":"1","series_sermons_table_color":"1","series_sermons_icon":"1","series_sermons_desc":"1","series_sermons_preacher":"1","series_sermons_category":"1","series_sermons_download_counter":"1","series_sermons_hits":"1","series_sermons_downloads":"1","series_sermons_open":"1","sermon_display":"1","sermon_box_contrast":"one","sermon_list_style":"1","sermon_icon":"1","sermon_desc":"1","sermon_preacher":"1","sermon_series":"1","sermon_series":"1","sermon_category":"1","sermon_download_counter":"1","sermon_hits":"1","sermon_downloads":"1","check_in":"-1 day","save_history":"1","history_limit":"10","uikit_load":"1","uikit_min":"","uikit_style":""}'),
+ $db->quoteName('params') . ' = ' . $db->quote('{"autorName":"Llewellyn van der Merwe","autorEmail":"llewellyn@vdm.io","player":"1","add_to_button":"zero","preachers_display":"2","preachers_list_style":"2","preachers_table_color":"0","preachers_icon":"1","preachers_desc":"1","preachers_sermon_count":"1","preachers_hits":"1","preachers_website":"1","preachers_email":"1","preacher_request_id":"zero","preacher_display":"3","preacher_box_contrast":"1","preacher_list_style":"3","preacher_icon":"1","preacher_desc":"1","preacher_sermon_count":"1","preacher_hits":"1","preacher_email":"1","preacher_website":"1","preacher_sermons_display":"2","preacher_sermons_list_style":"2","preacher_sermons_table_color":"0","preacher_sermons_icon":"1","preacher_sermons_desc":"1","preacher_sermons_series":"1","preacher_sermons_category":"1","preacher_sermons_download_counter":"1","preacher_sermons_hits":"1","preacher_sermons_downloads":"1","preacher_sermons_open":"1","categories_display":"2","categories_list_style":"2","categories_table_color":"0","categories_icon":"1","categories_desc":"1","categories_sermon_count":"1","categories_hits":"1","category_display":"3","category_box_contrast":"1","category_list_style":"3","category_icon":"1","category_desc":"1","category_sermon_count":"1","category_hits":"1","category_sermons_display":"2","category_sermons_list_style":"1","category_sermons_table_color":"1","category_sermons_icon":"1","category_sermons_desc":"1","category_sermons_preacher":"1","category_sermons_series":"1","category_sermons_download_counter":"1","category_sermons_hits":"1","category_sermons_downloads":"1","category_sermons_open":"1","list_series_display":"2","list_series_list_style":"2","list_series_table_color":"0","list_series_icon":"1","list_series_desc":"1","list_series_sermon_count":"1","list_series_hits":"1","series_request_id":"zero","series_display":"3","series_box_contrast":"1","series_list_style":"3","series_icon":"1","series_desc":"1","series_sermon_count":"1","series_hits":"1","series_sermons_display":"2","series_sermons_list_style":"1","series_sermons_table_color":"1","series_sermons_icon":"1","series_sermons_desc":"1","series_sermons_preacher":"1","series_sermons_category":"1","series_sermons_download_counter":"1","series_sermons_hits":"1","series_sermons_downloads":"1","series_sermons_open":"1","sermon_display":"1","sermon_box_contrast":"one","sermon_list_style":"1","sermon_icon":"1","sermon_desc":"1","sermon_preacher":"1","sermon_series":"1","sermon_series":"1","sermon_category":"1","sermon_download_counter":"1","sermon_hits":"1","sermon_downloads":"1","check_in":"-1 day","save_history":"1","history_limit":"10","uikit_load":"1","uikit_min":"","uikit_style":""}'),
);
// Condition.
@@ -901,6 +1190,64 @@ function postflight($type, $parent)
$statistic_Inserted = $db->insertObject('#__content_types', $statistic);
}
+ // Create the external_source content type object.
+ $external_source = new stdClass();
+ $external_source->type_title = 'Sermondistributor External_source';
+ $external_source->type_alias = 'com_sermondistributor.external_source';
+ $external_source->table = '{"special": {"dbtable": "#__sermondistributor_external_source","key": "id","type": "External_source","prefix": "sermondistributorTable","config": "array()"},"common": {"dbtable": "#__ucm_content","key": "ucm_id","type": "Corecontent","prefix": "JTable","config": "array()"}}';
+ $external_source->field_mappings = '{"common": {"core_content_item_id": "id","core_title": "description","core_state": "published","core_alias": "null","core_created_time": "created","core_modified_time": "modified","core_body": "null","core_hits": "hits","core_publish_up": "null","core_publish_down": "null","core_access": "null","core_params": "params","core_featured": "null","core_metadata": "null","core_language": "null","core_images": "null","core_urls": "null","core_version": "version","core_ordering": "ordering","core_metakey": "null","core_metadesc": "null","core_catid": "null","core_xreference": "null","asset_id": "asset_id"},"special": {"description":"description","externalsources":"externalsources","update_method":"update_method","filetypes":"filetypes","build":"build","permissiontype":"permissiontype","update_timer":"update_timer","dropboxoptions":"dropboxoptions","oauthtoken":"oauthtoken","not_required":"not_required"}}';
+ $external_source->router = 'SermondistributorHelperRoute::getExternal_sourceRoute';
+ $external_source->content_history_options = '{"formFile": "administrator/components/com_sermondistributor/models/forms/external_source.xml","hideFields": ["asset_id","checked_out","checked_out_time","version","not_required"],"ignoreChanges": ["modified_by","modified","checked_out","checked_out_time","version","hits"],"convertToInt": ["published","ordering","externalsources","update_method","build","update_timer","dropboxoptions","not_required"],"displayLookup": [{"sourceColumn": "created_by","targetTable": "#__users","targetColumn": "id","displayColumn": "name"},{"sourceColumn": "modified_by","targetTable": "#__users","targetColumn": "id","displayColumn": "name"}]}';
+
+ // Check if external_source type is already in content_type DB.
+ $external_source_id = null;
+ $query = $db->getQuery(true);
+ $query->select($db->quoteName(array('type_id')));
+ $query->from($db->quoteName('#__content_types'));
+ $query->where($db->quoteName('type_alias') . ' LIKE '. $db->quote($external_source->type_alias));
+ $db->setQuery($query);
+ $db->execute();
+
+ // Set the object into the content types table.
+ if ($db->getNumRows())
+ {
+ $external_source->type_id = $db->loadResult();
+ $external_source_Updated = $db->updateObject('#__content_types', $external_source, 'type_id');
+ }
+ else
+ {
+ $external_source_Inserted = $db->insertObject('#__content_types', $external_source);
+ }
+
+ // Create the local_listing content type object.
+ $local_listing = new stdClass();
+ $local_listing->type_title = 'Sermondistributor Local_listing';
+ $local_listing->type_alias = 'com_sermondistributor.local_listing';
+ $local_listing->table = '{"special": {"dbtable": "#__sermondistributor_local_listing","key": "id","type": "Local_listing","prefix": "sermondistributorTable","config": "array()"},"common": {"dbtable": "#__ucm_content","key": "ucm_id","type": "Corecontent","prefix": "JTable","config": "array()"}}';
+ $local_listing->field_mappings = '{"common": {"core_content_item_id": "id","core_title": "name","core_state": "published","core_alias": "null","core_created_time": "created","core_modified_time": "modified","core_body": "null","core_hits": "hits","core_publish_up": "null","core_publish_down": "null","core_access": "null","core_params": "params","core_featured": "null","core_metadata": "null","core_language": "null","core_images": "null","core_urls": "null","core_version": "version","core_ordering": "ordering","core_metakey": "null","core_metadesc": "null","core_catid": "null","core_xreference": "null","asset_id": "asset_id"},"special": {"name":"name","build":"build","size":"size","external_source":"external_source","key":"key","url":"url"}}';
+ $local_listing->router = 'SermondistributorHelperRoute::getLocal_listingRoute';
+ $local_listing->content_history_options = '{"formFile": "administrator/components/com_sermondistributor/models/forms/local_listing.xml","hideFields": ["asset_id","checked_out","checked_out_time","version"],"ignoreChanges": ["modified_by","modified","checked_out","checked_out_time","version","hits"],"convertToInt": ["published","ordering","build","size","external_source"],"displayLookup": [{"sourceColumn": "created_by","targetTable": "#__users","targetColumn": "id","displayColumn": "name"},{"sourceColumn": "modified_by","targetTable": "#__users","targetColumn": "id","displayColumn": "name"},{"sourceColumn": "external_source","targetTable": "#__sermondistributor_external_source","targetColumn": "id","displayColumn": "description"}]}';
+
+ // Check if local_listing type is already in content_type DB.
+ $local_listing_id = null;
+ $query = $db->getQuery(true);
+ $query->select($db->quoteName(array('type_id')));
+ $query->from($db->quoteName('#__content_types'));
+ $query->where($db->quoteName('type_alias') . ' LIKE '. $db->quote($local_listing->type_alias));
+ $db->setQuery($query);
+ $db->execute();
+
+ // Set the object into the content types table.
+ if ($db->getNumRows())
+ {
+ $local_listing->type_id = $db->loadResult();
+ $local_listing_Updated = $db->updateObject('#__content_types', $local_listing, 'type_id');
+ }
+ else
+ {
+ $local_listing_Inserted = $db->insertObject('#__content_types', $local_listing);
+ }
+
// Create the help_document content type object.
$help_document = new stdClass();
$help_document->type_title = 'Sermondistributor Help_document';
@@ -931,10 +1278,97 @@ function postflight($type, $parent)
}
+
+ // check if any links were found
+ if ((isset($this->updateTargetsU) && SermondistributorHelper::checkArray($this->updateTargetsU)) || (isset($this->updateTargetsF) && SermondistributorHelper::checkArray($this->updateTargetsF)))
+ {
+ // Get a db connection.
+ $db = JFactory::getDbo();
+
+ // get the file types
+ $dropbox_filetypes = $this->comParams->get("dropbox_filetypes", null);
+
+ // some defaults
+ $user = JFactory::getUser();
+ $todayDate = JFactory::getDate()->toSql();
+
+ // now store the old data to the new area
+ if (isset($this->updateTargetsU) &&SermondistributorHelper::checkArray($this->updateTargetsU))
+ {
+ foreach ($this->updateTargetsU as $type => $urls)
+ {
+ $description = 'Config '. $type . ' url ';
+ $buildOption = 1;
+ if ('auto' == $type)
+ {
+ $buildOption = 2;
+ }
+ $urls = '"'.implode('", "', $urls).'"';
+ $data = new stdClass();
+ if (SermondistributorHelper::checkArray($dropbox_filetypes))
+ {
+ $data->filetypes = json_encode($dropbox_filetypes);
+ }
+ $data->externalsources = 1;
+ $data->build = $buildOption;
+ $data->description = $description;
+ $data->update_method = 1;
+ $data->update_timer = 0;
+ $data->permissiontype = 'full';
+ $data->created = $todayDate;
+ $data->created_by = $user->id;
+ $data->sharedurl = '{"sharedurl":['.$urls.']}';
+ // add to database
+ if ($db->insertObject('#__sermondistributor_external_source', $data))
+ {
+ $aId = $db->insertid();
+ // make sure the access of asset is set
+ SermondistributorHelper::setAsset($aId,'external_source');
+ }
+ }
+ }
+ if (isset($this->updateTargetsF) && SermondistributorHelper::checkArray($this->updateTargetsF))
+ {
+ foreach ($this->updateTargetsF as $type => $folder)
+ {
+ $description = 'Config '. $type . ' folder ';
+ $buildOption = 1;
+ if ('auto' == $type)
+ {
+ $buildOption = 2;
+ }
+ $folder = '"'.implode('", "', $folder).'"';
+ $data = new stdClass();
+ if (SermondistributorHelper::checkArray($dropbox_filetypes))
+ {
+ $data->filetypes = json_encode($dropbox_filetypes);
+ }
+ $data->externalsources = 1;
+ $data->build = $buildOption;
+ $data->description = $description;
+ $data->update_method = 1;
+ $data->update_timer = 0;
+ $data->permissiontype = 'full';
+ $data->created = $todayDate;
+ $data->created_by = $user->id;
+ $data->folder = '{"folder":['.$folder.']}';
+ // add to database
+ if ($db->insertObject('#__sermondistributor_external_source', $data))
+ {
+ $aId = $db->insertid();
+ // make sure the access of asset is set
+ SermondistributorHelper::setAsset($aId,'external_source');
+ }
+ }
+ }
+ // Get Application object
+ $app = JFactory::getApplication();
+ $app->enqueueMessage('Your Dropbox integration has been moved, and can now be viewed at the new external source view. You will now need an APP token to update your local listing of the Dropbox files. Please review the Wiki tab when creating/editing the external source, or open an issue on github if you experience any more difficulties.', 'Info');
+ }
echo '
-
Upgrade to Version 1.3.8 Was Successful! Let us know if anything is not working as expected.
';
+
Upgrade to Version 1.4.0 Was Successful! Let us know if anything is not working as expected.
';
}
}
}
diff --git a/sermondistributor.xml b/sermondistributor.xml
index 38937cf8..dffe3b6d 100644
--- a/sermondistributor.xml
+++ b/sermondistributor.xml
@@ -1,15 +1,15 @@
COM_SERMONDISTRIBUTOR
- 2nd November, 2016
+ 27th November, 2016
Llewellyn van der Merwe
llewellyn@vdm.io
https://www.vdm.io/
Copyright (C) 2015. All Rights Reserved
GNU/GPL Version 2 or later - http://www.gnu.org/licenses/gpl-2.0.html
- 1.3.8
+ 1.4.0
Sermon Distributor (v.1.3.8)
+ Sermon Distributor (v.1.4.0)
Distributor is a highly advanced sermon distributor that runs on the [Joomla 3.x](http://www.joomla.org) framework. You can link a shared folder from Dropbox to the component and use Dropbox as your file host, not to mention the advanced auto builder that gives you the ability to simply load sermons to your website by only adding them to Dropbox.
Created by Llewellyn van der Merwe
Development started 22nd October, 2015
@@ -100,6 +100,6 @@
- https://www.vdm.io/updates/sermondistributor_update_server.xml
+ https://raw.githubusercontent.com/SermonDistributor/Joomla-3-Component/master/sermondistributor_update_server.xml
\ No newline at end of file
diff --git a/sermondistributor_update_server.xml b/sermondistributor_update_server.xml
new file mode 100644
index 00000000..5f06cfa0
--- /dev/null
+++ b/sermondistributor_update_server.xml
@@ -0,0 +1,155 @@
+
+
+ Sermon Distributor
+ A sermon distributor that links to Dropbox.
+ com_sermondistributor
+ component
+ 1.0.0
+ https://www.vdm.io/
+
+ https://github.com/SermonDistributor/Joomla-3-Component/archive/V1.2.9.zip
+
+
+ stable
+
+ Llewellyn van der Merwe
+ https://www.vdm.io/
+
+
+
+ Sermon Distributor
+ A sermon distributor that links to Dropbox.
+ com_sermondistributor
+ component
+ 1.2.9
+ https://www.vdm.io/
+
+ https://github.com/SermonDistributor/Joomla-3-Component/archive/V1.2.9.zip
+
+
+ stable
+
+ Llewellyn van der Merwe
+ https://www.vdm.io/
+
+
+
+ Sermon Distributor
+ A sermon distributor that links to Dropbox.
+ com_sermondistributor
+ component
+ 1.3.0
+ https://www.vdm.io/
+
+ https://github.com/SermonDistributor/Joomla-3-Component/archive/v1.3.0.zip
+
+
+ stable
+
+ Llewellyn van der Merwe
+ https://www.vdm.io/
+
+
+
+ Sermon Distributor
+ A sermon distributor that links to Dropbox.
+ com_sermondistributor
+ component
+ 1.3.1
+ https://www.vdm.io/
+
+ https://github.com/SermonDistributor/Joomla-3-Component/archive/v1.3.1.zip
+
+
+ stable
+
+ Llewellyn van der Merwe
+ https://www.vdm.io/
+
+
+
+ Sermon Distributor
+ A sermon distributor that links to Dropbox.
+ com_sermondistributor
+ component
+ 1.3.2
+ https://www.vdm.io/
+
+ https://github.com/SermonDistributor/Joomla-3-Component/archive/v1.3.2.zip
+
+
+ stable
+
+ Llewellyn van der Merwe
+ https://www.vdm.io/
+
+
+
+ Sermon Distributor
+ A sermon distributor that links to Dropbox.
+ com_sermondistributor
+ component
+ 1.3.3
+ https://www.vdm.io/
+
+ https://github.com/SermonDistributor/Joomla-3-Component/archive/v1.3.3.zip
+
+
+ stable
+
+ Llewellyn van der Merwe
+ https://www.vdm.io/
+
+
+
+ Sermon Distributor
+ A sermon distributor that links to Dropbox.
+ com_sermondistributor
+ component
+ 1.3.4
+ https://www.vdm.io/
+
+ https://github.com/SermonDistributor/Joomla-3-Component/archive/v1.3.4.zip
+
+
+ stable
+
+ Llewellyn van der Merwe
+ https://www.vdm.io/
+
+
+
+ Sermon Distributor
+ A sermon distributor that links to Dropbox.
+ com_sermondistributor
+ component
+ 1.3.8
+ https://www.vdm.io/
+
+ https://github.com/SermonDistributor/Joomla-3-Component/releases/download/v1.3.8/SD_v1.3.8.zip
+
+
+ stable
+
+ Llewellyn van der Merwe
+ https://www.vdm.io/
+
+
+
+ Sermon Distributor
+ A sermon distributor that links to Dropbox.
+ com_sermondistributor
+ component
+ 1.4.0
+ https://www.vdm.io/
+
+ https://github.com/SermonDistributor/Joomla-3-Component/releases/download/v1.4.0/SD_v1.4.0.zip
+
+
+ stable
+
+ Llewellyn van der Merwe
+ https://www.vdm.io/
+
+
+
\ No newline at end of file
diff --git a/site/assets/css/categories.css b/site/assets/css/categories.css
index 9e1068e7..e8a062a7 100644
--- a/site/assets/css/categories.css
+++ b/site/assets/css/categories.css
@@ -9,8 +9,8 @@
|_|
/-------------------------------------------------------------------------------------------------------------------------------/
- @version 1.3.8
- @build 2nd November, 2016
+ @version 1.4.0
+ @build 27th November, 2016
@created 22nd October, 2015
@package Sermon Distributor
@subpackage categories.css
diff --git a/site/assets/css/category.css b/site/assets/css/category.css
index d25f3d1e..309c1745 100644
--- a/site/assets/css/category.css
+++ b/site/assets/css/category.css
@@ -9,8 +9,8 @@
|_|
/-------------------------------------------------------------------------------------------------------------------------------/
- @version 1.3.8
- @build 2nd November, 2016
+ @version 1.4.0
+ @build 27th November, 2016
@created 22nd October, 2015
@package Sermon Distributor
@subpackage category.css
diff --git a/site/assets/css/preacher.css b/site/assets/css/preacher.css
index ef807976..bcd7da75 100644
--- a/site/assets/css/preacher.css
+++ b/site/assets/css/preacher.css
@@ -9,8 +9,8 @@
|_|
/-------------------------------------------------------------------------------------------------------------------------------/
- @version 1.3.8
- @build 2nd November, 2016
+ @version 1.4.0
+ @build 27th November, 2016
@created 22nd October, 2015
@package Sermon Distributor
@subpackage preacher.css
diff --git a/site/assets/css/preachers.css b/site/assets/css/preachers.css
index 33af9046..87fadc06 100644
--- a/site/assets/css/preachers.css
+++ b/site/assets/css/preachers.css
@@ -9,8 +9,8 @@
|_|
/-------------------------------------------------------------------------------------------------------------------------------/
- @version 1.3.8
- @build 2nd November, 2016
+ @version 1.4.0
+ @build 27th November, 2016
@created 22nd October, 2015
@package Sermon Distributor
@subpackage preachers.css
diff --git a/site/assets/css/series.css b/site/assets/css/series.css
index 23ffbfc3..90e7da93 100644
--- a/site/assets/css/series.css
+++ b/site/assets/css/series.css
@@ -9,8 +9,8 @@
|_|
/-------------------------------------------------------------------------------------------------------------------------------/
- @version 1.3.8
- @build 2nd November, 2016
+ @version 1.4.0
+ @build 27th November, 2016
@created 22nd October, 2015
@package Sermon Distributor
@subpackage series.css
diff --git a/site/assets/css/serieslist.css b/site/assets/css/serieslist.css
index a50c5090..1798628d 100644
--- a/site/assets/css/serieslist.css
+++ b/site/assets/css/serieslist.css
@@ -9,8 +9,8 @@
|_|
/-------------------------------------------------------------------------------------------------------------------------------/
- @version 1.3.8
- @build 2nd November, 2016
+ @version 1.4.0
+ @build 27th November, 2016
@created 22nd October, 2015
@package Sermon Distributor
@subpackage serieslist.css
diff --git a/site/assets/css/sermon.css b/site/assets/css/sermon.css
index 7d5f36f7..10e271a2 100644
--- a/site/assets/css/sermon.css
+++ b/site/assets/css/sermon.css
@@ -9,8 +9,8 @@
|_|
/-------------------------------------------------------------------------------------------------------------------------------/
- @version 1.3.8
- @build 2nd November, 2016
+ @version 1.4.0
+ @build 27th November, 2016
@created 22nd October, 2015
@package Sermon Distributor
@subpackage sermon.css
diff --git a/site/assets/css/site.css b/site/assets/css/site.css
index e766a3bb..05e4242e 100644
--- a/site/assets/css/site.css
+++ b/site/assets/css/site.css
@@ -9,8 +9,8 @@
|_|
/-------------------------------------------------------------------------------------------------------------------------------/
- @version 1.3.8
- @build 2nd November, 2016
+ @version 1.4.0
+ @build 27th November, 2016
@created 22nd October, 2015
@package Sermon Distributor
@subpackage site.css
diff --git a/site/controller.php b/site/controller.php
index fae2d1df..2d779ac1 100644
--- a/site/controller.php
+++ b/site/controller.php
@@ -10,8 +10,8 @@
|_|
/-------------------------------------------------------------------------------------------------------------------------------/
- @version 1.3.8
- @build 2nd November, 2016
+ @version 1.4.0
+ @build 27th November, 2016
@created 22nd October, 2015
@package Sermon Distributor
@subpackage controller.php
diff --git a/site/controllers/ajax.json.php b/site/controllers/ajax.json.php
index 74ff3f52..71b5cab0 100644
--- a/site/controllers/ajax.json.php
+++ b/site/controllers/ajax.json.php
@@ -10,8 +10,8 @@
|_|
/-------------------------------------------------------------------------------------------------------------------------------/
- @version 1.3.8
- @build 2nd November, 2016
+ @version 1.4.0
+ @build 27th November, 2016
@created 22nd October, 2015
@package Sermon Distributor
@subpackage ajax.json.php
@@ -42,7 +42,7 @@ public function __construct($config)
JResponse::setHeader('Content-Disposition','attachment;filename="getajax.json"');
JResponse::setHeader("Access-Control-Allow-Origin", "*");
// load the tasks
- $this->registerTask('checkDropboxListing', 'ajax');
+ $this->registerTask('autoUpdateLocalListingExternal', 'ajax');
$this->registerTask('countDownload', 'ajax');
}
@@ -58,14 +58,16 @@ public function ajax()
$task = $this->getTask();
switch($task)
{
- case 'checkDropboxListing':
+ case 'autoUpdateLocalListingExternal':
try
{
$returnRaw = $jinput->get('raw', false, 'BOOLEAN');
- $fromviewValue = $jinput->get('fromview', NULL, 'INT');
- if($fromviewValue)
+ $idValue = $jinput->get('id', NULL, 'INT');
+ $targetValue = $jinput->get('target', NULL, 'INT');
+ $typeValue = $jinput->get('type', NULL, 'INT');
+ if($idValue && $targetValue && $typeValue)
{
- $result = $this->getModel('ajax')->dropbox($fromviewValue);
+ $result = $this->getModel('ajax')->autoUpdateLocalListingExternal($idValue, $targetValue, $typeValue);
}
else
{
diff --git a/site/controllers/download.php b/site/controllers/download.php
index 29970036..e633c3a9 100644
--- a/site/controllers/download.php
+++ b/site/controllers/download.php
@@ -10,8 +10,8 @@
|_|
/-------------------------------------------------------------------------------------------------------------------------------/
- @version 1.3.8
- @build 2nd November, 2016
+ @version 1.4.0
+ @build 27th November, 2016
@created 22nd October, 2015
@package Sermon Distributor
@subpackage download.php
@@ -54,8 +54,8 @@ public function download()
switch($task)
{
case 'file':
- $keys = $jinput->get('key', NULL, 'BASE64');
- $enUrl = $jinput->get('link', NULL, 'BASE64');
+ $keys = SermondistributorHelper::base64_urldecode($jinput->get('key', NULL, 'STRING'));
+ $enUrl = SermondistributorHelper::base64_urldecode($jinput->get('link', NULL, 'STRING'));
$filename = $jinput->get('filename', NULL, 'CMD');
if((base64_encode(base64_decode($enUrl, true)) === $enUrl) && (base64_encode(base64_decode($keys, true)) === $keys) && $filename)
{
@@ -69,7 +69,7 @@ public function download()
// Get local key
$localkey = SermondistributorHelper::getLocalKey();
$opener = new FOFEncryptAes($localkey, 128);
- $link = rtrim($opener->decryptString(base64_decode($enUrl)));
+ $link = rtrim($opener->decryptString($enUrl), "\0");
$info = $this->getContentInfo($link);
// set headers
$app = JFactory::getApplication();
@@ -117,7 +117,7 @@ public function download()
break;
}
}
- return false;
+ die('Restricted access');
}
protected function getContentInfo($url)
diff --git a/site/controllers/help.php b/site/controllers/help.php
index f06ef4e4..441952bf 100644
--- a/site/controllers/help.php
+++ b/site/controllers/help.php
@@ -10,8 +10,8 @@
|_|
/-------------------------------------------------------------------------------------------------------------------------------/
- @version 1.3.8
- @build 2nd November, 2016
+ @version 1.4.0
+ @build 27th November, 2016
@created 22nd October, 2015
@package Sermon Distributor
@subpackage help.php
diff --git a/site/helpers/dropbox.php b/site/helpers/dropbox.php
index bd56e477..7bee933d 100644
--- a/site/helpers/dropbox.php
+++ b/site/helpers/dropbox.php
@@ -3,9 +3,9 @@
Vast Development Method
/-------------------------------------------------------------------------------------------------------/
- @version 1.0.0 - 01st July, 2015
- @package Dropbox Links builder
- @subpackage dropboxlinks.php
+ @version 2.0.0 - 03rd November, 2016
+ @package Dropbox API 2
+ @subpackage dropbox.php
@author Llewellyn van der Merwe
@copyright Copyright (C) 2015. All Rights Reserved
@license GNU/GPL Version 2 or later - http://www.gnu.org/licenses/gpl-2.0.html
@@ -20,295 +20,406 @@
*/
class Dropbox
{
- // the file name
- public $fileName;
+ /**
+ * final url
+ */
+ protected $url;
+
+ /**
+ * The array for the post url
+ */
+ protected $postUrl = array(
+ "protocol" => "https://",
+ "suddomain" => "api.",
+ "domain" => "dropboxapi.com",
+ "path" => "/2/"
+ );
- // the file array
- public $files = array();
+ /**
+ * the verious pathes we need
+ */
+ protected $domainpath = array(
+ "list_folder" => "files/list_folder",
+ "list_folder_continue" => "files/list_folder/continue",
+ "create_shared_link" => "sharing/create_shared_link",
+ "get_shared_link_metadata" => "sharing/get_shared_link_metadata",
+ "revoke" => "auth/token/revoke"
+ );
- // the extension to get
- protected $getfiles = array();
+ /**
+ * the target pathe to get
+ */
+ protected $targetPath = false;
+ protected $targetPathOriginal = false;
- // the extensions to leave
- protected $notfiles = array();
+ /**
+ * oauth token
+ */
+ protected $oauthToken;
- // the folder array
- protected $folders = array();
+ /**
+ * the verious pathes we need
+ */
+ protected $permissionType;
- // folder identifiers
- protected $getfolders = array('?dl=0');
+ /**
+ * The loop controller in calling Dropbox API
+ */
+ protected $continueCalling = array();
+
+ /**
+ * the success switch
+ */
+ protected $succes;
+
+ /**
+ * the type call
+ */
+ protected $type;
+
+ /**
+ * the query for the call
+ */
+ protected $query;
+
+ /**
+ * the query for the call
+ */
+ protected $model;
- // the list of extension to help identify what is folders (not exhaustive, only some of the commen files)
- protected $notfolders = array(
- '.3gp','.3gpp','.7z','.aac','.act','.aiff','.aiff','.amr','.ape','.ar','.asf','.au','.avi','.awb','.bmp','.bup','.bzip2','.crx','.css','.dct','.deb','.djvu',
- '.doc','.docx','.drc','.dss','.ear','.egg','.exe','.flac','.flv','.gif','.gifv','.gzip','.htaccess','.html','.ico','.ini','.iso','.jar','.jpeg','.jpg','.js',
- '.json','.lzip','.m3u','.m4a','.m4p','.m4v','.mkv','.mmf','.mng','.mov','.mp3','.mp4','.mpc','.mpeg','.mpeg4','.mpegps','.mpg','.mpkg','.msi','.odt','.ogg',
- '.opus','.pdf','.pea','.php','.pkg','.png','.ppt','.pptx','.ps','.psd','.pst','.pxv','.rar','.raw','.rm','.rmvb','.rpm','.rtf','.shar','.sql','.svg','.sxw',
- '.tar','.tgz','.tgz','.tiff','.txt','.veg','.vep','.vob','.wav','.webm','.wma','.wmv','.xar','.xls','.xml','.yuv','.zip' );
+ /**
+ * the mediaData bucket
+ */
+ public $mediaData = array();
- // the directory where the downloaded files should be stored
- protected $dir;
+ /**
+ * the error messages
+ */
+ public $error_summary = array();
+
+ /**
+ * force the update to reset
+ **/
+ public $forceReset = false;
/**
* Constructor
*/
- public function __construct($mainurl, $config = array('save' => false, 'filename' => 'dropbox', 'download' => false, 'dir' => __DIR__))
+ public function __construct(JModelLegacy $model, $buildType)
{
- if ($this->checkArray($config))
+ // set the url at this point for now
+ $this->url = $this->postUrl["protocol"].$this->postUrl["suddomain"].$this->postUrl["domain"].$this->postUrl["path"];
+ // set the local model
+ $this->model = $model;
+ // set the build type
+ $this->build = (int) $buildType;
+ }
+
+ /**
+ * getFiles
+ *
+ * =============
+ * $details
+ * =============
+ * sourceID
+ * dropboxOption
+ * dropboxTarget
+ * addTypes
+ *
+ */
+ public function getFiles($token, $permissiontype, $details = array())
+ {
+ // we need more then the normal time to run this script 5 minutes at least.
+ ini_set('max_execution_time', 500);
+ // set the oauth toke
+ $this->oauthToken = $token;
+
+ // set the permission type
+ $this->permissionType = $permissiontype;
+
+ // set the details
+ if ($this->checkArray($details))
{
- // we need more then the normal time to run this script 5 minutes at least.
- ini_set('max_execution_time', 500); // TODO this is not the best option I am sure, but for now seems like the only option.
- // set main url
- $this->mainurl = $mainurl;
- // if custom get list is set use it
- if (isset($config['get']) && $this->checkArray($config['get']))
+ foreach ($details as $detail => $value)
{
- $this->getfiles = $config['get'];
- }
- elseif (isset($config['get']) && $this->checkString($config['get']))
- {
- $this->getfiles = array($config['get']);
- }
- // if custom excludelist is set use it
- if (isset($config['not']) && $this->checkArray($config['not']))
- {
- $this->notfiles = $config['not'];
- }
- elseif (isset($config['not']) && $this->checkString($config['not']))
- {
- $this->notfiles = array($config['not']);
- }
- // set main folder name
- $this->fileName = (isset($config['filename'])) ? md5($this->mainurl.$config['filename']) : md5($this->mainurl.'nofilenamewasset');
- // set save switch
- $save = (isset($config['save'])) ? $config['save'] : false;
- // set download switch
- $download = (isset($config['download'])) ? $config['download'] : false;
- // make sure the note folder identifiers are complete
- $this->notfolders = array_unique(array_merge($this->getfiles,$this->notfiles,$this->notfolders));
- // set local directory
- $this->dir = (isset($config['dir'])) ? $config['dir'] : __DIR__;
- // check if the parching of the drobox files is up to date
- if (($json = @file_get_contents($this->fileName.".json")) !== FALSE)
- {
- $this->files = json_decode($json, true);
- }
- else
- {
- // set all folders
- $this->parseFolders($this->mainurl, 'VDM_pLeK_h0uEr');
- }
- // check if we should save the file
- if ($save)
- {
- $this->save();
- }
- // check if we should download the file
- if ($download)
- {
- $this->download();
+ $this->$detail = $value;
}
+ }
+
+ // set the curent folder path
+ if (!$this->setFolderPath())
+ {
+ return false;
+ }
+
+ // start the main factory that calles for the folder data
+ $this->query = array("path" => $this->targetPath, "recursive" => true, "include_media_info" => true);
+ $this->type = 'list_folder';
+ if ($this->makeCall())
+ {
+ return true;
+ }
+ }
+
+ public function revokeToken($token = null)
+ {
+ if ($token)
+ {
+ // set the oauth toke
+ $this->oauthToken = $token;
+ }
+ // set the call to revoke the token
+ $this->query = 'null';
+ $this->type = 'revoke';
+ if ($this->makeCall())
+ {
return true;
}
return false;
}
-
- public function download($dir = null)
+
+ protected function setFolderPath()
{
- if ($this->checkArray($this->files))
+ if ('full' == $this->permissionType && isset($this->dropboxOption) && isset($this->dropboxTarget) && $this->checkString($this->dropboxTarget))
{
- // insure the directory is set
- $dir = ($dir) ? $dir : $this->dir;
- foreach($this->files as $path => $url)
+ if (2 == $this->dropboxOption)
{
- // now setup correct path
- $path = str_replace('VDM_pLeK_h0uEr', $dir, $path);
- // boom here we go move....
- $this->getFile($url, $path);
+ // simply set the path
+ $this->targetPath = '/'.trim(strtolower($this->dropboxTarget), '/');
+
+ return true;
+ }
+ elseif (1 == $this->dropboxOption)
+ {
+ // make a call to get the path
+ $this->query = array("url" => $this->dropboxTarget);
+ $this->type = 'get_shared_link_metadata';
+ if ($this->makeCall())
+ {
+ return true;
+ }
}
}
+ elseif ('app' == $this->permissionType)
+ {
+ $this->targetPath = "";
+
+ return true;
+ }
+ return false;
}
-
- public function getFile($url, $path)
+
+ protected function makeCall()
{
- $newfname = $path;
- if (($file = @fopen($url, "rb")) !== FALSE)
+ if ($this->_isCurl())
{
- $filename = substr($path, strrpos($path, '/'));
- $makePath = str_replace($filename,'',$path);
- if (!file_exists($makePath))
- {
- mkdir($makePath, 0755, true);
- }
-
- $newf = fopen($newfname, "wb");
+ return $this->makeCurlCall();
}
else
{
- echo 'error! '.$url.' not found';
+ return $this->makeGetCall();
}
-
- if ($newf)
+ }
+
+ protected function makeGetCall()
+ {
+
+ $options = array(
+ 'http' => array(
+ 'header' => "Content-Type: application/json\r\n".
+ "Authorization: Bearer ".$this->oauthToken,
+ 'method' => "POST"
+ ),
+ );
+
+ if ($this->checkArray($this->query))
{
- while(!feof($file))
- {
- fwrite($newf, fread($file, 1024 * 8 ), 1024 * 8 );
- }
+ $this->query = json_encode($this->query);
}
+ $options['http']['content'] = $this->query;
+
+ $context = stream_context_create($options);
+ $response = file_get_contents($this->url.$this->domainpath[$this->type], false, $context);
+
- if ($file)
+ if ($response === FALSE)
{
- fclose($file);
+ $this->error_summary[] = $this->type.'_error';
+ return false;
}
-
- if ($newf)
+ else
{
- fclose($newf);
+ // store the result
+ return $this->setTheResult(json_decode($response));
}
}
-
- public function save($filename = null)
+
+ protected function makeCurlCall()
{
- if ($this->checkString($filename))
+ $headers = array('Authorization: Bearer '. $this->oauthToken,
+ 'Content-Type: application/json'
+ );
+
+ $ch = curl_init($this->url.$this->domainpath[$this->type]);
+
+ curl_setopt($ch, CURLOPT_HTTPHEADER, $headers);
+ // check if query is set
+ if ($this->checkArray($this->query))
{
- // set main folder name
- $this->fileName = md5($this->mainurl.$filename);
+ $this->query = json_encode($this->query);
}
- if ($this->checkArray($this->files))
+ curl_setopt($ch, CURLOPT_POSTFIELDS, $this->query);
+ curl_setopt($ch, CURLOPT_POST, true);
+ curl_setopt($ch, CURLOPT_RETURNTRANSFER, true);
+ // curl_setopt($ch, CURLOPT_VERBOSE, 1); // debug
+
+ $response = curl_exec($ch);
+
+ curl_close($ch);
+
+ if ($this->checkJson($response))
{
- $data = json_encode($this->files);
- // now save this folders data to a file.
- $this->saveJson($data);
-
- return true;
+ $response = json_decode($response);
}
- return false;
+ // store the result
+ return $this->setTheResult($response);
}
-
- protected function saveJson($data)
+
+ protected function setTheResult($data)
{
- if ($this->checkString($data))
+ // if there was an error stop!!!
+ if (isset($data->error_summary))
+ {
+ $this->error_summary[] = $data->error_summary;
+ $this->forceReset = true;
+ return false;
+ }
+
+ // deal with each type
+ switch ($this->type)
{
- /*
- for now it will save
- the files in the same
- directory as the php
- file where the class
- is called we will have
- to change this to suite
- your custom needs.
- */
- $fp = fopen($this->fileName.'.json', 'w');
- fwrite($fp, $data);
- fclose($fp);
+ case "list_folder":
+ case "list_folder_continue":
+ if (isset($data->entries) && $this->checkArray($data->entries))
+ {
+ if ($this->storeFiles($data->entries))
+ {
+ // run the continue if needed
+ if (isset($data->has_more) && $data->has_more && isset($data->cursor))
+ {
+ // start the main factory that calles for the folder data
+ $this->query = array("cursor" => $data->cursor);
+ $this->type = 'list_folder_continue';
+ if ($this->makeCall())
+ {
+ return true;
+ }
+ }
+ return true;
+ }
+ }
+ $this->error_summary[] = $this->type.'_error';
+ break;
+ case "create_shared_link":
+ if (isset($data->url) && isset($data->path) && $this->storeSharedLink($this->fixPath($data->path), str_replace('?dl=0','?dl=1',$data->url)))
+ {
+ // we stored the link
+ return true;
+ }
+ $this->error_summary[] = $this->type.'_error';
+ break;
+ case "get_shared_link_metadata":
+ if (isset($data->path_lower))
+ {
+ $this->targetPath = $data->path_lower;
+ return true;
+ }
+ $this->error_summary[] = $this->type.'_error';
+ break;
+ case "revoke":
+ if (is_null($data))
+ {
+ return true;
+ }
+ $this->error_summary[] = $this->type.'_error';
+ break;
}
+ $this->forceReset = true;
+ return false;
}
-
- protected function parseFolders($url, $foldername)
+
+ protected function storeSharedLink($path, $url)
{
- if ($this->checkString($url))
+ // we need to store the url to DB
+ if (isset($this->mediaData[$path]))
{
- // get the page html
- if (($html = @file_get_contents($url)) !== FALSE)
+ $localListing = array();
+ $localListing['id'] = 0;
+ $localListing['name'] = $this->mediaData[$path]['name'];
+ $localListing['size'] = $this->mediaData[$path]['size'];
+ $localListing['key'] = $path;
+ $localListing['url'] = $url;
+ $localListing['build'] = $this->build;
+ $localListing['external_source'] = (int) $this->sourceID;
+ // free some memory
+ unset($this->mediaData[$path]);
+ // check if item already set
+ if ($id = $this->model->searchForId($path))
{
- //Create a new DOM document
- $dom = new DOMDocument;
-
- //Parse the HTML. The @ is used to suppress any parsing errors
- //that will be thrown if the $html string isn't valid XHTML.
- @$dom->loadHTML($html);
-
- //Get all links. You could also use any other tag name here,
- //like 'img' or 'table', to extract other tags.
- $links = $dom->getElementsByTagName('a');
+ // update item
+ $localListing['id'] = $id;
+ }
+ return $this->model->save($localListing);
+ }
+ return false;
+ }
- //Iterate over the extracted links and display their URLs
- if ($this->checkObject($links))
+ protected function storeFiles($entries)
+ {
+ foreach ($entries as $item)
+ {
+ if (isset($item->{'.tag'}) && 'file' == $item->{'.tag'} && isset($item->name))
+ {
+ $addLink = false;
+ // remove if not related to type
+ if (isset($this->addTypes) && $this->checkArray($this->addTypes))
{
- // the types
- $types = array('folders','files');
- foreach ($types as $type)
+ foreach ($this->addTypes as $add)
{
- // folder bucket
- $buket = array();
- foreach ($links as $nr => $link)
+ if (strpos($item->name,$add) !== false)
{
- // switch to add link
- $add = false;
- // get actual link
- $href = $link->getAttribute('href');
- // only use link reated to type
- if ($this->checkArray($this->{'get'.$type}) && $this->checkString($href))
- {
- foreach ($this->{'get'.$type} as $get)
- {
- if (!$add)
- {
- if (strpos($get,'?dl') === false)
- {
- $get = $get . '?dl=0';
- }
- if (strpos($href,'https://www.dropbox.com/') !== false && strpos($href,$get) !== false)
- {
- $add = true;
- }
- }
- }
- }
- else
- {
- if (strpos($href,'https://www.dropbox.com/') !== false && strpos($href,'?dl=0') !== false)
- {
- $add = true;
- }
- }
-
- // remove if not related to type
- if ($this->checkArray($this->{'not'.$type}) && $this->checkString($href) && $add)
- {
- foreach ($this->{'not'.$type} as $not)
- {
- if ($add)
- {
- if (strpos($href,$not) !== false)
- {
- $add = false;
- }
- }
- }
- }
-
- // now add if still related to type
- if ($add)
- {
- if (!in_array($href,$buket))
- {
- $name = str_replace('?dl=0','',substr($href, strrpos($href, '/') + 1));
-
- if ($type == 'folders' && strpos($name,'.') === false)
- {
- // parse this folder for more files and sub folders
- $this->parseFolders($href, $foldername.'/'.str_replace('?lst','',$name));
- $buket[] = $href;
- unset($links->$nr);
-
- }
- elseif ($type == 'files' && strpos($name,'.') !== false)
- {
- // Add to file list
- $this->files[$foldername.'/'.$name] = str_replace('?dl=0','?dl=1',$href);
- $buket[] = $href;
- unset($links->$nr);
- }
- }
- }
+ $addLink = true;
}
}
}
- return true;
+ if ($addLink && isset($item->path_lower))
+ {
+ // store media info
+ $this->mediaData[$this->fixPath($item->path_lower)] = array('name' => $item->name, 'size' => $item->size);
+ // get the shared link
+ $this->query = array("path" => $item->path_lower);
+ $this->type = 'create_shared_link';
+ if (!$this->makeCall())
+ {
+ return false;
+ }
+ }
}
}
- return false;
+ return true;
+ }
+
+ protected function fixPath($path)
+ {
+ if ($this->checkString($this->targetPath))
+ {
+ $path = str_replace($this->targetPath, 'VDM_pLeK_h0uEr', $path);
+ }
+ else
+ {
+ $path = 'VDM_pLeK_h0uEr'.$path;
+ }
+ return $path;
}
protected function checkObject($object)
@@ -328,6 +439,16 @@ protected function checkArray($array)
}
return false;
}
+
+ protected function checkJson($string)
+ {
+ if ($this->checkString($string))
+ {
+ json_decode($string);
+ return (json_last_error() === JSON_ERROR_NONE);
+ }
+ return false;
+ }
protected function checkString($string)
{
@@ -337,6 +458,10 @@ protected function checkString($string)
}
return false;
}
+
+ protected function _isCurl()
+ {
+ return function_exists('curl_version');
+ }
}
-?>
\ No newline at end of file
diff --git a/site/helpers/dropboxupdater.php b/site/helpers/dropboxupdater.php
index 83049228..32738558 100644
--- a/site/helpers/dropboxupdater.php
+++ b/site/helpers/dropboxupdater.php
@@ -10,8 +10,8 @@
|_|
/-------------------------------------------------------------------------------------------------------------------------------/
- @version 1.3.8
- @build 2nd November, 2016
+ @version 1.4.0
+ @build 27th November, 2016
@created 22nd October, 2015
@package Sermon Distributor
@subpackage dropboxupdater.php
@@ -31,25 +31,26 @@
*/
class Dropboxupdater
{
+
/**
- * to see where we are in the prosses
+ * update flag (if false update will not happen)
**/
- public $progress = array('report' => 0);
+ protected $okay = true;
/**
* update flag (if false update will not happen)
**/
- protected $okay = true;
+ protected $data = null;
/**
- * the type of linksto update
+ * the file Key
**/
- protected $type;
+ protected $fileKey;
/**
- * allow a forced manual update
+ * allow a forced update
**/
- protected $runManual;
+ protected $forceUpdate;
/**
* Todays date-time
@@ -67,14 +68,9 @@ class Dropboxupdater
protected $updateMethod;
/**
- * update links
- **/
- protected $updateLinks = array();
-
- /**
- * Listing of dropbox links
+ * update targets
**/
- protected $listing = array();
+ protected $updateTarget;
/**
* info related to this update
@@ -87,10 +83,20 @@ class Dropboxupdater
**/
protected $localkey = false;
+ /**
+ * Main dropbox class
+ **/
+ protected $dropbox;
+
/**
* component parameters
**/
protected $app_params;
+
+ /**
+ * the errors
+ **/
+ protected $errors = array();
/**
* everything we want done when initialized
@@ -99,32 +105,68 @@ public function __construct()
{
// get params
$this->app_params = JComponentHelper::getParams('com_sermondistributor');
+ }
- // set local key
- $this->localkey = md5($this->app_params->get('link_encryption', 'localKey34fdWEkl'));
+ /**
+ * get the logged errors array
+ **/
+ public function getErrors()
+ {
+ return $this->errors;
}
/**
- * update mehtod
+ * set the error to the log
**/
- public function update($type = false, $runManual = false)
+ protected function setErrors($error)
+ {
+ if (SermondistributorHelper::checkString($error))
+ {
+ $this->errors[] = $error;
+ }
+ elseif (SermondistributorHelper::checkArray($error))
+ {
+ foreach($error as $log)
+ {
+ if (SermondistributorHelper::checkString($log))
+ {
+ $this->errors[] = $log;
+ }
+ }
+ }
+ }
+
+ /**
+ * update method
+ **/
+ public function update($id, $target, $type = false, $forceUpdate = false, $sleutel = null)
{
if ($type)
{
- // start frech
+ // start fresh
$this->okay = true;
- // set type
+ $this->data = null;
+ // is this a forced run
+ $this->forceUpdate = $forceUpdate;
+ // the file key
+ $this->fileKey = SermondistributorHelper::safeString($id.$target.$type);
+ // set the type of this listing
$this->type = $type;
- $this->runManual = $runManual;
- // set progress file name
- $this->progressFilePath = JPATH_COMPONENT_SITE.'/helpers/'.md5($this->type.'progress'.$this->localkey).'.json';
+ // get the external source data being updated
+ $this->setExternalSourceData($id);
+
+ // load the token if manualy set
+ if ($sleutel)
+ {
+ $this->setExternalSourceData($id, array('oauthtoken' => $sleutel));
+ }
// what update method is set
$this->setUpdateMethod();
// set the update links
- $this->setUpdateLinks();
+ $this->setUpdateTarget($target);
// set needed dates
if ($this->okay)
@@ -135,7 +177,7 @@ public function update($type = false, $runManual = false)
// get info data or set if not found
if ($this->okay)
{
- $this->setInfoData();
+ $this->setUpdateInfoData();
}
// check if update should run now
@@ -143,11 +185,6 @@ public function update($type = false, $runManual = false)
{
$this->checkUpdateStatus();
}
- // set progress
- if ($this->okay)
- {
- $this->saveProgress();
- }
// before update save update info incase class is called again
if($this->okay)
@@ -170,35 +207,60 @@ public function update($type = false, $runManual = false)
if ($this->okay)
{
// set the config
- $this->setDropboxConfig();
- // set progress
- $this->progress['report'] = 30;
- $this->saveProgress();
+ $this->setDetailsConfig();
// load the file
JLoader::import('dropbox', JPATH_COMPONENT_SITE.'/helpers');
- // okay now update
- if ($this->doUpdate())
+ $build = 1;
+ if ('auto' == $this->type)
{
- return $this->okay;
+ $build = 2;
}
+ // load the dropbox class
+ $this->dropbox = new Dropbox(SermondistributorHelper::getModel('local_listing', JPATH_COMPONENT_ADMINISTRATOR), $build);
+ // okay now update
+ $this->okay = $this->doUpdate();
}
+ // always reset if all okay
+ return $this->resetUpdate();
}
+ $this->setErrors('The update type is unknown.');
return false;
}
+
+ /**
+ * set the exsternal source data
+ */
+ protected function setExternalSourceData($id, $data = array())
+ {
+ // get the data if not set
+ if (!$this->data || !SermondistributorHelper::checkObject($this->data))
+ {
+ // load model to get the data
+ $model = SermondistributorHelper::getModel('external_source', JPATH_COMPONENT_ADMINISTRATOR);
+ $this->data = $model->getItem($id);
+ }
+ // if new data is set load it
+ if (SermondistributorHelper::checkArray($data))
+ {
+ foreach ($data as $key => $value)
+ {
+ $this->data->$key = $value;
+ }
+ }
+ }
/**
* set update mehtod
**/
protected function setUpdateMethod()
{
- $method = $this->app_params->get($this->type.'_link_update_method', 0);
- if ($this->runManual)
+ if ($this->forceUpdate)
{
// this is a manual method
$this->updateMethod = 'manual';
}
- elseif (2 == $method)
- {
+ elseif (2 == $this->data->update_method)
+ {
// this it an auto mehtod
$this->updateMethod = 'auto';
}
@@ -209,31 +271,55 @@ protected function setUpdateMethod()
}
/**
- * set update Links
+ * set update target
**/
- protected function setUpdateLinks()
+ protected function setUpdateTarget($nr)
{
- // the number of links
- $numbers = range(1, 4);
- // now check if they are set
- foreach ($numbers as $number)
+ // get target based on type and position
+ if ('full' == $this->data->permissiontype && $nr > 0)
{
- // set the number to string
- $numStr = SermondistributorHelper::safeString($number);
- // Get the url
- $url = $this->app_params->get($this->type.'dropbox'.$numStr, null);
- // only load those that are set
- if ($url)
+ $position = $nr - 1;
+ if (1 == $this->data->dropboxoptions && SermondistributorHelper::checkJson($this->data->sharedurl))
{
- $this->updateLinks[] = $url;
+ $targets = json_decode($this->data->sharedurl)->tsharedurl;
+ }
+ elseif (2 == $this->data->dropboxoptions && SermondistributorHelper::checkJson($this->data->folder))
+ {
+ $targets = json_decode($this->data->folder)->tfolder;
+ }
+ // check if we found any
+ if (!isset($targets[$position]) || !SermondistributorHelper::checkString($targets[$position]))
+ {
+ $this->setErrors('The target Shared-url or Folder is not set.');
+ $this->okay = false;
+ }
+ else
+ {
+ $this->updateTarget = $targets[$position];
}
}
- // check if we found any
- if (!isset($this->updateLinks) || !SermondistributorHelper::checkArray($this->updateLinks))
+ else
{
- $this->okay = false;
+ $this->updateTarget = '';
}
}
+
+ /**
+ * set the configeration for exsternal source class
+ **/
+ protected function setDetailsConfig()
+ {
+ // reset config
+ $this->detailsConfig = array();
+ // the source ID
+ $this->detailsConfig['sourceID'] = $this->data->id;
+ // get the legal files set
+ $this->detailsConfig['addTypes'] = $this->data->filetypes;
+ // set other config settings
+ $this->detailsConfig['dropboxOption'] = $this->data->dropboxoptions;
+ // set dropbox target
+ $this->detailsConfig['dropboxTarget'] = $this->updateTarget;
+ }
/**
* set next update time
@@ -252,7 +338,7 @@ protected function setDates()
else
{
// based on the auto time we will set the next update date/time
- $timer = $this->app_params->get($this->type.'_dropbox_timer', '60');
+ $timer = $this->data->update_timer;
if ($timer != 0)
{
// Get Next Update Time
@@ -261,18 +347,19 @@ protected function setDates()
// if timer is 0 we should not update
else
{
+ $this->setErrors('The timer is not setup correctly.');
$this->okay = false;
}
}
}
/**
- * set update mehtod
+ * set update info data
**/
- protected function setInfoData()
+ protected function setUpdateInfoData()
{
// set the info file name
- $fileName = md5($this->type.'info'.$this->localkey);
+ $fileName = md5($this->fileKey.'info'.$this->localkey);
// set file path
$this->infoFilePath = JPATH_COMPONENT_SITE.'/helpers/'.$fileName.'.json';
@@ -298,11 +385,13 @@ protected function checkUpdateStatus()
if ($this->updateInfo->updateactive)
{
$this->okay = false;
+ $this->setErrors('There is an update already running.');
}
// check if the time has come to do the next update
elseif (('auto' == $this->updateMethod) && ($this->updateInfo->nextupdate > $this->today))
{
$this->okay = false;
+ $this->setErrors('It is not yet time to run this update.');
}
else
{
@@ -310,14 +399,6 @@ protected function checkUpdateStatus()
}
}
- /**
- * save the update info
- **/
- protected function saveProgress()
- {
- return $this->saveJson(json_encode($this->progress),$this->progressFilePath);
- }
-
/**
* save the update info
**/
@@ -333,93 +414,32 @@ protected function doUpdate()
{
// we need more then the normal time to run this script 5 minutes at least.
ini_set('max_execution_time', 500);
- // get data of all the urls
- foreach ($this->updateLinks as $mainUrl)
+ // get data of all the shared links of all target items
+ if (!$this->dropbox->getFiles($this->data->oauthtoken, $this->data->permissiontype, $this->detailsConfig))
{
- // set progress
- if ($this->progress['report'] < 60)
- {
- $this->progress['report'] = $this->progress['report'] + 5;
- $this->saveProgress();
- }
- // get ldropbox links
- $dropbox = new Dropbox($mainUrl, $this->dropboxConfig);
- // set progress
- if ($this->progress['report'] < 70)
- {
- $this->progress['report'] = $this->progress['report'] + 5;
- $this->saveProgress();
- }
- // get the links
- if (SermondistributorHelper::checkArray($dropbox->files))
- {
- $this->listing = array_merge($this->listing, $dropbox->files);
- }
- // set progress
- if ($this->progress['report'] < 80)
- {
- $this->progress['report'] = $this->progress['report'] + 5;
- $this->saveProgress();
- }
- unset($dropbox);
- }
-
- // now store the new listing
- return $this->setNewListing();
- }
-
- protected function setNewListing()
- {
- // set progress
- $this->progress['report'] = 100;
- $this->saveProgress();
- // reset storage
- $storeage = array();
- // set the listing file name
- $fileName = md5($this->type.'listing'.$this->localkey);
- // set file path
- $listingFilePath = JPATH_COMPONENT_SITE.'/helpers/'.$fileName.'.json';
-
- // now store the new listing
- if (SermondistributorHelper::checkArray($this->listing))
- {
- // encrypt the urls
- $locker = new FOFEncryptAes($this->localkey, 128);
- foreach ($this->listing as $folder => $link)
- {
- $storeage[$folder] = base64_encode($locker->encryptString($link));
- }
- }
- else
+ $this->setErrors($this->dropbox->error_summary);
+ return false;
+ }
+ // if this is a manual update, then revoke the token
+ if ($this->forceUpdate)
{
- $this->okay = false;
+ $this->dropbox->revokeToken();
}
- // save the update links.
- $this->saveJson(json_encode($storeage),$listingFilePath);
- // make sure the update reset
- $this->updateInfo->nextupdate = $this->next;
- $this->updateInfo->updateactive = false;
- $this->updateInfo->updatenow = false;
-
- return $this->saveUpdateInfo();
+ return true;
}
-
- /**
- * set the configeration for dropbox class
- **/
- protected function setDropboxConfig()
+
+ public function resetUpdate()
{
- // reset config
- $this->dropboxConfig = array();
- // get the legal files set
- $getfiles = $this->app_params->get('dropbox_filetypes', null);
- if (SermondistributorHelper::checkArray($getfiles))
+ if ($this->okay || (isset($this->dropbox->forceReset) && $this->dropbox->forceReset))
{
- $this->dropboxConfig['get'] = $getfiles;
+ // make sure the update reset
+ $this->updateInfo->nextupdate = $this->next;
+ $this->updateInfo->updateactive = false;
+ $this->updateInfo->updatenow = false;
+ // store final update
+ $this->saveUpdateInfo();
}
- // set other config settings
- $this->dropboxConfig['save'] = false;
- $this->dropboxConfig['download'] = false;
+ return $this->okay;
}
protected function saveJson($data,$filename)
diff --git a/site/helpers/headercheck.php b/site/helpers/headercheck.php
index f06e0f8b..f4905f68 100644
--- a/site/helpers/headercheck.php
+++ b/site/helpers/headercheck.php
@@ -10,8 +10,8 @@
|_|
/-------------------------------------------------------------------------------------------------------------------------------/
- @version 1.3.8
- @build 2nd November, 2016
+ @version 1.4.0
+ @build 27th November, 2016
@created 22nd October, 2015
@package Sermon Distributor
@subpackage headercheck.php
diff --git a/site/helpers/route.php b/site/helpers/route.php
index 704fea28..8cf37c0a 100644
--- a/site/helpers/route.php
+++ b/site/helpers/route.php
@@ -10,8 +10,8 @@
|_|
/-------------------------------------------------------------------------------------------------------------------------------/
- @version 1.3.8
- @build 2nd November, 2016
+ @version 1.4.0
+ @build 27th November, 2016
@created 22nd October, 2015
@package Sermon Distributor
@subpackage route.php
diff --git a/site/helpers/sermondistributor.php b/site/helpers/sermondistributor.php
index ed14e684..25d21ec6 100644
--- a/site/helpers/sermondistributor.php
+++ b/site/helpers/sermondistributor.php
@@ -10,8 +10,8 @@
|_|
/-------------------------------------------------------------------------------------------------------------------------------/
- @version 1.3.8
- @build 2nd November, 2016
+ @version 1.4.0
+ @build 27th November, 2016
@created 22nd October, 2015
@package Sermon Distributor
@subpackage sermondistributor.php
@@ -37,23 +37,26 @@ abstract class SermondistributorHelper
**/
public static function globalEvent($document)
{
- self::loadDropboxAjax($document);
+ self::loadExternalUpdateAjax($document);
}
/**
- * Load the Dropbox Ajax to page
+ * Load the External Update Ajax to page
**/
- public static function loadDropboxAjax($document)
+ public static function loadExternalUpdateAjax($document)
{
- $document->addScriptDeclaration("
+ $updates = self::getExternalListingUpdateKeys(); // id, target, type
+ if (self::checkArray($updates))
+ {
+ $document->addScriptDeclaration("
jQuery(window).load(function() {
- checkDropboxListing(3);
+ checkExternalListing(".implode('); checkExternalListing(', $updates).");
});
- function checkDropboxListing(fromview){
- var getUrl = '".JURI::root()."index.php?option=com_sermondistributor&task=ajax.checkDropboxListing&format=json';
- if(fromview > 0){
- var request = 'token=".JSession::getFormToken()."&fromview='+fromview;
+ function checkExternalListing(id, target, type) {
+ var getUrl = '".JURI::root()."index.php?option=com_sermondistributor&task=ajax.autoUpdateLocalListingExternal&format=json';
+ if(target > 0 && type > 0 && id > 0){
+ var request = 'token=".JSession::getFormToken()."&target='+target+'&id='+id+'&type='+type;
}
return jQuery.ajax({
type: 'GET',
@@ -62,47 +65,72 @@ function checkDropboxListing(fromview){
data: request,
jsonp: 'callback'
});
- }
- ");
- }
+ }");
+ }
+ }
+
+ /**
+ * The external source links auto
+ **/
+ protected static $links_externalsource_auto;
+
+ /**
+ * The external source links manual
+ **/
+ protected static $links_externalsource_manual;
/**
- * The dropbox links auto
+ * The external source selection auto
**/
- protected static $links_dropbox_auto;
+ protected static $select_externalsource_auto;
/**
- * The dropbox links manual
+ * The external source selection manual
**/
- protected static $links_dropbox_manual;
+ protected static $select_externalsource_manual;
/**
- * The dropbox info File Name
+ * The user notice info File Name
**/
- protected static $autoprogress = false;
+ protected static $usernotice = false;
/**
- * The dropbox info File Name
+ * The update error info File Name
**/
- protected static $manualprogress = false;
+ protected static $updateerror = false;
/**
- * The dropbox info File Name
+ * The update errors
**/
- protected static $autolisting = false;
+ protected static $updateErrors = array();
/**
- * The dropbox info File Name
+ * prepare base64 string for url
**/
- protected static $manuallisting = false;
+ public static function base64_urlencode($string, $encode = false)
+ {
+ if ($encode)
+ {
+ $string = base64_encode($string);
+ }
+ return str_replace(array('+', '/'), array('-', '_'), $string);
+ }
/**
- * The user notice info File Name
+ * prepare base64 string form url
**/
- protected static $usernotice = false;
+ public static function base64_urldecode($string, $decode = false)
+ {
+ $string = str_replace(array('-', '_'), array('+', '/'), $string);
+ if ($decode)
+ {
+ $string = base64_decode($string);
+ }
+ return $string;
+ }
/**
- * check Dropbox Local Listing
+ * get Download links of a sermon
**/
public static function getDownloadLinks(&$sermon)
{
@@ -122,12 +150,13 @@ public static function getDownloadLinks(&$sermon)
{
$keyCounter->series = $sermon->series;
}
- $keyCounter = base64_encode($safe->encryptString(json_encode($keyCounter)));
+ $keyCounterRAW = $safe->encryptString(json_encode($keyCounter));
+ $keyCounter = self::base64_urlencode($keyCounterRAW);
$token = JSession::getFormToken();
$downloadURL = JURI::root().'index.php?option=com_sermondistributor&task=download.file&key='.$keyCounter.'&token='.$token;
// check if local .htaccess should be set
$setHtaccess = false;
- $onclick = ' onclick="sermonCounter(\''.$keyCounter.'\',\'FILENAME\');"';
+ $onclick = ' onclick="sermonCounter(\''.$keyCounterRAW.'\',\'FILENAME\');"';
// check what source of our link
switch ($sermon->source)
{
@@ -155,8 +184,8 @@ public static function getDownloadLinks(&$sermon)
{
// get the file name use the same method as the auto
$filename = self::getDownloadFileName($sermon,$key,'local');
- $lockedFolderPath = base64_encode($safe->encryptString($localFolder.$key));
- $sermon->download_links[$filename] = $downloadURL.'&link='.$lockedFolderPath.'&filename='.$filename;
+ $lockedFolderPath = $safe->encryptString($localFolder.$key);
+ $sermon->download_links[$filename] = $downloadURL.'&link='.self::base64_urlencode($lockedFolderPath).'&filename='.$filename;
$sermon->onclick[$filename] = '';
}
elseif (2 == $sermon->link_type && $allowDirect)
@@ -171,7 +200,7 @@ public static function getDownloadLinks(&$sermon)
break;
case 2:
// Dropbox get global dropbox switch
- $dropboxButton = JComponentHelper::getParams('com_sermondistributor')->get('add_to_dropbox', 1);
+ $addToButton = JComponentHelper::getParams('com_sermondistributor')->get('add_to_button', 0);
if (1 == $sermon->build)
{
if (self::checkArray($sermon->manual_files))
@@ -180,24 +209,43 @@ public static function getDownloadLinks(&$sermon)
foreach($sermon->manual_files as $key)
{
// get the link
- $dropURL = self::getDropboxLink('manual',1,$key);
+ $dropURL = self::getExternalSourceLink('manual',1,$key);
if (1 == $sermon->link_type && $dropURL)
{
// get the file name use the same method as the auto
$filename = self::getDownloadFileName($sermon,$key,'dropbox_manual');
- $sermon->download_links[$filename] = $downloadURL.'&link='.$dropURL.'&filename='.$filename;
+ // should we encrypt string this string
+ if ('localKey34fdWEkl' == $localkey || (base64_encode(base64_decode($dropURL, true)) !== $dropURL)) // hmmm no global key has been set
+ {
+ $dropURL = $safe->encryptString($dropURL);
+ }
+ $sermon->download_links[$filename] = $downloadURL.'&link='.self::base64_urlencode($dropURL).'&filename='.$filename;
$sermon->onclick[$filename] = '';
}
elseif (2 == $sermon->link_type && $dropURL)
{
$filename = str_replace('VDM_pLeK_h0uEr/', '', $key);
- $sermon->download_links[$filename] = rtrim($safe->decryptString(base64_decode($dropURL)));
+ if ('localKey34fdWEkl' == $localkey) // hmmm no global key has been set (so don't decrypt)
+ {
+ $sermon->download_links[$filename] = $dropURL;
+ }
+ else
+ {
+ $sermon->download_links[$filename] = rtrim($safe->decryptString($dropURL), "\0");
+ }
$sermon->onclick[$filename] = str_replace('FILENAME', $filename, $onclick);
}
// build dropbox switch if needed
- if (1 == $dropboxButton && $dropURL)
+ if (1 == $addToButton && $dropURL)
{
- $sermon->dropbox_buttons[$filename] = str_replace('?dl=1', '?dl=0', rtrim($safe->decryptString(base64_decode($dropURL))));
+ if ('localKey34fdWEkl' == $localkey) // hmmm no global key has been set (so don't decrypt)
+ {
+ $sermon->dropbox_buttons[$filename] = str_replace('?dl=1', '?dl=0', $dropURL);
+ }
+ else
+ {
+ $sermon->dropbox_buttons[$filename] = str_replace('?dl=1', '?dl=0', rtrim($safe->decryptString($dropURL), "\0"));
+ }
$sermon->onclick_drobox[$filename] = str_replace('FILENAME', $filename, $onclick);
}
}
@@ -211,22 +259,41 @@ public static function getDownloadLinks(&$sermon)
foreach($sermon->auto_sermons as $filename => $key)
{
// get the link
- $dropURL = self::getDropboxLink('auto',1,$key);
+ $dropURL = self::getExternalSourceLink('auto',1,$key);
if (1 == $sermon->link_type && $dropURL)
{
+ // should we encrypt string this string
+ if ('localKey34fdWEkl' == $localkey || (base64_encode(base64_decode($dropURL, true)) !== $dropURL)) // hmmm no global key has been set
+ {
+ $dropURL = $safe->encryptString($dropURL);
+ }
// get the file name (use the same method as the auto
- $sermon->download_links[$filename] = $downloadURL.'&link='.$dropURL.'&filename='.$filename;
+ $sermon->download_links[$filename] = $downloadURL.'&link='.self::base64_urlencode($dropURL).'&filename='.$filename;
$sermon->onclick[$filename] = '';
}
elseif (2 == $sermon->link_type && $dropURL)
{
- $sermon->download_links[$filename] = rtrim($safe->decryptString(base64_decode($dropURL)));
+ if ('localKey34fdWEkl' == $localkey) // hmmm no global key has been set (so don't decrypt)
+ {
+ $sermon->download_links[$filename] = $dropURL;
+ }
+ else
+ {
+ $sermon->download_links[$filename] = rtrim($safe->decryptString($dropURL), "\0");
+ }
$sermon->onclick[$filename] = str_replace('FILENAME', $filename, $onclick);
}
// build dropbox switch if needed
- if (1 == $dropboxButton && $dropURL)
+ if (1 == $addToButton && $dropURL)
{
- $sermon->dropbox_buttons[$filename] = str_replace('?dl=1', '?dl=0', rtrim($safe->decryptString(base64_decode($dropURL))));
+ if ('localKey34fdWEkl' == $localkey) // hmmm no global key has been set (so don't decrypt)
+ {
+ $sermon->dropbox_buttons[$filename] = str_replace('?dl=1', '?dl=0', $dropURL);
+ }
+ else
+ {
+ $sermon->dropbox_buttons[$filename] = str_replace('?dl=1', '?dl=0', rtrim($safe->decryptString($dropURL), "\0"));
+ }
$sermon->onclick_drobox[$filename] = str_replace('FILENAME', $filename, $onclick);
}
}
@@ -238,8 +305,8 @@ public static function getDownloadLinks(&$sermon)
$filename = self::getDownloadFileName($sermon,$sermon->url,'url');
if (1 == $sermon->link_type)
{
- $lockedURL = base64_encode($safe->encryptString($sermon->url));
- $sermon->download_links[$filename] = $downloadURL.'&link='.$lockedURL.'&filename='.$filename;
+ $lockedURL = $safe->encryptString($sermon->url);
+ $sermon->download_links[$filename] = $downloadURL.'&link='.self::base64_urlencode($lockedURL).'&filename='.$filename;
$sermon->onclick[$filename] = '';
}
elseif (2 == $sermon->link_type)
@@ -261,25 +328,104 @@ public static function getDownloadLinks(&$sermon)
}
return true;
}
+
+ public static function getExternalListingUpdateKeys($id = null, $updateMethod = 2, $returnType = 1)
+ {
+ // first check if this file already has statistics
+ $db = JFactory::getDbo();
+ $query = $db->getQuery(true);
+ $query->select($db->quoteName(array('id','sharedurl','folder','permissiontype','dropboxoptions','build')));
+ $query->from($db->quoteName('#__sermondistributor_external_source'));
+ $query->where($db->quoteName('update_method') . ' = '. (int) $updateMethod);
+ if ($id && is_numeric($id))
+ {
+ $query->where($db->quoteName('id') . ' = '. (int) $id);
+ }
+ elseif ($id && self::checkArray($id))
+ {
+ $ids = implode(',', array_map( 'intval', $id));
+ $query->where($db->quoteName('id') . ' IN (' . $ids . ')');
+ }
+ $query->where($db->quoteName('published') . ' = 1');
+ $db->setQuery($query);
+ $db->execute();
+ if ($db->getNumRows())
+ {
+ $results = $db->loadObjectList();
+ $updates = array();
+ foreach ($results as $result)
+ {
+ if ('full' == $result->permissiontype)
+ {
+ // load folder or urls
+ switch ($result->dropboxoptions)
+ {
+ case 1: // sharedurl
+ if (self::checkJson($result->sharedurl))
+ {
+ $targets = json_decode($result->sharedurl)->tsharedurl;
+ }
+ break;
+ case 2: // folders
+ if (self::checkJson($result->folder))
+ {
+ $targets = json_decode($result->folder)->tfolder;
+ }
+ break;
+ }
+ if (self::checkArray($targets))
+ {
+ foreach ($targets as $key => $value)
+ {
+ $nr = $key + 1;
+ // id, target, type
+ if (1 == $returnType)
+ {
+ $updates[] = $result->id . ', '. $nr . ', ' . $result->build;
+ }
+ else // only return the targets
+ {
+ $updates[] = $nr;
+ }
+ }
+ }
+ }
+ else
+ {
+ // id, target, type
+ if (1 == $returnType)
+ {
+ $updates[] = $result->id . ', 1, '. $result->build;
+ }
+ else // only return the targets
+ {
+ $updates[] = 1;
+ }
+ }
+ }
+ return $updates;
+ }
+ return false;
+ }
- public static function getDropboxLink($type, $return = false, $target = false)
+ public static function getExternalSourceLink($type, $return = 7, $get = false, $target = 'links')
{
// make sure all defaults are set
- $found = self::checkDropboxLocalListing($type);
+ $found = self::checkExternalSourceLocalListing($type, $target);
if ($found)
{
switch($return)
{
case 1:
// return a link
- if (isset(self::${'links_dropbox_'.$type}[$target]))
+ if (isset(self::${$target.'_externalsource_'.$type}[$get]))
{
- return self::${'links_dropbox_'.$type}[$target];
+ return self::${$target.'_externalsource_'.$type}[$get];
}
break;
case 2:
// return all links
- return self::${'links_dropbox_'.$type};
+ return self::${$target.'_externalsource_'.$type};
break;
default :
// just confirm that it is set
@@ -295,7 +441,7 @@ public static function countDownload($counter,$filename)
// Get local key
$localkey = self::getLocalKey();
$opener = new FOFEncryptAes($localkey, 128);
- $counter = json_decode(rtrim($opener->decryptString(base64_decode($counter))));
+ $counter = json_decode(rtrim($opener->decryptString($counter), "\0"));
if (self::checkObject($counter))
{
$counter->filename = $filename;
@@ -390,27 +536,37 @@ protected static function getDownloadFileName(&$sermon,$file,$type)
}
/**
- * check Dropbox Local Listing (do we have the files)
+ * check External Source Local Listing (do we have the files)
**/
- public static function checkDropboxLocalListing($type)
+ public static function checkExternalSourceLocalListing($type, $get = 'links')
{
- $filePath = self::getFilePath($type);
// get the local links
- if (self::checkArray(self::${'links_dropbox_'.$type}))
+ if (isset(self::${$get.'_externalsource_'.$type}) && self::checkArray(self::${$get.'_externalsource_'.$type}))
{
// return true we have links loaded
return true;
}
- elseif (($jsonlinks = @file_get_contents($filePath)) !== FALSE)
- {
- if (self::checkString($jsonlinks))
+ else
+ {
+ $target = array('links' => 'url', 'select' => 'name');
+ $build = array( 'auto' => 2, 'manual' => 1);
+ if (isset($build[$type]))
{
- // get saved links
- $storeage = json_decode($jsonlinks,true);
- if (self::checkArray($storeage))
+ // load the links from the database
+ $db = JFactory::getDbo();
+ // Create a new query object.
+ $query = $db->getQuery(true);
+ $query->select($db->quoteName(array('key', $target[$get])));
+ $query->from($db->quoteName('#__sermondistributor_local_listing'));
+ $query->where($db->quoteName('build') . ' = '. (int) $build[$type]);
+ $query->where($db->quoteName('published') . ' = 1'); // TODO we can now limit the links to access groups
+ // Reset the query using our newly populated query object.
+ $db->setQuery($query);
+ $db->execute();
+ if ($db->getNumRows())
{
- // load the saved links
- self::${'links_dropbox_'.$type} = $storeage;
+ self::${$get.'_externalsource_'.$type} = $db->loadAssocList('key', $target[$get]);
+ // return true we have links loaded
return true;
}
}
@@ -436,33 +592,82 @@ public static function getFilePath($type, $name = 'listing', $key = '', $fileTyp
/**
* get the localkey
**/
- protected static $localkey = false;
+ protected static $localkey = array();
- public static function getLocalKey()
+ public static function getLocalKey($type = 'basic_key')
{
- if (!self::$localkey)
+ if (!isset(self::$localkey[$type]))
{
// get the main key
- self::$localkey = md5(JComponentHelper::getParams('com_sermondistributor')->get('link_encryption', 'localKey34fdWEkl'));
+ self::$localkey[$type] = JComponentHelper::getParams('com_sermondistributor')->get($type, 'localKey34fdWEkl');
}
- return self::$localkey;
+ return self::$localkey[$type];
}
- public static function updateDropbox($type = false, $force = false)
+ public static function updateExternalSource($id, $target = 0, $type = false, $force = false, $sleutel = null)
{
- // load the file
- JLoader::import('dropboxupdater', JPATH_COMPONENT_SITE.'/helpers');
- // update types
- $types = array('manual','auto');
- // okay now update this type
- if (self::checkString($type) && in_array($type,$types))
+ $source = self::getVar('external_source', (int) $id, 'id', 'externalsources');
+ if (1 == $source) // Dropbox is the source
{
- $dropbox = new Dropboxupdater();
- return $dropbox->update($type,$force);
+ // load the file
+ JLoader::import('dropboxupdater', JPATH_COMPONENT_SITE.'/helpers');
+ // update types
+ $types = array('manual','auto');
+ // okay now update this type
+ if (self::checkString($type) && in_array($type,$types))
+ {
+ $dropbox = new Dropboxupdater();
+ if ($dropbox->update($id, $target, $type, $force, $sleutel))
+ {
+ return true;
+ }
+ self::setUpdateError($id, $dropbox->getErrors());
+ return false;
+ }
}
+ self::setUpdateError($id, array(JText::_('COM_SERMONDISTRIBUTOR_THE_EXTERNAL_SOURCE_COULD_NOT_BE_FOUND')));
return false;
}
+ public static function getUpdateError($id, $fileKey = null)
+ {
+ // get update error from file
+ if ($fileKey)
+ {
+ $file_path = self::getFilePath('update', 'error', $fileKey, '.txt', JPATH_COMPONENT_ADMINISTRATOR);
+ // check if it is set
+ if (($text = @file_get_contents($file_path)) !== FALSE)
+ {
+ // no error on success
+ if ('success' != $text)
+ {
+ return $text;
+ }
+ }
+ return false;
+ }
+ if (isset(self::$updateErrors[$id]) && self::checkArray(self::$updateErrors[$id]))
+ {
+ return '- '.implode('
- ', self::$updateErrors[$id]).'
';
+ }
+ return JText::_('COM_SERMONDISTRIBUTOR_UNKNOWN_ERROR_HAS_OCCURRED');
+ }
+
+ protected static function setUpdateError($id, $errorArray)
+ {
+ if (self::checkArray($errorArray) && $id > 0)
+ {
+ foreach ($errorArray as $error)
+ {
+ if (!isset(self::$updateErrors[$id]))
+ {
+ self::$updateErrors[$id] = array();
+ }
+ self::$updateErrors[$id][] = $error;
+ }
+ }
+ }
+
public static function jsonToString($value, $sperator = ", ", $table = null)
{
// check if string is JSON
@@ -1468,5 +1673,20 @@ public static function randomkey($size)
$key[] = $bag[$get];
}
return implode($key);
+ }
+
+ public static function getCryptKey($type, $default = null)
+ {
+ if ('basic' == $type)
+ {
+ // Get the global params
+ $params = JComponentHelper::getParams('com_sermondistributor', true);
+ $basic_key = $params->get('basic_key', $default);
+ if ($basic_key)
+ {
+ return $basic_key;
+ }
+ }
+ return false;
}
}
diff --git a/site/language/en-GB/en-GB.com_sermondistributor.ini b/site/language/en-GB/en-GB.com_sermondistributor.ini
index 18600956..d584366b 100644
--- a/site/language/en-GB/en-GB.com_sermondistributor.ini
+++ b/site/language/en-GB/en-GB.com_sermondistributor.ini
@@ -1,36 +1,915 @@
COM_CONTENT_FIELD_MODIFIED_DESC="The last date this item was modified."
COM_SERMONDISTRIBUTOR="Sermon Distributor"
+COM_SERMONDISTRIBUTOR_ADD_THE_STRONGAPP_GENERATED_ACCESS_TOKENSTRONG_HERE="Add the App Generated access token here."
+COM_SERMONDISTRIBUTOR_ADD_TOKEN_HERE="ADD TOKEN HERE!"
+COM_SERMONDISTRIBUTOR_ALL_IS_GOOD_PLEASE_CHECK_AGAIN_LATTER="All is good, please check again latter."
+COM_SERMONDISTRIBUTOR_ALWAYS_BETTER_TO_ADD_THE_FILES_TO_EXTERNAL_SOURCE_AND_LET_THE_SYSTEM_CREATE_THE_SERMON_FOR_YOU_PLEASE_READ_INSTRUCTIONS_BELOW_CAREFULLY="Always better to add the files to External Source and let the system create the sermon for you. Please read instructions below carefully."
COM_SERMONDISTRIBUTOR_AUDIO_FILE="Audio File"
+COM_SERMONDISTRIBUTOR_AUTHOR="Author"
+COM_SERMONDISTRIBUTOR_A_FEW_CLOSED_ISSUES_FROM_GITHUB_IS_LOADING="A few closed issues from Github is loading"
+COM_SERMONDISTRIBUTOR_A_FEW_OPEN_ISSUES_FROM_GITHUB_IS_LOADING="A few open issues from Github is loading"
+COM_SERMONDISTRIBUTOR_BACK="Back"
+COM_SERMONDISTRIBUTOR_BCOULD_NOT_USE_THE_GIVEN_TOKEN_OR_THE_GIVEN_BUILD_OPTION_DOES_NOT_EXISTB="Could not use the given token, or the given build option does not exist."
+COM_SERMONDISTRIBUTOR_BTHERE_WAS_AN_ERRORB="There was an error!"
+COM_SERMONDISTRIBUTOR_BY_USING_AN_ACCESS_TOKEN_YOU_WILL_BE_ABLE_TO_MAKE_API_CALLS_FOR_YOUR_OWN_ACCOUNT_WITHOUT_GOING_THROUGH_THE_AUTHORIZATION_FLOW_DURING_THIS_MANUAL_UPDATE_OF_THE_LOCAL_LISTINGBR_THE_TOKEN_WILL_NOT_BE_STORED_AND_FOR_SAFETY_THE_TOKEN_WILL_BE_REVOKED_ONCE_THE_UPDATE_IS_COMPLETED_SUCCESSFULLYBR_BTHIS_WILL_MEAN_IT_CAN_ONLY_BE_USED_THIS_ONCEB_YOU_WOULD_NEED_A_NEW_TOKEN_EACH_TIME_YOU_RUN_THIS_UPDATE_MANUALLY_BR_SMALLMAKE_SURE_TO_HAVE_SSL_INPLACE_ON_THIS_PAGE_WHEN_DOING_THIS_UPDATE_AS_AN_EXTRA_SECURITY_MEASURESMALL="By using an access token, you will be able to make API calls for your own account without going through the authorization flow during this manual update of the local listing.
The token will not be stored and for safety the token will be revoked once the update is completed successfully.
This will mean it can only be used this once, you would need a new token each time you run this update manually.
Make sure to have SSL in-place on this page when doing this update, as an extra security measure."
COM_SERMONDISTRIBUTOR_CATEGORIES="Categories"
+COM_SERMONDISTRIBUTOR_CATEGORIES_ACCESS_SITE="Categories (Site) Access"
+COM_SERMONDISTRIBUTOR_CATEGORIES_ACCESS_SITE_DESC=" Allows the users in this group to access site categories."
COM_SERMONDISTRIBUTOR_CATEGORIES_DESC="All categories that are published"
COM_SERMONDISTRIBUTOR_CATEGORY="Category"
+COM_SERMONDISTRIBUTOR_CATEGORY_ACCESS_SITE="Category (Site) Access"
+COM_SERMONDISTRIBUTOR_CATEGORY_ACCESS_SITE_DESC=" Allows the users in this group to access site category."
COM_SERMONDISTRIBUTOR_CATEGORY_ASC="Category (Asc)"
COM_SERMONDISTRIBUTOR_CATEGORY_DESC="Category (Desc)"
+COM_SERMONDISTRIBUTOR_CONFIG_ADD_TO_BUTTON_DESCRIPTION="Allow add to external source button to show, this will expose the external source links."
+COM_SERMONDISTRIBUTOR_CONFIG_ADD_TO_BUTTON_LABEL="External Source Button"
+COM_SERMONDISTRIBUTOR_CONFIG_ALMOST_FLAT_LOAD="Almost Flat"
+COM_SERMONDISTRIBUTOR_CONFIG_AUTHOR="Author Info"
+COM_SERMONDISTRIBUTOR_CONFIG_AUTHOR_EMAIL_DESC="The email address of the author of this component."
+COM_SERMONDISTRIBUTOR_CONFIG_AUTHOR_EMAIL_LABEL="Author Email"
+COM_SERMONDISTRIBUTOR_CONFIG_AUTHOR_NAME_DESC="The name of the author of this component."
+COM_SERMONDISTRIBUTOR_CONFIG_AUTHOR_NAME_LABEL="Author Name"
+COM_SERMONDISTRIBUTOR_CONFIG_AUTO_LOAD="Auto"
+COM_SERMONDISTRIBUTOR_CONFIG_BASIC_KEY_DESC="Set the basic local key here."
+COM_SERMONDISTRIBUTOR_CONFIG_BASIC_KEY_LABEL="Basic Key (basic encryption)"
+COM_SERMONDISTRIBUTOR_CONFIG_BASIC_KEY_NOTE_DESC="When using the basic encryption please use a 32 character passphrase.
Never change this passphrase once it is set! DATA WILL GET CORRUPTED IF YOU DO!"
+COM_SERMONDISTRIBUTOR_CONFIG_BASIC_KEY_NOTE_LABEL="Basic Encryption"
+COM_SERMONDISTRIBUTOR_CONFIG_BIG="Big"
+COM_SERMONDISTRIBUTOR_CONFIG_BLUE="Blue"
+COM_SERMONDISTRIBUTOR_CONFIG_BOX="Box"
+COM_SERMONDISTRIBUTOR_CONFIG_CATEGORIES="Categories"
+COM_SERMONDISTRIBUTOR_CONFIG_CATEGORIES_DESC_DESCRIPTION="Set if description should be shown."
+COM_SERMONDISTRIBUTOR_CONFIG_CATEGORIES_DESC_LABEL="Show Description"
+COM_SERMONDISTRIBUTOR_CONFIG_CATEGORIES_DISPLAY_DESCRIPTION="Select the option for display of categories."
+COM_SERMONDISTRIBUTOR_CONFIG_CATEGORIES_DISPLAY_LABEL="Display"
+COM_SERMONDISTRIBUTOR_CONFIG_CATEGORIES_HITS_DESCRIPTION="Set if hits should be shown."
+COM_SERMONDISTRIBUTOR_CONFIG_CATEGORIES_HITS_LABEL="Show Hits"
+COM_SERMONDISTRIBUTOR_CONFIG_CATEGORIES_ICON_DESCRIPTION="Set if icon should be shown in grid display option."
+COM_SERMONDISTRIBUTOR_CONFIG_CATEGORIES_ICON_LABEL="Show Icon (grid)"
+COM_SERMONDISTRIBUTOR_CONFIG_CATEGORIES_LIST_STYLE_DESCRIPTION="Select the style to use for the list display option."
+COM_SERMONDISTRIBUTOR_CONFIG_CATEGORIES_LIST_STYLE_LABEL="List Style"
+COM_SERMONDISTRIBUTOR_CONFIG_CATEGORIES_SERMON_COUNT_DESCRIPTION="Set if sermon count should be shown."
+COM_SERMONDISTRIBUTOR_CONFIG_CATEGORIES_SERMON_COUNT_LABEL="Show Sermon Count"
+COM_SERMONDISTRIBUTOR_CONFIG_CATEGORIES_TABLE_COLOR_DESCRIPTION="Select the color to use for the table display option."
+COM_SERMONDISTRIBUTOR_CONFIG_CATEGORIES_TABLE_COLOR_LABEL="Table Color"
+COM_SERMONDISTRIBUTOR_CONFIG_CATEGORY="Category"
+COM_SERMONDISTRIBUTOR_CONFIG_CATEGORY_BOX_CONTRAST_DESCRIPTION="Set if text should be contrast in box display option."
+COM_SERMONDISTRIBUTOR_CONFIG_CATEGORY_BOX_CONTRAST_LABEL="Show Contrast Text"
+COM_SERMONDISTRIBUTOR_CONFIG_CATEGORY_DEFAULT_ICON_DESCRIPTION="Must be 358px x 358px"
+COM_SERMONDISTRIBUTOR_CONFIG_CATEGORY_DEFAULT_ICON_LABEL="Category Default Icon "
+COM_SERMONDISTRIBUTOR_CONFIG_CATEGORY_DESC_DESCRIPTION="Set if description should be shown."
+COM_SERMONDISTRIBUTOR_CONFIG_CATEGORY_DESC_LABEL="Show Description"
+COM_SERMONDISTRIBUTOR_CONFIG_CATEGORY_DISPLAY_DESCRIPTION="Select the option for display of a category."
+COM_SERMONDISTRIBUTOR_CONFIG_CATEGORY_DISPLAY_LABEL="Display"
+COM_SERMONDISTRIBUTOR_CONFIG_CATEGORY_HITS_DESCRIPTION="Set if hits should be shown."
+COM_SERMONDISTRIBUTOR_CONFIG_CATEGORY_HITS_LABEL="Show Hits"
+COM_SERMONDISTRIBUTOR_CONFIG_CATEGORY_ICON_DESCRIPTION="Set if icon should be shown."
+COM_SERMONDISTRIBUTOR_CONFIG_CATEGORY_ICON_LABEL="Show Icon"
+COM_SERMONDISTRIBUTOR_CONFIG_CATEGORY_LIST_STYLE_DESCRIPTION="Select the style to use for the list display option."
+COM_SERMONDISTRIBUTOR_CONFIG_CATEGORY_LIST_STYLE_LABEL="List Style"
+COM_SERMONDISTRIBUTOR_CONFIG_CATEGORY_MENU_DESCRIPTION="Select the menu item you would like your category view to be linked to."
+COM_SERMONDISTRIBUTOR_CONFIG_CATEGORY_MENU_LABEL="Category Menu Item"
+COM_SERMONDISTRIBUTOR_CONFIG_CATEGORY_REQUEST_ID_DESCRIPTION="select one of the following categories"
+COM_SERMONDISTRIBUTOR_CONFIG_CATEGORY_REQUEST_ID_LABEL="Category"
+COM_SERMONDISTRIBUTOR_CONFIG_CATEGORY_SERMONS_DESC_DESCRIPTION="Set if sermons description should be shown."
+COM_SERMONDISTRIBUTOR_CONFIG_CATEGORY_SERMONS_DESC_LABEL="Show Sermons Description"
+COM_SERMONDISTRIBUTOR_CONFIG_CATEGORY_SERMONS_DISPLAY_DESCRIPTION="Select the option for display of sermons in the category layout."
+COM_SERMONDISTRIBUTOR_CONFIG_CATEGORY_SERMONS_DISPLAY_LABEL="Sermons Display"
+COM_SERMONDISTRIBUTOR_CONFIG_CATEGORY_SERMONS_DOWNLOADS_DESCRIPTION="Set if sermon downloads should be shown."
+COM_SERMONDISTRIBUTOR_CONFIG_CATEGORY_SERMONS_DOWNLOADS_LABEL="Show Sermon Downloads"
+COM_SERMONDISTRIBUTOR_CONFIG_CATEGORY_SERMONS_DOWNLOAD_COUNTER_DESCRIPTION="Set if sermons download counter should be shown."
+COM_SERMONDISTRIBUTOR_CONFIG_CATEGORY_SERMONS_DOWNLOAD_COUNTER_LABEL="Show Sermons Download Counter"
+COM_SERMONDISTRIBUTOR_CONFIG_CATEGORY_SERMONS_HITS_DESCRIPTION="Set if sermon hits should be shown."
+COM_SERMONDISTRIBUTOR_CONFIG_CATEGORY_SERMONS_HITS_LABEL="Show Sermon Hits"
+COM_SERMONDISTRIBUTOR_CONFIG_CATEGORY_SERMONS_ICON_DESCRIPTION="Set if icon should be shown in grid display option for sermons."
+COM_SERMONDISTRIBUTOR_CONFIG_CATEGORY_SERMONS_ICON_LABEL="Show Sermon Icon (grid)"
+COM_SERMONDISTRIBUTOR_CONFIG_CATEGORY_SERMONS_LIST_STYLE_DESCRIPTION="Select the style to use for the sermons list display option."
+COM_SERMONDISTRIBUTOR_CONFIG_CATEGORY_SERMONS_LIST_STYLE_LABEL="Sermons List Style"
+COM_SERMONDISTRIBUTOR_CONFIG_CATEGORY_SERMONS_OPEN_DESCRIPTION="Set if sermon open button should be shown."
+COM_SERMONDISTRIBUTOR_CONFIG_CATEGORY_SERMONS_OPEN_LABEL="Show Sermon Open"
+COM_SERMONDISTRIBUTOR_CONFIG_CATEGORY_SERMONS_PREACHER_DESCRIPTION="Set if the preacher link should be shown."
+COM_SERMONDISTRIBUTOR_CONFIG_CATEGORY_SERMONS_PREACHER_LABEL="Show Sermon Preacher"
+COM_SERMONDISTRIBUTOR_CONFIG_CATEGORY_SERMONS_SERIES_DESCRIPTION="Set if the series link should be shown."
+COM_SERMONDISTRIBUTOR_CONFIG_CATEGORY_SERMONS_SERIES_LABEL="Show Sermon Series"
+COM_SERMONDISTRIBUTOR_CONFIG_CATEGORY_SERMONS_TABLE_COLOR_DESCRIPTION="Select the color to use for the sermons table display option."
+COM_SERMONDISTRIBUTOR_CONFIG_CATEGORY_SERMONS_TABLE_COLOR_LABEL="Sermons Table Color"
+COM_SERMONDISTRIBUTOR_CONFIG_CATEGORY_SERMON_COUNT_DESCRIPTION="Set if sermon count should be shown."
+COM_SERMONDISTRIBUTOR_CONFIG_CATEGORY_SERMON_COUNT_LABEL="Show Sermon Count"
+COM_SERMONDISTRIBUTOR_CONFIG_CHECK_TIMER_DESC="Set the intervals for the auto checkin fuction of tables that checks out the items to an user."
+COM_SERMONDISTRIBUTOR_CONFIG_CHECK_TIMER_LABEL="Check in timer"
+COM_SERMONDISTRIBUTOR_CONFIG_CHECK_TIMER_OPTION_FIVE="Once a week"
+COM_SERMONDISTRIBUTOR_CONFIG_CHECK_TIMER_OPTION_FOUR="Every second day"
+COM_SERMONDISTRIBUTOR_CONFIG_CHECK_TIMER_OPTION_ONE="Every five hours"
+COM_SERMONDISTRIBUTOR_CONFIG_CHECK_TIMER_OPTION_SIX="Never"
+COM_SERMONDISTRIBUTOR_CONFIG_CHECK_TIMER_OPTION_THREE="Once a day"
+COM_SERMONDISTRIBUTOR_CONFIG_CHECK_TIMER_OPTION_TWO="Every twelve hours"
+COM_SERMONDISTRIBUTOR_CONFIG_CONTRIBUTOR_EMAIL_DESC="The email of this contributor."
+COM_SERMONDISTRIBUTOR_CONFIG_CONTRIBUTOR_EMAIL_LABEL="Contributor Email"
+COM_SERMONDISTRIBUTOR_CONFIG_CONTRIBUTOR_FOUR="Contributor Four"
+COM_SERMONDISTRIBUTOR_CONFIG_CONTRIBUTOR_LINK_DESC="The link to this contributor's website."
+COM_SERMONDISTRIBUTOR_CONFIG_CONTRIBUTOR_LINK_LABEL="Contributor Website"
+COM_SERMONDISTRIBUTOR_CONFIG_CONTRIBUTOR_NAME_DESC="The name of this contributor."
+COM_SERMONDISTRIBUTOR_CONFIG_CONTRIBUTOR_NAME_LABEL="Contributor Name"
+COM_SERMONDISTRIBUTOR_CONFIG_CONTRIBUTOR_ONE="Contributor One"
+COM_SERMONDISTRIBUTOR_CONFIG_CONTRIBUTOR_SHOW_ALL="Both Front & Back-end"
+COM_SERMONDISTRIBUTOR_CONFIG_CONTRIBUTOR_SHOW_BACK="Back-end"
+COM_SERMONDISTRIBUTOR_CONFIG_CONTRIBUTOR_SHOW_DESC="Select where you want this contributor's details to show in the component."
+COM_SERMONDISTRIBUTOR_CONFIG_CONTRIBUTOR_SHOW_FRONT="Front-end"
+COM_SERMONDISTRIBUTOR_CONFIG_CONTRIBUTOR_SHOW_LABEL="Show"
+COM_SERMONDISTRIBUTOR_CONFIG_CONTRIBUTOR_SHOW_NONE="Hide"
+COM_SERMONDISTRIBUTOR_CONFIG_CONTRIBUTOR_THREE="Contributor Three"
+COM_SERMONDISTRIBUTOR_CONFIG_CONTRIBUTOR_TITLE_DESC="The job title that best describes the contributor's relationship to this component."
+COM_SERMONDISTRIBUTOR_CONFIG_CONTRIBUTOR_TITLE_LABEL="Contributor Job Title"
+COM_SERMONDISTRIBUTOR_CONFIG_CONTRIBUTOR_TWO="Contributor Two"
+COM_SERMONDISTRIBUTOR_CONFIG_CONTRIBUTOR_USE_DESC="How should we link to this contributor."
+COM_SERMONDISTRIBUTOR_CONFIG_CONTRIBUTOR_USE_EMAIL="Email"
+COM_SERMONDISTRIBUTOR_CONFIG_CONTRIBUTOR_USE_LABEL="Use"
+COM_SERMONDISTRIBUTOR_CONFIG_CONTRIBUTOR_USE_NONE="None"
+COM_SERMONDISTRIBUTOR_CONFIG_CONTRIBUTOR_USE_WWW="Website"
+COM_SERMONDISTRIBUTOR_CONFIG_CUSTOM="Custom"
+COM_SERMONDISTRIBUTOR_CONFIG_DARK_BLUE="Dark Blue"
+COM_SERMONDISTRIBUTOR_CONFIG_DONT_LOAD="Not"
+COM_SERMONDISTRIBUTOR_CONFIG_ENCRYPTION_DESC="The encription key for the field encryption is set here."
+COM_SERMONDISTRIBUTOR_CONFIG_ENCRYPTION_LABEL="Encryption Settings"
+COM_SERMONDISTRIBUTOR_CONFIG_FLAT_LOAD="Flat"
+COM_SERMONDISTRIBUTOR_CONFIG_FORCE_LOAD="Force"
+COM_SERMONDISTRIBUTOR_CONFIG_GLOBAL_DESC="The Global Parameters"
+COM_SERMONDISTRIBUTOR_CONFIG_GLOBAL_LABEL="Global"
+COM_SERMONDISTRIBUTOR_CONFIG_GRADIANT_LOAD="Gradient"
+COM_SERMONDISTRIBUTOR_CONFIG_GREEN="Green"
+COM_SERMONDISTRIBUTOR_CONFIG_GRID="Grid"
+COM_SERMONDISTRIBUTOR_CONFIG_JPLAYER="jPlayer"
+COM_SERMONDISTRIBUTOR_CONFIG_LEGACY="Legacy"
+COM_SERMONDISTRIBUTOR_CONFIG_LINES="Lines"
+COM_SERMONDISTRIBUTOR_CONFIG_LIST="List"
+COM_SERMONDISTRIBUTOR_CONFIG_LIST_SERIES_DESC_DESCRIPTION="Set if description should be shown."
+COM_SERMONDISTRIBUTOR_CONFIG_LIST_SERIES_DESC_LABEL="Show Description"
+COM_SERMONDISTRIBUTOR_CONFIG_LIST_SERIES_DISPLAY_DESCRIPTION="Select the option for display of series."
+COM_SERMONDISTRIBUTOR_CONFIG_LIST_SERIES_DISPLAY_LABEL="Display"
+COM_SERMONDISTRIBUTOR_CONFIG_LIST_SERIES_HITS_DESCRIPTION="Set if hits should be shown."
+COM_SERMONDISTRIBUTOR_CONFIG_LIST_SERIES_HITS_LABEL="Show Hits"
+COM_SERMONDISTRIBUTOR_CONFIG_LIST_SERIES_ICON_DESCRIPTION="Set if icon should be shown in grid display option."
+COM_SERMONDISTRIBUTOR_CONFIG_LIST_SERIES_ICON_LABEL="Show Icon (grid)"
+COM_SERMONDISTRIBUTOR_CONFIG_LIST_SERIES_LIST_STYLE_DESCRIPTION="Select the style to use for the list display option."
+COM_SERMONDISTRIBUTOR_CONFIG_LIST_SERIES_LIST_STYLE_LABEL="List Style"
+COM_SERMONDISTRIBUTOR_CONFIG_LIST_SERIES_SERMON_COUNT_DESCRIPTION="Set if sermon count should be shown."
+COM_SERMONDISTRIBUTOR_CONFIG_LIST_SERIES_SERMON_COUNT_LABEL="Show Sermon Count"
+COM_SERMONDISTRIBUTOR_CONFIG_LIST_SERIES_TABLE_COLOR_DESCRIPTION="Select the color to use for the table display option."
+COM_SERMONDISTRIBUTOR_CONFIG_LIST_SERIES_TABLE_COLOR_LABEL="Table Color"
+COM_SERMONDISTRIBUTOR_CONFIG_LOCALFOLDER_DESCRIPTION="Enter the full path to the local folder where your files are found."
+COM_SERMONDISTRIBUTOR_CONFIG_LOCALFOLDER_HINT="/home/username/localfolder/"
+COM_SERMONDISTRIBUTOR_CONFIG_LOCALFOLDER_LABEL="Local Folder Path (File Source)"
+COM_SERMONDISTRIBUTOR_CONFIG_NO="No"
+COM_SERMONDISTRIBUTOR_CONFIG_NONE="None"
+COM_SERMONDISTRIBUTOR_CONFIG_ONLY_EXTRA="Only Extra"
+COM_SERMONDISTRIBUTOR_CONFIG_PANEL="Panel"
+COM_SERMONDISTRIBUTOR_CONFIG_PLAIN="Plain"
+COM_SERMONDISTRIBUTOR_CONFIG_PLAYER="Player"
+COM_SERMONDISTRIBUTOR_CONFIG_PLAYER_DESCRIPTION="Select the player you would like to use on your site."
+COM_SERMONDISTRIBUTOR_CONFIG_PLAYER_LABEL="Players"
+COM_SERMONDISTRIBUTOR_CONFIG_PREACHER="Preacher"
+COM_SERMONDISTRIBUTOR_CONFIG_PREACHERS="Preachers"
+COM_SERMONDISTRIBUTOR_CONFIG_PREACHERS_DESC_DESCRIPTION="Set if description should be shown."
+COM_SERMONDISTRIBUTOR_CONFIG_PREACHERS_DESC_LABEL="Show Description"
+COM_SERMONDISTRIBUTOR_CONFIG_PREACHERS_DISPLAY_DESCRIPTION="Select the option for display of preachers."
+COM_SERMONDISTRIBUTOR_CONFIG_PREACHERS_DISPLAY_LABEL="Display"
+COM_SERMONDISTRIBUTOR_CONFIG_PREACHERS_EMAIL_DESCRIPTION="Set if the email should be shown."
+COM_SERMONDISTRIBUTOR_CONFIG_PREACHERS_EMAIL_LABEL="Show Email"
+COM_SERMONDISTRIBUTOR_CONFIG_PREACHERS_HITS_DESCRIPTION="Set if hits should be shown."
+COM_SERMONDISTRIBUTOR_CONFIG_PREACHERS_HITS_LABEL="Show Hits"
+COM_SERMONDISTRIBUTOR_CONFIG_PREACHERS_ICON_DESCRIPTION="Set if icon should be shown in grid display option."
+COM_SERMONDISTRIBUTOR_CONFIG_PREACHERS_ICON_LABEL="Show Icon (grid)"
+COM_SERMONDISTRIBUTOR_CONFIG_PREACHERS_LIST_STYLE_DESCRIPTION="Select the style to use for the list display option."
+COM_SERMONDISTRIBUTOR_CONFIG_PREACHERS_LIST_STYLE_LABEL="List Style"
+COM_SERMONDISTRIBUTOR_CONFIG_PREACHERS_SERMON_COUNT_DESCRIPTION="Set if sermon count should be shown."
+COM_SERMONDISTRIBUTOR_CONFIG_PREACHERS_SERMON_COUNT_LABEL="Show Sermon Count"
+COM_SERMONDISTRIBUTOR_CONFIG_PREACHERS_TABLE_COLOR_DESCRIPTION="Select the color to use for the table display option."
+COM_SERMONDISTRIBUTOR_CONFIG_PREACHERS_TABLE_COLOR_LABEL="Table Color"
+COM_SERMONDISTRIBUTOR_CONFIG_PREACHERS_WEBSITE_DESCRIPTION="Set if the website link should be shown."
+COM_SERMONDISTRIBUTOR_CONFIG_PREACHERS_WEBSITE_LABEL="Show Website"
+COM_SERMONDISTRIBUTOR_CONFIG_PREACHER_BOX_CONTRAST_DESCRIPTION="Set if text should be contrast in box display option."
+COM_SERMONDISTRIBUTOR_CONFIG_PREACHER_BOX_CONTRAST_LABEL="Show Contrast Text"
+COM_SERMONDISTRIBUTOR_CONFIG_PREACHER_DEFAULT_ICON_DESCRIPTION="Must be 358px x 358px"
+COM_SERMONDISTRIBUTOR_CONFIG_PREACHER_DEFAULT_ICON_LABEL="Preacher Default Icon "
+COM_SERMONDISTRIBUTOR_CONFIG_PREACHER_DESC_DESCRIPTION="Set if description should be shown."
+COM_SERMONDISTRIBUTOR_CONFIG_PREACHER_DESC_LABEL="Show Description"
+COM_SERMONDISTRIBUTOR_CONFIG_PREACHER_DISPLAY_DESCRIPTION="Select the option for display of a preacher."
+COM_SERMONDISTRIBUTOR_CONFIG_PREACHER_DISPLAY_LABEL="Display"
+COM_SERMONDISTRIBUTOR_CONFIG_PREACHER_EMAIL_DESCRIPTION="Set if the email should be shown."
+COM_SERMONDISTRIBUTOR_CONFIG_PREACHER_EMAIL_LABEL="Show Email"
+COM_SERMONDISTRIBUTOR_CONFIG_PREACHER_HITS_DESCRIPTION="Set if hits should be shown."
+COM_SERMONDISTRIBUTOR_CONFIG_PREACHER_HITS_LABEL="Show Hits"
+COM_SERMONDISTRIBUTOR_CONFIG_PREACHER_ICON_DESCRIPTION="Set if icon should be shown."
+COM_SERMONDISTRIBUTOR_CONFIG_PREACHER_ICON_LABEL="Show Icon"
+COM_SERMONDISTRIBUTOR_CONFIG_PREACHER_LIST_STYLE_DESCRIPTION="Select the style to use for the list display option."
+COM_SERMONDISTRIBUTOR_CONFIG_PREACHER_LIST_STYLE_LABEL="List Style"
+COM_SERMONDISTRIBUTOR_CONFIG_PREACHER_MENU_DESCRIPTION="Select the menu item you would like your preacher view to be linked to."
+COM_SERMONDISTRIBUTOR_CONFIG_PREACHER_MENU_LABEL="Preacher Menu Item"
+COM_SERMONDISTRIBUTOR_CONFIG_PREACHER_REQUEST_ID_DESCRIPTION="Select a preacher."
+COM_SERMONDISTRIBUTOR_CONFIG_PREACHER_REQUEST_ID_LABEL="Preacher"
+COM_SERMONDISTRIBUTOR_CONFIG_PREACHER_SERMONS_CATEGORY_DESCRIPTION="Set if the category link should be shown."
+COM_SERMONDISTRIBUTOR_CONFIG_PREACHER_SERMONS_CATEGORY_LABEL="Show Sermons Category"
+COM_SERMONDISTRIBUTOR_CONFIG_PREACHER_SERMONS_DESC_DESCRIPTION="Set if sermons description should be shown."
+COM_SERMONDISTRIBUTOR_CONFIG_PREACHER_SERMONS_DESC_LABEL="Show Sermons Description"
+COM_SERMONDISTRIBUTOR_CONFIG_PREACHER_SERMONS_DISPLAY_DESCRIPTION="Select the option for display of sermons in the preacher layout."
+COM_SERMONDISTRIBUTOR_CONFIG_PREACHER_SERMONS_DISPLAY_LABEL="Sermons Display"
+COM_SERMONDISTRIBUTOR_CONFIG_PREACHER_SERMONS_DOWNLOADS_DESCRIPTION="Set if sermon downloads should be shown."
+COM_SERMONDISTRIBUTOR_CONFIG_PREACHER_SERMONS_DOWNLOADS_LABEL="Show Sermon Downloads"
+COM_SERMONDISTRIBUTOR_CONFIG_PREACHER_SERMONS_DOWNLOAD_COUNTER_DESCRIPTION="Set if sermons download counter should be shown."
+COM_SERMONDISTRIBUTOR_CONFIG_PREACHER_SERMONS_DOWNLOAD_COUNTER_LABEL="Show Sermons Download Counter"
+COM_SERMONDISTRIBUTOR_CONFIG_PREACHER_SERMONS_HITS_DESCRIPTION="Set if sermon hits should be shown."
+COM_SERMONDISTRIBUTOR_CONFIG_PREACHER_SERMONS_HITS_LABEL="Show Sermon Hits"
+COM_SERMONDISTRIBUTOR_CONFIG_PREACHER_SERMONS_ICON_DESCRIPTION="Set if icon should be shown in grid display option for sermons."
+COM_SERMONDISTRIBUTOR_CONFIG_PREACHER_SERMONS_ICON_LABEL="Show Sermon Icon (grid)"
+COM_SERMONDISTRIBUTOR_CONFIG_PREACHER_SERMONS_LIST_STYLE_DESCRIPTION="Select the style to use for the sermons list display option."
+COM_SERMONDISTRIBUTOR_CONFIG_PREACHER_SERMONS_LIST_STYLE_LABEL="Sermons List Style"
+COM_SERMONDISTRIBUTOR_CONFIG_PREACHER_SERMONS_OPEN_DESCRIPTION="Set if sermon open button should be shown."
+COM_SERMONDISTRIBUTOR_CONFIG_PREACHER_SERMONS_OPEN_LABEL="Show Sermon Open"
+COM_SERMONDISTRIBUTOR_CONFIG_PREACHER_SERMONS_SERIES_DESCRIPTION="Set if the series link should be shown."
+COM_SERMONDISTRIBUTOR_CONFIG_PREACHER_SERMONS_SERIES_LABEL="Show Sermon Series"
+COM_SERMONDISTRIBUTOR_CONFIG_PREACHER_SERMONS_TABLE_COLOR_DESCRIPTION="Select the color to use for the sermons table display option."
+COM_SERMONDISTRIBUTOR_CONFIG_PREACHER_SERMONS_TABLE_COLOR_LABEL="Sermons Table Color"
+COM_SERMONDISTRIBUTOR_CONFIG_PREACHER_SERMON_COUNT_DESCRIPTION="Set if sermon count should be shown."
+COM_SERMONDISTRIBUTOR_CONFIG_PREACHER_SERMON_COUNT_LABEL="Show Sermon Count"
+COM_SERMONDISTRIBUTOR_CONFIG_PREACHER_WEBSITE_DESCRIPTION="Set if the website link should be shown."
+COM_SERMONDISTRIBUTOR_CONFIG_PREACHER_WEBSITE_LABEL="Show Website"
+COM_SERMONDISTRIBUTOR_CONFIG_PURPLE="Purple"
+COM_SERMONDISTRIBUTOR_CONFIG_RED="Red"
+COM_SERMONDISTRIBUTOR_CONFIG_SELECT_AN_OPTION="select an option"
+COM_SERMONDISTRIBUTOR_CONFIG_SERIES="Series"
+COM_SERMONDISTRIBUTOR_CONFIG_SERIES_BOX_CONTRAST_DESCRIPTION="Set if text should be contrast in box display option."
+COM_SERMONDISTRIBUTOR_CONFIG_SERIES_BOX_CONTRAST_LABEL="Show Contrast Text"
+COM_SERMONDISTRIBUTOR_CONFIG_SERIES_DEFAULT_ICON_DESCRIPTION="Must be 358px x 358px"
+COM_SERMONDISTRIBUTOR_CONFIG_SERIES_DEFAULT_ICON_LABEL="Series Default Icon "
+COM_SERMONDISTRIBUTOR_CONFIG_SERIES_DESC_DESCRIPTION="Set if description should be shown."
+COM_SERMONDISTRIBUTOR_CONFIG_SERIES_DESC_LABEL="Show Description"
+COM_SERMONDISTRIBUTOR_CONFIG_SERIES_DISPLAY_DESCRIPTION="Select the option for display of a series."
+COM_SERMONDISTRIBUTOR_CONFIG_SERIES_DISPLAY_LABEL="Display"
+COM_SERMONDISTRIBUTOR_CONFIG_SERIES_HITS_DESCRIPTION="Set if hits should be shown."
+COM_SERMONDISTRIBUTOR_CONFIG_SERIES_HITS_LABEL="Show Hits"
+COM_SERMONDISTRIBUTOR_CONFIG_SERIES_ICON_DESCRIPTION="Set if icon should be shown."
+COM_SERMONDISTRIBUTOR_CONFIG_SERIES_ICON_LABEL="Show Icon"
+COM_SERMONDISTRIBUTOR_CONFIG_SERIES_LIST="Series List"
+COM_SERMONDISTRIBUTOR_CONFIG_SERIES_LIST_STYLE_DESCRIPTION="Select the style to use for the list display option."
+COM_SERMONDISTRIBUTOR_CONFIG_SERIES_LIST_STYLE_LABEL="List Style"
+COM_SERMONDISTRIBUTOR_CONFIG_SERIES_MENU_DESCRIPTION="Select the menu item you would like your series view to be linked to."
+COM_SERMONDISTRIBUTOR_CONFIG_SERIES_MENU_LABEL="Series Menu Item"
+COM_SERMONDISTRIBUTOR_CONFIG_SERIES_REQUEST_ID_DESCRIPTION="Select a series."
+COM_SERMONDISTRIBUTOR_CONFIG_SERIES_REQUEST_ID_LABEL="Series"
+COM_SERMONDISTRIBUTOR_CONFIG_SERIES_SERMONS_CATEGORY_DESCRIPTION="Set if the category link should be shown."
+COM_SERMONDISTRIBUTOR_CONFIG_SERIES_SERMONS_CATEGORY_LABEL="Show Sermons Category"
+COM_SERMONDISTRIBUTOR_CONFIG_SERIES_SERMONS_DESC_DESCRIPTION="Set if sermons description should be shown."
+COM_SERMONDISTRIBUTOR_CONFIG_SERIES_SERMONS_DESC_LABEL="Show Sermons Description"
+COM_SERMONDISTRIBUTOR_CONFIG_SERIES_SERMONS_DISPLAY_DESCRIPTION="Select the option for display of sermons in the series layout."
+COM_SERMONDISTRIBUTOR_CONFIG_SERIES_SERMONS_DISPLAY_LABEL="Sermons Display"
+COM_SERMONDISTRIBUTOR_CONFIG_SERIES_SERMONS_DOWNLOADS_DESCRIPTION="Set if sermon downloads should be shown."
+COM_SERMONDISTRIBUTOR_CONFIG_SERIES_SERMONS_DOWNLOADS_LABEL="Show Sermon Downloads"
+COM_SERMONDISTRIBUTOR_CONFIG_SERIES_SERMONS_DOWNLOAD_COUNTER_DESCRIPTION="Set if sermons download counter should be shown."
+COM_SERMONDISTRIBUTOR_CONFIG_SERIES_SERMONS_DOWNLOAD_COUNTER_LABEL="Show Sermons Download Counter"
+COM_SERMONDISTRIBUTOR_CONFIG_SERIES_SERMONS_HITS_DESCRIPTION="Set if sermon hits should be shown."
+COM_SERMONDISTRIBUTOR_CONFIG_SERIES_SERMONS_HITS_LABEL="Show Sermon Hits"
+COM_SERMONDISTRIBUTOR_CONFIG_SERIES_SERMONS_ICON_DESCRIPTION="Set if icon should be shown in grid display option for sermons."
+COM_SERMONDISTRIBUTOR_CONFIG_SERIES_SERMONS_ICON_LABEL="Show Sermon Icon (grid)"
+COM_SERMONDISTRIBUTOR_CONFIG_SERIES_SERMONS_LIST_STYLE_DESCRIPTION="Select the style to use for the sermons list display option."
+COM_SERMONDISTRIBUTOR_CONFIG_SERIES_SERMONS_LIST_STYLE_LABEL="Sermons List Style"
+COM_SERMONDISTRIBUTOR_CONFIG_SERIES_SERMONS_OPEN_DESCRIPTION="Set if sermon open button should be shown."
+COM_SERMONDISTRIBUTOR_CONFIG_SERIES_SERMONS_OPEN_LABEL="Show Sermon Open"
+COM_SERMONDISTRIBUTOR_CONFIG_SERIES_SERMONS_PREACHER_DESCRIPTION="Set if the preacher link should be shown."
+COM_SERMONDISTRIBUTOR_CONFIG_SERIES_SERMONS_PREACHER_LABEL="Show Sermon Preacher"
+COM_SERMONDISTRIBUTOR_CONFIG_SERIES_SERMONS_TABLE_COLOR_DESCRIPTION="Select the color to use for the sermons table display option."
+COM_SERMONDISTRIBUTOR_CONFIG_SERIES_SERMONS_TABLE_COLOR_LABEL="Sermons Table Color"
+COM_SERMONDISTRIBUTOR_CONFIG_SERIES_SERMON_COUNT_DESCRIPTION="Set if sermon count should be shown."
+COM_SERMONDISTRIBUTOR_CONFIG_SERIES_SERMON_COUNT_LABEL="Show Sermon Count"
+COM_SERMONDISTRIBUTOR_CONFIG_SERMON="Sermon"
+COM_SERMONDISTRIBUTOR_CONFIG_SERMON_BOX_CONTRAST_DESCRIPTION="Set if text should be contrast in box display option."
+COM_SERMONDISTRIBUTOR_CONFIG_SERMON_BOX_CONTRAST_LABEL="Show Contrast Text"
+COM_SERMONDISTRIBUTOR_CONFIG_SERMON_CATEGORY_DESCRIPTION="Set if the category link should be shown."
+COM_SERMONDISTRIBUTOR_CONFIG_SERMON_CATEGORY_LABEL="Show Sermon Category"
+COM_SERMONDISTRIBUTOR_CONFIG_SERMON_DEFAULT_ICON_DESCRIPTION="Must be 358px x 358px"
+COM_SERMONDISTRIBUTOR_CONFIG_SERMON_DEFAULT_ICON_LABEL="Sermon Default Icon "
+COM_SERMONDISTRIBUTOR_CONFIG_SERMON_DESC_DESCRIPTION="Set if sermon description should be shown."
+COM_SERMONDISTRIBUTOR_CONFIG_SERMON_DESC_LABEL="Show Sermon Description"
+COM_SERMONDISTRIBUTOR_CONFIG_SERMON_DISPLAY_DESCRIPTION="Select the option for display of a sermon."
+COM_SERMONDISTRIBUTOR_CONFIG_SERMON_DISPLAY_LABEL="Sermon Display"
+COM_SERMONDISTRIBUTOR_CONFIG_SERMON_DOWNLOADS_DESCRIPTION="Set if sermon downloads should be shown."
+COM_SERMONDISTRIBUTOR_CONFIG_SERMON_DOWNLOADS_LABEL="Show Sermon Downloads"
+COM_SERMONDISTRIBUTOR_CONFIG_SERMON_DOWNLOAD_COUNTER_DESCRIPTION="Set if sermon download counter should be shown."
+COM_SERMONDISTRIBUTOR_CONFIG_SERMON_DOWNLOAD_COUNTER_LABEL="Show Sermon Download Counter"
+COM_SERMONDISTRIBUTOR_CONFIG_SERMON_HITS_DESCRIPTION="Set if sermon hits should be shown."
+COM_SERMONDISTRIBUTOR_CONFIG_SERMON_HITS_LABEL="Show Sermon Hits"
+COM_SERMONDISTRIBUTOR_CONFIG_SERMON_ICON_DESCRIPTION="Set if icon should be shown."
+COM_SERMONDISTRIBUTOR_CONFIG_SERMON_ICON_LABEL="Show Sermon Icon"
+COM_SERMONDISTRIBUTOR_CONFIG_SERMON_LIST_STYLE_DESCRIPTION="Select the style to use for the sermon list display option."
+COM_SERMONDISTRIBUTOR_CONFIG_SERMON_LIST_STYLE_LABEL="Sermon List Style"
+COM_SERMONDISTRIBUTOR_CONFIG_SERMON_MENU_DESCRIPTION="Select the menu item you would like your sermon view to be linked to."
+COM_SERMONDISTRIBUTOR_CONFIG_SERMON_MENU_LABEL="Sermon Menu Item"
+COM_SERMONDISTRIBUTOR_CONFIG_SERMON_PREACHER_DESCRIPTION="Set if the preacher link should be shown."
+COM_SERMONDISTRIBUTOR_CONFIG_SERMON_PREACHER_LABEL="Show Sermon Preacher"
+COM_SERMONDISTRIBUTOR_CONFIG_SERMON_SERIES_DESCRIPTION="Set if the series link should be shown."
+COM_SERMONDISTRIBUTOR_CONFIG_SERMON_SERIES_LABEL="Show Sermon Series"
+COM_SERMONDISTRIBUTOR_CONFIG_SMALL="Small"
+COM_SERMONDISTRIBUTOR_CONFIG_SOUNDMANAGER="Soundmanager"
+COM_SERMONDISTRIBUTOR_CONFIG_SPACED="Spaced"
+COM_SERMONDISTRIBUTOR_CONFIG_STRIPED="Striped"
+COM_SERMONDISTRIBUTOR_CONFIG_TABLE="Table"
+COM_SERMONDISTRIBUTOR_CONFIG_UIKIT="Uikit"
+COM_SERMONDISTRIBUTOR_CONFIG_UIKIT_DESC="The Parameters for the uikit are set here.
Uikit is a lightweight and modular front-end framework
+for developing fast and powerful web interfaces. For more info visit http://getuikit.com/"
+COM_SERMONDISTRIBUTOR_CONFIG_UIKIT_LABEL="Uikit Settings"
+COM_SERMONDISTRIBUTOR_CONFIG_UIKIT_LOAD_DESC="Set the uikit loading option."
+COM_SERMONDISTRIBUTOR_CONFIG_UIKIT_LOAD_LABEL="Loading Options"
+COM_SERMONDISTRIBUTOR_CONFIG_UIKIT_MIN_DESC="Should the minified version of uikit files be loaded?"
+COM_SERMONDISTRIBUTOR_CONFIG_UIKIT_MIN_LABEL="Load Minified"
+COM_SERMONDISTRIBUTOR_CONFIG_UIKIT_STYLE_DESC="Set the css style that should be used."
+COM_SERMONDISTRIBUTOR_CONFIG_UIKIT_STYLE_LABEL="css Style"
+COM_SERMONDISTRIBUTOR_CONFIG_YES="Yes"
+COM_SERMONDISTRIBUTOR_CONTRIBUTOR="Contributor"
+COM_SERMONDISTRIBUTOR_CONTRIBUTORS="Contributors"
COM_SERMONDISTRIBUTOR_CREATE_NEW_S="Create New %s"
+COM_SERMONDISTRIBUTOR_DASH="Dashboard"
+COM_SERMONDISTRIBUTOR_DASHBOARD="Sermon Distributor Dashboard"
+COM_SERMONDISTRIBUTOR_DASHBOARD_EXTERNAL_SOURCES="External Sources
"
+COM_SERMONDISTRIBUTOR_DASHBOARD_EXTERNAL_SOURCE_ADD="Add External Source
"
+COM_SERMONDISTRIBUTOR_DASHBOARD_HELP_DOCUMENTS="Help Documents
"
+COM_SERMONDISTRIBUTOR_DASHBOARD_LOCAL_LISTINGS="Local Listings
"
+COM_SERMONDISTRIBUTOR_DASHBOARD_MANUAL_UPDATER="Manual Updater
"
+COM_SERMONDISTRIBUTOR_DASHBOARD_PREACHERS="Preachers
"
+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_SERMON_ADD="Add Sermon
"
+COM_SERMONDISTRIBUTOR_DASHBOARD_STATISTICS="Statistics
"
+COM_SERMONDISTRIBUTOR_DATE="Date"
COM_SERMONDISTRIBUTOR_DESCRIPTION="Description"
COM_SERMONDISTRIBUTOR_DOWNLOAD="Download"
COM_SERMONDISTRIBUTOR_DOWNLOADS="Downloads"
COM_SERMONDISTRIBUTOR_DOWNLOADS_ASC="Downloads (Asc)"
COM_SERMONDISTRIBUTOR_DOWNLOADS_DESC="Downloads (Desc)"
COM_SERMONDISTRIBUTOR_DOWNLOAD_COUNTER="Download Counter"
+COM_SERMONDISTRIBUTOR_DOWNLOAD_NAME="Download Name"
COM_SERMONDISTRIBUTOR_DROPBOX="Dropbox"
+COM_SERMONDISTRIBUTOR_EDIT_CREATED_BY="Edit Created By"
+COM_SERMONDISTRIBUTOR_EDIT_CREATED_BY_DESC=" Allows users in this group to edit created by."
+COM_SERMONDISTRIBUTOR_EDIT_CREATED_DATE="Edit Created Date"
+COM_SERMONDISTRIBUTOR_EDIT_CREATED_DATE_DESC=" Allows users in this group to edit created date."
COM_SERMONDISTRIBUTOR_EDIT_S="Edit %s"
+COM_SERMONDISTRIBUTOR_EDIT_VERSIONS="Edit Version"
+COM_SERMONDISTRIBUTOR_EDIT_VERSIONS_DESC=" Allows users in this group to edit versions."
COM_SERMONDISTRIBUTOR_EMAIL="Email"
+COM_SERMONDISTRIBUTOR_EXPORT_DATA="Export Data"
+COM_SERMONDISTRIBUTOR_EXPORT_DATA_DESC=" Allows users in this group to export data."
+COM_SERMONDISTRIBUTOR_EXPORT_FAILED="Export Failed"
+COM_SERMONDISTRIBUTOR_EXTERNAL_SOURCE="External Source"
+COM_SERMONDISTRIBUTOR_EXTERNAL_SOURCES="External Sources"
+COM_SERMONDISTRIBUTOR_EXTERNAL_SOURCES_ACCESS="External Sources Access"
+COM_SERMONDISTRIBUTOR_EXTERNAL_SOURCES_ACCESS_DESC="Allows the users in this group to access access external sources"
+COM_SERMONDISTRIBUTOR_EXTERNAL_SOURCES_BATCH_OPTIONS="Batch process the selected External Sources"
+COM_SERMONDISTRIBUTOR_EXTERNAL_SOURCES_BATCH_TIP="All changes will be applied to all selected External Sources"
+COM_SERMONDISTRIBUTOR_EXTERNAL_SOURCES_BATCH_USE="External Sources Batch Use"
+COM_SERMONDISTRIBUTOR_EXTERNAL_SOURCES_BATCH_USE_DESC="Allows users in this group to use batch copy/update method of batch external sources"
+COM_SERMONDISTRIBUTOR_EXTERNAL_SOURCES_CREATE="External Sources Create"
+COM_SERMONDISTRIBUTOR_EXTERNAL_SOURCES_CREATE_DESC="Allows the users in this group to create create external sources"
+COM_SERMONDISTRIBUTOR_EXTERNAL_SOURCES_DASHBOARD_ADD="External Sources Dashboard Add"
+COM_SERMONDISTRIBUTOR_EXTERNAL_SOURCES_DASHBOARD_ADD_DESC="Allows the users in this group to update the dashboard add of the external source"
+COM_SERMONDISTRIBUTOR_EXTERNAL_SOURCES_DASHBOARD_LIST="External Sources Dashboard List"
+COM_SERMONDISTRIBUTOR_EXTERNAL_SOURCES_DASHBOARD_LIST_DESC="Allows the users in this group to update the dashboard list of the external source"
+COM_SERMONDISTRIBUTOR_EXTERNAL_SOURCES_DELETE="External Sources Delete"
+COM_SERMONDISTRIBUTOR_EXTERNAL_SOURCES_DELETE_DESC="Allows the users in this group to delete delete external sources"
+COM_SERMONDISTRIBUTOR_EXTERNAL_SOURCES_EDIT="External Sources Edit"
+COM_SERMONDISTRIBUTOR_EXTERNAL_SOURCES_EDIT_BUILD="External Sources Edit Build"
+COM_SERMONDISTRIBUTOR_EXTERNAL_SOURCES_EDIT_BUILD_DESC="Allows the users in this group to update the edit build of the external source"
+COM_SERMONDISTRIBUTOR_EXTERNAL_SOURCES_EDIT_CREATED_BY="External Sources Edit Created By"
+COM_SERMONDISTRIBUTOR_EXTERNAL_SOURCES_EDIT_CREATED_BY_DESC="Allows the users in this group to update the created by of the edit created by external sources"
+COM_SERMONDISTRIBUTOR_EXTERNAL_SOURCES_EDIT_CREATED_DATE="External Sources Edit Created Date"
+COM_SERMONDISTRIBUTOR_EXTERNAL_SOURCES_EDIT_CREATED_DATE_DESC="Allows the users in this group to update the created date of the edit created external sources"
+COM_SERMONDISTRIBUTOR_EXTERNAL_SOURCES_EDIT_DESC="Allows the users in this group to edit the external source"
+COM_SERMONDISTRIBUTOR_EXTERNAL_SOURCES_EDIT_DESCRIPTION="External Sources Edit Description"
+COM_SERMONDISTRIBUTOR_EXTERNAL_SOURCES_EDIT_DESCRIPTION_DESC="Allows the users in this group to update the edit description of the external source"
+COM_SERMONDISTRIBUTOR_EXTERNAL_SOURCES_EDIT_DROPBOXOPTIONS="External Sources Edit Dropboxoptions"
+COM_SERMONDISTRIBUTOR_EXTERNAL_SOURCES_EDIT_DROPBOXOPTIONS_DESC="Allows the users in this group to update the edit dropboxoptions of the external source"
+COM_SERMONDISTRIBUTOR_EXTERNAL_SOURCES_EDIT_EXTERNALSOURCES="External Sources Edit Externalsources"
+COM_SERMONDISTRIBUTOR_EXTERNAL_SOURCES_EDIT_EXTERNALSOURCES_DESC="Allows the users in this group to update the edit externalsources of the external source"
+COM_SERMONDISTRIBUTOR_EXTERNAL_SOURCES_EDIT_FILETYPES="External Sources Edit Filetypes"
+COM_SERMONDISTRIBUTOR_EXTERNAL_SOURCES_EDIT_FILETYPES_DESC="Allows the users in this group to update the edit filetypes of the external source"
+COM_SERMONDISTRIBUTOR_EXTERNAL_SOURCES_EDIT_FOLDER="External Sources Edit Folder"
+COM_SERMONDISTRIBUTOR_EXTERNAL_SOURCES_EDIT_FOLDER_DESC="Allows the users in this group to update the edit folder of the external source"
+COM_SERMONDISTRIBUTOR_EXTERNAL_SOURCES_EDIT_OAUTHTOKEN="External Sources Edit Oauthtoken"
+COM_SERMONDISTRIBUTOR_EXTERNAL_SOURCES_EDIT_OAUTHTOKEN_DESC="Allows the users in this group to update the edit oauthtoken of the external source"
+COM_SERMONDISTRIBUTOR_EXTERNAL_SOURCES_EDIT_OWN="External Sources Edit Own"
+COM_SERMONDISTRIBUTOR_EXTERNAL_SOURCES_EDIT_OWN_DESC="Allows the users in this group to edit edit own external sources created by them"
+COM_SERMONDISTRIBUTOR_EXTERNAL_SOURCES_EDIT_PERMISSIONTYPE="External Sources Edit Permissiontype"
+COM_SERMONDISTRIBUTOR_EXTERNAL_SOURCES_EDIT_PERMISSIONTYPE_DESC="Allows the users in this group to update the edit permissiontype of the external source"
+COM_SERMONDISTRIBUTOR_EXTERNAL_SOURCES_EDIT_SHAREDURL="External Sources Edit Sharedurl"
+COM_SERMONDISTRIBUTOR_EXTERNAL_SOURCES_EDIT_SHAREDURL_DESC="Allows the users in this group to update the edit sharedurl of the external source"
+COM_SERMONDISTRIBUTOR_EXTERNAL_SOURCES_EDIT_STATE="External Sources Edit State"
+COM_SERMONDISTRIBUTOR_EXTERNAL_SOURCES_EDIT_STATE_DESC="Allows the users in this group to update the state of the external source"
+COM_SERMONDISTRIBUTOR_EXTERNAL_SOURCES_EDIT_UPDATE_METHOD="External Sources Edit Update Method"
+COM_SERMONDISTRIBUTOR_EXTERNAL_SOURCES_EDIT_UPDATE_METHOD_DESC="Allows the users in this group to update the edit update method of the external source"
+COM_SERMONDISTRIBUTOR_EXTERNAL_SOURCES_EDIT_UPDATE_TIMER="External Sources Edit Update Timer"
+COM_SERMONDISTRIBUTOR_EXTERNAL_SOURCES_EDIT_UPDATE_TIMER_DESC="Allows the users in this group to update the edit update timer of the external source"
+COM_SERMONDISTRIBUTOR_EXTERNAL_SOURCES_EDIT_VERSION="External Sources Edit Version"
+COM_SERMONDISTRIBUTOR_EXTERNAL_SOURCES_EDIT_VERSION_DESC="Allows users in this group to edit versions of version external sources"
+COM_SERMONDISTRIBUTOR_EXTERNAL_SOURCES_EXPORT="External Sources Export"
+COM_SERMONDISTRIBUTOR_EXTERNAL_SOURCES_EXPORT_DESC="Allows the users in this group to export export external sources"
+COM_SERMONDISTRIBUTOR_EXTERNAL_SOURCES_IMPORT="External Sources Import"
+COM_SERMONDISTRIBUTOR_EXTERNAL_SOURCES_IMPORT_DESC="Allows the users in this group to import import external sources"
+COM_SERMONDISTRIBUTOR_EXTERNAL_SOURCES_N_ITEMS_ARCHIVED="%s External Sources archived."
+COM_SERMONDISTRIBUTOR_EXTERNAL_SOURCES_N_ITEMS_ARCHIVED_1="%s External Source archived."
+COM_SERMONDISTRIBUTOR_EXTERNAL_SOURCES_N_ITEMS_CHECKED_IN_0="No External Source successfully checked in."
+COM_SERMONDISTRIBUTOR_EXTERNAL_SOURCES_N_ITEMS_CHECKED_IN_1="%d External Source successfully checked in."
+COM_SERMONDISTRIBUTOR_EXTERNAL_SOURCES_N_ITEMS_CHECKED_IN_MORE="%d External Sources successfully checked in."
+COM_SERMONDISTRIBUTOR_EXTERNAL_SOURCES_N_ITEMS_DELETED="%s External Sources deleted."
+COM_SERMONDISTRIBUTOR_EXTERNAL_SOURCES_N_ITEMS_DELETED_1="%s External Source deleted."
+COM_SERMONDISTRIBUTOR_EXTERNAL_SOURCES_N_ITEMS_FEATURED="%s External Sources featured."
+COM_SERMONDISTRIBUTOR_EXTERNAL_SOURCES_N_ITEMS_FEATURED_1="%s External Source featured."
+COM_SERMONDISTRIBUTOR_EXTERNAL_SOURCES_N_ITEMS_PUBLISHED="%s External Sources published."
+COM_SERMONDISTRIBUTOR_EXTERNAL_SOURCES_N_ITEMS_PUBLISHED_1="%s External Source published."
+COM_SERMONDISTRIBUTOR_EXTERNAL_SOURCES_N_ITEMS_TRASHED="%s External Sources trashed."
+COM_SERMONDISTRIBUTOR_EXTERNAL_SOURCES_N_ITEMS_TRASHED_1="%s External Source trashed."
+COM_SERMONDISTRIBUTOR_EXTERNAL_SOURCES_N_ITEMS_UNFEATURED="%s External Sources unfeatured."
+COM_SERMONDISTRIBUTOR_EXTERNAL_SOURCES_N_ITEMS_UNFEATURED_1="%s External Source unfeatured."
+COM_SERMONDISTRIBUTOR_EXTERNAL_SOURCES_N_ITEMS_UNPUBLISHED="%s External Sources unpublished."
+COM_SERMONDISTRIBUTOR_EXTERNAL_SOURCES_N_ITEMS_UNPUBLISHED_1="%s External Source unpublished."
+COM_SERMONDISTRIBUTOR_EXTERNAL_SOURCES_SUBMENU="External Sources Submenu"
+COM_SERMONDISTRIBUTOR_EXTERNAL_SOURCES_SUBMENU_DESC="Allows the users in this group to update the submenu of the external source"
+COM_SERMONDISTRIBUTOR_EXTERNAL_SOURCE_APP_FOLDER="App folder"
+COM_SERMONDISTRIBUTOR_EXTERNAL_SOURCE_APP_LIMITATION_NOTE_DESCRIPTION="Please Note: There is a limitation of 2000 files app/folder"
+COM_SERMONDISTRIBUTOR_EXTERNAL_SOURCE_AUTOMATIC="Automatic"
+COM_SERMONDISTRIBUTOR_EXTERNAL_SOURCE_AVI=".avi"
+COM_SERMONDISTRIBUTOR_EXTERNAL_SOURCE_BUILD="Build"
+COM_SERMONDISTRIBUTOR_EXTERNAL_SOURCE_BUILD_DESCRIPTION="Set the method used to add files."
+COM_SERMONDISTRIBUTOR_EXTERNAL_SOURCE_BUILD_LABEL="Build Option"
+COM_SERMONDISTRIBUTOR_EXTERNAL_SOURCE_CREATED_BY_DESC="The user that created this External Source."
+COM_SERMONDISTRIBUTOR_EXTERNAL_SOURCE_CREATED_BY_LABEL="Created By"
+COM_SERMONDISTRIBUTOR_EXTERNAL_SOURCE_CREATED_DATE_DESC="The date this External Source was created."
+COM_SERMONDISTRIBUTOR_EXTERNAL_SOURCE_CREATED_DATE_LABEL="Created Date"
+COM_SERMONDISTRIBUTOR_EXTERNAL_SOURCE_DESCRIPTION="Description"
+COM_SERMONDISTRIBUTOR_EXTERNAL_SOURCE_DESCRIPTION_DESCRIPTION="Enter some description"
+COM_SERMONDISTRIBUTOR_EXTERNAL_SOURCE_DESCRIPTION_HINT="Description Here"
+COM_SERMONDISTRIBUTOR_EXTERNAL_SOURCE_DESCRIPTION_LABEL="Description"
+COM_SERMONDISTRIBUTOR_EXTERNAL_SOURCE_DETAILS="Details"
+COM_SERMONDISTRIBUTOR_EXTERNAL_SOURCE_DOC=".doc"
+COM_SERMONDISTRIBUTOR_EXTERNAL_SOURCE_DOCX=".docx"
+COM_SERMONDISTRIBUTOR_EXTERNAL_SOURCE_DROPBOX="Dropbox"
+COM_SERMONDISTRIBUTOR_EXTERNAL_SOURCE_DROPBOXOPTIONS="Dropboxoptions"
+COM_SERMONDISTRIBUTOR_EXTERNAL_SOURCE_DROPBOXOPTIONS_DESCRIPTION="Select the option you would like to use in targeting the Dropbox API."
+COM_SERMONDISTRIBUTOR_EXTERNAL_SOURCE_DROPBOXOPTIONS_LABEL="Options"
+COM_SERMONDISTRIBUTOR_EXTERNAL_SOURCE_DYNAMIC_AUTOMATIC_BUILD="Dynamic Automatic Build"
+COM_SERMONDISTRIBUTOR_EXTERNAL_SOURCE_EDIT="Editing the External Source"
+COM_SERMONDISTRIBUTOR_EXTERNAL_SOURCE_ERROR_UNIQUE_ALIAS="Another External Source has the same alias."
+COM_SERMONDISTRIBUTOR_EXTERNAL_SOURCE_EXTERNALSOURCES="Externalsources"
+COM_SERMONDISTRIBUTOR_EXTERNAL_SOURCE_EXTERNALSOURCES_DESCRIPTION="Only one option at this time"
+COM_SERMONDISTRIBUTOR_EXTERNAL_SOURCE_EXTERNALSOURCES_LABEL="External Sources"
+COM_SERMONDISTRIBUTOR_EXTERNAL_SOURCE_FILETYPES="Filetypes"
+COM_SERMONDISTRIBUTOR_EXTERNAL_SOURCE_FILETYPES_DESCRIPTION="Select the file types you would like to use from this external sources."
+COM_SERMONDISTRIBUTOR_EXTERNAL_SOURCE_FILETYPES_LABEL="File Types"
+COM_SERMONDISTRIBUTOR_EXTERNAL_SOURCE_FOLDER="Folder"
+COM_SERMONDISTRIBUTOR_EXTERNAL_SOURCE_FOLDER_DESCRIPTION="Enter the folders to target. The folders must be in the account where you generated the access token."
+COM_SERMONDISTRIBUTOR_EXTERNAL_SOURCE_FOLDER_LABEL="Target Folders
Please note: limitation of 2000 files per/folder"
+COM_SERMONDISTRIBUTOR_EXTERNAL_SOURCE_FOLDER_PATH="Folder Path"
+COM_SERMONDISTRIBUTOR_EXTERNAL_SOURCE_FOLDER_SELECT="Add/Remove"
+COM_SERMONDISTRIBUTOR_EXTERNAL_SOURCE_FULL_DROPBOX="Full Dropbox"
+COM_SERMONDISTRIBUTOR_EXTERNAL_SOURCE_GENERATED_ACCESS_TOKEN_NOTE_DESCRIPTION="The manual option you selected will not require you to store the access token on this server. But you will need it during the manual updating process."
+COM_SERMONDISTRIBUTOR_EXTERNAL_SOURCE_GENERATED_ACCESS_TOKEN_NOTE_LABEL="Generated access token"
+COM_SERMONDISTRIBUTOR_EXTERNAL_SOURCE_GIF=".gif"
+COM_SERMONDISTRIBUTOR_EXTERNAL_SOURCE_ID="Id"
+COM_SERMONDISTRIBUTOR_EXTERNAL_SOURCE_JPEG=".jpeg"
+COM_SERMONDISTRIBUTOR_EXTERNAL_SOURCE_JPG=".jpg"
+COM_SERMONDISTRIBUTOR_EXTERNAL_SOURCE_MANUAL="Manual"
+COM_SERMONDISTRIBUTOR_EXTERNAL_SOURCE_MANUAL_LOCAL_SELECTION="Manual Local Selection"
+COM_SERMONDISTRIBUTOR_EXTERNAL_SOURCE_MFOURA=".m4a"
+COM_SERMONDISTRIBUTOR_EXTERNAL_SOURCE_MFOURV=".m4v"
+COM_SERMONDISTRIBUTOR_EXTERNAL_SOURCE_MODIFIED_BY_DESC="The last user that modified this External Source."
+COM_SERMONDISTRIBUTOR_EXTERNAL_SOURCE_MODIFIED_BY_LABEL="Modified By"
+COM_SERMONDISTRIBUTOR_EXTERNAL_SOURCE_MODIFIED_DATE_DESC="The date this External Source was modified."
+COM_SERMONDISTRIBUTOR_EXTERNAL_SOURCE_MODIFIED_DATE_LABEL="Modified Date"
+COM_SERMONDISTRIBUTOR_EXTERNAL_SOURCE_MOV=".mov"
+COM_SERMONDISTRIBUTOR_EXTERNAL_SOURCE_MPFOUR=".mp4"
+COM_SERMONDISTRIBUTOR_EXTERNAL_SOURCE_MPG=".mpg"
+COM_SERMONDISTRIBUTOR_EXTERNAL_SOURCE_MPTHREE=".mp3"
+COM_SERMONDISTRIBUTOR_EXTERNAL_SOURCE_NEW="A New External Source"
+COM_SERMONDISTRIBUTOR_EXTERNAL_SOURCE_NOTE_AUTO_DROPBOX_DESCRIPTION="
+ - Create main/first auto folder in Dropbox. This will be where you create the folders with the preacher's name. Using the preacher's alias from the system as the folder name will insure no mismatch, if the preacher already exist on the system.
+ - You can add files directly to the preacher folder if it is not linked to a series.
+ - If you would like the sermon linked to a series, you simply create a folder inside the preacher's folder with the series' name, and place the sermon file inside that series' folder. Using the series' alias from the system as the folder name will insure no mismatch, if the series already exist on the system.
+ - Adding other preachers to the same series will only require creating a folder inside that preacher's folder with the same series' name and placing his sermons inside that new folder. Using the series' alias from the system as the folder name will insure no mismatch, if the series already exist on the system.
+ - The file name will be used as the sermon name.
+ - To ensure that all downloads work well, we need to hold to the following file naming convention:
+
+ - No spaces in the file name!!
+ - No strange characters in the file name only A-z 0-9 underscore and hyphen.
+
+
+ - We use naming conventions to add tags, categories, a short description and combine files under one sermon, these conventions are as follow:
+
+ - To combine files
+
+ - Use a KEY name with TWO underscores before the actual name, example (34key521__the_file_name.mp3 & 34key521__another_file_of_the_same_sermon.pdf)
+ - The KEY may only have alpha numeric characters (A-z 0-9).
+ - You can combine as many files as you like under each sermon with the unique KEY.
+ - There are two ways to set the sermon name with combined files:
+
+ - All Uppercase. example (34key521__THE_FILE_NAME.mp3 & 34key521__another_file_of_the_same_sermon.pdf).
+ - Longest file name if no all-uppercase file name is found. If two file names are the same length the first one is used.
+
+
+ - Uppercase option is the most trusted method since this will insure you get what you expected.
+
+
+ - To tag files
+
+ - Directly after the file name add THREE underscores and then set the tags, example (the_file_name___tag1_tag-with2_tag-three.mp3)
+ - You can add as many tags to a file as you like separated by one underscore and hyphen for spaces in a tag.
+ - Combined files only need to have the tags added to one of the files. If one of the files has a tag that was not already found it will also be added to the sermon as a whole since the combined files are treated as one sermon.
+
+
+ - To add sermons to categories
+
+ - Directly after the file name add FOUR underscores and then set the category name, example (the_file_name____Salvation_Messages.mp3)
+ - You can add only one category per sermon. Combined files only need to have the category name added to one of the files.
+
+
+ - To add a short description
+
+ - Directly after the file name add FIVE underscores and then set the description, example (the_file_name_____The_short_description_can_only_be_one_sentence.mp3)
+ - You can not use any strange characters, only (A-z 0-9) and underscore for spacing.
+ - You can add only one short description per sermon. Combined files only need to have the short description added to one of the files.
+
+
+
+
+ - When you use all the naming conventions together they should follow the following order:
+
+ - KEY before the file name with TWO underscores.
+ - TAGS must be first after the file name with THREE underscores.
+ - CATEGORY must be first after TAGS with FOUR underscores. IF no tags were set then it must be first after the FILE NAME with FOUR underscores.
+ - SHORT DESCRIPTION must be first after CATEGORY with FIVE underscores. IF no category was set then it must be first after the TAGS with FIVE underscores. IF no tags were set then it must be first after the FILE NAME with FIVE underscores.
+
+
+ - Adding folders and sermons will automatically load them to your sermon distributor on your website, or update the already existing sermons with the new files.
+
+
The links that are required below should be the direct Dropbox shared links to the auto folder. They should not be the same folder, and not be inside one another. Always totally separate folders! Leave blank to deactivate."
+COM_SERMONDISTRIBUTOR_EXTERNAL_SOURCE_NOTE_AUTO_DROPBOX_LABEL="Want to use Dropbox Auto links with your system, then you need to do the following:"
+COM_SERMONDISTRIBUTOR_EXTERNAL_SOURCE_NOTE_MANUAL_DROPBOX_DESCRIPTION="
+ - Create main/first manual folder in Dropbox. This will be where all files are placed. No sub folders, just one huge folder with all the files!
+ - You will place the file on Dropbox in that main folder first.
+ - Then the next step will be to come to Sermon Distributor and create the preacher and series if they do not already exist.
+ - Please allow enough time (as set above +) for the local listing of files to update.
+ - Then you should create the sermon the file belongs to and select 'Dropbox' as the source of your file.
+ - Next select 'Manual' as the build option. This will load a drop-down with the file names in the Manual Folder on Dropbox. Should the new file not be seen give it a little more time to update the local listing of files.
+ - If the List is very long, you can in the select box type the name of the file and it will shorten the list. Then select your file and continue with the setup of the sermon as usual.
+ - To ensure that all downloads work well, we need to hold to the following file naming convention:
+
+ - No spaces in the file name!!
+ - No strange characters in the file name only A-z 0-9 underscore and hyphen.
+
+
+
The links that are required below should be the direct Dropbox shared links to the main manual folder. They should not be the same folder, and not be inside one another. Always totally separate folders! Leave blank to deactivate."
+COM_SERMONDISTRIBUTOR_EXTERNAL_SOURCE_NOTE_MANUAL_DROPBOX_LABEL="Want to use Dropbox Manual links with your system, then you need to do the following:"
+COM_SERMONDISTRIBUTOR_EXTERNAL_SOURCE_NOT_REQUIRED="Not Required"
+COM_SERMONDISTRIBUTOR_EXTERNAL_SOURCE_OAUTHTOKEN="Oauthtoken"
+COM_SERMONDISTRIBUTOR_EXTERNAL_SOURCE_OAUTHTOKEN_DESCRIPTION="By using an access token, the system will be able to make automatic API calls to your app without going through the authorization flow.
This field is being kept encrypted in the database.
Yet Joomla back-end must be access with SSL in-place when saving this page. This will help avoid a man in the middle attach on your access token."
+COM_SERMONDISTRIBUTOR_EXTERNAL_SOURCE_OAUTHTOKEN_HINT="oauthtoken here"
+COM_SERMONDISTRIBUTOR_EXTERNAL_SOURCE_OAUTHTOKEN_LABEL="App Generated access token
(Encrypted Field)"
+COM_SERMONDISTRIBUTOR_EXTERNAL_SOURCE_ODT=".odt"
+COM_SERMONDISTRIBUTOR_EXTERNAL_SOURCE_OGG=".ogg"
+COM_SERMONDISTRIBUTOR_EXTERNAL_SOURCE_OGV=".ogv"
+COM_SERMONDISTRIBUTOR_EXTERNAL_SOURCE_ORDERING_LABEL="Ordering"
+COM_SERMONDISTRIBUTOR_EXTERNAL_SOURCE_PDF=".pdf"
+COM_SERMONDISTRIBUTOR_EXTERNAL_SOURCE_PERMISSION="Permissions"
+COM_SERMONDISTRIBUTOR_EXTERNAL_SOURCE_PERMISSIONTYPE="Permissiontype"
+COM_SERMONDISTRIBUTOR_EXTERNAL_SOURCE_PERMISSIONTYPE_DESCRIPTION="What kind of permission type is your app."
+COM_SERMONDISTRIBUTOR_EXTERNAL_SOURCE_PERMISSIONTYPE_LABEL="App Permission Type"
+COM_SERMONDISTRIBUTOR_EXTERNAL_SOURCE_PNG=".png"
+COM_SERMONDISTRIBUTOR_EXTERNAL_SOURCE_PPS=".pps"
+COM_SERMONDISTRIBUTOR_EXTERNAL_SOURCE_PPSX=".ppsx"
+COM_SERMONDISTRIBUTOR_EXTERNAL_SOURCE_PPT=".ppt"
+COM_SERMONDISTRIBUTOR_EXTERNAL_SOURCE_PPTX=".pptx"
+COM_SERMONDISTRIBUTOR_EXTERNAL_SOURCE_PUBLISHING="Publishing"
+COM_SERMONDISTRIBUTOR_EXTERNAL_SOURCE_RELATION="External Source Relation"
+COM_SERMONDISTRIBUTOR_EXTERNAL_SOURCE_SAVE_WARNING="Alias already existed so a number was added at the end. You can re-edit the External Source to customise the alias."
+COM_SERMONDISTRIBUTOR_EXTERNAL_SOURCE_SELECT_AN_OPTION="Select an option"
+COM_SERMONDISTRIBUTOR_EXTERNAL_SOURCE_SHAREDURL="Sharedurl"
+COM_SERMONDISTRIBUTOR_EXTERNAL_SOURCE_SHAREDURL_DESCRIPTION="Enter the shared-urls of the main folders to target. The shared-urls must be from the account where you generated the access token."
+COM_SERMONDISTRIBUTOR_EXTERNAL_SOURCE_SHAREDURL_LABEL="Target Shared-urls
Please note: limitation of 2000 files per/shared-url"
+COM_SERMONDISTRIBUTOR_EXTERNAL_SOURCE_SHAREDURL_SELECT="Add/Remove"
+COM_SERMONDISTRIBUTOR_EXTERNAL_SOURCE_SHARED_URL="Shared URL"
+COM_SERMONDISTRIBUTOR_EXTERNAL_SOURCE_STATUS="Status"
+COM_SERMONDISTRIBUTOR_EXTERNAL_SOURCE_TFOLDER_DESCRIPTION="Enter the folder to target. The folder must be in the account where you generated the access token."
+COM_SERMONDISTRIBUTOR_EXTERNAL_SOURCE_TFOLDER_HINT="any/folder/in/your/Dropbox"
+COM_SERMONDISTRIBUTOR_EXTERNAL_SOURCE_TFOLDER_LABEL="Folder"
+COM_SERMONDISTRIBUTOR_EXTERNAL_SOURCE_THREEGP=".3gp"
+COM_SERMONDISTRIBUTOR_EXTERNAL_SOURCE_THREEGTWO=".3g2"
+COM_SERMONDISTRIBUTOR_EXTERNAL_SOURCE_TSHAREDURL_DESCRIPTION="Enter the shared-url of the main folder to target. The shared-url must be from the account where you generated the access token."
+COM_SERMONDISTRIBUTOR_EXTERNAL_SOURCE_TSHAREDURL_HINT="https://www.dropbox.com/shared-link-from-dropbox-to-main-folder?dl=0"
+COM_SERMONDISTRIBUTOR_EXTERNAL_SOURCE_TSHAREDURL_LABEL="Shared-url"
+COM_SERMONDISTRIBUTOR_EXTERNAL_SOURCE_UPDATE_METHOD="Update Method"
+COM_SERMONDISTRIBUTOR_EXTERNAL_SOURCE_UPDATE_METHOD_DESCRIPTION="Select the method we should use when updating the links."
+COM_SERMONDISTRIBUTOR_EXTERNAL_SOURCE_UPDATE_METHOD_LABEL="Update Method"
+COM_SERMONDISTRIBUTOR_EXTERNAL_SOURCE_UPDATE_TIMER="Update Timer"
+COM_SERMONDISTRIBUTOR_EXTERNAL_SOURCE_UPDATE_TIMER_DESCRIPTION="Set the timer in minutes for updating the external source local listing of file links."
+COM_SERMONDISTRIBUTOR_EXTERNAL_SOURCE_UPDATE_TIMER_LABEL="Update Timer"
+COM_SERMONDISTRIBUTOR_EXTERNAL_SOURCE_VERSION_DESC="A count of the number of times this External Source has been revised."
+COM_SERMONDISTRIBUTOR_EXTERNAL_SOURCE_VERSION_LABEL="Revision"
+COM_SERMONDISTRIBUTOR_EXTERNAL_SOURCE_WAV=".wav"
+COM_SERMONDISTRIBUTOR_EXTERNAL_SOURCE_WIKI="Wiki"
+COM_SERMONDISTRIBUTOR_EXTERNAL_SOURCE_WIKI_CHECK_NOTE_DESCRIPTION="It will give instructions on how to setup the external source in relation to the Build Option you have chosen."
+COM_SERMONDISTRIBUTOR_EXTERNAL_SOURCE_WIKI_CHECK_NOTE_LABEL="Please check the Wiki tab above."
+COM_SERMONDISTRIBUTOR_EXTERNAL_SOURCE_WMV=".wmv"
+COM_SERMONDISTRIBUTOR_EXTERNAL_SOURCE_XLS=".xls"
+COM_SERMONDISTRIBUTOR_EXTERNAL_SOURCE_XLSX=".xlsx"
+COM_SERMONDISTRIBUTOR_EXTERNAL_SOURCE_ZIP=".zip"
COM_SERMONDISTRIBUTOR_FILES="Files"
COM_SERMONDISTRIBUTOR_FLASH_PLUGIN="Flash plugin"
COM_SERMONDISTRIBUTOR_GO_TO_WEBSITE_OF="Go to website of"
+COM_SERMONDISTRIBUTOR_HELP_DOCUMENT="Help Document"
+COM_SERMONDISTRIBUTOR_HELP_DOCUMENTS="Help Documents"
+COM_SERMONDISTRIBUTOR_HELP_DOCUMENTS_ACCESS="Help Documents Access"
+COM_SERMONDISTRIBUTOR_HELP_DOCUMENTS_ACCESS_DESC="Allows the users in this group to access access help documents"
+COM_SERMONDISTRIBUTOR_HELP_DOCUMENTS_BATCH_OPTIONS="Batch process the selected Help Documents"
+COM_SERMONDISTRIBUTOR_HELP_DOCUMENTS_BATCH_TIP="All changes will be applied to all selected Help Documents"
+COM_SERMONDISTRIBUTOR_HELP_DOCUMENTS_BATCH_USE="Help Documents Batch Use"
+COM_SERMONDISTRIBUTOR_HELP_DOCUMENTS_BATCH_USE_DESC="Allows users in this group to use batch copy/update method of batch help documents"
+COM_SERMONDISTRIBUTOR_HELP_DOCUMENTS_CREATE="Help Documents Create"
+COM_SERMONDISTRIBUTOR_HELP_DOCUMENTS_CREATE_DESC="Allows the users in this group to create create help documents"
+COM_SERMONDISTRIBUTOR_HELP_DOCUMENTS_DASHBOARD_LIST="Help Documents Dashboard List"
+COM_SERMONDISTRIBUTOR_HELP_DOCUMENTS_DASHBOARD_LIST_DESC="Allows the users in this group to update the dashboard list of the help document"
+COM_SERMONDISTRIBUTOR_HELP_DOCUMENTS_DELETE="Help Documents Delete"
+COM_SERMONDISTRIBUTOR_HELP_DOCUMENTS_DELETE_DESC="Allows the users in this group to delete delete help documents"
+COM_SERMONDISTRIBUTOR_HELP_DOCUMENTS_EDIT="Help Documents Edit"
+COM_SERMONDISTRIBUTOR_HELP_DOCUMENTS_EDIT_DESC="Allows the users in this group to edit the help document"
+COM_SERMONDISTRIBUTOR_HELP_DOCUMENTS_EDIT_OWN="Help Documents Edit Own"
+COM_SERMONDISTRIBUTOR_HELP_DOCUMENTS_EDIT_OWN_DESC="Allows the users in this group to edit edit own help documents created by them"
+COM_SERMONDISTRIBUTOR_HELP_DOCUMENTS_EDIT_STATE="Help Documents Edit State"
+COM_SERMONDISTRIBUTOR_HELP_DOCUMENTS_EDIT_STATE_DESC="Allows the users in this group to update the state of the help document"
+COM_SERMONDISTRIBUTOR_HELP_DOCUMENTS_EDIT_VERSION="Help Documents Edit Version"
+COM_SERMONDISTRIBUTOR_HELP_DOCUMENTS_EDIT_VERSION_DESC="Allows users in this group to edit versions of version help documents"
+COM_SERMONDISTRIBUTOR_HELP_DOCUMENTS_EXPORT="Help Documents Export"
+COM_SERMONDISTRIBUTOR_HELP_DOCUMENTS_EXPORT_DESC="Allows the users in this group to export export help documents"
+COM_SERMONDISTRIBUTOR_HELP_DOCUMENTS_IMPORT="Help Documents Import"
+COM_SERMONDISTRIBUTOR_HELP_DOCUMENTS_IMPORT_DESC="Allows the users in this group to import import help documents"
+COM_SERMONDISTRIBUTOR_HELP_DOCUMENTS_N_ITEMS_ARCHIVED="%s Help Documents archived."
+COM_SERMONDISTRIBUTOR_HELP_DOCUMENTS_N_ITEMS_ARCHIVED_1="%s Help Document archived."
+COM_SERMONDISTRIBUTOR_HELP_DOCUMENTS_N_ITEMS_CHECKED_IN_0="No Help Document successfully checked in."
+COM_SERMONDISTRIBUTOR_HELP_DOCUMENTS_N_ITEMS_CHECKED_IN_1="%d Help Document successfully checked in."
+COM_SERMONDISTRIBUTOR_HELP_DOCUMENTS_N_ITEMS_CHECKED_IN_MORE="%d Help Documents successfully checked in."
+COM_SERMONDISTRIBUTOR_HELP_DOCUMENTS_N_ITEMS_DELETED="%s Help Documents deleted."
+COM_SERMONDISTRIBUTOR_HELP_DOCUMENTS_N_ITEMS_DELETED_1="%s Help Document deleted."
+COM_SERMONDISTRIBUTOR_HELP_DOCUMENTS_N_ITEMS_FEATURED="%s Help Documents featured."
+COM_SERMONDISTRIBUTOR_HELP_DOCUMENTS_N_ITEMS_FEATURED_1="%s Help Document featured."
+COM_SERMONDISTRIBUTOR_HELP_DOCUMENTS_N_ITEMS_PUBLISHED="%s Help Documents published."
+COM_SERMONDISTRIBUTOR_HELP_DOCUMENTS_N_ITEMS_PUBLISHED_1="%s Help Document published."
+COM_SERMONDISTRIBUTOR_HELP_DOCUMENTS_N_ITEMS_TRASHED="%s Help Documents trashed."
+COM_SERMONDISTRIBUTOR_HELP_DOCUMENTS_N_ITEMS_TRASHED_1="%s Help Document trashed."
+COM_SERMONDISTRIBUTOR_HELP_DOCUMENTS_N_ITEMS_UNFEATURED="%s Help Documents unfeatured."
+COM_SERMONDISTRIBUTOR_HELP_DOCUMENTS_N_ITEMS_UNFEATURED_1="%s Help Document unfeatured."
+COM_SERMONDISTRIBUTOR_HELP_DOCUMENTS_N_ITEMS_UNPUBLISHED="%s Help Documents unpublished."
+COM_SERMONDISTRIBUTOR_HELP_DOCUMENTS_N_ITEMS_UNPUBLISHED_1="%s Help Document unpublished."
+COM_SERMONDISTRIBUTOR_HELP_DOCUMENTS_SUBMENU="Help Documents Submenu"
+COM_SERMONDISTRIBUTOR_HELP_DOCUMENTS_SUBMENU_DESC="Allows the users in this group to update the submenu of the help document"
+COM_SERMONDISTRIBUTOR_HELP_DOCUMENT_ADMIN="Admin"
+COM_SERMONDISTRIBUTOR_HELP_DOCUMENT_ADMIN_VIEW="Admin View"
+COM_SERMONDISTRIBUTOR_HELP_DOCUMENT_ADMIN_VIEW_DESCRIPTION="Select the view being target."
+COM_SERMONDISTRIBUTOR_HELP_DOCUMENT_ADMIN_VIEW_LABEL="Admin Views"
+COM_SERMONDISTRIBUTOR_HELP_DOCUMENT_ALIAS="Alias"
+COM_SERMONDISTRIBUTOR_HELP_DOCUMENT_ALIAS_HINT="Auto-generated from name"
+COM_SERMONDISTRIBUTOR_HELP_DOCUMENT_ALIAS_LABEL="Alias"
+COM_SERMONDISTRIBUTOR_HELP_DOCUMENT_ALL="All"
+COM_SERMONDISTRIBUTOR_HELP_DOCUMENT_ARTICLE="Article"
+COM_SERMONDISTRIBUTOR_HELP_DOCUMENT_ARTICLE_LABEL="Article"
+COM_SERMONDISTRIBUTOR_HELP_DOCUMENT_CONTENT="Content"
+COM_SERMONDISTRIBUTOR_HELP_DOCUMENT_CONTENT_LABEL="Content"
+COM_SERMONDISTRIBUTOR_HELP_DOCUMENT_CREATED_BY_DESC="The user that created this Help Document."
+COM_SERMONDISTRIBUTOR_HELP_DOCUMENT_CREATED_BY_LABEL="Created By"
+COM_SERMONDISTRIBUTOR_HELP_DOCUMENT_CREATED_DATE_DESC="The date this Help Document was created."
+COM_SERMONDISTRIBUTOR_HELP_DOCUMENT_CREATED_DATE_LABEL="Created Date"
+COM_SERMONDISTRIBUTOR_HELP_DOCUMENT_DETAILS="Details"
+COM_SERMONDISTRIBUTOR_HELP_DOCUMENT_EDIT="Editing the Help Document"
+COM_SERMONDISTRIBUTOR_HELP_DOCUMENT_ERROR_UNIQUE_ALIAS="Another Help Document has the same alias."
+COM_SERMONDISTRIBUTOR_HELP_DOCUMENT_GROUPS="Groups"
+COM_SERMONDISTRIBUTOR_HELP_DOCUMENT_GROUPS_DESCRIPTION="Select a group/s"
+COM_SERMONDISTRIBUTOR_HELP_DOCUMENT_GROUPS_LABEL="Group/s"
+COM_SERMONDISTRIBUTOR_HELP_DOCUMENT_ID="Id"
+COM_SERMONDISTRIBUTOR_HELP_DOCUMENT_JOOMLA_ARTICLE="Joomla Article"
+COM_SERMONDISTRIBUTOR_HELP_DOCUMENT_LOCATION="Location"
+COM_SERMONDISTRIBUTOR_HELP_DOCUMENT_LOCATION_DESCRIPTION="Select the help target location."
+COM_SERMONDISTRIBUTOR_HELP_DOCUMENT_LOCATION_LABEL="Location"
+COM_SERMONDISTRIBUTOR_HELP_DOCUMENT_MODIFIED_BY_DESC="The last user that modified this Help Document."
+COM_SERMONDISTRIBUTOR_HELP_DOCUMENT_MODIFIED_BY_LABEL="Modified By"
+COM_SERMONDISTRIBUTOR_HELP_DOCUMENT_MODIFIED_DATE_DESC="The date this Help Document was modified."
+COM_SERMONDISTRIBUTOR_HELP_DOCUMENT_MODIFIED_DATE_LABEL="Modified Date"
+COM_SERMONDISTRIBUTOR_HELP_DOCUMENT_NEW="A New Help Document"
+COM_SERMONDISTRIBUTOR_HELP_DOCUMENT_NOT_REQUIRED="Not Required"
+COM_SERMONDISTRIBUTOR_HELP_DOCUMENT_ORDERING_LABEL="Ordering"
+COM_SERMONDISTRIBUTOR_HELP_DOCUMENT_PERMISSION="Permissions"
+COM_SERMONDISTRIBUTOR_HELP_DOCUMENT_PUBLISHING="Publishing"
+COM_SERMONDISTRIBUTOR_HELP_DOCUMENT_SAVE_WARNING="Alias already existed so a number was added at the end. You can re-edit the Help Document to customise the alias."
+COM_SERMONDISTRIBUTOR_HELP_DOCUMENT_SELECT_AN_OPTION="Select an option"
+COM_SERMONDISTRIBUTOR_HELP_DOCUMENT_SITE="Site"
+COM_SERMONDISTRIBUTOR_HELP_DOCUMENT_SITE_VIEW="Site View"
+COM_SERMONDISTRIBUTOR_HELP_DOCUMENT_SITE_VIEW_DESCRIPTION="Select the view being target."
+COM_SERMONDISTRIBUTOR_HELP_DOCUMENT_SITE_VIEW_LABEL="Site Views"
+COM_SERMONDISTRIBUTOR_HELP_DOCUMENT_SOME="Some"
+COM_SERMONDISTRIBUTOR_HELP_DOCUMENT_STATUS="Status"
+COM_SERMONDISTRIBUTOR_HELP_DOCUMENT_TARGET="Target"
+COM_SERMONDISTRIBUTOR_HELP_DOCUMENT_TARGET_DESCRIPTION="Select the target option in relation to groups."
+COM_SERMONDISTRIBUTOR_HELP_DOCUMENT_TARGET_LABEL="Target Groups"
+COM_SERMONDISTRIBUTOR_HELP_DOCUMENT_TEXT="Text"
+COM_SERMONDISTRIBUTOR_HELP_DOCUMENT_TITLE="Title"
+COM_SERMONDISTRIBUTOR_HELP_DOCUMENT_TITLE_DESCRIPTION="Enter Title Here"
+COM_SERMONDISTRIBUTOR_HELP_DOCUMENT_TITLE_HINT="Title Here"
+COM_SERMONDISTRIBUTOR_HELP_DOCUMENT_TITLE_LABEL="Title"
+COM_SERMONDISTRIBUTOR_HELP_DOCUMENT_TYPE="Type"
+COM_SERMONDISTRIBUTOR_HELP_DOCUMENT_TYPE_DESCRIPTION="Select the help type."
+COM_SERMONDISTRIBUTOR_HELP_DOCUMENT_TYPE_LABEL="Type"
+COM_SERMONDISTRIBUTOR_HELP_DOCUMENT_URL="Url"
+COM_SERMONDISTRIBUTOR_HELP_DOCUMENT_URL_DESCRIPTION="Enter url"
+COM_SERMONDISTRIBUTOR_HELP_DOCUMENT_URL_HINT="http://www.example.com"
+COM_SERMONDISTRIBUTOR_HELP_DOCUMENT_URL_LABEL="URL"
+COM_SERMONDISTRIBUTOR_HELP_DOCUMENT_VERSION_DESC="A count of the number of times this Help Document has been revised."
+COM_SERMONDISTRIBUTOR_HELP_DOCUMENT_VERSION_LABEL="Revision"
+COM_SERMONDISTRIBUTOR_HELP_MANAGER="Help"
COM_SERMONDISTRIBUTOR_HITS="Hits"
COM_SERMONDISTRIBUTOR_HITS_ASC="Hits (Asc)"
COM_SERMONDISTRIBUTOR_HITS_DESC="Hits (Desc)"
+COM_SERMONDISTRIBUTOR_IMPORT_CONTINUE="Continue"
+COM_SERMONDISTRIBUTOR_IMPORT_DATA="Import Data"
+COM_SERMONDISTRIBUTOR_IMPORT_DATA_DESC=" Allows users in this group to import data."
+COM_SERMONDISTRIBUTOR_IMPORT_ERROR="Import error."
+COM_SERMONDISTRIBUTOR_IMPORT_FAILED="Import Failed"
+COM_SERMONDISTRIBUTOR_IMPORT_FILE_COLUMNS="File Columns"
+COM_SERMONDISTRIBUTOR_IMPORT_FORMATS_ACCEPTED="formats accepted"
+COM_SERMONDISTRIBUTOR_IMPORT_FROM_DIRECTORY="Directory"
+COM_SERMONDISTRIBUTOR_IMPORT_FROM_UPLOAD="Upload"
+COM_SERMONDISTRIBUTOR_IMPORT_FROM_URL="URL"
+COM_SERMONDISTRIBUTOR_IMPORT_GET_BOTTON="Get File"
+COM_SERMONDISTRIBUTOR_IMPORT_IGNORE_COLUMN="-- Ignore This Column --"
+COM_SERMONDISTRIBUTOR_IMPORT_LINK_FILE_TO_TABLE_COLUMNS="Link File to Table Columns"
+COM_SERMONDISTRIBUTOR_IMPORT_MSG_DOES_NOT_HAVE_A_VALID_FILE_TYPE="Does not have a valid file type."
+COM_SERMONDISTRIBUTOR_IMPORT_MSG_ENTER_A_URL="Please enter a url."
+COM_SERMONDISTRIBUTOR_IMPORT_MSG_INVALID_URL="Invalid url."
+COM_SERMONDISTRIBUTOR_IMPORT_MSG_NO_FILE_SELECTED="No import file selected."
+COM_SERMONDISTRIBUTOR_IMPORT_MSG_PATH_DOES_NOT_HAVE_A_VALID_PACKAGE="Path does not have a valid file."
+COM_SERMONDISTRIBUTOR_IMPORT_MSG_PLEASE_ENTER_A_PACKAGE_DIRECTORY="Please enter the file directory."
+COM_SERMONDISTRIBUTOR_IMPORT_MSG_PLEASE_SELECT_ALL_COLUMNS="Please link all columns."
+COM_SERMONDISTRIBUTOR_IMPORT_MSG_PLEASE_SELECT_A_DIRECTORY="Please enter the file directory."
+COM_SERMONDISTRIBUTOR_IMPORT_MSG_PLEASE_SELECT_A_FILE="Please select a file to import."
+COM_SERMONDISTRIBUTOR_IMPORT_MSG_WARNIMPORTFILE="Warning, import file error."
+COM_SERMONDISTRIBUTOR_IMPORT_MSG_WARNIMPORTUPLOADERROR="Warning, import upload error."
+COM_SERMONDISTRIBUTOR_IMPORT_NO_IMPORT_TYPE_FOUND="Import type not found."
+COM_SERMONDISTRIBUTOR_IMPORT_PLEASE_SELECT_COLUMN="-- Please Select Column --"
+COM_SERMONDISTRIBUTOR_IMPORT_SELECT_FILE="Select File"
+COM_SERMONDISTRIBUTOR_IMPORT_SELECT_FILE_DIRECTORY="Set the path to file"
+COM_SERMONDISTRIBUTOR_IMPORT_SELECT_FILE_FOR_EXTERNAL_SOURCES="Select the file to import data to external_sources."
+COM_SERMONDISTRIBUTOR_IMPORT_SELECT_FILE_FOR_HELP_DOCUMENTS="Select the file to import data to help_documents."
+COM_SERMONDISTRIBUTOR_IMPORT_SELECT_FILE_FOR_LOCAL_LISTINGS="Select the file to import data to local_listings."
+COM_SERMONDISTRIBUTOR_IMPORT_SELECT_FILE_FOR_PREACHERS="Select the file to import data to preachers."
+COM_SERMONDISTRIBUTOR_IMPORT_SELECT_FILE_FOR_SERIES_LIST="Select the file to import data to series_list."
+COM_SERMONDISTRIBUTOR_IMPORT_SELECT_FILE_FOR_SERMONS="Select the file to import data to sermons."
+COM_SERMONDISTRIBUTOR_IMPORT_SELECT_FILE_FOR_STATISTICS="Select the file to import data to statistics."
+COM_SERMONDISTRIBUTOR_IMPORT_SELECT_FILE_URL="Enter file URL"
+COM_SERMONDISTRIBUTOR_IMPORT_SUCCESS="Great! Import successful."
+COM_SERMONDISTRIBUTOR_IMPORT_TABLE_COLUMNS="Table Columns"
+COM_SERMONDISTRIBUTOR_IMPORT_TITLE="Data Importer"
+COM_SERMONDISTRIBUTOR_IMPORT_UNABLE_TO_FIND_IMPORT_PACKAGE="Package to import not found."
+COM_SERMONDISTRIBUTOR_IMPORT_UPDATE_DATA="Import Data"
+COM_SERMONDISTRIBUTOR_IMPORT_UPLOAD_BOTTON="Upload File"
+COM_SERMONDISTRIBUTOR_KEEP_ORIGINAL_ACCESS="- Keep Original Access -"
+COM_SERMONDISTRIBUTOR_KEEP_ORIGINAL_CATEGORY="- Keep Original Category -"
+COM_SERMONDISTRIBUTOR_KEEP_ORIGINAL_STATE="- Keep Original State -"
+COM_SERMONDISTRIBUTOR_LICENSE="License"
+COM_SERMONDISTRIBUTOR_LOCAL_LISTING="Local Listing"
+COM_SERMONDISTRIBUTOR_LOCAL_LISTINGS="Local Listings"
+COM_SERMONDISTRIBUTOR_LOCAL_LISTINGS_ACCESS="Local Listings Access"
+COM_SERMONDISTRIBUTOR_LOCAL_LISTINGS_ACCESS_DESC="Allows the users in this group to access access local listings"
+COM_SERMONDISTRIBUTOR_LOCAL_LISTINGS_BATCH_OPTIONS="Batch process the selected Local Listings"
+COM_SERMONDISTRIBUTOR_LOCAL_LISTINGS_BATCH_TIP="All changes will be applied to all selected Local Listings"
+COM_SERMONDISTRIBUTOR_LOCAL_LISTINGS_BATCH_USE="Local Listings Batch Use"
+COM_SERMONDISTRIBUTOR_LOCAL_LISTINGS_BATCH_USE_DESC="Allows users in this group to use batch copy/update method of batch local listings"
+COM_SERMONDISTRIBUTOR_LOCAL_LISTINGS_CREATE="Local Listings Create"
+COM_SERMONDISTRIBUTOR_LOCAL_LISTINGS_CREATE_DESC="Allows the users in this group to create create local listings"
+COM_SERMONDISTRIBUTOR_LOCAL_LISTINGS_DASHBOARD_LIST="Local Listings Dashboard List"
+COM_SERMONDISTRIBUTOR_LOCAL_LISTINGS_DASHBOARD_LIST_DESC="Allows the users in this group to update the dashboard list of the local listing"
+COM_SERMONDISTRIBUTOR_LOCAL_LISTINGS_DELETE="Local Listings Delete"
+COM_SERMONDISTRIBUTOR_LOCAL_LISTINGS_DELETE_DESC="Allows the users in this group to delete delete local listings"
+COM_SERMONDISTRIBUTOR_LOCAL_LISTINGS_EDIT="Local Listings Edit"
+COM_SERMONDISTRIBUTOR_LOCAL_LISTINGS_EDIT_BUILD="Local Listings Edit Build"
+COM_SERMONDISTRIBUTOR_LOCAL_LISTINGS_EDIT_BUILD_DESC="Allows the users in this group to update the edit build of the local listing"
+COM_SERMONDISTRIBUTOR_LOCAL_LISTINGS_EDIT_CREATED_BY="Local Listings Edit Created By"
+COM_SERMONDISTRIBUTOR_LOCAL_LISTINGS_EDIT_CREATED_BY_DESC="Allows the users in this group to update the created by of the edit created by local listings"
+COM_SERMONDISTRIBUTOR_LOCAL_LISTINGS_EDIT_CREATED_DATE="Local Listings Edit Created Date"
+COM_SERMONDISTRIBUTOR_LOCAL_LISTINGS_EDIT_CREATED_DATE_DESC="Allows the users in this group to update the created date of the edit created local listings"
+COM_SERMONDISTRIBUTOR_LOCAL_LISTINGS_EDIT_DESC="Allows the users in this group to edit the local listing"
+COM_SERMONDISTRIBUTOR_LOCAL_LISTINGS_EDIT_EXTERNAL_SOURCE="Local Listings Edit External Source"
+COM_SERMONDISTRIBUTOR_LOCAL_LISTINGS_EDIT_EXTERNAL_SOURCE_DESC="Allows the users in this group to update the edit external source of the local listing"
+COM_SERMONDISTRIBUTOR_LOCAL_LISTINGS_EDIT_KEY="Local Listings Edit Key"
+COM_SERMONDISTRIBUTOR_LOCAL_LISTINGS_EDIT_KEY_DESC="Allows the users in this group to update the edit key of the local listing"
+COM_SERMONDISTRIBUTOR_LOCAL_LISTINGS_EDIT_NAME="Local Listings Edit Name"
+COM_SERMONDISTRIBUTOR_LOCAL_LISTINGS_EDIT_NAME_DESC="Allows the users in this group to update the edit name of the local listing"
+COM_SERMONDISTRIBUTOR_LOCAL_LISTINGS_EDIT_OWN="Local Listings Edit Own"
+COM_SERMONDISTRIBUTOR_LOCAL_LISTINGS_EDIT_OWN_DESC="Allows the users in this group to edit edit own local listings created by them"
+COM_SERMONDISTRIBUTOR_LOCAL_LISTINGS_EDIT_SIZE="Local Listings Edit Size"
+COM_SERMONDISTRIBUTOR_LOCAL_LISTINGS_EDIT_SIZE_DESC="Allows the users in this group to update the edit size of the local listing"
+COM_SERMONDISTRIBUTOR_LOCAL_LISTINGS_EDIT_STATE="Local Listings Edit State"
+COM_SERMONDISTRIBUTOR_LOCAL_LISTINGS_EDIT_STATE_DESC="Allows the users in this group to update the state of the local listing"
+COM_SERMONDISTRIBUTOR_LOCAL_LISTINGS_EDIT_URL="Local Listings Edit Url"
+COM_SERMONDISTRIBUTOR_LOCAL_LISTINGS_EDIT_URL_DESC="Allows the users in this group to update the edit url of the local listing"
+COM_SERMONDISTRIBUTOR_LOCAL_LISTINGS_EDIT_VERSION="Local Listings Edit Version"
+COM_SERMONDISTRIBUTOR_LOCAL_LISTINGS_EDIT_VERSION_DESC="Allows users in this group to edit versions of version local listings"
+COM_SERMONDISTRIBUTOR_LOCAL_LISTINGS_EXPORT="Local Listings Export"
+COM_SERMONDISTRIBUTOR_LOCAL_LISTINGS_EXPORT_DESC="Allows the users in this group to export export local listings"
+COM_SERMONDISTRIBUTOR_LOCAL_LISTINGS_IMPORT="Local Listings Import"
+COM_SERMONDISTRIBUTOR_LOCAL_LISTINGS_IMPORT_DESC="Allows the users in this group to import import local listings"
+COM_SERMONDISTRIBUTOR_LOCAL_LISTINGS_N_ITEMS_ARCHIVED="%s Local Listings archived."
+COM_SERMONDISTRIBUTOR_LOCAL_LISTINGS_N_ITEMS_ARCHIVED_1="%s Local Listing archived."
+COM_SERMONDISTRIBUTOR_LOCAL_LISTINGS_N_ITEMS_CHECKED_IN_0="No Local Listing successfully checked in."
+COM_SERMONDISTRIBUTOR_LOCAL_LISTINGS_N_ITEMS_CHECKED_IN_1="%d Local Listing successfully checked in."
+COM_SERMONDISTRIBUTOR_LOCAL_LISTINGS_N_ITEMS_CHECKED_IN_MORE="%d Local Listings successfully checked in."
+COM_SERMONDISTRIBUTOR_LOCAL_LISTINGS_N_ITEMS_DELETED="%s Local Listings deleted."
+COM_SERMONDISTRIBUTOR_LOCAL_LISTINGS_N_ITEMS_DELETED_1="%s Local Listing deleted."
+COM_SERMONDISTRIBUTOR_LOCAL_LISTINGS_N_ITEMS_FEATURED="%s Local Listings featured."
+COM_SERMONDISTRIBUTOR_LOCAL_LISTINGS_N_ITEMS_FEATURED_1="%s Local Listing featured."
+COM_SERMONDISTRIBUTOR_LOCAL_LISTINGS_N_ITEMS_PUBLISHED="%s Local Listings published."
+COM_SERMONDISTRIBUTOR_LOCAL_LISTINGS_N_ITEMS_PUBLISHED_1="%s Local Listing published."
+COM_SERMONDISTRIBUTOR_LOCAL_LISTINGS_N_ITEMS_TRASHED="%s Local Listings trashed."
+COM_SERMONDISTRIBUTOR_LOCAL_LISTINGS_N_ITEMS_TRASHED_1="%s Local Listing trashed."
+COM_SERMONDISTRIBUTOR_LOCAL_LISTINGS_N_ITEMS_UNFEATURED="%s Local Listings unfeatured."
+COM_SERMONDISTRIBUTOR_LOCAL_LISTINGS_N_ITEMS_UNFEATURED_1="%s Local Listing unfeatured."
+COM_SERMONDISTRIBUTOR_LOCAL_LISTINGS_N_ITEMS_UNPUBLISHED="%s Local Listings unpublished."
+COM_SERMONDISTRIBUTOR_LOCAL_LISTINGS_N_ITEMS_UNPUBLISHED_1="%s Local Listing unpublished."
+COM_SERMONDISTRIBUTOR_LOCAL_LISTINGS_SUBMENU="Local Listings Submenu"
+COM_SERMONDISTRIBUTOR_LOCAL_LISTINGS_SUBMENU_DESC="Allows the users in this group to update the submenu of the local listing"
+COM_SERMONDISTRIBUTOR_LOCAL_LISTING_BUILD="Build"
+COM_SERMONDISTRIBUTOR_LOCAL_LISTING_BUILD_DESCRIPTION="Set the method used to add files."
+COM_SERMONDISTRIBUTOR_LOCAL_LISTING_BUILD_LABEL="Build Option"
+COM_SERMONDISTRIBUTOR_LOCAL_LISTING_CREATED_BY_DESC="The user that created this Local Listing."
+COM_SERMONDISTRIBUTOR_LOCAL_LISTING_CREATED_BY_LABEL="Created By"
+COM_SERMONDISTRIBUTOR_LOCAL_LISTING_CREATED_DATE_DESC="The date this Local Listing was created."
+COM_SERMONDISTRIBUTOR_LOCAL_LISTING_CREATED_DATE_LABEL="Created Date"
+COM_SERMONDISTRIBUTOR_LOCAL_LISTING_DETAILS="Details"
+COM_SERMONDISTRIBUTOR_LOCAL_LISTING_DYNAMIC_AUTOMATIC_BUILD="Dynamic Automatic Build"
+COM_SERMONDISTRIBUTOR_LOCAL_LISTING_EDIT="Editing the Local Listing"
+COM_SERMONDISTRIBUTOR_LOCAL_LISTING_ERROR_UNIQUE_ALIAS="Another Local Listing has the same alias."
+COM_SERMONDISTRIBUTOR_LOCAL_LISTING_EXTERNAL_SOURCE="External Source"
+COM_SERMONDISTRIBUTOR_LOCAL_LISTING_EXTERNAL_SOURCE_DESCRIPTION="The external source of this listing"
+COM_SERMONDISTRIBUTOR_LOCAL_LISTING_EXTERNAL_SOURCE_LABEL="External Source"
+COM_SERMONDISTRIBUTOR_LOCAL_LISTING_ID="Id"
+COM_SERMONDISTRIBUTOR_LOCAL_LISTING_KEY="Key"
+COM_SERMONDISTRIBUTOR_LOCAL_LISTING_KEY_DESCRIPTION="This key will be used for this local listing."
+COM_SERMONDISTRIBUTOR_LOCAL_LISTING_KEY_HINT="Listing Key"
+COM_SERMONDISTRIBUTOR_LOCAL_LISTING_KEY_LABEL="Listing Key"
+COM_SERMONDISTRIBUTOR_LOCAL_LISTING_MANUAL_LOCAL_SELECTION="Manual Local Selection"
+COM_SERMONDISTRIBUTOR_LOCAL_LISTING_MODIFIED_BY_DESC="The last user that modified this Local Listing."
+COM_SERMONDISTRIBUTOR_LOCAL_LISTING_MODIFIED_BY_LABEL="Modified By"
+COM_SERMONDISTRIBUTOR_LOCAL_LISTING_MODIFIED_DATE_DESC="The date this Local Listing was modified."
+COM_SERMONDISTRIBUTOR_LOCAL_LISTING_MODIFIED_DATE_LABEL="Modified Date"
+COM_SERMONDISTRIBUTOR_LOCAL_LISTING_NAME="Name"
+COM_SERMONDISTRIBUTOR_LOCAL_LISTING_NAME_DESCRIPTION="This is the file name."
+COM_SERMONDISTRIBUTOR_LOCAL_LISTING_NAME_HINT="file name"
+COM_SERMONDISTRIBUTOR_LOCAL_LISTING_NAME_LABEL="File Name"
+COM_SERMONDISTRIBUTOR_LOCAL_LISTING_NEW="A New Local Listing"
+COM_SERMONDISTRIBUTOR_LOCAL_LISTING_ORDERING_LABEL="Ordering"
+COM_SERMONDISTRIBUTOR_LOCAL_LISTING_PERMISSION="Permissions"
+COM_SERMONDISTRIBUTOR_LOCAL_LISTING_PUBLISHING="Publishing"
+COM_SERMONDISTRIBUTOR_LOCAL_LISTING_SAVE_WARNING="Alias already existed so a number was added at the end. You can re-edit the Local Listing to customise the alias."
+COM_SERMONDISTRIBUTOR_LOCAL_LISTING_SELECT_AN_OPTION="Select an option"
+COM_SERMONDISTRIBUTOR_LOCAL_LISTING_SIZE="Size"
+COM_SERMONDISTRIBUTOR_LOCAL_LISTING_SIZE_DESCRIPTION="This is the file size."
+COM_SERMONDISTRIBUTOR_LOCAL_LISTING_SIZE_HINT="file size"
+COM_SERMONDISTRIBUTOR_LOCAL_LISTING_SIZE_LABEL="File Size"
+COM_SERMONDISTRIBUTOR_LOCAL_LISTING_STATUS="Status"
+COM_SERMONDISTRIBUTOR_LOCAL_LISTING_URL="Url"
+COM_SERMONDISTRIBUTOR_LOCAL_LISTING_URL_DESCRIPTION="This is the shared URL."
+COM_SERMONDISTRIBUTOR_LOCAL_LISTING_URL_HINT="shared URL"
+COM_SERMONDISTRIBUTOR_LOCAL_LISTING_URL_LABEL="Shared-URL"
+COM_SERMONDISTRIBUTOR_LOCAL_LISTING_VERSION_DESC="A count of the number of times this Local Listing has been revised."
+COM_SERMONDISTRIBUTOR_LOCAL_LISTING_VERSION_LABEL="Revision"
+COM_SERMONDISTRIBUTOR_MANUAL_UPDATER="Manual Updater"
+COM_SERMONDISTRIBUTOR_MANUAL_UPDATER_ACCESS="Manual Updater Access"
+COM_SERMONDISTRIBUTOR_MANUAL_UPDATER_ACCESS_DESC="Allows the users in this group to access Manual Updater"
+COM_SERMONDISTRIBUTOR_MANUAL_UPDATER_DASHBOARD_LIST="Manual Updater Dashboard List"
+COM_SERMONDISTRIBUTOR_MANUAL_UPDATER_DASHBOARD_LIST_DESC="Allows the users in this group to update the dashboard list of the Manual Updater"
+COM_SERMONDISTRIBUTOR_MANUAL_UPDATER_DESC="Manual Updater"
+COM_SERMONDISTRIBUTOR_MANUAL_UPDATER_EXTERNAL_SOURCES_BUTTON_ACCESS="Manual Updater External Sources Button Access"
+COM_SERMONDISTRIBUTOR_MANUAL_UPDATER_EXTERNAL_SOURCES_BUTTON_ACCESS_DESC=" Allows the users in this group to access the external sources button."
+COM_SERMONDISTRIBUTOR_MANUAL_UPDATER_SUBMENU="Manual Updater Submenu"
+COM_SERMONDISTRIBUTOR_MANUAL_UPDATER_SUBMENU_DESC="Allows the users in this group to update the submenu of the Manual Updater"
COM_SERMONDISTRIBUTOR_MAX_VOLUME="max volume"
COM_SERMONDISTRIBUTOR_MUTE="mute"
COM_SERMONDISTRIBUTOR_NAME="Name"
COM_SERMONDISTRIBUTOR_NAME_ASC="Name (Asc)"
COM_SERMONDISTRIBUTOR_NAME_DESC="Name (Desc)"
COM_SERMONDISTRIBUTOR_NEW="New"
+COM_SERMONDISTRIBUTOR_NEW_ISSUE="New Issue"
COM_SERMONDISTRIBUTOR_NEXT="next"
+COM_SERMONDISTRIBUTOR_NOT_FOUND_OR_ACCESS_DENIED="Not found, or access denied."
+COM_SERMONDISTRIBUTOR_NO_ACCESS_GRANTED="No Access Granted!"
COM_SERMONDISTRIBUTOR_NO_CATEGORIES_WERE_FOUND="No categories were found."
COM_SERMONDISTRIBUTOR_NO_CATEGORY_WAS_FOUND="No category was found."
+COM_SERMONDISTRIBUTOR_NO_FILES_LINKED_YET="No Files Linked Yet"
+COM_SERMONDISTRIBUTOR_NO_MANUAL_UPDATES_AVAILABLE="No Manual Updates Available"
COM_SERMONDISTRIBUTOR_NO_PREACHERS_WERE_FOUND="No preachers were found."
COM_SERMONDISTRIBUTOR_NO_PREACHER_WAS_FOUND="No preacher was found."
COM_SERMONDISTRIBUTOR_NO_SERIES_WAS_FOUND="No series was found."
@@ -38,36 +917,558 @@ COM_SERMONDISTRIBUTOR_NO_SERIES_WERE_FOUND="No Series were found."
COM_SERMONDISTRIBUTOR_NO_SERMONS_WERE_FOUND="No sermons were found."
COM_SERMONDISTRIBUTOR_NO_SERMON_WAS_FOUND="No sermon was found."
COM_SERMONDISTRIBUTOR_OPEN="Open"
+COM_SERMONDISTRIBUTOR_OPENED_BY="opened by"
COM_SERMONDISTRIBUTOR_OPEN_SERMON="Open Sermon"
COM_SERMONDISTRIBUTOR_PLAY="play"
COM_SERMONDISTRIBUTOR_PLAY_AUDIO_FILE="Play Audio File"
+COM_SERMONDISTRIBUTOR_PLEASE_CHECK_AGAIN_LATTER="Please check again latter."
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"
+COM_SERMONDISTRIBUTOR_PREACHERS_BATCH_USE_DESC="Allows users in this group to use batch copy/update method of batch preachers"
+COM_SERMONDISTRIBUTOR_PREACHERS_CREATE="Preachers Create"
+COM_SERMONDISTRIBUTOR_PREACHERS_CREATE_DESC="Allows the users in this group to create create preachers"
+COM_SERMONDISTRIBUTOR_PREACHERS_DASHBOARD_ADD="Preachers Dashboard Add"
+COM_SERMONDISTRIBUTOR_PREACHERS_DASHBOARD_ADD_DESC="Allows the users in this group to update the dashboard add of the preacher"
+COM_SERMONDISTRIBUTOR_PREACHERS_DASHBOARD_LIST="Preachers Dashboard List"
+COM_SERMONDISTRIBUTOR_PREACHERS_DASHBOARD_LIST_DESC="Allows the users in this group to update the dashboard list of the preacher"
+COM_SERMONDISTRIBUTOR_PREACHERS_DELETE="Preachers Delete"
+COM_SERMONDISTRIBUTOR_PREACHERS_DELETE_DESC="Allows the users in this group to delete delete preachers"
COM_SERMONDISTRIBUTOR_PREACHERS_DESC="All preachers that are published"
+COM_SERMONDISTRIBUTOR_PREACHERS_EDIT="Preachers Edit"
+COM_SERMONDISTRIBUTOR_PREACHERS_EDIT_CREATED_BY="Preachers Edit Created By"
+COM_SERMONDISTRIBUTOR_PREACHERS_EDIT_CREATED_BY_DESC="Allows the users in this group to update the created by of the edit created by preachers"
+COM_SERMONDISTRIBUTOR_PREACHERS_EDIT_CREATED_DATE="Preachers Edit Created Date"
+COM_SERMONDISTRIBUTOR_PREACHERS_EDIT_CREATED_DATE_DESC="Allows the users in this group to update the created date of the edit created preachers"
+COM_SERMONDISTRIBUTOR_PREACHERS_EDIT_DESC="Allows the users in this group to edit the preacher"
+COM_SERMONDISTRIBUTOR_PREACHERS_EDIT_OWN="Preachers Edit Own"
+COM_SERMONDISTRIBUTOR_PREACHERS_EDIT_OWN_DESC="Allows the users in this group to edit edit own preachers created by them"
+COM_SERMONDISTRIBUTOR_PREACHERS_EDIT_STATE="Preachers Edit State"
+COM_SERMONDISTRIBUTOR_PREACHERS_EDIT_STATE_DESC="Allows the users in this group to update the state of the preacher"
+COM_SERMONDISTRIBUTOR_PREACHERS_EDIT_VERSION="Preachers Edit Version"
+COM_SERMONDISTRIBUTOR_PREACHERS_EDIT_VERSION_DESC="Allows users in this group to edit versions of version preachers"
+COM_SERMONDISTRIBUTOR_PREACHERS_EXPORT="Preachers Export"
+COM_SERMONDISTRIBUTOR_PREACHERS_EXPORT_DESC="Allows the users in this group to export export preachers"
+COM_SERMONDISTRIBUTOR_PREACHERS_IMPORT="Preachers Import"
+COM_SERMONDISTRIBUTOR_PREACHERS_IMPORT_DESC="Allows the users in this group to import import preachers"
+COM_SERMONDISTRIBUTOR_PREACHERS_N_ITEMS_ARCHIVED="%s Preachers archived."
+COM_SERMONDISTRIBUTOR_PREACHERS_N_ITEMS_ARCHIVED_1="%s Preacher archived."
+COM_SERMONDISTRIBUTOR_PREACHERS_N_ITEMS_CHECKED_IN_0="No Preacher successfully checked in."
+COM_SERMONDISTRIBUTOR_PREACHERS_N_ITEMS_CHECKED_IN_1="%d Preacher successfully checked in."
+COM_SERMONDISTRIBUTOR_PREACHERS_N_ITEMS_CHECKED_IN_MORE="%d Preachers successfully checked in."
+COM_SERMONDISTRIBUTOR_PREACHERS_N_ITEMS_DELETED="%s Preachers deleted."
+COM_SERMONDISTRIBUTOR_PREACHERS_N_ITEMS_DELETED_1="%s Preacher deleted."
+COM_SERMONDISTRIBUTOR_PREACHERS_N_ITEMS_FEATURED="%s Preachers featured."
+COM_SERMONDISTRIBUTOR_PREACHERS_N_ITEMS_FEATURED_1="%s Preacher featured."
+COM_SERMONDISTRIBUTOR_PREACHERS_N_ITEMS_PUBLISHED="%s Preachers published."
+COM_SERMONDISTRIBUTOR_PREACHERS_N_ITEMS_PUBLISHED_1="%s Preacher published."
+COM_SERMONDISTRIBUTOR_PREACHERS_N_ITEMS_TRASHED="%s Preachers trashed."
+COM_SERMONDISTRIBUTOR_PREACHERS_N_ITEMS_TRASHED_1="%s Preacher trashed."
+COM_SERMONDISTRIBUTOR_PREACHERS_N_ITEMS_UNFEATURED="%s Preachers unfeatured."
+COM_SERMONDISTRIBUTOR_PREACHERS_N_ITEMS_UNFEATURED_1="%s Preacher unfeatured."
+COM_SERMONDISTRIBUTOR_PREACHERS_N_ITEMS_UNPUBLISHED="%s Preachers unpublished."
+COM_SERMONDISTRIBUTOR_PREACHERS_N_ITEMS_UNPUBLISHED_1="%s Preacher unpublished."
+COM_SERMONDISTRIBUTOR_PREACHERS_SUBMENU="Preachers Submenu"
+COM_SERMONDISTRIBUTOR_PREACHERS_SUBMENU_DESC="Allows the users in this group to update the submenu of the preacher"
+COM_SERMONDISTRIBUTOR_PREACHER_ACCESS_SITE="Preacher (Site) Access"
+COM_SERMONDISTRIBUTOR_PREACHER_ACCESS_SITE_DESC=" Allows the users in this group to access site preacher."
+COM_SERMONDISTRIBUTOR_PREACHER_ALIAS="Alias"
+COM_SERMONDISTRIBUTOR_PREACHER_ALIAS_HINT="Auto-generated from name"
+COM_SERMONDISTRIBUTOR_PREACHER_ALIAS_LABEL="Alias"
COM_SERMONDISTRIBUTOR_PREACHER_ASC="Preacher (Asc)"
+COM_SERMONDISTRIBUTOR_PREACHER_CREATED_BY_DESC="The user that created this Preacher."
+COM_SERMONDISTRIBUTOR_PREACHER_CREATED_BY_LABEL="Created By"
+COM_SERMONDISTRIBUTOR_PREACHER_CREATED_DATE_DESC="The date this Preacher was created."
+COM_SERMONDISTRIBUTOR_PREACHER_CREATED_DATE_LABEL="Created Date"
COM_SERMONDISTRIBUTOR_PREACHER_DESC="Preacher (Desc)"
+COM_SERMONDISTRIBUTOR_PREACHER_DESCRIPTION="Description"
+COM_SERMONDISTRIBUTOR_PREACHER_DESCRIPTION_LABEL="Description"
+COM_SERMONDISTRIBUTOR_PREACHER_DETAILS="Details"
+COM_SERMONDISTRIBUTOR_PREACHER_EDIT="Editing the Preacher"
+COM_SERMONDISTRIBUTOR_PREACHER_EMAIL="Email"
+COM_SERMONDISTRIBUTOR_PREACHER_EMAIL_DESCRIPTION="Enter Email"
+COM_SERMONDISTRIBUTOR_PREACHER_EMAIL_HINT="demo@example.com"
+COM_SERMONDISTRIBUTOR_PREACHER_EMAIL_LABEL="Email"
+COM_SERMONDISTRIBUTOR_PREACHER_ERROR_UNIQUE_ALIAS="Another Preacher has the same alias."
+COM_SERMONDISTRIBUTOR_PREACHER_ICON="Icon"
+COM_SERMONDISTRIBUTOR_PREACHER_ICON_DESCRIPTION="Must be 358px x 358px"
+COM_SERMONDISTRIBUTOR_PREACHER_ICON_LABEL="Icon"
+COM_SERMONDISTRIBUTOR_PREACHER_ID="Id"
+COM_SERMONDISTRIBUTOR_PREACHER_MODIFIED_BY_DESC="The last user that modified this Preacher."
+COM_SERMONDISTRIBUTOR_PREACHER_MODIFIED_BY_LABEL="Modified By"
+COM_SERMONDISTRIBUTOR_PREACHER_MODIFIED_DATE_DESC="The date this Preacher was modified."
+COM_SERMONDISTRIBUTOR_PREACHER_MODIFIED_DATE_LABEL="Modified Date"
+COM_SERMONDISTRIBUTOR_PREACHER_NAME="Name"
+COM_SERMONDISTRIBUTOR_PREACHER_NAME_DESCRIPTION="Enter Name Here"
+COM_SERMONDISTRIBUTOR_PREACHER_NAME_HINT="Name Here"
+COM_SERMONDISTRIBUTOR_PREACHER_NAME_LABEL="Name"
+COM_SERMONDISTRIBUTOR_PREACHER_NEW="A New Preacher"
+COM_SERMONDISTRIBUTOR_PREACHER_ORDERING_LABEL="Ordering"
+COM_SERMONDISTRIBUTOR_PREACHER_PERMISSION="Permissions"
+COM_SERMONDISTRIBUTOR_PREACHER_PUBLISHING="Publishing"
+COM_SERMONDISTRIBUTOR_PREACHER_SAVE_WARNING="Alias already existed so a number was added at the end. You can re-edit the Preacher to customise the alias."
+COM_SERMONDISTRIBUTOR_PREACHER_SERMONS="Sermons"
+COM_SERMONDISTRIBUTOR_PREACHER_STATUS="Status"
+COM_SERMONDISTRIBUTOR_PREACHER_VERSION_DESC="A count of the number of times this Preacher has been revised."
+COM_SERMONDISTRIBUTOR_PREACHER_VERSION_LABEL="Revision"
+COM_SERMONDISTRIBUTOR_PREACHER_WEBSITE="Website"
+COM_SERMONDISTRIBUTOR_PREACHER_WEBSITE_DESCRIPTION="Enter website address"
+COM_SERMONDISTRIBUTOR_PREACHER_WEBSITE_HINT="http://www.example.com"
+COM_SERMONDISTRIBUTOR_PREACHER_WEBSITE_LABEL="Website"
COM_SERMONDISTRIBUTOR_PREVIOUS="previous"
COM_SERMONDISTRIBUTOR_REPEAT="repeat"
+COM_SERMONDISTRIBUTOR_RESPOND_TO_THIS_ISSUE_ON_GITHUB="Respond to this issue on Github"
+COM_SERMONDISTRIBUTOR_REVIEW_THIS_ISSUE_ON_GITHUB="Review this issue on Github"
+COM_SERMONDISTRIBUTOR_SAVE_SUCCESS="Great! Item successfully saved."
COM_SERMONDISTRIBUTOR_SAVE_TO_YOUR_DROPBOX="Save to your Dropbox"
+COM_SERMONDISTRIBUTOR_SAVE_WARNING="The value already existed so please select another."
COM_SERMONDISTRIBUTOR_SEND_EMAIL_TO="Send email to"
COM_SERMONDISTRIBUTOR_SERIES="Series"
COM_SERMONDISTRIBUTOR_SERIESLIST="Series List"
COM_SERMONDISTRIBUTOR_SERIESLIST_DESC="All series that are published"
+COM_SERMONDISTRIBUTOR_SERIES_ACCESS_SITE="Series (Site) Access"
+COM_SERMONDISTRIBUTOR_SERIES_ACCESS_SITE_DESC=" Allows the users in this group to access site series."
+COM_SERMONDISTRIBUTOR_SERIES_ALIAS="Alias"
+COM_SERMONDISTRIBUTOR_SERIES_ALIAS_HINT="Auto-generated from name"
+COM_SERMONDISTRIBUTOR_SERIES_ALIAS_LABEL="Alias"
COM_SERMONDISTRIBUTOR_SERIES_ASC="Series (Asc)"
+COM_SERMONDISTRIBUTOR_SERIES_CREATED_BY_DESC="The user that created this Series."
+COM_SERMONDISTRIBUTOR_SERIES_CREATED_BY_LABEL="Created By"
+COM_SERMONDISTRIBUTOR_SERIES_CREATED_DATE_DESC="The date this Series was created."
+COM_SERMONDISTRIBUTOR_SERIES_CREATED_DATE_LABEL="Created Date"
COM_SERMONDISTRIBUTOR_SERIES_DESC="Series (Desc)"
+COM_SERMONDISTRIBUTOR_SERIES_DESCRIPTION="Description"
+COM_SERMONDISTRIBUTOR_SERIES_DESCRIPTION_LABEL="Description"
+COM_SERMONDISTRIBUTOR_SERIES_DETAILS="Details"
+COM_SERMONDISTRIBUTOR_SERIES_EDIT="Editing the Series"
+COM_SERMONDISTRIBUTOR_SERIES_ERROR_UNIQUE_ALIAS="Another Series has the same alias."
+COM_SERMONDISTRIBUTOR_SERIES_ICON="Icon"
+COM_SERMONDISTRIBUTOR_SERIES_ICON_DESCRIPTION="Must be 358px x 358px"
+COM_SERMONDISTRIBUTOR_SERIES_ICON_LABEL="Icon"
+COM_SERMONDISTRIBUTOR_SERIES_ID="Id"
+COM_SERMONDISTRIBUTOR_SERIES_LIST="Series List"
+COM_SERMONDISTRIBUTOR_SERIES_LIST_ACCESS="Series List Access"
+COM_SERMONDISTRIBUTOR_SERIES_LIST_ACCESS_DESC="Allows the users in this group to access access series list"
+COM_SERMONDISTRIBUTOR_SERIES_LIST_ACCESS_SITE="Series List (Site) Access"
+COM_SERMONDISTRIBUTOR_SERIES_LIST_ACCESS_SITE_DESC=" Allows the users in this group to access site series list."
+COM_SERMONDISTRIBUTOR_SERIES_LIST_BATCH_OPTIONS="Batch process the selected Series List"
+COM_SERMONDISTRIBUTOR_SERIES_LIST_BATCH_TIP="All changes will be applied to all selected Series List"
+COM_SERMONDISTRIBUTOR_SERIES_LIST_BATCH_USE="Series List Batch Use"
+COM_SERMONDISTRIBUTOR_SERIES_LIST_BATCH_USE_DESC="Allows users in this group to use batch copy/update method of batch series list"
+COM_SERMONDISTRIBUTOR_SERIES_LIST_CREATE="Series List Create"
+COM_SERMONDISTRIBUTOR_SERIES_LIST_CREATE_DESC="Allows the users in this group to create create series list"
+COM_SERMONDISTRIBUTOR_SERIES_LIST_DASHBOARD_ADD="Series List Dashboard Add"
+COM_SERMONDISTRIBUTOR_SERIES_LIST_DASHBOARD_ADD_DESC="Allows the users in this group to update the dashboard add of the series"
+COM_SERMONDISTRIBUTOR_SERIES_LIST_DASHBOARD_LIST="Series List Dashboard List"
+COM_SERMONDISTRIBUTOR_SERIES_LIST_DASHBOARD_LIST_DESC="Allows the users in this group to update the dashboard list of the series"
+COM_SERMONDISTRIBUTOR_SERIES_LIST_DELETE="Series List Delete"
+COM_SERMONDISTRIBUTOR_SERIES_LIST_DELETE_DESC="Allows the users in this group to delete delete series list"
+COM_SERMONDISTRIBUTOR_SERIES_LIST_EDIT="Series List Edit"
+COM_SERMONDISTRIBUTOR_SERIES_LIST_EDIT_CREATED_BY="Series List Edit Created By"
+COM_SERMONDISTRIBUTOR_SERIES_LIST_EDIT_CREATED_BY_DESC="Allows the users in this group to update the created by of the edit created by series list"
+COM_SERMONDISTRIBUTOR_SERIES_LIST_EDIT_CREATED_DATE="Series List Edit Created Date"
+COM_SERMONDISTRIBUTOR_SERIES_LIST_EDIT_CREATED_DATE_DESC="Allows the users in this group to update the created date of the edit created series list"
+COM_SERMONDISTRIBUTOR_SERIES_LIST_EDIT_DESC="Allows the users in this group to edit the series"
+COM_SERMONDISTRIBUTOR_SERIES_LIST_EDIT_OWN="Series List Edit Own"
+COM_SERMONDISTRIBUTOR_SERIES_LIST_EDIT_OWN_DESC="Allows the users in this group to edit edit own series list created by them"
+COM_SERMONDISTRIBUTOR_SERIES_LIST_EDIT_STATE="Series List Edit State"
+COM_SERMONDISTRIBUTOR_SERIES_LIST_EDIT_STATE_DESC="Allows the users in this group to update the state of the series"
+COM_SERMONDISTRIBUTOR_SERIES_LIST_EDIT_VERSION="Series List Edit Version"
+COM_SERMONDISTRIBUTOR_SERIES_LIST_EDIT_VERSION_DESC="Allows users in this group to edit versions of version series list"
+COM_SERMONDISTRIBUTOR_SERIES_LIST_EXPORT="Series List Export"
+COM_SERMONDISTRIBUTOR_SERIES_LIST_EXPORT_DESC="Allows the users in this group to export export series list"
+COM_SERMONDISTRIBUTOR_SERIES_LIST_IMPORT="Series List Import"
+COM_SERMONDISTRIBUTOR_SERIES_LIST_IMPORT_DESC="Allows the users in this group to import import series list"
+COM_SERMONDISTRIBUTOR_SERIES_LIST_N_ITEMS_ARCHIVED="%s Series List archived."
+COM_SERMONDISTRIBUTOR_SERIES_LIST_N_ITEMS_ARCHIVED_1="%s Series archived."
+COM_SERMONDISTRIBUTOR_SERIES_LIST_N_ITEMS_CHECKED_IN_0="No Series successfully checked in."
+COM_SERMONDISTRIBUTOR_SERIES_LIST_N_ITEMS_CHECKED_IN_1="%d Series successfully checked in."
+COM_SERMONDISTRIBUTOR_SERIES_LIST_N_ITEMS_CHECKED_IN_MORE="%d Series List successfully checked in."
+COM_SERMONDISTRIBUTOR_SERIES_LIST_N_ITEMS_DELETED="%s Series List deleted."
+COM_SERMONDISTRIBUTOR_SERIES_LIST_N_ITEMS_DELETED_1="%s Series deleted."
+COM_SERMONDISTRIBUTOR_SERIES_LIST_N_ITEMS_FEATURED="%s Series List featured."
+COM_SERMONDISTRIBUTOR_SERIES_LIST_N_ITEMS_FEATURED_1="%s Series featured."
+COM_SERMONDISTRIBUTOR_SERIES_LIST_N_ITEMS_PUBLISHED="%s Series List published."
+COM_SERMONDISTRIBUTOR_SERIES_LIST_N_ITEMS_PUBLISHED_1="%s Series published."
+COM_SERMONDISTRIBUTOR_SERIES_LIST_N_ITEMS_TRASHED="%s Series List trashed."
+COM_SERMONDISTRIBUTOR_SERIES_LIST_N_ITEMS_TRASHED_1="%s Series trashed."
+COM_SERMONDISTRIBUTOR_SERIES_LIST_N_ITEMS_UNFEATURED="%s Series List unfeatured."
+COM_SERMONDISTRIBUTOR_SERIES_LIST_N_ITEMS_UNFEATURED_1="%s Series unfeatured."
+COM_SERMONDISTRIBUTOR_SERIES_LIST_N_ITEMS_UNPUBLISHED="%s Series List unpublished."
+COM_SERMONDISTRIBUTOR_SERIES_LIST_N_ITEMS_UNPUBLISHED_1="%s Series unpublished."
+COM_SERMONDISTRIBUTOR_SERIES_LIST_SUBMENU="Series List Submenu"
+COM_SERMONDISTRIBUTOR_SERIES_LIST_SUBMENU_DESC="Allows the users in this group to update the submenu of the series"
+COM_SERMONDISTRIBUTOR_SERIES_MODIFIED_BY_DESC="The last user that modified this Series."
+COM_SERMONDISTRIBUTOR_SERIES_MODIFIED_BY_LABEL="Modified By"
+COM_SERMONDISTRIBUTOR_SERIES_MODIFIED_DATE_DESC="The date this Series was modified."
+COM_SERMONDISTRIBUTOR_SERIES_MODIFIED_DATE_LABEL="Modified Date"
+COM_SERMONDISTRIBUTOR_SERIES_NAME="Name"
+COM_SERMONDISTRIBUTOR_SERIES_NAME_DESCRIPTION="Enter Name Here"
+COM_SERMONDISTRIBUTOR_SERIES_NAME_HINT="Name Here"
+COM_SERMONDISTRIBUTOR_SERIES_NAME_LABEL="Name"
+COM_SERMONDISTRIBUTOR_SERIES_NEW="A New Series"
+COM_SERMONDISTRIBUTOR_SERIES_ORDERING_LABEL="Ordering"
+COM_SERMONDISTRIBUTOR_SERIES_PERMISSION="Permissions"
+COM_SERMONDISTRIBUTOR_SERIES_PUBLISHING="Publishing"
+COM_SERMONDISTRIBUTOR_SERIES_SAVE_WARNING="Alias already existed so a number was added at the end. You can re-edit the Series to customise the alias."
+COM_SERMONDISTRIBUTOR_SERIES_SCRIPTURE="Scripture"
+COM_SERMONDISTRIBUTOR_SERIES_SCRIPTURE_DESCRIPTION="Add scripture reference to this sermon, use comma separation for multiply references."
+COM_SERMONDISTRIBUTOR_SERIES_SCRIPTURE_HINT="1 John 3:16, Psalm 1, James 1:1-5"
+COM_SERMONDISTRIBUTOR_SERIES_SCRIPTURE_LABEL="Scripture"
+COM_SERMONDISTRIBUTOR_SERIES_SERMONS="Sermons"
+COM_SERMONDISTRIBUTOR_SERIES_STATUS="Status"
+COM_SERMONDISTRIBUTOR_SERIES_VERSION_DESC="A count of the number of times this Series has been revised."
+COM_SERMONDISTRIBUTOR_SERIES_VERSION_LABEL="Revision"
COM_SERMONDISTRIBUTOR_SERMON="Sermon"
+COM_SERMONDISTRIBUTOR_SERMONS="Sermons"
+COM_SERMONDISTRIBUTOR_SERMONS_ACCESS="Sermons Access"
+COM_SERMONDISTRIBUTOR_SERMONS_ACCESS_DESC="Allows the users in this group to access access sermons"
+COM_SERMONDISTRIBUTOR_SERMONS_BATCH_OPTIONS="Batch process the selected Sermons"
+COM_SERMONDISTRIBUTOR_SERMONS_BATCH_TIP="All changes will be applied to all selected Sermons"
+COM_SERMONDISTRIBUTOR_SERMONS_BATCH_USE="Sermons Batch Use"
+COM_SERMONDISTRIBUTOR_SERMONS_BATCH_USE_DESC="Allows users in this group to use batch copy/update method of batch sermons"
COM_SERMONDISTRIBUTOR_SERMONS_COUNT_ASC="Sermons Count (Asc)"
COM_SERMONDISTRIBUTOR_SERMONS_COUNT_DESC="Sermons Count (Desc)"
+COM_SERMONDISTRIBUTOR_SERMONS_CREATE="Sermons Create"
+COM_SERMONDISTRIBUTOR_SERMONS_CREATE_DESC="Allows the users in this group to create create sermons"
+COM_SERMONDISTRIBUTOR_SERMONS_DASHBOARD_ADD="Sermons Dashboard Add"
+COM_SERMONDISTRIBUTOR_SERMONS_DASHBOARD_ADD_DESC="Allows the users in this group to update the dashboard add of the sermon"
+COM_SERMONDISTRIBUTOR_SERMONS_DASHBOARD_LIST="Sermons Dashboard List"
+COM_SERMONDISTRIBUTOR_SERMONS_DASHBOARD_LIST_DESC="Allows the users in this group to update the dashboard list of the sermon"
+COM_SERMONDISTRIBUTOR_SERMONS_DELETE="Sermons Delete"
+COM_SERMONDISTRIBUTOR_SERMONS_DELETE_DESC="Allows the users in this group to delete delete sermons"
+COM_SERMONDISTRIBUTOR_SERMONS_EDIT="Sermons Edit"
+COM_SERMONDISTRIBUTOR_SERMONS_EDIT_CREATED_BY="Sermons Edit Created By"
+COM_SERMONDISTRIBUTOR_SERMONS_EDIT_CREATED_BY_DESC="Allows the users in this group to update the created by of the edit created by sermons"
+COM_SERMONDISTRIBUTOR_SERMONS_EDIT_CREATED_DATE="Sermons Edit Created Date"
+COM_SERMONDISTRIBUTOR_SERMONS_EDIT_CREATED_DATE_DESC="Allows the users in this group to update the created date of the edit created sermons"
+COM_SERMONDISTRIBUTOR_SERMONS_EDIT_DESC="Allows the users in this group to edit the sermon"
+COM_SERMONDISTRIBUTOR_SERMONS_EDIT_OWN="Sermons Edit Own"
+COM_SERMONDISTRIBUTOR_SERMONS_EDIT_OWN_DESC="Allows the users in this group to edit edit own sermons created by them"
+COM_SERMONDISTRIBUTOR_SERMONS_EDIT_STATE="Sermons Edit State"
+COM_SERMONDISTRIBUTOR_SERMONS_EDIT_STATE_DESC="Allows the users in this group to update the state of the sermon"
+COM_SERMONDISTRIBUTOR_SERMONS_EDIT_VERSION="Sermons Edit Version"
+COM_SERMONDISTRIBUTOR_SERMONS_EDIT_VERSION_DESC="Allows users in this group to edit versions of version sermons"
+COM_SERMONDISTRIBUTOR_SERMONS_EXPORT="Sermons Export"
+COM_SERMONDISTRIBUTOR_SERMONS_EXPORT_DESC="Allows the users in this group to export export sermons"
+COM_SERMONDISTRIBUTOR_SERMONS_IMPORT="Sermons Import"
+COM_SERMONDISTRIBUTOR_SERMONS_IMPORT_DESC="Allows the users in this group to import import sermons"
+COM_SERMONDISTRIBUTOR_SERMONS_N_ITEMS_ARCHIVED="%s Sermons archived."
+COM_SERMONDISTRIBUTOR_SERMONS_N_ITEMS_ARCHIVED_1="%s Sermon archived."
+COM_SERMONDISTRIBUTOR_SERMONS_N_ITEMS_CHECKED_IN_0="No Sermon successfully checked in."
+COM_SERMONDISTRIBUTOR_SERMONS_N_ITEMS_CHECKED_IN_1="%d Sermon successfully checked in."
+COM_SERMONDISTRIBUTOR_SERMONS_N_ITEMS_CHECKED_IN_MORE="%d Sermons successfully checked in."
+COM_SERMONDISTRIBUTOR_SERMONS_N_ITEMS_DELETED="%s Sermons deleted."
+COM_SERMONDISTRIBUTOR_SERMONS_N_ITEMS_DELETED_1="%s Sermon deleted."
+COM_SERMONDISTRIBUTOR_SERMONS_N_ITEMS_FEATURED="%s Sermons featured."
+COM_SERMONDISTRIBUTOR_SERMONS_N_ITEMS_FEATURED_1="%s Sermon featured."
+COM_SERMONDISTRIBUTOR_SERMONS_N_ITEMS_PUBLISHED="%s Sermons published."
+COM_SERMONDISTRIBUTOR_SERMONS_N_ITEMS_PUBLISHED_1="%s Sermon published."
+COM_SERMONDISTRIBUTOR_SERMONS_N_ITEMS_TRASHED="%s Sermons trashed."
+COM_SERMONDISTRIBUTOR_SERMONS_N_ITEMS_TRASHED_1="%s Sermon trashed."
+COM_SERMONDISTRIBUTOR_SERMONS_N_ITEMS_UNFEATURED="%s Sermons unfeatured."
+COM_SERMONDISTRIBUTOR_SERMONS_N_ITEMS_UNFEATURED_1="%s Sermon unfeatured."
+COM_SERMONDISTRIBUTOR_SERMONS_N_ITEMS_UNPUBLISHED="%s Sermons unpublished."
+COM_SERMONDISTRIBUTOR_SERMONS_N_ITEMS_UNPUBLISHED_1="%s Sermon unpublished."
+COM_SERMONDISTRIBUTOR_SERMONS_SUBMENU="Sermons Submenu"
+COM_SERMONDISTRIBUTOR_SERMONS_SUBMENU_DESC="Allows the users in this group to update the submenu of the sermon"
+COM_SERMONDISTRIBUTOR_SERMON_ACCESS_SITE="Sermon (Site) Access"
+COM_SERMONDISTRIBUTOR_SERMON_ACCESS_SITE_DESC=" Allows the users in this group to access site sermon."
+COM_SERMONDISTRIBUTOR_SERMON_ALIAS="Alias"
+COM_SERMONDISTRIBUTOR_SERMON_ALIAS_HINT="Auto-generated from name"
+COM_SERMONDISTRIBUTOR_SERMON_ALIAS_LABEL="Alias"
+COM_SERMONDISTRIBUTOR_SERMON_AUTO_SERMONS="Auto Sermons"
+COM_SERMONDISTRIBUTOR_SERMON_BUILD="Build"
+COM_SERMONDISTRIBUTOR_SERMON_BUILD_DESCRIPTION="Set the method used to add files."
+COM_SERMONDISTRIBUTOR_SERMON_BUILD_LABEL="Build Option"
+COM_SERMONDISTRIBUTOR_SERMON_CATID_DESCRIPTION="select one of the following categories"
+COM_SERMONDISTRIBUTOR_SERMON_CATID_LABEL="Category"
COM_SERMONDISTRIBUTOR_SERMON_COUNT="Sermon Count"
+COM_SERMONDISTRIBUTOR_SERMON_CREATED_BY_DESC="The user that created this Sermon."
+COM_SERMONDISTRIBUTOR_SERMON_CREATED_BY_LABEL="Created By"
+COM_SERMONDISTRIBUTOR_SERMON_CREATED_DATE_DESC="The date this Sermon was created."
+COM_SERMONDISTRIBUTOR_SERMON_CREATED_DATE_LABEL="Created Date"
COM_SERMONDISTRIBUTOR_SERMON_DESC="A series that is published"
+COM_SERMONDISTRIBUTOR_SERMON_DESCRIPTION="Description"
+COM_SERMONDISTRIBUTOR_SERMON_DESCRIPTION_LABEL="Description"
+COM_SERMONDISTRIBUTOR_SERMON_DETAILS="Details"
+COM_SERMONDISTRIBUTOR_SERMON_DIRECT="Direct"
COM_SERMONDISTRIBUTOR_SERMON_DOWNLOAD_COUNT="Sermon Download Count"
COM_SERMONDISTRIBUTOR_SERMON_DOWNLOAD_COUNTER_TOTAL="Sermon Download Counter Total"
+COM_SERMONDISTRIBUTOR_SERMON_DYNAMIC_AUTOMATIC_BUILD="Dynamic Automatic Build"
+COM_SERMONDISTRIBUTOR_SERMON_EDIT="Editing the Sermon"
+COM_SERMONDISTRIBUTOR_SERMON_ENCRYPTED="Encrypted"
+COM_SERMONDISTRIBUTOR_SERMON_ERROR_UNIQUE_ALIAS="Another Sermon has the same alias."
+COM_SERMONDISTRIBUTOR_SERMON_EXTERNAL_SOURCE="External Source"
+COM_SERMONDISTRIBUTOR_SERMON_FILES="Files"
+COM_SERMONDISTRIBUTOR_SERMON_ICON="Icon"
+COM_SERMONDISTRIBUTOR_SERMON_ICON_DESCRIPTION="Must be 358px x 358px"
+COM_SERMONDISTRIBUTOR_SERMON_ICON_LABEL="Icon"
+COM_SERMONDISTRIBUTOR_SERMON_ID="Id"
+COM_SERMONDISTRIBUTOR_SERMON_LINK_TYPE="Link Type"
+COM_SERMONDISTRIBUTOR_SERMON_LINK_TYPE_DESCRIPTION="Set the method used to build download links."
+COM_SERMONDISTRIBUTOR_SERMON_LINK_TYPE_LABEL="Download Link Option"
+COM_SERMONDISTRIBUTOR_SERMON_LOCAL_FILES="Local Files"
+COM_SERMONDISTRIBUTOR_SERMON_LOCAL_FILES_DESCRIPTION="Select the files you would like to add to this sermon."
+COM_SERMONDISTRIBUTOR_SERMON_LOCAL_FILES_LABEL="Files"
+COM_SERMONDISTRIBUTOR_SERMON_LOCAL_FOLDER="Local Folder"
+COM_SERMONDISTRIBUTOR_SERMON_MANUAL_FILES="Manual Files"
+COM_SERMONDISTRIBUTOR_SERMON_MANUAL_FILES_DESCRIPTION="Select the files you would like to add to this sermon."
+COM_SERMONDISTRIBUTOR_SERMON_MANUAL_FILES_LABEL="Files"
+COM_SERMONDISTRIBUTOR_SERMON_MANUAL_LOCAL_SELECTION="Manual Local Selection"
+COM_SERMONDISTRIBUTOR_SERMON_MODIFIED_BY_DESC="The last user that modified this Sermon."
+COM_SERMONDISTRIBUTOR_SERMON_MODIFIED_BY_LABEL="Modified By"
+COM_SERMONDISTRIBUTOR_SERMON_MODIFIED_DATE_DESC="The date this Sermon was modified."
+COM_SERMONDISTRIBUTOR_SERMON_MODIFIED_DATE_LABEL="Modified Date"
+COM_SERMONDISTRIBUTOR_SERMON_NAME="Name"
+COM_SERMONDISTRIBUTOR_SERMON_NAME_DESCRIPTION="Enter Name Here"
+COM_SERMONDISTRIBUTOR_SERMON_NAME_HINT="Name Here"
+COM_SERMONDISTRIBUTOR_SERMON_NAME_LABEL="Name"
+COM_SERMONDISTRIBUTOR_SERMON_NEW="A New Sermon"
+COM_SERMONDISTRIBUTOR_SERMON_NOTE_AUTO_EXTERNALSOURCE_DESCRIPTION="To integrate auto External Source with your system you need to do the following:
+ - Create main/first auto folder in External Source. This will be where you create the folders with the preacher's name. Using the preacher's alias from the system as the folder name will insure no mismatch, if the preacher already exist on the system.
+ - You can add files directly to the preacher folder if it is not linked to a series.
+ - If you would like the sermon linked to a series, you simply create a folder inside the preacher's folder with the series' name, and place the sermon file inside that series' folder. Using the series' alias from the system as the folder name will insure no mismatch, if the series already exist on the system.
+ - Adding other preachers to the same series will only require creating a folder inside that preacher's folder with the same series' name and placing his sermons inside that new folder. Using the series' alias from the system as the folder name will insure no mismatch, if the series already exist on the system.
+ - The file name will be used as the sermon name.
+ - To ensure that all downloads work well, we need to hold to the following file naming convention:
+
+ - No spaces in the file name!!
+ - No strange characters in the file name only A-z 0-9 underscore and hyphen.
+
+
+ - We use naming conventions to add tags, categories, a short description and combine files under one sermon, these conventions are as follow:
+
+ - To combine files
+
+ - Use a KEY name with TWO underscores before the actual name, example (34key521__the_file_name.mp3 & 34key521__another_file_of_the_same_sermon.pdf)
+ - The KEY may only have alpha numeric characters (A-z 0-9).
+ - You can combine as many files as you like under each sermon with the unique KEY.
+ - There are two ways to set the sermon name with combined files:
+
+ - All Uppercase. example (34key521__THE_FILE_NAME.mp3 & 34key521__another_file_of_the_same_sermon.pdf).
+ - Longest file name if no all-uppercase file name is found. If two file names are the same length the first one is used.
+
+
+ - Uppercase option is the most trusted method since this will insure you get what you expected.
+
+
+ - To tag files
+
+ - Directly after the file name add THREE underscores and then set the tags, example (the_file_name___tag1_tag-with2_tag-three.mp3)
+ - You can add as many tags to a file as you like separated by one underscore and hyphen for spaces in a tag.
+ - Combined files only need to have the tags added to one of the files. If one of the files has a tag that was not already found it will also be added to the sermon as a whole since the combined files are treated as one sermon.
+
+
+ - To add sermons to categories
+
+ - Directly after the file name add FOUR underscores and then set the category name, example (the_file_name____Salvation_Messages.mp3)
+ - You can add only one category per sermon. Combined files only need to have the category name added to one of the files.
+
+
+ - To add a short description
+
+ - Directly after the file name add FIVE underscores and then set the description, example (the_file_name_____The_short_description_can_only_be_one_sentence.mp3)
+ - You can not use any strange characters, only (A-z 0-9) and underscore for spacing.
+ - You can add only one short description per sermon. Combined files only need to have the short description added to one of the files.
+
+
+
+
+ - When you use all the naming conventions together they should follow the following order:
+
+ - KEY before the file name with TWO underscores.
+ - TAGS must be first after the file name with THREE underscores.
+ - CATEGORY must be first after TAGS with FOUR underscores. IF no tags were set then it must be first after the FILE NAME with FOUR underscores.
+ - SHORT DESCRIPTION must be first after CATEGORY with FIVE underscores. IF no category was set then it must be first after the TAGS with FIVE underscores. IF no tags were set then it must be first after the FILE NAME with FIVE underscores.
+
+
+ - Adding folders and sermons will automatically load them to your sermon distributor on your website, or update the already existing sermons with the new files.
+
+
Make sure you have at least one auto folder in External Source and have added the information in the Sermon Distributors "
+COM_SERMONDISTRIBUTOR_SERMON_NOTE_AUTO_EXTERNALSOURCE_LABEL="External Source Integration"
+COM_SERMONDISTRIBUTOR_SERMON_NOTE_LINK_DIRECTED_DESCRIPTION="This link option does not allow counting of the downloads of this file, and does not secures the download location of this file. Other can reuse it by adding it to their own websites, this action is called hotlinking, leeching, piggy-backing."
+COM_SERMONDISTRIBUTOR_SERMON_NOTE_LINK_DIRECTED_LABEL="The Direct Link Option"
+COM_SERMONDISTRIBUTOR_SERMON_NOTE_LINK_ENCRYPTED_DESCRIPTION="This link option allows for counting of all downloads of this file, and secures the download location of this file. The download link also prevents other from reusing the link outside of your website if they are not in the same session."
+COM_SERMONDISTRIBUTOR_SERMON_NOTE_LINK_ENCRYPTED_LABEL="The Encrypted Link Option"
+COM_SERMONDISTRIBUTOR_SERMON_NOTE_MANUAL_EXTERNALSOURCE_DESCRIPTION="To integrate manual External Source option with your system you need to do the following:
+
+ - Create main/first manual folder in External Source. This will be where all files are placed. No sub folders, just one huge folder with all the files!
+ - You will place the file on External Source in that main folder first.
+ - Then the next step will be to come to Sermon Distributor and create the preacher and series if they do not already exist.
+ - Please allow enough time (as set in Sermon Distributor Options) for the local listing of files to update.
+ - Then you should create the sermon the file belongs to and select 'External Source' as the source of your file.
+ - Next select 'Manual' as the build option. This will load a drop-down with the file names in the Manual Folder on External Source. Should the new file not be seen give it a little more time to update the local listing of files.
+ - If the List is very long, you can in the select box type the name of the file and it will shorten the list. Then select your file and continue with the setup of the sermon as usual.
+ - To ensure that all downloads work well, we need to hold to the following file naming convention:
+
+ - No spaces in the file name!!
+ - No strange characters in the file name only A-z 0-9 underscore and hyphen.
+
+
+
+Make sure you have at least one manual folder in External Source and have added the shared link in the Sermon Distributor "
+COM_SERMONDISTRIBUTOR_SERMON_NOTE_MANUAL_EXTERNALSOURCE_LABEL="External Source Integration"
+COM_SERMONDISTRIBUTOR_SERMON_NOT_REQUIRED="Not Required"
+COM_SERMONDISTRIBUTOR_SERMON_ORDERING_LABEL="Ordering"
+COM_SERMONDISTRIBUTOR_SERMON_PERMISSION="Permissions"
+COM_SERMONDISTRIBUTOR_SERMON_PREACHER="Preacher"
+COM_SERMONDISTRIBUTOR_SERMON_PREACHER_DESCRIPTION="Select the preacher this sermon belongs to."
+COM_SERMONDISTRIBUTOR_SERMON_PREACHER_LABEL="Preacher"
+COM_SERMONDISTRIBUTOR_SERMON_PUBLISHING="Publishing"
+COM_SERMONDISTRIBUTOR_SERMON_SAVE_WARNING="Alias already existed so a number was added at the end. You can re-edit the Sermon to customise the alias."
+COM_SERMONDISTRIBUTOR_SERMON_SCRIPTURE="Scripture"
+COM_SERMONDISTRIBUTOR_SERMON_SCRIPTURE_DESCRIPTION="Add scripture reference to this sermon, use comma separation for multiply references."
+COM_SERMONDISTRIBUTOR_SERMON_SCRIPTURE_HINT="1 John 3:16, Psalm 1, James 1:1-5"
+COM_SERMONDISTRIBUTOR_SERMON_SCRIPTURE_LABEL="Scripture"
+COM_SERMONDISTRIBUTOR_SERMON_SELECT_AN_OPTION="Select an option"
+COM_SERMONDISTRIBUTOR_SERMON_SELECT_SOURCE="Select Source"
+COM_SERMONDISTRIBUTOR_SERMON_SERIES="Series"
+COM_SERMONDISTRIBUTOR_SERMON_SERIES_DESCRIPTION="Select the series this sermon belongs to."
+COM_SERMONDISTRIBUTOR_SERMON_SERIES_LABEL="Series"
+COM_SERMONDISTRIBUTOR_SERMON_SERMON_CATEGORY="Sermon Category"
+COM_SERMONDISTRIBUTOR_SERMON_SHORT_DESCRIPTION="Short Description"
+COM_SERMONDISTRIBUTOR_SERMON_SHORT_DESCRIPTION_DESCRIPTION="Enter short description"
+COM_SERMONDISTRIBUTOR_SERMON_SHORT_DESCRIPTION_HINT="Your Short Description Here"
+COM_SERMONDISTRIBUTOR_SERMON_SHORT_DESCRIPTION_LABEL="Short Description"
+COM_SERMONDISTRIBUTOR_SERMON_SOURCE="Source"
+COM_SERMONDISTRIBUTOR_SERMON_SOURCE_DESCRIPTION="Select the source of the file."
+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_LABEL="Tags"
COM_SERMONDISTRIBUTOR_SERMON_TOTAL_DOWNLOADS="Sermon Total Downloads"
+COM_SERMONDISTRIBUTOR_SERMON_URL="Url"
+COM_SERMONDISTRIBUTOR_SERMON_URL_DESCRIPTION="The url to download the sermon."
+COM_SERMONDISTRIBUTOR_SERMON_URL_HINT="http://www.domain.com/direct-link-to-download.mp3"
+COM_SERMONDISTRIBUTOR_SERMON_URL_LABEL="File URL"
+COM_SERMONDISTRIBUTOR_SERMON_VERSION_DESC="A count of the number of times this Sermon has been revised."
+COM_SERMONDISTRIBUTOR_SERMON_VERSION_LABEL="Revision"
+COM_SERMONDISTRIBUTOR_SHAREDURL="Shared-url"
COM_SERMONDISTRIBUTOR_SHUFFLE="shuffle"
+COM_SERMONDISTRIBUTOR_STATISTIC="Statistic"
+COM_SERMONDISTRIBUTOR_STATISTICS="Statistics"
+COM_SERMONDISTRIBUTOR_STATISTICS_ACCESS="Statistics Access"
+COM_SERMONDISTRIBUTOR_STATISTICS_ACCESS_DESC="Allows the users in this group to access access statistics"
+COM_SERMONDISTRIBUTOR_STATISTICS_BATCH_OPTIONS="Batch process the selected Statistics"
+COM_SERMONDISTRIBUTOR_STATISTICS_BATCH_TIP="All changes will be applied to all selected Statistics"
+COM_SERMONDISTRIBUTOR_STATISTICS_BATCH_USE="Statistics Batch Use"
+COM_SERMONDISTRIBUTOR_STATISTICS_BATCH_USE_DESC="Allows users in this group to use batch copy/update method of batch statistics"
+COM_SERMONDISTRIBUTOR_STATISTICS_CREATE="Statistics Create"
+COM_SERMONDISTRIBUTOR_STATISTICS_CREATE_DESC="Allows the users in this group to create create statistics"
+COM_SERMONDISTRIBUTOR_STATISTICS_DASHBOARD_LIST="Statistics Dashboard List"
+COM_SERMONDISTRIBUTOR_STATISTICS_DASHBOARD_LIST_DESC="Allows the users in this group to update the dashboard list of the statistic"
+COM_SERMONDISTRIBUTOR_STATISTICS_DELETE="Statistics Delete"
+COM_SERMONDISTRIBUTOR_STATISTICS_DELETE_DESC="Allows the users in this group to delete delete statistics"
+COM_SERMONDISTRIBUTOR_STATISTICS_EDIT="Statistics Edit"
+COM_SERMONDISTRIBUTOR_STATISTICS_EDIT_CREATED_BY="Statistics Edit Created By"
+COM_SERMONDISTRIBUTOR_STATISTICS_EDIT_CREATED_BY_DESC="Allows the users in this group to update the created by of the edit created by statistics"
+COM_SERMONDISTRIBUTOR_STATISTICS_EDIT_CREATED_DATE="Statistics Edit Created Date"
+COM_SERMONDISTRIBUTOR_STATISTICS_EDIT_CREATED_DATE_DESC="Allows the users in this group to update the created date of the edit created statistics"
+COM_SERMONDISTRIBUTOR_STATISTICS_EDIT_DESC="Allows the users in this group to edit the statistic"
+COM_SERMONDISTRIBUTOR_STATISTICS_EDIT_OWN="Statistics Edit Own"
+COM_SERMONDISTRIBUTOR_STATISTICS_EDIT_OWN_DESC="Allows the users in this group to edit edit own statistics created by them"
+COM_SERMONDISTRIBUTOR_STATISTICS_EDIT_STATE="Statistics Edit State"
+COM_SERMONDISTRIBUTOR_STATISTICS_EDIT_STATE_DESC="Allows the users in this group to update the state of the statistic"
+COM_SERMONDISTRIBUTOR_STATISTICS_EDIT_VERSION="Statistics Edit Version"
+COM_SERMONDISTRIBUTOR_STATISTICS_EDIT_VERSION_DESC="Allows users in this group to edit versions of version statistics"
+COM_SERMONDISTRIBUTOR_STATISTICS_EXPORT="Statistics Export"
+COM_SERMONDISTRIBUTOR_STATISTICS_EXPORT_DESC="Allows the users in this group to export export statistics"
+COM_SERMONDISTRIBUTOR_STATISTICS_IMPORT="Statistics Import"
+COM_SERMONDISTRIBUTOR_STATISTICS_IMPORT_DESC="Allows the users in this group to import import statistics"
+COM_SERMONDISTRIBUTOR_STATISTICS_N_ITEMS_ARCHIVED="%s Statistics archived."
+COM_SERMONDISTRIBUTOR_STATISTICS_N_ITEMS_ARCHIVED_1="%s Statistic archived."
+COM_SERMONDISTRIBUTOR_STATISTICS_N_ITEMS_CHECKED_IN_0="No Statistic successfully checked in."
+COM_SERMONDISTRIBUTOR_STATISTICS_N_ITEMS_CHECKED_IN_1="%d Statistic successfully checked in."
+COM_SERMONDISTRIBUTOR_STATISTICS_N_ITEMS_CHECKED_IN_MORE="%d Statistics successfully checked in."
+COM_SERMONDISTRIBUTOR_STATISTICS_N_ITEMS_DELETED="%s Statistics deleted."
+COM_SERMONDISTRIBUTOR_STATISTICS_N_ITEMS_DELETED_1="%s Statistic deleted."
+COM_SERMONDISTRIBUTOR_STATISTICS_N_ITEMS_FEATURED="%s Statistics featured."
+COM_SERMONDISTRIBUTOR_STATISTICS_N_ITEMS_FEATURED_1="%s Statistic featured."
+COM_SERMONDISTRIBUTOR_STATISTICS_N_ITEMS_PUBLISHED="%s Statistics published."
+COM_SERMONDISTRIBUTOR_STATISTICS_N_ITEMS_PUBLISHED_1="%s Statistic published."
+COM_SERMONDISTRIBUTOR_STATISTICS_N_ITEMS_TRASHED="%s Statistics trashed."
+COM_SERMONDISTRIBUTOR_STATISTICS_N_ITEMS_TRASHED_1="%s Statistic trashed."
+COM_SERMONDISTRIBUTOR_STATISTICS_N_ITEMS_UNFEATURED="%s Statistics unfeatured."
+COM_SERMONDISTRIBUTOR_STATISTICS_N_ITEMS_UNFEATURED_1="%s Statistic unfeatured."
+COM_SERMONDISTRIBUTOR_STATISTICS_N_ITEMS_UNPUBLISHED="%s Statistics unpublished."
+COM_SERMONDISTRIBUTOR_STATISTICS_N_ITEMS_UNPUBLISHED_1="%s Statistic unpublished."
+COM_SERMONDISTRIBUTOR_STATISTICS_SUBMENU="Statistics Submenu"
+COM_SERMONDISTRIBUTOR_STATISTICS_SUBMENU_DESC="Allows the users in this group to update the submenu of the statistic"
+COM_SERMONDISTRIBUTOR_STATISTIC_COUNTER="Counter"
+COM_SERMONDISTRIBUTOR_STATISTIC_COUNTER_DESCRIPTION="Enter number."
+COM_SERMONDISTRIBUTOR_STATISTIC_COUNTER_HINT="Number Here."
+COM_SERMONDISTRIBUTOR_STATISTIC_COUNTER_LABEL="Counter"
+COM_SERMONDISTRIBUTOR_STATISTIC_CREATED_BY_DESC="The user that created this Statistic."
+COM_SERMONDISTRIBUTOR_STATISTIC_CREATED_BY_LABEL="Created By"
+COM_SERMONDISTRIBUTOR_STATISTIC_CREATED_DATE_DESC="The date this Statistic was created."
+COM_SERMONDISTRIBUTOR_STATISTIC_CREATED_DATE_LABEL="Created Date"
+COM_SERMONDISTRIBUTOR_STATISTIC_DETAILS="Details"
+COM_SERMONDISTRIBUTOR_STATISTIC_EDIT="Editing the Statistic"
+COM_SERMONDISTRIBUTOR_STATISTIC_ERROR_UNIQUE_ALIAS="Another Statistic has the same alias."
+COM_SERMONDISTRIBUTOR_STATISTIC_FILENAME="Filename"
+COM_SERMONDISTRIBUTOR_STATISTIC_FILENAME_DESCRIPTION="Enter the file name."
+COM_SERMONDISTRIBUTOR_STATISTIC_FILENAME_HINT="the_file_name.mp3"
+COM_SERMONDISTRIBUTOR_STATISTIC_FILENAME_LABEL="File Name"
+COM_SERMONDISTRIBUTOR_STATISTIC_ID="Id"
+COM_SERMONDISTRIBUTOR_STATISTIC_MODIFIED_BY_DESC="The last user that modified this Statistic."
+COM_SERMONDISTRIBUTOR_STATISTIC_MODIFIED_BY_LABEL="Modified By"
+COM_SERMONDISTRIBUTOR_STATISTIC_MODIFIED_DATE_DESC="The date this Statistic was modified."
+COM_SERMONDISTRIBUTOR_STATISTIC_MODIFIED_DATE_LABEL="Modified Date"
+COM_SERMONDISTRIBUTOR_STATISTIC_NEW="A New Statistic"
+COM_SERMONDISTRIBUTOR_STATISTIC_ORDERING_LABEL="Ordering"
+COM_SERMONDISTRIBUTOR_STATISTIC_PERMISSION="Permissions"
+COM_SERMONDISTRIBUTOR_STATISTIC_PREACHER="Preacher"
+COM_SERMONDISTRIBUTOR_STATISTIC_PREACHER_DESCRIPTION="Select the preacher this sermon belongs to."
+COM_SERMONDISTRIBUTOR_STATISTIC_PREACHER_LABEL="Preacher"
+COM_SERMONDISTRIBUTOR_STATISTIC_PUBLISHING="Publishing"
+COM_SERMONDISTRIBUTOR_STATISTIC_SAVE_WARNING="Alias already existed so a number was added at the end. You can re-edit the Statistic to customise the alias."
+COM_SERMONDISTRIBUTOR_STATISTIC_SERIES="Series"
+COM_SERMONDISTRIBUTOR_STATISTIC_SERIES_DESCRIPTION="Select the series this sermon belongs to."
+COM_SERMONDISTRIBUTOR_STATISTIC_SERIES_LABEL="Series"
+COM_SERMONDISTRIBUTOR_STATISTIC_SERMON="Sermon"
+COM_SERMONDISTRIBUTOR_STATISTIC_SERMON_DESCRIPTION="Select a sermon."
+COM_SERMONDISTRIBUTOR_STATISTIC_SERMON_LABEL="Sermon"
+COM_SERMONDISTRIBUTOR_STATISTIC_STATUS="Status"
+COM_SERMONDISTRIBUTOR_STATISTIC_VERSION_DESC="A count of the number of times this Statistic has been revised."
+COM_SERMONDISTRIBUTOR_STATISTIC_VERSION_LABEL="Revision"
COM_SERMONDISTRIBUTOR_STOP="stop"
+COM_SERMONDISTRIBUTOR_SUBMENU_DASHBOARD="Dashboard"
+COM_SERMONDISTRIBUTOR_SUBMENU_EXTERNAL_SOURCES="External Sources"
+COM_SERMONDISTRIBUTOR_SUBMENU_HELP_DOCUMENTS="Help Documents"
+COM_SERMONDISTRIBUTOR_SUBMENU_LOCAL_LISTINGS="Local Listings"
+COM_SERMONDISTRIBUTOR_SUBMENU_MANUAL_UPDATER="Manual Updater"
+COM_SERMONDISTRIBUTOR_SUBMENU_PREACHERS="Preachers"
+COM_SERMONDISTRIBUTOR_SUBMENU_SERIES_LIST="Series List"
+COM_SERMONDISTRIBUTOR_SUBMENU_SERMONS="Sermons"
+COM_SERMONDISTRIBUTOR_SUBMENU_STATISTICS="Statistics"
+COM_SERMONDISTRIBUTOR_TARGETED_FOLDER="Targeted Folder"
+COM_SERMONDISTRIBUTOR_THERE_HAS_NO_TARGETS_BEEN_SET_PLEASE_MAKE_SURE_TO_ADD_TARGETS_TO_THIS_EXTERNAL_SOURCE="There has no targets been set, please make sure to add targets to this external source"
+COM_SERMONDISTRIBUTOR_THERE_WAS_AN_ERROR_DURING_THE_LAST_UPDATE_ATTEMPT="There was an error during the last update attempt."
+COM_SERMONDISTRIBUTOR_THE_EXTERNAL_SOURCE_COULD_NOT_BE_FOUND="The external source could not be found."
+COM_SERMONDISTRIBUTOR_THE_FILES_LINKED_FROM_EXTERNAL_SOURCE="The Files Linked from External Source"
+COM_SERMONDISTRIBUTOR_THE_NOTICE_BOARD_IS_LOADING="The notice board is loading"
+COM_SERMONDISTRIBUTOR_THE_README_IS_LOADING="The readme is loading"
+COM_SERMONDISTRIBUTOR_THE_UPDATE_IS_RUNNING="The update is running."
+COM_SERMONDISTRIBUTOR_THE_WIKI_IS_LOADING="The wiki is loading"
COM_SERMONDISTRIBUTOR_TOTAL_DOWNLOADS="Total Downloads"
COM_SERMONDISTRIBUTOR_TO_PLAY_THE_MEDIA_YOU_WILL_NEED_TO_EITHER_UPDATE_YOUR_BROWSER_TO_A_RECENT_VERSION_OR_UPDATE_YOUR="To play the media you will need to either update your browser to a recent version or update your"
+COM_SERMONDISTRIBUTOR_UNKNOWN_ERROR_HAS_OCCURRED="Unknown error has occurred."
+COM_SERMONDISTRIBUTOR_UPDATE_LOCAL_LINKS_OF_TARGET_S_EXTERNAL_SOURCE="Update Local Links of (target %s) External Source"
COM_SERMONDISTRIBUTOR_UPDATE_REQUIRED="Update Required"
+COM_SERMONDISTRIBUTOR_USE_BATCH="Use Batch"
+COM_SERMONDISTRIBUTOR_USE_BATCH_DESC=" Allows users in this group to use batch copy/update method."
+COM_SERMONDISTRIBUTOR_VERSION="Version"
+COM_SERMONDISTRIBUTOR_VIEW_ERROR="View Error!"
+COM_SERMONDISTRIBUTOR_VIEW_MORE_ISSUES_ON_GITHUB="View more issues on Github"
COM_SERMONDISTRIBUTOR_WEBSITE="Website"
JGLOBAL_FIELD_ID_DESC="Record number in the database."
JGLOBAL_FIELD_ID_LABEL="ID"
diff --git a/site/layouts/addtodropboxbutton.php b/site/layouts/addtodropboxbutton.php
index 746f68a1..41c8be00 100644
--- a/site/layouts/addtodropboxbutton.php
+++ b/site/layouts/addtodropboxbutton.php
@@ -10,8 +10,8 @@
|_|
/-------------------------------------------------------------------------------------------------------------------------------/
- @version 1.3.8
- @build 2nd November, 2016
+ @version 1.4.0
+ @build 27th November, 2016
@created 22nd October, 2015
@package Sermon Distributor
@subpackage addtodropboxbutton.php
diff --git a/site/layouts/addtodropboxicon.php b/site/layouts/addtodropboxicon.php
index 3f956791..d43136b9 100644
--- a/site/layouts/addtodropboxicon.php
+++ b/site/layouts/addtodropboxicon.php
@@ -10,8 +10,8 @@
|_|
/-------------------------------------------------------------------------------------------------------------------------------/
- @version 1.3.8
- @build 2nd November, 2016
+ @version 1.4.0
+ @build 27th November, 2016
@created 22nd October, 2015
@package Sermon Distributor
@subpackage addtodropboxicon.php
diff --git a/site/layouts/categorieslistitem.php b/site/layouts/categorieslistitem.php
index eee0d02e..0b10a5e6 100644
--- a/site/layouts/categorieslistitem.php
+++ b/site/layouts/categorieslistitem.php
@@ -10,8 +10,8 @@
|_|
/-------------------------------------------------------------------------------------------------------------------------------/
- @version 1.3.8
- @build 2nd November, 2016
+ @version 1.4.0
+ @build 27th November, 2016
@created 22nd October, 2015
@package Sermon Distributor
@subpackage categorieslistitem.php
diff --git a/site/layouts/categoriespanel.php b/site/layouts/categoriespanel.php
index 5701cdfd..364c2e5c 100644
--- a/site/layouts/categoriespanel.php
+++ b/site/layouts/categoriespanel.php
@@ -10,8 +10,8 @@
|_|
/-------------------------------------------------------------------------------------------------------------------------------/
- @version 1.3.8
- @build 2nd November, 2016
+ @version 1.4.0
+ @build 27th November, 2016
@created 22nd October, 2015
@package Sermon Distributor
@subpackage categoriespanel.php
diff --git a/site/layouts/categoriesrow.php b/site/layouts/categoriesrow.php
index 073a9977..ba674513 100644
--- a/site/layouts/categoriesrow.php
+++ b/site/layouts/categoriesrow.php
@@ -10,8 +10,8 @@
|_|
/-------------------------------------------------------------------------------------------------------------------------------/
- @version 1.3.8
- @build 2nd November, 2016
+ @version 1.4.0
+ @build 27th November, 2016
@created 22nd October, 2015
@package Sermon Distributor
@subpackage categoriesrow.php
diff --git a/site/layouts/downloadsermonbutton.php b/site/layouts/downloadsermonbutton.php
index c5a00b51..4cd669cb 100644
--- a/site/layouts/downloadsermonbutton.php
+++ b/site/layouts/downloadsermonbutton.php
@@ -10,8 +10,8 @@
|_|
/-------------------------------------------------------------------------------------------------------------------------------/
- @version 1.3.8
- @build 2nd November, 2016
+ @version 1.4.0
+ @build 27th November, 2016
@created 22nd October, 2015
@package Sermon Distributor
@subpackage downloadsermonbutton.php
diff --git a/site/layouts/isnew.php b/site/layouts/isnew.php
index f060b1bc..a479be7b 100644
--- a/site/layouts/isnew.php
+++ b/site/layouts/isnew.php
@@ -10,8 +10,8 @@
|_|
/-------------------------------------------------------------------------------------------------------------------------------/
- @version 1.3.8
- @build 2nd November, 2016
+ @version 1.4.0
+ @build 27th November, 2016
@created 22nd October, 2015
@package Sermon Distributor
@subpackage isnew.php
diff --git a/site/layouts/jplayerbluemonday.php b/site/layouts/jplayerbluemonday.php
index 4dd43479..a5c9d9b1 100644
--- a/site/layouts/jplayerbluemonday.php
+++ b/site/layouts/jplayerbluemonday.php
@@ -10,8 +10,8 @@
|_|
/-------------------------------------------------------------------------------------------------------------------------------/
- @version 1.3.8
- @build 2nd November, 2016
+ @version 1.4.0
+ @build 27th November, 2016
@created 22nd October, 2015
@package Sermon Distributor
@subpackage jplayerbluemonday.php
diff --git a/site/layouts/jplayerbluemondaylist.php b/site/layouts/jplayerbluemondaylist.php
index edd1fc69..50ce7989 100644
--- a/site/layouts/jplayerbluemondaylist.php
+++ b/site/layouts/jplayerbluemondaylist.php
@@ -10,8 +10,8 @@
|_|
/-------------------------------------------------------------------------------------------------------------------------------/
- @version 1.3.8
- @build 2nd November, 2016
+ @version 1.4.0
+ @build 27th November, 2016
@created 22nd October, 2015
@package Sermon Distributor
@subpackage jplayerbluemondaylist.php
diff --git a/site/layouts/mediaplayer.php b/site/layouts/mediaplayer.php
index e56bdd04..fc6b3721 100644
--- a/site/layouts/mediaplayer.php
+++ b/site/layouts/mediaplayer.php
@@ -10,8 +10,8 @@
|_|
/-------------------------------------------------------------------------------------------------------------------------------/
- @version 1.3.8
- @build 2nd November, 2016
+ @version 1.4.0
+ @build 27th November, 2016
@created 22nd October, 2015
@package Sermon Distributor
@subpackage mediaplayer.php
diff --git a/site/layouts/opensermonbutton.php b/site/layouts/opensermonbutton.php
index dc799ae5..abd672ff 100644
--- a/site/layouts/opensermonbutton.php
+++ b/site/layouts/opensermonbutton.php
@@ -10,8 +10,8 @@
|_|
/-------------------------------------------------------------------------------------------------------------------------------/
- @version 1.3.8
- @build 2nd November, 2016
+ @version 1.4.0
+ @build 27th November, 2016
@created 22nd October, 2015
@package Sermon Distributor
@subpackage opensermonbutton.php
diff --git a/site/layouts/preacherslistitem.php b/site/layouts/preacherslistitem.php
index eb77ccbc..3fdec442 100644
--- a/site/layouts/preacherslistitem.php
+++ b/site/layouts/preacherslistitem.php
@@ -10,8 +10,8 @@
|_|
/-------------------------------------------------------------------------------------------------------------------------------/
- @version 1.3.8
- @build 2nd November, 2016
+ @version 1.4.0
+ @build 27th November, 2016
@created 22nd October, 2015
@package Sermon Distributor
@subpackage preacherslistitem.php
diff --git a/site/layouts/preacherspanel.php b/site/layouts/preacherspanel.php
index 849f0fab..87346ea0 100644
--- a/site/layouts/preacherspanel.php
+++ b/site/layouts/preacherspanel.php
@@ -10,8 +10,8 @@
|_|
/-------------------------------------------------------------------------------------------------------------------------------/
- @version 1.3.8
- @build 2nd November, 2016
+ @version 1.4.0
+ @build 27th November, 2016
@created 22nd October, 2015
@package Sermon Distributor
@subpackage preacherspanel.php
diff --git a/site/layouts/preachersrow.php b/site/layouts/preachersrow.php
index b715bc0f..f4f0e48e 100644
--- a/site/layouts/preachersrow.php
+++ b/site/layouts/preachersrow.php
@@ -10,8 +10,8 @@
|_|
/-------------------------------------------------------------------------------------------------------------------------------/
- @version 1.3.8
- @build 2nd November, 2016
+ @version 1.4.0
+ @build 27th November, 2016
@created 22nd October, 2015
@package Sermon Distributor
@subpackage preachersrow.php
diff --git a/site/layouts/serieslistitem.php b/site/layouts/serieslistitem.php
index f97e3f22..be061bd0 100644
--- a/site/layouts/serieslistitem.php
+++ b/site/layouts/serieslistitem.php
@@ -10,8 +10,8 @@
|_|
/-------------------------------------------------------------------------------------------------------------------------------/
- @version 1.3.8
- @build 2nd November, 2016
+ @version 1.4.0
+ @build 27th November, 2016
@created 22nd October, 2015
@package Sermon Distributor
@subpackage serieslistitem.php
diff --git a/site/layouts/seriespanel.php b/site/layouts/seriespanel.php
index e21ab0e3..cbb6bb30 100644
--- a/site/layouts/seriespanel.php
+++ b/site/layouts/seriespanel.php
@@ -10,8 +10,8 @@
|_|
/-------------------------------------------------------------------------------------------------------------------------------/
- @version 1.3.8
- @build 2nd November, 2016
+ @version 1.4.0
+ @build 27th November, 2016
@created 22nd October, 2015
@package Sermon Distributor
@subpackage seriespanel.php
diff --git a/site/layouts/seriesrow.php b/site/layouts/seriesrow.php
index 6964beec..b5d1f7de 100644
--- a/site/layouts/seriesrow.php
+++ b/site/layouts/seriesrow.php
@@ -10,8 +10,8 @@
|_|
/-------------------------------------------------------------------------------------------------------------------------------/
- @version 1.3.8
- @build 2nd November, 2016
+ @version 1.4.0
+ @build 27th November, 2016
@created 22nd October, 2015
@package Sermon Distributor
@subpackage seriesrow.php
diff --git a/site/layouts/sermonslistitem.php b/site/layouts/sermonslistitem.php
index 2b1a6a86..8145c14a 100644
--- a/site/layouts/sermonslistitem.php
+++ b/site/layouts/sermonslistitem.php
@@ -10,8 +10,8 @@
|_|
/-------------------------------------------------------------------------------------------------------------------------------/
- @version 1.3.8
- @build 2nd November, 2016
+ @version 1.4.0
+ @build 27th November, 2016
@created 22nd October, 2015
@package Sermon Distributor
@subpackage sermonslistitem.php
diff --git a/site/layouts/sermonspanel.php b/site/layouts/sermonspanel.php
index d56f641e..89487466 100644
--- a/site/layouts/sermonspanel.php
+++ b/site/layouts/sermonspanel.php
@@ -10,8 +10,8 @@
|_|
/-------------------------------------------------------------------------------------------------------------------------------/
- @version 1.3.8
- @build 2nd November, 2016
+ @version 1.4.0
+ @build 27th November, 2016
@created 22nd October, 2015
@package Sermon Distributor
@subpackage sermonspanel.php
diff --git a/site/layouts/sermonsrow.php b/site/layouts/sermonsrow.php
index 4daa107d..1fea1924 100644
--- a/site/layouts/sermonsrow.php
+++ b/site/layouts/sermonsrow.php
@@ -10,8 +10,8 @@
|_|
/-------------------------------------------------------------------------------------------------------------------------------/
- @version 1.3.8
- @build 2nd November, 2016
+ @version 1.4.0
+ @build 27th November, 2016
@created 22nd October, 2015
@package Sermon Distributor
@subpackage sermonsrow.php
diff --git a/site/layouts/soundmanagerthreesixty.php b/site/layouts/soundmanagerthreesixty.php
index 172bd6a7..bcebf35a 100644
--- a/site/layouts/soundmanagerthreesixty.php
+++ b/site/layouts/soundmanagerthreesixty.php
@@ -10,8 +10,8 @@
|_|
/-------------------------------------------------------------------------------------------------------------------------------/
- @version 1.3.8
- @build 2nd November, 2016
+ @version 1.4.0
+ @build 27th November, 2016
@created 22nd October, 2015
@package Sermon Distributor
@subpackage soundmanagerthreesixty.php
diff --git a/site/models/ajax.php b/site/models/ajax.php
index 79298450..bb7ee463 100644
--- a/site/models/ajax.php
+++ b/site/models/ajax.php
@@ -10,8 +10,8 @@
|_|
/-------------------------------------------------------------------------------------------------------------------------------/
- @version 1.3.8
- @build 2nd November, 2016
+ @version 1.4.0
+ @build 27th November, 2016
@created 22nd October, 2015
@package Sermon Distributor
@subpackage ajax.php
@@ -45,43 +45,66 @@ public function __construct()
// Used in sermon
/**
- * Check and Set Dropbox local listing
+ * Update the file download counter
**/
- public function dropbox($view)
+ public function countDownload($key,$filename)
+ {
+ // now count the download
+ return SermondistributorHelper::countDownload($key,$filename);
+ }
+
+ protected function saveFile($data,$path_filename)
{
- // we update both if posible
+ if (SermondistributorHelper::checkString($data))
+ {
+ $fp = fopen($path_filename, 'w');
+ fwrite($fp, $data);
+ fclose($fp);
+ return true;
+ }
+ return false;
+ }
+
+ /**
+ * Auto Update Local Listing External
+ **/
+ public function autoUpdateLocalListingExternal($id, $target, $type)
+ {
+ if (1 == $type)
+ {
+ $type = 'manual';
+ }
+ elseif (2 == $type)
+ {
+ $type = 'auto';
+ }
+ // the types allowed
$types = array('manual','auto');
- foreach ($types as $type)
+ // check the type
+ if (SermondistributorHelper::checkString($type) && in_array($type,$types))
{
- // run the update
- if (SermondistributorHelper::updateDropbox($type))
+ // run the updatetype
+ if (SermondistributorHelper::updateExternalSource($id, $target, $type))
{
// now update the system if needed
if ('auto' == $type)
{
- $this->updateSystemWithDropbox();
+ $this->updateSystemWithExternalSource($id);
}
+ return array('success' => true);
}
+ // return array('error' => SermondistributorHelper::getUpdateError($id));
}
- return true;
- }
-
- /**
- * Update the file download counter
- **/
- public function countDownload($key,$filename)
- {
- // now count the download
- return SermondistributorHelper::countDownload($key,$filename);
+ // return array('error' => JText::_('COM_SERMONDISTRIBUTOR_BCOULD_NOT_USE_THE_GIVEN_TOKEN_OR_THE_GIVEN_BUILD_OPTION_DOES_NOT_EXISTB'));
}
/**
- * Update the System with Dropbox local listing
+ * Update the System with External Source local listing
**/
- protected function updateSystemWithDropbox()
+ protected function updateSystemWithExternalSource($id)
{
// check if we should update with auto listing
- $links_dropbox_auto = SermondistributorHelper::getDropboxLink('auto', 2);
+ $links_dropbox_auto = SermondistributorHelper::getExternalSourceLink('auto', 2);
if (SermondistributorHelper::checkArray($links_dropbox_auto))
{
$bucket = array();
@@ -129,7 +152,7 @@ protected function updateSystemWithDropbox()
}
return false;
}
-
+
protected function setSermons($db)
{
// check if we have values
@@ -192,7 +215,7 @@ protected function setSermons($db)
}
return $this->allSermonsCheckStatus($db);
}
-
+
protected function allSermonsCheckStatus($db)
{
$query = $db->getQuery(true);
@@ -222,7 +245,6 @@ protected function allSermonsCheckStatus($db)
return $db->execute();
}
-
protected function loadSermonData($preacher,$preacherName,$series,$seriesName,$sermon,$placeholder,$db)
{
// 34key521__the_file_name___tag1_tag-with2_tag-three____Salvation_Messages_____The_short_description_can_only_be_one_sentence.mp3
@@ -475,23 +497,53 @@ protected function getSermonId($alias = false,$preacher,$db)
return 0;
}
+ protected $category = array();
+
protected function getCatogoryId($name,$db)
{
// sanitize the name to an alias
$alias = $this->getAlias($name);
- // Create a new query object.
- $query = $db->getQuery(true);
- $query->select($db->quoteName(array('id')));
- $query->from($db->quoteName('#__categories'));
- $query->where($db->quoteName('alias') . ' = '. $db->quote($alias));
- $query->where($db->quoteName('extension') . ' = '. $db->quote('com_sermondistributor.sermons'));
- $db->setQuery($query);
- $db->execute();
- if ($db->getNumRows())
- {
- return $db->loadResult();
+ if (!isset($this->category[$alias]))
+ {
+ // Create a new query object.
+ $query = $db->getQuery(true);
+ $query->select($db->quoteName(array('id')));
+ $query->from($db->quoteName('#__categories'));
+ $query->where($db->quoteName('alias') . ' = '. $db->quote($alias));
+ $query->where($db->quoteName('extension') . ' = '. $db->quote('com_sermondistributor.sermons'));
+ $db->setQuery($query);
+ $db->execute();
+ if ($db->getNumRows())
+ {
+ $this->category[$alias] = $db->loadResult();
+ }
+ else
+ {
+ // if still not set, then create category
+ $this->category[$alias] = $this->createCategory($name,$alias);
+ }
}
- return 0; // TODO creat a category if not found
+ return $this->category[$alias];
+ }
+
+ protected function createCategory($name,$alias)
+ {
+ // load the category table
+ JTable::addIncludePath(JPATH_LIBRARIES . '/joomla/database/table');
+ $category = JTable::getInstance('Category');
+ $category->extension = 'com_sermondistributor.sermons';
+ $category->title = $name;
+ $category->alias = $alias;
+ $category->description = '';
+ $category->published = 1;
+ $category->access = 1;
+ $category->params = '{"category_layout":"","image":"","image_alt":""}';
+ $category->metadata = '{"author":"","robots":""}';
+ $category->language = '*';
+ $category->setLocation(1, 'last-child');
+ $category->store(true);
+ $category->rebuildPath($category->id);
+ return $category->id;
}
/**
diff --git a/site/models/categories.php b/site/models/categories.php
index 304f35ee..f567f068 100644
--- a/site/models/categories.php
+++ b/site/models/categories.php
@@ -10,8 +10,8 @@
|_|
/-------------------------------------------------------------------------------------------------------------------------------/
- @version 1.3.8
- @build 2nd November, 2016
+ @version 1.4.0
+ @build 27th November, 2016
@created 22nd October, 2015
@package Sermon Distributor
@subpackage categories.php
diff --git a/site/models/category.php b/site/models/category.php
index 69534d5c..090bd31f 100644
--- a/site/models/category.php
+++ b/site/models/category.php
@@ -10,8 +10,8 @@
|_|
/-------------------------------------------------------------------------------------------------------------------------------/
- @version 1.3.8
- @build 2nd November, 2016
+ @version 1.4.0
+ @build 27th November, 2016
@created 22nd October, 2015
@package Sermon Distributor
@subpackage category.php
diff --git a/site/models/preacher.php b/site/models/preacher.php
index 7e4eed18..fe3f4e25 100644
--- a/site/models/preacher.php
+++ b/site/models/preacher.php
@@ -10,8 +10,8 @@
|_|
/-------------------------------------------------------------------------------------------------------------------------------/
- @version 1.3.8
- @build 2nd November, 2016
+ @version 1.4.0
+ @build 27th November, 2016
@created 22nd October, 2015
@package Sermon Distributor
@subpackage preacher.php
diff --git a/site/models/preachers.php b/site/models/preachers.php
index 0a21e223..3501605f 100644
--- a/site/models/preachers.php
+++ b/site/models/preachers.php
@@ -10,8 +10,8 @@
|_|
/-------------------------------------------------------------------------------------------------------------------------------/
- @version 1.3.8
- @build 2nd November, 2016
+ @version 1.4.0
+ @build 27th November, 2016
@created 22nd October, 2015
@package Sermon Distributor
@subpackage preachers.php
diff --git a/site/models/series.php b/site/models/series.php
index 8389ba4d..c57648de 100644
--- a/site/models/series.php
+++ b/site/models/series.php
@@ -10,8 +10,8 @@
|_|
/-------------------------------------------------------------------------------------------------------------------------------/
- @version 1.3.8
- @build 2nd November, 2016
+ @version 1.4.0
+ @build 27th November, 2016
@created 22nd October, 2015
@package Sermon Distributor
@subpackage series.php
diff --git a/site/models/serieslist.php b/site/models/serieslist.php
index 3712d0cc..46d21fbc 100644
--- a/site/models/serieslist.php
+++ b/site/models/serieslist.php
@@ -10,8 +10,8 @@
|_|
/-------------------------------------------------------------------------------------------------------------------------------/
- @version 1.3.8
- @build 2nd November, 2016
+ @version 1.4.0
+ @build 27th November, 2016
@created 22nd October, 2015
@package Sermon Distributor
@subpackage serieslist.php
diff --git a/site/models/sermon.php b/site/models/sermon.php
index 29d0dca7..7ea6cfe7 100644
--- a/site/models/sermon.php
+++ b/site/models/sermon.php
@@ -10,8 +10,8 @@
|_|
/-------------------------------------------------------------------------------------------------------------------------------/
- @version 1.3.8
- @build 2nd November, 2016
+ @version 1.4.0
+ @build 27th November, 2016
@created 22nd October, 2015
@package Sermon Distributor
@subpackage sermon.php
diff --git a/site/router.php b/site/router.php
index d8d95f8d..4970b433 100644
--- a/site/router.php
+++ b/site/router.php
@@ -10,8 +10,8 @@
|_|
/-------------------------------------------------------------------------------------------------------------------------------/
- @version 1.3.8
- @build 2nd November, 2016
+ @version 1.4.0
+ @build 27th November, 2016
@created 22nd October, 2015
@package Sermon Distributor
@subpackage router.php
diff --git a/site/sermondistributor.php b/site/sermondistributor.php
index c56be026..63a815fa 100644
--- a/site/sermondistributor.php
+++ b/site/sermondistributor.php
@@ -10,8 +10,8 @@
|_|
/-------------------------------------------------------------------------------------------------------------------------------/
- @version 1.3.8
- @build 2nd November, 2016
+ @version 1.4.0
+ @build 27th November, 2016
@created 22nd October, 2015
@package Sermon Distributor
@subpackage sermondistributor.php
diff --git a/site/views/categories/tmpl/default.php b/site/views/categories/tmpl/default.php
index 6d4a1c13..51961f72 100644
--- a/site/views/categories/tmpl/default.php
+++ b/site/views/categories/tmpl/default.php
@@ -10,8 +10,8 @@
|_|
/-------------------------------------------------------------------------------------------------------------------------------/
- @version 1.3.8
- @build 2nd November, 2016
+ @version 1.4.0
+ @build 27th November, 2016
@created 22nd October, 2015
@package Sermon Distributor
@subpackage default.php
diff --git a/site/views/categories/tmpl/default_categories-grid.php b/site/views/categories/tmpl/default_categories-grid.php
index 813aa9f5..d7de0c42 100644
--- a/site/views/categories/tmpl/default_categories-grid.php
+++ b/site/views/categories/tmpl/default_categories-grid.php
@@ -10,8 +10,8 @@
|_|
/-------------------------------------------------------------------------------------------------------------------------------/
- @version 1.3.8
- @build 2nd November, 2016
+ @version 1.4.0
+ @build 27th November, 2016
@created 22nd October, 2015
@package Sermon Distributor
@subpackage default_categories-grid.php
diff --git a/site/views/categories/tmpl/default_categories-list.php b/site/views/categories/tmpl/default_categories-list.php
index b491bad8..66821289 100644
--- a/site/views/categories/tmpl/default_categories-list.php
+++ b/site/views/categories/tmpl/default_categories-list.php
@@ -10,8 +10,8 @@
|_|
/-------------------------------------------------------------------------------------------------------------------------------/
- @version 1.3.8
- @build 2nd November, 2016
+ @version 1.4.0
+ @build 27th November, 2016
@created 22nd October, 2015
@package Sermon Distributor
@subpackage default_categories-list.php
diff --git a/site/views/categories/tmpl/default_categories-table.php b/site/views/categories/tmpl/default_categories-table.php
index 945b55ba..21bb617f 100644
--- a/site/views/categories/tmpl/default_categories-table.php
+++ b/site/views/categories/tmpl/default_categories-table.php
@@ -10,8 +10,8 @@
|_|
/-------------------------------------------------------------------------------------------------------------------------------/
- @version 1.3.8
- @build 2nd November, 2016
+ @version 1.4.0
+ @build 27th November, 2016
@created 22nd October, 2015
@package Sermon Distributor
@subpackage default_categories-table.php
diff --git a/site/views/categories/view.html.php b/site/views/categories/view.html.php
index 6eba79e4..1787edc6 100644
--- a/site/views/categories/view.html.php
+++ b/site/views/categories/view.html.php
@@ -10,8 +10,8 @@
|_|
/-------------------------------------------------------------------------------------------------------------------------------/
- @version 1.3.8
- @build 2nd November, 2016
+ @version 1.4.0
+ @build 27th November, 2016
@created 22nd October, 2015
@package Sermon Distributor
@subpackage view.html.php
diff --git a/site/views/category/tmpl/default.php b/site/views/category/tmpl/default.php
index 6b8b9df5..117a2124 100644
--- a/site/views/category/tmpl/default.php
+++ b/site/views/category/tmpl/default.php
@@ -10,8 +10,8 @@
|_|
/-------------------------------------------------------------------------------------------------------------------------------/
- @version 1.3.8
- @build 2nd November, 2016
+ @version 1.4.0
+ @build 27th November, 2016
@created 22nd October, 2015
@package Sermon Distributor
@subpackage default.php
@@ -58,7 +58,7 @@ function sermonCounter(key,filename)
var request = 'token=&key='+key+'&filename='+filename;
}
return jQuery.ajax({
- type: 'GET',
+ type: 'POST',
url: getUrl,
dataType: 'jsonp',
data: request,
diff --git a/site/views/category/tmpl/default.xml b/site/views/category/tmpl/default.xml
index 26fd6902..aee07f38 100644
--- a/site/views/category/tmpl/default.xml
+++ b/site/views/category/tmpl/default.xml
@@ -25,6 +25,14 @@