From f5e8d5e9be7873132fbfddf74ef8ff68f01fccae Mon Sep 17 00:00:00 2001 From: cash Date: Mon, 2 Jan 2012 17:01:18 -0500 Subject: updated the upgrade system --- views/default/admin/settings/tidypics.php | 12 ++++++++++++ 1 file changed, 12 insertions(+) (limited to 'views') 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 '
'; + echo '

'; + echo elgg_view('output/url', array( + 'text' => elgg_echo('tidypics:upgrade'), + 'href' => 'action/photos/admin/upgrade', + 'is_action' => true, + )); + echo '

'; + echo '
'; +} + echo elgg_view('output/longtext', array('value' => elgg_echo('tidypics:admin:instructions'))); echo elgg_view_form('photos/admin/settings'); -- cgit v1.2.3