File manager - Edit - /home/opticamezl/www/newok/531c5/plg_quickicon_extensionupdate.tar
Back
js/extensionupdatecheck-es5.js 0000644 00000004351 15172624472 0012442 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 () { // Ajax call to get the update status of the installed extensions var fetchUpdate = function fetchUpdate() { if (Joomla.getOptions('js-extensions-update')) { var options = Joomla.getOptions('js-extensions-update'); var update = function update(type, text) { var link = document.getElementById('plg_quickicon_extensionupdate'); var linkSpans = [].slice.call(link.querySelectorAll('span.j-links-link')); if (link) { link.classList.add(type); } if (linkSpans.length) { linkSpans.forEach(function (span) { span.innerHTML = Joomla.sanitizeHtml(text); }); } }; /** * DO NOT use fetch() for QuickIcon requests. They must be queued. * * @see https://github.com/joomla/joomla-cms/issues/38001 */ Joomla.enqueueRequest({ url: options.ajaxUrl, method: 'GET', promise: true }).then(function (xhr) { var response = xhr.responseText; var updateInfoList = JSON.parse(response); if (Array.isArray(updateInfoList)) { if (updateInfoList.length === 0) { // No updates update('success', Joomla.Text._('PLG_QUICKICON_EXTENSIONUPDATE_UPTODATE')); } else { update('danger', Joomla.Text._('PLG_QUICKICON_EXTENSIONUPDATE_UPDATEFOUND').replace('%s', "<span class=\"badge text-dark bg-light\">" + updateInfoList.length + "</span>")); } } else { // An error occurred update('danger', Joomla.Text._('PLG_QUICKICON_EXTENSIONUPDATE_ERROR')); } }).catch(function () { // An error occurred update('danger', Joomla.Text._('PLG_QUICKICON_EXTENSIONUPDATE_ERROR')); }); } }; // Give some times to the layout and other scripts to settle their stuff window.addEventListener('load', function () { setTimeout(fetchUpdate, 330); }); })(); })(); js/extensionupdatecheck.min.js.gz 0000644 00000001151 15172624472 0013144 0 ustar 00 � �S�o1~�_�EJ�X�2A���7JG9�i�4�4�Bڐ���*���(�^7�%�e}��/v�Z="U�Y�|�|���'Ǎ��H��%cWx�Z"��Y%��1�z}�^�{�F ���=�� l B����4dX��H��}���8O�D�- H��I�D��H����O�ـD�@߱��s�4G�l`�>�`�`K�P+�L"P�P�3$��-q�T��%:1P�_������g�B�������R���/JA���0��v:n�!�V��a�R�[P��PF�����2x�;�E��ĝ�T�KE�����2g�V�� ��4��ߵ�� ������i�����7�p�&�&��-u��Ǝ\�e�U�!����#����@��`��ν�[���2�gp�>���2 � +YČ�a�;�>�u��:�`���$�q/L��d6N�ҡ�7��L�9���(��t:��\xȍT��@����?�^����la��L�r;���Hh����8��z i��d4JG��J�Z<o���v��Z�̭� J�b�N�A2j��h�/ 'z �@&���F�䌷�� UDP js/extensionupdatecheck.min.js 0000644 00000002036 15172624472 0012530 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 */(()=>{const a=()=>{if(Joomla.getOptions("js-extensions-update")){const l=Joomla.getOptions("js-extensions-update"),t=(s,n)=>{const e=document.getElementById("plg_quickicon_extensionupdate"),o=[].slice.call(e.querySelectorAll("span.j-links-link"));e&&e.classList.add(s),o.length&&o.forEach(i=>{i.innerHTML=Joomla.sanitizeHtml(n)})};Joomla.enqueueRequest({url:l.ajaxUrl,method:"GET",promise:!0}).then(s=>{const n=s.responseText,e=JSON.parse(n);Array.isArray(e)?e.length===0?t("success",Joomla.Text._("PLG_QUICKICON_EXTENSIONUPDATE_UPTODATE")):t("danger",Joomla.Text._("PLG_QUICKICON_EXTENSIONUPDATE_UPDATEFOUND").replace("%s",`<span class="badge text-dark bg-light">${e.length}</span>`)):t("danger",Joomla.Text._("PLG_QUICKICON_EXTENSIONUPDATE_ERROR"))}).catch(()=>{t("danger",Joomla.Text._("PLG_QUICKICON_EXTENSIONUPDATE_ERROR"))})}};window.addEventListener("load",()=>{setTimeout(a,330)})})(); js/index.html 0000604 00000000037 15172624472 0007163 0 ustar 00 <!DOCTYPE html><title></title> js/extensionupdatecheck-es5.min.js 0000644 00000002142 15172624472 0013220 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(){var i=function(){if(Joomla.getOptions("js-extensions-update")){var l=Joomla.getOptions("js-extensions-update"),n=function(t,e){var a=document.getElementById("plg_quickicon_extensionupdate"),s=[].slice.call(a.querySelectorAll("span.j-links-link"));a&&a.classList.add(t),s.length&&s.forEach(function(r){r.innerHTML=Joomla.sanitizeHtml(e)})};Joomla.enqueueRequest({url:l.ajaxUrl,method:"GET",promise:!0}).then(function(o){var t=o.responseText,e=JSON.parse(t);Array.isArray(e)?e.length===0?n("success",Joomla.Text._("PLG_QUICKICON_EXTENSIONUPDATE_UPTODATE")):n("danger",Joomla.Text._("PLG_QUICKICON_EXTENSIONUPDATE_UPDATEFOUND").replace("%s",'<span class="badge text-dark bg-light">'+e.length+"</span>")):n("danger",Joomla.Text._("PLG_QUICKICON_EXTENSIONUPDATE_ERROR"))}).catch(function(){n("danger",Joomla.Text._("PLG_QUICKICON_EXTENSIONUPDATE_ERROR"))})}};window.addEventListener("load",function(){setTimeout(i,330)})})()})(); js/extensionupdatecheck.js 0000644 00000004035 15172624472 0011747 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 */ (() => { // Ajax call to get the update status of the installed extensions const fetchUpdate = () => { if (Joomla.getOptions('js-extensions-update')) { const options = Joomla.getOptions('js-extensions-update'); const update = (type, text) => { const link = document.getElementById('plg_quickicon_extensionupdate'); const linkSpans = [].slice.call(link.querySelectorAll('span.j-links-link')); if (link) { link.classList.add(type); } if (linkSpans.length) { linkSpans.forEach(span => { span.innerHTML = Joomla.sanitizeHtml(text); }); } }; /** * DO NOT use fetch() for QuickIcon requests. They must be queued. * * @see https://github.com/joomla/joomla-cms/issues/38001 */ Joomla.enqueueRequest({ url: options.ajaxUrl, method: 'GET', promise: true }).then(xhr => { const response = xhr.responseText; const updateInfoList = JSON.parse(response); if (Array.isArray(updateInfoList)) { if (updateInfoList.length === 0) { // No updates update('success', Joomla.Text._('PLG_QUICKICON_EXTENSIONUPDATE_UPTODATE')); } else { update('danger', Joomla.Text._('PLG_QUICKICON_EXTENSIONUPDATE_UPDATEFOUND').replace('%s', `<span class="badge text-dark bg-light">${updateInfoList.length}</span>`)); } } else { // An error occurred update('danger', Joomla.Text._('PLG_QUICKICON_EXTENSIONUPDATE_ERROR')); } }).catch(() => { // An error occurred update('danger', Joomla.Text._('PLG_QUICKICON_EXTENSIONUPDATE_ERROR')); }); } }; // Give some times to the layout and other scripts to settle their stuff window.addEventListener('load', () => { setTimeout(fetchUpdate, 330); }); })(); js/extensionupdatecheck-es5.min.js.gz 0000644 00000001173 15172624472 0013642 0 ustar 00 � �S�S1~��H3SM�T_:�i-^���L���� ѐɞ`���*�����|�fw�U��e��H@��f�R�#�E����� a-N��>�4K�� ȵD"ұJ��)b��b���͌�ON�TF+�!���6X�Ґ~qk�"ݭ�|�Β#�<1�7I �N+� �K�#��I�Qz����cW���4/���P�%�-�C��3�@�n�D�-F���8s���Œ!1P�_�:�����VZ9;~%|���"��Jä��`@����0ri�}�h��?�)���PF�����2�< ��t?�;���o���m-���u��� �F�.qf�_5��� ��y�s�M�y/�#o���e �N�4ʽ�� ��8��mz��B�l�!,1��j��D.} ��y�|:�%~�Z�8��YFC��@�mz%�3���?F��N+퍓�ä7褽Q��|��G�aZ*��e4�v��9J�-�.(r#0�1��जY"��2� AXb5����N��<zzp�R�!=����d��ܤ7��J���9W��B��-ʵJ�b�c��2j��h�. �\�LG����5��<^ b index.html 0000604 00000000037 15172624472 0006547 0 ustar 00 <!DOCTYPE html><title></title>
| ver. 1.4 |
Github
|
.
| PHP 8.3.23 | Generation time: 0.02 |
proxy
|
phpinfo
|
Settings