mirror of
https://github.com/phpbb/phpbb.git
synced 2025-08-02 14:57:37 +02:00
[ticket/11105] Added spaces between ; and "url=" to adhere to w3c conventions.
There was no space between ; and the string "url=". But according to w3c, we should have atleast one space between them. So, added space characters accordingly. PHPBB3-11105
This commit is contained in:
committed by
Andreas Fischer
parent
f9325bfdeb
commit
d680aac7c5
@@ -2740,7 +2740,7 @@ function meta_refresh($time, $url, $disable_cd_check = false)
|
||||
|
||||
// For XHTML compatibility we change back & to &
|
||||
$template->assign_vars(array(
|
||||
'META' => '<meta http-equiv="refresh" content="' . $time . ';url=' . $url . '" />')
|
||||
'META' => '<meta http-equiv="refresh" content="' . $time . '; url=' . $url . '" />')
|
||||
);
|
||||
|
||||
return $url;
|
||||
|
@@ -2087,7 +2087,7 @@ class install_convert extends module
|
||||
// Because we should not rely on correct settings, we simply use the relative path here directly.
|
||||
$template->assign_vars(array(
|
||||
'S_REFRESH' => true,
|
||||
'META' => '<meta http-equiv="refresh" content="5;url=' . $url . '" />')
|
||||
'META' => '<meta http-equiv="refresh" content="5; url=' . $url . '" />')
|
||||
);
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user