From 639b998d482242b3f72c0616f6c8ae285cd72085 Mon Sep 17 00:00:00 2001 From: marcus Date: Thu, 19 Feb 2009 14:07:59 +0000 Subject: Closes #394: May now specify elgg_version in the manifest to specify a minimum version of elgg required. git-svn-id: https://code.elgg.org/elgg/trunk@2811 36083f99-b078-4883-b0ff-0f9b5a30f544 --- views/default/admin/plugins_opt/plugin.php | 17 +++++++++++++++++ 1 file changed, 17 insertions(+) (limited to 'views/default/admin') diff --git a/views/default/admin/plugins_opt/plugin.php b/views/default/admin/plugins_opt/plugin.php index d4c919e56..be1dc485c 100644 --- a/views/default/admin/plugins_opt/plugin.php +++ b/views/default/admin/plugins_opt/plugin.php @@ -20,6 +20,12 @@ $active = $details['active']; $manifest = $details['manifest']; + // Check elgg version if available + $version_check_valid = false; + if ($manifest['elgg_version']) + $version_check_valid = check_plugin_compatibility($manifest['elgg_version']); + + $ts = time(); $token = generate_action_token($ts); ?> @@ -58,6 +64,17 @@ $plugin, 'entity' => find_plugin_settings($plugin))) ?> + + + +
+ +

-- cgit v1.2.3