diff options
author | Phil Davis <phil.davis@inf.org> | 2016-01-15 22:50:16 +0545 |
---|---|---|
committer | Phil Davis <phil.davis@inf.org> | 2016-01-15 22:50:16 +0545 |
commit | 1d191646adb674e2fc411590cbae1525fb4cc494 (patch) | |
tree | a3d79bdfc3efdfef25897f91e70e4142aaa77a8e /src/usr/local/www/diag_confbak.php | |
parent | 2cb37fa6c1a5746a55e09186c557ea298865da87 (diff) | |
download | pfsense-1d191646adb674e2fc411590cbae1525fb4cc494.zip pfsense-1d191646adb674e2fc411590cbae1525fb4cc494.tar.gz |
diag_confbak move tab_array code above diff display
At the moment the tabs "Config History" and "Backup/Restore" jump down the page below the config diff listing when a diff is displayed.
It seems better to me that the tab text stays where it is and the diff listing comes directly below it.
Diffstat (limited to 'src/usr/local/www/diag_confbak.php')
-rw-r--r-- | src/usr/local/www/diag_confbak.php | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/src/usr/local/www/diag_confbak.php b/src/usr/local/www/diag_confbak.php index bb67309..3f6ac31 100644 --- a/src/usr/local/www/diag_confbak.php +++ b/src/usr/local/www/diag_confbak.php @@ -139,6 +139,11 @@ if ($savemsg) { print_info_box($savemsg, 'success'); } +$tab_array = array(); +$tab_array[] = array(gettext("Config History"), true, "diag_confbak.php"); +$tab_array[] = array(gettext("Backup/Restore"), false, "diag_backup.php"); +display_top_tabs($tab_array); + if ($diff) { ?> <div class="panel panel-default"> @@ -179,11 +184,6 @@ if ($diff) { <?php } -$tab_array = array(); -$tab_array[] = array(gettext("Config History"), true, "diag_confbak.php"); -$tab_array[] = array(gettext("Backup/Restore"), false, "diag_backup.php"); -display_top_tabs($tab_array); - $form = new Form(new Form_Button( 'Submit', gettext("Save") |