aboutsummaryrefslogtreecommitdiff
path: root/views/default/admin/settings
diff options
context:
space:
mode:
Diffstat (limited to 'views/default/admin/settings')
-rw-r--r--views/default/admin/settings/tidypics.php12
1 files changed, 12 insertions, 0 deletions
diff --git a/views/default/admin/settings/tidypics.php b/views/default/admin/settings/tidypics.php
index aaaebd371..2e7d79942 100644
--- a/views/default/admin/settings/tidypics.php
+++ b/views/default/admin/settings/tidypics.php
@@ -6,6 +6,18 @@
* @license http://www.gnu.org/licenses/gpl-2.0.html GNU General Public License v2
*/
+if (tidypics_is_upgrade_available()) {
+ echo '<div class="elgg-admin-notices">';
+ echo '<p>';
+ echo elgg_view('output/url', array(
+ 'text' => elgg_echo('tidypics:upgrade'),
+ 'href' => 'action/photos/admin/upgrade',
+ 'is_action' => true,
+ ));
+ echo '</p>';
+ echo '</div>';
+}
+
echo elgg_view('output/longtext', array('value' => elgg_echo('tidypics:admin:instructions')));
echo elgg_view_form('photos/admin/settings');