1
0
mirror of https://github.com/phpbb/phpbb.git synced 2025-07-31 05:50:42 +02:00

[ticket/16977] Move HTML rendering logic to template

PHPBB3-16977
This commit is contained in:
lionel-rowe
2022-04-02 18:10:53 +01:00
parent 8c982c7aa0
commit 87c1e631ef
7 changed files with 49 additions and 10 deletions

View File

@@ -363,8 +363,8 @@ class helper
if ($task)
{
$url = $task->get_url();
$this->template->assign_var('RUN_CRON_TASK', '<img src="' . $url . '" width="1" height="1" alt="" style="position: fixed; top: -10000px" />');
$cron_task_tag = $task->get_html_tag();
$this->template->assign_var('RUN_CRON_TASK', $cron_task_tag);
}
else
{