diff options
author | jim-p <jimp@pfsense.org> | 2014-07-02 12:07:33 -0400 |
---|---|---|
committer | jim-p <jimp@pfsense.org> | 2014-07-02 12:07:33 -0400 |
commit | 7c8f3711075d9671eda430b86ac59d6013d12cae (patch) | |
tree | 7a4f6c4e9c01728a68a7bed6bfe7890823d0b40a /usr/local/www/pkg_mgr_installed.php | |
parent | 38c7d42e4b47e9c8d968ebf2c7a5b75806d87203 (diff) | |
download | pfsense-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.php | 7 |
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> |