From be8c4d483955d46a7aec88a52adca6bd679606f1 Mon Sep 17 00:00:00 2001 From: Stephen Beaver Date: Wed, 18 Nov 2015 13:26:13 -0500 Subject: xt string changes --- src/usr/local/www/pkg_mgr_install.php | 23 +++++++++++++++-------- src/usr/local/www/system_update_settings.php | 2 +- 2 files changed, 16 insertions(+), 9 deletions(-) (limited to 'src/usr/local') diff --git a/src/usr/local/www/pkg_mgr_install.php b/src/usr/local/www/pkg_mgr_install.php index ff5dd60..ba4dc2e 100644 --- a/src/usr/local/www/pkg_mgr_install.php +++ b/src/usr/local/www/pkg_mgr_install.php @@ -255,8 +255,11 @@ include("head.inc"); $tab_array = array(); $tab_array[] = array(gettext("Available packages"), false, "pkg_mgr.php"); $tab_array[] = array(gettext("Installed packages"), false, "pkg_mgr_installed.php"); -$tab_array[] = array(gettext("Package Installer"), true, ""); - +if($firmwareupdate) { + $tab_array[] = array(gettext("System update"), true, ""); +} else { + $tab_array[] = array(gettext("Package Installer"), true, ""); +} if($firmwareupdate) { $tab_array[] = array(gettext("Update Settings"), false, "system_update_settings.php"); } @@ -350,7 +353,7 @@ if ($input_errors)
- +
-

+

@@ -497,9 +500,13 @@ function setProgress(barName, percent, transition) { // Display a success banner function show_success() { $('#final').removeClass("alert-info").addClass("alert-success"); - if("" != "reinstallall") - $('#final').html("" + "" + " " + "" + " " + ""); - else + if("" != "reinstallall") { + if("" == "firmware") { + $('#final').html("" + "System update" + " " + ""); + } else { + $('#final').html("" + "" + " " + "" + " " + ""); + } + } else $('#final').html(""); $('#final').show(); diff --git a/src/usr/local/www/system_update_settings.php b/src/usr/local/www/system_update_settings.php index ce8eb69..fcc9374 100644 --- a/src/usr/local/www/system_update_settings.php +++ b/src/usr/local/www/system_update_settings.php @@ -125,7 +125,7 @@ if ($savemsg) $tab_array = array(); $tab_array[] = array(gettext("Update Settings"), true, "system_update_settings.php"); -$tab_array[] = array(gettext("Update"), false, "pkg_mgr_install.php?id=firmware"); +$tab_array[] = array(gettext("System update"), false, "pkg_mgr_install.php?id=firmware"); display_top_tabs($tab_array); require_once('classes/Form.class.php'); -- cgit v1.1