Elgg  Version 1.11
profile_fields.php
Go to the documentation of this file.
1 <?php
6 $add = elgg_view_form('profile/fields/add', array('class' => 'elgg-form-settings'), array());
7 $list = elgg_view('admin/appearance/profile_fields/list');
8 
9 $reset = elgg_view('output/url', array(
10  'text' => elgg_echo('reset'),
11  'href' => 'action/profile/fields/reset',
12  'title' => elgg_echo('profile:resetdefault'),
13  'confirm' => elgg_echo('profile:resetdefault:confirm'),
14  'class' => 'elgg-button elgg-button-cancel',
15  'is_trusted' => 'true',
16 ));
17 
18 $body = <<<__HTML
19 $add
20 $list
21 <div class="mtl">$reset</div>
22 __HTML;
23 
24 echo $body;
$list
fieldset div
Definition: admin.php:470
elgg_echo($message_key, $args=array(), $language="")
Given a message key, returns an appropriately translated full-text string.
Definition: languages.php:21
elgg echo
Translates a string.
Definition: languages.js:43
$reset
elgg_view($view, $vars=array(), $bypass=false, $ignored=false, $viewtype= '')
Return a parsed view.
Definition: views.php:354
elgg_view_form($action, $form_vars=array(), $body_vars=array())
Definition: views.php:1313
$add
Admin area: edit default profile fields.