1/*------------------------------------------------------------------------ 2# mod_newscalendar - News Calendar 3# ------------------------------------------------------------------------ 4# author Jesús Vargas Garita 5# Copyright (C) 2010 www.joomlahill.com. All Rights Reserved. 6# @license - http://www.gnu.org/licenses/gpl-2.0.html GNU/GPL 7# Websites: http://www.joomlahill.com 8# Technical Support: Forum - http://www.joomlahill.com/forum 9-------------------------------------------------------------------------*/ 10 11function updateNewsCalendar(curmonth,curyear,mid) 12{ 13 var currentURL = window.location; 14 var live_site = currentURL.protocol+'//'+currentURL.host+sfolder; 15 16 var loading = document.getElementById('monthyear_'+mid); 17 18 loading.innerHTML='<img src="'+live_site+'/modules/mod_newscalendar/assets/loading.gif" border="0" align="absmiddle" />'; 19 20 var ajax = new XMLHttpRequest; 21 ajax.onreadystatechange=function() 22 { 23 if (ajax.readyState==4 && ajax.status==200) 24 { 25 document.getElementById("newscalendar"+mid).innerHTML = ajax.responseText; 26 } 27 } 28 ajax.open("GET",live_site+"/modules/mod_newscalendar/assets/ajax.php?month="+curmonth+"&year="+curyear+"&mid="+mid,true); 29 ajax.send(); 30}
Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.