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_modules.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_modules.html.php')
| -rw-r--r-- | modules/gallery/views/admin_modules.html.php | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/modules/gallery/views/admin_modules.html.php b/modules/gallery/views/admin_modules.html.php index 5a7f7b6c..96576ae4 100644 --- a/modules/gallery/views/admin_modules.html.php +++ b/modules/gallery/views/admin_modules.html.php @@ -46,6 +46,12 @@ <?= t("Power up your Gallery by <a href=\"%url\">adding more modules</a>! Each module provides new cool features.", array("url" => "http://codex.galleryproject.org/Category:Gallery_3:Modules")) ?> </p> + <? if ($obsolete_modules_message): ?> + <p class="g-warning"> + <?= $obsolete_modules_message ?> + </p> + <? endif ?> + <div class="g-block-content"> <form id="g-module-update-form" method="post" action="<?= url::site("admin/modules/confirm") ?>"> <?= access::csrf_form_field() ?> |
