Файловый менеджер - Редактировать - /var/www/html/fields.zip
Ðазад
PK ! É�* * # joomla-field-module-order.min.js.gznu �[��� � �U�n�8}�W0D �-�\��.��l6M�Kw����ɱŖ&�$�U��Jro��!�g��p�����W�5���X �>8�4"� ��Tz]�6K�r��}9����'t]�ESWy �R�>0tne��1�a|p�Z��/��w-��lx���Ot�0�c53Z��>�|�c�<2"��� �.�ON���y��(�*D�<5�C�`�-�m<�k0j�t�20r^��L�o� �ˋ���Ά�+�'�U �Pr��WP$�)H)���1�^h+�Gt��>V^G�}mŅ1�i�HZ�w[@���u�,�Hg-��D3�+����A��_c�zVE X�(F]n�L����eO��!H�V�� �z�<�Wuy��C� j��j��('���k�����Q�KJ}�b� �bۘ�n����:d'��\(uz6&���,a���]w��m&�����ּ��sL��@D����']���!8�:`�5��H� f�Yy��M�a�4�������1���A߉ٮPy��J���˓����hV,Z��ST+s�&s�I�R��E���{*5�ze?zW��k"(��Fm+�Ѓ �����Y�n��Dw�r{st�t������F��Q��qi��9����,���%{.�<�f��g�Z�[�_�DY�U'�6�h�~Դ�|�~cp�S�6[�J;�EjС*o0en0.�G:ђ�Y��k��� �a�!e�o{�=�?���1N�:�o �n�*Lgh�QN��S-��eUgb���� DRWތ�k�d��Z��5���~��삺�cK��Sc|v� �|�?�;d>�k|�lL��.��(K��H��F��jԞ���t n���JJ�����o�I�����Wy)| bh#E� �h89�nh���Srv�w��N,a~8 o��Q{ny�~n�P f�N��o/�� �=�j,��]C�,�^�1��i�7G&_Bb�s�f_��Y���ǹ��ɲG���G�S"m��L^� ��d� PK ! �l@�F F joomla-field-permissions.jsnu �[��� /** * @copyright (C) 2019 Open Source Matters, Inc. <https://www.joomla.org> * @license GNU General Public License version 2 or later; see LICENSE.txt */ window.customElements.define('joomla-field-permissions', class extends HTMLElement { constructor() { super(); if (!Joomla) { throw new Error('Joomla API is not properly initiated'); } if (!this.getAttribute('data-uri')) { throw new Error('No valid url for validation'); } this.query = window.location.search.substring(1); this.buttons = ''; this.buttonDataSelector = 'data-onchange-task'; this.onDropdownChange = this.onDropdownChange.bind(this); this.getUrlParam = this.getUrlParam.bind(this); this.component = this.getUrlParam('component'); this.extension = this.getUrlParam('extension'); this.option = this.getUrlParam('option'); this.view = this.getUrlParam('view'); this.asset = 'not'; this.context = ''; } /** * Lifecycle */ connectedCallback() { this.buttons = document.querySelectorAll(`[${this.buttonDataSelector}]`); if (this.buttons) { this.buttons.forEach(button => { button.addEventListener('change', this.onDropdownChange); }); } } /** * Lifecycle */ disconnectedCallback() { if (this.buttons) { this.buttons.forEach(button => { button.removeEventListener('change', this.onDropdownChange); }); } } /** * Lifecycle */ onDropdownChange(event) { event.preventDefault(); const task = event.target.getAttribute(this.buttonDataSelector); if (task === 'permissions.apply') { this.sendPermissions(event); } } sendPermissions(event) { const { target } = event; // Set the icon while storing the values const icon = document.getElementById(`icon_${target.id}`); icon.removeAttribute('class'); icon.setAttribute('class', 'joomla-icon joomla-field-permissions__spinner'); // Get values add prepare GET-Parameter const { value } = target; if (document.getElementById('jform_context')) { this.context = document.getElementById('jform_context').value; [this.context] = this.context.split('.'); } if (this.option === 'com_config' && !this.component && !this.extension) { this.asset = 'root.1'; } else if (!this.extension && this.view === 'component') { this.asset = this.component; } else if (this.context) { if (this.view === 'group') { this.asset = `${this.context}.fieldgroup.${this.getUrlParam('id')}`; } else { this.asset = `${this.context}.field.{this.getUrlParam('id')}`; } this.title = document.getElementById('jform_title').value; } else if (this.extension && this.view) { this.asset = `${this.extension}.${this.view}.${this.getUrlParam('id')}`; this.title = document.getElementById('jform_title').value; } else if (!this.extension && this.view) { this.asset = `${this.option}.${this.view}.${this.getUrlParam('id')}`; this.title = document.getElementById('jform_title').value; } const id = target.id.replace('jform_rules_', ''); const lastUnderscoreIndex = id.lastIndexOf('_'); const permissionData = { comp: this.asset, action: id.substring(0, lastUnderscoreIndex), rule: id.substring(lastUnderscoreIndex + 1), value, title: this.title }; // Remove JS messages, if they exist. Joomla.removeMessages(); // Ajax request Joomla.request({ url: this.getAttribute('data-uri'), method: 'POST', data: JSON.stringify(permissionData), perform: true, headers: { 'Content-Type': 'application/json' }, onSuccess: data => { let response; try { response = JSON.parse(data); } catch (e) { console.error(e); } icon.removeAttribute('class'); // Check if everything is OK if (response.data && response.data.result) { icon.setAttribute('class', 'joomla-icon joomla-field-permissions__allowed'); const badgeSpan = target.parentNode.parentNode.nextElementSibling.querySelector('span'); badgeSpan.removeAttribute('class'); badgeSpan.setAttribute('class', response.data.class); badgeSpan.innerHTML = Joomla.sanitizeHtml(response.data.text); } // Render messages, if any. There are only message in case of errors. if (typeof response.messages === 'object' && response.messages !== null) { Joomla.renderMessages(response.messages); if (response.data && response.data.result) { icon.setAttribute('class', 'joomla-icon joomla-field-permissions__allowed'); } else { icon.setAttribute('class', 'joomla-icon joomla-field-permissions__denied'); } } }, onError: xhr => { // Remove the spinning icon. icon.removeAttribute('style'); Joomla.renderMessages(Joomla.ajaxErrorsMessages(xhr, xhr.statusText)); icon.setAttribute('class', 'joomla-icon joomla-field-permissions__denied'); } }); } getUrlParam(variable) { const vars = this.query.split('&'); let i = 0; for (i; i < vars.length; i += 1) { const pair = vars[i].split('='); if (pair[0] === variable) { return pair[1]; } } return false; } }); PK ! ��z� � joomla-field-send-test-mail.jsnu �[��� ((customElements, Joomla) => { class JoomlaFieldSendTestMail extends HTMLElement { // attributeChangedCallback(attr, oldValue, newValue) {} constructor() { super(); if (!Joomla) { throw new Error('Joomla API is not properly initiated'); } if (!this.getAttribute('uri')) { throw new Error('No valid url for validation'); } } connectedCallback() { const self = this; const button = document.getElementById('sendtestmail'); if (button) { button.addEventListener('click', () => { self.sendTestMail(self); }); } } sendTestMail() { const emailData = { smtpauth: document.getElementById('jform_smtpauth1').checked ? 1 : 0, smtpuser: this.querySelector('[name="jform[smtpuser]"]').value, smtphost: this.querySelector('[name="jform[smtphost]"]').value, smtpsecure: this.querySelector('[name="jform[smtpsecure]"]').value, smtpport: this.querySelector('[name="jform[smtpport]"]').value, mailfrom: this.querySelector('[name="jform[mailfrom]"]').value, fromname: this.querySelector('[name="jform[fromname]"]').value, mailer: this.querySelector('[name="jform[mailer]"]').value, mailonline: document.getElementById('jform_mailonline1').checked ? 1 : 0 }; const smtppass = this.querySelector('[name="jform[smtppass]"]'); if (smtppass.disabled === false) { emailData.smtppass = smtppass.value; } // Remove js messages, if they exist. Joomla.removeMessages(); Joomla.request({ url: this.getAttribute('uri'), method: 'POST', data: JSON.stringify(emailData), perform: true, headers: { 'Content-Type': 'application/json' }, onSuccess: resp => { let response; try { response = JSON.parse(resp); } catch (e) { console.error(e); } if (typeof response.messages === 'object' && response.messages !== null) { Joomla.renderMessages(response.messages); } document.body.scrollIntoView({ behavior: 'smooth' }); }, onError: xhr => { Joomla.renderMessages(Joomla.ajaxErrorsMessages(xhr)); document.body.scrollIntoView({ behavior: 'smooth' }); } }); } } customElements.define('joomla-field-send-test-mail', JoomlaFieldSendTestMail); })(customElements, Joomla); PK ! ��E�� � select-colour.min.js.gznu �[��� � �R�n1}�+���Ș�S�\DB"I%�p�S���[�,%�{d�6i��4�2:3n7� h �&���J�u���P��Y��E�3�I��[ _����z�CX:�C�_�\i�Bz�0F��8�^�t���+��He�Ѓ��8 B��d8���4��4�B���O>Ol��O�SsR&�L$�x�W�ը�9@m�!���:�2�Pd�B\�ZnQm-e�na�c&���{}nb��}���y~N�Փ�3���]�"�z�����f�c�x����b��0f2!#c�ζq��ob�>�Q��>EQ�F+���"���f�˭Tnj�[�C��p7�S/��L��ґ�Q��?��d�_�uU> �B/�~ۚ PK ! ���' ' "