Elgg  Version 2.3
Variables
add.php File Reference

Go to the source code of this file.

Variables

 $label_text = elgg_echo('profile:label')
 Add a new field to the set of custom profile fields. More...
 
 $type_text = elgg_echo('profile:type')
 
 $label_control = elgg_view('input/text', array('name' => 'label'))
 
 $type_control
 
 $submit_control = elgg_view('input/submit', array('name' => elgg_echo('add'), 'value' => elgg_echo('add')))
 
 $formbody
 

Variable Documentation

$formbody
Initial value:
= <<< END
<div class="elgg-foot">$type_text: $type_control
END
$type_text
Definition: add.php:7
$type_control
Definition: add.php:10
fieldset div
Definition: admin.css.php:485
$label_text
Add a new field to the set of custom profile fields.
Definition: add.php:6
$label_control
Definition: add.php:9
$submit_control
Definition: add.php:20

Definition at line 22 of file add.php.

$label_control = elgg_view('input/text', array('name' => 'label'))

Definition at line 9 of file add.php.

$label_text = elgg_echo('profile:label')

Add a new field to the set of custom profile fields.

Definition at line 6 of file add.php.

$submit_control = elgg_view('input/submit', array('name' => elgg_echo('add'), 'value' => elgg_echo('add')))

Definition at line 20 of file add.php.

$type_control
Initial value:
= elgg_view('input/select', array('name' => 'type', 'options_values' => array(
'text' => elgg_echo('profile:field:text'),
'longtext' => elgg_echo('profile:field:longtext'),
'tags' => elgg_echo('profile:field:tags'),
'url' => elgg_echo('profile:field:url'),
'email' => elgg_echo('profile:field:email'),
'location' => elgg_echo('profile:field:location'),
'date' => elgg_echo('profile:field:date'),
)))
elgg_echo($message_key, $args=array(), $language="")
Given a message key, returns an appropriately translated full-text string.
Definition: languages.php:21
elgg_view($view, $vars=array(), $ignore1=false, $ignore2=false, $viewtype= '')
Return a parsed view.
Definition: views.php:336

Definition at line 10 of file add.php.

$type_text = elgg_echo('profile:type')

Definition at line 7 of file add.php.