', $txt['credits'], '
';
foreach ($context['credits'] as $section)
{
if (isset($section['pretext']))
echo '
', $section['pretext'], '
';
if (isset($section['title']))
echo '
', $section['title'], '
';
echo '
';
foreach ($section['groups'] as $group)
{
echo '
-
', isset($group['title']) ? '' . $group['title'] . '' : '', '
- ';
$names = sentence_list($group['members']);
echo sprintf($txt['credits_list'], $names);
echo '
';
}
echo '
';
if (isset($section['posttext']))
echo '
', $section['posttext'], '
';
echo '
';
}
// Other software and graphics
if (!empty($context['credits_software_graphics']))
{
echo '
', $txt['credits_software_graphics'], '
';
if (!empty($context['credits_software_graphics']['graphics']))
echo '
- ', $txt['credits_graphics'], '
- ', implode('
- ', $context['credits_software_graphics']['graphics']), '
';
if (!empty($context['credits_software_graphics']['software']))
echo '
- ', $txt['credits_software'], '
- ', implode('
- ', $context['credits_software_graphics']['software']), '
';
if (!empty($context['credits_software_graphics']['fonts']))
echo '
- ', $txt['credits_fonts'], '
- ', implode('
- ', $context['credits_software_graphics']['fonts']), '
';
echo '
';
}
// How about Modifications, we all love em
if (!empty($context['credits_modifications']) || !empty($context['copyrights']['mods']))
{
echo '
', $txt['credits_modifications'], '
';
// Display the credits.
if (!empty($context['credits_modifications']))
echo '
- ', implode('
- ', $context['credits_modifications']), '
';
// Legacy.
if (!empty($context['copyrights']['mods']))
echo '
- ', implode('
- ', $context['copyrights']['mods']), '
';
echo '
';
}
// SMF itself
echo '
', $txt['credits_forum'], ' ', $txt['credits_copyright'], '
', $context['copyrights']['smf'], '
';
}
?>