芝麻web文件管理V1.00
编辑当前文件:/home2/sdektunc/tepakanyucatan.gob.mx/media/plg_quickicon_privacycheck/js/privacycheck-es5.min.js
!function(){"use strict";!function(t){var e=function(){var e=Joomla.getOptions("js-privacy-check"),a=e.plg_quickicon_privacycheck_ajax_url,n=e.plg_quickicon_privacycheck_url,r=e.plg_quickicon_privacycheck_text,c=t.getElementById("plg_quickicon_privacycheck"),s=c.querySelector("span.j-links-link");Joomla.request({url:a,method:"GET",data:"",perform:!0,onSuccess:function(e){try{var a=JSON.parse(e);if(a.data.number_urgent_requests){var i=t.createElement("span");i.classList.add("badge","text-dark","bg-light"),i.textContent=a.data.number_urgent_requests,s.textContent=r.REQUESTFOUND+" ",s.appendChild(i),c.classList.add("danger");var l=t.createElement("span");l.classList.add("label","label-important"),l.textContent=r.REQUESTFOUND_MESSAGE.replace("%s",a.data.number_urgent_requests)+" ";var o=t.createElement("button");o.classList.add("btn","btn-primary","btn-sm"),o.setAttribute("onclick","document.location='"+n+"'"),o.textContent=r.REQUESTFOUND_BUTTON;var d=t.createElement("div");d.classList.add("alert","alert-error","alert-joomlaupdate"),d.appendChild(l),d.appendChild(o);var u=t.querySelector("#system-message-container");u.insertBefore(d,u.firstChild)}else c.classList.add("success"),s.textContent=r.NOREQUEST}catch(t){c.classList.add("danger"),s.textContent=r.ERROR}},onError:function(){c.classList.add("danger"),s.textContent=r.ERROR}})};window.addEventListener("load",(function(){setTimeout(e,360)}))}(document)}();