', $txt['scheduled_tasks_were_run'], '
';
else
{
echo '
-
', $txt['scheduled_tasks_were_run_errors'], '
';
foreach ($context['scheduled_errors'] as $task => $errors)
echo '
-
', isset($txt['scheduled_task_' . $task]) ? $txt['scheduled_task_' . $task] : $task, '
- ', implode('
- ', $errors), '
';
echo '
';
}
}
template_show_list('scheduled_tasks');
}
/**
* A template for, you guessed it, editing a task!
*/
function template_edit_scheduled_tasks()
{
global $context, $txt, $scripturl;
// Starts off with general maintenance procedures.
echo '
';
}
?>