guid; $plugin_id = $plugin->getID(); $active = $plugin->isActive(); $can_activate = $plugin->canActivate(); $name = $plugin->getManifest()->getName(); $author = $plugin->getManifest()->getAuthor(); $version = $plugin->getManifest()->getVersion(); $website = $plugin->getManifest()->getWebsite(); $description = $plugin->getManifest()->getDescription(); if ($active) { $active_class = 'elgg-state-active'; $checked = 'checked="checked"'; } else { $active_class = 'elgg-state-inactive'; $checked = ''; } if ($can_activate) { $disabled = ''; } else { $disabled = 'disabled="disabled"'; $description .= '

' . elgg_echo('admin:plugins:simple:cannot_activate') . '

'; } $description = elgg_view('output/longtext', array('value' => $description)); $plugin_footer = '"; echo <<<___END
$description $plugin_footer
___END;