guid; $plugin_id = $plugin->getID(); $active = $plugin->isActive(); $can_activate = $plugin->canActivate(); $name = $plugin->manifest->getName(); $author = $plugin->manifest->getAuthor(); $version = $plugin->manifest->getVersion(); $website = $plugin->manifest->getWebsite(); $description = $plugin->manifest->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