summaryrefslogtreecommitdiffstats
path: root/usr/local/www/diag_backup.php
diff options
context:
space:
mode:
authorErmal Luçi <eri@pfsense.org>2010-02-24 15:27:08 +0000
committerErmal Luçi <eri@pfsense.org>2010-02-24 15:27:08 +0000
commita1003d57046a138f1ec45f1a7e4af2804f72f50a (patch)
tree842bad48fef10235bac3fdeac89204cc5ac1289f /usr/local/www/diag_backup.php
parente1bcba1f598a2d07b2d6ca7830b8091992db10f3 (diff)
downloadpfsense-a1003d57046a138f1ec45f1a7e4af2804f72f50a.zip
pfsense-a1003d57046a138f1ec45f1a7e4af2804f72f50a.tar.gz
Ticket #375. When choosing to export only a subsystem by default do not export rrd data.
Diffstat (limited to 'usr/local/www/diag_backup.php')
-rwxr-xr-xusr/local/www/diag_backup.php14
1 files changed, 12 insertions, 2 deletions
diff --git a/usr/local/www/diag_backup.php b/usr/local/www/diag_backup.php
index 246be18..64273fc 100755
--- a/usr/local/www/diag_backup.php
+++ b/usr/local/www/diag_backup.php
@@ -121,7 +121,10 @@ function spit_out_select_items($area, $showall) {
"wol" => "Wake on LAN"
);
- $select = "<select name=\"{$area}\">\n";
+ $select = "<select name=\"{$area}\" id=\"{$aread}\" ";
+ if ($area == "backuparea")
+ $select .= " onChange=backuparea_change(this)";
+ $select .= " >\n";
$select .= "<option VALUE=\"\">ALL</option>";
if($showall == true)
@@ -489,6 +492,13 @@ function decrypt_change() {
document.getElementById("decrypt_opts").style.display="";
}
+function backuparea_change(obj) {
+
+ if (obj.value == "")
+ document.getElementById("dotnotbackuprrd").checked = false;
+ else
+ document.getElementById("dotnotbackuprrd").checked = true;
+}
//-->
</script>
@@ -652,4 +662,4 @@ decrypt_change();
if (is_subsystem_dirty('restore'))
exec("/etc/rc.reboot");
-?> \ No newline at end of file
+?>
OpenPOWER on IntegriCloud