芝麻web文件管理V1.00
编辑当前文件:/home2/sdektunc/.trash/media.2/plg_quickicon_overridecheck/js/overridecheck-es5.min.js
!function(){"use strict";var e;e=function(){if(Joomla.getOptions("js-override-check")){var e=Joomla.getOptions("js-override-check"),o=function(e,o,n){var t=document.getElementById("plg_quickicon_overridecheck"),r=t.querySelectorAll("span.j-links-link");t&&(t.classList.add(e),n&&t.setAttribute("href",n)),r.length&&r.forEach((function(e){e.innerHTML=Joomla.sanitizeHtml(o)}))};Joomla.request({url:e.ajaxUrl,method:"GET",data:"",perform:!0,onSuccess:function(n){var t=JSON.parse(n);"disabled"!==t.installerOverride?Array.isArray(t)?0===t.length?o("success",Joomla.Text._("PLG_QUICKICON_OVERRIDECHECK_UPTODATE"),""):(window.scrollTo(0,0),o("danger",Joomla.Text._("PLG_QUICKICON_OVERRIDECHECK_OVERRIDEFOUND").replace("%s",'
'+t.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:function(){o("danger",Joomla.Text._("PLG_QUICKICON_OVERRIDECHECK_ERROR"),"")}})}},window.addEventListener("load",(function(){setTimeout(e,390)}))}();