aboutsummaryrefslogtreecommitdiff
path: root/views/default/object/plugin.php
blob: 2facca97a9269203c9640bcef8e19c24f4e78423 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
<?php
/**
 * Used to show plugin user settings.
 *
 * @package Elgg.Core
 * @subpackage Plugins
 *
 */

$plugin = $vars['entity'];

if (!$plugin->isValid()) {
	echo elgg_view('object/plugin/invalid', $vars);
} elseif ($vars['full_view']) {
	echo elgg_view('object/plugin/advanced', $vars);
} else {
	echo elgg_view('object/plugin/simple', $vars);
}