15 foreach ($fieldlistarray as $listitem) {
18 if ($translation &&
$type) {
20 $item->translation = $translation;
21 $item->shortname = $listitem;
22 $item->name =
"admin_defined_profile_$listitem";
29 <
ul id=
"elgg-profile-fields" class=
"mvm">
33 echo elgg_view(
"profile/", array(
'value' => $item->translation));
37 'href' =>
"action/profile/fields/delete?id={$item->shortname}",
43 $drag_arrow =
elgg_view_icon(
"drag-arrow",
"elgg-state-draggable");
45 <
li id=
"$item->shortname" class=
"clearfix">
47 <
b><
span id=
"elgg-profile-field-{$item->shortname}" class=
"elgg-state-editable">{$item->translation}</
span></
b> [
$type]
$url elgg_get_config($name, $site_guid=0)
Get an Elgg configuration value.
elgg_view_icon($name, $vars=array())
View one of the elgg sprite icons.
elgg_echo($message_key, $args=array(), $language="")
Given a message key, returns an appropriately translated full-text string.
elgg echo
Translates a string.
elgg_view($view, $vars=array(), $bypass=false, $ignored=false, $viewtype= '')
Return a parsed view.