[ticket/12153] Replace old template variables with {PAGE_NUMBER}.

PHPBB3-12153
Merge pull request #2047 from prototech/ticket/12153

[ticket/12153] Replace old template variables with {PAGE_NUMBER}.