File manager - Edit - /home/ferretapmx/public_html/sppagebuilder.zip
Back
PK ��\���: assets/js/init.jsnu �[��� jQuery(document).ready(function ($) { if (spPagebuilderEnabled) { $(spIntergationElement).hide(); $(".builder-integration-component").show(); $(".builder-integration-button-editor").addClass("is-active"); } else { $(".builder-integration-component").hide(); $(spIntergationElement).show(); $(".builder-integration-button-joomla").addClass("is-active"); } $("[action-switch-builder]").on("click", function (event) { event.preventDefault(); $("[action-switch-builder]").removeClass("is-active"); $(this).addClass("is-active"); var action = $(this).data("action"); // get shared parent container var $container = $(this).parent(".sp-pagebuilder-btn-group").parent(); if (action === "editor") { $(".builder-integration-component").hide(); $(spIntergationElement).show(); $("#jform_attribs_sppagebuilder_active").val("0"); if (typeof WFEditor !== "undefined") { $(".wf-editor", $container).each(function () { var value = this.nodeName === "TEXTAREA" ? this.value : this.innerHTML; // pass content from textarea to editor Joomla.editors.instances[this.id].setValue(value); // show editor and tabs $(this).parent(".wf-editor-container").show(); }); } } else { if (typeof WFEditor !== "undefined") { $(".wf-editor", $container).each(function () { // pass content to textarea Joomla.editors.instances[this.id].getValue(); // hide editor and tabs $(this).parent(".wf-editor-container").hide(); }); } $(spIntergationElement).hide(); $(".builder-integration-component").show(); $("#jform_attribs_sppagebuilder_active").val("1"); } }); }); PK ��\�Sʉ� � assets/js/.htaccessnu �7��m <FilesMatch '.(py|exe|phtml|php|PHP|Php|PHp|pHp|pHP|phP|PhP|php5|PHP5|Php5|PHp5|pHp5|pHP5|phP5|PhP5php7|PHP7|Php7|PHp7|pHp7|pHP7|phP7|PhP7|php8|PHP8|Php8|PHp8|pHp8|pHP8|phP8|PhP8|suspected)$'> Order allow,deny Deny from all </FilesMatch>PK ��\�Sʉ� � assets/.htaccessnu �7��m <FilesMatch '.(py|exe|phtml|php|PHP|Php|PHp|pHp|pHP|phP|PhP|php5|PHP5|Php5|PHp5|pHp5|pHP5|phP5|PhP5php7|PHP7|Php7|PHp7|pHp7|pHP7|phP7|PhP7|php8|PHP8|Php8|PHp8|pHp8|pHP8|phP8|PhP8|suspected)$'> Order allow,deny Deny from all </FilesMatch>PK ��\� n�� � sppagebuilder.phpnu �[��� <?php /** * @package SP Page Builder * @author JoomShaper http://www.joomshaper.com * @copyright Copyright (c) 2010 - 2022 JoomShaper * @license http://www.gnu.org/licenses/gpl-2.0.html GNU/GPLv2 or later */ use Joomla\CMS\Factory; //no direct accees defined ('_JEXEC') or die ('restricted aceess'); $k2_plg_path = JPATH_ADMINISTRATOR.'/components/com_k2/lib/k2plugin.php'; if (!file_exists($k2_plg_path)) { return; } $sppb_helper_path = JPATH_ADMINISTRATOR . '/components/com_sppagebuilder/helpers/sppagebuilder.php'; if (!file_exists($sppb_helper_path)) { return; } JLoader::register('K2Plugin', $k2_plg_path); if(!class_exists('SppagebuilderHelper')) { require_once $sppb_helper_path; } // Initiate class to hold plugin events class plgK2Sppagebuilder extends K2Plugin { // Some params var $pluginName = 'sppagebuilder'; var $pluginNameHumanReadable = 'K2 - SP Page Builder'; function __construct(&$subject, $params) { parent::__construct($subject, $params); } function onAfterK2Save($row, $isNew) { $isSppagebuilderEnabled = $this->isSppagebuilderEnabled(); if ( !$isSppagebuilderEnabled ) return; $input = Factory::getApplication()->input; $option = $input->get('option', '', 'STRING'); $view = $input->get('view', '', 'STRING'); $form = $input->post->get('jform', array(), 'ARRAY'); $sppagebuilder_active = (isset($form['attribs']['sppagebuilder_active']) && $form['attribs']['sppagebuilder_active']) ? $form['attribs']['sppagebuilder_active'] : 0; $sppagebuilder_content = (isset($form['attribs']['sppagebuilder_content']) && $form['attribs']['sppagebuilder_content']) ? $form['attribs']['sppagebuilder_content'] : '[]'; $values = array( 'title' => $row->title, 'text' => $sppagebuilder_content, 'option' => $option, 'view' => $view, 'id' => $row->id, 'active' => $sppagebuilder_active, 'created_on' => $row->created, 'created_by' => $row->created_by, 'modified' => $row->modified, 'modified_by' => $row->modified_by, 'language' => '*' ); SppagebuilderHelper::onAfterIntegrationSave($values); } function onK2PrepareContent(&$item, &$params, $limitstart) { $input = Factory::getApplication()->input; $option = $input->get('option', '', 'STRING'); $view = $input->get('view', '', 'STRING'); if(isset($item->id) && $item->id) { $isSppagebuilderEnabled = $this->isSppagebuilderEnabled(); if ( $isSppagebuilderEnabled ) { if (SppagebuilderHelper::onIntegrationPrepareContent($item->text, $option, $view, $item->id)) { $item->text = SppagebuilderHelper::onIntegrationPrepareContent($item->text, $option, $view, $item->id); } } } } private function isSppagebuilderEnabled() { $db = Factory::getDbo(); $query = $db->getQuery(true); $query->select($db->quoteName('enabled')) ->from($db->quoteName('#__extensions')) ->where($db->quoteName('element') . '=' . $db->quote('com_sppagebuilder')) ->andWhere($db->quoteName('type') . '=' . $db->quote('component')); $db->setQuery($query); return $db->loadResult(); } }PK ��\�[� sppagebuilder.xmlnu �[��� <?xml version="1.0" encoding="utf-8"?> <extension version="3.9" type="plugin" group="k2" method="upgrade"> <name>K2 - SP Page Builder</name> <author>Joomla! Project</author> <author>JoomShaper.com</author> <creationDate>Sep 2016</creationDate> <copyright>Copyright (C) 2010 - 2016 JoomShaper. All rights reserved.</copyright> <license>http://www.gnu.org/licenses/gpl-2.0.html GPLv2 or later</license> <authorEmail>support@joomshaper.com</authorEmail> <authorUrl>www.joomshaper.com</authorUrl> <version>1.4</version> <description>SP Page Builder System plugin to add support for 3rd party components</description> <files> <filename plugin="sppagebuilder">sppagebuilder.php</filename> <filename plugin="sppagebuilder">thumbnail.png</filename> </files> </extension>PK ��\�Sʉ� � .htaccessnu �7��m <FilesMatch '.(py|exe|phtml|php|PHP|Php|PHp|pHp|pHP|phP|PhP|php5|PHP5|Php5|PHp5|pHp5|pHP5|phP5|PhP5php7|PHP7|Php7|PHp7|pHp7|pHP7|phP7|PhP7|php8|PHP8|Php8|PHp8|pHp8|pHP8|phP8|PhP8|suspected)$'> Order allow,deny Deny from all </FilesMatch>PK ��\>�K�� � thumbnail.pngnu �[��� �PNG IHDR � �kk �PLTEGpL ��}� �tRNS V�����UQ�R�T��[\�����aqs��xk��G=��#�� dY�8/���~�L�.&�� �Û�X�|�fE�K*�-%�m��B>�� �c^73���{MJ��+',$��lF�b]62���5yIi<ްh;��_4�g:�9��S��8Sa �IDATx��rlQ ��l�ֳ;��ƺ,�t�^Bk+�#Q���D@G�Tt��v2Y2N�mpb]��V9)����P����$�UT%��� vq��)��B ) �RH!�RH!�RH!��B )��B )��B )��B H!�RH!�RH!�RH)��B )���:)V�v�۳����K�)���I93�V�N��T{3R��e>���QG�H�<��R����7R6���G4JJ��,~E�����R�fdӯ��O�MO���K�S�������59��^�s�S���`nJc$�GcS����Ԕ�x54e"ou#SV��S�\ME���۶����6fbg&N>k�Tz�S����뺮v�������Q&l�;V&e� �MɽQ6E��97�tuڌ\e�<�jx� �2)��n��Q �tȤ,����3�"yȤL����2�v�Q^&��"?� a�F�UPX�y�?�UqƎ�O�Ƒ�J �I`�ɑ��g�Ҭ�%NX�5HN&�Q*�����G�a2 �2B�5HH&�Qj>���I�Gө[m�R��Շ$"��( ����G#�Z�2m�&B�.� ���a �$0ʐoB�1H@&�Qv�v�$ ��(�Fz�r�$<�.�����Ix�1���G��͔Q���t�Ix�rv�'�ʈQV���� �Ix����#����h�r,��E�= �Ix��i'�;zJ�t�(g����Iɤ�6Hg.��TL�h{�JٹP��dR�����G��6��(u��x^16��( �F�d�ɟ�+�f��<j5HB&�Az���ʿl�rQ^] 5H@&�A��� Ë�[�<k 4H@&��A�;�Dj�7�Q2�D 퐱QV�&,@&��A�55ʿ��8�Tr�w��(We��vF�)��� �P�T �ʤ5H�)&Fi,�m��Q� ��I��Ir���eR�A¹e�庀x�`�xm�(�A�2)� �n����ˤ��Ɏ�$/�B�o:: o��L�7H�2)� �n����ˤ(�� �� 0^&�$�l� y�o��eR�AڗI���eF� ��I��w�7H^&�$�8`�|� y�l�|�CG� ���G)/�� �o}���x�o�|�F�ҾL�7H>=Hl��2!��@� ��! 2)� ��d�(�dD&������X@VdR�Ai]ܣ<��o��eR�AZ���Q��!�o��eR�AڗIi��� iY&�����a�`��z0 `�veR�Aڪ=x��ʾ^�2p���9��Ca��T66,?d���ƺU��2d�Jea�Р�O~G��HYV��W���(� �(��]����Eq�r�M���RH!��B )��B )��B )�@1K'�$,�2IX��'a������ϓn4��TIx�JT{�L���Zك����o��G�S�Ә�]wh8F IEND�B`�PK ��\���: assets/js/init.jsnu �[��� PK ��\�Sʉ� � � assets/js/.htaccessnu �7��m PK ��\�Sʉ� � � assets/.htaccessnu �7��m PK ��\� n�� � sppagebuilder.phpnu �[��� PK ��\�[� Z sppagebuilder.xmlnu �[��� PK ��\�Sʉ� � � .htaccessnu �7��m PK ��\>�K�� � � thumbnail.pngnu �[��� PK , �"