blob: 8179728edb65dca4d912889494885312c9ec8b17 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
|
<?php
/**
* Elgg plugin settings
*
* @uses ElggPlugin $vars['plugin'] The plugin object to display settings for.
*
* @package Elgg.Core
* @subpackage Plugins.Settings
*/
$plugin = $vars['plugin'];
$plugin_id = $plugin->getID();
if (elgg_view("settings/$plugin_id/edit")) {
?>
<div class="elgg-module elgg-module-info">
<div class="elgg-head">
<h3><?php echo $plugin->manifest->getName(); ?></h3>
</div>
<div class="elgg-body">
<div id="<?php echo $plugin_id; ?>_settings">
<?php echo elgg_view("object/plugin", array(
'plugin' => $plugin,
// in for backward compatibility
'entity' => $plugin,
'type' => 'admin'
));
?>
</div>
</div>
</div>
<?php
}
|