|
= $offset + $index + 1 ?>.
|
= Avatar::getAvatar($person['user_id'], $person['username'])
->getImageTag(Avatar::SMALL, ['title' => $person['fullname']])
?>
|
= htmlReady($person['fullname']) ?>
foreach ($person['is_king'] as $type => $text): ?>
= Icon::create('crown', Icon::ROLE_SORT)->asImg(['title' => $text, 'alt' => $text, 'class' => 'text-top']) ?>
endforeach ?>
|
$content = Assets::img('blank.gif', ['width' => Icon::SIZE_DEFAULT]) . ' ';
// News
if (!empty($person['newscount'])) {
$tmp = sprintf(ngettext('Eine persönliche Ankündigung', '%s persönliche Ankündigungen', $person['newscount']), $person['newscount']);
$content .= sprintf(
'%s ',
URLHelper::getLink('dispatch.php/profile?username=' . $person['username']),
Icon::create('news', Icon::ROLE_CLICKABLE, ['title' => $tmp])->asImg()
);
} else {
$content .= Assets::img('blank.gif', ['width' => Icon::SIZE_DEFAULT]) . ' ';
}
// Votes
if (!empty($person['votecount'])) {
$tmp = sprintf(ngettext('Eine Umfrage', '%s Umfragen', $person['votecount']), $person['votecount']);
$content .= sprintf(
'%s ',
URLHelper::getLink('dispatch.php/profile?username=' . $person['username'] . '#questionnaire_area'),
Icon::create('vote', Icon::ROLE_CLICKABLE, ['title' => $tmp])->asImg()
);
} else {
$content .= Assets::img('blank.gif', ['width' => Icon::SIZE_DEFAULT]) . ' ';
}
// Termine
if (!empty($person['eventcount'])) {
$tmp = sprintf(ngettext('Ein Termin', '%s Termine', $person['eventcount']), $person['eventcount']);
$content .= sprintf(
'%s ',
URLHelper::getLink('dispatch.php/profile?username=' . $person['username'] . '#a'),
Icon::create('schedule', Icon::ROLE_CLICKABLE, ['title' => $tmp])->asImg()
);
} else {
$content .= Assets::img('blank.gif', ['width' => Icon::SIZE_DEFAULT]) . ' ';
}
$content .= Assets::img('blank.gif', ['width' => Icon::SIZE_DEFAULT]) . ' ';
echo $content;
?>
|
= number_format($person['score'], 0, ',', '.') ?> |
= Score::getTitel($person['score'], $person['geschlecht']) ?> |
if($person['user_id'] == $GLOBALS['user']->id): ?>
= Icon::create('trash', Icon::ROLE_CLICKABLE, ['title' => _('Ihren Wert von der Liste löschen')])
->asImg(['class' => 'text-top'])
?>
endif; ?>
|
endforeach ?>