getManifest()->getContributors();
if (empty($contributors)) {
return;
}
echo '
';
foreach ($contributors as $contributor) {
if ($contributor['name']) {
$contributor['name'] = elgg_view('output/text', array(
'value' => $contributor['name'],
));
} else {
continue;
}
if ($contributor['website']) {
$contributor['website'] = elgg_view('output/url', array(
'href' => $contributor['website'],
'text' => $contributor['website'],
'is_trusted' => true,
));
}
if ($contributor['username']) {
$contributor['username'] = elgg_view('output/url', array(
'href' => "http://community.elgg.org/profile/{$contributor['username']}/",
'text' => "@{$contributor['username']}",
'is_trusted' => true,
));
}
if ($contributor['description']) {
$contributor['description'] = elgg_view('output/text', array(
'value' => $contributor['description'],
));
}
if ($contributor['name']) { // Name is requiried
echo '';
foreach ($contributor as $field => $value) {
if ($value) {
$dt = elgg_echo("admin:plugins:label:contributors:$field");
echo "- $dt
";
echo "- $value
";
}
}
echo '
';
}
}
echo '
';