Moved the Agents into their own repo. Kept the agent.pl just for reference
This commit is contained in:
parent
22381be29a
commit
8680a02b13
18132 changed files with 0 additions and 2569420 deletions
|
|
@ -1,45 +0,0 @@
|
|||
function GetURLParameter(sParam)
|
||||
{
|
||||
var sPageURL = window.location.search.substring(1);
|
||||
var sURLVariables = sPageURL.split('&');
|
||||
for (var i = 0; i < sURLVariables.length; i++)
|
||||
{
|
||||
var sParameterName = sURLVariables[i].split('=');
|
||||
if (sParameterName[0] == sParam)
|
||||
{
|
||||
return sParameterName[1];
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
var p = GetURLParameter('p');
|
||||
|
||||
if(p == 'banlist')
|
||||
{
|
||||
$(document).ready(function(){
|
||||
$('span#check').css({'cursor':'pointer','color':'blue'});
|
||||
$('span#check').click(function(){
|
||||
$('input[type=checkbox]').each(function( ){
|
||||
if( this.checked )
|
||||
{
|
||||
$(this).attr('checked', false);
|
||||
}
|
||||
else
|
||||
{
|
||||
$(this).attr('checked', true);
|
||||
}
|
||||
});
|
||||
});
|
||||
});
|
||||
}
|
||||
else if(p == 'watch_logger')
|
||||
{
|
||||
$(document).ready(function()
|
||||
{
|
||||
$('input#search').quicksearch('table#servermonitor tbody tr.maintr');
|
||||
$("#servermonitor")
|
||||
.collapsible("td.collapsible", {collapse: true})
|
||||
.tablesorter({sortList: [[1,1]] , widgets: ['zebra','repeatHeaders']});
|
||||
}
|
||||
);
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue