| Server IP : 104.21.84.107 / Your IP : 104.23.197.209 Web Server : Apache/2.4.63 (Ubuntu) System : Linux adminpruebas-Virtual-Machine 6.14.0-37-generic #37-Ubuntu SMP PREEMPT_DYNAMIC Fri Nov 14 22:10:32 UTC 2025 x86_64 User : www-data ( 33) PHP Version : 8.4.5 Disable Function : NONE MySQL : OFF | cURL : ON | WGET : ON | Perl : ON | Python : OFF | Sudo : ON | Pkexec : ON Directory : /var/www/html/ictiologia/media/mod_quickicon/js/ |
Upload File : |
!function(){"use strict";if(!Joomla)throw new Error("Joomla API was not properly initialized");Array.from(document.querySelectorAll(".quickicon")).forEach((function(t){var r=t.querySelector(".quickicon-amount");r&&r.dataset.url&&Joomla.request({url:r.dataset.url,method:"GET",onSuccess:function(a){var e;try{e=JSON.parse(a)}catch(r){t.classList.add("error")}if(Object.prototype.hasOwnProperty.call(e,"data")){var o=t.querySelector(".quickicon-name"),n=document.createElement("span");t.classList.add(e.data>0?"warning":"success"),e.data.name&&o&&(n.textContent=e.data.name,o.replaceChild(n,o.firstChild)),r.textContent=""+e.data.amount;var c=t.querySelector(".quickicon-sr-desc");e.data.sronly&&c&&(c.textContent=e.data.sronly)}else t.classList.add("error")},onError:function(){t.classList.add("error")}})}))}();