aboutsummaryrefslogtreecommitdiff
path: root/views/default/admin/appearance/profile_fields.php
blob: f1d78c19fa5fa5856204709df66d0256eeeaaab2 (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
<?php
/**
 * Admin area: edit default profile fields
 */

$add = elgg_view_form('profile/fields/add', array('class' => 'elgg-form-settings'), array());
$list = elgg_view('admin/appearance/profile_fields/list');

$reset = elgg_view('output/confirmlink', array(
	'text' => elgg_echo('reset'),
	'href' => 'action/profile/fields/reset',
	'title' => elgg_echo('profile:resetdefault'),
	'confirm' => elgg_echo('profile:resetdefault:confirm'),
	'class' => 'elgg-button elgg-button-cancel',
	'is_trusted' => 'true',
));

$body = <<<__HTML
$add
$list
<div class="mtl">$reset</div>
__HTML;

echo $body;