[ticket/12810] Use correct template vars for shadow pruning settings

Ticket: https://tracker.phpbb.com/browse/PHPBB3-12810