';
}
function template_attachment_repair()
{
global $context, $txt, $scripturl, $settings;
// 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 '
';
}
}
function template_attachment_paths()
{
global $modSettings;
if (!empty($modSettings['attachment_basedirectories']))
{
template_show_list('base_paths');
}
template_show_list('attach_paths');
}
?>