summaryrefslogtreecommitdiffstats
path: root/usr/local/www/pkg_mgr_installed.php
diff options
context:
space:
mode:
authorjim-p <jimp@pfsense.org>2014-07-02 12:07:33 -0400
committerjim-p <jimp@pfsense.org>2014-07-02 12:07:33 -0400
commit7c8f3711075d9671eda430b86ac59d6013d12cae (patch)
tree7a4f6c4e9c01728a68a7bed6bfe7890823d0b40a /usr/local/www/pkg_mgr_installed.php
parent38c7d42e4b47e9c8d968ebf2c7a5b75806d87203 (diff)
downloadpfsense-7c8f3711075d9671eda430b86ac59d6013d12cae.zip
pfsense-7c8f3711075d9671eda430b86ac59d6013d12cae.tar.gz
More refinements to the unofficial package repository warning ( Issue #484 ) -- Now also shows on Dashboard and installed package list. Cleaned up some code and shuffled things around to avoid unnecessary repetition.
Diffstat (limited to 'usr/local/www/pkg_mgr_installed.php')
-rw-r--r--usr/local/www/pkg_mgr_installed.php7
1 files changed, 6 insertions, 1 deletions
diff --git a/usr/local/www/pkg_mgr_installed.php b/usr/local/www/pkg_mgr_installed.php
index 01f3089..19b5950 100644
--- a/usr/local/www/pkg_mgr_installed.php
+++ b/usr/local/www/pkg_mgr_installed.php
@@ -89,7 +89,12 @@ include("head.inc");
</head>
<body link="#0000CC" vlink="#0000CC" alink="#0000CC">
- <?php include("fbegin.inc"); ?>
+ <?php include("fbegin.inc");
+
+ /* Print package server mismatch warning. See https://redmine.pfsense.org/issues/484 */
+ if (!verify_all_package_servers())
+ print_info_box(package_server_mismatch_message()); ?>
+
<table width="100%" border="0" cellpadding="0" cellspacing="0" summary="packages installed">
<tr>
<td>
OpenPOWER on IntegriCloud