This file is indexed.

/usr/share/zabbix/js/ie6fix.js is in zabbix-frontend-php 1:1.8.11-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
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
var ie6pngfix = {
root:				false,
applyPositioning:	false,
shim:				'images/general/x.gif',	// Path to a transparent GIF image

run: function(el) {
	this.root = el;
	this.fnLoadPngs();
},
		
fnLoadPngs: function(){
	if(this.root){
		this.root = document.getElementById(this.root);
	}
	else{
		this.root = document;
	}

	for (var i = this.root.all.length - 1, obj = null; (obj = this.root.all[i]); i--) {
		if(obj.currentStyle.backgroundImage.match(/\.png/i) !== null)  this.bg_fnFixPng(obj);
		if(obj.tagName=='IMG' && obj.src.match(/\.png$/i) !== null) this.el_fnFixPng(obj);

// apply position to 'active' elements
		if(this.applyPositioning && (obj.tagName=='A' || obj.tagName=='INPUT') && obj.style.position === ''){
			obj.style.position = 'relative';
		}
	}
},

bg_fnFixPng: function(obj) {
	var mode = 'scale';
	var bg	= obj.currentStyle.backgroundImage;
	var src = bg.substring(5,bg.length-2);
	if (obj.currentStyle.backgroundRepeat == 'no-repeat') {
		mode = 'crop';
	}
	obj.style.filter = "progid:DXImageTransform.Microsoft.AlphaImageLoader(src='" + src + "', sizingMethod='" + mode + "')";
	obj.style.backgroundImage = 'url('+this.shim+')';
},

el_fnFixPng: function(img) {
	var src = img.src;
	img.style.width = img.width + "px";
	img.style.height = img.height + "px";
	img.style.filter = "progid:DXImageTransform.Microsoft.AlphaImageLoader(src='" + src + "', sizingMethod='scale')";
	img.src = this.shim;
}
};


/************************************************************************************/
/*										IE 6 FIXES 									*/
/************************************************************************************/

function hidePopupDiv(iFrameID){
	if(!IE6) return;

	if(!is_null($(iFrameID))){
		$(iFrameID).hide();
		$(iFrameID).remove();
	}
}

function showPopupDiv(divID,iFrameID){
	if(!IE6) return;

	var iFrame = $(iFrameID);
	var divPopup = $(divID);

	if(is_null(iFrame)){
		var iFrame = document.createElement('iframe');
		document.body.appendChild(iFrame);

//Match IFrame position with divPopup
		iFrame.setAttribute('id',iFrameID);
		iFrame.style.position='absolute';
	}

	if(divPopup.style.display == 'none'){
		iFrame.style.display = 'none';
		return;
	}

//Increase default zIndex of div by 1, so that DIV appears before IFrame
	divPopup.style.zIndex=divPopup.style.zIndex+1;
	//iFrame.style.zIndex = 1;

	var divCumOff = $(divID).cumulativeOffset();
	iFrame.style.display = 'block';
	iFrame.style.left = divCumOff.left + 'px';
	iFrame.style.top = divCumOff.top + 'px';
	iFrame.style.width = divPopup.offsetWidth + 'px';
	iFrame.style.height = divPopup.offsetHeight + 'px';
}