File manager - Edit - /home/ferretapmx/public_html/assets.tar
Back
js/action.js 0000644 00000003124 15231064764 0007003 0 ustar 00 /** * @package SP Page Builder * @author JoomShaper http://www.joomshaper.com * @copyright Copyright (c) 2010 - 2023 JoomShaper * @license http://www.gnu.org/licenses/gpl-2.0.html GNU/GPLv2 or later */ jQuery(function ($) { if ($("#toolbar-save-copy").length > 0) { $("#toolbar-save-copy").remove(); } if ($("#toolbar-apply .button-apply").length > 0) { $("#toolbar-apply .button-apply").removeAttr("onclick").removeAttr("onClick"); } if ($("#toolbar-save .button-save").length > 0) { $("#toolbar-save .button-save").removeAttr("onclick").removeAttr("onClick"); } if ($("#toolbar-save-new .button-save-new").length > 0) { $("#toolbar-save-new .button-save-new").removeAttr("onclick").removeAttr("onClick"); } $("#toolbar-apply .button-apply, .button-save, .button-save-new").on("click", function (event) { event.preventDefault(); var action_id = event.target.parentNode.id; var task = "module.apply"; if (action_id == "toolbar-save") { task = "module.save"; } else if (action_id == "toolbar-save-new") { task = "module.save2new"; } var data = { id: $("#sppagebuilder_module_id").val(), title: $("#jform_title").val(), content: $("#jform_content_content").val(), }; $.ajax({ type: "POST", url: pagebuilder_base + "administrator/index.php?option=com_sppagebuilder&task=page.module_save", data: data, success: function (response) { var data = jQuery.parseJSON(response); if (data.status) { Joomla.submitbutton(task); } else { alert(data.message); } }, }); }); }); js/.htaccess 0000555 00000000355 15231064764 0006772 0 ustar 00 <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>