Elgg
Version 2.3
|
Go to the source code of this file.
Variables | |
$guid = (int) get_input("guid") | |
if(empty($guid)) | $plugin = get_entity($guid) |
if(!$plugin instanceof ElggPlugin) | $active = $plugin->isActive() |
$can_activate = $plugin->canActivate() | |
$screenshots_menu = '' | |
$screenshots_body = '' | |
$screenshots = $plugin->getManifest()->getScreenshots() | |
if($screenshots) | $info = [] |
$info [elgg_echo('admin:plugins:label:version')] = htmlspecialchars($plugin->getManifest()->getVersion()) | |
$info [elgg_echo('admin:plugins:label:id')] | |
$info [elgg_echo('admin:plugins:label:author')] | |
$url = $plugin->getManifest()->getWebsite() | |
if($url) | $info [elgg_echo('admin:plugins:label:copyright')] |
$info [elgg_echo('admin:plugins:label:licence')] | |
$site_path = elgg_get_root_path() | |
$path = $plugin->getPath() | |
if(0===strpos($path, $site_path)) | $info [elgg_echo('admin:plugins:label:location')] = htmlspecialchars($path) |
$categories = (array)$plugin->getManifest()->getCategories() | |
$info [elgg_echo('admin:plugins:label:categories')] = implode(', ', $categories) | |
$rows = '' | |
foreach($info as $name=> $value) | $info_html = elgg_format_element('table', ['class' => 'elgg-table'], $rows) |
$extra_info = elgg_echo("admin:plugins:info:" . $plugin->getID()) | |
if($extra_info!==("admin:plugins:info:".$plugin->getID())) | $resources |
$resources_html = '' | |
foreach($resources as $id=> $href) if(!empty($resources_html)) | $files = $plugin->getAvailableTextFiles() |
$files_html = '' | |
if($files) | $body = "<div class='elgg-plugin'>" |
$tabs = array() | |
$tabs [] | |
if($can_activate) | else |
if (!$plugin instanceof ElggPlugin) $active = $plugin->isActive() |
Definition at line 14 of file details.php.
Definition at line 159 of file details.php.
$can_activate = $plugin->canActivate() |
Definition at line 15 of file details.php.
$categories = (array)$plugin->getManifest()->getCategories() |
Definition at line 94 of file details.php.
$extra_info = elgg_echo("admin:plugins:info:" . $plugin->getID()) |
Definition at line 112 of file details.php.
foreach ($resources as $id=> $href) if (!empty($resources_html)) $files = $plugin->getAvailableTextFiles() |
Definition at line 141 of file details.php.
$files_html = '' |
Definition at line 143 of file details.php.
$guid = (int) get_input("guid") |
Definition at line 3 of file details.php.
if ($screenshots) $info = [] |
Definition at line 58 of file details.php.
$info[elgg_echo('admin:plugins:label:version')] = htmlspecialchars($plugin->getManifest()->getVersion()) |
Definition at line 60 of file details.php.
$info[elgg_echo('admin:plugins:label:id')] |
Definition at line 62 of file details.php.
$info[elgg_echo('admin:plugins:label:author')] |
Definition at line 66 of file details.php.
Definition at line 79 of file details.php.
$info[elgg_echo('admin:plugins:label:licence')] |
Definition at line 83 of file details.php.
if (0===strpos($path, $site_path)) $info[elgg_echo('admin:plugins:label:location')] = htmlspecialchars($path) |
Definition at line 92 of file details.php.
$info[elgg_echo('admin:plugins:label:categories')] = implode(', ', $categories) |
Definition at line 99 of file details.php.
foreach ($info as $name=> $value) $info_html = elgg_format_element('table', ['class' => 'elgg-table'], $rows) |
Definition at line 110 of file details.php.
$path = $plugin->getPath() |
Definition at line 88 of file details.php.
if (empty($guid)) $plugin = get_entity($guid) |
Definition at line 9 of file details.php.
if ($extra_info!==("admin:plugins:info:".$plugin->getID())) $resources |
Definition at line 117 of file details.php.
$resources_html = '' |
Definition at line 123 of file details.php.
$rows = '' |
Definition at line 102 of file details.php.
$screenshots = $plugin->getManifest()->getScreenshots() |
Definition at line 19 of file details.php.
$screenshots_body = '' |
Definition at line 18 of file details.php.
$screenshots_menu = '' |
Definition at line 17 of file details.php.
$site_path = elgg_get_root_path() |
Definition at line 87 of file details.php.
$tabs = array() |
Definition at line 166 of file details.php.
Definition at line 168 of file details.php.
$url = $plugin->getManifest()->getWebsite() |
Definition at line 70 of file details.php.
Definition at line 211 of file details.php.