aboutsummaryrefslogtreecommitdiff
path: root/views/default/object/plugin.php
blob: 68171424b23e14fde8282dc3ae3611a50c8367bc (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
<?php
/**
 * Used to show plugin user settings.
 *
 * @package Elgg.Core
 * @subpackage Plugins
 * 
 * @todo This view really should be used to display visualization on the admin panel, \
 * rather than emitting the settings forms
 */

// Do we want to show admin settings or user settings
$type = elgg_get_array_value('type', $vars, '');

if ($type != 'user') {
	$type = '';
}

?>
<div>
	<?php echo elgg_view_form("plugins/{$type}settings/save", array(), $vars); ?>
</div>