www_archline_hu/deployed/jckman/plugins/system/jckmodal/jckmodal.php
LÁZÁR Imre AI Agent 9a2654b4fc feat(deployed): add JCK Editor 6.4.4 (no-source, vetted live)
JCK Editor (WebxSolution, com_jckman 6.4.4 + editors/jckeditor 6.6.2); dead vendor, no upstream -> deployed files; manual CVE-2018-17254 mitigation on menunodes.php preserved.

Signed-off-by: LÁZÁR Imre <imre@illusion.hu>
Assisted-by: claude-code@claude-opus-4-8
2026-07-16 11:24:39 +02:00

34 lines
1.0 KiB
PHP

<?php
/*------------------------------------------------------------------------
# Copyright (C) 2005-2011 WebxSolution Ltd. All Rights Reserved.
# @license - GPLv2.0
# Author: WebxSolution Ltd
# Websites: http://www.webxsolution.com
# Terms of Use: An extension that is derived from the JoomlaCK editor will only be allowed under the following conditions: http://joomlackeditor.com/terms-of-use
# ------------------------------------------------------------------------*/
// Do not allow direct access
defined( '_JEXEC' ) or die( 'Restricted access' );
jimport( 'joomla.plugin.plugin' );
class plgSystemJCKModal extends JPlugin
{
function plgSystemJCKModal(& $subject, $config)
{
parent::__construct($subject, $config);
}
function onAfterInitialise()
{
$app = JFactory::getApplication();
if( method_exists( 'JHTML', '_' ) && $app->isSite() )
{
JHtml::_('behavior.framework'); // -PC- [#2504]
JHTML::_('behavior.modal');
}//end
}//end function onAfterInitialise
}//end class plgSystemJCKModal