This repository has been archived by the owner on Jul 6, 2023. It is now read-only.
-
-
Notifications
You must be signed in to change notification settings - Fork 3
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add one-way jobs to plgJobToggleOffline
Add jobs setOffline and setOnline. These jobs enable a single directive rather than the blind toggle in toggleOffline.
- Loading branch information
Showing
2 changed files
with
43 additions
and
13 deletions.
There are no files selected for viewing
18 changes: 12 additions & 6 deletions
18
plugins/job/toggleoffline/language/en-GB/en-GB.plg_job_toggleoffline.ini
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,9 +1,15 @@ | ||
PLG_JOB_TOGGLE_OFFLINE="Job - Toggle Offline" | ||
PLG_JOB_TOGGLE_OFFLINE_DESC="Toggles the site's offline status on each run" | ||
PLG_JOB_TOGGLE_OFFLINE_DESC="Toggles the site's status on each run." | ||
PLG_JOB_TOGGLE_OFFLINE_ERROR_CONFIGURATION_PHP_NOTUNWRITABLE="Could not make configuration.php un-writable." | ||
PLG_JOB_TOGGLE_OFFLINE_ERROR_CONFIGURATION_PHP_NOTWRITABLE="Could not make configuration.php writable" | ||
PLG_JOB_TOGGLE_OFFLINE_ERROR_CONFIGURATION_PHP_NOTWRITABLE="Could not make configuration.php writable." | ||
PLG_JOB_TOGGLE_OFFLINE_ERROR_WRITE_FAILED="Could not write to the configuration file!" | ||
PLG_JOB_TOGGLE_OFFLINE_JOB_LOG_MESSAGE="Job> ToggleOffline return code is: %1$d. Processing Time: %2$.2f seconds" | ||
PLG_JOB_TOGGLE_OFFLINE_JOB_LOG_SITE_STATUS="Site is now: %1$s" | ||
PLG_JOB_TOGGLE_OFFLINE_TITLE="Toggle Offline" | ||
PLG_JOB_TOGGLE_OFFLINE_XML_DESCRIPTION="Toggles the site's offline status on each run" | ||
PLG_JOB_TOGGLE_OFFLINE_JOB_LOG_MESSAGE="Job> ToggleOffline return code is: %1$d. Processing Time: %2$.2f seconds." | ||
PLG_JOB_TOGGLE_OFFLINE_JOB_LOG_SITE_STATUS="Site was %1$s, is now %2$s." | ||
PLG_JOB_TOGGLE_OFFLINE_SET_OFFLINE_DESC="Sets site offline to online on each run." | ||
PLG_JOB_TOGGLE_OFFLINE_SET_OFFLINE_JOB_LOG_MESSAGE="Job> SetOffline return code is: %1$d. Processing Time: %2$.2f seconds." | ||
PLG_JOB_TOGGLE_OFFLINE_SET_OFFLINE_TITLE="Get Site Offline." | ||
PLG_JOB_TOGGLE_OFFLINE_SET_ONLINE_DESC="Sets site status to online on each run." | ||
PLG_JOB_TOGGLE_OFFLINE_SET_ONLINE_JOB_LOG_MESSAGE="Job> SetOnline return code is: %1$d. Processing Time: %2$.2f seconds." | ||
PLG_JOB_TOGGLE_OFFLINE_SET_ONLINE_TITLE="Get Site Online." | ||
PLG_JOB_TOGGLE_OFFLINE_TITLE="Toggle Offline." | ||
PLG_JOB_TOGGLE_OFFLINE_XML_DESCRIPTION="Toggles the site's offline status on each run." |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters