';
}
function template_attachment_repair()
{
global $context, $txt, $scripturl;
// If we've completed just let them know!
if ($context['completed'])
{
echo '
', $txt['repair_attachments_complete'], '
', $txt['repair_attachments_complete_desc'], '
';
}
// What about if no errors were even found?
elseif (!$context['errors_found'])
{
echo '
', $txt['repair_attachments_complete'], '
', $txt['repair_attachments_no_errors'], '
';
}
// Otherwise, I'm sad to say, we have a problem!
else
{
echo '
';
}
}
?>