aboutsummaryrefslogtreecommitdiffstats
path: root/packages/autoconfigbackup
diff options
context:
space:
mode:
authorScott Ullrich <sullrich@pfsense.org>2008-12-07 04:31:43 +0000
committerScott Ullrich <sullrich@pfsense.org>2008-12-07 04:31:43 +0000
commite63b6b33753f505d9eee8769e1a472868cfb8c72 (patch)
treeefe141b464978b8779ced113fb92bf0ca59af529 /packages/autoconfigbackup
parent91b36e01361341408b2149fc3747e8a332f6c908 (diff)
downloadpfsense-packages-e63b6b33753f505d9eee8769e1a472868cfb8c72.tar.gz
pfsense-packages-e63b6b33753f505d9eee8769e1a472868cfb8c72.tar.bz2
pfsense-packages-e63b6b33753f505d9eee8769e1a472868cfb8c72.zip
Correctly set active tab
Diffstat (limited to 'packages/autoconfigbackup')
-rw-r--r--packages/autoconfigbackup/autoconfigbackup.php2
-rw-r--r--packages/autoconfigbackup/autoconfigbackup_backup.php60
2 files changed, 31 insertions, 31 deletions
diff --git a/packages/autoconfigbackup/autoconfigbackup.php b/packages/autoconfigbackup/autoconfigbackup.php
index 54cd246c..3472098a 100644
--- a/packages/autoconfigbackup/autoconfigbackup.php
+++ b/packages/autoconfigbackup/autoconfigbackup.php
@@ -222,7 +222,7 @@ include("head.inc");
$tab_array[1] = array("Restore", $active, "/autoconfigbackup.php");
if($_REQUEST['download'])
$tab_array[] = array("Revision", true, "/autoconfigbackup.php?download={$_REQUEST['download']}");
- $tab_array[] = array("Backup now", true, "/autoconfigbackup_backup.php");
+ $tab_array[] = array("Backup now", false, "/autoconfigbackup_backup.php");
display_top_tabs($tab_array);
?>
</td></tr>
diff --git a/packages/autoconfigbackup/autoconfigbackup_backup.php b/packages/autoconfigbackup/autoconfigbackup_backup.php
index e5022344..2660cadd 100644
--- a/packages/autoconfigbackup/autoconfigbackup_backup.php
+++ b/packages/autoconfigbackup/autoconfigbackup_backup.php
@@ -105,37 +105,37 @@ include("head.inc");
</td></tr>
<tr>
<td>
- <table id="backuptable" class="tabcont" align="center" width="100%" border="0" cellpadding="6" cellspacing="0">
- <tr>
- <td colspan="2" align="left">
- <table>
- <tr>
- <td align="right">
- Enter the backup reason:
- </td>
- <td>
- <input name="reason" id="reason">
- </td>
- </tr>
- <tr>
- <td align="right">
- Do not overwrite previous backups for this hostname:
- </td>
- <td>
- <input type="nooverwrite" type="checkbox">
- </td>
- </tr>
- <tr>
- <td colspan="2" align="middle">
- <input type="button" name="Backup" value="Backup">
- </td>
- </tr>
- </table>
- </td>
- </tr>
- </table>
+ <table id="backuptable" class="tabcont" align="center" width="100%" border="0" cellpadding="6" cellspacing="0">
+ <tr>
+ <td colspan="2" align="left">
+ <table>
+ <tr>
+ <td align="right">
+ Enter the backup reason:
+ </td>
+ <td>
+ <input name="reason" id="reason">
+ </td>
+ </tr>
+ <tr>
+ <td align="right">
+ Do not overwrite previous backups for this hostname:
+ </td>
+ <td>
+ <input type="nooverwrite" type="checkbox">
+ </td>
+ </tr>
+ <tr>
+ <td colspan="2" align="middle">
+ <input type="button" name="Backup" value="Backup">
+ </td>
+ </tr>
+ </table>
+ </td>
+ </tr>
+ </table>
</div>
- </td>
+ </td>
</tr>
</table>
</form>