force sync from /var/www/html/panel: 2025-09-08T20:36:30Z
This commit is contained in:
commit
4f717c9ee8
18119 changed files with 2566034 additions and 0 deletions
45
ControlPanel/js/modules/administration.js
Executable file
45
ControlPanel/js/modules/administration.js
Executable file
|
|
@ -0,0 +1,45 @@
|
|||
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