This file is indexed.

/usr/share/php/kohana2/modules/gmaps/views/gmaps/jquery_javascript.php is in libkohana2-modules-php 2.3.4-1.

This file is owned by root:root, with mode 0o644.

The actual contents of the file can be viewed below.

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
<?php defined('SYSPATH') OR die('No direct access allowed.'); ?>
google.load("maps", "2.x", {"language" : "<?php echo substr(Kohana::config('locale.language.0'), 0, 2);?>"});

$(function()
{
	if (GBrowserIsCompatible())
	{
		// Initialize the Gmap
		<?php echo $map, "\n" ?>
		<?php echo $controls, "\n" ?>
		<?php echo $center, "\n" ?>
		<?php echo $options->render(1), "\n" ?> 

		// Load map markers
		$.ajax
		({
			type: 'GET',
			url: '<?php echo url::site('google_map/xml') ?>',
			dataType: 'xml',
			success: function(data, status)
			{
				$(data).find('marker').each(function()
				{
					// Current marker
					var node = $(this);

					// Extract HTML
					var html = node.find('html').text();

					// Create a new map marker
					var marker = new google.maps.Marker(new google.maps.LatLng(node.attr("lat"), node.attr("lon")));
					google.maps.Event.addListener(marker, "click", function()
					{
						marker.openInfoWindowHtml(html);
					});

					// Add the marker to the map
					map.addOverlay(marker);
				});
			},
			error: function(request, status, error)
			{
				alert('There was an error retrieving the marker information, please refresh the page to try again.');
			}
		});
	}
});
// Unload the map when the window is closed
$(document.body).unload(function(){ GBrowserIsCompatible() && GUnload(); });