芝麻web文件管理V1.00
编辑当前文件:/home2/sdektunc/tixpeual2124.gob.mx/media/plg_quickicon_overridecheck/js/overridecheck.min.js
(()=>{const e=()=>{if(Joomla.getOptions("js-override-check")){const e=Joomla.getOptions("js-override-check"),o=(e,o,t)=>{const n=document.getElementById("plg_quickicon_overridecheck"),a=n.querySelectorAll("span.j-links-link");n&&(n.classList.add(e),t&&n.setAttribute("href",t)),a.length&&a.forEach((e=>{e.innerHTML=Joomla.sanitizeHtml(o)}))};Joomla.request({url:e.ajaxUrl,method:"GET",data:"",perform:!0,onSuccess:t=>{const n=JSON.parse(t);"disabled"!==n.installerOverride?Array.isArray(n)?0===n.length?o("success",Joomla.Text._("PLG_QUICKICON_OVERRIDECHECK_UPTODATE"),""):(window.scrollTo(0,0),o("danger",Joomla.Text._("PLG_QUICKICON_OVERRIDECHECK_OVERRIDEFOUND").replace("%s",`
${n.length}
`),"")):o("danger",Joomla.Text._("PLG_QUICKICON_OVERRIDECHECK_ERROR"),""):o("danger",Joomla.Text._("PLG_QUICKICON_OVERRIDECHECK_ERROR_ENABLE"),`index.php?option=com_plugins&task=plugin.edit&extension_id=${e.pluginId}`)},onError:()=>{o("danger",Joomla.Text._("PLG_QUICKICON_OVERRIDECHECK_ERROR"),"")}})}};window.addEventListener("load",(()=>{setTimeout(e,390)}))})();