diff options
| author | shadlaws <shad@shadlaws.com> | 2013-02-20 17:30:27 +0100 |
|---|---|---|
| committer | shadlaws <shad@shadlaws.com> | 2013-02-20 17:30:27 +0100 |
| commit | 94aadf03dadbfa01ba1744df60c97b6f3094ae88 (patch) | |
| tree | 3506ae79188b69ada194d69984b9dcd9bc147b4e /modules/gallery/views/admin_dashboard.html.php | |
| parent | 2a6896e2a51833f45cd48bca0b5048cc9633c9bd (diff) | |
#2008 - Add warnings if some active modules are obsolete.
- added module::get_obsolete_modules_message function
- put message on admin/dashboard
- put message on admin/modules
- put message on upgrader
- updated unit test golden file xss_data
Diffstat (limited to 'modules/gallery/views/admin_dashboard.html.php')
| -rw-r--r-- | modules/gallery/views/admin_dashboard.html.php | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/modules/gallery/views/admin_dashboard.html.php b/modules/gallery/views/admin_dashboard.html.php index f391547e..cf90ef28 100644 --- a/modules/gallery/views/admin_dashboard.html.php +++ b/modules/gallery/views/admin_dashboard.html.php @@ -31,6 +31,13 @@ }); }); </script> +<div> + <? if ($obsolete_modules_message): ?> + <p class="g-warning"> + <?= $obsolete_modules_message ?> + </p> + <? endif ?> +</div> <div id="g-admin-dashboard"> <?= $blocks ?> </div> |
