[ticket/10073] Deduplicate template variable names

PHPBB3-10073
[ticket/10073] Fix request usage

PHPBB3-10073