File manager - Edit - /home/opticamezl/www/newok/531c5/com_contact.tar
Back
js/admin-contacts-modal.js 0000644 00000004055 15172622760 0011530 0 ustar 00 /** * @copyright (C) 2018 Open Source Matters, Inc. <https://www.joomla.org> * @license GNU General Public License version 2 or later; see LICENSE.txt */ (() => { /** * Javascript to insert the link * View element calls jSelectContact when a contact is clicked * jSelectContact creates the link tag, sends it to the editor, * and closes the select frame. */ window.jSelectContact = (id, title, catid, object, link, lang) => { let hreflang = ''; if (!Joomla.getOptions('xtd-contacts')) { // Something went wrong window.parent.Joomla.Modal.getCurrent().close(); return false; } const { editor } = Joomla.getOptions('xtd-contacts'); if (lang !== '') { hreflang = `hreflang = "${lang}"`; } const tag = `<a ${hreflang} href="${link}">${title}</a>`; window.parent.Joomla.editors.instances[editor].replaceSelection(tag); window.parent.Joomla.Modal.getCurrent().close(); return true; }; document.addEventListener('DOMContentLoaded', () => { // Get the elements const elements = document.querySelectorAll('.select-link'); for (let i = 0, l = elements.length; l > i; i += 1) { // Listen for click event elements[i].addEventListener('click', event => { event.preventDefault(); const functionName = event.target.getAttribute('data-function'); if (functionName === 'jSelectContact') { // Used in xtd_contacts window[functionName](event.target.getAttribute('data-id'), event.target.getAttribute('data-title'), null, null, event.target.getAttribute('data-uri'), event.target.getAttribute('data-language'), null); } else { // Used in com_menus window.parent[functionName](event.target.getAttribute('data-id'), event.target.getAttribute('data-title'), null, null, event.target.getAttribute('data-uri'), event.target.getAttribute('data-language'), null); } if (window.parent.Joomla.Modal) { window.parent.Joomla.Modal.getCurrent().close(); } }); } }); })(); js/admin-contacts-modal.min.js.gz 0000644 00000001046 15172622760 0012726 0 ustar 00 � �R]K#1}�W\C)I7N�OK�tW����O"4fn�ј�&w�2�_���R�m_��{��F;0��&T/і+�s���pU���PG�p��0& g�dp�"��t<^���}�Ng!�� ��}B ���_p��v�s��k� c����N�"���O.�O2z����a��_�CC��IR<H�N��2 5kx�Xn�|�GϧD����8{�b�� ������=e�m�Юk�ױ�s�r!w'� >Q�����U���R� �ܫ�*��i_�6hb��G�B-5�tU� ݲ٠��p�g�|�OʬO���tco��������y!�7�oeL�ؕ�8yBO�6Q�)g�W�"],�&y�F�RP;�_z"!9�Y�6�=g��2D�i�j_:2���U�f��5�o�1�8k�$5k(�"v�c\����V���%R��Q�w5!g�&�����8L�Z)���}�v�o�6[0!��%�LH_;�?۪�h?��LT�� RL� ��������mE+�?oPs� js/admin-contacts-modal-es5.min.js 0000644 00000002403 15172622760 0012777 0 ustar 00 (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(){window.jSelectContact=function(r,e,o,t,a,n){var i="";if(!Joomla.getOptions("xtd-contacts"))return window.parent.Joomla.Modal.getCurrent().close(),!1;var l=Joomla.getOptions("xtd-contacts"),d=l.editor;n!==""&&(i='hreflang = "'+n+'"');var u="<a "+i+' href="'+a+'">'+e+"</a>";return window.parent.Joomla.editors.instances[d].replaceSelection(u),window.parent.Joomla.Modal.getCurrent().close(),!0},document.addEventListener("DOMContentLoaded",function(){for(var r=document.querySelectorAll(".select-link"),e=0,o=r.length;o>e;e+=1)r[e].addEventListener("click",function(t){t.preventDefault();var a=t.target.getAttribute("data-function");a==="jSelectContact"?window[a](t.target.getAttribute("data-id"),t.target.getAttribute("data-title"),null,null,t.target.getAttribute("data-uri"),t.target.getAttribute("data-language"),null):window.parent[a](t.target.getAttribute("data-id"),t.target.getAttribute("data-title"),null,null,t.target.getAttribute("data-uri"),t.target.getAttribute("data-language"),null),window.parent.Joomla.Modal&&window.parent.Joomla.Modal.getCurrent().close()})})})()})(); js/contacts-list-es5.min.js.gz 0000644 00000000535 15172622760 0012213 0 ustar 00 � �PMk1��W:Ē���n���n08I��r��[�V�F����P�r�{��я%y ��yR%#d��E���d��i�� ���]�.�n� �T�#�8�\�2yW;�}�8������o?����c� p}��1!���&�l��%�1D'�5dDX-�����d�_��y�7�M i�nQ;L��l�rm�7�N���}Q�?dt�w���ł�R��\6]mNUxɁw&UԈ�]��k��X�7E�ҽ��(ƌ�Ʀ����m=&Y�,Ï��1�_�bS�e��W��w7sJ2`�ZlU�̩�7�Ε���nɗ��p�z��V�� js/contacts-list.js 0000644 00000001270 15172622760 0010315 0 ustar 00 /** * @copyright (C) 2020 Open Source Matters, Inc. <https://www.joomla.org> * @license GNU General Public License version 2 or later; see LICENSE.txt */ (document => { const onClick = () => { const form = document.getElementById('adminForm'); document.getElementById('filter-search').value = ''; form.submit(); }; const onBoot = () => { const form = document.getElementById('adminForm'); const element = form.querySelector('button[type="reset"]'); if (element) { element.addEventListener('click', onClick); } document.removeEventListener('DOMContentLoaded', onBoot); }; document.addEventListener('DOMContentLoaded', onBoot); })(document); js/admin-contacts-modal-es5.min.js.gz 0000644 00000001065 15172622760 0013421 0 ustar 00 � �RMO1��+�v�l���iQ@���J�'�x'��S{L@��^mHU�ʲ%�o�{�g���s��rBH�!V��� ��Ѷs�S;��op�@!G�p��0& ��T�7'Z���h�\V7!�9]��NVT�� ��~�z���|����{��;"8MkH�pr<=<�8��6`8��/�o²��@�����6�� Q����^<��V1V���;l��4q�@͖�""���Ea�#z�^�NC�]<ͱ{�2.$�Bn��NȩOd�\���k��c����G�9�[P��җ+Ċ3+�����, :�bE�˂M�K�7�V����D�L��Uq���]Ѳ�_Nz�Y6������=��D]�9;8?�Zӽ�`���B�]vQ�1��{C!�;�Y�V�-g�-ն*V}K�:L��R�E�ī�g��;QOT-"v����%֊*ұE��'��:r�h�[�L�Z)�>��ޗ�R_�u,�aB��%�LH���u��'|�0eݾR���������Z|�덿�N� js/contacts-list.min.js 0000644 00000000746 15172622760 0011106 0 ustar 00 /** * @copyright (C) 2020 Open Source Matters, Inc. <https://www.joomla.org> * @license GNU General Public License version 2 or later; see LICENSE.txt */(e=>{const r=()=>{const n=e.getElementById("adminForm");e.getElementById("filter-search").value="",n.submit()},t=()=>{const o=e.getElementById("adminForm").querySelector('button[type="reset"]');o&&o.addEventListener("click",r),e.removeEventListener("DOMContentLoaded",t)};e.addEventListener("DOMContentLoaded",t)})(document); js/admin-contacts-modal.min.js 0000644 00000002307 15172622760 0012310 0 ustar 00 /** * @copyright (C) 2018 Open Source Matters, Inc. <https://www.joomla.org> * @license GNU General Public License version 2 or later; see LICENSE.txt */window.jSelectContact=(o,e,l,t,a,r)=>{let n="";if(!Joomla.getOptions("xtd-contacts"))return window.parent.Joomla.Modal.getCurrent().close(),!1;const{editor:i}=Joomla.getOptions("xtd-contacts");r!==""&&(n=`hreflang = "${r}"`);const d=`<a ${n} href="${a}">${e}</a>`;return window.parent.Joomla.editors.instances[i].replaceSelection(d),window.parent.Joomla.Modal.getCurrent().close(),!0},document.addEventListener("DOMContentLoaded",()=>{const o=document.querySelectorAll(".select-link");for(let e=0,l=o.length;l>e;e+=1)o[e].addEventListener("click",t=>{t.preventDefault();const a=t.target.getAttribute("data-function");a==="jSelectContact"?window[a](t.target.getAttribute("data-id"),t.target.getAttribute("data-title"),null,null,t.target.getAttribute("data-uri"),t.target.getAttribute("data-language"),null):window.parent[a](t.target.getAttribute("data-id"),t.target.getAttribute("data-title"),null,null,t.target.getAttribute("data-uri"),t.target.getAttribute("data-language"),null),window.parent.Joomla.Modal&&window.parent.Joomla.Modal.getCurrent().close()})}); js/contacts-list-es5.js 0000644 00000001435 15172622760 0011012 0 ustar 00 (function () { 'use strict'; /** * @copyright (C) 2020 Open Source Matters, Inc. <https://www.joomla.org> * @license GNU General Public License version 2 or later; see LICENSE.txt */ (function (document) { var onClick = function onClick() { var form = document.getElementById('adminForm'); document.getElementById('filter-search').value = ''; form.submit(); }; var onBoot = function onBoot() { var form = document.getElementById('adminForm'); var element = form.querySelector('button[type="reset"]'); if (element) { element.addEventListener('click', onClick); } document.removeEventListener('DOMContentLoaded', onBoot); }; document.addEventListener('DOMContentLoaded', onBoot); })(document); })(); js/admin-contacts-modal-es5.js 0000644 00000004411 15172622760 0012216 0 ustar 00 (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 () { /** * Javascript to insert the link * View element calls jSelectContact when a contact is clicked * jSelectContact creates the link tag, sends it to the editor, * and closes the select frame. */ window.jSelectContact = function (id, title, catid, object, link, lang) { var hreflang = ''; if (!Joomla.getOptions('xtd-contacts')) { // Something went wrong window.parent.Joomla.Modal.getCurrent().close(); return false; } var _Joomla$getOptions = Joomla.getOptions('xtd-contacts'), editor = _Joomla$getOptions.editor; if (lang !== '') { hreflang = "hreflang = \"" + lang + "\""; } var tag = "<a " + hreflang + " href=\"" + link + "\">" + title + "</a>"; window.parent.Joomla.editors.instances[editor].replaceSelection(tag); window.parent.Joomla.Modal.getCurrent().close(); return true; }; document.addEventListener('DOMContentLoaded', function () { // Get the elements var elements = document.querySelectorAll('.select-link'); for (var i = 0, l = elements.length; l > i; i += 1) { // Listen for click event elements[i].addEventListener('click', function (event) { event.preventDefault(); var functionName = event.target.getAttribute('data-function'); if (functionName === 'jSelectContact') { // Used in xtd_contacts window[functionName](event.target.getAttribute('data-id'), event.target.getAttribute('data-title'), null, null, event.target.getAttribute('data-uri'), event.target.getAttribute('data-language'), null); } else { // Used in com_menus window.parent[functionName](event.target.getAttribute('data-id'), event.target.getAttribute('data-title'), null, null, event.target.getAttribute('data-uri'), event.target.getAttribute('data-language'), null); } if (window.parent.Joomla.Modal) { window.parent.Joomla.Modal.getCurrent().close(); } }); } }); })(); })(); js/contacts-list.min.js.gz 0000644 00000000501 15172622760 0011512 0 ustar 00 � }P]KA}�W\�Awd�Ƕ��L�@z��ٛN�ε;w5��{Q�����u�-� �͞�j- �PC�� � FXP��Ɗ �&�8_�l�Y�����Q�!^ >��w �gw0ƈl�6��L��-r���� �a:�f���WiA��a9xs� ����D�B�1��~Re�V���ĵ��_��A>Ih٭�6[,�ʣIͲ���\~v��A�/0�⬳lD(��~��bL(ꡣj��تm1��'9��)�{V9� cM[�e���)ʁ#[a�r���:��YE�9�E��x�j� js/contacts-list-es5.min.js 0000644 00000001027 15172622760 0011571 0 ustar 00 (function(){"use strict";/** * @copyright (C) 2020 Open Source Matters, Inc. <https://www.joomla.org> * @license GNU General Public License version 2 or later; see LICENSE.txt */(function(e){var r=function(){var t=e.getElementById("adminForm");e.getElementById("filter-search").value="",t.submit()},i=function n(){var t=e.getElementById("adminForm"),o=t.querySelector('button[type="reset"]');o&&o.addEventListener("click",r),e.removeEventListener("DOMContentLoaded",n)};e.addEventListener("DOMContentLoaded",i)})(document)})(); joomla.asset.json 0000644 00000002773 15172622760 0010057 0 ustar 00 { "$schema": "https://developer.joomla.org/schemas/json-schema/web_assets.json", "name": "com_contact", "version": "4.0.0", "description": "Joomla CMS", "license": "GPL-2.0-or-later", "assets": [ { "name": "com_contact.admin-contacts-modal.es5", "type": "script", "uri": "com_contact/admin-contacts-modal-es5.min.js", "dependencies": [ "core" ], "attributes": { "nomodule": true, "defer": true }, "version": "c25193083704119315e03c2e618f99cd6fd9a1d9" }, { "name": "com_contact.admin-contacts-modal", "type": "script", "uri": "com_contact/admin-contacts-modal.min.js", "dependencies": [ "com_contact.admin-contacts-modal.es5" ], "attributes": { "type": "module" }, "version": "e556e46f227cfda5dd8d4505ce9619d94fe10295" }, { "name": "com_contact.contacts-list.es5", "type": "script", "uri": "com_contact/contacts-list-es5.min.js", "dependencies": [ "core" ], "attributes": { "nomodule": true, "defer": true }, "version": "2ebf76917946ccdbf3856ada9c05fad30a2c6b16" }, { "name": "com_contact.contacts-list", "type": "script", "uri": "com_contact/contacts-list.min.js", "dependencies": [ "com_contact.contacts-list.es5" ], "attributes": { "type": "module" }, "version": "ebd8c93bfa5ffe33a25b58bb6783b4ad727d90ae" } ] }
| ver. 1.4 |
Github
|
.
| PHP 8.3.23 | Generation time: 0 |
proxy
|
phpinfo
|
Settings