blob: 30cf3d21af9537a47d6602f1bb60b4cc26f564ab (
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
|
<?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_exists("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">
<?php
$params = array('internalid' => "$plugin_id-settings");
echo elgg_view_form("plugins/settings/save", $params, $vars);
?>
</div>
</div>
<?php
}
|