Wanted to give our donators an more prominent place on our Website Credits page,in the same way as moderators are shown up.
So far did these two adjustments, but still no luck,do I forget something or doing something wrong.
Who.template.php
Who.dutch.php
So far did these two adjustments, but still no luck,do I forget something or doing something wrong.
Who.template.php
if (!empty($context['site_credits']['donations']))
{
echo '
<section>
<h6>', number_context('credits_donateurs', count($context['site_credits']['donations'])), '</h6>
<ul class="last">';
foreach ($context['site_credits']['donations'] as $donation)
echo '
<li', strpos($donation['real_name'], '<img') !== false ? ' class="witha"' : '', '><a href="<URL>?action=profile;u=', $donation['id_member'], '">', $donation['real_name'], '</a></li>';
echo '
</ul>
</section>';
}
Who.dutch.php
// Credits text
$txt['credits_site'] = 'Team-leden';
$txt['credits_admins'] = array(1 => 'Administrator', 'n' => 'Beheerders');
$txt['credits_moderators'] = array(1 => 'Moderator', 'n' => 'Moderators');
$txt['credits_donations'] = array(1 => 'Donation', 'n' => 'Donateurs');