summaryrefslogtreecommitdiff
path: root/modules/gallery/views/admin_maintenance.html.php
diff options
context:
space:
mode:
authorNathan Kinkade <nkinkade@nkinka.de>2010-02-03 13:48:34 +0000
committerNathan Kinkade <nkinkade@nkinka.de>2010-02-03 13:48:34 +0000
commit052476ef44ca801766cbd6bdbfe42d5a0a362e52 (patch)
treef7a1d39fe4aae154e916e2cd4c02a798aef6c67f /modules/gallery/views/admin_maintenance.html.php
parent92d211bae653b6c94e0038b1a47734a1acaa149e (diff)
parent99a7f470b93d35717f8d5979d05da6cf05a1dd20 (diff)
Merge branch 'master' of git://github.com/gallery/gallery3
Diffstat (limited to 'modules/gallery/views/admin_maintenance.html.php')
-rw-r--r--modules/gallery/views/admin_maintenance.html.php10
1 files changed, 8 insertions, 2 deletions
diff --git a/modules/gallery/views/admin_maintenance.html.php b/modules/gallery/views/admin_maintenance.html.php
index ac597715..19375670 100644
--- a/modules/gallery/views/admin_maintenance.html.php
+++ b/modules/gallery/views/admin_maintenance.html.php
@@ -29,16 +29,22 @@
<?= $task->description ?>
</td>
<td>
- <a href="<?= url::site("admin/maintenance/start/$task->callback?csrf=$csrf") ?>"
+ <? foreach ($task_buttons as $button): ?>
+ <a href="<?= "{$button->url}/$task->callback?csrf=$csrf" ?>"
class="g-dialog-link g-button ui-icon-left ui-state-default ui-corner-all">
- <?= t("run") ?>
+ <?= html::clean($button->text) ?>
</a>
+ <? endforeach ?>
</td>
</tr>
<? endforeach ?>
</table>
</div>
+ <? foreach ($task_maintenance_content as $content): ?>
+ <?= html::purify($content) ?>
+ <? endforeach ?>
+
<? if ($running_tasks->count()): ?>
<div id="g-running-tasks">
<h2> <?= t("Running tasks") ?> </h2>