Add the scheduler component to the admin maintenance screen.

This commit is contained in:
Tim Almdal
2010-02-01 16:28:52 -08:00
parent 43985ea2fb
commit 48cb5021c6
2 changed files with 10 additions and 0 deletions
@@ -33,12 +33,20 @@
class="g-dialog-link g-button ui-icon-left ui-state-default ui-corner-all">
<?= t("run") ?>
</a>
<? if (module::is_active("scheduler")): ?>
<a href="<?= url::site("form/add/admin/schedule/$task->callback?csrf=$csrf") ?>"
class="g-dialog-link g-button ui-icon-left ui-state-default ui-corner-all">
<?= t("schedule") ?>
</a>
<? endif ?>
</td>
</tr>
<? endforeach ?>
</table>
</div>
<?= $schedule_definitions ?>
<? if ($running_tasks->count()): ?>
<div id="g-running-tasks">
<h2> <?= t("Running tasks") ?> </h2>