mirror of
https://github.com/phpbb/phpbb.git
synced 2025-07-18 07:31:32 +02:00
[ticket/16977] Fix cron-job img tag layout and accessibility
PHPBB3-16977
This commit is contained in:
@@ -364,7 +364,7 @@ class helper
|
||||
if ($task)
|
||||
{
|
||||
$url = $task->get_url();
|
||||
$this->template->assign_var('RUN_CRON_TASK', '<img src="' . $url . '" width="1" height="1" alt="cron" />');
|
||||
$this->template->assign_var('RUN_CRON_TASK', '<img src="' . $url . '" width="1" height="1" alt="" style="position: fixed; top: -10000px" />');
|
||||
}
|
||||
else
|
||||
{
|
||||
|
@@ -245,7 +245,7 @@ if (!$config['use_system_cron'])
|
||||
if ($task->is_ready())
|
||||
{
|
||||
$url = $task->get_url();
|
||||
$template->assign_var('RUN_CRON_TASK', '<img src="' . $url . '" width="1" height="1" alt="cron" />');
|
||||
$template->assign_var('RUN_CRON_TASK', '<img src="' . $url . '" width="1" height="1" alt="" style="position: fixed; top: -10000px" />');
|
||||
}
|
||||
else
|
||||
{
|
||||
@@ -256,7 +256,7 @@ if (!$config['use_system_cron'])
|
||||
if ($task->is_ready())
|
||||
{
|
||||
$url = $task->get_url();
|
||||
$template->assign_var('RUN_CRON_TASK', '<img src="' . $url . '" width="1" height="1" alt="cron" />');
|
||||
$template->assign_var('RUN_CRON_TASK', '<img src="' . $url . '" width="1" height="1" alt="" style="position: fixed; top: -10000px" />');
|
||||
}
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user