芝麻web文件管理V1.00
编辑当前文件:/home2/sdektunc/.trash/media.2/plg_quickicon_extensionupdate/js/extensionupdatecheck-es5.min.js
!function(){"use strict";var e;e=function(){if(Joomla.getOptions("js-extensions-update")){var e=Joomla.getOptions("js-extensions-update"),n=function(e,n){var t=document.getElementById("plg_quickicon_extensionupdate"),o=[].slice.call(t.querySelectorAll("span.j-links-link"));t&&t.classList.add(e),o.length&&o.forEach((function(e){e.innerHTML=Joomla.sanitizeHtml(n)}))};Joomla.request({url:e.ajaxUrl,method:"GET",data:"",perform:!0,onSuccess:function(e){var t=JSON.parse(e);Array.isArray(t)?0===t.length?n("success",Joomla.Text._("PLG_QUICKICON_EXTENSIONUPDATE_UPTODATE")):n("danger",Joomla.Text._("PLG_QUICKICON_EXTENSIONUPDATE_UPDATEFOUND").replace("%s",'
'+t.length+"
")):n("danger",Joomla.Text._("PLG_QUICKICON_EXTENSIONUPDATE_ERROR"))},onError:function(){n("danger",Joomla.Text._("PLG_QUICKICON_EXTENSIONUPDATE_ERROR"))}})}},window.addEventListener("load",(function(){setTimeout(e,330)}))}();