Release of v1.1.3
This commit is contained in:
parent
b4d1c29523
commit
1b9906b9ca
16
README.md
16
README.md
@ -1,17 +1,19 @@
|
||||
# Dailylight (1.1.2)
|
||||
# Dailylight (1.1.3)
|
||||
|
||||
Display the daily light from [https://git.vdm.dev/christian/daily-light](https://git.vdm.dev/christian/daily-light).
|
||||
|
||||
> Support can be found at our [community support area](https://git.vdm.dev/getBible/support).
|
||||
|
||||
# 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)
|
||||
+ *Name*: [Dailylight](https://www.vdm.io/)
|
||||
+ *First Build*: 22nd October, 2015
|
||||
+ *Last Build*: 29th May, 2023
|
||||
+ *Version*: 1.1.2
|
||||
+ *Name*: [Dailylight](https://getbible.net)
|
||||
+ *First Build*: 3rd December, 2015
|
||||
+ *Last Build*: 26th July, 2023
|
||||
+ *Version*: 1.1.3
|
||||
+ *Copyright*: Copyright (C) 2015. All Rights Reserved
|
||||
+ *License*: GNU/GPL Version 2 or later - http://www.gnu.org/licenses/gpl-2.0.html
|
||||
|
||||
> This **module** was build with a Joomla [Automated Component Builder](https://www.joomlacomponentbuilder.com).
|
||||
> Developed by [Llewellyn van der Merwe](mailto:llewellyn@joomlacomponentbuilder.com)
|
||||
> Developed by [Llewellyn van der Merwe](mailto:joomla@vdm.io)
|
31
helper.php
31
helper.php
@ -1,26 +1,19 @@
|
||||
<?php
|
||||
/*-------------------------------------------------------------------------------------------------------------| www.vdm.io |------/
|
||||
____ ____ __ __ __
|
||||
/\ _`\ /\ _`\ __ /\ \__ __/\ \ /\ \__
|
||||
\ \,\L\_\ __ _ __ ___ ___ ___ ___ \ \ \/\ \/\_\ ____\ \ ,_\ _ __ /\_\ \ \____ __ __\ \ ,_\ ___ _ __
|
||||
\/_\__ \ /'__`\/\`'__\/' __` __`\ / __`\ /' _ `\ \ \ \ \ \/\ \ /',__\\ \ \/ /\`'__\/\ \ \ '__`\/\ \/\ \\ \ \/ / __`\/\`'__\
|
||||
/\ \L\ \/\ __/\ \ \/ /\ \/\ \/\ \/\ \L\ \/\ \/\ \ \ \ \_\ \ \ \/\__, `\\ \ \_\ \ \/ \ \ \ \ \L\ \ \ \_\ \\ \ \_/\ \L\ \ \ \/
|
||||
\ `\____\ \____\\ \_\ \ \_\ \_\ \_\ \____/\ \_\ \_\ \ \____/\ \_\/\____/ \ \__\\ \_\ \ \_\ \_,__/\ \____/ \ \__\ \____/\ \_\
|
||||
\/_____/\/____/ \/_/ \/_/\/_/\/_/\/___/ \/_/\/_/ \/___/ \/_/\/___/ \/__/ \/_/ \/_/\/___/ \/___/ \/__/\/___/ \/_/
|
||||
/*----------------------------------------------------------------------------------| io.vdm.dev |----/
|
||||
Vast Development Method
|
||||
/-------------------------------------------------------------------------------------------------------/
|
||||
|
||||
/------------------------------------------------------------------------------------------------------------------------------------/
|
||||
@package getBible.net
|
||||
|
||||
@version 2.1.x
|
||||
@created 22nd October, 2015
|
||||
@package Sermon Distributor
|
||||
@subpackage helper.php
|
||||
@author Llewellyn van der Merwe <https://www.vdm.io/>
|
||||
@copyright Copyright (C) 2015. All Rights Reserved
|
||||
@license GNU/GPL Version 2 or later - http://www.gnu.org/licenses/gpl-2.0.html
|
||||
@created 3rd December, 2015
|
||||
@author Llewellyn van der Merwe <https://getbible.net>
|
||||
@git Get Bible <https://git.vdm.dev/getBible>
|
||||
@github Get Bible <https://github.com/getBible>
|
||||
@support Get Bible <https://git.vdm.dev/getBible/support>
|
||||
@copyright Copyright (C) 2015. All Rights Reserved
|
||||
@license GNU/GPL Version 2 or later - http://www.gnu.org/licenses/gpl-2.0.html
|
||||
|
||||
A sermon distributor that links to Dropbox.
|
||||
|
||||
/----------------------------------------------------------------------------------------------------------------------------------*/
|
||||
/------------------------------------------------------------------------------------------------------*/
|
||||
|
||||
// No direct access to this file
|
||||
defined('_JEXEC') or die('Restricted access');
|
||||
|
@ -1,6 +1,6 @@
|
||||
MOD_DAILYLIGHT="Dailylight"
|
||||
MOD_DAILYLIGHT_DESCRIPTION="A Joomla Module to Display the Daily Daily Light on the Daily Path."
|
||||
MOD_DAILYLIGHT_XML_DESCRIPTION="<h1>Dailylight (v.1.1.2)</h1> <div style='clear: both;'></div><p>A Joomla Module to Display the Daily Daily Light on the Daily Path.</p><p>Created by <a href='https://www.vdm.io/' target='_blank'>Llewellyn van der Merwe</a><br /><small>Development started 14th January, 2022</small></p>"
|
||||
MOD_DAILYLIGHT_XML_DESCRIPTION="<h1>Dailylight (v.1.1.3)</h1> <div style='clear: both;'></div><p>A Joomla Module to Display the Daily Daily Light on the Daily Path.</p><p>Created by <a href='https://getbible.net' target='_blank'>Llewellyn van der Merwe</a><br /><small>Development started 14th January, 2022</small></p>"
|
||||
MOD_DAILYLIGHT_DAILY_LIGHT="Daily Light"
|
||||
MOD_DAILYLIGHT_THERE_WAS_AN_ERROR_LOADING_THE_DAILY_LIGHT_PLEASE_TRY_AGAIN_LATTER="There was an error loading the Daily Light, please try again latter."
|
||||
MOD_DAILYLIGHT_TIME_OF_DAY_LABEL="Time of Day"
|
||||
@ -26,7 +26,10 @@ MOD_DAILYLIGHT_COMMENTS_COLORFUL_LABEL="Use different colors for names"
|
||||
MOD_DAILYLIGHT_COMMENTS_HEIGHT_LABEL="Comments Height"
|
||||
MOD_DAILYLIGHT_COMMENTS_HEIGHT_DESCRIPTION="Use 300 for auto height. Any higher value to set custom height, since 300 is the smallest height available."
|
||||
MOD_DAILYLIGHT_LINK_LABEL="Show Link"
|
||||
MOD_DAILYLIGHT_LINK_DESCRIPTION="Should we show the link to the daily scripture channel on Telegram."
|
||||
MOD_DAILYLIGHT_LINK_DESCRIPTION="Should we show a link."
|
||||
MOD_DAILYLIGHT_GETBIBLE="GetBible"
|
||||
MOD_DAILYLIGHT_TELEGRAM="Telegram"
|
||||
MOD_DAILYLIGHT_NONE="None"
|
||||
MOD_DAILYLIGHT_SHOW_DATE_FOOTER_LABEL="Show Date Footer"
|
||||
MOD_DAILYLIGHT_WIDTH_LABEL="Width"
|
||||
MOD_DAILYLIGHT_AUTHOR_PHOTO_LABEL="Author Photo"
|
||||
@ -46,4 +49,4 @@ MOD_DAILYLIGHT_THEME_LABEL="Theme"
|
||||
MOD_DAILYLIGHT_LIGHT_THEME="Light Theme"
|
||||
MOD_DAILYLIGHT_DARK_THEME="Dark Theme"
|
||||
MOD_DAILYLIGHT_DAILY_LIGHT_NOTE_LABEL="Details"
|
||||
MOD_DAILYLIGHT_DAILY_LIGHT_NOTE_DESCRIPTION="<h5>Relevant Links:</h5><ul><li><b>Daily Light</b>: <a href='https://github.com/trueChristian/daily-light' target='_blank'>https://github.com/trueChristian/daily-light</a>.</li><li><b>Telegram channel</b>: <a href='https://t.me/daily_light' target='_blank'>https://t.me/daily_light</a>.</li><li><b>Module repository</b>: <a href='https://git.vdm.dev/christian/mod_dailylight' target='_blank'>https://git.vdm.dev/christian/mod_dailylight</a>.</li></ul><h5>How it works</h5><p>We have a script that is designed to update a repository with daily messages called "Daily Light." The script achieves this by first setting up various variables and configurations, then extracting the relevant information for the current day, and finally updating the files and pushing the changes to the repository.</p><p>In the first part, the script sets up the file paths, key identifiers, and date information. It establishes the script's directory, the Daily Light file location, and the morning and evening keys used to identify specific sections of the file. It also sets the current date based on the "Africa/Windhoek" timezone. After setting up the configurations, the script searches the Daily Light file for the current day's details using the 'grep' command, which matches the date with the corresponding line of text.</p><p>In the second part, the script formats and extracts the relevant information from the matched line of text. It splits the line into separate sections for the morning and evening messages, as well as the respective verses for each. Next, it creates two sets of formatted text—one in HTML and the other in Markdown. These formatted texts include the morning and evening messages, verses, and a link to a Telegram channel.</p><p>Finally, the script writes the formatted text to four separate files—morning.html, evening.html, morning.md, and evening.md. It then creates a README.md file with both the morning and evening messages and verses, along with a link to the Telegram channel. Lastly, the script commits the changes with a git commit command, using the current date as the commit message, and pushes the changes to the repository. This ensures that the repository stays updated with the latest Daily Light details for users to access.</p>"
|
||||
MOD_DAILYLIGHT_DAILY_LIGHT_NOTE_DESCRIPTION="<h5>Relevant Links:</h5><ul><li><b>Daily Light</b>: <a href='https://git.vdm.dev/christian/daily-light' target='_blank'>https://git.vdm.dev/christian/daily-light</a>.</li><li><b>Telegram channel</b>: <a href='https://t.me/daily_light' target='_blank'>https://t.me/daily_light</a>.</li><li><b>Module repository</b>: <a href='https://git.vdm.dev/getBible/daily-light-module' target='_blank'>https://git.vdm.dev/getBible/daily-light-module</a>.</li></ul><h5>How it works</h5><p>We have a script that is designed to update a repository with daily messages called "Daily Light." The script achieves this by first setting up various variables and configurations, then extracting the relevant information for the current day, and finally updating the files and pushing the changes to the repository.</p><p>In the first part, the script sets up the file paths, key identifiers, and date information. It establishes the script's directory, the Daily Light file location, and the morning and evening keys used to identify specific sections of the file. It also sets the current date based on the "Africa/Windhoek" timezone. After setting up the configurations, the script searches the Daily Light file for the current day's details using the 'grep' command, which matches the date with the corresponding line of text.</p><p>In the second part, the script formats and extracts the relevant information from the matched line of text. It splits the line into separate sections for the morning and evening messages, as well as the respective verses for each. Next, it creates two sets of formatted text—one in HTML and the other in Markdown. These formatted texts include the morning and evening messages, verses, and a link to a Telegram channel.</p><p>Finally, the script writes the formatted text to four separate files—morning.html, evening.html, morning.md, and evening.md. It then creates a README.md file with both the morning and evening messages and verses, along with a link to the Telegram channel. Lastly, the script commits the changes with a git commit command, using the current date as the commit message, and pushes the changes to the repository. This ensures that the repository stays updated with the latest Daily Light details for users to access.</p>"
|
@ -1,6 +1,6 @@
|
||||
MOD_DAILYLIGHT="Dailylight"
|
||||
MOD_DAILYLIGHT_DESCRIPTION="A Joomla Module to Display the Daily Daily Light on the Daily Path."
|
||||
MOD_DAILYLIGHT_XML_DESCRIPTION="<h1>Dailylight (v.1.1.2)</h1> <div style='clear: both;'></div><p>A Joomla Module to Display the Daily Daily Light on the Daily Path.</p><p>Created by <a href='https://www.vdm.io/' target='_blank'>Llewellyn van der Merwe</a><br /><small>Development started 14th January, 2022</small></p>"
|
||||
MOD_DAILYLIGHT_XML_DESCRIPTION="<h1>Dailylight (v.1.1.3)</h1> <div style='clear: both;'></div><p>A Joomla Module to Display the Daily Daily Light on the Daily Path.</p><p>Created by <a href='https://getbible.net' target='_blank'>Llewellyn van der Merwe</a><br /><small>Development started 14th January, 2022</small></p>"
|
||||
MOD_DAILYLIGHT_DAILY_LIGHT="Daily Light"
|
||||
MOD_DAILYLIGHT_THERE_WAS_AN_ERROR_LOADING_THE_DAILY_LIGHT_PLEASE_TRY_AGAIN_LATTER="There was an error loading the Daily Light, please try again latter."
|
||||
MOD_DAILYLIGHT_TIME_OF_DAY_LABEL="Time of Day"
|
||||
@ -26,7 +26,10 @@ MOD_DAILYLIGHT_COMMENTS_COLORFUL_LABEL="Use different colors for names"
|
||||
MOD_DAILYLIGHT_COMMENTS_HEIGHT_LABEL="Comments Height"
|
||||
MOD_DAILYLIGHT_COMMENTS_HEIGHT_DESCRIPTION="Use 300 for auto height. Any higher value to set custom height, since 300 is the smallest height available."
|
||||
MOD_DAILYLIGHT_LINK_LABEL="Show Link"
|
||||
MOD_DAILYLIGHT_LINK_DESCRIPTION="Should we show the link to the daily scripture channel on Telegram."
|
||||
MOD_DAILYLIGHT_LINK_DESCRIPTION="Should we show a link."
|
||||
MOD_DAILYLIGHT_GETBIBLE="GetBible"
|
||||
MOD_DAILYLIGHT_TELEGRAM="Telegram"
|
||||
MOD_DAILYLIGHT_NONE="None"
|
||||
MOD_DAILYLIGHT_SHOW_DATE_FOOTER_LABEL="Show Date Footer"
|
||||
MOD_DAILYLIGHT_WIDTH_LABEL="Width"
|
||||
MOD_DAILYLIGHT_AUTHOR_PHOTO_LABEL="Author Photo"
|
||||
@ -46,4 +49,4 @@ MOD_DAILYLIGHT_THEME_LABEL="Theme"
|
||||
MOD_DAILYLIGHT_LIGHT_THEME="Light Theme"
|
||||
MOD_DAILYLIGHT_DARK_THEME="Dark Theme"
|
||||
MOD_DAILYLIGHT_DAILY_LIGHT_NOTE_LABEL="Details"
|
||||
MOD_DAILYLIGHT_DAILY_LIGHT_NOTE_DESCRIPTION="<h5>Relevant Links:</h5><ul><li><b>Daily Light</b>: <a href='https://github.com/trueChristian/daily-light' target='_blank'>https://github.com/trueChristian/daily-light</a>.</li><li><b>Telegram channel</b>: <a href='https://t.me/daily_light' target='_blank'>https://t.me/daily_light</a>.</li><li><b>Module repository</b>: <a href='https://git.vdm.dev/christian/mod_dailylight' target='_blank'>https://git.vdm.dev/christian/mod_dailylight</a>.</li></ul><h5>How it works</h5><p>We have a script that is designed to update a repository with daily messages called "Daily Light." The script achieves this by first setting up various variables and configurations, then extracting the relevant information for the current day, and finally updating the files and pushing the changes to the repository.</p><p>In the first part, the script sets up the file paths, key identifiers, and date information. It establishes the script's directory, the Daily Light file location, and the morning and evening keys used to identify specific sections of the file. It also sets the current date based on the "Africa/Windhoek" timezone. After setting up the configurations, the script searches the Daily Light file for the current day's details using the 'grep' command, which matches the date with the corresponding line of text.</p><p>In the second part, the script formats and extracts the relevant information from the matched line of text. It splits the line into separate sections for the morning and evening messages, as well as the respective verses for each. Next, it creates two sets of formatted text—one in HTML and the other in Markdown. These formatted texts include the morning and evening messages, verses, and a link to a Telegram channel.</p><p>Finally, the script writes the formatted text to four separate files—morning.html, evening.html, morning.md, and evening.md. It then creates a README.md file with both the morning and evening messages and verses, along with a link to the Telegram channel. Lastly, the script commits the changes with a git commit command, using the current date as the commit message, and pushes the changes to the repository. This ensures that the repository stays updated with the latest Daily Light details for users to access.</p>"
|
||||
MOD_DAILYLIGHT_DAILY_LIGHT_NOTE_DESCRIPTION="<h5>Relevant Links:</h5><ul><li><b>Daily Light</b>: <a href='https://git.vdm.dev/christian/daily-light' target='_blank'>https://git.vdm.dev/christian/daily-light</a>.</li><li><b>Telegram channel</b>: <a href='https://t.me/daily_light' target='_blank'>https://t.me/daily_light</a>.</li><li><b>Module repository</b>: <a href='https://git.vdm.dev/getBible/daily-light-module' target='_blank'>https://git.vdm.dev/getBible/daily-light-module</a>.</li></ul><h5>How it works</h5><p>We have a script that is designed to update a repository with daily messages called "Daily Light." The script achieves this by first setting up various variables and configurations, then extracting the relevant information for the current day, and finally updating the files and pushing the changes to the repository.</p><p>In the first part, the script sets up the file paths, key identifiers, and date information. It establishes the script's directory, the Daily Light file location, and the morning and evening keys used to identify specific sections of the file. It also sets the current date based on the "Africa/Windhoek" timezone. After setting up the configurations, the script searches the Daily Light file for the current day's details using the 'grep' command, which matches the date with the corresponding line of text.</p><p>In the second part, the script formats and extracts the relevant information from the matched line of text. It splits the line into separate sections for the morning and evening messages, as well as the respective verses for each. Next, it creates two sets of formatted text—one in HTML and the other in Markdown. These formatted texts include the morning and evening messages, verses, and a link to a Telegram channel.</p><p>Finally, the script writes the formatted text to four separate files—morning.html, evening.html, morning.md, and evening.md. It then creates a README.md file with both the morning and evening messages and verses, along with a link to the Telegram channel. Lastly, the script commits the changes with a git commit command, using the current date as the commit message, and pushes the changes to the repository. This ensures that the repository stays updated with the latest Daily Light details for users to access.</p>"
|
@ -1,26 +1,19 @@
|
||||
<?php
|
||||
/*-------------------------------------------------------------------------------------------------------------| www.vdm.io |------/
|
||||
____ ____ __ __ __
|
||||
/\ _`\ /\ _`\ __ /\ \__ __/\ \ /\ \__
|
||||
\ \,\L\_\ __ _ __ ___ ___ ___ ___ \ \ \/\ \/\_\ ____\ \ ,_\ _ __ /\_\ \ \____ __ __\ \ ,_\ ___ _ __
|
||||
\/_\__ \ /'__`\/\`'__\/' __` __`\ / __`\ /' _ `\ \ \ \ \ \/\ \ /',__\\ \ \/ /\`'__\/\ \ \ '__`\/\ \/\ \\ \ \/ / __`\/\`'__\
|
||||
/\ \L\ \/\ __/\ \ \/ /\ \/\ \/\ \/\ \L\ \/\ \/\ \ \ \ \_\ \ \ \/\__, `\\ \ \_\ \ \/ \ \ \ \ \L\ \ \ \_\ \\ \ \_/\ \L\ \ \ \/
|
||||
\ `\____\ \____\\ \_\ \ \_\ \_\ \_\ \____/\ \_\ \_\ \ \____/\ \_\/\____/ \ \__\\ \_\ \ \_\ \_,__/\ \____/ \ \__\ \____/\ \_\
|
||||
\/_____/\/____/ \/_/ \/_/\/_/\/_/\/___/ \/_/\/_/ \/___/ \/_/\/___/ \/__/ \/_/ \/_/\/___/ \/___/ \/__/\/___/ \/_/
|
||||
/*----------------------------------------------------------------------------------| io.vdm.dev |----/
|
||||
Vast Development Method
|
||||
/-------------------------------------------------------------------------------------------------------/
|
||||
|
||||
/------------------------------------------------------------------------------------------------------------------------------------/
|
||||
@package getBible.net
|
||||
|
||||
@version 2.1.x
|
||||
@created 22nd October, 2015
|
||||
@package Sermon Distributor
|
||||
@subpackage mod_dailylight.php
|
||||
@author Llewellyn van der Merwe <https://www.vdm.io/>
|
||||
@copyright Copyright (C) 2015. All Rights Reserved
|
||||
@license GNU/GPL Version 2 or later - http://www.gnu.org/licenses/gpl-2.0.html
|
||||
@created 3rd December, 2015
|
||||
@author Llewellyn van der Merwe <https://getbible.net>
|
||||
@git Get Bible <https://git.vdm.dev/getBible>
|
||||
@github Get Bible <https://github.com/getBible>
|
||||
@support Get Bible <https://git.vdm.dev/getBible/support>
|
||||
@copyright Copyright (C) 2015. All Rights Reserved
|
||||
@license GNU/GPL Version 2 or later - http://www.gnu.org/licenses/gpl-2.0.html
|
||||
|
||||
A sermon distributor that links to Dropbox.
|
||||
|
||||
/----------------------------------------------------------------------------------------------------------------------------------*/
|
||||
/------------------------------------------------------------------------------------------------------*/
|
||||
|
||||
// No direct access to this file
|
||||
defined('_JEXEC') or die('Restricted access');
|
||||
|
@ -1,13 +1,13 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<extension type="module" version="4" client="site" method="upgrade">
|
||||
<name>MOD_DAILYLIGHT</name>
|
||||
<creationDate>29th May, 2023</creationDate>
|
||||
<creationDate>26th July, 2023</creationDate>
|
||||
<author>Llewellyn van der Merwe</author>
|
||||
<authorEmail>joomla@vdm.io</authorEmail>
|
||||
<authorUrl>https://www.vdm.io/</authorUrl>
|
||||
<authorUrl>https://getbible.net</authorUrl>
|
||||
<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>
|
||||
<version>1.1.2</version>
|
||||
<version>1.1.3</version>
|
||||
<description>MOD_DAILYLIGHT_XML_DESCRIPTION</description>
|
||||
|
||||
<!-- Scripts to run on installation -->
|
||||
@ -202,10 +202,12 @@
|
||||
default="1"
|
||||
showon="type:1">
|
||||
<!-- Option Set. -->
|
||||
<option value="2">
|
||||
MOD_DAILYLIGHT_GETBIBLE</option>
|
||||
<option value="1">
|
||||
MOD_DAILYLIGHT_YES</option>
|
||||
MOD_DAILYLIGHT_TELEGRAM</option>
|
||||
<option value="0">
|
||||
MOD_DAILYLIGHT_NO</option>
|
||||
MOD_DAILYLIGHT_NONE</option>
|
||||
</field>
|
||||
<!-- Show_date_footer Field. Type: Radio. (joomla) -->
|
||||
<field
|
||||
|
60
script.php
60
script.php
@ -1,26 +1,19 @@
|
||||
<?php
|
||||
/*-------------------------------------------------------------------------------------------------------------| www.vdm.io |------/
|
||||
____ ____ __ __ __
|
||||
/\ _`\ /\ _`\ __ /\ \__ __/\ \ /\ \__
|
||||
\ \,\L\_\ __ _ __ ___ ___ ___ ___ \ \ \/\ \/\_\ ____\ \ ,_\ _ __ /\_\ \ \____ __ __\ \ ,_\ ___ _ __
|
||||
\/_\__ \ /'__`\/\`'__\/' __` __`\ / __`\ /' _ `\ \ \ \ \ \/\ \ /',__\\ \ \/ /\`'__\/\ \ \ '__`\/\ \/\ \\ \ \/ / __`\/\`'__\
|
||||
/\ \L\ \/\ __/\ \ \/ /\ \/\ \/\ \/\ \L\ \/\ \/\ \ \ \ \_\ \ \ \/\__, `\\ \ \_\ \ \/ \ \ \ \ \L\ \ \ \_\ \\ \ \_/\ \L\ \ \ \/
|
||||
\ `\____\ \____\\ \_\ \ \_\ \_\ \_\ \____/\ \_\ \_\ \ \____/\ \_\/\____/ \ \__\\ \_\ \ \_\ \_,__/\ \____/ \ \__\ \____/\ \_\
|
||||
\/_____/\/____/ \/_/ \/_/\/_/\/_/\/___/ \/_/\/_/ \/___/ \/_/\/___/ \/__/ \/_/ \/_/\/___/ \/___/ \/__/\/___/ \/_/
|
||||
/*----------------------------------------------------------------------------------| io.vdm.dev |----/
|
||||
Vast Development Method
|
||||
/-------------------------------------------------------------------------------------------------------/
|
||||
|
||||
/------------------------------------------------------------------------------------------------------------------------------------/
|
||||
@package getBible.net
|
||||
|
||||
@version 2.1.x
|
||||
@created 22nd October, 2015
|
||||
@package Sermon Distributor
|
||||
@subpackage script.php
|
||||
@author Llewellyn van der Merwe <https://www.vdm.io/>
|
||||
@copyright Copyright (C) 2015. All Rights Reserved
|
||||
@license GNU/GPL Version 2 or later - http://www.gnu.org/licenses/gpl-2.0.html
|
||||
@created 3rd December, 2015
|
||||
@author Llewellyn van der Merwe <https://getbible.net>
|
||||
@git Get Bible <https://git.vdm.dev/getBible>
|
||||
@github Get Bible <https://github.com/getBible>
|
||||
@support Get Bible <https://git.vdm.dev/getBible/support>
|
||||
@copyright Copyright (C) 2015. All Rights Reserved
|
||||
@license GNU/GPL Version 2 or later - http://www.gnu.org/licenses/gpl-2.0.html
|
||||
|
||||
A sermon distributor that links to Dropbox.
|
||||
|
||||
/----------------------------------------------------------------------------------------------------------------------------------*/
|
||||
/------------------------------------------------------------------------------------------------------*/
|
||||
|
||||
// No direct access to this file
|
||||
defined('_JEXEC') or die('Restricted access');
|
||||
@ -32,33 +25,4 @@ defined('_JEXEC') or die('Restricted access');
|
||||
*/
|
||||
class mod_DailyLightInstallerScript
|
||||
{
|
||||
|
||||
/**
|
||||
* Called before any type of action
|
||||
*
|
||||
* @param string $route Which action is happening (install|uninstall|discover_install|update)
|
||||
* @param Joomla\CMS\Installer\InstallerAdapter $adapter The object responsible for running this script
|
||||
*
|
||||
* @return boolean True on success
|
||||
*/
|
||||
public function preflight($route, $adapter)
|
||||
{
|
||||
// get application
|
||||
$app = JFactory::getApplication();
|
||||
|
||||
// the default for both install and update
|
||||
$jversion = new JVersion();
|
||||
if (!$jversion->isCompatible('3.8.0'))
|
||||
{
|
||||
$app->enqueueMessage('Please upgrade to at least Joomla! 3.8.0 before continuing!', 'error');
|
||||
return false;
|
||||
}
|
||||
|
||||
if ('install' === $route)
|
||||
{
|
||||
//
|
||||
}
|
||||
|
||||
return true;
|
||||
}
|
||||
}
|
||||
|
@ -1,26 +1,19 @@
|
||||
<?php
|
||||
/*-------------------------------------------------------------------------------------------------------------| www.vdm.io |------/
|
||||
____ ____ __ __ __
|
||||
/\ _`\ /\ _`\ __ /\ \__ __/\ \ /\ \__
|
||||
\ \,\L\_\ __ _ __ ___ ___ ___ ___ \ \ \/\ \/\_\ ____\ \ ,_\ _ __ /\_\ \ \____ __ __\ \ ,_\ ___ _ __
|
||||
\/_\__ \ /'__`\/\`'__\/' __` __`\ / __`\ /' _ `\ \ \ \ \ \/\ \ /',__\\ \ \/ /\`'__\/\ \ \ '__`\/\ \/\ \\ \ \/ / __`\/\`'__\
|
||||
/\ \L\ \/\ __/\ \ \/ /\ \/\ \/\ \/\ \L\ \/\ \/\ \ \ \ \_\ \ \ \/\__, `\\ \ \_\ \ \/ \ \ \ \ \L\ \ \ \_\ \\ \ \_/\ \L\ \ \ \/
|
||||
\ `\____\ \____\\ \_\ \ \_\ \_\ \_\ \____/\ \_\ \_\ \ \____/\ \_\/\____/ \ \__\\ \_\ \ \_\ \_,__/\ \____/ \ \__\ \____/\ \_\
|
||||
\/_____/\/____/ \/_/ \/_/\/_/\/_/\/___/ \/_/\/_/ \/___/ \/_/\/___/ \/__/ \/_/ \/_/\/___/ \/___/ \/__/\/___/ \/_/
|
||||
/*----------------------------------------------------------------------------------| io.vdm.dev |----/
|
||||
Vast Development Method
|
||||
/-------------------------------------------------------------------------------------------------------/
|
||||
|
||||
/------------------------------------------------------------------------------------------------------------------------------------/
|
||||
@package getBible.net
|
||||
|
||||
@version 2.1.x
|
||||
@created 22nd October, 2015
|
||||
@package Sermon Distributor
|
||||
@subpackage default.php
|
||||
@author Llewellyn van der Merwe <https://www.vdm.io/>
|
||||
@copyright Copyright (C) 2015. All Rights Reserved
|
||||
@license GNU/GPL Version 2 or later - http://www.gnu.org/licenses/gpl-2.0.html
|
||||
@created 3rd December, 2015
|
||||
@author Llewellyn van der Merwe <https://getbible.net>
|
||||
@git Get Bible <https://git.vdm.dev/getBible>
|
||||
@github Get Bible <https://github.com/getBible>
|
||||
@support Get Bible <https://git.vdm.dev/getBible/support>
|
||||
@copyright Copyright (C) 2015. All Rights Reserved
|
||||
@license GNU/GPL Version 2 or later - http://www.gnu.org/licenses/gpl-2.0.html
|
||||
|
||||
A sermon distributor that links to Dropbox.
|
||||
|
||||
/----------------------------------------------------------------------------------------------------------------------------------*/
|
||||
/------------------------------------------------------------------------------------------------------*/
|
||||
|
||||
// No direct access to this file
|
||||
defined('_JEXEC') or die('Restricted access');
|
||||
|
Loading…
Reference in New Issue
Block a user