37 $plugin_categories =
$plugin->getManifest()->getCategories();
55 if (in_array(
'bundled', $plugin_categories)) {
66 if (isset($plugin_categories)) {
67 foreach ($plugin_categories as $category) {
77 $guids[] = $plugin->getGUID();
83 $plugin_list = array();
85 $create_date = $plugin->getTimeCreated();
86 while (isset($plugin_list[$create_date])) {
89 $plugin_list[$create_date] =
$plugin;
94 $plugin_list = array();
96 $plugin_list[$plugin->getFriendlyName()] =
$plugin;
115 'all' =>
elgg_echo(
'admin:plugins:category:all'),
116 'active' =>
elgg_echo(
'admin:plugins:category:active'),
117 'inactive' =>
elgg_echo(
'admin:plugins:category:inactive'),
118 'bundled' =>
elgg_echo(
'admin:plugins:category:bundled'),
119 'nonbundled' =>
elgg_echo(
'admin:plugins:category:nonbundled'),
129 'action' =>
'admin/plugins',
131 'disable_security' =>
true,
140 'priority' =>
elgg_echo(
'sort:priority'),
150 'action' =>
'admin/plugins',
152 'disable_security' =>
true,
161 'action' =>
'action/admin/plugins/activate_all',
165 'action' =>
'activate',
168 'action' =>
'action/admin/plugins/deactivate_all',
172 'action' =>
'deactivate',
180 <
div id=
"content_header" class=
"mbm clearfix">
184 <
div id=
"elgg-plugin-list">
190 'list_type_toggle' =>
false,
191 'pagination' =>
false,
194 $options[
'display_reordering'] =
true;
elgg_add_admin_notice($id, $message)
Write a persistent message to the admin view.
if(!array_key_exists($show_category, $categories)) $category_form
elgg_load_css($name)
Load a CSS file for this page.
elgg_echo($message_key, $args=array(), $language="")
Given a message key, returns an appropriately translated full-text string.
foreach($installed_plugins as $id=> $plugin) $guids
elgg echo
Translates a string.
static getFriendlyCategory($category)
Returns a category's friendly name.
if(!array_key_exists($sort, $sort_options)) $sort_form
elgg_get_plugins($status= 'active', $site_guid=null)
Returns an ordered list of plugins.
elgg_load_js($name)
Load a JavaScript resource on this page.
elgg_view_entity_list($entities, $vars=array(), $offset=0, $limit=null, $full_view=true, $list_type_toggle=true, $pagination=true)
Returns a rendered list of entities with pagination.
if(!$collection_name) $id
elgg_view_form($action, $form_vars=array(), $body_vars=array())
_elgg_generate_plugin_entities()
Discovers plugins in the plugins_path setting and creates entities for them if they don't exist...