summaryrefslogtreecommitdiff
path: root/modules/gallery/views/admin_maintenance.html.php
diff options
context:
space:
mode:
authorNathan Kinkade <nkinkade@nkinka.de>2010-02-10 20:57:53 +0000
committerNathan Kinkade <nkinkade@nkinka.de>2010-02-10 20:57:53 +0000
commit10e36fcf1b5acf07c5cc128105af03fb09aac89e (patch)
treec5e815b0a4c540d0dc7bc5f90dd1eae3df31017e /modules/gallery/views/admin_maintenance.html.php
parent052476ef44ca801766cbd6bdbfe42d5a0a362e52 (diff)
parent8ef08d20883d9b9aa0b7560ce3bf6da8a6632149 (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, 2 insertions, 8 deletions
diff --git a/modules/gallery/views/admin_maintenance.html.php b/modules/gallery/views/admin_maintenance.html.php
index 19375670..ac597715 100644
--- a/modules/gallery/views/admin_maintenance.html.php
+++ b/modules/gallery/views/admin_maintenance.html.php
@@ -29,22 +29,16 @@
<?= $task->description ?>
</td>
<td>
- <? foreach ($task_buttons as $button): ?>
- <a href="<?= "{$button->url}/$task->callback?csrf=$csrf" ?>"
+ <a href="<?= url::site("admin/maintenance/start/$task->callback?csrf=$csrf") ?>"
class="g-dialog-link g-button ui-icon-left ui-state-default ui-corner-all">
- <?= html::clean($button->text) ?>
+ <?= t("run") ?>
</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>