translation = $translation;
$item->shortname = $listitem;
$item->name = "admin_defined_profile_$listitem";
$item->type = elgg_echo("profile:field:$type");
$items[] = $item;
}
}
}
?>
$item->translation));
//$even_odd = ( 'odd' != $even_odd ) ? 'odd' : 'even';
$url = elgg_view('output/url', array(
'href' => "action/profile/fields/delete?id={$item->shortname}",
'text' => elgg_view_icon('delete-alt'),
'is_action' => true,
'is_trusted' => true,
));
$type = elgg_echo($item->type);
$drag_arrow = elgg_view_icon("drag-arrow", "elgg-state-draggable");
echo <<
$drag_arrow
{$item->translation} [$type] $url
HTML;
}
?>