aboutsummaryrefslogtreecommitdiff
path: root/views
diff options
context:
space:
mode:
authorcash <cash.costello@gmail.com>2012-01-02 17:01:18 -0500
committercash <cash.costello@gmail.com>2012-01-02 17:01:18 -0500
commitf5e8d5e9be7873132fbfddf74ef8ff68f01fccae (patch)
treedaa66614fd7f5ed70c96c57882dfd1a9470894bb /views
parent599d1068636f8c1ba5c899ecdbd03aca7ebc5a0f (diff)
downloadelgg-f5e8d5e9be7873132fbfddf74ef8ff68f01fccae.tar.gz
elgg-f5e8d5e9be7873132fbfddf74ef8ff68f01fccae.tar.bz2
updated the upgrade system
Diffstat (limited to 'views')
-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');