blob: 91c073facf525f8bca14ee9b3b1a4175a753b51e (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
|
<?php
/**
* Displays an invalid plugin on the admin screen.
*
* An invalid plugin is a plugin whose isValid() method returns false.
* This usually means there are required files missing, unreadable or in the
* wrong format.
*
* @package Elgg.Core
* @subpackage Plugins
*/
$plugin = elgg_get_array_value('plugin', $vars);
$id = $plugin->getID();
$path = htmlspecialchars($plugin->getPath());
$message = elgg_echo('admin:plugins:warning:invalid', array($id));
?>
<div class="plugin_details not_active">
<p class="plugin-cannot-activate"><?php echo $message; ?></p>
<p><?php echo elgg_echo('admin:plugins:label:location') . ": " . $path; ?></p>
</div>
|