This file is indexed.

/usr/share/phamm/www-data/functions.js is in phamm 0.5.18-3.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
function checkAll() {
var everyting=document.getElementById('post-checks');
var boxes=new Array();
for (var x=0;x<everyting.length;x++) {if (everyting[x].type=="checkbox") {boxes[boxes.length]=everyting[x];}}
//now all checkboxes are in the array boxes so lets check all of them...
//USE THE NEXT LINE TO CHECK THEM ALL
//for(var x=0;x<boxes.length;x++) {boxes[x].checked=true;}
//USE THE NEXT LINE TO UNCHECK THEM ALL
//for(var x=0;x<boxes.length;x++) {boxes[x].checked=false;}
//USE THE NEXT LINE TO INVERSE THEM ALL
for(var x=0;x<boxes.length;x++) {if (boxes[x].checked) {boxes[x].checked=false;}else {boxes[x].checked=true;}}
}

function testing (e,myId) {
var s = e.checked ? 'checked' : 'unchecked';

document.getElementById(myId).className='plugin'+s

}

function activatePlugin(myId)
{
    document.getElementById(myId).className='pluginActive';
}

function deactivatePlugin(myId)
{
    document.getElementById(myId).className='pluginNonActive';
}

function disableAutocomplete()
{
    if (!document.getElementById) return false;
    var f = document.getElementById('login');
    var u = f.elements[0];
    f.setAttribute("autocomplete", "off");
    u.focus();
}