diff options
author | k-paulius <k.dash.paulius@gmail.com> | 2016-02-16 00:57:50 -0600 |
---|---|---|
committer | Stephen Beaver <sbeaver@netgate.com> | 2016-02-16 17:33:04 -0500 |
commit | 16c6d51fe0f60f5c6ed227f138c452218de8fcc3 (patch) | |
tree | 85bc2192ed9107271d5d23b482186984fbcf75a7 /src/usr/local/www/pkg_mgr_install.php | |
parent | ee1b69805bb67c2d53c75ff8a8ffadc92bcced65 (diff) | |
download | pfsense-16c6d51fe0f60f5c6ed227f138c452218de8fcc3.zip pfsense-16c6d51fe0f60f5c6ed227f138c452218de8fcc3.tar.gz |
Move action alert box to the top of the page, just like on all other pages.
Diffstat (limited to 'src/usr/local/www/pkg_mgr_install.php')
-rw-r--r-- | src/usr/local/www/pkg_mgr_install.php | 13 |
1 files changed, 8 insertions, 5 deletions
diff --git a/src/usr/local/www/pkg_mgr_install.php b/src/usr/local/www/pkg_mgr_install.php index 6087d1d..83106ff 100644 --- a/src/usr/local/www/pkg_mgr_install.php +++ b/src/usr/local/www/pkg_mgr_install.php @@ -248,6 +248,12 @@ if ($firmwareupdate || ($_POST['id'] == "firmware")) { } include("head.inc"); + +if (!empty($_POST['id']) || $_POST['mode'] == "reinstallall") { + ?> + <div id="final" class="alert" role="alert" style=":display: none;"></div> +<?php +} display_top_tabs($tab_array); if ($input_errors) { @@ -312,7 +318,7 @@ if ($input_errors) { ?> <div class="form-group"> <label class="col-sm-2 control-label"> - <?=gettext("Current base system")?> + <?=gettext("Current Base System")?> </label> <div class="col-sm-10"> <?=$firmwareversion['installed_version']?> @@ -321,7 +327,7 @@ if ($input_errors) { <div class="form-group"> <label class="col-sm-2 control-label"> - <?=gettext("Latest base system")?> + <?=gettext("Latest Base System")?> </label> <div class="col-sm-10"> <?=$firmwareversion['version']?> @@ -427,9 +433,6 @@ if (!empty($_POST['id']) || $_POST['mode'] == "reinstallall"): <textarea rows="15" class="form-control" id="output" name="output"><?=$_POST['output']?></textarea> </div> </div> - - <div id="final" class="alert" role="alert" style=":display: none;"></div> - <?php endif?> </form> |