[pve-devel] r5753 - pve-manager/trunk/www/root/system
svn-commits at proxmox.com
svn-commits at proxmox.com
Fri Mar 25 08:50:16 CET 2011
Author: dietmar
Date: 2011-03-25 08:50:16 +0100 (Fri, 25 Mar 2011)
New Revision: 5753
Modified:
pve-manager/trunk/www/root/system/reboot.htm
Log:
Modified: pve-manager/trunk/www/root/system/reboot.htm
===================================================================
--- pve-manager/trunk/www/root/system/reboot.htm 2011-03-24 10:20:01 UTC (rev 5752)
+++ pve-manager/trunk/www/root/system/reboot.htm 2011-03-25 07:50:16 UTC (rev 5753)
@@ -2,6 +2,7 @@
use strict;
use PVE::I18N;
use PVE::ConfigServer;
+ use PVE::Utils;
use PVE::HTMLUtils;
!]
@@ -29,7 +30,8 @@
}
if ($fdat{state} eq 'confirm') {
- my $ref = "reboot.htm?m3=0&action=reboot";
+ my $ptoken = PVE::Utils::get_page_token();
+ my $ref = "reboot.htm?m3=0&action=reboot&ptoken=$ptoken";
if ($fdat{poweroff}) {
$ref .= "&poweroff=1";
my $msg = __("Do you really want to shutdown the Server?");
More information about the pve-devel
mailing list