Файловый менеджер - Редактировать - /var/www/html/com_jdownloads.zip
Ðазад
PK ! t�PT js/form-edit.min.js.gznu �[��� � m��JC1EE�(x���>AQ\nJ�dZC'�&� ��&�!�0w8�����˩� Z�Qp^�m2���ޏGJ��P�j��r���YFO^ �ޘ��q�b�&*�7br�˲���`��6�\Ft � ���5�Y.�g��h����b�$#Sl+w�G }�!��ڪ�"�q�����,�C<"�V0�{�k=��G���ݰ)a;Iuˮ|vSwO9GFs9����ɤ q PK ! ���2 2 ) js/admin-associations-modal-es5.min.js.gznu �[��� � uQ�NB1��iã���; r�H<x4�vц�j����myA1�������dz��^� ^��DW����C+���z6���ݡ�pCrG �����ML������$x�X@Cqve��O��M�����SGu��Ό �X����� �}yU�YMJ�s��W��}&G�CT:n#g��T���?�o����<�K}`ߑ곴�R��1�KYo�I�A��9:�C0�eË<˴�$Uk ��h�Y���������_Q�`�U�$NJ����<��=�95]�~��I� PK ! �ɤ q q js/form-edit.min.jsnu �[��� ((t,e)=>{const a="data-submit-task";t.addEventListener("DOMContentLoaded",(()=>{[].slice.call(t.querySelectorAll("[data-submit-task]")).forEach((l=>{l.addEventListener("click",(l=>{l.preventDefault();(a=>{const l=t.getElementById("adminForm");("article.cancel"===a||t.formvalidator.isValid(l))&&e(a,l)})(l.target.getAttribute(a))}))}))}))})(document,Joomla.submitform);PK ! wQ���6 �6 js/sidebyside.jsnu �[��� /** * @copyright (C) 2017 Open Source Matters, Inc. <https://www.joomla.org> * @license GNU General Public License version 2 or later; see LICENSE.txt */ // @TODO remove jQuery dependency jQuery(document).ready(function($) { $('#toolbar-target').hide(); $('#toolbar-copy').hide(); // Save button actions, replacing the default Joomla.submitbutton() with custom function. Joomla.submitbutton = function(task) { // Using close button, normal joomla submit. if (task === 'association.cancel') { Joomla.submitform(task); } else if(task === 'copy') { document.body.appendChild(document.createElement('joomla-core-loader')); var targetLang = document.getElementById('target-association').getAttribute('data-language'), referlangInput = window.frames['reference-association'].document.getElementById('jform_language'); // Set target language, to get correct content language in the copy referlangInput.removeAttribute('disabled'); referlangInput.value = targetLang; window.frames['reference-association'].Joomla.submitbutton(document.getElementById('adminForm').getAttribute('data-associatedview') + '.save2copy'); } else if (task === 'undo-association') { // Undo association var reference = document.getElementById('reference-association'); var target = document.getElementById('target-association'); var referenceId = reference.getAttribute('data-id'); var referenceLang = reference.getAttribute('data-language').replace(/-/,'_'); var targetId = target.getAttribute('data-id'); var targetLang = target.getAttribute('data-language').replace(/-/,'_'); reference = $(reference).contents(); target = $(target).contents(); // Remove it on the reference // - For modal association selectors. reference.find('#jform_associations_' + targetLang + '_id').val(''); reference.find('#jform_associations_' + targetLang + '_name').val(''); // - For chosen association selectors (menus). reference.find('#jform_associations_' + targetLang).val(''); var lang = ''; // Remove it on the target $('#jform_itemlanguage option').each(function() { lang = $(this).val().split('|')[0]; if (typeof lang !== 'undefined') { lang = lang.replace(/-/,'_'); // - For modal association selectors. target.find('#jform_associations_' + lang + '_id').val(''); // - For chosen association selectors (menus). target.find('#jform_associations_' + lang).val(''); } }); // Same as above but reference language is not in the selector // - For modal association selectors. target.find('#jform_associations_' + referenceLang + '_id').val(''); target.find('#jform_associations_' + referenceLang + '_name').val(''); // - For chosen association selectors (menus). target.find('#jform_associations_' + referenceLang).val(''); // Reset switcher after removing association var currentLangSelect = $('#jform_itemlanguage'); var currentSwitcher = currentLangSelect.val(); var currentLang = targetLang.replace(/_/,'-'); $('#jform_itemlanguage option[value=\"' + currentSwitcher + '\"]').val(currentLang + ':0:add'); currentLangSelect.val(''); currentLangSelect[0].dispatchEvent(new CustomEvent('change', { bubbles: true, cancelable: true, })); // Save one of the items to confirm action Joomla.submitbutton('reference'); } else { // Saving target or reference, send the save action to the target/reference iframe. // We need to re-enable the language field to save. $('#' + task + '-association').contents().find('#jform_language').attr('disabled', false); window.frames[task + '-association'].Joomla.submitbutton(document.getElementById('adminForm').getAttribute('data-associatedview') + '.apply'); } return false; }; // Attach behaviour to toggle button. $(document).on('click', '#toggle-left-panel', function() { var referenceHide = this.getAttribute('data-hide-reference'); var referenceShow = this.getAttribute('data-show-reference'); if ($(this).text() === referenceHide) { $(this).text(referenceShow); } else { $(this).text(referenceHide); } $('#left-panel').toggle(); $('#right-panel').toggleClass('full-width'); }); // Attach behaviour to language selector change event. $(document).on('change', '#jform_itemlanguage', function() { var target = document.getElementById('target-association'); var selected = $(this).val(); // Populate the data attributes and load the the edit page in target frame. if (selected !== '' && typeof selected !== 'undefined') { target.setAttribute('data-action', selected.split(':')[2]); target.setAttribute('data-id', selected.split(':')[1]); target.setAttribute('data-language', selected.split(':')[0]); // Iframe load start, show Joomla loading layer. document.body.appendChild(document.createElement('joomla-core-loader')); // Load the target frame. target.src = target.getAttribute('data-editurl') + '&task=' + target.getAttribute('data-item') + '.' + target.getAttribute('data-action') + '&id=' + target.getAttribute('data-id'); } else { // Reset the data attributes and no item to load. $('#toolbar-target').hide(); $('#toolbar-copy').hide(); $('#select-change').addClass("hidden"); $('#remove-assoc').addClass("hidden"); target.setAttribute('data-action', ''); target.setAttribute('data-id', '0'); target.setAttribute('data-language', ''); target.src = ''; } }); // Attach behaviour to reference frame load event. $('#reference-association').on('load', function() { // Waiting until the reference has loaded before loading the target to avoid race conditions var targetURL = Joomla.getOptions('targetSrc', false); if (targetURL) { targetURL = targetURL.split('&').join('&'); document.getElementById('target-association').setAttribute('src', targetURL); Joomla.loadOptions({'targetSrc': false}); return; } // Load Target Pane AFTER reference pane has loaded to prevent session conflict with checkout document.getElementById('target-association').setAttribute('src', document.getElementById('target-association').getAttribute('src')); // If copy button used if ($(this).contents().find('#jform_id').val() !== this.getAttribute('data-id')) { var target = document.getElementById('target-association'); target.src = target.getAttribute('data-editurl') + '&task=' + target.getAttribute('data-item') + '.edit' + '&id=' + $(this).contents().find('#jform_id').val(); this.src = this.getAttribute('data-editurl') + '&task=' + this.getAttribute('data-item') + '.edit' + '&id=' + this.getAttribute('data-id'); } var reference = $(this).contents(); // Disable language field. reference.find('#jform_language').attr('disabled', ''); // Remove modal buttons on the reference reference.find('#associations').find('.btn').remove(); var parse = ''; $('#jform_itemlanguage option').each(function() { parse = $(this).val().split(':'); if (typeof parse[0] !== 'undefined') { // - For modal association selectors. var langAssociation = parse[0].replace(/-/,'_'); if (reference.find('#jform_associations_' + langAssociation + '_id').val() == '') { reference.find('#jform_associations_' + langAssociation + '_name') .val(document.getElementById('reference-association').getAttribute('data-no-assoc')); } } }); // Iframe load finished, hide Joomla loading layer. var spinner = document.querySelector('joomla-core-loader'); if (spinner) { spinner.parentNode.removeChild(spinner); } }); // Attach behaviour to target frame load event. $('#target-association').on('load', function() { // We need to check if we are not loading a blank iframe. if (this.getAttribute('src') != '') { $('#toolbar-target').show(); $('#toolbar-copy').show(); $('#select-change').removeClass("hidden"); var targetLanguage = this.getAttribute('data-language'); var targetId = this.getAttribute('data-id'); var targetLoadedId = $(this).contents().find('#jform_id').val() || '0'; // Remove modal buttons on the target $(this).contents().find('a[href=\"#associations\"]').parent().find('.btn').remove(); $(this).contents().find('#associations').find('.btn').remove(); // Always show General tab first if associations tab is selected on the reference if ($(this).contents().find('#associations').hasClass('active')) { $(this).contents().find('a[href=\"#associations\"]').parent().removeClass('active'); $(this).contents().find('#associations').removeClass('active'); $(this).contents().find('.nav-tabs').find('li').first().addClass('active'); $(this).contents().find('.tab-content').find('.tab-pane').first().addClass('active'); } // Update language field with the selected language and them disable it. $(this).contents().find('#jform_language').val(targetLanguage).attr('disabled', ''); // If we are creating a new association (before save) we need to add the new association. if (targetLoadedId == '0') { document.getElementById('select-change-text').innerHTML = Joomla.sanitizeHtml(document.getElementById('select-change').getAttribute('data-select')); } // If we are editing an association. else { // Show change language button document.getElementById('select-change-text').innerHTML = Joomla.sanitizeHtml(document.getElementById('select-change').getAttribute('data-change')); $('#remove-assoc').removeClass("hidden"); $('#toolbar-copy').hide(); // Add the id to list of items to check in on close. var currentIdList = document.getElementById('target-id').value; var updatedList = currentIdList == '' ? targetLoadedId : currentIdList + ',' + targetLoadedId; document.getElementById('target-id').value = updatedList; // If we created a new association (after save). if (targetLoadedId != targetId) { // Refresh the language selector with the new id (used after save). $('#jform_itemlanguage option[value^=\"' + targetLanguage + ':' + targetId + ':add\"]').val(targetLanguage + ':' + targetLoadedId + ':edit'); // Update main frame data-id attribute (used after save). this.setAttribute('data-id', targetLoadedId); this.setAttribute('data-action', 'edit'); } // Update the reference item associations tab. var reference = document.getElementById('reference-association'); var languageCode = targetLanguage.replace(/-/, '_'); var referenceTitle = reference.getAttribute('data-title'); var title = $(this).contents().find('#jform_' + referenceTitle).val(); // - For modal association selectors. $(reference).contents().find('#jform_associations_' + languageCode + '_id').val(targetLoadedId); $(reference).contents().find('#jform_associations_' + languageCode + '_name').val(title); // - For chosen association selectors (menus). $(reference).contents().find('#jform_associations_' + languageCode).append('<option value=\"'+ targetLoadedId + '\">' + title + '</option>'); $(reference).contents().find('#jform_associations_' + languageCode).val(targetLoadedId); } // Update the target item associations tab. var reference = document.getElementById('reference-association'); var referenceId = reference.getAttribute('data-id'); var languageCode = reference.getAttribute('data-language').replace(/-/, '_'); var target = document.getElementById('target-association'); var targetTitle = target.getAttribute('data-title'); var title = reference.getAttribute('data-title-value'); var target = $(this).contents(); // - For modal association selectors. target.find('#jform_associations_' + languageCode + '_id').val(referenceId); target.find('#jform_associations_' + languageCode + '_name').val(title); // - For chosen association selectors (menus). var chosenField = target.find('#jform_associations_' + languageCode); chosenField.append('<option value=\"'+ referenceId + '\">' + title + '</option>'); chosenField.val(referenceId); var parse, langAssociation; $('#jform_itemlanguage option').each(function() { parse = $(this).val().split(':'); if (typeof parse[1] !== 'undefined' && parse[1] !== '0') { // - For modal association selectors. langAssociation = parse[0].replace(/-/,'_'); target.find('#jform_associations_' + langAssociation + '_id').val(parse[1]); // - For chosen association selectors (menus). chosenField = target.find('#jform_associations_' + langAssociation); chosenField.append('<option value=\"'+ parse[1] + '\"></option>'); chosenField.val(parse[1]); } }); // Iframe load finished, hide Joomla loading layer. var spinner = document.querySelector('joomla-core-loader'); if (spinner) { spinner.parentNode.removeChild(spinner); } } }); }); PK ! 5��\ \ js/associations-edit.min.js.gznu �[��� � �VmO�8�+�C�}g|M�C��.E���PU�$C���=��6�}�Ii�� �V�R'�qf�y�\3S2~�uf��eu�Z-KN)p� &y-�L�K��;Ñp*OA�R)���E���>"ȭ�����u8����Ľ�m�N(ux�:�g�7Q��S��^u%���SÖF������]�<�0aa�d �(�rG�����d7��`�7��p�V�6N� ���Bf%�B7K�J�M��*?�99���M*>��� &�V0���d�e���+1n��ڃ�iU�C��z��"�� �}"����ˋn��MZ�~�<�� ��^��9� ƀ.�[�Q�~s���`�`�k��(���P�3k s=Ev t1u5� �N�"M�Sz�cf��R(�c?i4^cۻ��X8Z��+�cb��+5��?4���F"����^��}��f\J���&@�^�3�kF8���c��pc4B��ݓ�:��h�Ia:�A�w�O�oz�֠�|ou��o��ҹ5s9��jW�͖��=��+|���-�R����"��DI=.0X.��^���ȩ|����n- �Gd��"m'�$��Tt�H3�̇Z��/ � (ϣ:���"K�6�$u�^x�D M=�O�uby�ˁ4h@V`�_��"<���l]���d��M����FB�C7��gXSƇ#&�&ה40[��F��y���2 a���e^�6-���PX�t�鲰*R|~b��\��E��ޕp(Zz��/0Z>�\pђ��`4����;�#�+P�*(Knt�n��U}���h������f��m���E��r�d|�������ч��J��~�3�L1#8Zv5�uy��ם\d�2W3;�5r��9���Ҧܰ��5OP�+8:Xg/j)�'���3%�,����L?j����8��2N'�^yb�X�,���3��Y3���O��q��+p�4K9CI5C�n�>����$�,���_��~�����g�z;�wEi���1[w����i��5:E�N7+��ժ�X/h%��#�j�ܴ��A�o��suQ��&h_'�$���t5;Ï֟j<3i`͟��� PK ! Ud��X X js/form-edit-es5.jsnu �[��� (function () { 'use strict'; /** * @copyright (C) 2018 Open Source Matters, Inc. <https://www.joomla.org> * @license GNU General Public License version 2 or later; see LICENSE.txt */ (function (document, submitForm) { var buttonDataSelector = 'data-submit-task'; var formId = 'adminForm'; /** * Submit the task * @param task */ var submitTask = function submitTask(task) { var form = document.getElementById(formId); if (task === 'article.cancel' || document.formvalidator.isValid(form)) { submitForm(task, form); } }; // Register events document.addEventListener('DOMContentLoaded', function () { var buttons = [].slice.call(document.querySelectorAll("[" + buttonDataSelector + "]")); buttons.forEach(function (button) { button.addEventListener('click', function (e) { e.preventDefault(); var task = e.target.getAttribute(buttonDataSelector); submitTask(task); }); }); }); })(document, Joomla.submitform); })(); PK ! ��* js/form-edit-es5.min.js.gznu �[��� � m��J1�_�͢$0���vEq!�)]�&wjh~4�(m����XD�"��p�s3�Wd����r�Y�h�v> Ԡ8�g�c�)%A:��$hݏ���$B������}�Tg4j���f+�5 �k9ɯ����*#����2!�b�f�8�?xU����g�j[� ��$��zБ�#�]��5g���!:&��d��ŽB˺���3�bnkJ��I�^�b�@�� �� XQ��]�� q��A�Jn�Bp�u�^D�~LҘ0� PK ! ��(�� � "