sign and check signature on scripts for remote execution
This commit is contained in:
BIN
web/.sha512
Normal file
BIN
web/.sha512
Normal file
Binary file not shown.
@@ -589,7 +589,7 @@ if (isset($_SESSION['username'])){
|
||||
$button = "stop";
|
||||
$buttonc = "btn-warning";
|
||||
}
|
||||
$vncport = sprintf("%02d", $row[vncport]);
|
||||
$vncport = sprintf("%02d", $row['vncport']);
|
||||
echo "<div class=col style=\"margin:5px;padding:5px;border:solid 1px;max-width:295px;\"><h3>$row[vmname]</h3>$row[server]</br>$row[cpus] CPUs, $row[memory] MB RAM</br>$row[drive1]</br>";
|
||||
echo "VNC port: 59$vncport</br><a class=\"btn btn-primary\" href=# onclick=\"post('?', {edit: '$row[id]'});\">edit</a> ";
|
||||
echo "<a href=# onclick=\"post('?', {'$button': '$row[vmname]'});\"class=\"btn $buttonc\">$button</a> ";
|
||||
|
||||
Reference in New Issue
Block a user