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