mirror of
https://github.com/phpbb/phpbb.git
synced 2025-07-30 21:40:43 +02:00
Merge pull request #3446 from MateBartus/ticket/13654
[ticket/13654] Moving reporting into controller
This commit is contained in:
@@ -223,6 +223,20 @@ class helper
|
||||
return $this->render('message_body.html', $this->user->lang($title), $code);
|
||||
}
|
||||
|
||||
/**
|
||||
* Assigns automatic refresh time meta tag in template
|
||||
*
|
||||
* @param int $time time in seconds, when redirection should occur
|
||||
* @param string $url the URL where the user should be redirected
|
||||
* @return null
|
||||
*/
|
||||
public function assign_meta_refresh_var($time, $url)
|
||||
{
|
||||
$this->template->assign_vars(array(
|
||||
'META' => '<meta http-equiv="refresh" content="' . $time . '; url=' . $url . '" />',
|
||||
));
|
||||
}
|
||||
|
||||
/**
|
||||
* Return the current url
|
||||
*
|
||||
|
Reference in New Issue
Block a user