From 1d191646adb674e2fc411590cbae1525fb4cc494 Mon Sep 17 00:00:00 2001 From: Phil Davis Date: Fri, 15 Jan 2016 22:50:16 +0545 Subject: 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. --- src/usr/local/www/diag_confbak.php | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) (limited to 'src/usr/local/www/diag_confbak.php') 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) { ?>
@@ -179,11 +184,6 @@ if ($diff) {