mirror of
https://github.com/WhatCD/Gazelle.git
synced 2024-12-13 02:46:30 +00:00
Empty commit
This commit is contained in:
parent
e35fd67288
commit
7d38ecea41
@ -77,6 +77,9 @@
|
||||
case 'request':
|
||||
require(SERVER_ROOT.'/sections/ajax/request.php');
|
||||
break;
|
||||
case 'loadavg':
|
||||
require(SERVER_ROOT.'/sections/ajax/loadavg.php');
|
||||
break;
|
||||
default:
|
||||
// If they're screwing around with the query string
|
||||
print json_encode(array('status' => 'failure'));
|
||||
|
15
sections/ajax/loadavg.php
Normal file
15
sections/ajax/loadavg.php
Normal file
@ -0,0 +1,15 @@
|
||||
<?
|
||||
|
||||
authorize(true);
|
||||
|
||||
print
|
||||
json_encode(
|
||||
array(
|
||||
'status' => 'success',
|
||||
'response' => array(
|
||||
'loadAverage' => sys_getloadavg()
|
||||
)
|
||||
)
|
||||
);
|
||||
|
||||
?>
|
@ -177,7 +177,7 @@ function user_dupes_table($UserID) {
|
||||
list($DupeID) = $Dupe;
|
||||
$DupeInfo = user_info($DupeID);
|
||||
?>
|
||||
<td align="left"><?=format_username($DupeID, $DupeInfo['Username'], $DupeInfo['Donor'], $DupeInfo['Warned'], $DupeInfo['Enabled'])?>
|
||||
<td align="left"><?=format_username($DupeID, $DupeInfo['Username'], $DupeInfo['Donor'], $DupeInfo['Warned'], ($DupeInfo['Enabled']==2)?false:true)?>
|
||||
(<a href="user.php?action=dupes&dupeaction=remove&auth=<?=$LoggedUser['AuthKey']?>&userid=<?=$UserID?>&removeid=<?=$DupeID?>" onClick="return confirm('Are you sure you wish to remove <?=$DupeInfo['Username']?> from this group?');">x</a>)</td>
|
||||
<?
|
||||
if ($i == 5) {
|
||||
|
Loading…
Reference in New Issue
Block a user