summaryrefslogtreecommitdiff
path: root/modules/gallery/views
diff options
context:
space:
mode:
authorBharat Mediratta <bharat@menalto.com>2010-02-08 15:38:59 -0800
committerBharat Mediratta <bharat@menalto.com>2010-02-08 15:38:59 -0800
commit9ca521c71021b43f13950d246a15f6f0da0b7989 (patch)
treeb2435238db3231761efc9245c4627214c9c595db /modules/gallery/views
parent6dfab72922bf20104d6032eb292d59c6bd6578ba (diff)
parent008174859dc25dade593abdf4ce670bc6c7ef332 (diff)
Merge branch 'master' of github.com:gallery/gallery3
Diffstat (limited to 'modules/gallery/views')
-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>