16 echo 
'<ul class="elgg-plugin-contributors">';
 
   20     if ($contributor[
'name']) {
 
   21         $contributor[
'name'] = 
elgg_view(
'output/text', array(
 
   22             'value' => $contributor[
'name'],
 
   28     if ($contributor[
'website']) {
 
   29         $contributor[
'website'] = 
elgg_view(
'output/url', array(
 
   30             'href' => $contributor[
'website'],
 
   31             'text' => $contributor[
'website'],
 
   36     if ($contributor[
'username']) {
 
   37         $contributor[
'username'] = 
elgg_view(
'output/url', array(
 
   38             'href' => 
"http://community.elgg.org/profile/{$contributor['username']}/",
 
   39             'text' => 
"@{$contributor['username']}",
 
   44     if ($contributor[
'description']) {
 
   45         $contributor[
'description'] = 
elgg_view(
'output/text', array(
 
   46             'value' => $contributor[
'description'],
 
   50     if ($contributor[
'name']) { 
 
   52         foreach ($contributor as $field => 
$value) {
 
   54                 $dt = 
elgg_echo(
"admin:plugins:label:contributors:$field");
 
   55                 echo 
"<dt class=\"elgg-plugin-contributor-$field\">$dt</dt>";
 
   56                 echo 
"<dd class=\"elgg-plugin-contributor-$field\">$value</dd>";
 
elgg_extract($key, array $array, $default=null, $strict=true)
Checks for $array[$key] and returns its value if it exists, else returns $default.
 
elgg_echo($message_key, $args=array(), $language="")
Given a message key, returns an appropriately translated full-text string.
 
if(file_exists($welcome)) $vars
 
elgg_view($view, $vars=array(), $bypass=false, $ignored=false, $viewtype='')
Return a parsed view.