Release of v1.1.5
This commit is contained in:
parent
bd4a3197cd
commit
6aeeab0fea
16
README.md
16
README.md
@ -1,15 +1,17 @@
|
|||||||
# Dailyscripture (1.1.4)
|
# Dailyscripture (1.1.5)
|
||||||
|
|
||||||
Display the daily scripture from [https://github.com/trueChristian/daily-scripture](https://github.com/trueChristian/daily-scripture).
|
Display the daily scripture from [https://git.vdm.dev/christian/daily-scripture](https://git.vdm.dev/christian/daily-scripture).
|
||||||
|
|
||||||
|
> Support can be found at our [community support area](https://git.vdm.dev/getBible/support).
|
||||||
|
|
||||||
# Build Details
|
# Build Details
|
||||||
|
|
||||||
+ *Company*: [Vast Development Method](https://www.vdm.io/)
|
+ *Company*: [Vast Development Method](https://getbible.net)
|
||||||
+ *Author*: [Llewellyn van der Merwe](mailto:joomla@vdm.io)
|
+ *Author*: [Llewellyn van der Merwe](mailto:joomla@vdm.io)
|
||||||
+ *Name*: [Dailyscripture](https://www.vdm.io/)
|
+ *Name*: [Dailyscripture](https://getbible.net)
|
||||||
+ *First Build*: 22nd October, 2015
|
+ *First Build*: 3rd December, 2015
|
||||||
+ *Last Build*: 5th April, 2023
|
+ *Last Build*: 26th July, 2023
|
||||||
+ *Version*: 1.1.4
|
+ *Version*: 1.1.5
|
||||||
+ *Copyright*: Copyright (C) 2015. All Rights Reserved
|
+ *Copyright*: Copyright (C) 2015. All Rights Reserved
|
||||||
+ *License*: GNU/GPL Version 2 or later - http://www.gnu.org/licenses/gpl-2.0.html
|
+ *License*: GNU/GPL Version 2 or later - http://www.gnu.org/licenses/gpl-2.0.html
|
||||||
|
|
||||||
|
27
helper.php
27
helper.php
@ -1,26 +1,19 @@
|
|||||||
<?php
|
<?php
|
||||||
/*-------------------------------------------------------------------------------------------------------------| www.vdm.io |------/
|
/*----------------------------------------------------------------------------------| io.vdm.dev |----/
|
||||||
____ ____ __ __ __
|
Vast Development Method
|
||||||
/\ _`\ /\ _`\ __ /\ \__ __/\ \ /\ \__
|
/-------------------------------------------------------------------------------------------------------/
|
||||||
\ \,\L\_\ __ _ __ ___ ___ ___ ___ \ \ \/\ \/\_\ ____\ \ ,_\ _ __ /\_\ \ \____ __ __\ \ ,_\ ___ _ __
|
|
||||||
\/_\__ \ /'__`\/\`'__\/' __` __`\ / __`\ /' _ `\ \ \ \ \ \/\ \ /',__\\ \ \/ /\`'__\/\ \ \ '__`\/\ \/\ \\ \ \/ / __`\/\`'__\
|
|
||||||
/\ \L\ \/\ __/\ \ \/ /\ \/\ \/\ \/\ \L\ \/\ \/\ \ \ \ \_\ \ \ \/\__, `\\ \ \_\ \ \/ \ \ \ \ \L\ \ \ \_\ \\ \ \_/\ \L\ \ \ \/
|
|
||||||
\ `\____\ \____\\ \_\ \ \_\ \_\ \_\ \____/\ \_\ \_\ \ \____/\ \_\/\____/ \ \__\\ \_\ \ \_\ \_,__/\ \____/ \ \__\ \____/\ \_\
|
|
||||||
\/_____/\/____/ \/_/ \/_/\/_/\/_/\/___/ \/_/\/_/ \/___/ \/_/\/___/ \/__/ \/_/ \/_/\/___/ \/___/ \/__/\/___/ \/_/
|
|
||||||
|
|
||||||
/------------------------------------------------------------------------------------------------------------------------------------/
|
@package getBible.net
|
||||||
|
|
||||||
@version 2.1.x
|
@created 3rd December, 2015
|
||||||
@created 22nd October, 2015
|
@author Llewellyn van der Merwe <https://getbible.net>
|
||||||
@package Sermon Distributor
|
@git Get Bible <https://git.vdm.dev/getBible>
|
||||||
@subpackage helper.php
|
@github Get Bible <https://github.com/getBible>
|
||||||
@author Llewellyn van der Merwe <https://www.vdm.io/>
|
@support Get Bible <https://git.vdm.dev/getBible/support>
|
||||||
@copyright Copyright (C) 2015. All Rights Reserved
|
@copyright Copyright (C) 2015. All Rights Reserved
|
||||||
@license GNU/GPL Version 2 or later - http://www.gnu.org/licenses/gpl-2.0.html
|
@license GNU/GPL Version 2 or later - http://www.gnu.org/licenses/gpl-2.0.html
|
||||||
|
|
||||||
A sermon distributor that links to Dropbox.
|
/------------------------------------------------------------------------------------------------------*/
|
||||||
|
|
||||||
/----------------------------------------------------------------------------------------------------------------------------------*/
|
|
||||||
|
|
||||||
// No direct access to this file
|
// No direct access to this file
|
||||||
defined('_JEXEC') or die('Restricted access');
|
defined('_JEXEC') or die('Restricted access');
|
||||||
|
@ -1,6 +1,6 @@
|
|||||||
MOD_DAILYSCRIPTURE="Dailyscripture"
|
MOD_DAILYSCRIPTURE="Dailyscripture"
|
||||||
MOD_DAILYSCRIPTURE_DESCRIPTION="A Joomla Module to Display the Daily Scripture."
|
MOD_DAILYSCRIPTURE_DESCRIPTION="A Joomla Module to Display the Daily Scripture."
|
||||||
MOD_DAILYSCRIPTURE_XML_DESCRIPTION="<h1>Dailyscripture (v.1.1.4)</h1> <div style='clear: both;'></div><p>A Joomla Module to Display the Daily Scripture.</p><p>Created by <a href='https://www.vdm.io/' target='_blank'>Llewellyn van der Merwe</a><br /><small>Development started 1st January, 2022</small></p>"
|
MOD_DAILYSCRIPTURE_XML_DESCRIPTION="<h1>Dailyscripture (v.1.1.5)</h1> <div style='clear: both;'></div><p>A Joomla Module to Display the Daily Scripture.</p><p>Created by <a href='https://getbible.net' target='_blank'>Llewellyn van der Merwe</a><br /><small>Development started 1st January, 2022</small></p>"
|
||||||
MOD_DAILYSCRIPTURE_THERE_WAS_AN_ERROR_LOADING_THE_DAILY_SCRIPTURE_PLEASE_TRY_AGAIN_LATTER="There was an error loading the Daily Scripture, please try again latter."
|
MOD_DAILYSCRIPTURE_THERE_WAS_AN_ERROR_LOADING_THE_DAILY_SCRIPTURE_PLEASE_TRY_AGAIN_LATTER="There was an error loading the Daily Scripture, please try again latter."
|
||||||
MOD_DAILYSCRIPTURE_DAILY_SCRIPTURE="Daily Scripture"
|
MOD_DAILYSCRIPTURE_DAILY_SCRIPTURE="Daily Scripture"
|
||||||
MOD_DAILYSCRIPTURE_TYPE_LABEL="Implementation Type"
|
MOD_DAILYSCRIPTURE_TYPE_LABEL="Implementation Type"
|
||||||
@ -16,7 +16,10 @@ MOD_DAILYSCRIPTURE_COMMENTS_COLORFUL_LABEL="Use different colors for names"
|
|||||||
MOD_DAILYSCRIPTURE_COMMENTS_HEIGHT_LABEL="Comments Height"
|
MOD_DAILYSCRIPTURE_COMMENTS_HEIGHT_LABEL="Comments Height"
|
||||||
MOD_DAILYSCRIPTURE_COMMENTS_HEIGHT_DESCRIPTION="Use 300 for auto height. Any higher value to set custom height, since 300 is the smallest height available."
|
MOD_DAILYSCRIPTURE_COMMENTS_HEIGHT_DESCRIPTION="Use 300 for auto height. Any higher value to set custom height, since 300 is the smallest height available."
|
||||||
MOD_DAILYSCRIPTURE_LINK_LABEL="Show Link"
|
MOD_DAILYSCRIPTURE_LINK_LABEL="Show Link"
|
||||||
MOD_DAILYSCRIPTURE_LINK_DESCRIPTION="Should we show the link to the daily scripture channel on Telegram."
|
MOD_DAILYSCRIPTURE_LINK_DESCRIPTION="Should we show a link."
|
||||||
|
MOD_DAILYSCRIPTURE_GETBIBLE="GetBible"
|
||||||
|
MOD_DAILYSCRIPTURE_TELEGRAM="Telegram"
|
||||||
|
MOD_DAILYSCRIPTURE_NONE="None"
|
||||||
MOD_DAILYSCRIPTURE_WIDTH_LABEL="Width"
|
MOD_DAILYSCRIPTURE_WIDTH_LABEL="Width"
|
||||||
MOD_DAILYSCRIPTURE_AUTHOR_PHOTO_LABEL="Author Photo"
|
MOD_DAILYSCRIPTURE_AUTHOR_PHOTO_LABEL="Author Photo"
|
||||||
MOD_DAILYSCRIPTURE_AUTO="Auto"
|
MOD_DAILYSCRIPTURE_AUTO="Auto"
|
||||||
@ -35,4 +38,4 @@ MOD_DAILYSCRIPTURE_THEME_LABEL="Theme"
|
|||||||
MOD_DAILYSCRIPTURE_LIGHT_THEME="Light Theme"
|
MOD_DAILYSCRIPTURE_LIGHT_THEME="Light Theme"
|
||||||
MOD_DAILYSCRIPTURE_DARK_THEME="Dark Theme"
|
MOD_DAILYSCRIPTURE_DARK_THEME="Dark Theme"
|
||||||
MOD_DAILYSCRIPTURE_DAILY_SCRIPTURE_NOTE_LABEL="Details"
|
MOD_DAILYSCRIPTURE_DAILY_SCRIPTURE_NOTE_LABEL="Details"
|
||||||
MOD_DAILYSCRIPTURE_DAILY_SCRIPTURE_NOTE_DESCRIPTION="<h5>Relevant Links:</h5><ul><li><b>Daily scripture</b>: <a href='https://github.com/trueChristian/daily-scripture' target='_blank'>https://github.com/trueChristian/daily-scripture</a>.</li><li><b>Telegram channel</b>: <a href='https://t.me/daily_scripture' target='_blank'>https://t.me/daily_scripture</a>.</li><li><b>Module repository</b>: <a href='https://git.vdm.dev/christian/mod_dailyscripture' target='_blank'>https://git.vdm.dev/christian/mod_dailyscripture</a>.</li></ul><h5>How it works</h5><p>The daily scripture architecture is designed to automatically select a random verse from a collection of scripture without any human intervention. The core process of selecting a random verse can be broken down into three main steps: shuffling the verses, choosing the first verse from the shuffled list, and updating the list of used verses.</p><ol><li>Shuffling the verses: The script first reads the entire list of verses from a file called "SCRIPTURE" and then shuffles this list using a random sorting algorithm. This ensures that the order of the verses in the list is entirely random and unpredictable. This randomness is crucial, as it eliminates any potential human bias or control over the selection process.</li><li>Choosing the first verse from the shuffled list: Once the list of verses has been randomly shuffled, the script selects the very first verse from this shuffled list. Because the order of the verses is random, the selected verse is also random and unbiased. This chosen verse is then considered the verse of the day.</li><li>Updating the list of used verses: To ensure that the same verse isn't selected again within a short period, the script maintains a separate list of recently used verses, stored in a file called "SCRIPTURE_USED." After selecting the verse of the day, the script removes it from the main "SCRIPTURE" list and adds it to the "SCRIPTURE_USED" list. Additionally, to prevent the "SCRIPTURE_USED" list from growing indefinitely, the script retains only the last 182 used verses (approximately six months). If the "SCRIPTURE_USED" list grows beyond this limit, the oldest verse in the list is removed and added back to the main "SCRIPTURE" list, making it eligible for selection again.</li></ol><p>In summary, the random verse generation process implemented in this script is entirely automated and unbiased, relying on a random sorting algorithm to shuffle the list of verses before selecting one. The system also maintains a list of recently used verses to prevent repetition within a six-month period. This approach ensures a truly unexpected and random selection of verses, free from any human intervention or influence.</p>"
|
MOD_DAILYSCRIPTURE_DAILY_SCRIPTURE_NOTE_DESCRIPTION="<h5>Relevant Links:</h5><ul><li><b>Daily scripture</b>: <a href='https://git.vdm.dev/christian/daily-scripture' target='_blank'>https://git.vdm.dev/christian/daily-scripture</a>.</li><li><b>Telegram channel</b>: <a href='https://t.me/daily_scripture' target='_blank'>https://t.me/daily_scripture</a>.</li><li><b>Module repository</b>: <a href='https://git.vdm.dev/getBible/daily-scripture-module' target='_blank'>https://git.vdm.dev/getBible/daily-scripture-module</a>.</li></ul><h5>How it works</h5><p>The daily scripture architecture is designed to automatically select a random verse from a collection of scripture without any human intervention. The core process of selecting a random verse can be broken down into three main steps: shuffling the verses, choosing the first verse from the shuffled list, and updating the list of used verses.</p><ol><li>Shuffling the verses: The script first reads the entire list of verses from a file called "SCRIPTURE" and then shuffles this list using a random sorting algorithm. This ensures that the order of the verses in the list is entirely random and unpredictable. This randomness is crucial, as it eliminates any potential human bias or control over the selection process.</li><li>Choosing the first verse from the shuffled list: Once the list of verses has been randomly shuffled, the script selects the very first verse from this shuffled list. Because the order of the verses is random, the selected verse is also random and unbiased. This chosen verse is then considered the verse of the day.</li><li>Updating the list of used verses: To ensure that the same verse isn't selected again within a short period, the script maintains a separate list of recently used verses, stored in a file called "SCRIPTURE_USED." After selecting the verse of the day, the script removes it from the main "SCRIPTURE" list and adds it to the "SCRIPTURE_USED" list. Additionally, to prevent the "SCRIPTURE_USED" list from growing indefinitely, the script retains only the last 182 used verses (approximately six months). If the "SCRIPTURE_USED" list grows beyond this limit, the oldest verse in the list is removed and added back to the main "SCRIPTURE" list, making it eligible for selection again.</li></ol><p>In summary, the random verse generation process implemented in this script is entirely automated and unbiased, relying on a random sorting algorithm to shuffle the list of verses before selecting one. The system also maintains a list of recently used verses to prevent repetition within a six-month period. This approach ensures a truly unexpected and random selection of verses, free from any human intervention or influence.</p>"
|
@ -1,6 +1,6 @@
|
|||||||
MOD_DAILYSCRIPTURE="Dailyscripture"
|
MOD_DAILYSCRIPTURE="Dailyscripture"
|
||||||
MOD_DAILYSCRIPTURE_DESCRIPTION="A Joomla Module to Display the Daily Scripture."
|
MOD_DAILYSCRIPTURE_DESCRIPTION="A Joomla Module to Display the Daily Scripture."
|
||||||
MOD_DAILYSCRIPTURE_XML_DESCRIPTION="<h1>Dailyscripture (v.1.1.4)</h1> <div style='clear: both;'></div><p>A Joomla Module to Display the Daily Scripture.</p><p>Created by <a href='https://www.vdm.io/' target='_blank'>Llewellyn van der Merwe</a><br /><small>Development started 1st January, 2022</small></p>"
|
MOD_DAILYSCRIPTURE_XML_DESCRIPTION="<h1>Dailyscripture (v.1.1.5)</h1> <div style='clear: both;'></div><p>A Joomla Module to Display the Daily Scripture.</p><p>Created by <a href='https://getbible.net' target='_blank'>Llewellyn van der Merwe</a><br /><small>Development started 1st January, 2022</small></p>"
|
||||||
MOD_DAILYSCRIPTURE_THERE_WAS_AN_ERROR_LOADING_THE_DAILY_SCRIPTURE_PLEASE_TRY_AGAIN_LATTER="There was an error loading the Daily Scripture, please try again latter."
|
MOD_DAILYSCRIPTURE_THERE_WAS_AN_ERROR_LOADING_THE_DAILY_SCRIPTURE_PLEASE_TRY_AGAIN_LATTER="There was an error loading the Daily Scripture, please try again latter."
|
||||||
MOD_DAILYSCRIPTURE_DAILY_SCRIPTURE="Daily Scripture"
|
MOD_DAILYSCRIPTURE_DAILY_SCRIPTURE="Daily Scripture"
|
||||||
MOD_DAILYSCRIPTURE_TYPE_LABEL="Implementation Type"
|
MOD_DAILYSCRIPTURE_TYPE_LABEL="Implementation Type"
|
||||||
@ -16,7 +16,10 @@ MOD_DAILYSCRIPTURE_COMMENTS_COLORFUL_LABEL="Use different colors for names"
|
|||||||
MOD_DAILYSCRIPTURE_COMMENTS_HEIGHT_LABEL="Comments Height"
|
MOD_DAILYSCRIPTURE_COMMENTS_HEIGHT_LABEL="Comments Height"
|
||||||
MOD_DAILYSCRIPTURE_COMMENTS_HEIGHT_DESCRIPTION="Use 300 for auto height. Any higher value to set custom height, since 300 is the smallest height available."
|
MOD_DAILYSCRIPTURE_COMMENTS_HEIGHT_DESCRIPTION="Use 300 for auto height. Any higher value to set custom height, since 300 is the smallest height available."
|
||||||
MOD_DAILYSCRIPTURE_LINK_LABEL="Show Link"
|
MOD_DAILYSCRIPTURE_LINK_LABEL="Show Link"
|
||||||
MOD_DAILYSCRIPTURE_LINK_DESCRIPTION="Should we show the link to the daily scripture channel on Telegram."
|
MOD_DAILYSCRIPTURE_LINK_DESCRIPTION="Should we show a link."
|
||||||
|
MOD_DAILYSCRIPTURE_GETBIBLE="GetBible"
|
||||||
|
MOD_DAILYSCRIPTURE_TELEGRAM="Telegram"
|
||||||
|
MOD_DAILYSCRIPTURE_NONE="None"
|
||||||
MOD_DAILYSCRIPTURE_WIDTH_LABEL="Width"
|
MOD_DAILYSCRIPTURE_WIDTH_LABEL="Width"
|
||||||
MOD_DAILYSCRIPTURE_AUTHOR_PHOTO_LABEL="Author Photo"
|
MOD_DAILYSCRIPTURE_AUTHOR_PHOTO_LABEL="Author Photo"
|
||||||
MOD_DAILYSCRIPTURE_AUTO="Auto"
|
MOD_DAILYSCRIPTURE_AUTO="Auto"
|
||||||
@ -35,4 +38,4 @@ MOD_DAILYSCRIPTURE_THEME_LABEL="Theme"
|
|||||||
MOD_DAILYSCRIPTURE_LIGHT_THEME="Light Theme"
|
MOD_DAILYSCRIPTURE_LIGHT_THEME="Light Theme"
|
||||||
MOD_DAILYSCRIPTURE_DARK_THEME="Dark Theme"
|
MOD_DAILYSCRIPTURE_DARK_THEME="Dark Theme"
|
||||||
MOD_DAILYSCRIPTURE_DAILY_SCRIPTURE_NOTE_LABEL="Details"
|
MOD_DAILYSCRIPTURE_DAILY_SCRIPTURE_NOTE_LABEL="Details"
|
||||||
MOD_DAILYSCRIPTURE_DAILY_SCRIPTURE_NOTE_DESCRIPTION="<h5>Relevant Links:</h5><ul><li><b>Daily scripture</b>: <a href='https://github.com/trueChristian/daily-scripture' target='_blank'>https://github.com/trueChristian/daily-scripture</a>.</li><li><b>Telegram channel</b>: <a href='https://t.me/daily_scripture' target='_blank'>https://t.me/daily_scripture</a>.</li><li><b>Module repository</b>: <a href='https://git.vdm.dev/christian/mod_dailyscripture' target='_blank'>https://git.vdm.dev/christian/mod_dailyscripture</a>.</li></ul><h5>How it works</h5><p>The daily scripture architecture is designed to automatically select a random verse from a collection of scripture without any human intervention. The core process of selecting a random verse can be broken down into three main steps: shuffling the verses, choosing the first verse from the shuffled list, and updating the list of used verses.</p><ol><li>Shuffling the verses: The script first reads the entire list of verses from a file called "SCRIPTURE" and then shuffles this list using a random sorting algorithm. This ensures that the order of the verses in the list is entirely random and unpredictable. This randomness is crucial, as it eliminates any potential human bias or control over the selection process.</li><li>Choosing the first verse from the shuffled list: Once the list of verses has been randomly shuffled, the script selects the very first verse from this shuffled list. Because the order of the verses is random, the selected verse is also random and unbiased. This chosen verse is then considered the verse of the day.</li><li>Updating the list of used verses: To ensure that the same verse isn't selected again within a short period, the script maintains a separate list of recently used verses, stored in a file called "SCRIPTURE_USED." After selecting the verse of the day, the script removes it from the main "SCRIPTURE" list and adds it to the "SCRIPTURE_USED" list. Additionally, to prevent the "SCRIPTURE_USED" list from growing indefinitely, the script retains only the last 182 used verses (approximately six months). If the "SCRIPTURE_USED" list grows beyond this limit, the oldest verse in the list is removed and added back to the main "SCRIPTURE" list, making it eligible for selection again.</li></ol><p>In summary, the random verse generation process implemented in this script is entirely automated and unbiased, relying on a random sorting algorithm to shuffle the list of verses before selecting one. The system also maintains a list of recently used verses to prevent repetition within a six-month period. This approach ensures a truly unexpected and random selection of verses, free from any human intervention or influence.</p>"
|
MOD_DAILYSCRIPTURE_DAILY_SCRIPTURE_NOTE_DESCRIPTION="<h5>Relevant Links:</h5><ul><li><b>Daily scripture</b>: <a href='https://git.vdm.dev/christian/daily-scripture' target='_blank'>https://git.vdm.dev/christian/daily-scripture</a>.</li><li><b>Telegram channel</b>: <a href='https://t.me/daily_scripture' target='_blank'>https://t.me/daily_scripture</a>.</li><li><b>Module repository</b>: <a href='https://git.vdm.dev/getBible/daily-scripture-module' target='_blank'>https://git.vdm.dev/getBible/daily-scripture-module</a>.</li></ul><h5>How it works</h5><p>The daily scripture architecture is designed to automatically select a random verse from a collection of scripture without any human intervention. The core process of selecting a random verse can be broken down into three main steps: shuffling the verses, choosing the first verse from the shuffled list, and updating the list of used verses.</p><ol><li>Shuffling the verses: The script first reads the entire list of verses from a file called "SCRIPTURE" and then shuffles this list using a random sorting algorithm. This ensures that the order of the verses in the list is entirely random and unpredictable. This randomness is crucial, as it eliminates any potential human bias or control over the selection process.</li><li>Choosing the first verse from the shuffled list: Once the list of verses has been randomly shuffled, the script selects the very first verse from this shuffled list. Because the order of the verses is random, the selected verse is also random and unbiased. This chosen verse is then considered the verse of the day.</li><li>Updating the list of used verses: To ensure that the same verse isn't selected again within a short period, the script maintains a separate list of recently used verses, stored in a file called "SCRIPTURE_USED." After selecting the verse of the day, the script removes it from the main "SCRIPTURE" list and adds it to the "SCRIPTURE_USED" list. Additionally, to prevent the "SCRIPTURE_USED" list from growing indefinitely, the script retains only the last 182 used verses (approximately six months). If the "SCRIPTURE_USED" list grows beyond this limit, the oldest verse in the list is removed and added back to the main "SCRIPTURE" list, making it eligible for selection again.</li></ol><p>In summary, the random verse generation process implemented in this script is entirely automated and unbiased, relying on a random sorting algorithm to shuffle the list of verses before selecting one. The system also maintains a list of recently used verses to prevent repetition within a six-month period. This approach ensures a truly unexpected and random selection of verses, free from any human intervention or influence.</p>"
|
@ -1,26 +1,19 @@
|
|||||||
<?php
|
<?php
|
||||||
/*-------------------------------------------------------------------------------------------------------------| www.vdm.io |------/
|
/*----------------------------------------------------------------------------------| io.vdm.dev |----/
|
||||||
____ ____ __ __ __
|
Vast Development Method
|
||||||
/\ _`\ /\ _`\ __ /\ \__ __/\ \ /\ \__
|
/-------------------------------------------------------------------------------------------------------/
|
||||||
\ \,\L\_\ __ _ __ ___ ___ ___ ___ \ \ \/\ \/\_\ ____\ \ ,_\ _ __ /\_\ \ \____ __ __\ \ ,_\ ___ _ __
|
|
||||||
\/_\__ \ /'__`\/\`'__\/' __` __`\ / __`\ /' _ `\ \ \ \ \ \/\ \ /',__\\ \ \/ /\`'__\/\ \ \ '__`\/\ \/\ \\ \ \/ / __`\/\`'__\
|
|
||||||
/\ \L\ \/\ __/\ \ \/ /\ \/\ \/\ \/\ \L\ \/\ \/\ \ \ \ \_\ \ \ \/\__, `\\ \ \_\ \ \/ \ \ \ \ \L\ \ \ \_\ \\ \ \_/\ \L\ \ \ \/
|
|
||||||
\ `\____\ \____\\ \_\ \ \_\ \_\ \_\ \____/\ \_\ \_\ \ \____/\ \_\/\____/ \ \__\\ \_\ \ \_\ \_,__/\ \____/ \ \__\ \____/\ \_\
|
|
||||||
\/_____/\/____/ \/_/ \/_/\/_/\/_/\/___/ \/_/\/_/ \/___/ \/_/\/___/ \/__/ \/_/ \/_/\/___/ \/___/ \/__/\/___/ \/_/
|
|
||||||
|
|
||||||
/------------------------------------------------------------------------------------------------------------------------------------/
|
@package getBible.net
|
||||||
|
|
||||||
@version 2.1.x
|
@created 3rd December, 2015
|
||||||
@created 22nd October, 2015
|
@author Llewellyn van der Merwe <https://getbible.net>
|
||||||
@package Sermon Distributor
|
@git Get Bible <https://git.vdm.dev/getBible>
|
||||||
@subpackage mod_dailyscripture.php
|
@github Get Bible <https://github.com/getBible>
|
||||||
@author Llewellyn van der Merwe <https://www.vdm.io/>
|
@support Get Bible <https://git.vdm.dev/getBible/support>
|
||||||
@copyright Copyright (C) 2015. All Rights Reserved
|
@copyright Copyright (C) 2015. All Rights Reserved
|
||||||
@license GNU/GPL Version 2 or later - http://www.gnu.org/licenses/gpl-2.0.html
|
@license GNU/GPL Version 2 or later - http://www.gnu.org/licenses/gpl-2.0.html
|
||||||
|
|
||||||
A sermon distributor that links to Dropbox.
|
/------------------------------------------------------------------------------------------------------*/
|
||||||
|
|
||||||
/----------------------------------------------------------------------------------------------------------------------------------*/
|
|
||||||
|
|
||||||
// No direct access to this file
|
// No direct access to this file
|
||||||
defined('_JEXEC') or die('Restricted access');
|
defined('_JEXEC') or die('Restricted access');
|
||||||
|
@ -1,13 +1,13 @@
|
|||||||
<?xml version="1.0" encoding="utf-8"?>
|
<?xml version="1.0" encoding="utf-8"?>
|
||||||
<extension type="module" version="4" client="site" method="upgrade">
|
<extension type="module" version="4" client="site" method="upgrade">
|
||||||
<name>MOD_DAILYSCRIPTURE</name>
|
<name>MOD_DAILYSCRIPTURE</name>
|
||||||
<creationDate>5th April, 2023</creationDate>
|
<creationDate>26th July, 2023</creationDate>
|
||||||
<author>Llewellyn van der Merwe</author>
|
<author>Llewellyn van der Merwe</author>
|
||||||
<authorEmail>joomla@vdm.io</authorEmail>
|
<authorEmail>joomla@vdm.io</authorEmail>
|
||||||
<authorUrl>https://www.vdm.io/</authorUrl>
|
<authorUrl>https://getbible.net</authorUrl>
|
||||||
<copyright>Copyright (C) 2015. All Rights Reserved</copyright>
|
<copyright>Copyright (C) 2015. All Rights Reserved</copyright>
|
||||||
<license>GNU/GPL Version 2 or later - http://www.gnu.org/licenses/gpl-2.0.html</license>
|
<license>GNU/GPL Version 2 or later - http://www.gnu.org/licenses/gpl-2.0.html</license>
|
||||||
<version>1.1.4</version>
|
<version>1.1.5</version>
|
||||||
<description>MOD_DAILYSCRIPTURE_XML_DESCRIPTION</description>
|
<description>MOD_DAILYSCRIPTURE_XML_DESCRIPTION</description>
|
||||||
|
|
||||||
<!-- Scripts to run on installation -->
|
<!-- Scripts to run on installation -->
|
||||||
@ -32,10 +32,7 @@
|
|||||||
</files>
|
</files>
|
||||||
|
|
||||||
<!-- Config parameter -->
|
<!-- Config parameter -->
|
||||||
<config
|
<config>
|
||||||
addrulepath="/administrator/components/com_sermondistributor/models/rules"
|
|
||||||
addfieldpath="/administrator/components/com_sermondistributor/models/fields"
|
|
||||||
>
|
|
||||||
<fields name="params">
|
<fields name="params">
|
||||||
<!-- default paths of basic fieldset points to the module -->
|
<!-- default paths of basic fieldset points to the module -->
|
||||||
<fieldset name="basic" label="basic"
|
<fieldset name="basic" label="basic"
|
||||||
@ -118,10 +115,12 @@
|
|||||||
default="1"
|
default="1"
|
||||||
showon="type:1">
|
showon="type:1">
|
||||||
<!-- Option Set. -->
|
<!-- Option Set. -->
|
||||||
|
<option value="2">
|
||||||
|
MOD_DAILYSCRIPTURE_GETBIBLE</option>
|
||||||
<option value="1">
|
<option value="1">
|
||||||
MOD_DAILYSCRIPTURE_YES</option>
|
MOD_DAILYSCRIPTURE_TELEGRAM</option>
|
||||||
<option value="0">
|
<option value="0">
|
||||||
MOD_DAILYSCRIPTURE_NO</option>
|
MOD_DAILYSCRIPTURE_NONE</option>
|
||||||
</field>
|
</field>
|
||||||
<!-- Width Field. Type: Number. (joomla) -->
|
<!-- Width Field. Type: Number. (joomla) -->
|
||||||
<field
|
<field
|
||||||
@ -199,7 +198,11 @@
|
|||||||
MOD_DAILYSCRIPTURE_DARK_THEME</option>
|
MOD_DAILYSCRIPTURE_DARK_THEME</option>
|
||||||
</field>
|
</field>
|
||||||
</fieldset>
|
</fieldset>
|
||||||
<fieldset name="info" label="MOD_DAILYSCRIPTURE_DAILY_SCRIPTURE">
|
<!-- default paths of info fieldset points to the module -->
|
||||||
|
<fieldset name="info" label="MOD_DAILYSCRIPTURE_DAILY_SCRIPTURE"
|
||||||
|
addrulepath="/modules/mod_dailyscripture/rules"
|
||||||
|
addfieldpath="/modules/mod_dailyscripture/fields"
|
||||||
|
>
|
||||||
<!-- Daily_scripture_note Field. Type: Note. A None Database Field. (joomla) -->
|
<!-- Daily_scripture_note Field. Type: Note. A None Database Field. (joomla) -->
|
||||||
<field type="note" name="daily_scripture_note" label="MOD_DAILYSCRIPTURE_DAILY_SCRIPTURE_NOTE_LABEL" description="MOD_DAILYSCRIPTURE_DAILY_SCRIPTURE_NOTE_DESCRIPTION" heading="h4" class="alert alert-success daily_scripture_note" />
|
<field type="note" name="daily_scripture_note" label="MOD_DAILYSCRIPTURE_DAILY_SCRIPTURE_NOTE_LABEL" description="MOD_DAILYSCRIPTURE_DAILY_SCRIPTURE_NOTE_DESCRIPTION" heading="h4" class="alert alert-success daily_scripture_note" />
|
||||||
</fieldset>
|
</fieldset>
|
||||||
|
27
script.php
27
script.php
@ -1,26 +1,19 @@
|
|||||||
<?php
|
<?php
|
||||||
/*-------------------------------------------------------------------------------------------------------------| www.vdm.io |------/
|
/*----------------------------------------------------------------------------------| io.vdm.dev |----/
|
||||||
____ ____ __ __ __
|
Vast Development Method
|
||||||
/\ _`\ /\ _`\ __ /\ \__ __/\ \ /\ \__
|
/-------------------------------------------------------------------------------------------------------/
|
||||||
\ \,\L\_\ __ _ __ ___ ___ ___ ___ \ \ \/\ \/\_\ ____\ \ ,_\ _ __ /\_\ \ \____ __ __\ \ ,_\ ___ _ __
|
|
||||||
\/_\__ \ /'__`\/\`'__\/' __` __`\ / __`\ /' _ `\ \ \ \ \ \/\ \ /',__\\ \ \/ /\`'__\/\ \ \ '__`\/\ \/\ \\ \ \/ / __`\/\`'__\
|
|
||||||
/\ \L\ \/\ __/\ \ \/ /\ \/\ \/\ \/\ \L\ \/\ \/\ \ \ \ \_\ \ \ \/\__, `\\ \ \_\ \ \/ \ \ \ \ \L\ \ \ \_\ \\ \ \_/\ \L\ \ \ \/
|
|
||||||
\ `\____\ \____\\ \_\ \ \_\ \_\ \_\ \____/\ \_\ \_\ \ \____/\ \_\/\____/ \ \__\\ \_\ \ \_\ \_,__/\ \____/ \ \__\ \____/\ \_\
|
|
||||||
\/_____/\/____/ \/_/ \/_/\/_/\/_/\/___/ \/_/\/_/ \/___/ \/_/\/___/ \/__/ \/_/ \/_/\/___/ \/___/ \/__/\/___/ \/_/
|
|
||||||
|
|
||||||
/------------------------------------------------------------------------------------------------------------------------------------/
|
@package getBible.net
|
||||||
|
|
||||||
@version 2.1.x
|
@created 3rd December, 2015
|
||||||
@created 22nd October, 2015
|
@author Llewellyn van der Merwe <https://getbible.net>
|
||||||
@package Sermon Distributor
|
@git Get Bible <https://git.vdm.dev/getBible>
|
||||||
@subpackage script.php
|
@github Get Bible <https://github.com/getBible>
|
||||||
@author Llewellyn van der Merwe <https://www.vdm.io/>
|
@support Get Bible <https://git.vdm.dev/getBible/support>
|
||||||
@copyright Copyright (C) 2015. All Rights Reserved
|
@copyright Copyright (C) 2015. All Rights Reserved
|
||||||
@license GNU/GPL Version 2 or later - http://www.gnu.org/licenses/gpl-2.0.html
|
@license GNU/GPL Version 2 or later - http://www.gnu.org/licenses/gpl-2.0.html
|
||||||
|
|
||||||
A sermon distributor that links to Dropbox.
|
/------------------------------------------------------------------------------------------------------*/
|
||||||
|
|
||||||
/----------------------------------------------------------------------------------------------------------------------------------*/
|
|
||||||
|
|
||||||
// No direct access to this file
|
// No direct access to this file
|
||||||
defined('_JEXEC') or die('Restricted access');
|
defined('_JEXEC') or die('Restricted access');
|
||||||
|
@ -1,26 +1,19 @@
|
|||||||
<?php
|
<?php
|
||||||
/*-------------------------------------------------------------------------------------------------------------| www.vdm.io |------/
|
/*----------------------------------------------------------------------------------| io.vdm.dev |----/
|
||||||
____ ____ __ __ __
|
Vast Development Method
|
||||||
/\ _`\ /\ _`\ __ /\ \__ __/\ \ /\ \__
|
/-------------------------------------------------------------------------------------------------------/
|
||||||
\ \,\L\_\ __ _ __ ___ ___ ___ ___ \ \ \/\ \/\_\ ____\ \ ,_\ _ __ /\_\ \ \____ __ __\ \ ,_\ ___ _ __
|
|
||||||
\/_\__ \ /'__`\/\`'__\/' __` __`\ / __`\ /' _ `\ \ \ \ \ \/\ \ /',__\\ \ \/ /\`'__\/\ \ \ '__`\/\ \/\ \\ \ \/ / __`\/\`'__\
|
|
||||||
/\ \L\ \/\ __/\ \ \/ /\ \/\ \/\ \/\ \L\ \/\ \/\ \ \ \ \_\ \ \ \/\__, `\\ \ \_\ \ \/ \ \ \ \ \L\ \ \ \_\ \\ \ \_/\ \L\ \ \ \/
|
|
||||||
\ `\____\ \____\\ \_\ \ \_\ \_\ \_\ \____/\ \_\ \_\ \ \____/\ \_\/\____/ \ \__\\ \_\ \ \_\ \_,__/\ \____/ \ \__\ \____/\ \_\
|
|
||||||
\/_____/\/____/ \/_/ \/_/\/_/\/_/\/___/ \/_/\/_/ \/___/ \/_/\/___/ \/__/ \/_/ \/_/\/___/ \/___/ \/__/\/___/ \/_/
|
|
||||||
|
|
||||||
/------------------------------------------------------------------------------------------------------------------------------------/
|
@package getBible.net
|
||||||
|
|
||||||
@version 2.1.x
|
@created 3rd December, 2015
|
||||||
@created 22nd October, 2015
|
@author Llewellyn van der Merwe <https://getbible.net>
|
||||||
@package Sermon Distributor
|
@git Get Bible <https://git.vdm.dev/getBible>
|
||||||
@subpackage default.php
|
@github Get Bible <https://github.com/getBible>
|
||||||
@author Llewellyn van der Merwe <https://www.vdm.io/>
|
@support Get Bible <https://git.vdm.dev/getBible/support>
|
||||||
@copyright Copyright (C) 2015. All Rights Reserved
|
@copyright Copyright (C) 2015. All Rights Reserved
|
||||||
@license GNU/GPL Version 2 or later - http://www.gnu.org/licenses/gpl-2.0.html
|
@license GNU/GPL Version 2 or later - http://www.gnu.org/licenses/gpl-2.0.html
|
||||||
|
|
||||||
A sermon distributor that links to Dropbox.
|
/------------------------------------------------------------------------------------------------------*/
|
||||||
|
|
||||||
/----------------------------------------------------------------------------------------------------------------------------------*/
|
|
||||||
|
|
||||||
// No direct access to this file
|
// No direct access to this file
|
||||||
defined('_JEXEC') or die('Restricted access');
|
defined('_JEXEC') or die('Restricted access');
|
||||||
@ -34,7 +27,9 @@ defined('_JEXEC') or die('Restricted access');
|
|||||||
<li><b><?php echo $scripture->nr; ?></b> <?php echo $scripture->text; ?></li>
|
<li><b><?php echo $scripture->nr; ?></b> <?php echo $scripture->text; ?></li>
|
||||||
<?php endforeach; ?>
|
<?php endforeach; ?>
|
||||||
</ul>
|
</ul>
|
||||||
<?php if ($params->get('link', 1) == 1): ?>
|
<?php if ($params->get('link', 2) == 2): ?>
|
||||||
|
<a href="<?php echo $today->getbible; ?>" target="_blank"><?php echo $today->date; ?></a>
|
||||||
|
<?php elseif ($params->get('link', 2) == 1): ?>
|
||||||
<a href="https://t.me/s/<?php echo $today->telegram; ?>" target="_blank"><?php echo $today->date; ?></a>
|
<a href="https://t.me/s/<?php echo $today->telegram; ?>" target="_blank"><?php echo $today->date; ?></a>
|
||||||
<?php else: ?>
|
<?php else: ?>
|
||||||
<p><?php echo $today->date; ?></p>
|
<p><?php echo $today->date; ?></p>
|
||||||
|
Loading…
Reference in New Issue
Block a user