first commit
This commit is contained in:
@@ -0,0 +1,18 @@
|
||||
;; @package Cache Cleaner
|
||||
* @version 8.2.2
|
||||
*
|
||||
* @author Peter van Westen <info@regularlabs.com>
|
||||
* @link http://regularlabs.com
|
||||
* @copyright Copyright © 2022 Regular Labs All Rights Reserved
|
||||
* @license http://www.gnu.org/licenses/gpl-2.0.html GNU/GPL
|
||||
|
||||
MOD_CACHECLEANER="Regular Labs - Cache Cleaner"
|
||||
MOD_CACHECLEANER_DESC="Cache Cleaner - الوسيلة الأسرع لمسح الملفات المؤقتة (الذاكرة الوسيطة) من نظام جوملا!"
|
||||
CACHECLEANER="Cache Cleaner"
|
||||
|
||||
CACHECLEANER_DESC="باستخدام تطبيق Cache Cleaner تستطيع مسح ملفات الذاكرة الوسيطة بسرعة وبكل سهولة من خلال رابط في أعلى يسار لوحة التحكم"
|
||||
; CLEAN_CACHE="Clean Cache"
|
||||
|
||||
CC_SETTINGS="يرجى زيارة [[%1:start link%]]Cache Cleaner system plugin[[%2:end link%]] للتطبيقات."
|
||||
; CC_SYSTEM_PLUGIN_NOT_ENABLED="The Cache Cleaner system plugin is not enabled! [[%1:start link%]]Enable?[[%2:end link%]]"
|
||||
; CC_THE_SYSTEM_PLUGIN="the Cache Cleaner system plugin"
|
||||
@@ -0,0 +1,11 @@
|
||||
;; @package Cache Cleaner
|
||||
* @version 8.2.2
|
||||
*
|
||||
* @author Peter van Westen <info@regularlabs.com>
|
||||
* @link http://regularlabs.com
|
||||
* @copyright Copyright © 2022 Regular Labs All Rights Reserved
|
||||
* @license http://www.gnu.org/licenses/gpl-2.0.html GNU/GPL
|
||||
|
||||
MOD_CACHECLEANER="Regular Labs - Cache Cleaner"
|
||||
MOD_CACHECLEANER_DESC="Cache Cleaner - الوسيلة الأسرع لمسح الملفات المؤقتة (الذاكرة الوسيطة) من نظام جوملا!"
|
||||
CACHECLEANER="Cache Cleaner"
|
||||
@@ -0,0 +1,18 @@
|
||||
;; @package Cache Cleaner
|
||||
* @version 8.2.2
|
||||
*
|
||||
* @author Peter van Westen <info@regularlabs.com>
|
||||
* @link http://regularlabs.com
|
||||
* @copyright Copyright © 2022 Regular Labs All Rights Reserved
|
||||
* @license http://www.gnu.org/licenses/gpl-2.0.html GNU/GPL
|
||||
|
||||
MOD_CACHECLEANER="Regular Labs - Cache Cleaner"
|
||||
MOD_CACHECLEANER_DESC="Cache Cleaner - الوسيلة الأسرع لمسح الملفات المؤقتة (الذاكرة الوسيطة) من نظام جوملا!"
|
||||
CACHECLEANER="Cache Cleaner"
|
||||
|
||||
CACHECLEANER_DESC="باستخدام تطبيق Cache Cleaner تستطيع مسح ملفات الذاكرة الوسيطة بسرعة وبكل سهولة من خلال رابط في أعلى يسار لوحة التحكم"
|
||||
; CLEAN_CACHE="Clean Cache"
|
||||
|
||||
CC_SETTINGS="يرجى زيارة [[%1:start link%]]Cache Cleaner system plugin[[%2:end link%]] للتطبيقات."
|
||||
; CC_SYSTEM_PLUGIN_NOT_ENABLED="The Cache Cleaner system plugin is not enabled! [[%1:start link%]]Enable?[[%2:end link%]]"
|
||||
; CC_THE_SYSTEM_PLUGIN="the Cache Cleaner system plugin"
|
||||
@@ -0,0 +1,11 @@
|
||||
;; @package Cache Cleaner
|
||||
* @version 8.2.2
|
||||
*
|
||||
* @author Peter van Westen <info@regularlabs.com>
|
||||
* @link http://regularlabs.com
|
||||
* @copyright Copyright © 2022 Regular Labs All Rights Reserved
|
||||
* @license http://www.gnu.org/licenses/gpl-2.0.html GNU/GPL
|
||||
|
||||
MOD_CACHECLEANER="Regular Labs - Cache Cleaner"
|
||||
MOD_CACHECLEANER_DESC="Cache Cleaner - الوسيلة الأسرع لمسح الملفات المؤقتة (الذاكرة الوسيطة) من نظام جوملا!"
|
||||
CACHECLEANER="Cache Cleaner"
|
||||
@@ -0,0 +1,18 @@
|
||||
;; @package Cache Cleaner
|
||||
* @version 8.2.2
|
||||
*
|
||||
* @author Peter van Westen <info@regularlabs.com>
|
||||
* @link http://regularlabs.com
|
||||
* @copyright Copyright © 2022 Regular Labs All Rights Reserved
|
||||
* @license http://www.gnu.org/licenses/gpl-2.0.html GNU/GPL
|
||||
|
||||
MOD_CACHECLEANER="Regular Labs - Cache Cleaner"
|
||||
MOD_CACHECLEANER_DESC="Cache Cleaner - изчиства бързо кеша от Joomla!"
|
||||
CACHECLEANER="Cache Cleaner"
|
||||
|
||||
CACHECLEANER_DESC="Чрез Cache Cleaner можете лесно и бързо да изчистите кеша през Joomla! администрацията."
|
||||
CLEAN_CACHE="Изчисти кеша"
|
||||
|
||||
CC_SETTINGS="Моля вижте [[%1:start link%]]системната добавка Cache Cleaner[[%2:end link%]] за настройки."
|
||||
CC_SYSTEM_PLUGIN_NOT_ENABLED="Системната добавка Cache Cleaner не е включена! [[%1:start link%]]Включете я?[[%2:end link%]]"
|
||||
CC_THE_SYSTEM_PLUGIN="системната добавка Cache Cleaner"
|
||||
@@ -0,0 +1,11 @@
|
||||
;; @package Cache Cleaner
|
||||
* @version 8.2.2
|
||||
*
|
||||
* @author Peter van Westen <info@regularlabs.com>
|
||||
* @link http://regularlabs.com
|
||||
* @copyright Copyright © 2022 Regular Labs All Rights Reserved
|
||||
* @license http://www.gnu.org/licenses/gpl-2.0.html GNU/GPL
|
||||
|
||||
MOD_CACHECLEANER="Regular Labs - Cache Cleaner"
|
||||
MOD_CACHECLEANER_DESC="Cache Cleaner - изчиства бързо кеша от Joomla!"
|
||||
CACHECLEANER="Cache Cleaner"
|
||||
@@ -0,0 +1,18 @@
|
||||
;; @package Cache Cleaner
|
||||
* @version 8.2.2
|
||||
*
|
||||
* @author Peter van Westen <info@regularlabs.com>
|
||||
* @link http://regularlabs.com
|
||||
* @copyright Copyright © 2022 Regular Labs All Rights Reserved
|
||||
* @license http://www.gnu.org/licenses/gpl-2.0.html GNU/GPL
|
||||
|
||||
MOD_CACHECLEANER="Regular Labs - Cache Cleaner"
|
||||
MOD_CACHECLEANER_DESC="Cache Cleaner - neteja ràpidament la caché de Joomla!"
|
||||
CACHECLEANER="Cache Cleaner"
|
||||
|
||||
CACHECLEANER_DESC="Amb Cache Cleaner podeu netejar ràpida i cómodament via un enllaç al vostre Joomla! Administrator."
|
||||
CLEAN_CACHE="NEteja Cache"
|
||||
|
||||
CC_SETTINGS="Sisplau vegeu [[%1:start link%]]Cache Cleaner system plugin[[%2:end link%]] pels paràmetres."
|
||||
CC_SYSTEM_PLUGIN_NOT_ENABLED="El plugin Cache Cleaner system plugin no està activat! [[%1:start link%]]Activar?[[%2:end link%]]"
|
||||
CC_THE_SYSTEM_PLUGIN="Plugin de sistema Cache Cleaner"
|
||||
@@ -0,0 +1,11 @@
|
||||
;; @package Cache Cleaner
|
||||
* @version 8.2.2
|
||||
*
|
||||
* @author Peter van Westen <info@regularlabs.com>
|
||||
* @link http://regularlabs.com
|
||||
* @copyright Copyright © 2022 Regular Labs All Rights Reserved
|
||||
* @license http://www.gnu.org/licenses/gpl-2.0.html GNU/GPL
|
||||
|
||||
MOD_CACHECLEANER="Regular Labs - Cache Cleaner"
|
||||
MOD_CACHECLEANER_DESC="Cache Cleaner - neteja ràpidament la caché de Joomla!"
|
||||
CACHECLEANER="Cache Cleaner"
|
||||
@@ -0,0 +1,18 @@
|
||||
;; @package Cache Cleaner
|
||||
* @version 8.2.2
|
||||
*
|
||||
* @author Peter van Westen <info@regularlabs.com>
|
||||
* @link http://regularlabs.com
|
||||
* @copyright Copyright © 2022 Regular Labs All Rights Reserved
|
||||
* @license http://www.gnu.org/licenses/gpl-2.0.html GNU/GPL
|
||||
|
||||
MOD_CACHECLEANER="Regular Labs - Cache Cleaner"
|
||||
MOD_CACHECLEANER_DESC="Modul <strong>Regular Labs - Cache Cleaner</strong> zobrazuje tlačítko v administraci, které umožňuje jedním kliknutím vyčistit vyrovnávací mezipaměti (cache) Joomla!"
|
||||
CACHECLEANER="Cache Cleaner"
|
||||
|
||||
CACHECLEANER_DESC="Pomocí tohoto rozšíření můžete rychle vyčistit vyrovnávací mezipaměť (cache) svého webu jediným kliknutím na odkaz nebo tlačítko v administraci."
|
||||
CLEAN_CACHE="Vyčistit mezipaměť"
|
||||
|
||||
CC_SETTINGS="Zkontrolujte nastavení pluginu [[%1:start link%]]Systém - Regular Labs - Cache Cleaner[[%2:end link%]]"
|
||||
CC_SYSTEM_PLUGIN_NOT_ENABLED="Plugin <strong>Systém - Regular Labs - Cache Cleaner</strong> není povolen! [[%1:start link%]]Kliknutím jej povolíte[[%2:end link%]]"
|
||||
CC_THE_SYSTEM_PLUGIN="Systém - Regular Labs - Cache Cleaner"
|
||||
@@ -0,0 +1,11 @@
|
||||
;; @package Cache Cleaner
|
||||
* @version 8.2.2
|
||||
*
|
||||
* @author Peter van Westen <info@regularlabs.com>
|
||||
* @link http://regularlabs.com
|
||||
* @copyright Copyright © 2022 Regular Labs All Rights Reserved
|
||||
* @license http://www.gnu.org/licenses/gpl-2.0.html GNU/GPL
|
||||
|
||||
MOD_CACHECLEANER="Regular Labs - Cache Cleaner"
|
||||
MOD_CACHECLEANER_DESC="Modul <strong>Regular Labs - Cache Cleaner</strong> zobrazuje tlačítko v administraci, které umožňuje jedním kliknutím vyčistit vyrovnávací mezipaměti (cache) Joomla!"
|
||||
CACHECLEANER="Cache Cleaner"
|
||||
@@ -0,0 +1,18 @@
|
||||
;; @package Cache Cleaner
|
||||
* @version 8.2.2
|
||||
*
|
||||
* @author Peter van Westen <info@regularlabs.com>
|
||||
* @link http://regularlabs.com
|
||||
* @copyright Copyright © 2022 Regular Labs All Rights Reserved
|
||||
* @license http://www.gnu.org/licenses/gpl-2.0.html GNU/GPL
|
||||
|
||||
MOD_CACHECLEANER="Regular Labs - Cache Cleaner"
|
||||
MOD_CACHECLEANER_DESC="Cache Cleaner - Ryd hurtigt cachen i Joomla!"
|
||||
CACHECLEANER="Cache Cleaner"
|
||||
|
||||
CACHECLEANER_DESC="Med Cache Cleaner kan du rydde din cache hurtigt og nemt via et link i dit Joomla! Administrator kontrolpanel."
|
||||
CLEAN_CACHE="Ryd cache"
|
||||
|
||||
CC_SETTINGS="Se venligst [[%1:start link%]]Cache Cleaner system programudvidelse[[%2:end link%]] for indstillinger."
|
||||
CC_SYSTEM_PLUGIN_NOT_ENABLED="Cache Cleaner systeme pluginet er ikke aktiveret! [[%1:start link%]]Aktiver?[[%2:end link%]]"
|
||||
CC_THE_SYSTEM_PLUGIN="Cache Cleaner system programudvidelsen"
|
||||
@@ -0,0 +1,11 @@
|
||||
;; @package Cache Cleaner
|
||||
* @version 8.2.2
|
||||
*
|
||||
* @author Peter van Westen <info@regularlabs.com>
|
||||
* @link http://regularlabs.com
|
||||
* @copyright Copyright © 2022 Regular Labs All Rights Reserved
|
||||
* @license http://www.gnu.org/licenses/gpl-2.0.html GNU/GPL
|
||||
|
||||
MOD_CACHECLEANER="Regular Labs - Cache Cleaner"
|
||||
MOD_CACHECLEANER_DESC="Cache Cleaner - Ryd hurtigt cachen i Joomla!"
|
||||
CACHECLEANER="Cache Cleaner"
|
||||
@@ -0,0 +1,18 @@
|
||||
;; @package Cache Cleaner
|
||||
* @version 8.2.2
|
||||
*
|
||||
* @author Peter van Westen <info@regularlabs.com>
|
||||
* @link http://regularlabs.com
|
||||
* @copyright Copyright © 2022 Regular Labs All Rights Reserved
|
||||
* @license http://www.gnu.org/licenses/gpl-2.0.html GNU/GPL
|
||||
|
||||
MOD_CACHECLEANER="Regular Labs - Cache Cleaner"
|
||||
MOD_CACHECLEANER_DESC="Cache Cleaner - Löscht schnell den Cache in Joomla!"
|
||||
CACHECLEANER="Cache Cleaner"
|
||||
|
||||
CACHECLEANER_DESC="Mit Cache Cleaner können Sie Ihren Cache schnell und einfach über einen Link im Joomla! Backend löschen!"
|
||||
CLEAN_CACHE="Cache löschen"
|
||||
|
||||
CC_SETTINGS="Bitte siehe [[%1:start link%]]Cache Cleaner System-Plugin[[%2:end link%]] für Einstellungen."
|
||||
CC_SYSTEM_PLUGIN_NOT_ENABLED="Das Cache Cleaner System-Plugin ist nicht aktiviert! [[%1:start link%]]Aktivieren?[[%2:end link%]]"
|
||||
CC_THE_SYSTEM_PLUGIN="das Cache Cleaner System-Plugin"
|
||||
@@ -0,0 +1,11 @@
|
||||
;; @package Cache Cleaner
|
||||
* @version 8.2.2
|
||||
*
|
||||
* @author Peter van Westen <info@regularlabs.com>
|
||||
* @link http://regularlabs.com
|
||||
* @copyright Copyright © 2022 Regular Labs All Rights Reserved
|
||||
* @license http://www.gnu.org/licenses/gpl-2.0.html GNU/GPL
|
||||
|
||||
MOD_CACHECLEANER="Regular Labs - Cache Cleaner"
|
||||
MOD_CACHECLEANER_DESC="Cache Cleaner - Löscht schnell den Cache in Joomla!"
|
||||
CACHECLEANER="Cache Cleaner"
|
||||
@@ -0,0 +1,18 @@
|
||||
;; @package Cache Cleaner
|
||||
* @version 8.2.2
|
||||
*
|
||||
* @author Peter van Westen <info@regularlabs.com>
|
||||
* @link http://regularlabs.com
|
||||
* @copyright Copyright © 2022 Regular Labs All Rights Reserved
|
||||
* @license http://www.gnu.org/licenses/gpl-2.0.html GNU/GPL
|
||||
|
||||
MOD_CACHECLEANER="Regular Labs - Cache Cleaner"
|
||||
MOD_CACHECLEANER_DESC="Cache Cleaner - καθαρίστε την cache γρήγορα στο Joomla!"
|
||||
CACHECLEANER="Cache Cleaner"
|
||||
|
||||
CACHECLEANER_DESC="Με το Cache Cleaner μπορείτε να καθαρίσετε την cache γρήγορα και εύκολα με ένα link στο Joomla! Administrator."
|
||||
CLEAN_CACHE="Καθάρισε την Cache"
|
||||
|
||||
CC_SETTINGS="Παρακαλώ δείτε το [[%1:start link%]]Cache Cleaner system plugin[[%2:end link%]] για ρυθμίσεις."
|
||||
CC_SYSTEM_PLUGIN_NOT_ENABLED="Το πρόσθετο συστήματος Cache Cleaner δεν είναι ενεργό! [[%1:start link%]]Enable?[[%2:end link%]]"
|
||||
CC_THE_SYSTEM_PLUGIN="το πρόσθετο συστήματος Cache Cleaner"
|
||||
@@ -0,0 +1,11 @@
|
||||
;; @package Cache Cleaner
|
||||
* @version 8.2.2
|
||||
*
|
||||
* @author Peter van Westen <info@regularlabs.com>
|
||||
* @link http://regularlabs.com
|
||||
* @copyright Copyright © 2022 Regular Labs All Rights Reserved
|
||||
* @license http://www.gnu.org/licenses/gpl-2.0.html GNU/GPL
|
||||
|
||||
MOD_CACHECLEANER="Regular Labs - Cache Cleaner"
|
||||
MOD_CACHECLEANER_DESC="Cache Cleaner - καθαρίστε την cache γρήγορα στο Joomla!"
|
||||
CACHECLEANER="Cache Cleaner"
|
||||
@@ -0,0 +1,18 @@
|
||||
;; @package Cache Cleaner
|
||||
* @version 8.2.2
|
||||
*
|
||||
* @author Peter van Westen <info@regularlabs.com>
|
||||
* @link http://regularlabs.com
|
||||
* @copyright Copyright © 2022 Regular Labs All Rights Reserved
|
||||
* @license http://www.gnu.org/licenses/gpl-2.0.html GNU/GPL
|
||||
|
||||
MOD_CACHECLEANER="Regular Labs - Cache Cleaner"
|
||||
MOD_CACHECLEANER_DESC="Cache Cleaner - clean cache fast in Joomla!"
|
||||
CACHECLEANER="Cache Cleaner"
|
||||
|
||||
CACHECLEANER_DESC="With Cache Cleaner you can clean your cache fast and easily via a link in your Joomla! Administrator."
|
||||
CLEAN_CACHE="Clean Cache"
|
||||
|
||||
CC_SETTINGS="Please see the [[%1:start link%]]Cache Cleaner system plugin[[%2:end link%]] for settings."
|
||||
CC_SYSTEM_PLUGIN_NOT_ENABLED="The Cache Cleaner system plugin is not enabled! [[%1:start link%]]Enable?[[%2:end link%]]"
|
||||
CC_THE_SYSTEM_PLUGIN="the Cache Cleaner system plugin"
|
||||
@@ -0,0 +1,11 @@
|
||||
;; @package Cache Cleaner
|
||||
* @version 8.2.2
|
||||
*
|
||||
* @author Peter van Westen <info@regularlabs.com>
|
||||
* @link http://regularlabs.com
|
||||
* @copyright Copyright © 2022 Regular Labs All Rights Reserved
|
||||
* @license http://www.gnu.org/licenses/gpl-2.0.html GNU/GPL
|
||||
|
||||
MOD_CACHECLEANER="Regular Labs - Cache Cleaner"
|
||||
MOD_CACHECLEANER_DESC="Cache Cleaner - clean cache fast in Joomla!"
|
||||
CACHECLEANER="Cache Cleaner"
|
||||
@@ -0,0 +1,18 @@
|
||||
;; @package Cache Cleaner
|
||||
* @version 8.2.2
|
||||
*
|
||||
* @author Peter van Westen <info@regularlabs.com>
|
||||
* @link http://regularlabs.com
|
||||
* @copyright Copyright © 2022 Regular Labs All Rights Reserved
|
||||
* @license http://www.gnu.org/licenses/gpl-2.0.html GNU/GPL
|
||||
|
||||
MOD_CACHECLEANER="Regular Labs - Limpiar Caché"
|
||||
MOD_CACHECLEANER_DESC="Limpiar Caché - borra los archivos de caché de Joomla!"
|
||||
CACHECLEANER="Limpiar Caché"
|
||||
|
||||
CACHECLEANER_DESC="Con Cache Cleaner usted puede borrar los archivos de caché del servidor web de una manera rápida y fácil mediante un enlace en el Administrador de Joomla!"
|
||||
CLEAN_CACHE="Limpiar Caché"
|
||||
|
||||
CC_SETTINGS="Por favor vea el [[%1:start link%]]Cache Cleaner system plugin[[%2:end link%]] para configurar."
|
||||
CC_SYSTEM_PLUGIN_NOT_ENABLED="El plugin de sistema 'Cache Cleaner' no está habilitado! [[%1:start link%]]¿Habilitar?[[%2:end link%]]"
|
||||
CC_THE_SYSTEM_PLUGIN="el plugin de sistema Cache Cleaner"
|
||||
@@ -0,0 +1,11 @@
|
||||
;; @package Cache Cleaner
|
||||
* @version 8.2.2
|
||||
*
|
||||
* @author Peter van Westen <info@regularlabs.com>
|
||||
* @link http://regularlabs.com
|
||||
* @copyright Copyright © 2022 Regular Labs All Rights Reserved
|
||||
* @license http://www.gnu.org/licenses/gpl-2.0.html GNU/GPL
|
||||
|
||||
MOD_CACHECLEANER="Regular Labs - Limpiar Caché"
|
||||
MOD_CACHECLEANER_DESC="Limpiar Caché - borra los archivos de caché de Joomla!"
|
||||
CACHECLEANER="Limpiar Caché"
|
||||
@@ -0,0 +1,18 @@
|
||||
;; @package Cache Cleaner
|
||||
* @version 8.2.2
|
||||
*
|
||||
* @author Peter van Westen <info@regularlabs.com>
|
||||
* @link http://regularlabs.com
|
||||
* @copyright Copyright © 2022 Regular Labs All Rights Reserved
|
||||
* @license http://www.gnu.org/licenses/gpl-2.0.html GNU/GPL
|
||||
|
||||
MOD_CACHECLEANER="Regular Labs - Vahemälu tühjendaja"
|
||||
MOD_CACHECLEANER_DESC="Vahemälu tühjendaja - tühjenda Joomla! vahemälu kiiresti"
|
||||
CACHECLEANER="Vahemälu tühjendaja"
|
||||
|
||||
CACHECLEANER_DESC="Vahemälu tühjendaja - aitab tühjendada puhvermälu kiiresti ja mugavalt, luues administraatori paneeli ülemisse paremasse nurka sellekohase lingi."
|
||||
CLEAN_CACHE="Tühjenda vahemälu"
|
||||
|
||||
CC_SETTINGS="Palun vaata [[%1:start link%]]Vahemälu tühjendaja süsteemi pluginat[[%2:end link%]] seadete muutmiseks."
|
||||
CC_SYSTEM_PLUGIN_NOT_ENABLED="Vahemälu tühjendaja plugin pole lubatud! [[%1:start link%]]Kas lubada?[[%2:end link%]]"
|
||||
CC_THE_SYSTEM_PLUGIN="Vahemälu tühjendamise süsteemiplugin"
|
||||
@@ -0,0 +1,11 @@
|
||||
;; @package Cache Cleaner
|
||||
* @version 8.2.2
|
||||
*
|
||||
* @author Peter van Westen <info@regularlabs.com>
|
||||
* @link http://regularlabs.com
|
||||
* @copyright Copyright © 2022 Regular Labs All Rights Reserved
|
||||
* @license http://www.gnu.org/licenses/gpl-2.0.html GNU/GPL
|
||||
|
||||
MOD_CACHECLEANER="Regular Labs - Vahemälu tühjendaja"
|
||||
MOD_CACHECLEANER_DESC="Vahemälu tühjendaja - tühjenda Joomla! vahemälu kiiresti"
|
||||
CACHECLEANER="Vahemälu tühjendaja"
|
||||
@@ -0,0 +1,18 @@
|
||||
;; @package Cache Cleaner
|
||||
* @version 8.2.2
|
||||
*
|
||||
* @author Peter van Westen <info@regularlabs.com>
|
||||
* @link http://regularlabs.com
|
||||
* @copyright Copyright © 2022 Regular Labs All Rights Reserved
|
||||
* @license http://www.gnu.org/licenses/gpl-2.0.html GNU/GPL
|
||||
|
||||
MOD_CACHECLEANER="پاککننده ذخیرهساز Regular Labs"
|
||||
MOD_CACHECLEANER_DESC="پاککننده ذخیرهساز - پاکسازی سریع ذخیرهساز در جوملا!"
|
||||
CACHECLEANER="پاککننده ذخیرهساز"
|
||||
|
||||
CACHECLEANER_DESC="با پلاگین پاککننده ذخیرهساز، شما می توانید خیلی سریع و آسان و با استفاده از یک لینک در بالای پنل مدیریت، ذخیرهساز جوملا را پاکسازی نمایید."
|
||||
CLEAN_CACHE="پاکسازی ذخیرهساز"
|
||||
|
||||
CC_SETTINGS="لطفا [[%1:start link%]]پلاگین سیستم پاکسازی ذخیرهساز[[%2:end link%]] را برای تنظیمات بیشتر، مشاهده نمایید."
|
||||
CC_SYSTEM_PLUGIN_NOT_ENABLED="پلاگین سیستم پاکسازی ذخیرهساز فعال نیست! [[%1:start link%]]آیا مایل به فعالسازی آن هستید؟[[%2:end link%]]"
|
||||
CC_THE_SYSTEM_PLUGIN="پلاگین سیستم پاکسازی ذخیرهساز"
|
||||
@@ -0,0 +1,11 @@
|
||||
;; @package Cache Cleaner
|
||||
* @version 8.2.2
|
||||
*
|
||||
* @author Peter van Westen <info@regularlabs.com>
|
||||
* @link http://regularlabs.com
|
||||
* @copyright Copyright © 2022 Regular Labs All Rights Reserved
|
||||
* @license http://www.gnu.org/licenses/gpl-2.0.html GNU/GPL
|
||||
|
||||
MOD_CACHECLEANER="پاککننده ذخیرهساز Regular Labs"
|
||||
MOD_CACHECLEANER_DESC="پاککننده ذخیرهساز - پاکسازی سریع ذخیرهساز در جوملا!"
|
||||
CACHECLEANER="پاککننده ذخیرهساز"
|
||||
@@ -0,0 +1,18 @@
|
||||
;; @package Cache Cleaner
|
||||
* @version 8.2.2
|
||||
*
|
||||
* @author Peter van Westen <info@regularlabs.com>
|
||||
* @link http://regularlabs.com
|
||||
* @copyright Copyright © 2022 Regular Labs All Rights Reserved
|
||||
* @license http://www.gnu.org/licenses/gpl-2.0.html GNU/GPL
|
||||
|
||||
MOD_CACHECLEANER="Regular Labs - Cache Cleaner"
|
||||
MOD_CACHECLEANER_DESC="Cache Cleaner - Nettoyer facilement le cache de votre site Joomla!"
|
||||
CACHECLEANER="Cache Cleaner"
|
||||
|
||||
CACHECLEANER_DESC="Avec Cache Cleaner vous pouvez facilement vider le cache de Joomla via un simple lien."
|
||||
CLEAN_CACHE="Vider le cache"
|
||||
|
||||
CC_SETTINGS="Regardez [[%1:start link%]]Cache Cleaner system plugin[[%2:end link%]] pour le configurer."
|
||||
CC_SYSTEM_PLUGIN_NOT_ENABLED="Le plugin système Cache Cleaner n'est pas activé ! [[%1:start link%]]L'activer ?[[%2:end link%]]"
|
||||
CC_THE_SYSTEM_PLUGIN="le plugin système Cache Cleaner"
|
||||
@@ -0,0 +1,11 @@
|
||||
;; @package Cache Cleaner
|
||||
* @version 8.2.2
|
||||
*
|
||||
* @author Peter van Westen <info@regularlabs.com>
|
||||
* @link http://regularlabs.com
|
||||
* @copyright Copyright © 2022 Regular Labs All Rights Reserved
|
||||
* @license http://www.gnu.org/licenses/gpl-2.0.html GNU/GPL
|
||||
|
||||
MOD_CACHECLEANER="Regular Labs - Cache Cleaner"
|
||||
MOD_CACHECLEANER_DESC="Cache Cleaner - Nettoyer facilement le cache de votre site Joomla!"
|
||||
CACHECLEANER="Cache Cleaner"
|
||||
@@ -0,0 +1,18 @@
|
||||
;; @package Cache Cleaner
|
||||
* @version 8.2.2
|
||||
*
|
||||
* @author Peter van Westen <info@regularlabs.com>
|
||||
* @link http://regularlabs.com
|
||||
* @copyright Copyright © 2022 Regular Labs All Rights Reserved
|
||||
* @license http://www.gnu.org/licenses/gpl-2.0.html GNU/GPL
|
||||
|
||||
MOD_CACHECLEANER="Regular Labs - Cache Cleaner"
|
||||
MOD_CACHECLEANER_DESC="Cache Cleaner - Joomla! gyorsítótár gyors kiürítése"
|
||||
CACHECLEANER="Cache Cleaner"
|
||||
|
||||
CACHECLEANER_DESC="A Cache Cleaner segítségével gyorsan és egyszerűen kiürítheted a gyorsítótárat a Joomla! adminisztrátori felületéről."
|
||||
CLEAN_CACHE="Gyorsítótár kiürítése"
|
||||
|
||||
CC_SETTINGS="A beállításokért nézd meg a [[%1:start link%]]Cache Cleaner[[%2:end link%]] beépülő modult."
|
||||
CC_SYSTEM_PLUGIN_NOT_ENABLED="A Cache Cleaner rendszer bővítmény nincs engedélyezve.[[%1:start link%]]Engedélyezés?[[%2:end link%]]"
|
||||
CC_THE_SYSTEM_PLUGIN="a Cache Cleaner rendszer beépülőmodul"
|
||||
@@ -0,0 +1,11 @@
|
||||
;; @package Cache Cleaner
|
||||
* @version 8.2.2
|
||||
*
|
||||
* @author Peter van Westen <info@regularlabs.com>
|
||||
* @link http://regularlabs.com
|
||||
* @copyright Copyright © 2022 Regular Labs All Rights Reserved
|
||||
* @license http://www.gnu.org/licenses/gpl-2.0.html GNU/GPL
|
||||
|
||||
MOD_CACHECLEANER="Regular Labs - Cache Cleaner"
|
||||
MOD_CACHECLEANER_DESC="Cache Cleaner - Joomla! gyorsítótár gyors kiürítése"
|
||||
CACHECLEANER="Cache Cleaner"
|
||||
@@ -0,0 +1,18 @@
|
||||
;; @package Cache Cleaner
|
||||
* @version 8.2.2
|
||||
*
|
||||
* @author Peter van Westen <info@regularlabs.com>
|
||||
* @link http://regularlabs.com
|
||||
* @copyright Copyright © 2022 Regular Labs All Rights Reserved
|
||||
* @license http://www.gnu.org/licenses/gpl-2.0.html GNU/GPL
|
||||
|
||||
MOD_CACHECLEANER="Regular Labs - Cache Cleaner"
|
||||
MOD_CACHECLEANER_DESC="Cache Cleaner - membersihkan dengan cepat dalam Joomla!"
|
||||
CACHECLEANER="Cache Cleaner"
|
||||
|
||||
CACHECLEANER_DESC="Dengan Cache Cleaner anda dapat membersihkan cache dengan cepat dan mudah melalui sebuah tautan yang ada di Administrator Joomla."
|
||||
CLEAN_CACHE="Bersihkan Cache"
|
||||
|
||||
CC_SETTINGS="Silakan lihat [[%1:start link%]]Plugin sistem Cache Cleaner[[%2:end link%]] untuk pengaturannya."
|
||||
CC_SYSTEM_PLUGIN_NOT_ENABLED="Plugin sistem Cache Cleaner tidak diaktifkan! [[%1:start link%]]Aktifkan?[[%2:end link%]]"
|
||||
CC_THE_SYSTEM_PLUGIN="plugin sistem Cache Cleaner"
|
||||
@@ -0,0 +1,11 @@
|
||||
;; @package Cache Cleaner
|
||||
* @version 8.2.2
|
||||
*
|
||||
* @author Peter van Westen <info@regularlabs.com>
|
||||
* @link http://regularlabs.com
|
||||
* @copyright Copyright © 2022 Regular Labs All Rights Reserved
|
||||
* @license http://www.gnu.org/licenses/gpl-2.0.html GNU/GPL
|
||||
|
||||
MOD_CACHECLEANER="Regular Labs - Cache Cleaner"
|
||||
MOD_CACHECLEANER_DESC="Cache Cleaner - membersihkan dengan cepat dalam Joomla!"
|
||||
CACHECLEANER="Cache Cleaner"
|
||||
@@ -0,0 +1,18 @@
|
||||
;; @package Cache Cleaner
|
||||
* @version 8.2.2
|
||||
*
|
||||
* @author Peter van Westen <info@regularlabs.com>
|
||||
* @link http://regularlabs.com
|
||||
* @copyright Copyright © 2022 Regular Labs All Rights Reserved
|
||||
* @license http://www.gnu.org/licenses/gpl-2.0.html GNU/GPL
|
||||
|
||||
MOD_CACHECLEANER="Regular Labs - Cache Cleaner"
|
||||
MOD_CACHECLEANER_DESC="Cache Cleaner - pulisce rapidamente la cache in Joomla!"
|
||||
CACHECLEANER="Cache Cleaner"
|
||||
|
||||
CACHECLEANER_DESC="Con Cache Cleaner puoi pulire la cache più velocemente e facilmente via un link nel pannello amministratore di Joomla!."
|
||||
CLEAN_CACHE="Pulisci Cache"
|
||||
|
||||
CC_SETTINGS="Leggere [[%1:start link%]]Cache Cleaner system plugin[[%2:end link%]] per i parametri."
|
||||
CC_SYSTEM_PLUGIN_NOT_ENABLED="Il Plugin Cache Cleaner non è abilitato! [[%1:start link%]]Enable?[[%2:end link%]]"
|
||||
CC_THE_SYSTEM_PLUGIN="il plugin di sistema Cache Cleaner"
|
||||
@@ -0,0 +1,11 @@
|
||||
;; @package Cache Cleaner
|
||||
* @version 8.2.2
|
||||
*
|
||||
* @author Peter van Westen <info@regularlabs.com>
|
||||
* @link http://regularlabs.com
|
||||
* @copyright Copyright © 2022 Regular Labs All Rights Reserved
|
||||
* @license http://www.gnu.org/licenses/gpl-2.0.html GNU/GPL
|
||||
|
||||
MOD_CACHECLEANER="Regular Labs - Cache Cleaner"
|
||||
MOD_CACHECLEANER_DESC="Cache Cleaner - pulisce rapidamente la cache in Joomla!"
|
||||
CACHECLEANER="Cache Cleaner"
|
||||
@@ -0,0 +1,18 @@
|
||||
;; @package Cache Cleaner
|
||||
* @version 8.2.2
|
||||
*
|
||||
* @author Peter van Westen <info@regularlabs.com>
|
||||
* @link http://regularlabs.com
|
||||
* @copyright Copyright © 2022 Regular Labs All Rights Reserved
|
||||
* @license http://www.gnu.org/licenses/gpl-2.0.html GNU/GPL
|
||||
|
||||
MOD_CACHECLEANER="Regular Labs - Cache Cleaner"
|
||||
MOD_CACHECLEANER_DESC="Cache Cleaner - Joomla!のキャッシュを素早く削除します"
|
||||
CACHECLEANER="Cache Cleaner"
|
||||
|
||||
CACHECLEANER_DESC="Cache Cleanerを使用すると、Joomla!の管理画面にあるリンク経由でキャッシュを素早く簡単に削除できます。"
|
||||
CLEAN_CACHE="キャッシュを削除"
|
||||
|
||||
CC_SETTINGS="設定については [[%1:start link%]]Cache Cleaner システムプラグイン[[%2:end link%]] をご覧ください。"
|
||||
CC_SYSTEM_PLUGIN_NOT_ENABLED="Cache Cleanerシステムプラグインが有効になっていません![[%1:start link%]]有効にしますか?[[%2:end link%]]"
|
||||
CC_THE_SYSTEM_PLUGIN="Cache Cleanerシステムプラグイン"
|
||||
@@ -0,0 +1,11 @@
|
||||
;; @package Cache Cleaner
|
||||
* @version 8.2.2
|
||||
*
|
||||
* @author Peter van Westen <info@regularlabs.com>
|
||||
* @link http://regularlabs.com
|
||||
* @copyright Copyright © 2022 Regular Labs All Rights Reserved
|
||||
* @license http://www.gnu.org/licenses/gpl-2.0.html GNU/GPL
|
||||
|
||||
MOD_CACHECLEANER="Regular Labs - Cache Cleaner"
|
||||
MOD_CACHECLEANER_DESC="Cache Cleaner - Joomla!のキャッシュを素早く削除します"
|
||||
CACHECLEANER="Cache Cleaner"
|
||||
@@ -0,0 +1,18 @@
|
||||
;; @package Cache Cleaner
|
||||
* @version 8.2.2
|
||||
*
|
||||
* @author Peter van Westen <info@regularlabs.com>
|
||||
* @link http://regularlabs.com
|
||||
* @copyright Copyright © 2022 Regular Labs All Rights Reserved
|
||||
* @license http://www.gnu.org/licenses/gpl-2.0.html GNU/GPL
|
||||
|
||||
MOD_CACHECLEANER="Regular Labs - Cache Cleaner"
|
||||
MOD_CACHECLEANER_DESC="Cache Cleaner - greitas Joomla! talpyklos valymas"
|
||||
CACHECLEANER="Cache Cleaner"
|
||||
|
||||
CACHECLEANER_DESC="Su Cache Cleaner Jūs galite greitai ir lengvai išvalyti savo talpyklą paspaudus mygtuką"
|
||||
CLEAN_CACHE="Išvalyti talpyklą"
|
||||
|
||||
CC_SETTINGS="Žiūrėkite [[%1:start link%]]Cache Cleaner sisteminio įskiepio[[%2:end link%]] nustatymus."
|
||||
CC_SYSTEM_PLUGIN_NOT_ENABLED="Cache Cleaner sisteminis įskiepis nėra įgalintas! [[%1:start link%]]Įgalinti?[[%2:end link%]]"
|
||||
CC_THE_SYSTEM_PLUGIN="Cache Cleaner sisteminis įskiepis"
|
||||
@@ -0,0 +1,11 @@
|
||||
;; @package Cache Cleaner
|
||||
* @version 8.2.2
|
||||
*
|
||||
* @author Peter van Westen <info@regularlabs.com>
|
||||
* @link http://regularlabs.com
|
||||
* @copyright Copyright © 2022 Regular Labs All Rights Reserved
|
||||
* @license http://www.gnu.org/licenses/gpl-2.0.html GNU/GPL
|
||||
|
||||
MOD_CACHECLEANER="Regular Labs - Cache Cleaner"
|
||||
MOD_CACHECLEANER_DESC="Cache Cleaner - greitas Joomla! talpyklos valymas"
|
||||
CACHECLEANER="Cache Cleaner"
|
||||
@@ -0,0 +1,18 @@
|
||||
;; @package Cache Cleaner
|
||||
* @version 8.2.2
|
||||
*
|
||||
* @author Peter van Westen <info@regularlabs.com>
|
||||
* @link http://regularlabs.com
|
||||
* @copyright Copyright © 2022 Regular Labs All Rights Reserved
|
||||
* @license http://www.gnu.org/licenses/gpl-2.0.html GNU/GPL
|
||||
|
||||
MOD_CACHECLEANER="Regular Labs - Cache Cleaner"
|
||||
MOD_CACHECLEANER_DESC="Cache Cleaner - tīri kešu ātri Joomlā!"
|
||||
CACHECLEANER="Cache Cleaner"
|
||||
|
||||
CACHECLEANER_DESC="Ar Cache Cleaner vari iztīrīt kešu viegli un ātri ar saites palīdzību Joomlas administratora panelī!"
|
||||
; CLEAN_CACHE="Clean Cache"
|
||||
|
||||
; CC_SETTINGS="Please see the [[%1:start link%]]Cache Cleaner system plugin[[%2:end link%]] for settings."
|
||||
CC_SYSTEM_PLUGIN_NOT_ENABLED="Cache Cleaner sistēmas spraudnis nav ieslēgts! [[%1:start link%]]Ieslēgt?[[%2:end link%]]"
|
||||
CC_THE_SYSTEM_PLUGIN="Cache Cleaner sistēmas spraudnis"
|
||||
@@ -0,0 +1,11 @@
|
||||
;; @package Cache Cleaner
|
||||
* @version 8.2.2
|
||||
*
|
||||
* @author Peter van Westen <info@regularlabs.com>
|
||||
* @link http://regularlabs.com
|
||||
* @copyright Copyright © 2022 Regular Labs All Rights Reserved
|
||||
* @license http://www.gnu.org/licenses/gpl-2.0.html GNU/GPL
|
||||
|
||||
MOD_CACHECLEANER="Regular Labs - Cache Cleaner"
|
||||
MOD_CACHECLEANER_DESC="Cache Cleaner - tīri kešu ātri Joomlā!"
|
||||
CACHECLEANER="Cache Cleaner"
|
||||
@@ -0,0 +1,18 @@
|
||||
;; @package Cache Cleaner
|
||||
* @version 8.2.2
|
||||
*
|
||||
* @author Peter van Westen <info@regularlabs.com>
|
||||
* @link http://regularlabs.com
|
||||
* @copyright Copyright © 2022 Regular Labs All Rights Reserved
|
||||
* @license http://www.gnu.org/licenses/gpl-2.0.html GNU/GPL
|
||||
|
||||
MOD_CACHECLEANER="Regular Labs - Cache Cleaner"
|
||||
MOD_CACHECLEANER_DESC="Cache Cleaner - snel cache legen in Joomla!"
|
||||
CACHECLEANER="Cache Cleaner"
|
||||
|
||||
CACHECLEANER_DESC="Met Cache Cleaner kunt u uw cache snel en eenvoudig legen via een link in uw Joomla! Administrator"
|
||||
; CLEAN_CACHE="Clean Cache"
|
||||
|
||||
; CC_SETTINGS="Please see the [[%1:start link%]]Cache Cleaner system plugin[[%2:end link%]] for settings."
|
||||
; CC_SYSTEM_PLUGIN_NOT_ENABLED="The Cache Cleaner system plugin is not enabled! [[%1:start link%]]Enable?[[%2:end link%]]"
|
||||
; CC_THE_SYSTEM_PLUGIN="the Cache Cleaner system plugin"
|
||||
@@ -0,0 +1,11 @@
|
||||
;; @package Cache Cleaner
|
||||
* @version 8.2.2
|
||||
*
|
||||
* @author Peter van Westen <info@regularlabs.com>
|
||||
* @link http://regularlabs.com
|
||||
* @copyright Copyright © 2022 Regular Labs All Rights Reserved
|
||||
* @license http://www.gnu.org/licenses/gpl-2.0.html GNU/GPL
|
||||
|
||||
MOD_CACHECLEANER="Regular Labs - Cache Cleaner"
|
||||
MOD_CACHECLEANER_DESC="Cache Cleaner - snel cache legen in Joomla!"
|
||||
CACHECLEANER="Cache Cleaner"
|
||||
@@ -0,0 +1,18 @@
|
||||
;; @package Cache Cleaner
|
||||
* @version 8.2.2
|
||||
*
|
||||
* @author Peter van Westen <info@regularlabs.com>
|
||||
* @link http://regularlabs.com
|
||||
* @copyright Copyright © 2022 Regular Labs All Rights Reserved
|
||||
* @license http://www.gnu.org/licenses/gpl-2.0.html GNU/GPL
|
||||
|
||||
MOD_CACHECLEANER="Regular Labs - Cache Cleaner"
|
||||
MOD_CACHECLEANER_DESC="Cache Cleaner - snel uw cache opschonen in Joomla!"
|
||||
CACHECLEANER="Cache Cleaner"
|
||||
|
||||
CACHECLEANER_DESC="Met Cache Cleaner kunt u snel en gemakkelijk uw cache opschonen via een link in uw Joomla! Beheerder gedeelte."
|
||||
CLEAN_CACHE="Cache opschonen"
|
||||
|
||||
CC_SETTINGS="Zie de [[%1:start link%]]Cache Cleaner systeem plugin[[%2:end link%]] voor instellingen."
|
||||
CC_SYSTEM_PLUGIN_NOT_ENABLED="De Cache Cleaner systeem plugin is niet ingeschakeld! [[%1:start link%]]Inschakelen?[[%2:end link%]]"
|
||||
CC_THE_SYSTEM_PLUGIN="de Cache Cleaner systeem plugin"
|
||||
@@ -0,0 +1,11 @@
|
||||
;; @package Cache Cleaner
|
||||
* @version 8.2.2
|
||||
*
|
||||
* @author Peter van Westen <info@regularlabs.com>
|
||||
* @link http://regularlabs.com
|
||||
* @copyright Copyright © 2022 Regular Labs All Rights Reserved
|
||||
* @license http://www.gnu.org/licenses/gpl-2.0.html GNU/GPL
|
||||
|
||||
MOD_CACHECLEANER="Regular Labs - Cache Cleaner"
|
||||
MOD_CACHECLEANER_DESC="Cache Cleaner - snel uw cache opschonen in Joomla!"
|
||||
CACHECLEANER="Cache Cleaner"
|
||||
@@ -0,0 +1,18 @@
|
||||
;; @package Cache Cleaner
|
||||
* @version 8.2.2
|
||||
*
|
||||
* @author Peter van Westen <info@regularlabs.com>
|
||||
* @link http://regularlabs.com
|
||||
* @copyright Copyright © 2022 Regular Labs All Rights Reserved
|
||||
* @license http://www.gnu.org/licenses/gpl-2.0.html GNU/GPL
|
||||
|
||||
MOD_CACHECLEANER="Regular Labs - Sprzątacz Cache"
|
||||
MOD_CACHECLEANER_DESC="Sprzątacz Cache - wygodne opróżnianie pamięci podręcznej Joomla!"
|
||||
CACHECLEANER="Sprzątacz Cache"
|
||||
|
||||
CACHECLEANER_DESC="Sprzątacz Cache zapewnia wygodne czyszczenie pamięci podręcznej Joomla! z poziomu zaplecza"
|
||||
CLEAN_CACHE="Wyczyść pamięć podręczną"
|
||||
|
||||
CC_SETTINGS="Więcej informacji na temat ustawień znajdziesz na stronie- [[%1:start link%]]dodatku systemowego Cache Cleaner[[%2:end link%]]."
|
||||
CC_SYSTEM_PLUGIN_NOT_ENABLED="Plugin Systemowy Sprzątacz Cache nie jest opublikowany ! [[%1:start link%]]Opublikować?[[%2:end link%]]"
|
||||
CC_THE_SYSTEM_PLUGIN="Sprzątacz Cache - dodatek systemowy"
|
||||
@@ -0,0 +1,11 @@
|
||||
;; @package Cache Cleaner
|
||||
* @version 8.2.2
|
||||
*
|
||||
* @author Peter van Westen <info@regularlabs.com>
|
||||
* @link http://regularlabs.com
|
||||
* @copyright Copyright © 2022 Regular Labs All Rights Reserved
|
||||
* @license http://www.gnu.org/licenses/gpl-2.0.html GNU/GPL
|
||||
|
||||
MOD_CACHECLEANER="Regular Labs - Sprzątacz Cache"
|
||||
MOD_CACHECLEANER_DESC="Sprzątacz Cache - wygodne opróżnianie pamięci podręcznej Joomla!"
|
||||
CACHECLEANER="Sprzątacz Cache"
|
||||
@@ -0,0 +1,18 @@
|
||||
;; @package Cache Cleaner
|
||||
* @version 8.2.2
|
||||
*
|
||||
* @author Peter van Westen <info@regularlabs.com>
|
||||
* @link http://regularlabs.com
|
||||
* @copyright Copyright © 2022 Regular Labs All Rights Reserved
|
||||
* @license http://www.gnu.org/licenses/gpl-2.0.html GNU/GPL
|
||||
|
||||
MOD_CACHECLEANER="Regular Labs - Cache Cleaner"
|
||||
MOD_CACHECLEANER_DESC="Cache Cleaner - limpa rápido o cache do Joomla!"
|
||||
CACHECLEANER="Cache Cleaner"
|
||||
|
||||
CACHECLEANER_DESC="Com o Cache Cleaner você pode limpar o cache rápido e facilmente através de um link na administração do seu Joomla!"
|
||||
CLEAN_CACHE="Limpar Cache"
|
||||
|
||||
CC_SETTINGS="Por favor, veja o plugin de sistema [[%1:start link%]]Cache Cleaner [[%2:end link%]] para configurações."
|
||||
CC_SYSTEM_PLUGIN_NOT_ENABLED="O Plugin de sistema Cache Cleaner não está ativado! [[%1:start link%]]Ativar?[[%2:end link%]]"
|
||||
CC_THE_SYSTEM_PLUGIN="o plugin de sistema Cache Cleaner"
|
||||
@@ -0,0 +1,11 @@
|
||||
;; @package Cache Cleaner
|
||||
* @version 8.2.2
|
||||
*
|
||||
* @author Peter van Westen <info@regularlabs.com>
|
||||
* @link http://regularlabs.com
|
||||
* @copyright Copyright © 2022 Regular Labs All Rights Reserved
|
||||
* @license http://www.gnu.org/licenses/gpl-2.0.html GNU/GPL
|
||||
|
||||
MOD_CACHECLEANER="Regular Labs - Cache Cleaner"
|
||||
MOD_CACHECLEANER_DESC="Cache Cleaner - limpa rápido o cache do Joomla!"
|
||||
CACHECLEANER="Cache Cleaner"
|
||||
@@ -0,0 +1,18 @@
|
||||
;; @package Cache Cleaner
|
||||
* @version 8.2.2
|
||||
*
|
||||
* @author Peter van Westen <info@regularlabs.com>
|
||||
* @link http://regularlabs.com
|
||||
* @copyright Copyright © 2022 Regular Labs All Rights Reserved
|
||||
* @license http://www.gnu.org/licenses/gpl-2.0.html GNU/GPL
|
||||
|
||||
MOD_CACHECLEANER="Regular Labs - Cache Cleaner"
|
||||
MOD_CACHECLEANER_DESC="Content Templater - limpa cache rapidamente do Joomla!"
|
||||
CACHECLEANER="Limpeza de Cache"
|
||||
|
||||
CACHECLEANER_DESC="Com o Cache Cleaner pode limpar a cache rapidamente e facilmente através de um link no seu Administrador Joomla!."
|
||||
CLEAN_CACHE="Limpar Cache"
|
||||
|
||||
CC_SETTINGS="Por favor, veja o [[%1:start link%]]plugin de sistema Cache Cleaner[[%2:end link%]] para configurações."
|
||||
CC_SYSTEM_PLUGIN_NOT_ENABLED="O plugin de sistema Cache Cleaner não está ativo! [[%1:start link%]]Ativar?[[%2:end link%]]"
|
||||
CC_THE_SYSTEM_PLUGIN="o plugin de sistema Cache Cleaner"
|
||||
@@ -0,0 +1,11 @@
|
||||
;; @package Cache Cleaner
|
||||
* @version 8.2.2
|
||||
*
|
||||
* @author Peter van Westen <info@regularlabs.com>
|
||||
* @link http://regularlabs.com
|
||||
* @copyright Copyright © 2022 Regular Labs All Rights Reserved
|
||||
* @license http://www.gnu.org/licenses/gpl-2.0.html GNU/GPL
|
||||
|
||||
MOD_CACHECLEANER="Regular Labs - Cache Cleaner"
|
||||
MOD_CACHECLEANER_DESC="Content Templater - limpa cache rapidamente do Joomla!"
|
||||
CACHECLEANER="Limpeza de Cache"
|
||||
@@ -0,0 +1,18 @@
|
||||
;; @package Cache Cleaner
|
||||
* @version 8.2.2
|
||||
*
|
||||
* @author Peter van Westen <info@regularlabs.com>
|
||||
* @link http://regularlabs.com
|
||||
* @copyright Copyright © 2022 Regular Labs All Rights Reserved
|
||||
* @license http://www.gnu.org/licenses/gpl-2.0.html GNU/GPL
|
||||
|
||||
MOD_CACHECLEANER="Regular Labs - Cache Cleaner"
|
||||
MOD_CACHECLEANER_DESC="Cache Cleaner - мгновенно очищайте кэш в Joomla!"
|
||||
CACHECLEANER="Cache Cleaner"
|
||||
|
||||
CACHECLEANER_DESC="С Cache Cleaner очистка кэша сводится к одному нажатию кнопки на панели инструментов в административной части Joomla!"
|
||||
CLEAN_CACHE="Очистить кэш"
|
||||
|
||||
CC_SETTINGS="Для настройки используйте [[%1:start link%]]системный плагин Cache Cleaner[[%2:end link%]]"
|
||||
CC_SYSTEM_PLUGIN_NOT_ENABLED="Системный плагин Cache Cleaner не активирован! [[%1:start link%]]Активировать его сейчас?[[%2:end link%]]"
|
||||
CC_THE_SYSTEM_PLUGIN="системный плагин Cache Cleaner"
|
||||
@@ -0,0 +1,11 @@
|
||||
;; @package Cache Cleaner
|
||||
* @version 8.2.2
|
||||
*
|
||||
* @author Peter van Westen <info@regularlabs.com>
|
||||
* @link http://regularlabs.com
|
||||
* @copyright Copyright © 2022 Regular Labs All Rights Reserved
|
||||
* @license http://www.gnu.org/licenses/gpl-2.0.html GNU/GPL
|
||||
|
||||
MOD_CACHECLEANER="Regular Labs - Cache Cleaner"
|
||||
MOD_CACHECLEANER_DESC="Cache Cleaner - мгновенно очищайте кэш в Joomla!"
|
||||
CACHECLEANER="Cache Cleaner"
|
||||
@@ -0,0 +1,18 @@
|
||||
;; @package Cache Cleaner
|
||||
* @version 8.2.2
|
||||
*
|
||||
* @author Peter van Westen <info@regularlabs.com>
|
||||
* @link http://regularlabs.com
|
||||
* @copyright Copyright © 2022 Regular Labs All Rights Reserved
|
||||
* @license http://www.gnu.org/licenses/gpl-2.0.html GNU/GPL
|
||||
|
||||
MOD_CACHECLEANER="Regular Labs - Cache Cleaner"
|
||||
MOD_CACHECLEANER_DESC="Cache Cleaner - rýchle čistenie vyrovnávacej pamäte v Joomla!-e"
|
||||
CACHECLEANER="Cache Cleaner"
|
||||
|
||||
CACHECLEANER_DESC="S Cache Cleaner-om môžete vymazať vyrovnávaciu pamäť rýchlo a jednoducho pomocou linku priamo v administračnej časti Joomla!-y"
|
||||
CLEAN_CACHE="Čistiť pamäť"
|
||||
|
||||
CC_SETTINGS="Prosím pozrite si nastavenia [[%1:start link%]]Cache Cleaner systémového doplnku[[%2:end link%]]."
|
||||
CC_SYSTEM_PLUGIN_NOT_ENABLED="Systémový doplnok Cache Cleaner nie je povolený/aktivovaný! [[%1:start link%]]Povoliť?[[%2:end link%]]"
|
||||
CC_THE_SYSTEM_PLUGIN="systémový doplnok Cache Cleaner"
|
||||
@@ -0,0 +1,11 @@
|
||||
;; @package Cache Cleaner
|
||||
* @version 8.2.2
|
||||
*
|
||||
* @author Peter van Westen <info@regularlabs.com>
|
||||
* @link http://regularlabs.com
|
||||
* @copyright Copyright © 2022 Regular Labs All Rights Reserved
|
||||
* @license http://www.gnu.org/licenses/gpl-2.0.html GNU/GPL
|
||||
|
||||
MOD_CACHECLEANER="Regular Labs - Cache Cleaner"
|
||||
MOD_CACHECLEANER_DESC="Cache Cleaner - rýchle čistenie vyrovnávacej pamäte v Joomla!-e"
|
||||
CACHECLEANER="Cache Cleaner"
|
||||
@@ -0,0 +1,18 @@
|
||||
;; @package Cache Cleaner
|
||||
* @version 8.2.2
|
||||
*
|
||||
* @author Peter van Westen <info@regularlabs.com>
|
||||
* @link http://regularlabs.com
|
||||
* @copyright Copyright © 2022 Regular Labs All Rights Reserved
|
||||
* @license http://www.gnu.org/licenses/gpl-2.0.html GNU/GPL
|
||||
|
||||
MOD_CACHECLEANER="Regular Labs - Cache Cleaner"
|
||||
MOD_CACHECLEANER_DESC="Cache Cleaner - hitro čiščenje predpomnilnika v Joomla!"
|
||||
CACHECLEANER="Cache Cleaner"
|
||||
|
||||
CACHECLEANER_DESC="Z Cache Cleaner lahko očistite predpomnilnik hitro in enostavno preko povezave v vašem Joomla! Skrbništvu."
|
||||
CLEAN_CACHE="Predpomnilnik"
|
||||
|
||||
CC_SETTINGS="Prosimo, glejte [[%1:start link%]]Cache Cleaner sistem vtičnik[[%2:end link%]] za nastavitve."
|
||||
CC_SYSTEM_PLUGIN_NOT_ENABLED="Čiščenje Predpomnilnika sistem vtičnik ni omogočen! [[%1:start link%]]Omogočim?[[%2:end link%]]"
|
||||
CC_THE_SYSTEM_PLUGIN="Cache Cleaner sistem vtičnik"
|
||||
@@ -0,0 +1,11 @@
|
||||
;; @package Cache Cleaner
|
||||
* @version 8.2.2
|
||||
*
|
||||
* @author Peter van Westen <info@regularlabs.com>
|
||||
* @link http://regularlabs.com
|
||||
* @copyright Copyright © 2022 Regular Labs All Rights Reserved
|
||||
* @license http://www.gnu.org/licenses/gpl-2.0.html GNU/GPL
|
||||
|
||||
MOD_CACHECLEANER="Regular Labs - Cache Cleaner"
|
||||
MOD_CACHECLEANER_DESC="Cache Cleaner - hitro čiščenje predpomnilnika v Joomla!"
|
||||
CACHECLEANER="Cache Cleaner"
|
||||
@@ -0,0 +1,18 @@
|
||||
;; @package Cache Cleaner
|
||||
* @version 8.2.2
|
||||
*
|
||||
* @author Peter van Westen <info@regularlabs.com>
|
||||
* @link http://regularlabs.com
|
||||
* @copyright Copyright © 2022 Regular Labs All Rights Reserved
|
||||
* @license http://www.gnu.org/licenses/gpl-2.0.html GNU/GPL
|
||||
|
||||
MOD_CACHECLEANER="Regular Labs - Cache Cleaner"
|
||||
MOD_CACHECLEANER_DESC="Cache Cleaner - rensa cachen fort i Joomla!"
|
||||
CACHECLEANER="Cache Cleaner"
|
||||
|
||||
CACHECLEANER_DESC="Med Cache Cleaner kan du rensa cachen snabbt och enkelt via en länk i Joomla! Administrator."
|
||||
CLEAN_CACHE="Clean Cache"
|
||||
|
||||
CC_SETTINGS="Se [[%1:start link%]]Cache Cleaner system-plugin[[%2:end link%]] för inställningar."
|
||||
CC_SYSTEM_PLUGIN_NOT_ENABLED="Cache Cleaner systemplugin är inte aktiverad! [[%1:start link%]]Aktivera?[[%2:end link%]]"
|
||||
CC_THE_SYSTEM_PLUGIN="Cache Cleaner systemplugin"
|
||||
@@ -0,0 +1,11 @@
|
||||
;; @package Cache Cleaner
|
||||
* @version 8.2.2
|
||||
*
|
||||
* @author Peter van Westen <info@regularlabs.com>
|
||||
* @link http://regularlabs.com
|
||||
* @copyright Copyright © 2022 Regular Labs All Rights Reserved
|
||||
* @license http://www.gnu.org/licenses/gpl-2.0.html GNU/GPL
|
||||
|
||||
MOD_CACHECLEANER="Regular Labs - Cache Cleaner"
|
||||
MOD_CACHECLEANER_DESC="Cache Cleaner - rensa cachen fort i Joomla!"
|
||||
CACHECLEANER="Cache Cleaner"
|
||||
@@ -0,0 +1,18 @@
|
||||
;; @package Cache Cleaner
|
||||
* @version 8.2.2
|
||||
*
|
||||
* @author Peter van Westen <info@regularlabs.com>
|
||||
* @link http://regularlabs.com
|
||||
* @copyright Copyright © 2022 Regular Labs All Rights Reserved
|
||||
* @license http://www.gnu.org/licenses/gpl-2.0.html GNU/GPL
|
||||
|
||||
MOD_CACHECLEANER="Regular Labs - Cache Cleaner"
|
||||
MOD_CACHECLEANER_DESC="Cache Cleaner - ทำความสะอาดระบบแคชในจูมล่าอย่างรวดเร็ว!"
|
||||
CACHECLEANER="Cache Cleaner"
|
||||
|
||||
CACHECLEANER_DESC="ด้วย Cache Cleaner คุณสามารถทำความสะอาดหน่วยความจำแคชได้อย่างรวดเร็วและง่ายดายโดยผ่านทางลิงค์เพียงลิงค์เดียวในหน้าผู้ดูแลระบบของจูมล่า."
|
||||
CLEAN_CACHE="ทำความสะอาดหน่วยความจำแคช"
|
||||
|
||||
CC_SETTINGS="กรุณาอ่านรายละเอียดเพิ่มเติมได้ที่ [[%1:start link%]]Cache Cleaner system plugin[[%2:end link%]] สำหรับการกำหนดค่า"
|
||||
CC_SYSTEM_PLUGIN_NOT_ENABLED="ปลั๊กอินสำหรับระบบจาก Cache Cleaner ยังไม่ได้เปิดใช้งาน! [[%1:start link%]]เปิดใช้งานหรือไม่?[[%2:end link%]]"
|
||||
CC_THE_SYSTEM_PLUGIN="ปลั๊กอินสำหรับระบบของ Cache Cleaner"
|
||||
@@ -0,0 +1,11 @@
|
||||
;; @package Cache Cleaner
|
||||
* @version 8.2.2
|
||||
*
|
||||
* @author Peter van Westen <info@regularlabs.com>
|
||||
* @link http://regularlabs.com
|
||||
* @copyright Copyright © 2022 Regular Labs All Rights Reserved
|
||||
* @license http://www.gnu.org/licenses/gpl-2.0.html GNU/GPL
|
||||
|
||||
MOD_CACHECLEANER="Regular Labs - Cache Cleaner"
|
||||
MOD_CACHECLEANER_DESC="Cache Cleaner - ทำความสะอาดระบบแคชในจูมล่าอย่างรวดเร็ว!"
|
||||
CACHECLEANER="Cache Cleaner"
|
||||
@@ -0,0 +1,18 @@
|
||||
;; @package Cache Cleaner
|
||||
* @version 8.2.2
|
||||
*
|
||||
* @author Peter van Westen <info@regularlabs.com>
|
||||
* @link http://regularlabs.com
|
||||
* @copyright Copyright © 2022 Regular Labs All Rights Reserved
|
||||
* @license http://www.gnu.org/licenses/gpl-2.0.html GNU/GPL
|
||||
|
||||
MOD_CACHECLEANER="Regular Labs - Cache Cleaner"
|
||||
MOD_CACHECLEANER_DESC="Cache Cleaner - Joomla! ön belleğini hızla temizler."
|
||||
CACHECLEANER="Cache Cleaner"
|
||||
|
||||
CACHECLEANER_DESC="Cache Cleaner ile ön bellek, Joomla! yönetim bölümünden hızlı ve kolay bir şekilde temizlenebilir."
|
||||
CLEAN_CACHE="Ön belleği temizle"
|
||||
|
||||
CC_SETTINGS="Ayarlar için [[%1:start link%]]Cache Cleaner sistem uygulama ekine[[%2:end link%]] bakabilirsiniz."
|
||||
CC_SYSTEM_PLUGIN_NOT_ENABLED="Cache Cleaner sistem uygulama eki etkinleştirilmemiş! [[%1:start link%]]Etkinleştir[[%2:end link%]]"
|
||||
CC_THE_SYSTEM_PLUGIN="Cache Cleaner sistem uygulama eki"
|
||||
@@ -0,0 +1,11 @@
|
||||
;; @package Cache Cleaner
|
||||
* @version 8.2.2
|
||||
*
|
||||
* @author Peter van Westen <info@regularlabs.com>
|
||||
* @link http://regularlabs.com
|
||||
* @copyright Copyright © 2022 Regular Labs All Rights Reserved
|
||||
* @license http://www.gnu.org/licenses/gpl-2.0.html GNU/GPL
|
||||
|
||||
MOD_CACHECLEANER="Regular Labs - Cache Cleaner"
|
||||
MOD_CACHECLEANER_DESC="Cache Cleaner - Joomla! ön belleğini hızla temizler."
|
||||
CACHECLEANER="Cache Cleaner"
|
||||
@@ -0,0 +1,18 @@
|
||||
;; @package Cache Cleaner
|
||||
* @version 8.2.2
|
||||
*
|
||||
* @author Peter van Westen <info@regularlabs.com>
|
||||
* @link http://regularlabs.com
|
||||
* @copyright Copyright © 2022 Regular Labs All Rights Reserved
|
||||
* @license http://www.gnu.org/licenses/gpl-2.0.html GNU/GPL
|
||||
|
||||
MOD_CACHECLEANER="Regular Labs - Cache Cleaner"
|
||||
MOD_CACHECLEANER_DESC="Cache Cleaner - миттєво очищує кеш в Joomla!"
|
||||
CACHECLEANER="Cache Cleaner"
|
||||
|
||||
CACHECLEANER_DESC="С Cache Cleaner очищення кешу зводиться до одного натиснення кнопки на панелі інструментів в адміністративній частині Joomla!"
|
||||
CLEAN_CACHE="Очистити кеш"
|
||||
|
||||
CC_SETTINGS="Будь ласка, дивіться [[%1:start link%]]Cache Cleaner system plugin[[%2:end link%]] для налаштування."
|
||||
CC_SYSTEM_PLUGIN_NOT_ENABLED="Системний плагін Cache Cleaner не активовано! [[%1:start link%]]ААктивувати його зараз?[[%2:end link%]]"
|
||||
CC_THE_SYSTEM_PLUGIN="Системний плагін Cache Cleaner"
|
||||
@@ -0,0 +1,11 @@
|
||||
;; @package Cache Cleaner
|
||||
* @version 8.2.2
|
||||
*
|
||||
* @author Peter van Westen <info@regularlabs.com>
|
||||
* @link http://regularlabs.com
|
||||
* @copyright Copyright © 2022 Regular Labs All Rights Reserved
|
||||
* @license http://www.gnu.org/licenses/gpl-2.0.html GNU/GPL
|
||||
|
||||
MOD_CACHECLEANER="Regular Labs - Cache Cleaner"
|
||||
MOD_CACHECLEANER_DESC="Cache Cleaner - миттєво очищує кеш в Joomla!"
|
||||
CACHECLEANER="Cache Cleaner"
|
||||
@@ -0,0 +1,18 @@
|
||||
;; @package Cache Cleaner
|
||||
* @version 8.2.2
|
||||
*
|
||||
* @author Peter van Westen <info@regularlabs.com>
|
||||
* @link http://regularlabs.com
|
||||
* @copyright Copyright © 2022 Regular Labs All Rights Reserved
|
||||
* @license http://www.gnu.org/licenses/gpl-2.0.html GNU/GPL
|
||||
|
||||
MOD_CACHECLEANER="Regular Labs - 缓存清理器"
|
||||
MOD_CACHECLEANER_DESC="缓存清理器 - 在Joomla中快速清理缓存!"
|
||||
CACHECLEANER="缓存清理器"
|
||||
|
||||
CACHECLEANER_DESC="使用缓存清理器,您可以通过Joomla!Administrator中的链接快速轻松地清理缓存。"
|
||||
CLEAN_CACHE="清理缓存"
|
||||
|
||||
CC_SETTINGS="有关设置,请参阅[[%1:start link%]]缓存清理器系统插件[[%2:end link%]]。"
|
||||
CC_SYSTEM_PLUGIN_NOT_ENABLED="缓存清理器系统插件未启用! [[%1:start link%]]启用?[[%2:end link%]]"
|
||||
CC_THE_SYSTEM_PLUGIN="缓存清理器系统插件"
|
||||
@@ -0,0 +1,11 @@
|
||||
;; @package Cache Cleaner
|
||||
* @version 8.2.2
|
||||
*
|
||||
* @author Peter van Westen <info@regularlabs.com>
|
||||
* @link http://regularlabs.com
|
||||
* @copyright Copyright © 2022 Regular Labs All Rights Reserved
|
||||
* @license http://www.gnu.org/licenses/gpl-2.0.html GNU/GPL
|
||||
|
||||
MOD_CACHECLEANER="Regular Labs - 缓存清理器"
|
||||
MOD_CACHECLEANER_DESC="缓存清理器 - 在Joomla中快速清理缓存!"
|
||||
CACHECLEANER="缓存清理器"
|
||||
@@ -0,0 +1,18 @@
|
||||
;; @package Cache Cleaner
|
||||
* @version 8.2.2
|
||||
*
|
||||
* @author Peter van Westen <info@regularlabs.com>
|
||||
* @link http://regularlabs.com
|
||||
* @copyright Copyright © 2022 Regular Labs All Rights Reserved
|
||||
* @license http://www.gnu.org/licenses/gpl-2.0.html GNU/GPL
|
||||
|
||||
MOD_CACHECLEANER="Regular Labs - Cache Cleaner"
|
||||
MOD_CACHECLEANER_DESC="Cache Cleaner - 在 Joomla! 中快速清除快取"
|
||||
CACHECLEANER="Cache Cleaner"
|
||||
|
||||
CACHECLEANER_DESC="使用 Cache Cleaner 能在 Joomla! Administrator 透過連結快速且輕鬆的清除快取。"
|
||||
CLEAN_CACHE="清除快取"
|
||||
|
||||
CC_SETTINGS="設定請查看 [[%1:start link%]]Cache Cleaner 系統快取[[%2:end link%]] 。"
|
||||
CC_SYSTEM_PLUGIN_NOT_ENABLED="Cache Cleaner 系統外掛未啟用! [[%1:start link%]]啟用嗎?[[%2:end link%]]"
|
||||
CC_THE_SYSTEM_PLUGIN="Cache Cleaner 系統外掛"
|
||||
@@ -0,0 +1,11 @@
|
||||
;; @package Cache Cleaner
|
||||
* @version 8.2.2
|
||||
*
|
||||
* @author Peter van Westen <info@regularlabs.com>
|
||||
* @link http://regularlabs.com
|
||||
* @copyright Copyright © 2022 Regular Labs All Rights Reserved
|
||||
* @license http://www.gnu.org/licenses/gpl-2.0.html GNU/GPL
|
||||
|
||||
MOD_CACHECLEANER="Regular Labs - Cache Cleaner"
|
||||
MOD_CACHECLEANER_DESC="Cache Cleaner - 在 Joomla! 中快速清除快取"
|
||||
CACHECLEANER="Cache Cleaner"
|
||||
77
administrator/modules/mod_cachecleaner/mod_cachecleaner.php
Normal file
77
administrator/modules/mod_cachecleaner/mod_cachecleaner.php
Normal file
@@ -0,0 +1,77 @@
|
||||
<?php
|
||||
/**
|
||||
* @package Cache Cleaner
|
||||
* @version 8.2.2
|
||||
*
|
||||
* @author Peter van Westen <info@regularlabs.com>
|
||||
* @link http://regularlabs.com
|
||||
* @copyright Copyright © 2022 Regular Labs All Rights Reserved
|
||||
* @license http://www.gnu.org/licenses/gpl-2.0.html GNU/GPL
|
||||
*/
|
||||
|
||||
defined('_JEXEC') or die;
|
||||
|
||||
use Joomla\CMS\Helper\ModuleHelper as JModuleHelper;
|
||||
use Joomla\CMS\Plugin\PluginHelper as JPluginHelper;
|
||||
use RegularLabs\Library\Document as RL_Document;
|
||||
use RegularLabs\Library\Parameters as RL_Parameters;
|
||||
use RegularLabs\Module\CacheCleaner\Administrator\Helper\CacheCleaner as CacheCleanerHelper;
|
||||
|
||||
/**
|
||||
* Module that cleans cache
|
||||
*/
|
||||
|
||||
// return if Regular Labs Library plugin is not installed
|
||||
if (
|
||||
! is_file(JPATH_PLUGINS . '/system/regularlabs/regularlabs.xml')
|
||||
|| ! is_file(JPATH_LIBRARIES . '/regularlabs/autoload.php')
|
||||
)
|
||||
{
|
||||
return;
|
||||
}
|
||||
|
||||
require_once JPATH_LIBRARIES . '/regularlabs/autoload.php';
|
||||
|
||||
if ( ! RL_Document::isAdmin(true))
|
||||
{
|
||||
return;
|
||||
}
|
||||
|
||||
if ( ! RL_Document::isJoomlaVersion(4))
|
||||
{
|
||||
return;
|
||||
}
|
||||
|
||||
// return if Regular Labs Library plugin is not enabled
|
||||
if ( ! JPluginHelper::isEnabled('system', 'regularlabs'))
|
||||
{
|
||||
return;
|
||||
}
|
||||
|
||||
// return if Cache Cleaner system plugin is not enabled
|
||||
if ( ! JPluginHelper::isEnabled('system', 'cachecleaner'))
|
||||
{
|
||||
return;
|
||||
}
|
||||
|
||||
if (true)
|
||||
{
|
||||
$params = RL_Parameters::getPlugin('cachecleaner');
|
||||
|
||||
if ( ! $params->display_statusbar_button && ! ! $params->display_toolbar_button)
|
||||
{
|
||||
return;
|
||||
}
|
||||
|
||||
CacheCleanerHelper::addScriptsAndStyles();
|
||||
|
||||
if ($params->display_toolbar_button)
|
||||
{
|
||||
CacheCleanerHelper::addToolbarButton();
|
||||
}
|
||||
|
||||
if ($params->display_statusbar_button)
|
||||
{
|
||||
require JModuleHelper::getLayoutPath('mod_cachecleaner');
|
||||
}
|
||||
}
|
||||
32
administrator/modules/mod_cachecleaner/mod_cachecleaner.xml
Normal file
32
administrator/modules/mod_cachecleaner/mod_cachecleaner.xml
Normal file
@@ -0,0 +1,32 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<extension version="4" type="module" client="administrator" method="upgrade">
|
||||
<name>MOD_CACHECLEANER</name>
|
||||
<description>MOD_CACHECLEANER_DESC</description>
|
||||
<version>8.2.2</version>
|
||||
<creationDate>October 2022</creationDate>
|
||||
<author>Regular Labs (Peter van Westen)</author>
|
||||
<authorEmail>info@regularlabs.com</authorEmail>
|
||||
<authorUrl>https://regularlabs.com</authorUrl>
|
||||
<copyright>Copyright © 2022 Regular Labs - All Rights Reserved</copyright>
|
||||
<license>http://www.gnu.org/licenses/gpl-2.0.html GNU/GPL</license>
|
||||
<namespace path="src">RegularLabs\Module\CacheCleaner</namespace>
|
||||
<scriptfile>script.install.php</scriptfile>
|
||||
<files>
|
||||
<file module="mod_cachecleaner">mod_cachecleaner.php</file>
|
||||
<folder>language</folder>
|
||||
<folder>src</folder>
|
||||
<folder>tmpl</folder>
|
||||
</files>
|
||||
<config>
|
||||
<fields name="params" addfieldprefix="RegularLabs\Library\Form\Field">
|
||||
<fieldset name="description">
|
||||
<field name="@load_language" type="LoadLanguage" extension="mod_cachecleaner"/>
|
||||
<field name="@license" type="License" extension="CACHECLEANER"/>
|
||||
<field name="@version" type="Version" extension="CACHECLEANER"/>
|
||||
<field name="@dependency" type="Dependency" label="CC_THE_MODULE" file="/plugins/system/cachecleaner/cachecleaner.xml"/>
|
||||
<field name="@header" type="Header" label="CACHECLEANER" description="CACHECLEANER_DESC" url="https://regularlabs.com/cachecleaner"/>
|
||||
<field name="@note__settings" type="Note" class="rl-alert alert alert-info rl-alert-light" text="CC_SETTINGS,<a href="index.php?option=com_plugins&filter_folder=system&filter_search=cache cleaner" target="_blank">,</a>"/>
|
||||
</fieldset>
|
||||
</fields>
|
||||
</config>
|
||||
</extension>
|
||||
52
administrator/modules/mod_cachecleaner/script.install.php
Normal file
52
administrator/modules/mod_cachecleaner/script.install.php
Normal file
@@ -0,0 +1,52 @@
|
||||
<?php
|
||||
/**
|
||||
* @package Cache Cleaner
|
||||
* @version 8.2.2
|
||||
*
|
||||
* @author Peter van Westen <info@regularlabs.com>
|
||||
* @link http://regularlabs.com
|
||||
* @copyright Copyright © 2022 Regular Labs All Rights Reserved
|
||||
* @license http://www.gnu.org/licenses/gpl-2.0.html GNU/GPL
|
||||
*/
|
||||
|
||||
defined('_JEXEC') or die;
|
||||
|
||||
class Mod_CacheCleanerInstallerScript
|
||||
{
|
||||
public function postflight($install_type, $adapter)
|
||||
{
|
||||
if ( ! in_array($install_type, ['install', 'update']))
|
||||
{
|
||||
return true;
|
||||
}
|
||||
|
||||
self::deleteJoomla3Files();
|
||||
|
||||
return true;
|
||||
}
|
||||
|
||||
private static function delete($files = [])
|
||||
{
|
||||
foreach ($files as $file)
|
||||
{
|
||||
if (is_dir($file))
|
||||
{
|
||||
JFolder::delete($file);
|
||||
}
|
||||
|
||||
if (is_file($file))
|
||||
{
|
||||
JFile::delete($file);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
private static function deleteJoomla3Files()
|
||||
{
|
||||
self::delete(
|
||||
[
|
||||
JPATH_ADMINISTRATOR . '/modules/mod_cachecleaner/helper.php',
|
||||
]
|
||||
);
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,84 @@
|
||||
<?php
|
||||
/**
|
||||
* @package Cache Cleaner
|
||||
* @version 8.2.2
|
||||
*
|
||||
* @author Peter van Westen <info@regularlabs.com>
|
||||
* @link http://regularlabs.com
|
||||
* @copyright Copyright © 2022 Regular Labs All Rights Reserved
|
||||
* @license http://www.gnu.org/licenses/gpl-2.0.html GNU/GPL
|
||||
*/
|
||||
|
||||
namespace RegularLabs\Module\CacheCleaner\Administrator\Helper;
|
||||
|
||||
defined('_JEXEC') or die;
|
||||
|
||||
use Joomla\CMS\Language\Text as JText;
|
||||
use Joomla\CMS\Layout\FileLayout as JFileLayout;
|
||||
use Joomla\CMS\Toolbar\Toolbar as JToolbar;
|
||||
use RegularLabs\Library\Document as RL_Document;
|
||||
use RegularLabs\Library\Language as RL_Language;
|
||||
use RegularLabs\Library\Parameters as RL_Parameters;
|
||||
|
||||
class CacheCleaner
|
||||
{
|
||||
static public function addScriptsAndStyles()
|
||||
{
|
||||
RL_Language::load('plg_system_cachecleaner');
|
||||
|
||||
RL_Document::scriptOptions(
|
||||
[
|
||||
'message_clean' => JText::_('CC_CLEANING_CACHE'),
|
||||
'message_inactive' => JText::sprintf(
|
||||
'CC_SYSTEM_PLUGIN_NOT_ENABLED',
|
||||
'<a href="index.php?option=com_plugins&filter[folder]=system&filter[search]=cache cleaner">',
|
||||
'</a>'
|
||||
),
|
||||
'message_failure' => JText::_('CC_CACHE_COULD_NOT_BE_CLEANED'),
|
||||
],
|
||||
'Cache Cleaner'
|
||||
);
|
||||
|
||||
RL_Document::script('regularlabs.regular');
|
||||
RL_Document::script('cachecleaner.script');
|
||||
RL_Document::style('cachecleaner.style');
|
||||
}
|
||||
|
||||
static public function addToolbarButton()
|
||||
{
|
||||
$params = RL_Parameters::getPlugin('cachecleaner');
|
||||
|
||||
// Instantiate a new LayoutFile instance and render the layout
|
||||
$layout = new JFileLayout('joomla.toolbar.standard');
|
||||
|
||||
$button = [
|
||||
'text' => self::getText(),
|
||||
'onclick' => 'RegularLabs.CacheCleaner.purge();',
|
||||
'class' => 'icon-trash',
|
||||
'btnClass' => 'btn' . ($params->add_button_text ? '' : ' rl-button-no-text'),
|
||||
'htmlAttributes' => 'type="button"',
|
||||
];
|
||||
|
||||
$toolbar = JToolBar::getInstance('toolbar');
|
||||
$toolbar->appendButton('Custom', $layout->render($button));
|
||||
}
|
||||
|
||||
static public function getText()
|
||||
{
|
||||
$params = RL_Parameters::getPlugin('cachecleaner');
|
||||
|
||||
if ( ! $params->add_button_text)
|
||||
{
|
||||
return '';
|
||||
}
|
||||
|
||||
$text_ini = strtoupper(str_replace(' ', '_', $params->button_text));
|
||||
$text = JText::_($text_ini);
|
||||
if ($text == $text_ini)
|
||||
{
|
||||
$text = JText::_($params->button_text);
|
||||
}
|
||||
|
||||
return $text;
|
||||
}
|
||||
}
|
||||
32
administrator/modules/mod_cachecleaner/tmpl/default.php
Normal file
32
administrator/modules/mod_cachecleaner/tmpl/default.php
Normal file
@@ -0,0 +1,32 @@
|
||||
<?php
|
||||
/**
|
||||
* @package Cache Cleaner
|
||||
* @version 8.2.2
|
||||
*
|
||||
* @author Peter van Westen <info@regularlabs.com>
|
||||
* @link http://regularlabs.com
|
||||
* @copyright Copyright © 2022 Regular Labs All Rights Reserved
|
||||
* @license http://www.gnu.org/licenses/gpl-2.0.html GNU/GPL
|
||||
*/
|
||||
|
||||
defined('_JEXEC') or die;
|
||||
|
||||
use RegularLabs\Module\CacheCleaner\Administrator\Helper\CacheCleaner as CacheCleanerHelper;
|
||||
|
||||
/* @var object $params */
|
||||
|
||||
$text = CacheCleanerHelper::getText();
|
||||
$class = 'header-item-content' . ($params->add_button_text ? '' : ' rl-button-no-text');
|
||||
|
||||
?>
|
||||
<a href="javascript:" onclick="RegularLabs.CacheCleaner.purge();" class="<?php echo $class; ?>" title="<?php echo $text; ?>">
|
||||
<div class="header-item-icon">
|
||||
<span class="icon-trash" aria-hidden="true"></span>
|
||||
</div>
|
||||
|
||||
<?php if ($params->add_button_text) : ?>
|
||||
<div class="header-item-text">
|
||||
<?php echo $text; ?>
|
||||
</div>
|
||||
<?php endif; ?>
|
||||
</a>
|
||||
25
administrator/modules/mod_custom/mod_custom.php
Normal file
25
administrator/modules/mod_custom/mod_custom.php
Normal file
@@ -0,0 +1,25 @@
|
||||
<?php
|
||||
|
||||
/**
|
||||
* @package Joomla.Administrator
|
||||
* @subpackage mod_custom
|
||||
*
|
||||
* @copyright (C) 2009 Open Source Matters, Inc. <https://www.joomla.org>
|
||||
* @license GNU General Public License version 2 or later; see LICENSE.txt
|
||||
*/
|
||||
|
||||
defined('_JEXEC') or die;
|
||||
|
||||
use Joomla\CMS\Helper\ModuleHelper;
|
||||
use Joomla\CMS\HTML\HTMLHelper;
|
||||
use Joomla\CMS\Plugin\PluginHelper;
|
||||
|
||||
if ($params->def('prepare_content', 1)) {
|
||||
PluginHelper::importPlugin('content');
|
||||
$module->content = HTMLHelper::_('content.prepare', $module->content, '', 'mod_custom.content');
|
||||
}
|
||||
|
||||
// Replace 'images/' to '../images/' when using an image from /images in backend.
|
||||
$module->content = preg_replace('*src\=\"(?!administrator\/)images/*', 'src="../images/', $module->content);
|
||||
|
||||
require ModuleHelper::getLayoutPath('mod_custom', $params->get('layout', 'default'));
|
||||
81
administrator/modules/mod_custom/mod_custom.xml
Normal file
81
administrator/modules/mod_custom/mod_custom.xml
Normal file
@@ -0,0 +1,81 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<extension type="module" client="administrator" method="upgrade">
|
||||
<name>mod_custom</name>
|
||||
<author>Joomla! Project</author>
|
||||
<creationDate>2004-07</creationDate>
|
||||
<copyright>(C) 2005 Open Source Matters, Inc.</copyright>
|
||||
<license>GNU General Public License version 2 or later; see LICENSE.txt</license>
|
||||
<authorEmail>admin@joomla.org</authorEmail>
|
||||
<authorUrl>www.joomla.org</authorUrl>
|
||||
<version>3.0.0</version>
|
||||
<description>MOD_CUSTOM_XML_DESCRIPTION</description>
|
||||
|
||||
<customContent />
|
||||
|
||||
<files>
|
||||
<filename module="mod_custom">mod_custom.php</filename>
|
||||
<folder>tmpl</folder>
|
||||
</files>
|
||||
<languages>
|
||||
<language tag="en-GB">language/en-GB/mod_custom.ini</language>
|
||||
<language tag="en-GB">language/en-GB/mod_custom.sys.ini</language>
|
||||
</languages>
|
||||
<help key="Admin_Modules:_Custom" />
|
||||
<config>
|
||||
<fields name="params">
|
||||
<fieldset name="options" label="COM_MODULES_BASIC_FIELDSET_LABEL">
|
||||
<field
|
||||
name="prepare_content"
|
||||
type="radio"
|
||||
label="MOD_CUSTOM_FIELD_PREPARE_CONTENT_LABEL"
|
||||
description="MOD_CUSTOM_FIELD_PREPARE_CONTENT_DESC"
|
||||
layout="joomla.form.field.radio.switcher"
|
||||
default="1"
|
||||
filter="integer"
|
||||
>
|
||||
<option value="0">JNO</option>
|
||||
<option value="1">JYES</option>
|
||||
</field>
|
||||
</fieldset>
|
||||
<fieldset
|
||||
name="advanced">
|
||||
<field
|
||||
name="layout"
|
||||
type="modulelayout"
|
||||
label="JFIELD_ALT_LAYOUT_LABEL"
|
||||
class="form-select"
|
||||
/>
|
||||
|
||||
<field
|
||||
name="moduleclass_sfx"
|
||||
type="textarea"
|
||||
label="COM_MODULES_FIELD_MODULECLASS_SFX_LABEL"
|
||||
rows="3"
|
||||
validate="CssIdentifier"
|
||||
/>
|
||||
|
||||
<field
|
||||
name="cache"
|
||||
type="list"
|
||||
label="COM_MODULES_FIELD_CACHING_LABEL"
|
||||
default="1"
|
||||
filter="integer"
|
||||
validate="options"
|
||||
>
|
||||
<option value="1">JGLOBAL_USE_GLOBAL</option>
|
||||
<option value="0">COM_MODULES_FIELD_VALUE_NOCACHING</option>
|
||||
</field>
|
||||
|
||||
<field
|
||||
name="cache_time"
|
||||
type="number"
|
||||
label="COM_MODULES_FIELD_CACHE_TIME_LABEL"
|
||||
default="900"
|
||||
filter="integer"
|
||||
min="1"
|
||||
validate="number"
|
||||
/>
|
||||
</fieldset>
|
||||
</fields>
|
||||
</config>
|
||||
</extension>
|
||||
16
administrator/modules/mod_custom/tmpl/default.php
Normal file
16
administrator/modules/mod_custom/tmpl/default.php
Normal file
@@ -0,0 +1,16 @@
|
||||
<?php
|
||||
|
||||
/**
|
||||
* @package Joomla.Administrator
|
||||
* @subpackage mod_custom
|
||||
*
|
||||
* @copyright (C) 2009 Open Source Matters, Inc. <https://www.joomla.org>
|
||||
* @license GNU General Public License version 2 or later; see LICENSE.txt
|
||||
*/
|
||||
|
||||
defined('_JEXEC') or die;
|
||||
?>
|
||||
|
||||
<div class="mod-custom custom">
|
||||
<?php echo $module->content; ?>
|
||||
</div>
|
||||
17
administrator/modules/mod_feed/mod_feed.php
Normal file
17
administrator/modules/mod_feed/mod_feed.php
Normal file
@@ -0,0 +1,17 @@
|
||||
<?php
|
||||
|
||||
/**
|
||||
* @package Joomla.Administrator
|
||||
* @subpackage mod_feed
|
||||
*
|
||||
* @copyright (C) 2006 Open Source Matters, Inc. <https://www.joomla.org>
|
||||
* @license GNU General Public License version 2 or later; see LICENSE.txt
|
||||
*/
|
||||
|
||||
defined('_JEXEC') or die;
|
||||
|
||||
$feed = \Joomla\Module\Feed\Administrator\Helper\FeedHelper::getFeed($params);
|
||||
$rssurl = $params->get('rssurl', '');
|
||||
$rssrtl = $params->get('rssrtl', 0);
|
||||
|
||||
require \Joomla\CMS\Helper\ModuleHelper::getLayoutPath('mod_feed', $params->get('layout', 'default'));
|
||||
157
administrator/modules/mod_feed/mod_feed.xml
Normal file
157
administrator/modules/mod_feed/mod_feed.xml
Normal file
@@ -0,0 +1,157 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<extension type="module" client="administrator" method="upgrade">
|
||||
<name>mod_feed</name>
|
||||
<author>Joomla! Project</author>
|
||||
<creationDate>2005-07</creationDate>
|
||||
<copyright>(C) 2005 Open Source Matters, Inc.</copyright>
|
||||
<license>GNU General Public License version 2 or later; see LICENSE.txt</license>
|
||||
<authorEmail>admin@joomla.org</authorEmail>
|
||||
<authorUrl>www.joomla.org</authorUrl>
|
||||
<version>3.0.0</version>
|
||||
<description>MOD_FEED_XML_DESCRIPTION</description>
|
||||
<namespace path="src">Joomla\Module\Feed</namespace>
|
||||
<files>
|
||||
<filename module="mod_feed">mod_feed.php</filename>
|
||||
<folder>src</folder>
|
||||
<folder>tmpl</folder>
|
||||
</files>
|
||||
<languages>
|
||||
<language tag="en-GB">language/en-GB/mod_feed.ini</language>
|
||||
<language tag="en-GB">language/en-GB/mod_feed.sys.ini</language>
|
||||
</languages>
|
||||
<help key="Admin_Modules:_Feed_Display" />
|
||||
<config>
|
||||
<fields name="params">
|
||||
<fieldset name="basic">
|
||||
<field
|
||||
name="rssurl"
|
||||
type="url"
|
||||
label="MOD_FEED_FIELD_RSSURL_LABEL"
|
||||
filter="url"
|
||||
required="true"
|
||||
validate="url"
|
||||
/>
|
||||
|
||||
<field
|
||||
name="rssrtl"
|
||||
type="radio"
|
||||
label="MOD_FEED_FIELD_RTL_LABEL"
|
||||
layout="joomla.form.field.radio.switcher"
|
||||
default="0"
|
||||
filter="integer"
|
||||
>
|
||||
<option value="0">JNO</option>
|
||||
<option value="1">JYES</option>
|
||||
</field>
|
||||
|
||||
<field
|
||||
name="rssdate"
|
||||
type="radio"
|
||||
label="MOD_FEED_FIELD_DATE_LABEL"
|
||||
layout="joomla.form.field.radio.switcher"
|
||||
default="0"
|
||||
>
|
||||
<option value="1">JYES</option>
|
||||
<option value="0">JNO</option>
|
||||
</field>
|
||||
|
||||
<field
|
||||
name="rssdesc"
|
||||
type="radio"
|
||||
label="MOD_FEED_FIELD_DESCRIPTION_LABEL"
|
||||
layout="joomla.form.field.radio.switcher"
|
||||
default="1"
|
||||
filter="integer"
|
||||
>
|
||||
<option value="0">JHIDE</option>
|
||||
<option value="1">JSHOW</option>
|
||||
</field>
|
||||
|
||||
<field
|
||||
name="rssimage"
|
||||
type="radio"
|
||||
label="MOD_FEED_FIELD_IMAGE_LABEL"
|
||||
layout="joomla.form.field.radio.switcher"
|
||||
default="1"
|
||||
filter="integer"
|
||||
>
|
||||
<option value="0">JHIDE</option>
|
||||
<option value="1">JSHOW</option>
|
||||
</field>
|
||||
|
||||
<field
|
||||
name="rssitems"
|
||||
type="number"
|
||||
label="MOD_FEED_FIELD_ITEMS_LABEL"
|
||||
default="3"
|
||||
filter="integer"
|
||||
min="1"
|
||||
validate="number"
|
||||
/>
|
||||
|
||||
<field
|
||||
name="rssitemdesc"
|
||||
type="radio"
|
||||
label="MOD_FEED_FIELD_ITEMDESCRIPTION_LABEL"
|
||||
layout="joomla.form.field.radio.switcher"
|
||||
default="1"
|
||||
filter="integer"
|
||||
>
|
||||
<option value="0">JHIDE</option>
|
||||
<option value="1">JSHOW</option>
|
||||
</field>
|
||||
|
||||
<field
|
||||
name="rssitemdate"
|
||||
type="radio"
|
||||
label="MOD_FEED_FIELD_ITEMDATE_LABEL"
|
||||
layout="joomla.form.field.radio.switcher"
|
||||
default="0"
|
||||
filter="integer"
|
||||
>
|
||||
<option value="1">JYES</option>
|
||||
<option value="0">JNO</option>
|
||||
</field>
|
||||
|
||||
</fieldset>
|
||||
<fieldset name="advanced">
|
||||
<field
|
||||
name="layout"
|
||||
type="modulelayout"
|
||||
label="JFIELD_ALT_LAYOUT_LABEL"
|
||||
class="form-select"
|
||||
/>
|
||||
|
||||
<field
|
||||
name="moduleclass_sfx"
|
||||
type="textarea"
|
||||
label="COM_MODULES_FIELD_MODULECLASS_SFX_LABEL"
|
||||
rows="3"
|
||||
validate="CssIdentifier"
|
||||
/>
|
||||
|
||||
<field
|
||||
name="cache"
|
||||
type="list"
|
||||
label="COM_MODULES_FIELD_CACHING_LABEL"
|
||||
default="1"
|
||||
filter="integer"
|
||||
validate="options"
|
||||
>
|
||||
<option value="1">JGLOBAL_USE_GLOBAL</option>
|
||||
<option value="0">COM_MODULES_FIELD_VALUE_NOCACHING</option>
|
||||
</field>
|
||||
|
||||
<field
|
||||
name="cache_time"
|
||||
type="number"
|
||||
label="COM_MODULES_FIELD_CACHE_TIME_LABEL"
|
||||
default="900"
|
||||
filter="integer"
|
||||
min="1"
|
||||
validate="number"
|
||||
/>
|
||||
</fieldset>
|
||||
</fields>
|
||||
</config>
|
||||
</extension>
|
||||
55
administrator/modules/mod_feed/src/Helper/FeedHelper.php
Normal file
55
administrator/modules/mod_feed/src/Helper/FeedHelper.php
Normal file
@@ -0,0 +1,55 @@
|
||||
<?php
|
||||
|
||||
/**
|
||||
* @package Joomla.Administrator
|
||||
* @subpackage mod_feed
|
||||
*
|
||||
* @copyright (C) 2006 Open Source Matters, Inc. <https://www.joomla.org>
|
||||
* @license GNU General Public License version 2 or later; see LICENSE.txt
|
||||
*/
|
||||
|
||||
namespace Joomla\Module\Feed\Administrator\Helper;
|
||||
|
||||
use Joomla\CMS\Feed\FeedFactory;
|
||||
use Joomla\CMS\Language\Text;
|
||||
|
||||
// phpcs:disable PSR1.Files.SideEffects
|
||||
\defined('_JEXEC') or die;
|
||||
// phpcs:enable PSR1.Files.SideEffects
|
||||
|
||||
/**
|
||||
* Helper for mod_feed
|
||||
*
|
||||
* @since 1.5
|
||||
*/
|
||||
class FeedHelper
|
||||
{
|
||||
/**
|
||||
* Method to load a feed.
|
||||
*
|
||||
* @param \Joomla\Registry\Registry $params The parameters object.
|
||||
*
|
||||
* @return \Joomla\CMS\Feed\Feed|string Return a JFeedReader object or a string message if error.
|
||||
*
|
||||
* @since 1.5
|
||||
*/
|
||||
public static function getFeed($params)
|
||||
{
|
||||
// Module params
|
||||
$rssurl = $params->get('rssurl', '');
|
||||
|
||||
// Get RSS parsed object
|
||||
try {
|
||||
$feed = new FeedFactory();
|
||||
$rssDoc = $feed->getFeed($rssurl);
|
||||
} catch (\Exception $e) {
|
||||
return Text::_('MOD_FEED_ERR_FEED_NOT_RETRIEVED');
|
||||
}
|
||||
|
||||
if (empty($rssDoc)) {
|
||||
return Text::_('MOD_FEED_ERR_FEED_NOT_RETRIEVED');
|
||||
}
|
||||
|
||||
return $rssDoc;
|
||||
}
|
||||
}
|
||||
118
administrator/modules/mod_feed/tmpl/default.php
Normal file
118
administrator/modules/mod_feed/tmpl/default.php
Normal file
@@ -0,0 +1,118 @@
|
||||
<?php
|
||||
|
||||
/**
|
||||
* @package Joomla.Administrator
|
||||
* @subpackage mod_feed
|
||||
*
|
||||
* @copyright (C) 2006 Open Source Matters, Inc. <https://www.joomla.org>
|
||||
* @license GNU General Public License version 2 or later; see LICENSE.txt
|
||||
*/
|
||||
|
||||
defined('_JEXEC') or die;
|
||||
|
||||
use Joomla\CMS\Filter\OutputFilter;
|
||||
use Joomla\CMS\HTML\HTMLHelper;
|
||||
use Joomla\CMS\Language\Text;
|
||||
|
||||
// Check if feed URL has been set
|
||||
if (empty($rssurl)) {
|
||||
echo '<div>' . Text::_('MOD_FEED_ERR_NO_URL') . '</div>';
|
||||
|
||||
return;
|
||||
}
|
||||
|
||||
if (!empty($feed) && is_string($feed)) {
|
||||
echo $feed;
|
||||
} else {
|
||||
$lang = $app->getLanguage();
|
||||
$myrtl = $params->get('rssrtl', 0);
|
||||
$direction = ' ';
|
||||
|
||||
if ($lang->isRtl() && $myrtl == 0) {
|
||||
$direction = ' redirect-rtl';
|
||||
} elseif ($lang->isRtl() && $myrtl == 1) {
|
||||
// Feed description
|
||||
$direction = ' redirect-ltr';
|
||||
} elseif ($lang->isRtl() && $myrtl == 2) {
|
||||
$direction = ' redirect-rtl';
|
||||
} elseif ($myrtl == 0) {
|
||||
$direction = ' redirect-ltr';
|
||||
} elseif ($myrtl == 1) {
|
||||
$direction = ' redirect-ltr';
|
||||
} elseif ($myrtl == 2) {
|
||||
$direction = ' redirect-rtl';
|
||||
}
|
||||
|
||||
if ($feed != false) :
|
||||
?>
|
||||
<div style="direction: <?php echo $rssrtl ? 'rtl' : 'ltr'; ?>; text-align: <?php echo $rssrtl ? 'right' : 'left'; ?> !important" class="feed">
|
||||
<?php
|
||||
|
||||
// Feed title
|
||||
if (!is_null($feed->title) && $params->get('rsstitle', 1)) : ?>
|
||||
<h2 class="<?php echo $direction; ?>">
|
||||
<a href="<?php echo str_replace('&', '&', $rssurl); ?>" target="_blank">
|
||||
<?php echo $feed->title; ?></a>
|
||||
</h2>
|
||||
<?php endif;
|
||||
// Feed date
|
||||
if ($params->get('rssdate', 1) && ($feed->publishedDate !== null)) : ?>
|
||||
<h3>
|
||||
<?php echo HTMLHelper::_('date', $feed->publishedDate, Text::_('DATE_FORMAT_LC3')); ?>
|
||||
</h3>
|
||||
<?php endif; ?>
|
||||
|
||||
<?php // Feed description ?>
|
||||
<?php if ($params->get('rssdesc', 1)) : ?>
|
||||
<?php echo $feed->description; ?>
|
||||
<?php endif; ?>
|
||||
|
||||
<?php // Feed image ?>
|
||||
<?php if ($params->get('rssimage', 1) && $feed->image) : ?>
|
||||
<img class="w-100" src="<?php echo $feed->image->uri; ?>" alt="<?php echo $feed->image->title; ?>"/>
|
||||
<?php endif; ?>
|
||||
|
||||
|
||||
<?php // Show items ?>
|
||||
<?php if (!empty($feed)) : ?>
|
||||
<ul class="newsfeed list-group">
|
||||
<?php for ($i = 0; $i < $params->get('rssitems', 3); $i++) :
|
||||
if (!$feed->offsetExists($i)) :
|
||||
break;
|
||||
endif;
|
||||
$uri = $feed[$i]->uri || !$feed[$i]->isPermaLink ? trim($feed[$i]->uri) : trim($feed[$i]->guid);
|
||||
$uri = !$uri || stripos($uri, 'http') !== 0 ? $rssurl : $uri;
|
||||
$text = $feed[$i]->content !== '' ? trim($feed[$i]->content) : '';
|
||||
?>
|
||||
<li class="list-group-item mb-2">
|
||||
<?php if (!empty($uri)) : ?>
|
||||
<h5 class="feed-link">
|
||||
<a href="<?php echo $uri; ?>" target="_blank">
|
||||
<?php echo trim($feed[$i]->title); ?></a></h5>
|
||||
<?php else : ?>
|
||||
<h5 class="feed-link"><?php echo trim($feed[$i]->title); ?></h5>
|
||||
<?php endif; ?>
|
||||
|
||||
<?php if ($params->get('rssitemdate', 0) && $feed[$i]->publishedDate !== null) : ?>
|
||||
<div class="feed-item-date">
|
||||
<?php echo HTMLHelper::_('date', $feed[$i]->publishedDate, Text::_('DATE_FORMAT_LC3')); ?>
|
||||
</div>
|
||||
<?php endif; ?>
|
||||
|
||||
<?php if ($params->get('rssitemdesc', 1) && $text !== '') : ?>
|
||||
<div class="feed-item-description">
|
||||
<?php
|
||||
// Strip the images.
|
||||
$text = OutputFilter::stripImages($text);
|
||||
$text = HTMLHelper::_('string.truncate', $text, $params->get('word_count', 0), true, false);
|
||||
echo str_replace(''', "'", $text);
|
||||
?>
|
||||
</div>
|
||||
<?php endif; ?>
|
||||
</li>
|
||||
<?php endfor; ?>
|
||||
</ul>
|
||||
<?php endif; ?>
|
||||
</div>
|
||||
<?php endif;
|
||||
}
|
||||
17
administrator/modules/mod_frontend/mod_frontend.php
Normal file
17
administrator/modules/mod_frontend/mod_frontend.php
Normal file
@@ -0,0 +1,17 @@
|
||||
<?php
|
||||
|
||||
/**
|
||||
* @package Joomla.Administrator
|
||||
* @subpackage mod_frontend
|
||||
*
|
||||
* @copyright (C) 2019 Open Source Matters, Inc. <https://www.joomla.org>
|
||||
* @license GNU General Public License version 2 or later; see LICENSE.txt
|
||||
*/
|
||||
|
||||
defined('_JEXEC') or die;
|
||||
|
||||
use Joomla\CMS\Helper\ModuleHelper;
|
||||
|
||||
$sitename = htmlspecialchars($app->get('sitename', ''), ENT_QUOTES, 'UTF-8');
|
||||
|
||||
require ModuleHelper::getLayoutPath('mod_frontend', $params->get('layout', 'default'));
|
||||
41
administrator/modules/mod_frontend/mod_frontend.xml
Normal file
41
administrator/modules/mod_frontend/mod_frontend.xml
Normal file
@@ -0,0 +1,41 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<extension type="module" client="administrator" method="upgrade">
|
||||
<name>mod_frontend</name>
|
||||
<author>Joomla! Project</author>
|
||||
<creationDate>2019-07</creationDate>
|
||||
<copyright>(C) 2019 Open Source Matters, Inc.</copyright>
|
||||
<license>GNU General Public License version 2 or later; see LICENSE.txt</license>
|
||||
<authorEmail>admin@joomla.org</authorEmail>
|
||||
<authorUrl>www.joomla.org</authorUrl>
|
||||
<version>4.0.0</version>
|
||||
<description>MOD_FRONTEND_XML_DESCRIPTION</description>
|
||||
<files>
|
||||
<filename module="mod_frontend">mod_frontend.php</filename>
|
||||
<folder>tmpl</folder>
|
||||
</files>
|
||||
<languages>
|
||||
<language tag="en-GB">language/en-GB/mod_frontend.ini</language>
|
||||
<language tag="en-GB">language/en-GB/mod_frontend.sys.ini</language>
|
||||
</languages>
|
||||
<help key="Admin_Modules:_Frontend_Link" />
|
||||
<config>
|
||||
<fields name="params">
|
||||
<fieldset name="advanced">
|
||||
<field
|
||||
name="layout"
|
||||
type="modulelayout"
|
||||
label="JFIELD_ALT_LAYOUT_LABEL"
|
||||
class="form-select"
|
||||
/>
|
||||
|
||||
<field
|
||||
name="moduleclass_sfx"
|
||||
type="textarea"
|
||||
label="COM_MODULES_FIELD_MODULECLASS_SFX_LABEL"
|
||||
rows="3"
|
||||
validate="CssIdentifier"
|
||||
/>
|
||||
</fieldset>
|
||||
</fields>
|
||||
</config>
|
||||
</extension>
|
||||
27
administrator/modules/mod_frontend/tmpl/default.php
Normal file
27
administrator/modules/mod_frontend/tmpl/default.php
Normal file
@@ -0,0 +1,27 @@
|
||||
<?php
|
||||
|
||||
/**
|
||||
* @package Joomla.Administrator
|
||||
* @subpackage mod_frontend
|
||||
*
|
||||
* @copyright (C) 2019 Open Source Matters, Inc. <https://www.joomla.org>
|
||||
* @license GNU General Public License version 2 or later; see LICENSE.txt
|
||||
*/
|
||||
|
||||
defined('_JEXEC') or die;
|
||||
|
||||
use Joomla\CMS\HTML\HTMLHelper;
|
||||
use Joomla\CMS\Language\Text;
|
||||
use Joomla\CMS\Uri\Uri;
|
||||
|
||||
?>
|
||||
<a href="<?php echo Uri::root(); ?>" class="header-item-content"
|
||||
title="<?php echo Text::sprintf('MOD_FRONTEND_PREVIEW', $sitename); ?>"
|
||||
target="_blank">
|
||||
<div class="header-item-icon">
|
||||
<span class="icon-external-link-alt" aria-hidden="true"></span>
|
||||
</div>
|
||||
<div class="header-item-text">
|
||||
<?php echo HTMLHelper::_('string.truncate', $sitename, 28, false, false); ?>
|
||||
</div>
|
||||
</a>
|
||||
57
administrator/modules/mod_guidedtours/mod_guidedtours.xml
Normal file
57
administrator/modules/mod_guidedtours/mod_guidedtours.xml
Normal file
@@ -0,0 +1,57 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<extension type="module" client="administrator" method="upgrade">
|
||||
<name>mod_guidedtours</name>
|
||||
<author>Joomla! Project</author>
|
||||
<creationDate>2023-02</creationDate>
|
||||
<copyright>(C) 2023 Open Source Matters, Inc.</copyright>
|
||||
<license>GNU General Public License version 2 or later; see LICENSE.txt</license>
|
||||
<authorEmail>admin@joomla.org</authorEmail>
|
||||
<authorUrl>www.joomla.org</authorUrl>
|
||||
<version>4.3.0</version>
|
||||
<description>MOD_GUIDEDTOURS_XML_DESCRIPTION</description>
|
||||
<namespace path="src">Joomla\Module\GuidedTours</namespace>
|
||||
<files>
|
||||
<folder module="mod_guidedtours">services</folder>
|
||||
<folder>src</folder>
|
||||
<folder>tmpl</folder>
|
||||
</files>
|
||||
<languages>
|
||||
<language tag="en-GB">language/en-GB/mod_guidedtours.ini</language>
|
||||
<language tag="en-GB">language/en-GB/mod_guidedtours.sys.ini</language>
|
||||
</languages>
|
||||
<help key="Admin_Modules:_Tours_Menu" />
|
||||
<config>
|
||||
<fields name="params">
|
||||
<fieldset name="basic">
|
||||
<field
|
||||
name="tourscount"
|
||||
type="number"
|
||||
label="MOD_GUIDEDTOURS_FIELD_TOUR_COUNT_LABEL"
|
||||
description="MOD_GUIDEDTOURS_FIELD_TOUR_COUNT_DESC"
|
||||
default="7"
|
||||
filter="integer"
|
||||
min="0"
|
||||
validate="number"
|
||||
/>
|
||||
</fieldset>
|
||||
|
||||
<fieldset name="advanced">
|
||||
<field
|
||||
name="layout"
|
||||
type="modulelayout"
|
||||
label="JFIELD_ALT_LAYOUT_LABEL"
|
||||
class="form-select"
|
||||
validate="moduleLayout"
|
||||
/>
|
||||
|
||||
<field
|
||||
name="moduleclass_sfx"
|
||||
type="textarea"
|
||||
label="COM_MODULES_FIELD_MODULECLASS_SFX_LABEL"
|
||||
rows="3"
|
||||
validate="CssIdentifier"
|
||||
/>
|
||||
</fieldset>
|
||||
</fields>
|
||||
</config>
|
||||
</extension>
|
||||
41
administrator/modules/mod_guidedtours/services/provider.php
Normal file
41
administrator/modules/mod_guidedtours/services/provider.php
Normal file
@@ -0,0 +1,41 @@
|
||||
<?php
|
||||
|
||||
/**
|
||||
* @package Joomla.Administrator
|
||||
* @subpackage mod_guidedtours
|
||||
*
|
||||
* @copyright (C) 2023 Open Source Matters, Inc. <https://www.joomla.org>
|
||||
* @license GNU General Public License version 2 or later; see LICENSE.txt
|
||||
*/
|
||||
|
||||
defined('_JEXEC') or die;
|
||||
|
||||
use Joomla\CMS\Extension\Service\Provider\HelperFactory;
|
||||
use Joomla\CMS\Extension\Service\Provider\Module;
|
||||
use Joomla\CMS\Extension\Service\Provider\ModuleDispatcherFactory;
|
||||
use Joomla\DI\Container;
|
||||
use Joomla\DI\ServiceProviderInterface;
|
||||
|
||||
/**
|
||||
* The guided tours module service provider.
|
||||
*
|
||||
* @since 4.3.0
|
||||
*/
|
||||
return new class () implements ServiceProviderInterface {
|
||||
/**
|
||||
* Registers the service provider with a DI container.
|
||||
*
|
||||
* @param Container $container The DI container.
|
||||
*
|
||||
* @return void
|
||||
*
|
||||
* @since 4.3.0
|
||||
*/
|
||||
public function register(Container $container)
|
||||
{
|
||||
$container->registerServiceProvider(new ModuleDispatcherFactory('\\Joomla\\Module\\GuidedTours'));
|
||||
$container->registerServiceProvider(new HelperFactory('\\Joomla\\Module\\GuidedTours\\Administrator\\Helper'));
|
||||
|
||||
$container->registerServiceProvider(new Module());
|
||||
}
|
||||
};
|
||||
@@ -0,0 +1,69 @@
|
||||
<?php
|
||||
|
||||
/**
|
||||
* @package Joomla.Administrator
|
||||
* @subpackage mod_guidedtours
|
||||
*
|
||||
* @copyright (C) 2023 Open Source Matters, Inc. <https://www.joomla.org>
|
||||
* @license GNU General Public License version 2 or later; see LICENSE.txt
|
||||
*/
|
||||
|
||||
namespace Joomla\Module\GuidedTours\Administrator\Dispatcher;
|
||||
|
||||
use Joomla\CMS\Dispatcher\AbstractModuleDispatcher;
|
||||
use Joomla\CMS\Helper\HelperFactoryAwareInterface;
|
||||
use Joomla\CMS\Helper\HelperFactoryAwareTrait;
|
||||
use Joomla\CMS\Plugin\PluginHelper;
|
||||
|
||||
// phpcs:disable PSR1.Files.SideEffects
|
||||
\defined('_JEXEC') or die;
|
||||
// phpcs:enable PSR1.Files.SideEffects
|
||||
|
||||
/**
|
||||
* Dispatcher class for mod_guidedtours
|
||||
*
|
||||
* @since 4.3.0
|
||||
*/
|
||||
class Dispatcher extends AbstractModuleDispatcher implements HelperFactoryAwareInterface
|
||||
{
|
||||
use HelperFactoryAwareTrait;
|
||||
|
||||
/**
|
||||
* Runs the dispatcher.
|
||||
*
|
||||
* @return void
|
||||
*
|
||||
* @since 4.3.0
|
||||
*/
|
||||
public function dispatch()
|
||||
{
|
||||
// The guided tour will not show if no user is logged in.
|
||||
$user = $this->getApplication()->getIdentity();
|
||||
if ($user === null || $user->id === 0) {
|
||||
return;
|
||||
}
|
||||
|
||||
// The module can't show if the plugin is not enabled.
|
||||
if (!PluginHelper::isEnabled('system', 'guidedtours')) {
|
||||
return;
|
||||
}
|
||||
|
||||
parent::dispatch();
|
||||
}
|
||||
|
||||
/**
|
||||
* Returns the layout data.
|
||||
*
|
||||
* @return array
|
||||
*
|
||||
* @since 4.3.0
|
||||
*/
|
||||
protected function getLayoutData()
|
||||
{
|
||||
$data = parent::getLayoutData();
|
||||
|
||||
$data['tours'] = $this->getHelperFactory()->getHelper('GuidedToursHelper')->getTours($data['params'], $this->getApplication());
|
||||
|
||||
return $data;
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,73 @@
|
||||
<?php
|
||||
|
||||
/**
|
||||
* @package Joomla.Administrator
|
||||
* @subpackage mod_guidedtours
|
||||
*
|
||||
* @copyright (C) 2023 Open Source Matters, Inc. <https://www.joomla.org>
|
||||
* @license GNU General Public License version 2 or later; see LICENSE.txt
|
||||
*/
|
||||
|
||||
namespace Joomla\Module\GuidedTours\Administrator\Helper;
|
||||
|
||||
use Joomla\CMS\Application\AdministratorApplication;
|
||||
use Joomla\CMS\Language\Multilanguage;
|
||||
use Joomla\Registry\Registry;
|
||||
use Joomla\Uri\Uri;
|
||||
|
||||
// phpcs:disable PSR1.Files.SideEffects
|
||||
\defined('_JEXEC') or die;
|
||||
// phpcs:enable PSR1.Files.SideEffects
|
||||
|
||||
/**
|
||||
* Helper for mod_guidedtours
|
||||
*
|
||||
* @since 4.3.0
|
||||
*/
|
||||
class GuidedToursHelper
|
||||
{
|
||||
/**
|
||||
* Get a list of tours from a specific context.
|
||||
*
|
||||
* @param Registry $params Object holding the module parameters
|
||||
* @param AdministratorApplication $app The application
|
||||
*
|
||||
* @return mixed
|
||||
*
|
||||
* @since 4.3.0
|
||||
*/
|
||||
public function getTours(Registry $params, AdministratorApplication $app)
|
||||
{
|
||||
$factory = $app->bootComponent('com_guidedtours')->getMVCFactory();
|
||||
|
||||
$user = $app->getIdentity();
|
||||
|
||||
// Get an instance of the guided tour model
|
||||
$tourModel = $factory->createModel('Tours', 'Administrator', ['ignore_request' => true]);
|
||||
|
||||
$tourModel->setState('filter.published', 1);
|
||||
$tourModel->setState('filter.access', $app->getIdentity()->getAuthorisedViewLevels());
|
||||
|
||||
if (Multilanguage::isEnabled()) {
|
||||
$tourModel->setState('filter.language', ['*', $app->getLanguage()->getTag()]);
|
||||
}
|
||||
|
||||
$items = $tourModel->getItems();
|
||||
|
||||
foreach ($items as $key => $item) {
|
||||
// The user can only see the tours of extensions that are allowed.
|
||||
$uri = new Uri($item->url);
|
||||
|
||||
if ($extension = $uri->getVar('option')) {
|
||||
if ($extension === 'com_categories') {
|
||||
$extension = $uri->getVar('extension');
|
||||
}
|
||||
if (!$user->authorise('core.manage', $extension)) {
|
||||
unset($items[$key]);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
return $items;
|
||||
}
|
||||
}
|
||||
142
administrator/modules/mod_guidedtours/tmpl/default.php
Normal file
142
administrator/modules/mod_guidedtours/tmpl/default.php
Normal file
@@ -0,0 +1,142 @@
|
||||
<?php
|
||||
|
||||
/**
|
||||
* @package Joomla.Administrator
|
||||
* @subpackage mod_guidedtours
|
||||
*
|
||||
* @copyright (C) 2023 Open Source Matters, Inc. <https://www.joomla.org>
|
||||
* @license GNU General Public License version 2 or later; see LICENSE.txt
|
||||
*/
|
||||
|
||||
defined('_JEXEC') or die;
|
||||
|
||||
use Joomla\CMS\HTML\HTMLHelper;
|
||||
use Joomla\CMS\Language\Text;
|
||||
use Joomla\CMS\Uri\Uri;
|
||||
|
||||
$hideLinks = $app->getInput()->getBool('hidemainmenu');
|
||||
|
||||
if ($hideLinks || !$tours) {
|
||||
return;
|
||||
}
|
||||
|
||||
// Load the Bootstrap Dropdown
|
||||
$app->getDocument()
|
||||
->getWebAssetManager()
|
||||
->useScript('bootstrap.dropdown');
|
||||
|
||||
$lang = $app->getLanguage();
|
||||
$extension = $app->getInput()->get('option');
|
||||
$listTours = [];
|
||||
$allTours = [];
|
||||
$toursCount = $params->get('tourscount', 7);
|
||||
|
||||
foreach ($tours as $tour) :
|
||||
if ($toursCount > 0 && count(array_intersect(['*', $extension], $tour->extensions))) :
|
||||
$listTours[] = $tour;
|
||||
$toursCount--;
|
||||
endif;
|
||||
|
||||
$uri = new Uri($tour->url);
|
||||
|
||||
// We assume the url is the starting point
|
||||
$key = $uri->getVar('option') ?? Text::_('MOD_GUIDEDTOURS_GENERIC_TOUR');
|
||||
|
||||
if (!isset($allTours[$key])) :
|
||||
$lang->load("$key.sys", JPATH_ADMINISTRATOR)
|
||||
|| $lang->load("$key.sys", JPATH_ADMINISTRATOR . '/components/' . $key);
|
||||
|
||||
$allTours[$key] = [];
|
||||
endif;
|
||||
|
||||
$allTours[$key][] = $tour;
|
||||
endforeach;
|
||||
|
||||
?>
|
||||
<div class="header-item-content dropdown header-tours d-none d-sm-block">
|
||||
<button class="dropdown-toggle d-flex align-items-center ps-0 py-0" data-bs-toggle="dropdown" type="button" title="<?php echo Text::_('MOD_GUIDEDTOURS_MENU'); ?>">
|
||||
<div class="header-item-icon">
|
||||
<span class="icon-map-signs" aria-hidden="true"></span>
|
||||
</div>
|
||||
<div class="header-item-text">
|
||||
<?php echo Text::_('MOD_GUIDEDTOURS_MENU'); ?>
|
||||
</div>
|
||||
<span class="icon-angle-down" aria-hidden="true"></span>
|
||||
</button>
|
||||
<div class="dropdown-menu dropdown-menu-end">
|
||||
<?php foreach ($listTours as $tour) : ?>
|
||||
<button type="button" class="button-start-guidedtour dropdown-item" data-id="<?php echo $tour->id ?>">
|
||||
<span class="icon-map-signs" aria-hidden="true"></span>
|
||||
<?php echo $tour->title; ?>
|
||||
</button>
|
||||
<?php endforeach; ?>
|
||||
<button type="button" class="dropdown-item text-center" data-bs-toggle="modal" data-bs-target="#modGuidedTours-modal">
|
||||
<?php echo Text::_('MOD_GUIDEDTOURS_SHOW_ALL'); ?>
|
||||
</button>
|
||||
</div>
|
||||
</div>
|
||||
<?php
|
||||
|
||||
$modalParams = [
|
||||
'title' => Text::_('MOD_GUIDEDTOURS_START_TOUR'),
|
||||
'footer' => '<button type="button" class="btn btn-secondary" data-bs-dismiss="modal">'
|
||||
. Text::_('JLIB_HTML_BEHAVIOR_CLOSE') . '</button>',
|
||||
];
|
||||
|
||||
$modalHtml = [];
|
||||
$modalHtml[] = '<div class="p-3">';
|
||||
$modalHtml[] = '<div class="row">';
|
||||
foreach ($allTours as $extension => $tours) :
|
||||
$modalHtml[] = '<div class="col-lg-6">';
|
||||
$modalHtml[] = '<h4>' . Text::_($extension) . '</h4>';
|
||||
$modalHtml[] = '<ul class="list-unstyled">';
|
||||
foreach ($tours as $tour) :
|
||||
$modalHtml[] = '<li>';
|
||||
$modalHtml[] = '<a href="#" role="button" class="button-start-guidedtour" data-id="' . (int) $tour->id . '">' . htmlentities($tour->title) . '</a>';
|
||||
$modalHtml[] = '</li>';
|
||||
endforeach;
|
||||
$modalHtml[] = '</ul>';
|
||||
$modalHtml[] = '</div>';
|
||||
endforeach;
|
||||
$modalHtml[] = '</div>';
|
||||
$modalHtml[] = '</div>';
|
||||
|
||||
$modalBody = implode($modalHtml);
|
||||
|
||||
$modalCode = HTMLHelper::_('bootstrap.renderModal', 'modGuidedTours-modal', $modalParams, $modalBody);
|
||||
|
||||
// We have to attach the modal to the body, otherwise we have problems with the backdrop
|
||||
$app->getDocument()->getWebAssetManager()->addInlineScript("
|
||||
document.addEventListener('DOMContentLoaded', function() {
|
||||
document.body.insertAdjacentHTML('beforeend', " . json_encode($modalCode) . ");
|
||||
const modal = document.getElementById('modGuidedTours-modal');
|
||||
|
||||
// add all the elements inside modal which you want to make focusable
|
||||
const focusableElements = 'button, [href]';
|
||||
const firstFocusableElement = modal.querySelectorAll(focusableElements)[0]; // get first element to be focused inside modal
|
||||
const focusableContent = modal.querySelectorAll(focusableElements);
|
||||
const lastFocusableElement = focusableContent[focusableContent.length - 1]; // get last element to be focused inside modal
|
||||
|
||||
document.addEventListener('keydown', function(e) {
|
||||
let isTabPressed = e.key === 'Tab' || e.keyCode === 9;
|
||||
|
||||
if (!isTabPressed) {
|
||||
return;
|
||||
}
|
||||
|
||||
if (e.shiftKey) { // if shift key pressed for shift + tab combination
|
||||
if (document.activeElement === firstFocusableElement) {
|
||||
lastFocusableElement.focus(); // add focus for the last focusable element
|
||||
e.preventDefault();
|
||||
}
|
||||
} else { // if tab key is pressed
|
||||
if (document.activeElement === lastFocusableElement) { // if focused has reached to last focusable element then focus first focusable element after pressing tab
|
||||
firstFocusableElement.focus(); // add focus for the first focusable element
|
||||
e.preventDefault();
|
||||
}
|
||||
}
|
||||
});
|
||||
|
||||
firstFocusableElement.focus();
|
||||
});
|
||||
");
|
||||
39
administrator/modules/mod_latest/mod_latest.php
Normal file
39
administrator/modules/mod_latest/mod_latest.php
Normal file
@@ -0,0 +1,39 @@
|
||||
<?php
|
||||
|
||||
/**
|
||||
* @package Joomla.Administrator
|
||||
* @subpackage mod_latest
|
||||
*
|
||||
* @copyright (C) 2005 Open Source Matters, Inc. <https://www.joomla.org>
|
||||
* @license GNU General Public License version 2 or later; see LICENSE.txt
|
||||
*/
|
||||
|
||||
defined('_JEXEC') or die;
|
||||
|
||||
use Joomla\CMS\Component\ComponentHelper;
|
||||
use Joomla\CMS\Helper\ModuleHelper;
|
||||
use Joomla\CMS\Layout\LayoutHelper;
|
||||
use Joomla\Module\Latest\Administrator\Helper\LatestHelper;
|
||||
|
||||
$model = $app->bootComponent('com_content')->getMVCFactory()->createModel('Articles', 'Administrator', ['ignore_request' => true]);
|
||||
$list = LatestHelper::getList($params, $model);
|
||||
$workflow_enabled = ComponentHelper::getParams('com_content')->get('workflow_enabled');
|
||||
|
||||
if ($workflow_enabled) {
|
||||
$app->getLanguage()->load('com_workflow');
|
||||
}
|
||||
|
||||
if ($params->get('automatic_title', 0)) {
|
||||
$module->title = LatestHelper::getTitle($params);
|
||||
}
|
||||
|
||||
if (count($list)) {
|
||||
require ModuleHelper::getLayoutPath('mod_latest', $params->get('layout', 'default'));
|
||||
} else {
|
||||
$app->getLanguage()->load('com_content');
|
||||
|
||||
echo LayoutHelper::render('joomla.content.emptystate_module', [
|
||||
'textPrefix' => 'COM_CONTENT',
|
||||
'icon' => 'icon-copy',
|
||||
]);
|
||||
}
|
||||
101
administrator/modules/mod_latest/mod_latest.xml
Normal file
101
administrator/modules/mod_latest/mod_latest.xml
Normal file
@@ -0,0 +1,101 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<extension type="module" client="administrator" method="upgrade">
|
||||
<name>mod_latest</name>
|
||||
<author>Joomla! Project</author>
|
||||
<creationDate>2004-07</creationDate>
|
||||
<copyright>(C) 2005 Open Source Matters, Inc.</copyright>
|
||||
<license>GNU General Public License version 2 or later; see LICENSE.txt</license>
|
||||
<authorEmail>admin@joomla.org</authorEmail>
|
||||
<authorUrl>www.joomla.org</authorUrl>
|
||||
<version>3.0.0</version>
|
||||
<description>MOD_LATEST_XML_DESCRIPTION</description>
|
||||
<namespace path="src">Joomla\Module\Latest</namespace>
|
||||
<files>
|
||||
<filename module="mod_latest">mod_latest.php</filename>
|
||||
<folder>src</folder>
|
||||
<folder>tmpl</folder>
|
||||
</files>
|
||||
<languages>
|
||||
<language tag="en-GB">language/en-GB/mod_latest.ini</language>
|
||||
<language tag="en-GB">language/en-GB/mod_latest.sys.ini</language>
|
||||
</languages>
|
||||
<help key="Admin_Modules:_Articles_-_Latest" />
|
||||
<config>
|
||||
<fields name="params">
|
||||
<fieldset name="basic">
|
||||
<field
|
||||
name="count"
|
||||
type="number"
|
||||
label="MOD_LATEST_FIELD_COUNT_LABEL"
|
||||
default="5"
|
||||
filter="integer"
|
||||
min="1"
|
||||
validate="number"
|
||||
/>
|
||||
|
||||
<field
|
||||
name="ordering"
|
||||
type="list"
|
||||
label="MOD_LATEST_FIELD_ORDERING_LABEL"
|
||||
default="c_dsc"
|
||||
validate="options"
|
||||
>
|
||||
<option value="c_dsc">MOD_LATEST_FIELD_VALUE_ORDERING_ADDED</option>
|
||||
<option value="m_dsc">MOD_LATEST_FIELD_VALUE_ORDERING_MODIFIED</option>
|
||||
</field>
|
||||
|
||||
<field
|
||||
name="catid"
|
||||
type="category"
|
||||
label="JCATEGORY"
|
||||
extension="com_content"
|
||||
default=""
|
||||
filter="integer"
|
||||
>
|
||||
<option value="">JOPTION_ANY_CATEGORY</option>
|
||||
</field>
|
||||
|
||||
<field
|
||||
name="user_id"
|
||||
type="list"
|
||||
label="MOD_LATEST_FIELD_AUTHORS_LABEL"
|
||||
default="0"
|
||||
validate="options"
|
||||
>
|
||||
<option value="0">MOD_LATEST_FIELD_VALUE_AUTHORS_ANYONE</option>
|
||||
<option value="by_me">MOD_LATEST_FIELD_VALUE_AUTHORS_BY_ME</option>
|
||||
<option value="not_me">MOD_LATEST_FIELD_VALUE_AUTHORS_NOT_BY_ME</option>
|
||||
</field>
|
||||
</fieldset>
|
||||
<fieldset name="advanced">
|
||||
<field
|
||||
name="layout"
|
||||
type="modulelayout"
|
||||
label="JFIELD_ALT_LAYOUT_LABEL"
|
||||
class="form-select"
|
||||
validate="moduleLayout"
|
||||
/>
|
||||
|
||||
<field
|
||||
name="moduleclass_sfx"
|
||||
type="textarea"
|
||||
label="COM_MODULES_FIELD_MODULECLASS_SFX_LABEL"
|
||||
rows="3"
|
||||
validate="CssIdentifier"
|
||||
/>
|
||||
|
||||
<field
|
||||
name="automatic_title"
|
||||
type="radio"
|
||||
label="COM_MODULES_FIELD_AUTOMATIC_TITLE_LABEL"
|
||||
layout="joomla.form.field.radio.switcher"
|
||||
default="0"
|
||||
filter="integer"
|
||||
>
|
||||
<option value="0">JNO</option>
|
||||
<option value="1">JYES</option>
|
||||
</field>
|
||||
</fieldset>
|
||||
</fields>
|
||||
</config>
|
||||
</extension>
|
||||
136
administrator/modules/mod_latest/src/Helper/LatestHelper.php
Normal file
136
administrator/modules/mod_latest/src/Helper/LatestHelper.php
Normal file
@@ -0,0 +1,136 @@
|
||||
<?php
|
||||
|
||||
/**
|
||||
* @package Joomla.Administrator
|
||||
* @subpackage mod_latest
|
||||
*
|
||||
* @copyright (C) 2010 Open Source Matters, Inc. <https://www.joomla.org>
|
||||
* @license GNU General Public License version 2 or later; see LICENSE.txt
|
||||
*/
|
||||
|
||||
namespace Joomla\Module\Latest\Administrator\Helper;
|
||||
|
||||
use Joomla\CMS\Categories\Categories;
|
||||
use Joomla\CMS\Factory;
|
||||
use Joomla\CMS\Language\Text;
|
||||
use Joomla\CMS\Router\Route;
|
||||
use Joomla\Component\Content\Administrator\Model\ArticlesModel;
|
||||
use Joomla\Registry\Registry;
|
||||
|
||||
// phpcs:disable PSR1.Files.SideEffects
|
||||
\defined('_JEXEC') or die;
|
||||
// phpcs:enable PSR1.Files.SideEffects
|
||||
|
||||
/**
|
||||
* Helper for mod_latest
|
||||
*
|
||||
* @since 1.5
|
||||
*/
|
||||
abstract class LatestHelper
|
||||
{
|
||||
/**
|
||||
* Get a list of articles.
|
||||
*
|
||||
* @param Registry &$params The module parameters.
|
||||
* @param ArticlesModel $model The model.
|
||||
*
|
||||
* @return mixed An array of articles, or false on error.
|
||||
*/
|
||||
public static function getList(Registry &$params, ArticlesModel $model)
|
||||
{
|
||||
$user = Factory::getUser();
|
||||
|
||||
// Set List SELECT
|
||||
$model->setState('list.select', 'a.id, a.title, a.checked_out, a.checked_out_time, ' .
|
||||
' a.access, a.created, a.created_by, a.created_by_alias, a.featured, a.state, a.publish_up, a.publish_down');
|
||||
|
||||
// Set Ordering filter
|
||||
switch ($params->get('ordering', 'c_dsc')) {
|
||||
case 'm_dsc':
|
||||
$model->setState('list.ordering', 'a.modified DESC, a.created');
|
||||
$model->setState('list.direction', 'DESC');
|
||||
break;
|
||||
|
||||
case 'c_dsc':
|
||||
default:
|
||||
$model->setState('list.ordering', 'a.created');
|
||||
$model->setState('list.direction', 'DESC');
|
||||
break;
|
||||
}
|
||||
|
||||
// Set Category Filter
|
||||
$categoryId = $params->get('catid', null);
|
||||
|
||||
if (is_numeric($categoryId)) {
|
||||
$model->setState('filter.category_id', $categoryId);
|
||||
}
|
||||
|
||||
// Set User Filter.
|
||||
$userId = $user->get('id');
|
||||
|
||||
switch ($params->get('user_id', '0')) {
|
||||
case 'by_me':
|
||||
$model->setState('filter.author_id', $userId);
|
||||
break;
|
||||
|
||||
case 'not_me':
|
||||
$model->setState('filter.author_id', $userId);
|
||||
$model->setState('filter.author_id.include', false);
|
||||
break;
|
||||
}
|
||||
|
||||
// Set the Start and Limit
|
||||
$model->setState('list.start', 0);
|
||||
$model->setState('list.limit', $params->get('count', 5));
|
||||
|
||||
$items = $model->getItems();
|
||||
|
||||
if ($error = $model->getError()) {
|
||||
throw new \Exception($error, 500);
|
||||
}
|
||||
|
||||
// Set the links
|
||||
foreach ($items as &$item) {
|
||||
$item->link = '';
|
||||
|
||||
if (
|
||||
$user->authorise('core.edit', 'com_content.article.' . $item->id)
|
||||
|| ($user->authorise('core.edit.own', 'com_content.article.' . $item->id) && ($userId === $item->created_by))
|
||||
) {
|
||||
$item->link = Route::_('index.php?option=com_content&task=article.edit&id=' . $item->id);
|
||||
}
|
||||
}
|
||||
|
||||
return $items;
|
||||
}
|
||||
|
||||
/**
|
||||
* Get the alternate title for the module.
|
||||
*
|
||||
* @param \Joomla\Registry\Registry $params The module parameters.
|
||||
*
|
||||
* @return string The alternate title for the module.
|
||||
*/
|
||||
public static function getTitle($params)
|
||||
{
|
||||
$who = $params->get('user_id', 0);
|
||||
$catid = (int) $params->get('catid', null);
|
||||
$type = $params->get('ordering') === 'c_dsc' ? '_CREATED' : '_MODIFIED';
|
||||
$title = '';
|
||||
|
||||
if ($catid) {
|
||||
$category = Categories::getInstance('Content')->get($catid);
|
||||
$title = Text::_('MOD_POPULAR_UNEXISTING');
|
||||
|
||||
if ($category) {
|
||||
$title = $category->title;
|
||||
}
|
||||
}
|
||||
|
||||
return Text::plural(
|
||||
'MOD_LATEST_TITLE' . $type . ($catid ? '_CATEGORY' : '') . ($who != '0' ? "_$who" : ''),
|
||||
(int) $params->get('count', 5),
|
||||
$title
|
||||
);
|
||||
}
|
||||
}
|
||||
68
administrator/modules/mod_latest/tmpl/default.php
Normal file
68
administrator/modules/mod_latest/tmpl/default.php
Normal file
@@ -0,0 +1,68 @@
|
||||
<?php
|
||||
|
||||
/**
|
||||
* @package Joomla.Administrator
|
||||
* @subpackage mod_latest
|
||||
*
|
||||
* @copyright (C) 2010 Open Source Matters, Inc. <https://www.joomla.org>
|
||||
* @license GNU General Public License version 2 or later; see LICENSE.txt
|
||||
*/
|
||||
|
||||
defined('_JEXEC') or die;
|
||||
|
||||
use Joomla\CMS\HTML\HTMLHelper;
|
||||
use Joomla\CMS\Language\Text;
|
||||
|
||||
$moduleId = str_replace(' ', '', $module->title) . $module->id;
|
||||
|
||||
?>
|
||||
<table class="table" id="<?php echo $moduleId; ?>">
|
||||
<caption class="visually-hidden"><?php echo $module->title; ?></caption>
|
||||
<thead>
|
||||
<tr>
|
||||
<th scope="col"><?php echo Text::_('JGLOBAL_TITLE'); ?></th>
|
||||
<?php if ($workflow_enabled) : ?>
|
||||
<th scope="col" class="w-20"><?php echo Text::_('JSTAGE'); ?></th>
|
||||
<?php endif; ?>
|
||||
<th scope="col" class="w-20"><?php echo Text::_('JAUTHOR'); ?></th>
|
||||
<th scope="col" class="w-20"><?php echo Text::_('JDATE'); ?></th>
|
||||
</tr>
|
||||
</thead>
|
||||
<tbody>
|
||||
<?php if (count($list)) : ?>
|
||||
<?php foreach ($list as $i => $item) : ?>
|
||||
<tr>
|
||||
<th scope="row">
|
||||
<?php if ($item->checked_out) : ?>
|
||||
<?php echo HTMLHelper::_('jgrid.checkedout', $moduleId . $i, $item->editor, $item->checked_out_time, $module->id); ?>
|
||||
<?php endif; ?>
|
||||
<?php if ($item->link) : ?>
|
||||
<a href="<?php echo $item->link; ?>" title="<?php echo Text::_('JACTION_EDIT'); ?> <?php echo htmlspecialchars($item->title, ENT_QUOTES, 'UTF-8'); ?>">
|
||||
<?php echo htmlspecialchars($item->title, ENT_QUOTES, 'UTF-8'); ?>
|
||||
</a>
|
||||
<?php else : ?>
|
||||
<?php echo htmlspecialchars($item->title, ENT_QUOTES, 'UTF-8'); ?>
|
||||
<?php endif; ?>
|
||||
</th>
|
||||
<?php if ($workflow_enabled) : ?>
|
||||
<td>
|
||||
<?php echo Text::_($item->stage_title); ?>
|
||||
</td>
|
||||
<?php endif; ?>
|
||||
<td>
|
||||
<?php echo $item->author_name; ?>
|
||||
</td>
|
||||
<td>
|
||||
<?php echo HTMLHelper::_('date', $item->created, Text::_('DATE_FORMAT_LC4')); ?>
|
||||
</td>
|
||||
</tr>
|
||||
<?php endforeach; ?>
|
||||
<?php else : ?>
|
||||
<tr>
|
||||
<td colspan="3">
|
||||
<?php echo Text::_('MOD_LATEST_NO_MATCHING_RESULTS'); ?>
|
||||
</td>
|
||||
</tr>
|
||||
<?php endif; ?>
|
||||
</tbody>
|
||||
</table>
|
||||
@@ -0,0 +1,27 @@
|
||||
<?php
|
||||
|
||||
/**
|
||||
* @package Joomla.Administrator
|
||||
* @subpackage mod_latestactions
|
||||
*
|
||||
* @copyright (C) 2018 Open Source Matters, Inc. <https://www.joomla.org>
|
||||
* @license GNU General Public License version 2 or later; see LICENSE.txt
|
||||
*/
|
||||
|
||||
defined('_JEXEC') or die;
|
||||
|
||||
use Joomla\CMS\Helper\ModuleHelper;
|
||||
use Joomla\Module\LatestActions\Administrator\Helper\LatestActionsHelper;
|
||||
|
||||
// Only super user can view this data
|
||||
if (!$app->getIdentity()->authorise('core.admin')) {
|
||||
return;
|
||||
}
|
||||
|
||||
$list = LatestActionsHelper::getList($params);
|
||||
|
||||
if ($params->get('automatic_title', 0)) {
|
||||
$module->title = LatestActionsHelper::getTitle($params);
|
||||
}
|
||||
|
||||
require ModuleHelper::getLayoutPath('mod_latestactions', $params->get('layout', 'default'));
|
||||
@@ -0,0 +1,97 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<extension type="module" client="administrator" method="upgrade">
|
||||
<name>mod_latestactions</name>
|
||||
<author>Joomla! Project</author>
|
||||
<creationDate>2018-05</creationDate>
|
||||
<copyright>(C) 2018 Open Source Matters, Inc.</copyright>
|
||||
<license>GNU General Public License version 2 or later; see LICENSE.txt</license>
|
||||
<authorEmail>admin@joomla.org</authorEmail>
|
||||
<authorUrl>www.joomla.org</authorUrl>
|
||||
<version>3.9.0</version>
|
||||
<description>MOD_LATESTACTIONS_XML_DESCRIPTION</description>
|
||||
<namespace path="src">Joomla\Module\LatestActions</namespace>
|
||||
<files>
|
||||
<filename module="mod_latestactions">mod_latestactions.php</filename>
|
||||
<folder>src</folder>
|
||||
<folder>tmpl</folder>
|
||||
</files>
|
||||
<languages>
|
||||
<language tag="en-GB">language/en-GB/mod_latestactions.ini</language>
|
||||
<language tag="en-GB">language/en-GB/mod_latestactions.sys.ini</language>
|
||||
</languages>
|
||||
<help key="Admin_Modules:_Action_Logs_-_Latest" />
|
||||
<config>
|
||||
<fields name="params">
|
||||
<fieldset name="basic">
|
||||
<field
|
||||
name="count"
|
||||
type="number"
|
||||
label="MOD_LATESTACTIONS_FIELD_COUNT_LABEL"
|
||||
default="5"
|
||||
filter="integer"
|
||||
min="1"
|
||||
validate="number"
|
||||
/>
|
||||
</fieldset>
|
||||
<fieldset name="advanced">
|
||||
<field
|
||||
name="layout"
|
||||
type="modulelayout"
|
||||
label="JFIELD_ALT_LAYOUT_LABEL"
|
||||
class="form-select"
|
||||
validate="moduleLayout"
|
||||
/>
|
||||
|
||||
<field
|
||||
name="moduleclass_sfx"
|
||||
type="textarea"
|
||||
label="COM_MODULES_FIELD_MODULECLASS_SFX_LABEL"
|
||||
rows="3"
|
||||
validate="CssIdentifier"
|
||||
/>
|
||||
|
||||
<field
|
||||
name="automatic_title"
|
||||
type="radio"
|
||||
label="COM_MODULES_FIELD_AUTOMATIC_TITLE_LABEL"
|
||||
layout="joomla.form.field.radio.switcher"
|
||||
default="0"
|
||||
filter="integer"
|
||||
>
|
||||
<option value="0">JNO</option>
|
||||
<option value="1">JYES</option>
|
||||
</field>
|
||||
|
||||
<field
|
||||
name="cache"
|
||||
type="list"
|
||||
label="COM_MODULES_FIELD_CACHING_LABEL"
|
||||
default="1"
|
||||
filter="integer"
|
||||
validate="options"
|
||||
>
|
||||
<option value="1">JGLOBAL_USE_GLOBAL</option>
|
||||
<option value="0">COM_MODULES_FIELD_VALUE_NOCACHING</option>
|
||||
</field>
|
||||
|
||||
<field
|
||||
name="cache_time"
|
||||
type="number"
|
||||
label="COM_MODULES_FIELD_CACHE_TIME_LABEL"
|
||||
default="900"
|
||||
filter="integer"
|
||||
min="1"
|
||||
validate="number"
|
||||
/>
|
||||
|
||||
<field
|
||||
name="cachemode"
|
||||
type="hidden"
|
||||
default="static"
|
||||
>
|
||||
<option value="static"></option>
|
||||
</field>
|
||||
</fieldset>
|
||||
</fields>
|
||||
</config>
|
||||
</extension>
|
||||
@@ -0,0 +1,77 @@
|
||||
<?php
|
||||
|
||||
/**
|
||||
* @package Joomla.Administrator
|
||||
* @subpackage mod_latestactions
|
||||
*
|
||||
* @copyright (C) 2018 Open Source Matters, Inc. <https://www.joomla.org>
|
||||
* @license GNU General Public License version 2 or later; see LICENSE.txt
|
||||
*/
|
||||
|
||||
namespace Joomla\Module\LatestActions\Administrator\Helper;
|
||||
|
||||
use Joomla\CMS\Factory;
|
||||
use Joomla\CMS\Language\Text;
|
||||
use Joomla\Component\Actionlogs\Administrator\Helper\ActionlogsHelper;
|
||||
use Joomla\Registry\Registry;
|
||||
|
||||
// phpcs:disable PSR1.Files.SideEffects
|
||||
\defined('_JEXEC') or die;
|
||||
// phpcs:enable PSR1.Files.SideEffects
|
||||
|
||||
/**
|
||||
* Helper for mod_latestactions
|
||||
*
|
||||
* @since 3.9.0
|
||||
*/
|
||||
abstract class LatestActionsHelper
|
||||
{
|
||||
/**
|
||||
* Get a list of logged actions.
|
||||
*
|
||||
* @param Registry &$params The module parameters.
|
||||
*
|
||||
* @return mixed An array of action logs, or false on error.
|
||||
*
|
||||
* @since 3.9.1
|
||||
*
|
||||
* @throws \Exception
|
||||
*/
|
||||
public static function getList(&$params)
|
||||
{
|
||||
/** @var \Joomla\Component\Actionlogs\Administrator\Model\ActionlogsModel $model */
|
||||
$model = Factory::getApplication()->bootComponent('com_actionlogs')->getMVCFactory()
|
||||
->createModel('Actionlogs', 'Administrator', ['ignore_request' => true]);
|
||||
|
||||
// Set the Start and Limit
|
||||
$model->setState('list.start', 0);
|
||||
$model->setState('list.limit', $params->get('count', 5));
|
||||
$model->setState('list.ordering', 'a.id');
|
||||
$model->setState('list.direction', 'DESC');
|
||||
|
||||
$rows = $model->getItems();
|
||||
|
||||
// Load all actionlog plugins language files
|
||||
ActionlogsHelper::loadActionLogPluginsLanguage();
|
||||
|
||||
foreach ($rows as $row) {
|
||||
$row->message = ActionlogsHelper::getHumanReadableLogMessage($row);
|
||||
}
|
||||
|
||||
return $rows;
|
||||
}
|
||||
|
||||
/**
|
||||
* Get the alternate title for the module
|
||||
*
|
||||
* @param Registry $params The module parameters.
|
||||
*
|
||||
* @return string The alternate title for the module.
|
||||
*
|
||||
* @since 3.9.1
|
||||
*/
|
||||
public static function getTitle($params)
|
||||
{
|
||||
return Text::plural('MOD_LATESTACTIONS_TITLE', $params->get('count', 5));
|
||||
}
|
||||
}
|
||||
45
administrator/modules/mod_latestactions/tmpl/default.php
Normal file
45
administrator/modules/mod_latestactions/tmpl/default.php
Normal file
@@ -0,0 +1,45 @@
|
||||
<?php
|
||||
|
||||
/**
|
||||
* @package Joomla.Administrator
|
||||
* @subpackage mod_latestactions
|
||||
*
|
||||
* @copyright (C) 2018 Open Source Matters, Inc. <https://www.joomla.org>
|
||||
* @license GNU General Public License version 2 or later; see LICENSE.txt
|
||||
*/
|
||||
|
||||
defined('_JEXEC') or die;
|
||||
|
||||
use Joomla\CMS\HTML\HTMLHelper;
|
||||
use Joomla\CMS\Language\Text;
|
||||
|
||||
?>
|
||||
<table class="table" id="<?php echo str_replace(' ', '', $module->title) . $module->id; ?>">
|
||||
<caption class="visually-hidden"><?php echo $module->title; ?></caption>
|
||||
<thead>
|
||||
<tr>
|
||||
<th scope="col" class="w-70"><?php echo Text::_('MOD_LATESTACTIONS_ACTION'); ?></th>
|
||||
<th scope="col" class="w-30"><?php echo Text::_('JDATE'); ?></th>
|
||||
</tr>
|
||||
</thead>
|
||||
<tbody>
|
||||
<?php if (count($list)) : ?>
|
||||
<?php foreach ($list as $i => $item) : ?>
|
||||
<tr>
|
||||
<td>
|
||||
<?php echo $item->message; ?>
|
||||
</td>
|
||||
<td>
|
||||
<?php echo HTMLHelper::_('date.relative', $item->log_date); ?>
|
||||
</td>
|
||||
</tr>
|
||||
<?php endforeach; ?>
|
||||
<?php else : ?>
|
||||
<tr>
|
||||
<td colspan="2">
|
||||
<?php echo Text::_('MOD_LATESTACTIONS_NO_MATCHING_RESULTS'); ?>
|
||||
</td>
|
||||
</tr>
|
||||
<?php endif; ?>
|
||||
</tbody>
|
||||
</table>
|
||||
29
administrator/modules/mod_logged/mod_logged.php
Normal file
29
administrator/modules/mod_logged/mod_logged.php
Normal file
@@ -0,0 +1,29 @@
|
||||
<?php
|
||||
|
||||
/**
|
||||
* @package Joomla.Administrator
|
||||
* @subpackage mod_logged
|
||||
*
|
||||
* @copyright (C) 2005 Open Source Matters, Inc. <https://www.joomla.org>
|
||||
* @license GNU General Public License version 2 or later; see LICENSE.txt
|
||||
*/
|
||||
|
||||
defined('_JEXEC') or die;
|
||||
|
||||
use Joomla\CMS\Factory;
|
||||
use Joomla\CMS\Helper\ModuleHelper;
|
||||
use Joomla\Database\DatabaseInterface;
|
||||
use Joomla\Module\Logged\Administrator\Helper\LoggedHelper;
|
||||
|
||||
if ($params->get('automatic_title', 0)) {
|
||||
$module->title = LoggedHelper::getTitle($params);
|
||||
}
|
||||
|
||||
// Check if session metadata tracking is enabled
|
||||
if ($app->get('session_metadata', true)) {
|
||||
$users = LoggedHelper::getList($params, $app, Factory::getContainer()->get(DatabaseInterface::class));
|
||||
|
||||
require ModuleHelper::getLayoutPath('mod_logged', $params->get('layout', 'default'));
|
||||
} else {
|
||||
require ModuleHelper::getLayoutPath('mod_logged', 'disabled');
|
||||
}
|
||||
79
administrator/modules/mod_logged/mod_logged.xml
Normal file
79
administrator/modules/mod_logged/mod_logged.xml
Normal file
@@ -0,0 +1,79 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<extension type="module" client="administrator" method="upgrade">
|
||||
<name>mod_logged</name>
|
||||
<author>Joomla! Project</author>
|
||||
<creationDate>2005-01</creationDate>
|
||||
<copyright>(C) 2005 Open Source Matters, Inc.</copyright>
|
||||
<license>GNU General Public License version 2 or later; see LICENSE.txt</license>
|
||||
<authorEmail>admin@joomla.org</authorEmail>
|
||||
<authorUrl>www.joomla.org</authorUrl>
|
||||
<version>3.0.0</version>
|
||||
<description>MOD_LOGGED_XML_DESCRIPTION</description>
|
||||
<namespace path="src">Joomla\Module\Logged</namespace>
|
||||
<files>
|
||||
<filename module="mod_logged">mod_logged.php</filename>
|
||||
<folder>src</folder>
|
||||
<folder>tmpl</folder>
|
||||
</files>
|
||||
<languages>
|
||||
<language tag="en-GB">language/en-GB/mod_logged.ini</language>
|
||||
<language tag="en-GB">language/en-GB/mod_logged.sys.ini</language>
|
||||
</languages>
|
||||
<help key="Admin_Modules:_Logged-in_Users" />
|
||||
<config>
|
||||
<fields name="params">
|
||||
<fieldset name="basic">
|
||||
<field
|
||||
name="count"
|
||||
type="number"
|
||||
label="MOD_LOGGED_FIELD_COUNT_LABEL"
|
||||
default="5"
|
||||
filter="integer"
|
||||
min="1"
|
||||
validate="number"
|
||||
/>
|
||||
|
||||
<field
|
||||
name="name"
|
||||
type="list"
|
||||
label="MOD_LOGGED_NAME"
|
||||
default="1"
|
||||
filter="integer"
|
||||
validate="options"
|
||||
>
|
||||
<option value="1">MOD_LOGGED_NAME</option>
|
||||
<option value="0">JGLOBAL_USERNAME</option>
|
||||
</field>
|
||||
</fieldset>
|
||||
<fieldset name="advanced">
|
||||
<field
|
||||
name="layout"
|
||||
type="modulelayout"
|
||||
label="JFIELD_ALT_LAYOUT_LABEL"
|
||||
class="form-select"
|
||||
validate="moduleLayout"
|
||||
/>
|
||||
|
||||
<field
|
||||
name="moduleclass_sfx"
|
||||
type="textarea"
|
||||
label="COM_MODULES_FIELD_MODULECLASS_SFX_LABEL"
|
||||
rows="3"
|
||||
validate="CssIdentifier"
|
||||
/>
|
||||
|
||||
<field
|
||||
name="automatic_title"
|
||||
type="radio"
|
||||
label="COM_MODULES_FIELD_AUTOMATIC_TITLE_LABEL"
|
||||
layout="joomla.form.field.radio.switcher"
|
||||
default="0"
|
||||
filter="integer"
|
||||
>
|
||||
<option value="0">JNO</option>
|
||||
<option value="1">JYES</option>
|
||||
</field>
|
||||
</fieldset>
|
||||
</fields>
|
||||
</config>
|
||||
</extension>
|
||||
89
administrator/modules/mod_logged/src/Helper/LoggedHelper.php
Normal file
89
administrator/modules/mod_logged/src/Helper/LoggedHelper.php
Normal file
@@ -0,0 +1,89 @@
|
||||
<?php
|
||||
|
||||
/**
|
||||
* @package Joomla.Administrator
|
||||
* @subpackage mod_logged
|
||||
*
|
||||
* @copyright (C) 2010 Open Source Matters, Inc. <https://www.joomla.org>
|
||||
* @license GNU General Public License version 2 or later; see LICENSE.txt
|
||||
*/
|
||||
|
||||
namespace Joomla\Module\Logged\Administrator\Helper;
|
||||
|
||||
use Joomla\CMS\Application\CMSApplication;
|
||||
use Joomla\CMS\Language\Text;
|
||||
use Joomla\CMS\Router\Route;
|
||||
use Joomla\CMS\Session\Session;
|
||||
use Joomla\Database\DatabaseInterface;
|
||||
use Joomla\Registry\Registry;
|
||||
|
||||
// phpcs:disable PSR1.Files.SideEffects
|
||||
\defined('_JEXEC') or die;
|
||||
// phpcs:enable PSR1.Files.SideEffects
|
||||
|
||||
/**
|
||||
* Helper for mod_logged
|
||||
*
|
||||
* @since 1.5
|
||||
*/
|
||||
abstract class LoggedHelper
|
||||
{
|
||||
/**
|
||||
* Get a list of logged users.
|
||||
*
|
||||
* @param Registry $params The module parameters
|
||||
* @param CMSApplication $app The application
|
||||
* @param DatabaseInterface $db The database
|
||||
*
|
||||
* @return mixed An array of users, or false on error.
|
||||
*
|
||||
* @throws \RuntimeException
|
||||
*/
|
||||
public static function getList(Registry $params, CMSApplication $app, DatabaseInterface $db)
|
||||
{
|
||||
$user = $app->getIdentity();
|
||||
$query = $db->getQuery(true)
|
||||
->select('s.time, s.client_id, u.id, u.name, u.username')
|
||||
->from('#__session AS s')
|
||||
->join('LEFT', '#__users AS u ON s.userid = u.id')
|
||||
->where('s.guest = 0')
|
||||
->setLimit($params->get('count', 5), 0);
|
||||
|
||||
$db->setQuery($query);
|
||||
|
||||
try {
|
||||
$results = $db->loadObjectList();
|
||||
} catch (\RuntimeException $e) {
|
||||
throw $e;
|
||||
}
|
||||
|
||||
foreach ($results as $k => $result) {
|
||||
$results[$k]->logoutLink = '';
|
||||
|
||||
if ($user->authorise('core.manage', 'com_users')) {
|
||||
$results[$k]->editLink = Route::_('index.php?option=com_users&task=user.edit&id=' . $result->id);
|
||||
$results[$k]->logoutLink = Route::_(
|
||||
'index.php?option=com_login&task=logout&uid=' . $result->id . '&' . Session::getFormToken() . '=1'
|
||||
);
|
||||
}
|
||||
|
||||
if ($params->get('name', 1) == 0) {
|
||||
$results[$k]->name = $results[$k]->username;
|
||||
}
|
||||
}
|
||||
|
||||
return $results;
|
||||
}
|
||||
|
||||
/**
|
||||
* Get the alternate title for the module
|
||||
*
|
||||
* @param \Joomla\Registry\Registry $params The module parameters.
|
||||
*
|
||||
* @return string The alternate title for the module.
|
||||
*/
|
||||
public static function getTitle($params)
|
||||
{
|
||||
return Text::plural('MOD_LOGGED_TITLE', $params->get('count', 5));
|
||||
}
|
||||
}
|
||||
64
administrator/modules/mod_logged/tmpl/default.php
Normal file
64
administrator/modules/mod_logged/tmpl/default.php
Normal file
@@ -0,0 +1,64 @@
|
||||
<?php
|
||||
|
||||
/**
|
||||
* @package Joomla.Administrator
|
||||
* @subpackage mod_logged
|
||||
*
|
||||
* @copyright (C) 2007 Open Source Matters, Inc. <https://www.joomla.org>
|
||||
* @license GNU General Public License version 2 or later; see LICENSE.txt
|
||||
*/
|
||||
|
||||
defined('_JEXEC') or die;
|
||||
|
||||
use Joomla\CMS\HTML\HTMLHelper;
|
||||
use Joomla\CMS\Language\Text;
|
||||
?>
|
||||
<table class="table" id="<?php echo str_replace(' ', '', $module->title) . $module->id; ?>">
|
||||
<caption class="visually-hidden"><?php echo $module->title; ?></caption>
|
||||
<thead>
|
||||
<tr>
|
||||
<th scope="col" class="w-50">
|
||||
<?php if ($params->get('name', 1) == 0) : ?>
|
||||
<?php echo Text::_('JGLOBAL_USERNAME'); ?>
|
||||
<?php else : ?>
|
||||
<?php echo Text::_('MOD_LOGGED_NAME'); ?>
|
||||
<?php endif; ?>
|
||||
</th>
|
||||
<th scope="col" class="w-30"><?php echo Text::_('JCLIENT'); ?></th>
|
||||
<th scope="col" class="w-20"><?php echo Text::_('JDATE'); ?></th>
|
||||
</tr>
|
||||
</thead>
|
||||
<tbody>
|
||||
<?php foreach ($users as $user) : ?>
|
||||
<tr>
|
||||
<th scope="row">
|
||||
<?php if (isset($user->editLink)) : ?>
|
||||
<a href="<?php echo $user->editLink; ?>" title="<?php echo Text::_('JACTION_EDIT'); ?> <?php echo htmlspecialchars($user->name, ENT_QUOTES, 'UTF-8'); ?>">
|
||||
<?php echo htmlspecialchars($user->name, ENT_QUOTES, 'UTF-8'); ?>
|
||||
</a>
|
||||
<?php else : ?>
|
||||
<?php echo htmlspecialchars($user->name, ENT_QUOTES, 'UTF-8'); ?>
|
||||
<?php endif; ?>
|
||||
</th>
|
||||
<td>
|
||||
<?php if ($user->client_id === null) : ?>
|
||||
<?php // This is a shared session so we do not know the client ?>
|
||||
<?php echo Text::_('JGLOBAL_NONAPPLICABLE'); ?>
|
||||
<?php elseif ($user->client_id) : ?>
|
||||
<?php echo Text::_('JADMINISTRATION'); ?>
|
||||
<?php else : ?>
|
||||
<form action="<?php echo $user->logoutLink; ?>" method="post" name="adminForm">
|
||||
<?php echo Text::_('JSITE'); ?>
|
||||
<button type="submit" class="me-2 btn btn-danger btn-sm">
|
||||
<?php echo Text::_('JLOGOUT'); ?>
|
||||
</button>
|
||||
</form>
|
||||
<?php endif; ?>
|
||||
</td>
|
||||
<td>
|
||||
<?php echo HTMLHelper::_('date', $user->time, Text::_('DATE_FORMAT_LC5')); ?>
|
||||
</td>
|
||||
</tr>
|
||||
<?php endforeach; ?>
|
||||
</tbody>
|
||||
</table>
|
||||
21
administrator/modules/mod_logged/tmpl/disabled.php
Normal file
21
administrator/modules/mod_logged/tmpl/disabled.php
Normal file
@@ -0,0 +1,21 @@
|
||||
<?php
|
||||
|
||||
/**
|
||||
* @package Joomla.Administrator
|
||||
* @subpackage mod_logged
|
||||
*
|
||||
* @copyright (C) 2018 Open Source Matters, Inc. <https://www.joomla.org>
|
||||
* @license GNU General Public License version 2 or later; see LICENSE.txt
|
||||
*/
|
||||
|
||||
defined('_JEXEC') or die;
|
||||
|
||||
use Joomla\CMS\Language\Text;
|
||||
|
||||
?>
|
||||
<div class="mb-4">
|
||||
<p class="fw-bold text-center text-muted">
|
||||
<span class="icon-users" aria-hidden="true"></span>
|
||||
<?php echo Text::_('MOD_LOGGED_NO_SESSION_METADATA'); ?>
|
||||
</p>
|
||||
</div>
|
||||
21
administrator/modules/mod_login/mod_login.php
Normal file
21
administrator/modules/mod_login/mod_login.php
Normal file
@@ -0,0 +1,21 @@
|
||||
<?php
|
||||
|
||||
/**
|
||||
* @package Joomla.Administrator
|
||||
* @subpackage mod_login
|
||||
*
|
||||
* @copyright (C) 2006 Open Source Matters, Inc. <https://www.joomla.org>
|
||||
* @license GNU General Public License version 2 or later; see LICENSE.txt
|
||||
*/
|
||||
|
||||
defined('_JEXEC') or die;
|
||||
|
||||
use Joomla\CMS\Helper\AuthenticationHelper;
|
||||
use Joomla\CMS\Helper\ModuleHelper;
|
||||
use Joomla\Module\Login\Administrator\Helper\LoginHelper;
|
||||
|
||||
$langs = LoginHelper::getLanguageList();
|
||||
$extraButtons = AuthenticationHelper::getLoginButtons('form-login');
|
||||
$return = LoginHelper::getReturnUri();
|
||||
|
||||
require ModuleHelper::getLayoutPath('mod_login', $params->get('layout', 'default'));
|
||||
Some files were not shown because too many files have changed in this diff Show More
Reference in New Issue
Block a user