aboutsummaryrefslogtreecommitdiffstats
path: root/packages/autoconfigbackup/autoconfigbackup.php
diff options
context:
space:
mode:
authorScott Ullrich <sullrich@pfsense.org>2008-12-07 05:18:14 +0000
committerScott Ullrich <sullrich@pfsense.org>2008-12-07 05:18:14 +0000
commiteef41390343ca32d73a444088b59467198fe2550 (patch)
tree1e401c935c708223603f55e3a1185e4815163a0b /packages/autoconfigbackup/autoconfigbackup.php
parent047065a1d2c151cc5eb374dca362be7b6360b493 (diff)
downloadpfsense-packages-eef41390343ca32d73a444088b59467198fe2550.tar.gz
pfsense-packages-eef41390343ca32d73a444088b59467198fe2550.tar.bz2
pfsense-packages-eef41390343ca32d73a444088b59467198fe2550.zip
Add install this revision button to view backup information page
Diffstat (limited to 'packages/autoconfigbackup/autoconfigbackup.php')
-rw-r--r--packages/autoconfigbackup/autoconfigbackup.php1
1 files changed, 1 insertions, 0 deletions
diff --git a/packages/autoconfigbackup/autoconfigbackup.php b/packages/autoconfigbackup/autoconfigbackup.php
index 3534d0c8..a117516e 100644
--- a/packages/autoconfigbackup/autoconfigbackup.php
+++ b/packages/autoconfigbackup/autoconfigbackup.php
@@ -268,6 +268,7 @@ include("head.inc");
echo "<h2>Decrypted config.xml</h2>";
echo "<textarea name='dec_config_xml' rows='40' cols='70'>{$data}</textarea>";
}
+ echo "<p/><input type=\"button\" value=\"Install this revision\" onClick=\"document.location='autoconfigbackup.php?newver=" . urlencode($_REQUEST['download']) . "';\">";
echo "</td></tr></table></div></td></td></tr></tr></table></form>";
require("fend.inc");
exit;