getPriority(); $active = $plugin->isActive(); $name = $plugin->getManifest()->getName(); $can_activate = $plugin->canActivate(); $max_priority = elgg_get_max_plugin_priority(); $actions_base = '/action/admin/plugins/'; $ts = time(); $token = generate_action_token($ts); // build reordering links $links = ''; // top and up link only if not at top if ($priority > 1) { $top_url = elgg_http_add_url_query_elements($actions_base . 'set_priority', array( 'plugin_guid' => $plugin->guid, 'priority' => 'first', 'is_action' => true )); $links .= "
$message
"; } } if (!$can_activate) { if ($active) { $message = elgg_echo('admin:plugins:warning:unmet_dependencies_active'); echo "$message
"; } else { $message = elgg_echo('admin:plugins:warning:unmet_dependencies'); echo "$message
"; } } ?>