| Current Path : /home/w/u/e/wuectly/www/03cbe/ |
| Current File : /home/w/u/e/wuectly/www/03cbe/jcemediabox.zip |
PK C�!]�JtJo o
script.phpnu &1i� <?php
/**
* @package JCE MediaBox
* @subpackage System
* @copyright Copyright (C) 2023 Ryan Demmer. All rights reserved.
* @license GNU General Public License version 2 or later; see LICENSE
*/
defined('_JEXEC') or die;
use Joomla\CMS\Filesystem\File;
use Joomla\CMS\Filesystem\Folder;
class PlgSystemJcemediaboxInstallerScript
{
/**
* Method to run after an install/update method.
*
* @param string $type The type of change (install, update or discover_install).
* @param object $parent The class calling this method.
*
* @return void
*/
public function postflight($type, $parent)
{
// Only run on install or update
if ($type === 'install' || $type === 'update') {
$this->cleanuInstall();
}
}
/**
* Deletes specified files and folders if they exist.
*
* @return void
*/
protected function cleanuInstall()
{
$root = JPATH_ROOT . '/plugins/system/jcemediabox';
$folders = ['css', 'fonts', 'img', 'js', 'layouts', 'mediaplayer', 'themes'];
$files = ['fields/menuitemchecklist.php'];
foreach ($files as $file) {
if (is_file($root . '/' . $file)) {
File::delete($root . '/' . $file);
}
};
foreach ($folders as $folder) {
if (is_dir($root . '/' . $folder)) {
Folder::delete($root . '/' . $folder);
}
}
// delete old language files
$languages = array(
'administrator/language/en-GB/en-GB.plg_system_jcemediabox.ini',
'administrator/language/en-GB/en-GB.plg_system_jcemediabox.sys.ini'
);
foreach ($languages as $file) {
if (is_file(JPATH_SITE . '/' . $file)) {
File::delete(JPATH_SITE . '/' . $file);
}
}
}
}
PK C�!]M��" " - language/fr-FR/plg_system_jcemediabox.sys.ininu &1i� ; JCE Project
; Copyright (C) 2006 - 2026 Ryan Demmer. All rights reserved - https://www.joomlacontenteditor.net
; Licence : GNU/GPL Version 2 - http://www.gnu.org/licenses/gpl-2.0.html
; Coordination traduction FR : Mihàly Marti alias Sarki - https://www.sarki.ch/jce
; Note : All ini files need to be saved as UTF-8 - No BOM
PLG_SYSTEM_JCEMEDIABOX="Système - JCE MediaBox 2"
PLG_SYSTEM_JCEMEDIABOX_XML_DESC="<h3>Plugin JCE MediaBox, complément de l'éditeur JCE pour Joomla!</h3><p>JCE MediaBox permet d'afficher des médias (image, flash, flv, quicktime, vmw, avi, mpg, divx, youtube, etc.) et des contenus en popup de styles personnalisables.</p><p>JCE MediaBox permet également d'insérer des infobulles sur du texte ou des médias.</p><p>Présentation et modes d'emploi en anglais sur le site de l'auteur de JCE, Ryan Demmer : <a href='https://www.joomlacontenteditor.net/support/tutorials/jcemediabox' target='_blank' title='Site officiel'>https://www.joomlacontenteditor.net/support/tutorials/jcemediabox</a><br />Suivi de mise à jour : <a href='https://www.joomlacontenteditor.net/support/changelog/mediabox' target='_blank' title='Mises à jour'>https://www.joomlacontenteditor.net/support/changelog/mediabox</a></p><p>Traduction FR, présentation et forum en français par Sarki : <a href='https://www.sarki.ch/jce' target='_blank'>www.sarki.ch/jce</a></p><h3>Vous devez <a href='index.php?option=com_plugins&view=plugins&filter[search]=mediabox&search=mediabox' title='Publish'><strong>publier le plugin </strong></a>pour le rendre fonctionnel !</h3>"
PK C�!]>�% % ) language/fr-FR/plg_system_jcemediabox.ininu &1i� ; JCE Project
; Copyright (C) 2006 - 2026 Ryan Demmer. All rights reserved - https://www.joomlacontenteditor.net/
; GNU/GPL Version 2 or later - https://www.gnu.org/licenses/gpl-2.0.html
; Coordination traduction FR : Mihàly Marti alias Sarki - www.sarki.ch
; Note : All ini files need to be saved as UTF-8
; Chaînes de langue pour JCE Media Box 2
PLG_SYSTEM_JCEMEDIABOX="Système - JCE MediaBox 2"
PLG_SYSTEM_JCEMEDIABOX_XML_DESC="<h3>Plugin JCE MediaBox, complément de l'éditeur JCE pour Joomla!</h3><p>JCE MediaBox permet d'afficher des médias (image, flash, flv, quicktime, vmw, avi, mpg, divx, youtube, etc.) et des contenus en popup de styles personnalisables.</p><p>JCE MediaBox permet également d'insérer des infobulles sur du texte ou des médias.</p><p>Présentation et modes d'emploi en anglais sur le site de l'auteur de JCE, Ryan Demmer : <a href='https://www.joomlacontenteditor.net/support/tutorials/jcemediabox' target='_blank' title='Site officiel'>https://www.joomlacontenteditor.net/support/tutorials/jcemediabox</a><br />Suivi de mise à jour : <a href='https://www.joomlacontenteditor.net/support/changelog/mediabox' target='_blank' title='Mises à jour'>https://www.joomlacontenteditor.net/support/changelog/mediabox</a></p><p>Traduction FR, présentation et forum en français par Sarki : <a href='https://www.sarki.ch/jce' target='_blank'>www.sarki.ch/jce</a></p>"
PLG_SYSTEM_JCEMEDIABOX_NOCONVERSION="Aucune conversion"
PLG_SYSTEM_JCEMEDIABOX_CONVERTOPTION="Options de conversion"
PLG_SYSTEM_JCEMEDIABOX_CONVERTOPTION_DESC="Convertir les popups JCE MediaBox en un autre format (support des scripts non inclus !)"
PLG_SYSTEM_JCEMEDIABOX_COMPONENTS="Exclure des composants"
PLG_SYSTEM_JCEMEDIABOX_COMPONENTS_DESC="Sélectionnez les composants qui ne doivent pas charger les bibliothèques de scripts de JCE MediaBox."
PLG_SYSTEM_JCEMEDIABOX_MENU="Restreindre à des liens de menu"
PLG_SYSTEM_JCEMEDIABOX_MENU_DESC="Restreindre le chargement des bibliothèques de scripts de JCE MediaBox aux liens de menus sélectionnés."
PLG_SYSTEM_JCEMEDIABOX_MENU_EXCLUDE="Exclure des liens de menu"
PLG_SYSTEM_JCEMEDIABOX_MENU_EXCLUDE_DESC="Exclure le chargement des bibliothèques de scripts de JCE MediaBox des liens de menus sélectionnés."
PLG_SYSTEM_JCEMEDIABOX_THEME="Thème des Popups"
PLG_SYSTEM_JCEMEDIABOX_THEME_DESC="Thème utilisé pour les fenêtres popup. Les thèmes Bootstrap et UIKit nécessitent un template utilisant l'un de ces frameworks pour être actifs."
PLG_SYSTEM_JCEMEDIABOX_THEME_STANDARD="Standard (Rond grisé)"
PLG_SYSTEM_JCEMEDIABOX_THEME_LIGHT="Flèche de côté (Lightbox)"
PLG_SYSTEM_JCEMEDIABOX_THEME_SHADOW="Simple sur fond noir"
PLG_SYSTEM_JCEMEDIABOX_THEME_SQUEEZE="Rond noir relief"
PLG_SYSTEM_JCEMEDIABOX_THEME_BOOTSTRAP="Bootstrap"
PLG_SYSTEM_JCEMEDIABOX_THEME_UIKIT="UIKit"
PLG_SYSTEM_JCEMEDIABOX_LEGACY="Rétrocompatibilité"
PLG_SYSTEM_JCEMEDIABOX_LEGACY_DESC="Conversion de rétrocompatibilité (Legacy) des popups JCE.<br />Vous devez activer cette option si vous avez créé des popups avec une des toutes premières versions de JCE."
PLG_SYSTEM_JCEMEDIABOX_LIGHTBOX="Remplacer Lightbox/Slimbox"
PLG_SYSTEM_JCEMEDIABOX_LIGHTBOX_DESC="Convertir les popups Lightbox/Slimbox en popup JCE MediaBox. Lorsque cette option est activée, les scripts Lightbox/Slimbox sont désactivés et remplacés par ceux de JCE MediaBox."
PLG_SYSTEM_JCEMEDIABOX_SHADOWBOX="Remplacer Shadowbox"
PLG_SYSTEM_JCEMEDIABOX_SHADOWBOX_DESC="Convertir les popups Shadowbox en popup JCE MediaBox. Lorsque cette option est activée, les scripts Shadowbox sont désactivés et remplacés par ceux de JCE MediaBox."
PLG_SYSTEM_JCEMEDIABOX_WIDTH="Largeur par défaut"
PLG_SYSTEM_JCEMEDIABOX_WIDTH_DESC="Largeur par défaut des fenêtres popup, en pixels (n'indiquez que le chiffre), à appliquer à toutes les fenêtres popup. Laissez vide pour que les fenêtre s'adaptent à la taille de l'image, avec une taille maximale correspondant à celle de la fenêtre du navigateur."
PLG_SYSTEM_JCEMEDIABOX_HEIGHT="Hauteur par défaut"
PLG_SYSTEM_JCEMEDIABOX_HEIGHT_DESC="Hauteur par défaut des fenêtres popup, en pixels (n'indiquez que le chiffre), à appliquer à toutes les fenêtres popup. Laissez vide pour que les fenêtre s'adaptent à la taille de l'image, avec une taille maximale correspondant à celle de la fenêtre du navigateur."
PLG_SYSTEM_JCEMEDIABOX_TRANSITIONSPEED="Vitesse de transition"
PLG_SYSTEM_JCEMEDIABOX_TRANSITIONSPEED_DESC="Vitesse de transition des fenêtres popup, en milliseconde (ms)."
PLG_SYSTEM_JCEMEDIABOX_OVERLAY="Fond derrière popup"
PLG_SYSTEM_JCEMEDIABOX_OVERLAY_DESC="Afficher ou non un fond couvrant l'ensemble de la page derrière les fenêtres popup."
PLG_SYSTEM_JCEMEDIABOX_OVERLAYOPACITY="Opacité du fond"
PLG_SYSTEM_JCEMEDIABOX_OVERLAYOPACITY_DESC="Définissez la valeur d'opacité du fond couvrant l'ensemble de la page derrière les fenêtres popup (0 = transparent, 1 = opaque)"
PLG_SYSTEM_JCEMEDIABOX_OVERLAYCOLOR="Couleur du fond"
PLG_SYSTEM_JCEMEDIABOX_OVERLAYCOLOR_DESC="Indiquez la couleur hexadécimale du fond couvrant l'ensemble de la page derrière les fenêtres popup."
PLG_SYSTEM_JCEMEDIABOX_RESIZE="Taille des popups adaptée"
PLG_SYSTEM_JCEMEDIABOX_RESIZE_DESC="Redimensionner les fenêtres popups si leur taille dépasse la taille de l'écran disponible."
PLG_SYSTEM_JCEMEDIABOX_ICONS="Icône Zoom/Popup"
PLG_SYSTEM_JCEMEDIABOX_ICONS_DESC="Afficher l'icône zoom/popup sur les éléments pouvant s'afficher en popup."
PLG_SYSTEM_JCEMEDIABOX_HIDEOBJECTS="Masquer les Objets/embed"
PLG_SYSTEM_JCEMEDIABOX_HIDEOBJECTS_DESC="Définissez si les éléments objets/embed (vidéo, flash...) doivent être masqués ou non dans les fenêtres popup."
PLG_SYSTEM_JCEMEDIABOX_SCROLLING="Popup toujours centrée"
PLG_SYSTEM_JCEMEDIABOX_SCROLLING_DESC="Définir le comportement des fenêtre popups lors de l'utilisation de l’ascenseur. <strong>Fixe :</strong> la fenêtre popup reste centrée lors de l'utilisation de l’ascenseur. <strong>Défilement :</strong> la fenêtre popup défile avec la page lors de l'utilisation de l'ascenseur."
PLG_SYSTEM_JCEMEDIABOX_SCROLLING_SCROLL="Défilement"
PLG_SYSTEM_JCEMEDIABOX_SCROLLING_FIXED="Fixe"
PLG_SYSTEM_JCEMEDIABOX_SWIPE="Swipe"
PLG_SYSTEM_JCEMEDIABOX_SWIPE_DESC="Activez le support Swipe pour naviguer dans les éléments multimédia d'un groupe JCE MediaBox."
PLG_SYSTEM_JCEMEDIABOX_TOPLEFT="Haut Gauche"
PLG_SYSTEM_JCEMEDIABOX_TOPRIGHT="Haut Droite"
PLG_SYSTEM_JCEMEDIABOX_TOPCENTRE="Haut Centre"
PLG_SYSTEM_JCEMEDIABOX_BOTTOMLEFT="Bas Gauche"
PLG_SYSTEM_JCEMEDIABOX_BOTTOMRIGHT="Bas Droite"
PLG_SYSTEM_JCEMEDIABOX_BOTTOMCENTRE="Bas Centre"
PLG_SYSTEM_JCEMEDIABOX_DYNAMICTHEMES="Thèmes dynamiques"
PLG_SYSTEM_JCEMEDIABOX_DYNAMICTHEMES_DESC="Autoriser ou non la modification du thème des popups par l'ajout de sa variable dans l'URL de la page. Exemple: ...&theme=light"
; Popup
PLG_SYSTEM_JCEMEDIABOX_LABEL_CLOSE="Fermer"
PLG_SYSTEM_JCEMEDIABOX_LABEL_NEXT="Suivant"
PLG_SYSTEM_JCEMEDIABOX_LABEL_PREVIOUS="Précédent"
PLG_SYSTEM_JCEMEDIABOX_LABEL_CANCEL="Annuler"
PLG_SYSTEM_JCEMEDIABOX_LABEL_NUMBERS="{{numbers}}"
PLG_SYSTEM_JCEMEDIABOX_LABEL_NUMBERS_COUNT="{{current}} sur {{total}}"
PLG_SYSTEM_JCEMEDIABOX_CLOSE_ACTION="Fermeture des popups"
PLG_SYSTEM_JCEMEDIABOX_CLOSE_ACTION_DESC="Sélectionnez le système à utiliser pour la fermeture des fenêtres popups."
PLG_SYSTEM_JCEMEDIABOX_CLOSE_BUTTON="Uniquement avec le bouton"
PLG_SYSTEM_JCEMEDIABOX_CLOSE_BUTTON_OVERLAY="Avec le bouton et en cliquant sur le fond"
PLG_SYSTEM_JCEMEDIABOX_LABEL_DOWNLOAD="Télécharger"
PLG_SYSTEM_JCEMEDIABOX_COOKIE_EXPIRY="Durée du cookie Popup auto"
PLG_SYSTEM_JCEMEDIABOX_COOKIE_EXPIRY_DESC="Le cookie permettant de ne pas réaficher les fenêtre popups qui s'ouvrent automatiquement expirera après le nombre de jours indiqué ici. Laissez vide pour une expiration du cookie lorsque l'utilisateur ferme son navigateur."
PLG_SYSTEM_JCEMEDIABOX_MEDIAFALLBACK="Lecteur de média alternatif"
PLG_SYSTEM_JCEMEDIABOX_MEDIAFALLBACK_DESC="Activez cette option pour fournir un lecteur multimédia alternatif basé sur flash pour les éléments utilisant une balise vidéo ou audio non prise en charge par le navigateur du visiteur. Supporte actuellement mp4, mp3, flv, f4v."
PLG_SYSTEM_JCEMEDIABOX_MEDIASELECTOR="Sélecteur CSS"
PLG_SYSTEM_JCEMEDIABOX_MEDIASELECTOR_DESC="Sélecteur CSS des éléments devant être pris en charge par le lecteur multimédia alternatif. Par défaut audio, vidéo."
COM_PLUGINS_OPTIONS_FIELDSET_LABEL="Options"
PLG_SYSTEM_JCEMEDIABOX_EXPAND_ON_CLICK="Icône d'agrandissement"
PLG_SYSTEM_JCEMEDIABOX_EXPAND_ON_CLICK_DESC="Les images redimensionnées pour s'adapter à l'écran s'agrandissent lorsqu'on clique dessus. Si cette option est activée, le curseur se transforme en icône de zoom au survol de l'image, indiquant que l'image peut être agrandie."
PLG_SYSTEM_JCEMEDIABOX_DISPLAY_MODE="Mode d'affichage"
PLG_SYSTEM_JCEMEDIABOX_DISPLAY_MODE_DESC="Choisissez comment le contenu s'affiche dans la fenêtre surgissante (popup). <strong>Ajuster (Fit)</strong> redimensionnera la fenêtre pour qu'elle s'adapte à la zone d'affichage. <strong>Défilement (Scroll)</strong> contraindra la fenêtre à la zone d'affichage tout en permettant au contenu de défiler à l'intérieur du cadre."
PLG_SYSTEM_JCEMEDIABOX_DISPLAY_FIT="Ajuster (Fit)"
PLG_SYSTEM_JCEMEDIABOX_DISPLAY_SCROLL="Défilement (Scroll)"
PK C�!]���� 3 language/en-GB/en-GB.plg_system_jcemediabox.sys.ininu &1i� ; JCE Project
; Copyright (C) 2006 - 2026 Ryan Demmer. All rights reserved
; Licence : GNU/GPL Version 2 - http://www.gnu.org/licenses/gpl-2.0.html
; Note : All ini files need to be saved as UTF-8 - No BOM
PLG_SYSTEM_JCEMEDIABOX ="System - JCE MediaBox 2"
PLG_SYSTEM_JCEMEDIABOX_XML_DESC ="<h3>JCE MediaBox</h3><p>A modern, responsive Lightbox for Joomla<p><p>Click here to <a href='index.php?option=com_plugins&view=plugins&filter[search]=mediabox&search=mediabox' title='Publish'><strong>publish JCE MediaBox!</strong></a></p>"PK C�!]A��� � / language/en-GB/en-GB.plg_system_jcemediabox.ininu &1i� ; JCE Project
; Copyright (C) 2006 - 2026 Ryan Demmer. All rights reserved
; Licence : GNU/GPL Version 2 - http://www.gnu.org/licenses/gpl-2.0.html
; Note : All ini files need to be saved as UTF-8 - No BOM
PLG_SYSTEM_JCEMEDIABOX ="System - JCE MediaBox 2"
PLG_SYSTEM_JCEMEDIABOX_XML_DESC ="<h3>JCE MediaBox</h3><p>A modern, responsive Lightbox for Joomla<p>"
PLG_SYSTEM_JCEMEDIABOX_NOCONVERSION ="No Conversion"
PLG_SYSTEM_JCEMEDIABOX_CONVERTOPTION ="Conversion Options"
PLG_SYSTEM_JCEMEDIABOX_CONVERTOPTION_DESC ="Convert existing JCE MediaBox popups into other popular formats (supporting scripts not included!)"
PLG_SYSTEM_JCEMEDIABOX_COMPONENTS ="Exclude Components"
PLG_SYSTEM_JCEMEDIABOX_COMPONENTS_DESC ="List of components to exclude from loading JCE MediaBox"
PLG_SYSTEM_JCEMEDIABOX_MENU ="Assign to Menu"
PLG_SYSTEM_JCEMEDIABOX_MENU_DESC ="Assign JCE MediaBox to load on these menu items."
PLG_SYSTEM_JCEMEDIABOX_MENU_EXCLUDE ="Exclude from Menu"
PLG_SYSTEM_JCEMEDIABOX_MENU_EXCLUDE_DESC ="Exclude JCE MediaBox from loading on these menu items."
PLG_SYSTEM_JCEMEDIABOX_THEME ="Popup Theme"
PLG_SYSTEM_JCEMEDIABOX_THEME_DESC ="Layout theme of the popup. The Bootstrap and UIKit themes require a template using one of these frameworks to be installed and active."
PLG_SYSTEM_JCEMEDIABOX_THEME_STANDARD ="Standard"
PLG_SYSTEM_JCEMEDIABOX_THEME_LIGHT ="Light"
PLG_SYSTEM_JCEMEDIABOX_THEME_SHADOW ="Shadow"
PLG_SYSTEM_JCEMEDIABOX_THEME_SQUEEZE ="Squeeze"
PLG_SYSTEM_JCEMEDIABOX_THEME_BOOTSTRAP ="Bootstrap"
PLG_SYSTEM_JCEMEDIABOX_THEME_UIKIT ="UIKit"
PLG_SYSTEM_JCEMEDIABOX_LEGACY ="Legacy Conversion"
PLG_SYSTEM_JCEMEDIABOX_LEGACY_DESC ="convert legacy JCE window popups"
PLG_SYSTEM_JCEMEDIABOX_LIGHTBOX ="Lightbox / Slimbox Conversion"
PLG_SYSTEM_JCEMEDIABOX_LIGHTBOX_DESC ="Convert Lightbox / Slimbox popups into JCE MediaBox popups. When this option is set, disable your Lightbox / Slimbox script."
PLG_SYSTEM_JCEMEDIABOX_SHADOWBOX ="Shadowbox Conversion"
PLG_SYSTEM_JCEMEDIABOX_SHADOWBOX_DESC ="Convert Shadowbox popups into JCE MediaBox popups. When this option is set, disable your Shadowbox script."
PLG_SYSTEM_JCEMEDIABOX_WIDTH ="Width"
PLG_SYSTEM_JCEMEDIABOX_WIDTH_DESC ="Default Popup Width"
PLG_SYSTEM_JCEMEDIABOX_HEIGHT ="Height"
PLG_SYSTEM_JCEMEDIABOX_HEIGHT_DESC ="Default Popup Height"
PLG_SYSTEM_JCEMEDIABOX_TRANSITIONSPEED ="Transition Speed"
PLG_SYSTEM_JCEMEDIABOX_TRANSITIONSPEED_DESC ="Speed of scale and fade transitions (ms)"
PLG_SYSTEM_JCEMEDIABOX_OVERLAY ="Overlay"
PLG_SYSTEM_JCEMEDIABOX_OVERLAY_DESC ="Show semi-transparent overly beneath popup."
PLG_SYSTEM_JCEMEDIABOX_OVERLAYOPACITY ="Overlay Opacity"
PLG_SYSTEM_JCEMEDIABOX_OVERLAYOPACITY_DESC ="Opacity/Transparency vlaue of the popup overlay (0 = transparent, 1 = opaque)"
PLG_SYSTEM_JCEMEDIABOX_OVERLAYCOLOR ="Overlay Color"
PLG_SYSTEM_JCEMEDIABOX_OVERLAYCOLOR_DESC ="Hex color of the popup overlay, eg: #000000"
PLG_SYSTEM_JCEMEDIABOX_RESIZE ="Resize Popups"
PLG_SYSTEM_JCEMEDIABOX_RESIZE_DESC ="Resize image popups if their size exceeds the available screen size."
PLG_SYSTEM_JCEMEDIABOX_ICONS ="Zoom/Popup Icons"
PLG_SYSTEM_JCEMEDIABOX_ICONS_DESC ="Show zoom/popup icons"
PLG_SYSTEM_JCEMEDIABOX_HIDEOBJECTS ="Hide Objects"
PLG_SYSTEM_JCEMEDIABOX_HIDEOBJECTS_DESC ="Hide object/embed elements when popup opens"
PLG_SYSTEM_JCEMEDIABOX_SCROLLING ="Scrolling"
PLG_SYSTEM_JCEMEDIABOX_SCROLLING_DESC ="Set scrolling behaviour. Fixed - Popup remains centered when window scrolls. Scroll - Popup scrolls with window."
PLG_SYSTEM_JCEMEDIABOX_SCROLLING_SCROLL ="Scroll"
PLG_SYSTEM_JCEMEDIABOX_SCROLLING_FIXED ="Fixed"
PLG_SYSTEM_JCEMEDIABOX_SWIPE ="Swipe"
PLG_SYSTEM_JCEMEDIABOX_SWIPE_DESC ="Enable Swipe support for navigating media items in a MediaBox group."
PLG_SYSTEM_JCEMEDIABOX_TOPLEFT ="Top Left"
PLG_SYSTEM_JCEMEDIABOX_TOPRIGHT ="Top Right"
PLG_SYSTEM_JCEMEDIABOX_TOPCENTRE ="Top Centre"
PLG_SYSTEM_JCEMEDIABOX_BOTTOMLEFT ="Bottom Left"
PLG_SYSTEM_JCEMEDIABOX_BOTTOMRIGHT ="Bottom Right"
PLG_SYSTEM_JCEMEDIABOX_BOTTOMCENTRE ="Bottom Centre"
PLG_SYSTEM_JCEMEDIABOX_DYNAMICTHEMES ="Dynamic Theme Switching"
PLG_SYSTEM_JCEMEDIABOX_DYNAMICTHEMES_DESC ="Allow theme to be changed by passing theme variable in page url, ie: &theme=light"
; Popup
PLG_SYSTEM_JCEMEDIABOX_LABEL_CLOSE ="Close"
PLG_SYSTEM_JCEMEDIABOX_LABEL_NEXT ="Next"
PLG_SYSTEM_JCEMEDIABOX_LABEL_PREVIOUS ="Previous"
PLG_SYSTEM_JCEMEDIABOX_LABEL_CANCEL ="Cancel"
PLG_SYSTEM_JCEMEDIABOX_LABEL_NUMBERS ="{{numbers}}"
PLG_SYSTEM_JCEMEDIABOX_LABEL_NUMBERS_COUNT ="{{current}} of {{total}}"
PLG_SYSTEM_JCEMEDIABOX_CLOSE_ACTION ="Close Action"
PLG_SYSTEM_JCEMEDIABOX_CLOSE_ACTION_DESC ="Select the action that closes the popup"
PLG_SYSTEM_JCEMEDIABOX_CLOSE_BUTTON ="Close button"
PLG_SYSTEM_JCEMEDIABOX_CLOSE_BUTTON_OVERLAY="Close button and background overlay click"
PLG_SYSTEM_JCEMEDIABOX_LABEL_DOWNLOAD="Download"
PLG_SYSTEM_JCEMEDIABOX_COOKIE_EXPIRY="Auto Popup Cookie Expiry"
PLG_SYSTEM_JCEMEDIABOX_COOKIE_EXPIRY_DESC="The Auto Popup cookie will expire after this many days. Leave blank to expire the cookie when the user closes their browser."
PLG_SYSTEM_JCEMEDIABOX_MEDIAFALLBACK ="Media Fallback"
PLG_SYSTEM_JCEMEDIABOX_MEDIAFALLBACK_DESC ="Provide a flash based fallback player for media elements that using the video or audio tag, are not supported by the vistiors browser. Currently supports mp4, mp3, flv, f4v."
PLG_SYSTEM_JCEMEDIABOX_MEDIASELECTOR ="Media Fallback Selector"
PLG_SYSTEM_JCEMEDIABOX_MEDIASELECTOR_DESC ="CSS selector of media fallback items. Defaults to audio,video"
COM_PLUGINS_OPTIONS_FIELDSET_LABEL="Options"
PLG_SYSTEM_JCEMEDIABOX_EXPAND_ON_CLICK="Expand on Click"
PLG_SYSTEM_JCEMEDIABOX_EXPAND_ON_CLICK_DESC="Images that have been resized to fit the screen will expand to full size when clicked. If this option is enabled, the cursor will change to a zoom icon when hovering over the image, indicating that the image can be expanded."
PLG_SYSTEM_JCEMEDIABOX_DISPLAY_MODE="Display Mode"
PLG_SYSTEM_JCEMEDIABOX_DISPLAY_MODE_DESC="Select how content is displayed in the popup. <strong>Fit</strong> will resize the popup to fit within the viewport. <strong>Scroll</strong> will constrain the popup to the viewport and allow the content to scroll inside the frame."
PLG_SYSTEM_JCEMEDIABOX_DISPLAY_FIT="Fit"
PLG_SYSTEM_JCEMEDIABOX_DISPLAY_SCROLL="Scroll"PK C�!]0X�H� � jcemediabox.xmlnu &1i� <?xml version="1.0" encoding="utf-8"?>
<extension type="plugin" group="system" method="upgrade">
<name>plg_system_jcemediabox</name>
<author>Ryan Demmer</author>
<creationDate>15-04-2026</creationDate>
<copyright>Copyright (C) 2006 - 2026 Ryan Demmer. All rights reserved</copyright>
<license>GNU/GPL Version 2 or later - http://www.gnu.org/licenses/gpl-2.0.html</license>
<authorEmail>info@joomlacontenteditor.net</authorEmail>
<authorUrl>www.joomlacontenteditor.net</authorUrl>
<version>2.2.4</version>
<description>PLG_SYSTEM_JCEMEDIABOX_XML_DESC</description>
<scriptfile>script.php</scriptfile>
<config>
<inlinehelp button="show"/>
<fields name="params">
<fieldset name="options" group="options" addfieldpath="/plugins/system/jcemediabox/fields">
<field name="theme" type="list" default="standard" label="PLG_SYSTEM_JCEMEDIABOX_THEME" description="PLG_SYSTEM_JCEMEDIABOX_THEME_DESC">
<option value="standard">PLG_SYSTEM_JCEMEDIABOX_THEME_STANDARD</option>
<option value="light">PLG_SYSTEM_JCEMEDIABOX_THEME_LIGHT</option>
<option value="shadow">PLG_SYSTEM_JCEMEDIABOX_THEME_SHADOW</option>
<option value="squeeze">PLG_SYSTEM_JCEMEDIABOX_THEME_SQUEEZE</option>
</field>
<field name="transitionspeed" type="number" default="300" step="50" min="50" class="span1" label="PLG_SYSTEM_JCEMEDIABOX_TRANSITIONSPEED" description="PLG_SYSTEM_JCEMEDIABOX_TRANSITIONSPEED_DESC"/>
<field name="overlay" type="radio" default="1" label="PLG_SYSTEM_JCEMEDIABOX_OVERLAY" description="PLG_SYSTEM_JCEMEDIABOX_OVERLAY_DESC" class="btn-group btn-group-yesno">
<option value="1">JYES</option>
<option value="0">JNO</option>
</field>
<field name="overlayopacity" type="number" default="" step="0.1" min="0" max="1" class="span1" label="PLG_SYSTEM_JCEMEDIABOX_OVERLAYOPACITY" description="PLG_SYSTEM_JCEMEDIABOX_OVERLAYOPACITY_DESC" />
<field name="overlaycolor" type="color" default="" class="color" label="PLG_SYSTEM_JCEMEDIABOX_OVERLAYCOLOR" description="PLG_SYSTEM_JCEMEDIABOX_OVERLAYCOLOR_DESC" />
<field name="width" type="text" default="" class="span1" label="PLG_SYSTEM_JCEMEDIABOX_WIDTH" description="PLG_SYSTEM_JCEMEDIABOX_WIDTH_DESC" />
<field name="height" type="text" default="" class="span1" label="PLG_SYSTEM_JCEMEDIABOX_HEIGHT" description="PLG_SYSTEM_JCEMEDIABOX_HEIGHT_DESC" />
<field name="close" type="list" default="2" label="PLG_SYSTEM_JCEMEDIABOX_CLOSE_ACTION" description="PLG_SYSTEM_JCEMEDIABOX_CLOSE_ACTION_DESC">
<option value="1">PLG_SYSTEM_JCEMEDIABOX_CLOSE_BUTTON</option>
<option value="2">PLG_SYSTEM_JCEMEDIABOX_CLOSE_BUTTON_OVERLAY</option>
</field>
<!--field name="scrolling" type="list" default="0" label="PLG_SYSTEM_JCEMEDIABOX_SCROLLING" description="PLG_SYSTEM_JCEMEDIABOX_SCROLLING_DESC">
<option value="fixed">PLG_SYSTEM_JCEMEDIABOX_SCROLLING_FIXED</option>
<option value="scroll">PLG_SYSTEM_JCEMEDIABOX_SCROLLING_SCROLL</option>
</field-->
<field name="swipe" type="radio" default="1" label="PLG_SYSTEM_JCEMEDIABOX_SWIPE" description="PLG_SYSTEM_JCEMEDIABOX_SWIPE_DESC" class="btn-group btn-group-yesno">
<option value="1">JYES</option>
<option value="0">JNO</option>
</field>
<field name="icons" type="radio" default="1" label="PLG_SYSTEM_JCEMEDIABOX_ICONS" description="PLG_SYSTEM_JCEMEDIABOX_ICONS_DESC" class="btn-group btn-group-yesno">
<option value="1">JYES</option>
<option value="0">JNO</option>
</field>
<field name="components" type="components" multiple="true" default="" label="PLG_SYSTEM_JCEMEDIABOX_COMPONENTS" description="PLG_SYSTEM_JCEMEDIABOX_COMPONENTS_DESC" layout="joomla.form.field.list-fancy-select" />
<field name="menu" type="menuitem" state="1" default="" multiple="multiple" size="10" label="PLG_SYSTEM_JCEMEDIABOX_MENU" description="PLG_SYSTEM_JCEMEDIABOX_MENU_DESC" layout="joomla.form.field.groupedlist-fancy-select" />
<field name="menu_exclude" type="menuitem" state="1" default="" multiple="multiple" size="10" label="PLG_SYSTEM_JCEMEDIABOX_MENU_EXCLUDE" description="PLG_SYSTEM_JCEMEDIABOX_MENU_EXCLUDE_DESC" layout="joomla.form.field.groupedlist-fancy-select" />
<field name="dynamic_themes" type="radio" default="0" label="PLG_SYSTEM_JCEMEDIABOX_DYNAMICTHEMES" description="PLG_SYSTEM_JCEMEDIABOX_DYNAMICTHEMES_DESC" class="btn-group btn-group-yesno">
<option value="1">JYES</option>
<option value="0">JNO</option>
</field>
<field name="display_mode" type="radio" default="fit" label="PLG_SYSTEM_JCEMEDIABOX_DISPLAY_MODE" description="PLG_SYSTEM_JCEMEDIABOX_DISPLAY_MODE_DESC" class="btn-group">
<option value="fit">PLG_SYSTEM_JCEMEDIABOX_DISPLAY_FIT</option>
<option value="scroll">PLG_SYSTEM_JCEMEDIABOX_DISPLAY_SCROLL</option>
</field>
<field name="expand_on_click" type="radio" default="1" label="PLG_SYSTEM_JCEMEDIABOX_EXPAND_ON_CLICK" description="PLG_SYSTEM_JCEMEDIABOX_EXPAND_ON_CLICK_DESC" class="btn-group btn-group-yesno" showon="display_mode:fit">
<option value="1">JYES</option>
<option value="0">JNO</option>
</field>
<field name="lightbox" type="radio" default="0" label="PLG_SYSTEM_JCEMEDIABOX_LIGHTBOX" description="PLG_SYSTEM_JCEMEDIABOX_LIGHTBOX_DESC" class="btn-group btn-group-yesno">
<option value="1">JYES</option>
<option value="0">JNO</option>
</field>
<field name="shadowbox" type="radio" default="0" label="PLG_SYSTEM_JCEMEDIABOX_SHADOWBOX" description="PLG_SYSTEM_JCEMEDIABOX_SHADOWBOX_DESC" class="btn-group btn-group-yesno">
<option value="1">JYES</option>
<option value="0">JNO</option>
</field>
<!--field name="mediafallback" type="radio" default="0" label="PLG_SYSTEM_JCEMEDIABOX_MEDIAFALLBACK" class="btn-group btn-group-yesno" description="PLG_SYSTEM_JCEMEDIABOX_MEDIAFALLBACK_DESC">
<option value="1">JYES</option>
<option value="0">JNO</option>
</field-->
<!--field name="mediaselector" type="text" size="50" default="audio,video" label="PLG_SYSTEM_JCEMEDIABOX_MEDIASELECTOR" description="PLG_SYSTEM_JCEMEDIABOX_MEDIASELECTOR_DESC"/-->
</fieldset>
</fields>
</config>
<files folder="plugins/system/jcemediabox">
<file plugin="jcemediabox">jcemediabox.php</file>
<folder>fields</folder>
<folder>language</folder>
</files>
<media folder="media" destination="plg_system_jcemediabox">
<folder>css</folder>
<folder>img</folder>
<folder>js</folder>
<folder>themes</folder>
</media>
<updateservers>
<server type="extension" priority="1" name="JCE MediaBox Updates"><![CDATA[https://cdn.joomlacontenteditor.net/updates/xml/mediabox/plg_system_jcemediabox.xml]]></server>
</updateservers>
</extension>
PK C�!]u��: : jcemediabox.phpnu &1i� <?php
/**
* @package JCE MediaBox
* @copyright Copyright (C) 2006 - 2026 Ryan Demmer. All rights reserved
* @license http://www.gnu.org/copyleft/gpl.html GNU/GPL 3, see LICENCE
*
* This version may have been modified pursuant
* to the GNU General Public License, and as distributed it includes or
* is derivative of works licensed under the GNU General Public License or
* other free or open source software licenses.
*
* Light Theme inspired by Slimbox by Christophe Beyls
* @ http://www.digitalia.be
*
* Shadow Theme inspired by ShadowBox
* @ http://mjijackson.com/shadowbox/
*
* Squeeze theme inspired by Squeezebox by Harald Kirschner
* @ http://digitarald.de/project/squeezebox/
*
*/
defined('_JEXEC') or die('Restricted access');
use Joomla\CMS\Plugin\CMSPlugin;
use Joomla\CMS\Factory;
use Joomla\CMS\Language\Text;
use Joomla\CMS\Filesystem\Folder;
use Joomla\CMS\Filesystem\File;
use Joomla\CMS\HTML\HTMLHelper;
use Joomla\CMS\Uri\Uri;
/**
* JCE MediaBox Plugin
*
* @package JCE MediaBox
* @subpackage System
*/
class plgSystemJCEMediabox extends CMSPlugin
{
protected $version = '2.2.4';
/**
* Create a list of translated labels for popup window
* @return Key : Value labels string
*/
protected function getLabels()
{
$this->loadLanguage('plg_system_jcemediabox', JPATH_ADMINISTRATOR);
$this->loadLanguage('plg_system_jcemediabox', __DIR__);
$words = array('close', 'next', 'previous', 'cancel', 'numbers', 'numbers_count', 'download');
$v = array();
foreach ($words as $word) {
$v[$word] = htmlspecialchars(Text::_('PLG_SYSTEM_JCEMEDIABOX_LABEL_' . strtoupper($word)));
}
return $v;
}
private function getAssetPath($relative)
{
$hash = '?' . md5($this->version);
return Uri::base(true) . '/media/plg_system_jcemediabox/' . $relative . $hash;
}
/**
* OnAfterRoute function
* @return Boolean true
*/
public function onAfterDispatch()
{
$app = Factory::getApplication();
// only in "site"
if ($app->getClientId() !== 0) {
return;
}
$document = Factory::getDocument();
$docType = $document->getType();
// only in html pages
if ($docType != 'html') {
return;
}
$db = Factory::getDBO();
// Causes issue in Safari??
$pop = $app->input->getInt('pop');
$print = $app->input->getInt('print');
$task = $app->input->getCmd('task');
$tmpl = $app->input->getWord('tmpl');
// don't load mediabox on certain pages
if ($pop || $task == 'new' || $task == 'edit') {
return;
}
// load in print
if ($tmpl == 'component' && !$print) {
return;
}
$params = $this->params;
$components = $params->get('components');
if (!empty($components)) {
if (is_string($components)) {
$components = explode(',', $components);
}
$option = $app->input->get('option', '');
foreach ($components as $component) {
if ($option === 'com_' . $component || $option === $component) {
return;
}
}
}
// get active menu
$menus = $app->getMenu();
$menu = $menus->getActive();
// get menu items from parameter
$menuitems = (array) $params->get('menu');
// is there a menu assignment?
if (!empty($menuitems) && !empty($menuitems[0])) {
if ($menu && !in_array($menu->id, (array) $menuitems)) {
return;
}
}
// get excluded menu items from parameter
$menuitems_exclude = (array) $params->get('menu_exclude');
// is there a menu exclusion?
if (!empty($menuitems_exclude) && !empty($menuitems_exclude[0])) {
if ($menu && in_array($menu->id, (array) $menuitems_exclude)) {
return;
}
}
$theme = $params->get('theme', 'standard');
if ($params->get('dynamic_themes', 0)) {
$theme = $app->input->getWord('theme', $theme);
}
$config = array(
'base' => Uri::base(true) . '/',
'theme' => $theme,
//'mediafallback' => (int) $params->get('mediafallback', 0),
//'mediaselector' => $params->get('mediaselector', 'audio,video'),
'width' => $params->get('width', ''),
'height' => $params->get('height', ''),
'lightbox' => (int) $params->get('lightbox', 0),
'shadowbox' => (int) $params->get('shadowbox', 0),
'icons' => (int) $params->get('icons', 1),
'overlay' => (int) $params->get('overlay', 1),
'overlay_opacity' => (float) $params->get('overlayopacity'),
'overlay_color' => $params->get('overlaycolor', ''),
'transition_speed' => (int) $params->get('transitionspeed', $params->get('scalespeed', 300)),
'close' => (int) $params->get('close', 2),
//'scrolling' => (string) $params->get('scrolling', 'fixed'),
'labels' => $this->getLabels(),
'swipe' => (bool) $params->get('swipe', 1),
'expand_on_click' => (bool) $params->get('expand_on_click', 1),
'display_mode' => $params->get('display_mode', 'fit'),
);
if ($this->params->get('jquery', 1)) {
// Include jQuery
HTMLHelper::_('jquery.framework');
}
$document->addScript($this->getAssetPath('js/jcemediabox.min.js'));
$document->addStyleSheet($this->getAssetPath('css/jcemediabox.min.css'));
$document->addScriptDeclaration('jQuery(document).ready(function(){WfMediabox.init(' . json_encode($config) . ');});');
}
}
PK C�!]W�C�� � fields/components.phpnu &1i� <?php
/**
* @package JCE MediaBox
*
* @copyright Copyright (C) 2005 - 2014 Open Source Matters, Inc. All rights reserved.
* @copyright Copyright (C) 2023 Ryan Demmer. All rights reserved.
* @license GNU General Public License version 2 or later; see LICENSE
*/
namespace Joomla\CMS\Form\Field;
defined('JPATH_PLATFORM') or die;
use Joomla\CMS\Factory;
use Joomla\CMS\Form\FormHelper;
use Joomla\CMS\Language\Text;
if (version_compare(JVERSION, '4.0', 'lt')) {
if (!class_exists('\\Joomla\\CMS\\Form\\Field\\ListField')) {
FormHelper::loadFieldClass('list');
class_alias('JFormFieldList', '\\Joomla\\CMS\\Form\\Field\\ListField');
}
}
/**
* Form Field class for the Joomla Framework.
*
* @package Joomla.Platform
* @subpackage Form
* @since 11.4
*/
class ComponentsField extends ListField
{
/**
* The field type.
*
* @var string
* @since 11.4
*/
protected $type = 'Components';
/**
* Method to get a list of options for a list input.
*
* @return array An array of JHtml options.
*
* @since 11.4
*/
protected function getOptions()
{
$language = Factory::getLanguage();
$exclude = array(
'com_admin',
'com_cache',
'com_checkin',
'com_config',
'com_cpanel',
'com_fields',
'com_finder',
'com_installer',
'com_languages',
'com_jce',
'com_login',
'com_mailto',
'com_menus',
'com_media',
'com_messages',
'com_newsfeeds',
'com_plugins',
'com_redirect',
'com_templates',
'com_users',
'com_wrapper',
'com_search',
'com_user',
'com_updates',
);
// Get list of plugins
$db = Factory::getDbo();
$query = $db->getQuery(true)
->select('element AS value, name AS text')
->from('#__extensions')
->where('type = ' . $db->quote('component'))
->where('enabled = 1')
->order('ordering, name');
$db->setQuery($query);
$components = $db->loadObjectList();
$options = array();
// load component languages
for ($i = 0; $i < count($components); $i++) {
if (!in_array($components[$i]->value, $exclude)) {
// load system language file
$language->load($components[$i]->value . '.sys', JPATH_ADMINISTRATOR);
// translate name
$components[$i]->text = Text::_($components[$i]->text, true);
$components[$i]->disable = "";
$options[] = $components[$i];
}
}
// Merge any additional options in the XML definition.
return array_merge(parent::getOptions(), $options);
}
}PK C�!]�JtJo o
script.phpnu &1i� PK C�!]M��" " - � language/fr-FR/plg_system_jcemediabox.sys.ininu &1i� PK C�!]>�% % ) ( language/fr-FR/plg_system_jcemediabox.ininu &1i� PK C�!]���� 3 �3 language/en-GB/en-GB.plg_system_jcemediabox.sys.ininu &1i� PK C�!]A��� � / �5 language/en-GB/en-GB.plg_system_jcemediabox.ininu &1i� PK C�!]0X�H� � �O jcemediabox.xmlnu &1i� PK C�!]u��: : n jcemediabox.phpnu &1i� PK C�!]W�C�� � �� fields/components.phpnu &1i� PK � i�