sign and check signature on scripts for remote execution
This commit is contained in:
1 parent
223090c0e4
commit
85ca124520
4 files changed
+30
-21
No files matched your search
BIN
Binary file not shown.
+1
-1
@@ -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