diff options
| author | Vjacheslav Trushkin <cyberalien@gmail.com> | 2013-08-16 19:20:55 +0300 |
|---|---|---|
| committer | Vjacheslav Trushkin <cyberalien@gmail.com> | 2013-09-14 10:10:43 +0300 |
| commit | 4c2aad4ca959d1806c1833a3d4dd141b5c9f50ba (patch) | |
| tree | daf54b86e51f0b5e67c982a8406456ae25c4362e /phpBB/styles/subsilver2/template | |
| parent | 253890520d75190aa268c9ea6ce1dd757fb571ff (diff) | |
| download | forums-4c2aad4ca959d1806c1833a3d4dd141b5c9f50ba.tar forums-4c2aad4ca959d1806c1833a3d4dd141b5c9f50ba.tar.gz forums-4c2aad4ca959d1806c1833a3d4dd141b5c9f50ba.tar.bz2 forums-4c2aad4ca959d1806c1833a3d4dd141b5c9f50ba.tar.xz forums-4c2aad4ca959d1806c1833a3d4dd141b5c9f50ba.zip | |
[ticket/11795] Get rid of pagination JS variables
Move pagination variables to data attributes
Replace A_BASE_URL with BASE_URL and use TWIG to escape it
PHPBB3-11795
Diffstat (limited to 'phpBB/styles/subsilver2/template')
| -rw-r--r-- | phpBB/styles/subsilver2/template/overall_header.html | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/phpBB/styles/subsilver2/template/overall_header.html b/phpBB/styles/subsilver2/template/overall_header.html index 02ff1be8d8..5702c62f06 100644 --- a/phpBB/styles/subsilver2/template/overall_header.html +++ b/phpBB/styles/subsilver2/template/overall_header.html @@ -41,7 +41,7 @@ function jumpto() { var page = prompt('{LA_JUMP_PAGE}{L_COLON}', '{ON_PAGE}'); var per_page = '{PER_PAGE}'; - var base_url = '{A_BASE_URL}'; + var base_url = '{{ BASE_URL|e('js') }}'; if (page !== null && !isNaN(page) && page == Math.floor(page) && page > 0) { |
